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
784 with_gcc_major_version_only
786 ac_precious_vars
='build_alias
799 ac_subdirs_all
='plugin'
801 # Initialize some variables set by options.
803 ac_init_version
=false
804 ac_unrecognized_opts
=
806 # The variables have the same names as the options, with
807 # dashes changed to underlines.
815 program_transform_name
=s
,x
,x
,
823 # Installation directory options.
824 # These are left unexpanded so users can "make install exec_prefix=/foo"
825 # and all the variables that are supposed to be based on exec_prefix
826 # by default will actually change.
827 # Use braces instead of parens because sh, perl, etc. also accept them.
828 # (The list follows the same order as the GNU Coding Standards.)
829 bindir
='${exec_prefix}/bin'
830 sbindir
='${exec_prefix}/sbin'
831 libexecdir
='${exec_prefix}/libexec'
832 datarootdir
='${prefix}/share'
833 datadir
='${datarootdir}'
834 sysconfdir
='${prefix}/etc'
835 sharedstatedir
='${prefix}/com'
836 localstatedir
='${prefix}/var'
837 includedir
='${prefix}/include'
838 oldincludedir
='/usr/include'
839 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
840 infodir
='${datarootdir}/info'
845 libdir
='${exec_prefix}/lib'
846 localedir
='${datarootdir}/locale'
847 mandir
='${datarootdir}/man'
853 # If the previous option needs an argument, assign it.
854 if test -n "$ac_prev"; then
855 eval $ac_prev=\
$ac_option
861 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
866 # Accept the important Cygnus configure options, so we can diagnose typos.
868 case $ac_dashdash$ac_option in
872 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
874 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
877 -build |
--build |
--buil |
--bui |
--bu)
878 ac_prev
=build_alias
;;
879 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
880 build_alias
=$ac_optarg ;;
882 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
883 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
884 ac_prev
=cache_file
;;
885 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
886 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
887 cache_file
=$ac_optarg ;;
890 cache_file
=config.cache
;;
892 -datadir |
--datadir |
--datadi |
--datad)
894 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
895 datadir
=$ac_optarg ;;
897 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
898 |
--dataroo |
--dataro |
--datar)
899 ac_prev
=datarootdir
;;
900 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
901 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
902 datarootdir
=$ac_optarg ;;
904 -disable-* |
--disable-*)
905 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
906 # Reject names that are not valid shell variable names.
907 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
908 as_fn_error $?
"invalid feature name: $ac_useropt"
909 ac_useropt_orig
=$ac_useropt
910 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
911 case $ac_user_opts in
915 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
916 ac_unrecognized_sep
=', ';;
918 eval enable_
$ac_useropt=no
;;
920 -docdir |
--docdir |
--docdi |
--doc |
--do)
922 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
925 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
927 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
930 -enable-* |
--enable-*)
931 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
932 # Reject names that are not valid shell variable names.
933 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
934 as_fn_error $?
"invalid feature name: $ac_useropt"
935 ac_useropt_orig
=$ac_useropt
936 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
937 case $ac_user_opts in
941 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
942 ac_unrecognized_sep
=', ';;
944 eval enable_
$ac_useropt=\
$ac_optarg ;;
946 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
947 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
948 |
--exec |
--exe |
--ex)
949 ac_prev
=exec_prefix
;;
950 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
951 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
952 |
--exec=* |
--exe=* |
--ex=*)
953 exec_prefix
=$ac_optarg ;;
955 -gas |
--gas |
--ga |
--g)
956 # Obsolete; use --with-gas.
959 -help |
--help |
--hel |
--he |
-h)
961 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
962 ac_init_help
=recursive
;;
963 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
964 ac_init_help
=short
;;
966 -host |
--host |
--hos |
--ho)
967 ac_prev
=host_alias
;;
968 -host=* |
--host=* |
--hos=* |
--ho=*)
969 host_alias
=$ac_optarg ;;
971 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
973 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
975 htmldir
=$ac_optarg ;;
977 -includedir |
--includedir |
--includedi |
--included |
--include \
978 |
--includ |
--inclu |
--incl |
--inc)
979 ac_prev
=includedir
;;
980 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
981 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
982 includedir
=$ac_optarg ;;
984 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
986 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
987 infodir
=$ac_optarg ;;
989 -libdir |
--libdir |
--libdi |
--libd)
991 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
994 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
995 |
--libexe |
--libex |
--libe)
996 ac_prev
=libexecdir
;;
997 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
998 |
--libexe=* |
--libex=* |
--libe=*)
999 libexecdir
=$ac_optarg ;;
1001 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1002 ac_prev
=localedir
;;
1003 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1004 localedir
=$ac_optarg ;;
1006 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1007 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1008 ac_prev
=localstatedir
;;
1009 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1010 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1011 localstatedir
=$ac_optarg ;;
1013 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1015 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1016 mandir
=$ac_optarg ;;
1018 -nfp |
--nfp |
--nf)
1019 # Obsolete; use --without-fp.
1022 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1023 |
--no-cr |
--no-c |
-n)
1026 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1027 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1030 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1031 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1032 |
--oldin |
--oldi |
--old |
--ol |
--o)
1033 ac_prev
=oldincludedir
;;
1034 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1035 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1036 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1037 oldincludedir
=$ac_optarg ;;
1039 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1041 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1042 prefix
=$ac_optarg ;;
1044 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1045 |
--program-pre |
--program-pr |
--program-p)
1046 ac_prev
=program_prefix
;;
1047 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1048 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1049 program_prefix
=$ac_optarg ;;
1051 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1052 |
--program-suf |
--program-su |
--program-s)
1053 ac_prev
=program_suffix
;;
1054 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1055 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1056 program_suffix
=$ac_optarg ;;
1058 -program-transform-name |
--program-transform-name \
1059 |
--program-transform-nam |
--program-transform-na \
1060 |
--program-transform-n |
--program-transform- \
1061 |
--program-transform |
--program-transfor \
1062 |
--program-transfo |
--program-transf \
1063 |
--program-trans |
--program-tran \
1064 |
--progr-tra |
--program-tr |
--program-t)
1065 ac_prev
=program_transform_name
;;
1066 -program-transform-name=* |
--program-transform-name=* \
1067 |
--program-transform-nam=* |
--program-transform-na=* \
1068 |
--program-transform-n=* |
--program-transform-=* \
1069 |
--program-transform=* |
--program-transfor=* \
1070 |
--program-transfo=* |
--program-transf=* \
1071 |
--program-trans=* |
--program-tran=* \
1072 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1073 program_transform_name
=$ac_optarg ;;
1075 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1077 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1078 pdfdir
=$ac_optarg ;;
1080 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1082 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1085 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1086 |
-silent |
--silent |
--silen |
--sile |
--sil)
1089 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1091 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1093 sbindir
=$ac_optarg ;;
1095 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1096 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1097 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1099 ac_prev
=sharedstatedir
;;
1100 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1101 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1102 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1104 sharedstatedir
=$ac_optarg ;;
1106 -site |
--site |
--sit)
1108 -site=* |
--site=* |
--sit=*)
1111 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1113 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1114 srcdir
=$ac_optarg ;;
1116 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1117 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1118 ac_prev
=sysconfdir
;;
1119 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1120 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1121 sysconfdir
=$ac_optarg ;;
1123 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1124 ac_prev
=target_alias
;;
1125 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1126 target_alias
=$ac_optarg ;;
1128 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1131 -version |
--version |
--versio |
--versi |
--vers |
-V)
1132 ac_init_version
=: ;;
1135 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1136 # Reject names that are not valid shell variable names.
1137 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1138 as_fn_error $?
"invalid package name: $ac_useropt"
1139 ac_useropt_orig
=$ac_useropt
1140 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1141 case $ac_user_opts in
1145 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1146 ac_unrecognized_sep
=', ';;
1148 eval with_
$ac_useropt=\
$ac_optarg ;;
1150 -without-* |
--without-*)
1151 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1152 # Reject names that are not valid shell variable names.
1153 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1154 as_fn_error $?
"invalid package name: $ac_useropt"
1155 ac_useropt_orig
=$ac_useropt
1156 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1157 case $ac_user_opts in
1161 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1162 ac_unrecognized_sep
=', ';;
1164 eval with_
$ac_useropt=no
;;
1167 # Obsolete; use --with-x.
1170 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1171 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1172 ac_prev
=x_includes
;;
1173 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1174 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1175 x_includes
=$ac_optarg ;;
1177 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1178 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1179 ac_prev
=x_libraries
;;
1180 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1181 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1182 x_libraries
=$ac_optarg ;;
1184 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1185 Try \`$0 --help' for more information"
1189 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1190 # Reject names that are not valid shell variable names.
1191 case $ac_envvar in #(
1192 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1193 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1195 eval $ac_envvar=\
$ac_optarg
1196 export $ac_envvar ;;
1199 # FIXME: should be removed in autoconf 3.0.
1200 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1201 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1202 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1203 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1209 if test -n "$ac_prev"; then
1210 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1211 as_fn_error $?
"missing argument to $ac_option"
1214 if test -n "$ac_unrecognized_opts"; then
1215 case $enable_option_checking in
1217 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1218 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1222 # Check all directory arguments for consistency.
1223 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1224 datadir sysconfdir sharedstatedir localstatedir includedir \
1225 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1226 libdir localedir mandir
1228 eval ac_val
=\$
$ac_var
1229 # Remove trailing slashes.
1232 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1233 eval $ac_var=\
$ac_val;;
1235 # Be sure to have absolute directory names.
1237 [\\/$
]* | ?
:[\\/]* ) continue;;
1238 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1240 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1243 # There might be people who depend on the old broken behavior: `$host'
1244 # used to hold the argument of --host etc.
1245 # FIXME: To remove some day.
1248 target
=$target_alias
1250 # FIXME: To remove some day.
1251 if test "x$host_alias" != x
; then
1252 if test "x$build_alias" = x
; then
1253 cross_compiling
=maybe
1254 elif test "x$build_alias" != "x$host_alias"; then
1260 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1262 test "$silent" = yes && exec 6>/dev
/null
1265 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1266 ac_ls_di
=`ls -di .` &&
1267 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1268 as_fn_error $?
"working directory cannot be determined"
1269 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1270 as_fn_error $?
"pwd does not report name of working directory"
1273 # Find the source files, if location was not specified.
1274 if test -z "$srcdir"; then
1275 ac_srcdir_defaulted
=yes
1276 # Try the directory containing this script, then the parent directory.
1277 ac_confdir
=`$as_dirname -- "$as_myself" ||
1278 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1279 X"$as_myself" : 'X\(//\)[^/]' \| \
1280 X"$as_myself" : 'X\(//\)$' \| \
1281 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1282 $as_echo X"$as_myself" |
1283 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1301 if test ! -r "$srcdir/$ac_unique_file"; then
1305 ac_srcdir_defaulted
=no
1307 if test ! -r "$srcdir/$ac_unique_file"; then
1308 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1309 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1311 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1313 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1315 # When building in place, set srcdir=.
1316 if test "$ac_abs_confdir" = "$ac_pwd"; then
1319 # Remove unnecessary trailing slashes from srcdir.
1320 # Double slashes in file names in object file debugging info
1321 # mess up M-x gdb in Emacs.
1323 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1325 for ac_var
in $ac_precious_vars; do
1326 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1327 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1328 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1329 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1333 # Report the --help message.
1335 if test "$ac_init_help" = "long"; then
1336 # Omit some internal or obsolete options to make the list less imposing.
1337 # This message is too long to be a string in the A/UX 3.1 sh.
1339 \`configure' configures MIC Offload Runtime Library 1.0 to adapt to many kinds of systems.
1341 Usage: $0 [OPTION]... [VAR=VALUE]...
1343 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1344 VAR=VALUE. See below for descriptions of some of the useful variables.
1346 Defaults for the options are specified in brackets.
1349 -h, --help display this help and exit
1350 --help=short display options specific to this package
1351 --help=recursive display the short help of all the included packages
1352 -V, --version display version information and exit
1353 -q, --quiet, --silent do not print \`checking ...' messages
1354 --cache-file=FILE cache test results in FILE [disabled]
1355 -C, --config-cache alias for \`--cache-file=config.cache'
1356 -n, --no-create do not create output files
1357 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1359 Installation directories:
1360 --prefix=PREFIX install architecture-independent files in PREFIX
1361 [$ac_default_prefix]
1362 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1365 By default, \`make install' will install all the files in
1366 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1367 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1368 for instance \`--prefix=\$HOME'.
1370 For better control, use the options below.
1372 Fine tuning of the installation directories:
1373 --bindir=DIR user executables [EPREFIX/bin]
1374 --sbindir=DIR system admin executables [EPREFIX/sbin]
1375 --libexecdir=DIR program executables [EPREFIX/libexec]
1376 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1377 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1378 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1379 --libdir=DIR object code libraries [EPREFIX/lib]
1380 --includedir=DIR C header files [PREFIX/include]
1381 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1382 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1383 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1384 --infodir=DIR info documentation [DATAROOTDIR/info]
1385 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1386 --mandir=DIR man documentation [DATAROOTDIR/man]
1387 --docdir=DIR documentation root [DATAROOTDIR/doc/liboffloadmic]
1388 --htmldir=DIR html documentation [DOCDIR]
1389 --dvidir=DIR dvi documentation [DOCDIR]
1390 --pdfdir=DIR pdf documentation [DOCDIR]
1391 --psdir=DIR ps documentation [DOCDIR]
1397 --program-prefix=PREFIX prepend PREFIX to installed program names
1398 --program-suffix=SUFFIX append SUFFIX to installed program names
1399 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1402 --build=BUILD configure
for building on BUILD
[guessed
]
1403 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1404 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1408 if test -n "$ac_init_help"; then
1409 case $ac_init_help in
1410 short | recursive
) echo "Configuration of MIC Offload Runtime Library 1.0:";;
1415 --disable-option-checking ignore unrecognized
--enable/--with options
1416 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1417 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1418 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1419 --disable-silent-rules verbose build output
(undo
: "make V=0")
1420 --enable-maintainer-mode
1421 enable make rules and dependencies not useful
(and
1422 sometimes confusing
) to the casual installer
1423 --enable-dependency-tracking
1424 do not reject slow dependency extractors
1425 --disable-dependency-tracking
1426 speeds up one-time build
1427 --enable-multilib build many library versions
(default
)
1428 --enable-version-specific-runtime-libs
1429 Specify that runtime libraries should be installed
1430 in a compiler-specific directory
1431 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1432 --enable-static[=PKGS
] build static libraries
[default
=yes]
1433 --enable-fast-install[=PKGS
]
1434 optimize
for fast installation
[default
=yes]
1435 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1438 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1439 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1440 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1442 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1443 --with-gcc-major-version-only
1444 use only GCC major number
in filesystem paths
1446 Some influential environment variables
:
1447 CC C compiler
command
1448 CFLAGS C compiler flags
1449 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1450 nonstandard directory
<lib dir
>
1451 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1452 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1453 you have headers
in a nonstandard directory
<include dir
>
1454 CXX C
++ compiler
command
1455 CXXFLAGS C
++ compiler flags
1457 CXXCPP C
++ preprocessor
1459 Use these variables to override the choices made by
`configure' or to help
1460 it to find libraries and programs with nonstandard names/locations.
1462 Report bugs to the package provider.
1467 if test "$ac_init_help" = "recursive"; then
1468 # If there are subdirs, report their specific --help.
1469 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1470 test -d "$ac_dir" ||
1471 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1476 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1478 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1479 # A ".." for each directory in $ac_dir_suffix.
1480 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1481 case $ac_top_builddir_sub in
1482 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1483 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1486 ac_abs_top_builddir=$ac_pwd
1487 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1488 # for backward compatibility:
1489 ac_top_builddir=$ac_top_build_prefix
1492 .) # We are building in place.
1494 ac_top_srcdir=$ac_top_builddir_sub
1495 ac_abs_top_srcdir=$ac_pwd ;;
1496 [\\/]* | ?:[\\/]* ) # Absolute name.
1497 ac_srcdir=$srcdir$ac_dir_suffix;
1498 ac_top_srcdir=$srcdir
1499 ac_abs_top_srcdir=$srcdir ;;
1501 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1502 ac_top_srcdir=$ac_top_build_prefix$srcdir
1503 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1505 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1507 cd "$ac_dir" || { ac_status=$?; continue; }
1508 # Check for guested configure.
1509 if test -f "$ac_srcdir/configure.gnu"; then
1511 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1512 elif test -f "$ac_srcdir/configure"; then
1514 $SHELL "$ac_srcdir/configure" --help=recursive
1516 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1518 cd "$ac_pwd" || { ac_status=$?; break; }
1522 test -n "$ac_init_help" && exit $ac_status
1523 if $ac_init_version; then
1525 MIC Offload Runtime Library configure 1.0
1526 generated by GNU Autoconf 2.69
1528 Copyright (C) 2012 Free Software Foundation, Inc.
1529 This configure script is free software; the Free Software Foundation
1530 gives unlimited permission to copy, distribute and modify it.
1535 ## ------------------------ ##
1536 ## Autoconf initialization. ##
1537 ## ------------------------ ##
1539 # ac_fn_c_try_compile LINENO
1540 # --------------------------
1541 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1542 ac_fn_c_try_compile ()
1544 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1545 rm -f conftest.$ac_objext
1546 if { { ac_try="$ac_compile"
1548 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1549 *) ac_try_echo
=$ac_try;;
1551 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1552 $as_echo "$ac_try_echo"; } >&5
1553 (eval "$ac_compile") 2>conftest.err
1555 if test -s conftest.err
; then
1556 grep -v '^ *+' conftest.err
>conftest.er1
1557 cat conftest.er1
>&5
1558 mv -f conftest.er1 conftest.err
1560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1561 test $ac_status = 0; } && {
1562 test -z "$ac_c_werror_flag" ||
1563 test ! -s conftest.err
1564 } && test -s conftest.
$ac_objext; then :
1567 $as_echo "$as_me: failed program was:" >&5
1568 sed 's/^/| /' conftest.
$ac_ext >&5
1572 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1573 as_fn_set_status
$ac_retval
1575 } # ac_fn_c_try_compile
1577 # ac_fn_cxx_try_compile LINENO
1578 # ----------------------------
1579 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1580 ac_fn_cxx_try_compile
()
1582 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1583 rm -f conftest.
$ac_objext
1584 if { { ac_try
="$ac_compile"
1586 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1587 *) ac_try_echo=$ac_try;;
1589 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1590 $as_echo "$ac_try_echo"; } >&5
1591 (eval "$ac_compile") 2>conftest.err
1593 if test -s conftest.err; then
1594 grep -v '^ *+' conftest.err >conftest.er1
1595 cat conftest.er1 >&5
1596 mv -f conftest.er1 conftest.err
1598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1599 test $ac_status = 0; } && {
1600 test -z "$ac_cxx_werror_flag" ||
1601 test ! -s conftest.err
1602 } && test -s conftest.$ac_objext; then :
1605 $as_echo "$as_me: failed program was:" >&5
1606 sed 's/^/| /' conftest.$ac_ext >&5
1610 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1611 as_fn_set_status $ac_retval
1613 } # ac_fn_cxx_try_compile
1615 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1616 # -------------------------------------------
1617 # Tests whether TYPE exists after having included INCLUDES, setting cache
1618 # variable VAR accordingly.
1619 ac_fn_c_check_type ()
1621 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1623 $as_echo_n "checking for $2... " >&6; }
1624 if eval \${$3+:} false; then :
1625 $as_echo_n "(cached) " >&6
1628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1629 /* end confdefs.h. */
1640 if ac_fn_c_try_compile "$LINENO"; then :
1641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1642 /* end confdefs.h. */
1653 if ac_fn_c_try_compile "$LINENO"; then :
1658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1664 $as_echo "$ac_res" >&6; }
1665 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1667 } # ac_fn_c_check_type
1669 # ac_fn_c_try_cpp LINENO
1670 # ----------------------
1671 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1674 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1675 if { { ac_try="$ac_cpp conftest.$ac_ext"
1677 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1678 *) ac_try_echo
=$ac_try;;
1680 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1681 $as_echo "$ac_try_echo"; } >&5
1682 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1684 if test -s conftest.err
; then
1685 grep -v '^ *+' conftest.err
>conftest.er1
1686 cat conftest.er1
>&5
1687 mv -f conftest.er1 conftest.err
1689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1690 test $ac_status = 0; } > conftest.i
&& {
1691 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1692 test ! -s conftest.err
1696 $as_echo "$as_me: failed program was:" >&5
1697 sed 's/^/| /' conftest.
$ac_ext >&5
1701 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1702 as_fn_set_status
$ac_retval
1706 # ac_fn_c_try_run LINENO
1707 # ----------------------
1708 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1709 # that executables *can* be run.
1712 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1713 if { { ac_try
="$ac_link"
1715 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1716 *) ac_try_echo=$ac_try;;
1718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1719 $as_echo "$ac_try_echo"; } >&5
1720 (eval "$ac_link") 2>&5
1722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1723 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1724 { { case "(($ac_try" in
1725 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1726 *) ac_try_echo
=$ac_try;;
1728 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1729 $as_echo "$ac_try_echo"; } >&5
1730 (eval "$ac_try") 2>&5
1732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733 test $ac_status = 0; }; }; then :
1736 $as_echo "$as_me: program exited with status $ac_status" >&5
1737 $as_echo "$as_me: failed program was:" >&5
1738 sed 's/^/| /' conftest.
$ac_ext >&5
1740 ac_retval
=$ac_status
1742 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1743 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1744 as_fn_set_status
$ac_retval
1748 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1749 # -------------------------------------------------------
1750 # Tests whether HEADER exists and can be compiled using the include files in
1751 # INCLUDES, setting the cache variable VAR accordingly.
1752 ac_fn_c_check_header_compile
()
1754 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1756 $as_echo_n "checking for $2... " >&6; }
1757 if eval \
${$3+:} false
; then :
1758 $as_echo_n "(cached) " >&6
1760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1761 /* end confdefs.h. */
1765 if ac_fn_c_try_compile
"$LINENO"; then :
1770 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1774 $as_echo "$ac_res" >&6; }
1775 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1777 } # ac_fn_c_check_header_compile
1779 # ac_fn_c_try_link LINENO
1780 # -----------------------
1781 # Try to link conftest.$ac_ext, and return whether this succeeded.
1784 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1785 rm -f conftest.
$ac_objext conftest
$ac_exeext
1786 if { { ac_try
="$ac_link"
1788 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1789 *) ac_try_echo=$ac_try;;
1791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1792 $as_echo "$ac_try_echo"; } >&5
1793 (eval "$ac_link") 2>conftest.err
1795 if test -s conftest.err; then
1796 grep -v '^ *+' conftest.err >conftest.er1
1797 cat conftest.er1 >&5
1798 mv -f conftest.er1 conftest.err
1800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1801 test $ac_status = 0; } && {
1802 test -z "$ac_c_werror_flag" ||
1803 test ! -s conftest.err
1804 } && test -s conftest$ac_exeext && {
1805 test "$cross_compiling" = yes ||
1806 test -x conftest$ac_exeext
1810 $as_echo "$as_me: failed program was:" >&5
1811 sed 's/^/| /' conftest.$ac_ext >&5
1815 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1816 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1817 # interfere with the next link command; also delete a directory that is
1818 # left behind by Apple's compiler. We do this before executing the actions.
1819 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1820 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1821 as_fn_set_status $ac_retval
1823 } # ac_fn_c_try_link
1825 # ac_fn_c_check_func LINENO FUNC VAR
1826 # ----------------------------------
1827 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1828 ac_fn_c_check_func ()
1830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1832 $as_echo_n "checking for $2... " >&6; }
1833 if eval \${$3+:} false; then :
1834 $as_echo_n "(cached) " >&6
1836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1837 /* end confdefs.h. */
1838 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1840 #define $2 innocuous_$2
1842 /* System header to define __stub macros and hopefully few prototypes,
1843 which can conflict with char $2 (); below.
1844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1845 <limits.h> exists even on freestanding compilers. */
1848 # include <limits.h>
1850 # include <assert.h>
1855 /* Override any GCC internal prototype to avoid an error.
1856 Use char because int might match the return type of a GCC
1857 builtin and then its argument prototype would still apply. */
1862 /* The GNU C library defines this for functions which it implements
1863 to always fail with ENOSYS. Some functions are actually named
1864 something starting with __ and the normal name is an alias. */
1865 #if defined __stub_$2 || defined __stub___$2
1877 if ac_fn_c_try_link "$LINENO"; then :
1882 rm -f core conftest.err conftest.$ac_objext \
1883 conftest$ac_exeext conftest.$ac_ext
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1887 $as_echo "$ac_res" >&6; }
1888 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1890 } # ac_fn_c_check_func
1892 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1893 # -------------------------------------------------------
1894 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1895 # the include files in INCLUDES and setting the cache variable VAR
1897 ac_fn_c_check_header_mongrel ()
1899 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1900 if eval \${$3+:} false; then :
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1902 $as_echo_n "checking for $2... " >&6; }
1903 if eval \${$3+:} false; then :
1904 $as_echo_n "(cached) " >&6
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1908 $as_echo "$ac_res" >&6; }
1910 # Is the header compilable?
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1912 $as_echo_n "checking $2 usability... " >&6; }
1913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1914 /* end confdefs.h. */
1918 if ac_fn_c_try_compile "$LINENO"; then :
1919 ac_header_compiler=yes
1921 ac_header_compiler=no
1923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1925 $as_echo "$ac_header_compiler" >&6; }
1927 # Is the header present?
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1929 $as_echo_n "checking $2 presence... " >&6; }
1930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1931 /* end confdefs.h. */
1934 if ac_fn_c_try_cpp "$LINENO"; then :
1935 ac_header_preproc=yes
1937 ac_header_preproc=no
1939 rm -f conftest.err conftest.i conftest.$ac_ext
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1941 $as_echo "$ac_header_preproc" >&6; }
1943 # So? What about this header?
1944 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1947 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1949 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1953 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1955 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1957 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1959 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1961 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1965 $as_echo_n "checking for $2... " >&6; }
1966 if eval \${$3+:} false; then :
1967 $as_echo_n "(cached) " >&6
1969 eval "$3=\$ac_header_compiler"
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1973 $as_echo "$ac_res" >&6; }
1975 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1977 } # ac_fn_c_check_header_mongrel
1979 # ac_fn_cxx_try_cpp LINENO
1980 # ------------------------
1981 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1982 ac_fn_cxx_try_cpp ()
1984 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1985 if { { ac_try="$ac_cpp conftest.$ac_ext"
1987 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1988 *) ac_try_echo
=$ac_try;;
1990 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1991 $as_echo "$ac_try_echo"; } >&5
1992 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1994 if test -s conftest.err
; then
1995 grep -v '^ *+' conftest.err
>conftest.er1
1996 cat conftest.er1
>&5
1997 mv -f conftest.er1 conftest.err
1999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2000 test $ac_status = 0; } > conftest.i
&& {
2001 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2002 test ! -s conftest.err
2006 $as_echo "$as_me: failed program was:" >&5
2007 sed 's/^/| /' conftest.
$ac_ext >&5
2011 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2012 as_fn_set_status
$ac_retval
2014 } # ac_fn_cxx_try_cpp
2016 # ac_fn_cxx_try_link LINENO
2017 # -------------------------
2018 # Try to link conftest.$ac_ext, and return whether this succeeded.
2019 ac_fn_cxx_try_link
()
2021 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2022 rm -f conftest.
$ac_objext conftest
$ac_exeext
2023 if { { ac_try
="$ac_link"
2025 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2026 *) ac_try_echo=$ac_try;;
2028 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2029 $as_echo "$ac_try_echo"; } >&5
2030 (eval "$ac_link") 2>conftest.err
2032 if test -s conftest.err; then
2033 grep -v '^ *+' conftest.err >conftest.er1
2034 cat conftest.er1 >&5
2035 mv -f conftest.er1 conftest.err
2037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2038 test $ac_status = 0; } && {
2039 test -z "$ac_cxx_werror_flag" ||
2040 test ! -s conftest.err
2041 } && test -s conftest$ac_exeext && {
2042 test "$cross_compiling" = yes ||
2043 test -x conftest$ac_exeext
2047 $as_echo "$as_me: failed program was:" >&5
2048 sed 's/^/| /' conftest.$ac_ext >&5
2052 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2053 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2054 # interfere with the next link command; also delete a directory that is
2055 # left behind by Apple's compiler. We do this before executing the actions.
2056 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2057 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2058 as_fn_set_status $ac_retval
2060 } # ac_fn_cxx_try_link
2061 cat >config.log <<_ACEOF
2062 This file contains any messages produced by compilers while
2063 running configure, to aid debugging if configure makes a mistake.
2065 It was created by MIC Offload Runtime Library $as_me 1.0, which was
2066 generated by GNU Autoconf 2.69. Invocation command line was
2078 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2079 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2080 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2081 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2082 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2084 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2085 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2087 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2088 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2089 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2090 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2091 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2092 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2093 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2101 test -z "$as_dir" && as_dir=.
2102 $as_echo "PATH: $as_dir"
2118 # Keep a trace of the command line.
2119 # Strip out --no-create and --no-recursion so they do not pile up.
2120 # Strip out --silent because we don't want to record it for future runs.
2121 # Also quote any args containing shell meta-characters.
2122 # Make two passes to allow for proper duplicate-argument suppression.
2126 ac_must_keep_next=false
2132 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2133 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2134 | -silent | --silent | --silen | --sile | --sil)
2137 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2140 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2142 as_fn_append ac_configure_args1 " '$ac_arg'"
2143 if test $ac_must_keep_next = true; then
2144 ac_must_keep_next=false # Got value, back to normal.
2147 *=* | --config-cache | -C | -disable-* | --disable-* \
2148 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2149 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2150 | -with-* | --with-* | -without-* | --without-* | --x)
2151 case "$ac_configure_args0 " in
2152 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2155 -* ) ac_must_keep_next=true ;;
2158 as_fn_append ac_configure_args " '$ac_arg'"
2163 { ac_configure_args0=; unset ac_configure_args0;}
2164 { ac_configure_args1=; unset ac_configure_args1;}
2166 # When interrupted or exit'd, cleanup temporary files, and complete
2167 # config.log. We remove comments because anyway the quotes in there
2168 # would cause problems or look ugly.
2169 # WARNING: Use '\'' to represent an apostrophe within the trap.
2170 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2171 trap 'exit_status=$?
2172 # Save into config.log some information that might help in debugging.
2176 $as_echo "## ---------------- ##
2177 ## Cache variables. ##
2178 ## ---------------- ##"
2180 # The following way of writing the cache mishandles newlines in values,
2182 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2183 eval ac_val=\$$ac_var
2187 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2188 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2191 _ | IFS | as_nl) ;; #(
2192 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2193 *) { eval $ac_var=; unset $ac_var;} ;;
2198 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2199 *${as_nl}ac_space=\ *)
2201 "s/'\''/'\''\\\\'\'''\''/g;
2202 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2205 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2212 $as_echo "## ----------------- ##
2213 ## Output variables. ##
2214 ## ----------------- ##"
2216 for ac_var in $ac_subst_vars
2218 eval ac_val=\$$ac_var
2220 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2222 $as_echo "$ac_var='\''$ac_val'\''"
2226 if test -n "$ac_subst_files"; then
2227 $as_echo "## ------------------- ##
2228 ## File substitutions. ##
2229 ## ------------------- ##"
2231 for ac_var in $ac_subst_files
2233 eval ac_val=\$$ac_var
2235 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2237 $as_echo "$ac_var='\''$ac_val'\''"
2242 if test -s confdefs.h; then
2243 $as_echo "## ----------- ##
2250 test "$ac_signal" != 0 &&
2251 $as_echo "$as_me: caught signal $ac_signal"
2252 $as_echo "$as_me: exit $exit_status"
2254 rm -f core *.core core.conftest.* &&
2255 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2258 for ac_signal in 1 2 13 15; do
2259 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2263 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2264 rm -f -r conftest* confdefs.h
2266 $as_echo "/* confdefs.h */" > confdefs.h
2268 # Predefined preprocessor variables.
2270 cat >>confdefs.h <<_ACEOF
2271 #define PACKAGE_NAME "$PACKAGE_NAME"
2274 cat >>confdefs.h <<_ACEOF
2275 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2278 cat >>confdefs.h <<_ACEOF
2279 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2282 cat >>confdefs.h <<_ACEOF
2283 #define PACKAGE_STRING "$PACKAGE_STRING"
2286 cat >>confdefs.h <<_ACEOF
2287 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2290 cat >>confdefs.h <<_ACEOF
2291 #define PACKAGE_URL "$PACKAGE_URL"
2295 # Let the site file select an alternate cache file if it wants to.
2296 # Prefer an explicitly selected file to automatically selected ones.
2299 if test -n "$CONFIG_SITE"; then
2300 # We do not want a PATH search for config.site.
2301 case $CONFIG_SITE in #((
2302 -*) ac_site_file1=./$CONFIG_SITE;;
2303 */*) ac_site_file1=$CONFIG_SITE;;
2304 *) ac_site_file1=./$CONFIG_SITE;;
2306 elif test "x$prefix" != xNONE; then
2307 ac_site_file1=$prefix/share/config.site
2308 ac_site_file2=$prefix/etc/config.site
2310 ac_site_file1=$ac_default_prefix/share/config.site
2311 ac_site_file2=$ac_default_prefix/etc/config.site
2313 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2315 test "x$ac_site_file" = xNONE && continue
2316 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2318 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2319 sed 's/^/| /' "$ac_site_file" >&5
2321 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2322 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2323 as_fn_error $? "failed to load site
script $ac_site_file
2324 See \
`config.log' for more details" "$LINENO" 5; }
2328 if test -r "$cache_file"; then
2329 # Some versions of bash will fail to source /dev/null (special files
2330 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2331 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2333 $as_echo "$as_me: loading cache $cache_file" >&6;}
2335 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2336 *) . "./$cache_file";;
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2341 $as_echo "$as_me: creating cache $cache_file" >&6;}
2345 # Check that the precious variables saved in the cache have kept the same
2347 ac_cache_corrupted=false
2348 for ac_var in $ac_precious_vars; do
2349 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2350 eval ac_new_set=\$ac_env_${ac_var}_set
2351 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2352 eval ac_new_val=\$ac_env_${ac_var}_value
2353 case $ac_old_set,$ac_new_set in
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2356 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2357 ac_cache_corrupted=: ;;
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2360 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2361 ac_cache_corrupted=: ;;
2364 if test "x$ac_old_val" != "x$ac_new_val"; then
2365 # differences in whitespace do not lead to failure.
2366 ac_old_val_w=`echo x
$ac_old_val`
2367 ac_new_val_w=`echo x
$ac_new_val`
2368 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2370 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2371 ac_cache_corrupted=:
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2374 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2375 eval $ac_var=\$ac_old_val
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2378 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2380 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2383 # Pass precious variables to config.status.
2384 if test "$ac_new_set" = set; then
2386 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2387 *) ac_arg=$ac_var=$ac_new_val ;;
2389 case " $ac_configure_args " in
2390 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2391 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2395 if $ac_cache_corrupted; then
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2397 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2399 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2400 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2402 ## -------------------- ##
2403 ## Main body of script. ##
2404 ## -------------------- ##
2407 ac_cpp='$CPP $CPPFLAGS'
2408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2418 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2419 if test -f "$ac_dir/install-sh"; then
2421 ac_install_sh="$ac_aux_dir/install-sh -c"
2423 elif test -f "$ac_dir/install.sh"; then
2425 ac_install_sh="$ac_aux_dir/install.sh -c"
2427 elif test -f "$ac_dir/shtool"; then
2429 ac_install_sh="$ac_aux_dir/shtool install -c"
2433 if test -z "$ac_aux_dir"; then
2434 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2437 # These three variables are undocumented and unsupported,
2438 # and are intended to be withdrawn in a future Autoconf release.
2439 # They can cause serious problems if a builder's source tree is in a directory
2440 # whose full name contains unusual characters.
2441 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2442 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2443 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2446 # Make sure we can run config.sub.
2447 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2448 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2451 $as_echo_n "checking build system type... " >&6; }
2452 if ${ac_cv_build+:} false; then :
2453 $as_echo_n "(cached) " >&6
2455 ac_build_alias=$build_alias
2456 test "x$ac_build_alias" = x &&
2457 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2458 test "x$ac_build_alias" = x &&
2459 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2460 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2461 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2465 $as_echo "$ac_cv_build" >&6; }
2466 case $ac_cv_build in
2468 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2471 ac_save_IFS=$IFS; IFS='-'
2477 # Remember, the first character of IFS is used to create $*,
2478 # except with old shells:
2481 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2485 $as_echo_n "checking host system type... " >&6; }
2486 if ${ac_cv_host+:} false; then :
2487 $as_echo_n "(cached) " >&6
2489 if test "x$host_alias" = x; then
2490 ac_cv_host=$ac_cv_build
2492 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2493 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2498 $as_echo "$ac_cv_host" >&6; }
2501 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2504 ac_save_IFS=$IFS; IFS='-'
2510 # Remember, the first character of IFS is used to create $*,
2511 # except with old shells:
2514 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2518 $as_echo_n "checking target system type... " >&6; }
2519 if ${ac_cv_target+:} false; then :
2520 $as_echo_n "(cached) " >&6
2522 if test "x$target_alias" = x; then
2523 ac_cv_target=$ac_cv_host
2525 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2526 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2531 $as_echo "$ac_cv_target" >&6; }
2532 case $ac_cv_target in
2534 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2536 target=$ac_cv_target
2537 ac_save_IFS=$IFS; IFS='-'
2543 # Remember, the first character of IFS is used to create $*,
2544 # except with old shells:
2547 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2550 # The aliases save the names the user supplied, while $host etc.
2551 # will get canonicalized.
2552 test -n "$target_alias" &&
2553 test "$program_prefix$program_suffix$program_transform_name" = \
2555 program_prefix=${target_alias}-
2557 target_alias=${target_alias-$host_alias}
2560 am__api_version='1.15'
2562 # Find a good install program. We prefer a C program (faster),
2563 # so one script is as good as another. But avoid the broken or
2564 # incompatible versions:
2565 # SysV /etc/install, /usr/sbin/install
2566 # SunOS /usr/etc/install
2567 # IRIX /sbin/install
2569 # AmigaOS /C/install, which installs bootblocks on floppy discs
2570 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2571 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2572 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2573 # OS/2's system install, which has a completely different semantic
2574 # ./install, which can be erroneously created by make from ./install.sh.
2575 # Reject install programs that cannot install multiple files.
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2577 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2578 if test -z "$INSTALL"; then
2579 if ${ac_cv_path_install+:} false; then :
2580 $as_echo_n "(cached) " >&6
2582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2586 test -z "$as_dir" && as_dir=.
2587 # Account for people who put trailing slashes in PATH elements.
2588 case $as_dir/ in #((
2589 ./ | .// | /[cC]/* | \
2590 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2591 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2594 # OSF1 and SCO ODT 3.0 have their own names for install.
2595 # Don't use installbsd from OSF since it installs stuff as root
2597 for ac_prog in ginstall scoinst install; do
2598 for ac_exec_ext in '' $ac_executable_extensions; do
2599 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2600 if test $ac_prog = install &&
2601 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2602 # AIX install. It has an incompatible calling convention.
2604 elif test $ac_prog = install &&
2605 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2606 # program-specific install script used by HP pwplus--don't use.
2609 rm -rf conftest.one conftest.two conftest.dir
2610 echo one > conftest.one
2611 echo two > conftest.two
2613 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2614 test -s conftest.one && test -s conftest.two &&
2615 test -s conftest.dir/conftest.one &&
2616 test -s conftest.dir/conftest.two
2618 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2631 rm -rf conftest.one conftest.two conftest.dir
2634 if test "${ac_cv_path_install+set}" = set; then
2635 INSTALL=$ac_cv_path_install
2637 # As a last resort, use the slow shell script. Don't cache a
2638 # value for INSTALL within a source directory, because that will
2639 # break other packages using the cache if that directory is
2640 # removed, or if the value is a relative name.
2641 INSTALL=$ac_install_sh
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2645 $as_echo "$INSTALL" >&6; }
2647 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2648 # It thinks the first close brace ends the variable substitution.
2649 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2651 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2653 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2656 $as_echo_n "checking whether build environment is sane... " >&6; }
2657 # Reject unsafe characters in $srcdir or the absolute working directory
2658 # name. Accept space and tab only in the latter.
2662 *[\\\"\#\$\&\'\`$am_lf]*)
2663 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2666 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2667 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2670 # Do 'set' in a subshell so we don't clobber the current shell's
2671 # arguments. Must try -L first in case configure is actually a
2672 # symlink; some systems play weird games with the mod time of symlinks
2673 # (eg FreeBSD returns the mod time of the symlink's containing
2677 for am_try
in 1 2; do
2678 echo "timestamp, slept: $am_has_slept" > conftest.
file
2679 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2680 if test "$*" = "X"; then
2682 set X
`ls -t "$srcdir/configure" conftest.file`
2684 if test "$*" != "X $srcdir/configure conftest.file" \
2685 && test "$*" != "X conftest.file $srcdir/configure"; then
2687 # If neither matched, then we have a broken ls. This can happen
2688 # if, for instance, CONFIG_SHELL is bash and it inherits a
2689 # broken ls alias from the environment. This has actually
2690 # happened. Such a system could not be considered "sane".
2691 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2692 alias in your environment" "$LINENO" 5
2694 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2701 test "$2" = conftest.
file
2707 as_fn_error $?
"newly created file is older than distributed files!
2708 Check your system clock" "$LINENO" 5
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2711 $as_echo "yes" >&6; }
2712 # If we didn't sleep, we still need to ensure time stamps of config.status and
2713 # generated files are strictly newer.
2715 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2722 test "$program_prefix" != NONE
&&
2723 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2724 # Use a double $ so make ignores it.
2725 test "$program_suffix" != NONE
&&
2726 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2727 # Double any \ or $.
2728 # By default was `s,x,x', remove it if useless.
2729 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2730 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2732 # Expand $ac_aux_dir to an absolute path.
2733 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2735 if test x
"${MISSING+set}" != xset
; then
2738 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2740 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2743 # Use eval to expand $SHELL
2744 if eval "$MISSING --is-lightweight"; then
2745 am_missing_run
="$MISSING "
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2749 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2752 if test x
"${install_sh+set}" != xset
; then
2755 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2757 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2761 # Installed binaries are usually stripped using 'strip' when the user
2762 # run "make install-strip". However 'strip' might not be the right
2763 # tool to use in cross-compilation environments, therefore Automake
2764 # will honor the 'STRIP' environment variable to overrule this program.
2765 if test "$cross_compiling" != no
; then
2766 if test -n "$ac_tool_prefix"; then
2767 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2768 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2770 $as_echo_n "checking for $ac_word... " >&6; }
2771 if ${ac_cv_prog_STRIP+:} false
; then :
2772 $as_echo_n "(cached) " >&6
2774 if test -n "$STRIP"; then
2775 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2781 test -z "$as_dir" && as_dir
=.
2782 for ac_exec_ext
in '' $ac_executable_extensions; do
2783 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2784 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2794 STRIP
=$ac_cv_prog_STRIP
2795 if test -n "$STRIP"; then
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2797 $as_echo "$STRIP" >&6; }
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2800 $as_echo "no" >&6; }
2805 if test -z "$ac_cv_prog_STRIP"; then
2807 # Extract the first word of "strip", so it can be a program name with args.
2808 set dummy strip
; ac_word
=$2
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2810 $as_echo_n "checking for $ac_word... " >&6; }
2811 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2812 $as_echo_n "(cached) " >&6
2814 if test -n "$ac_ct_STRIP"; then
2815 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2821 test -z "$as_dir" && as_dir
=.
2822 for ac_exec_ext
in '' $ac_executable_extensions; do
2823 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2824 ac_cv_prog_ac_ct_STRIP
="strip"
2825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2834 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2835 if test -n "$ac_ct_STRIP"; then
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2837 $as_echo "$ac_ct_STRIP" >&6; }
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2840 $as_echo "no" >&6; }
2843 if test "x$ac_ct_STRIP" = x
; then
2846 case $cross_compiling:$ac_tool_warned in
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2849 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2850 ac_tool_warned
=yes ;;
2855 STRIP
="$ac_cv_prog_STRIP"
2859 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2862 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2863 if test -z "$MKDIR_P"; then
2864 if ${ac_cv_path_mkdir+:} false
; then :
2865 $as_echo_n "(cached) " >&6
2867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2868 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2871 test -z "$as_dir" && as_dir
=.
2872 for ac_prog
in mkdir gmkdir
; do
2873 for ac_exec_ext
in '' $ac_executable_extensions; do
2874 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2875 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2876 'mkdir (GNU coreutils) '* | \
2877 'mkdir (coreutils) '* | \
2878 'mkdir (fileutils) '4.1*)
2879 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2889 test -d .
/--version && rmdir .
/--version
2890 if test "${ac_cv_path_mkdir+set}" = set; then
2891 MKDIR_P
="$ac_cv_path_mkdir -p"
2893 # As a last resort, use the slow shell script. Don't cache a
2894 # value for MKDIR_P within a source directory, because that will
2895 # break other packages using the cache if that directory is
2896 # removed, or if the value is a relative name.
2897 MKDIR_P
="$ac_install_sh -d"
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2901 $as_echo "$MKDIR_P" >&6; }
2903 for ac_prog
in gawk mawk nawk
awk
2905 # Extract the first word of "$ac_prog", so it can be a program name with args.
2906 set dummy
$ac_prog; ac_word
=$2
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2908 $as_echo_n "checking for $ac_word... " >&6; }
2909 if ${ac_cv_prog_AWK+:} false
; then :
2910 $as_echo_n "(cached) " >&6
2912 if test -n "$AWK"; then
2913 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2919 test -z "$as_dir" && as_dir
=.
2920 for ac_exec_ext
in '' $ac_executable_extensions; do
2921 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2922 ac_cv_prog_AWK
="$ac_prog"
2923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2933 if test -n "$AWK"; then
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2935 $as_echo "$AWK" >&6; }
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2938 $as_echo "no" >&6; }
2942 test -n "$AWK" && break
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2946 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2948 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2949 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2950 $as_echo_n "(cached) " >&6
2952 cat >conftest.
make <<\_ACEOF
2955 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2957 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2958 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2960 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2962 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2966 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2968 $as_echo "yes" >&6; }
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2972 $as_echo "no" >&6; }
2973 SET_MAKE
="MAKE=${MAKE-make}"
2976 rm -rf .tst
2>/dev
/null
2977 mkdir .tst
2>/dev
/null
2978 if test -d .tst
; then
2983 rmdir .tst
2>/dev
/null
2985 # Check whether --enable-silent-rules was given.
2986 if test "${enable_silent_rules+set}" = set; then :
2987 enableval
=$enable_silent_rules;
2990 case $enable_silent_rules in # (((
2991 yes) AM_DEFAULT_VERBOSITY
=0;;
2992 no
) AM_DEFAULT_VERBOSITY
=1;;
2993 *) AM_DEFAULT_VERBOSITY
=1;;
2995 am_make
=${MAKE-make}
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2997 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2998 if ${am_cv_make_support_nested_variables+:} false
; then :
2999 $as_echo_n "(cached) " >&6
3001 if $as_echo 'TRUE=$(BAR$(V))
3007 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3008 am_cv_make_support_nested_variables
=yes
3010 am_cv_make_support_nested_variables
=no
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3014 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3015 if test $am_cv_make_support_nested_variables = yes; then
3017 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3019 AM_V
=$AM_DEFAULT_VERBOSITY
3020 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3024 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3025 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3026 # is not polluted with repeated "-I."
3027 am__isrc
=' -I$(srcdir)'
3028 # test to see if srcdir already configured
3029 if test -f $srcdir/config.status
; then
3030 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3034 # test whether we have cygpath
3035 if test -z "$CYGPATH_W"; then
3036 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3037 CYGPATH_W
='cygpath -w'
3044 # Define the identity of the package.
3045 PACKAGE
='liboffloadmic'
3049 cat >>confdefs.h
<<_ACEOF
3050 #define PACKAGE "$PACKAGE"
3054 cat >>confdefs.h
<<_ACEOF
3055 #define VERSION "$VERSION"
3058 # Some tools Automake needs.
3060 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3063 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3066 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3069 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3072 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3074 # For better backward compatibility. To be removed once Automake 1.9.x
3075 # dies out for good. For more background, see:
3076 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3077 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3078 mkdir_p
='$(MKDIR_P)'
3080 # We need awk for the "check" target (and possibly the TAP driver). The
3081 # system "awk" is bad on some platforms.
3082 # Always define AMTAR for backward compatibility. Yes, it's still used
3083 # in the wild :-( We should find a proper way to deprecate it ...
3087 # We'll loop over all known methods to create a tar archive until one works.
3088 _am_tools
='gnutar pax cpio none'
3090 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3097 # POSIX will say in a future version that running "rm -f" with no argument
3098 # is OK; and we want to be able to make that assumption in our Makefile
3099 # recipes. So use an aggressive probe to check that the usage we want is
3100 # actually supported "in the wild" to an acceptable degree.
3101 # See automake bug#10828.
3102 # To make any issue more visible, cause the running configure to be aborted
3103 # by default if the 'rm' program in use doesn't match our expectations; the
3104 # user can still override this though.
3105 if rm -f && rm -fr && rm -rf; then : OK
; else
3109 Your 'rm' program seems unable to run without file operands specified
3110 on the command line, even when the '-f' option is present. This is contrary
3111 to the behaviour of most rm programs out there, and not conforming with
3112 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3114 Please tell bug-automake@gnu.org about your system, including the value
3115 of your $PATH and any error possibly output before this message. This
3116 can help us improve future automake versions.
3119 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3120 echo 'Configuration will proceed anyway, since you have set the' >&2
3121 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3125 Aborting the configuration process, to ensure you take notice of the issue.
3127 You can download and install GNU coreutils to get an 'rm' implementation
3128 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3130 If you want to complete the configuration process using your problematic
3131 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3132 to "yes", and re-run configure.
3135 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3141 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3142 # Check whether --enable-maintainer-mode was given.
3143 if test "${enable_maintainer_mode+set}" = set; then :
3144 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3146 USE_MAINTAINER_MODE
=no
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3150 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3151 if test $USE_MAINTAINER_MODE = yes; then
3152 MAINTAINER_MODE_TRUE
=
3153 MAINTAINER_MODE_FALSE
='#'
3155 MAINTAINER_MODE_TRUE
='#'
3156 MAINTAINER_MODE_FALSE
=
3159 MAINT
=$MAINTAINER_MODE_TRUE
3164 ac_cpp
='$CPP $CPPFLAGS'
3165 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3166 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3167 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3168 if test -n "$ac_tool_prefix"; then
3169 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3170 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3172 $as_echo_n "checking for $ac_word... " >&6; }
3173 if ${ac_cv_prog_CC+:} false
; then :
3174 $as_echo_n "(cached) " >&6
3176 if test -n "$CC"; then
3177 ac_cv_prog_CC
="$CC" # Let the user override the test.
3179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3183 test -z "$as_dir" && as_dir
=.
3184 for ac_exec_ext
in '' $ac_executable_extensions; do
3185 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3186 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3197 if test -n "$CC"; then
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3199 $as_echo "$CC" >&6; }
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3202 $as_echo "no" >&6; }
3207 if test -z "$ac_cv_prog_CC"; then
3209 # Extract the first word of "gcc", so it can be a program name with args.
3210 set dummy gcc
; ac_word
=$2
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3212 $as_echo_n "checking for $ac_word... " >&6; }
3213 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3214 $as_echo_n "(cached) " >&6
3216 if test -n "$ac_ct_CC"; then
3217 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3223 test -z "$as_dir" && as_dir
=.
3224 for ac_exec_ext
in '' $ac_executable_extensions; do
3225 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3226 ac_cv_prog_ac_ct_CC
="gcc"
3227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3236 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3237 if test -n "$ac_ct_CC"; then
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3239 $as_echo "$ac_ct_CC" >&6; }
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3242 $as_echo "no" >&6; }
3245 if test "x$ac_ct_CC" = x
; then
3248 case $cross_compiling:$ac_tool_warned in
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3251 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3252 ac_tool_warned
=yes ;;
3260 if test -z "$CC"; then
3261 if test -n "$ac_tool_prefix"; then
3262 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3263 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3265 $as_echo_n "checking for $ac_word... " >&6; }
3266 if ${ac_cv_prog_CC+:} false
; then :
3267 $as_echo_n "(cached) " >&6
3269 if test -n "$CC"; then
3270 ac_cv_prog_CC
="$CC" # Let the user override the test.
3272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3276 test -z "$as_dir" && as_dir
=.
3277 for ac_exec_ext
in '' $ac_executable_extensions; do
3278 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3279 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3290 if test -n "$CC"; then
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3292 $as_echo "$CC" >&6; }
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3295 $as_echo "no" >&6; }
3301 if test -z "$CC"; then
3302 # Extract the first word of "cc", so it can be a program name with args.
3303 set dummy cc
; ac_word
=$2
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3305 $as_echo_n "checking for $ac_word... " >&6; }
3306 if ${ac_cv_prog_CC+:} false
; then :
3307 $as_echo_n "(cached) " >&6
3309 if test -n "$CC"; then
3310 ac_cv_prog_CC
="$CC" # Let the user override the test.
3313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3317 test -z "$as_dir" && as_dir
=.
3318 for ac_exec_ext
in '' $ac_executable_extensions; do
3319 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3320 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3321 ac_prog_rejected
=yes
3325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3332 if test $ac_prog_rejected = yes; then
3333 # We found a bogon in the path, so make sure we never use it.
3334 set dummy
$ac_cv_prog_CC
3336 if test $# != 0; then
3337 # We chose a different compiler from the bogus one.
3338 # However, it has the same basename, so the bogon will be chosen
3339 # first if we set CC to just the basename; use the full file name.
3341 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3347 if test -n "$CC"; then
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3349 $as_echo "$CC" >&6; }
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3352 $as_echo "no" >&6; }
3357 if test -z "$CC"; then
3358 if test -n "$ac_tool_prefix"; then
3359 for ac_prog
in cl.exe
3361 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3362 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3364 $as_echo_n "checking for $ac_word... " >&6; }
3365 if ${ac_cv_prog_CC+:} false
; then :
3366 $as_echo_n "(cached) " >&6
3368 if test -n "$CC"; then
3369 ac_cv_prog_CC
="$CC" # Let the user override the test.
3371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3375 test -z "$as_dir" && as_dir
=.
3376 for ac_exec_ext
in '' $ac_executable_extensions; do
3377 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3378 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3389 if test -n "$CC"; then
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3391 $as_echo "$CC" >&6; }
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3394 $as_echo "no" >&6; }
3398 test -n "$CC" && break
3401 if test -z "$CC"; then
3403 for ac_prog
in cl.exe
3405 # Extract the first word of "$ac_prog", so it can be a program name with args.
3406 set dummy
$ac_prog; ac_word
=$2
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3408 $as_echo_n "checking for $ac_word... " >&6; }
3409 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3410 $as_echo_n "(cached) " >&6
3412 if test -n "$ac_ct_CC"; then
3413 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3419 test -z "$as_dir" && as_dir
=.
3420 for ac_exec_ext
in '' $ac_executable_extensions; do
3421 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3422 ac_cv_prog_ac_ct_CC
="$ac_prog"
3423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3432 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3433 if test -n "$ac_ct_CC"; then
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3435 $as_echo "$ac_ct_CC" >&6; }
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3438 $as_echo "no" >&6; }
3442 test -n "$ac_ct_CC" && break
3445 if test "x$ac_ct_CC" = x
; then
3448 case $cross_compiling:$ac_tool_warned in
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3451 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3452 ac_tool_warned
=yes ;;
3461 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3462 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3463 as_fn_error $?
"no acceptable C compiler found in \$PATH
3464 See \`config.log' for more details" "$LINENO" 5; }
3466 # Provide some information about the compiler.
3467 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3470 for ac_option
in --version -v -V -qversion; do
3471 { { ac_try
="$ac_compiler $ac_option >&5"
3473 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3474 *) ac_try_echo=$ac_try;;
3476 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3477 $as_echo "$ac_try_echo"; } >&5
3478 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3480 if test -s conftest.err; then
3482 ... rest of stderr output deleted ...
3483 10q' conftest.err >conftest.er1
3484 cat conftest.er1 >&5
3486 rm -f conftest.er1 conftest.err
3487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3488 test $ac_status = 0; }
3491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3492 /* end confdefs.h. */
3502 ac_clean_files_save=$ac_clean_files
3503 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3504 # Try to create an executable without -o first, disregard a.out.
3505 # It will help us diagnose broken compilers, and finding out an intuition
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3508 $as_echo_n "checking whether the C compiler works... " >&6; }
3509 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3511 # The possible output files:
3512 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3515 for ac_file in $ac_files
3518 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3519 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3524 if { { ac_try="$ac_link_default"
3526 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3527 *) ac_try_echo
=$ac_try;;
3529 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3530 $as_echo "$ac_try_echo"; } >&5
3531 (eval "$ac_link_default") 2>&5
3533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3534 test $ac_status = 0; }; then :
3535 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3536 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3537 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3538 # so that the user can short-circuit this test for compilers unknown to
3540 for ac_file
in $ac_files ''
3542 test -f "$ac_file" ||
continue
3544 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3547 # We found the default executable, but exeext='' is most
3551 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3553 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3555 # We set ac_cv_exeext here because the later test for it is not
3556 # safe: cross compilers may not add the suffix if given an `-o'
3557 # argument, so we may need to know it at that point already.
3558 # Even if this section looks crufty: it has the advantage of
3565 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3570 if test -z "$ac_file"; then :
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3572 $as_echo "no" >&6; }
3573 $as_echo "$as_me: failed program was:" >&5
3574 sed 's/^/| /' conftest.
$ac_ext >&5
3576 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3578 as_fn_error
77 "C compiler cannot create executables
3579 See \`config.log' for more details" "$LINENO" 5; }
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3582 $as_echo "yes" >&6; }
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3585 $as_echo_n "checking for C compiler default output file name... " >&6; }
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3587 $as_echo "$ac_file" >&6; }
3588 ac_exeext
=$ac_cv_exeext
3590 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3591 ac_clean_files
=$ac_clean_files_save
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3593 $as_echo_n "checking for suffix of executables... " >&6; }
3594 if { { ac_try
="$ac_link"
3596 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3597 *) ac_try_echo=$ac_try;;
3599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3600 $as_echo "$ac_try_echo"; } >&5
3601 (eval "$ac_link") 2>&5
3603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3604 test $ac_status = 0; }; then :
3605 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3606 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3607 # work properly (i.e., refer to `conftest.exe'), while it won't with
3609 for ac_file
in conftest.exe conftest conftest.
*; do
3610 test -f "$ac_file" ||
continue
3612 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3613 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3619 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3621 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3622 See \`config.log' for more details" "$LINENO" 5; }
3624 rm -f conftest conftest
$ac_cv_exeext
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3626 $as_echo "$ac_cv_exeext" >&6; }
3628 rm -f conftest.
$ac_ext
3629 EXEEXT
=$ac_cv_exeext
3631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3632 /* end confdefs.h. */
3637 FILE *f = fopen ("conftest.out", "w");
3638 return ferror (f) || fclose (f) != 0;
3644 ac_clean_files
="$ac_clean_files conftest.out"
3645 # Check that the compiler produces executables we can run. If not, either
3646 # the compiler is broken, or we cross compile.
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3648 $as_echo_n "checking whether we are cross compiling... " >&6; }
3649 if test "$cross_compiling" != yes; then
3650 { { ac_try
="$ac_link"
3652 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3653 *) ac_try_echo=$ac_try;;
3655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3656 $as_echo "$ac_try_echo"; } >&5
3657 (eval "$ac_link") 2>&5
3659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3660 test $ac_status = 0; }
3661 if { ac_try='./conftest$ac_cv_exeext'
3662 { { case "(($ac_try" in
3663 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3664 *) ac_try_echo
=$ac_try;;
3666 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3667 $as_echo "$ac_try_echo"; } >&5
3668 (eval "$ac_try") 2>&5
3670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3671 test $ac_status = 0; }; }; then
3674 if test "$cross_compiling" = maybe
; then
3677 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3678 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3679 as_fn_error $?
"cannot run C compiled programs.
3680 If you meant to cross compile, use \`--host'.
3681 See \`config.log' for more details" "$LINENO" 5; }
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3686 $as_echo "$cross_compiling" >&6; }
3688 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3689 ac_clean_files
=$ac_clean_files_save
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3691 $as_echo_n "checking for suffix of object files... " >&6; }
3692 if ${ac_cv_objext+:} false
; then :
3693 $as_echo_n "(cached) " >&6
3695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3696 /* end confdefs.h. */
3706 rm -f conftest.o conftest.obj
3707 if { { ac_try
="$ac_compile"
3709 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3710 *) ac_try_echo=$ac_try;;
3712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3713 $as_echo "$ac_try_echo"; } >&5
3714 (eval "$ac_compile") 2>&5
3716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3717 test $ac_status = 0; }; then :
3718 for ac_file in conftest.o conftest.obj conftest.*; do
3719 test -f "$ac_file" || continue;
3721 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3722 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3727 $as_echo "$as_me: failed program was:" >&5
3728 sed 's/^/| /' conftest.$ac_ext >&5
3730 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3731 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3732 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3733 See \
`config.log' for more details" "$LINENO" 5; }
3735 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3738 $as_echo "$ac_cv_objext" >&6; }
3739 OBJEXT=$ac_cv_objext
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3742 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3743 if ${ac_cv_c_compiler_gnu+:} false; then :
3744 $as_echo_n "(cached) " >&6
3746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3747 /* end confdefs.h. */
3760 if ac_fn_c_try_compile "$LINENO"; then :
3765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3766 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3770 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3771 if test $ac_compiler_gnu = yes; then
3776 ac_test_CFLAGS=${CFLAGS+set}
3777 ac_save_CFLAGS=$CFLAGS
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3779 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3780 if ${ac_cv_prog_cc_g+:} false; then :
3781 $as_echo_n "(cached) " >&6
3783 ac_save_c_werror_flag=$ac_c_werror_flag
3784 ac_c_werror_flag=yes
3787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3788 /* end confdefs.h. */
3798 if ac_fn_c_try_compile "$LINENO"; then :
3802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3803 /* end confdefs.h. */
3813 if ac_fn_c_try_compile "$LINENO"; then :
3816 ac_c_werror_flag=$ac_save_c_werror_flag
3818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3819 /* end confdefs.h. */
3829 if ac_fn_c_try_compile "$LINENO"; then :
3832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3837 ac_c_werror_flag=$ac_save_c_werror_flag
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3840 $as_echo "$ac_cv_prog_cc_g" >&6; }
3841 if test "$ac_test_CFLAGS" = set; then
3842 CFLAGS=$ac_save_CFLAGS
3843 elif test $ac_cv_prog_cc_g = yes; then
3844 if test "$GCC" = yes; then
3850 if test "$GCC" = yes; then
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3857 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3858 if ${ac_cv_prog_cc_c89+:} false; then :
3859 $as_echo_n "(cached) " >&6
3861 ac_cv_prog_cc_c89=no
3863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3864 /* end confdefs.h. */
3868 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3869 struct buf { int x; };
3870 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3871 static char *e (p, i)
3877 static char *f (char * (*g) (char **, int), char **p, ...)
3882 s = g (p, va_arg (v,int));
3887 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3888 function prototypes and stuff, but not '\xHH' hex character constants.
3889 These don't provoke an error unfortunately, instead are silently treated
3890 as 'x'. The following induces an error, until -std is added to get
3891 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3892 array size at least. It's necessary to write '\x00'==0 to get something
3893 that's true only with -std. */
3894 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3896 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3897 inside strings and character constants. */
3899 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3901 int test (int i, double x);
3902 struct s1 {int (*f) (int a);};
3903 struct s2 {int (*f) (double a);};
3904 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3910 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3915 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3916 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3918 CC="$ac_save_CC $ac_arg"
3919 if ac_fn_c_try_compile "$LINENO"; then :
3920 ac_cv_prog_cc_c89=$ac_arg
3922 rm -f core conftest.err conftest.$ac_objext
3923 test "x$ac_cv_prog_cc_c89" != "xno" && break
3925 rm -f conftest.$ac_ext
3930 case "x$ac_cv_prog_cc_c89" in
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3933 $as_echo "none needed" >&6; } ;;
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3936 $as_echo "unsupported" >&6; } ;;
3938 CC="$CC $ac_cv_prog_cc_c89"
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3940 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3942 if test "x$ac_cv_prog_cc_c89" != xno; then :
3947 ac_cpp='$CPP $CPPFLAGS'
3948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3953 ac_cpp='$CPP $CPPFLAGS'
3954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3958 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3959 if ${am_cv_prog_cc_c_o+:} false; then :
3960 $as_echo_n "(cached) " >&6
3962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3963 /* end confdefs.h. */
3973 # Make sure it works both with $CC and with simple cc.
3974 # Following AC_PROG_CC_C_O, we do the test twice because some
3975 # compilers refuse to overwrite an existing .o file with -o,
3976 # though they will create one.
3977 am_cv_prog_cc_c_o=yes
3979 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3980 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3983 (exit $ac_status); } \
3984 && test -f conftest2.$ac_objext; then
3987 am_cv_prog_cc_c_o=no
3991 rm -f core conftest*
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3995 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3996 if test "$am_cv_prog_cc_c_o" != yes; then
3997 # Losing compiler, so override with the script.
3998 # FIXME: It is wrong to rewrite CC.
3999 # But if we don't then we get into trouble of one sort or another.
4000 # A longer-term fix would be to have automake use am__CC in this case,
4001 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4002 CC="$am_aux_dir/compile $CC"
4005 ac_cpp='$CPP $CPPFLAGS'
4006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4010 DEPDIR="${am__leading_dot}deps"
4012 ac_config_commands="$ac_config_commands depfiles"
4015 am_make=${MAKE-make}
4016 cat > confinc << 'END'
4018 @echo this is the am__doit target
4021 # If we don't find an include directive, just comment out the code.
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4023 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4027 # First try GNU make style include.
4028 echo "include confinc" > confmf
4029 # Ignore all kinds of additional output from 'make'.
4030 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4031 *the\ am__doit\ target*)
4037 # Now try BSD make style include.
4038 if test "$am__include" = "#"; then
4039 echo '.include "confinc"' > confmf
4040 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4041 *the\ am__doit\ target*)
4042 am__include=.include
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4051 $as_echo "$_am_result" >&6; }
4052 rm -f confinc confmf
4054 # Check whether --enable-dependency-tracking was given.
4055 if test "${enable_dependency_tracking+set}" = set; then :
4056 enableval=$enable_dependency_tracking;
4059 if test "x$enable_dependency_tracking" != xno; then
4060 am_depcomp="$ac_aux_dir/depcomp"
4064 if test "x$enable_dependency_tracking" != xno; then
4074 depcc="$CC" am_compiler_list=
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4077 $as_echo_n "checking dependency style of $depcc... " >&6; }
4078 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4079 $as_echo_n "(cached) " >&6
4081 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4082 # We make a subdir and do the tests there. Otherwise we can end up
4083 # making bogus files that we don't know about and never remove. For
4084 # instance it was reported that on HP-UX the gcc test will end up
4085 # making a dummy file named 'D' -- because '-MD' means "put the output
4089 # Copy depcomp to subdir because otherwise we won't find it if we're
4090 # using a relative directory.
4091 cp "$am_depcomp" conftest.dir
4093 # We will build objects and dependencies in a subdirectory because
4094 # it helps to detect inapplicable dependency modes. For instance
4095 # both Tru64's cc and ICC support -MD to output dependencies as a
4096 # side effect of compilation, but ICC will put the dependencies in
4097 # the current directory while Tru64 will put them in the object
4101 am_cv_CC_dependencies_compiler_type=none
4102 if test "$am_compiler_list" = ""; then
4103 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4106 case " $depcc " in #(
4107 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4110 for depmode in $am_compiler_list; do
4111 # Setup a source with many dependencies, because some compilers
4112 # like to wrap large dependency lists on column 80 (with \), and
4113 # we should not choose a depcomp mode which is confused by this.
4115 # We need to recreate these files for each test, as the compiler may
4116 # overwrite some of them when testing with obscure command lines.
4117 # This happens at least with the AIX C compiler.
4119 for i in 1 2 3 4 5 6; do
4120 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4121 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4122 # Solaris 10 /bin/sh.
4123 echo '/* dummy */' > sub/conftst$i.h
4125 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4127 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4128 # mode. It turns out that the SunPro C++ compiler does not properly
4129 # handle '-M -o', and we need to detect this. Also, some Intel
4130 # versions had trouble with output in subdirs.
4131 am__obj=sub/conftest.${OBJEXT-o}
4132 am__minus_obj="-o $am__obj"
4135 # This depmode causes a compiler race in universal mode.
4136 test "$am__universal" = false || continue
4139 # After this tag, mechanisms are not by side-effect, so they'll
4140 # only be used when explicitly requested.
4141 if test "x$enable_dependency_tracking" = xyes; then
4147 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4148 # This compiler won't grok '-c -o', but also, the minuso test has
4149 # not run yet. These depmodes are late enough in the game, and
4150 # so weak that their functioning should not be impacted.
4151 am__obj=conftest.${OBJEXT-o}
4156 if depmode=$depmode \
4157 source=sub/conftest.c object=$am__obj \
4158 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4159 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4160 >/dev/null 2>conftest.err &&
4161 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4162 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4163 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4164 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4165 # icc doesn't choke on unknown options, it will just issue warnings
4166 # or remarks (even with -Werror). So we grep stderr for any message
4167 # that says an option was ignored or not supported.
4168 # When given -MP, icc 7.0 and 7.1 complain thusly:
4169 # icc: Command line warning: ignoring option '-M'; no argument required
4170 # The diagnosis changed in icc 8.0:
4171 # icc: Command line remark: option '-MP' not supported
4172 if (grep 'ignoring option' conftest.err ||
4173 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4174 am_cv_CC_dependencies_compiler_type=$depmode
4183 am_cv_CC_dependencies_compiler_type=none
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4188 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4189 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4192 test "x$enable_dependency_tracking" != xno \
4193 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4195 am__fastdepCC_FALSE='#'
4197 am__fastdepCC_TRUE='#'
4198 am__fastdepCC_FALSE=
4203 ac_cpp='$CXXCPP $CPPFLAGS'
4204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4207 if test -z "$CXX"; then
4208 if test -n "$CCC"; then
4211 if test -n "$ac_tool_prefix"; then
4212 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4214 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4215 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4217 $as_echo_n "checking for $ac_word... " >&6; }
4218 if ${ac_cv_prog_CXX+:} false; then :
4219 $as_echo_n "(cached) " >&6
4221 if test -n "$CXX"; then
4222 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4228 test -z "$as_dir" && as_dir=.
4229 for ac_exec_ext in '' $ac_executable_extensions; do
4230 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4231 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4242 if test -n "$CXX"; then
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4244 $as_echo "$CXX" >&6; }
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4247 $as_echo "no" >&6; }
4251 test -n "$CXX" && break
4254 if test -z "$CXX"; then
4256 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4258 # Extract the first word of "$ac_prog", so it can be a program name with args.
4259 set dummy $ac_prog; ac_word=$2
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4261 $as_echo_n "checking for $ac_word... " >&6; }
4262 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4263 $as_echo_n "(cached) " >&6
4265 if test -n "$ac_ct_CXX"; then
4266 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4272 test -z "$as_dir" && as_dir=.
4273 for ac_exec_ext in '' $ac_executable_extensions; do
4274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4275 ac_cv_prog_ac_ct_CXX="$ac_prog"
4276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4285 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4286 if test -n "$ac_ct_CXX"; then
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4288 $as_echo "$ac_ct_CXX" >&6; }
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4291 $as_echo "no" >&6; }
4295 test -n "$ac_ct_CXX" && break
4298 if test "x$ac_ct_CXX" = x; then
4301 case $cross_compiling:$ac_tool_warned in
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4304 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4305 ac_tool_warned=yes ;;
4313 # Provide some information about the compiler.
4314 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4317 for ac_option in --version -v -V -qversion; do
4318 { { ac_try="$ac_compiler $ac_option >&5"
4320 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4321 *) ac_try_echo
=$ac_try;;
4323 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4324 $as_echo "$ac_try_echo"; } >&5
4325 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4327 if test -s conftest.err
; then
4329 ... rest of stderr output deleted ...
4330 10q' conftest.err
>conftest.er1
4331 cat conftest.er1
>&5
4333 rm -f conftest.er1 conftest.err
4334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4335 test $ac_status = 0; }
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4339 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4340 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4341 $as_echo_n "(cached) " >&6
4343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4344 /* end confdefs.h. */
4357 if ac_fn_cxx_try_compile
"$LINENO"; then :
4362 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4363 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4367 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4368 if test $ac_compiler_gnu = yes; then
4373 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4374 ac_save_CXXFLAGS
=$CXXFLAGS
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4376 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4377 if ${ac_cv_prog_cxx_g+:} false
; then :
4378 $as_echo_n "(cached) " >&6
4380 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4381 ac_cxx_werror_flag
=yes
4384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4385 /* end confdefs.h. */
4395 if ac_fn_cxx_try_compile
"$LINENO"; then :
4396 ac_cv_prog_cxx_g
=yes
4399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4400 /* end confdefs.h. */
4410 if ac_fn_cxx_try_compile
"$LINENO"; then :
4413 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4416 /* end confdefs.h. */
4426 if ac_fn_cxx_try_compile
"$LINENO"; then :
4427 ac_cv_prog_cxx_g
=yes
4429 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4431 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4434 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4437 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4438 if test "$ac_test_CXXFLAGS" = set; then
4439 CXXFLAGS
=$ac_save_CXXFLAGS
4440 elif test $ac_cv_prog_cxx_g = yes; then
4441 if test "$GXX" = yes; then
4447 if test "$GXX" = yes; then
4454 ac_cpp
='$CPP $CPPFLAGS'
4455 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4456 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4457 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4459 depcc
="$CXX" am_compiler_list
=
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4462 $as_echo_n "checking dependency style of $depcc... " >&6; }
4463 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
4464 $as_echo_n "(cached) " >&6
4466 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4467 # We make a subdir and do the tests there. Otherwise we can end up
4468 # making bogus files that we don't know about and never remove. For
4469 # instance it was reported that on HP-UX the gcc test will end up
4470 # making a dummy file named 'D' -- because '-MD' means "put the output
4474 # Copy depcomp to subdir because otherwise we won't find it if we're
4475 # using a relative directory.
4476 cp "$am_depcomp" conftest.dir
4478 # We will build objects and dependencies in a subdirectory because
4479 # it helps to detect inapplicable dependency modes. For instance
4480 # both Tru64's cc and ICC support -MD to output dependencies as a
4481 # side effect of compilation, but ICC will put the dependencies in
4482 # the current directory while Tru64 will put them in the object
4486 am_cv_CXX_dependencies_compiler_type
=none
4487 if test "$am_compiler_list" = ""; then
4488 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4491 case " $depcc " in #(
4492 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4495 for depmode
in $am_compiler_list; do
4496 # Setup a source with many dependencies, because some compilers
4497 # like to wrap large dependency lists on column 80 (with \), and
4498 # we should not choose a depcomp mode which is confused by this.
4500 # We need to recreate these files for each test, as the compiler may
4501 # overwrite some of them when testing with obscure command lines.
4502 # This happens at least with the AIX C compiler.
4504 for i
in 1 2 3 4 5 6; do
4505 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4506 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4507 # Solaris 10 /bin/sh.
4508 echo '/* dummy */' > sub
/conftst
$i.h
4510 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4512 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4513 # mode. It turns out that the SunPro C++ compiler does not properly
4514 # handle '-M -o', and we need to detect this. Also, some Intel
4515 # versions had trouble with output in subdirs.
4516 am__obj
=sub
/conftest.
${OBJEXT-o}
4517 am__minus_obj
="-o $am__obj"
4520 # This depmode causes a compiler race in universal mode.
4521 test "$am__universal" = false ||
continue
4524 # After this tag, mechanisms are not by side-effect, so they'll
4525 # only be used when explicitly requested.
4526 if test "x$enable_dependency_tracking" = xyes
; then
4532 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4533 # This compiler won't grok '-c -o', but also, the minuso test has
4534 # not run yet. These depmodes are late enough in the game, and
4535 # so weak that their functioning should not be impacted.
4536 am__obj
=conftest.
${OBJEXT-o}
4541 if depmode
=$depmode \
4542 source=sub
/conftest.c object
=$am__obj \
4543 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4544 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4545 >/dev
/null
2>conftest.err
&&
4546 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4547 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4548 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4549 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4550 # icc doesn't choke on unknown options, it will just issue warnings
4551 # or remarks (even with -Werror). So we grep stderr for any message
4552 # that says an option was ignored or not supported.
4553 # When given -MP, icc 7.0 and 7.1 complain thusly:
4554 # icc: Command line warning: ignoring option '-M'; no argument required
4555 # The diagnosis changed in icc 8.0:
4556 # icc: Command line remark: option '-MP' not supported
4557 if (grep 'ignoring option' conftest.err ||
4558 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4559 am_cv_CXX_dependencies_compiler_type
=$depmode
4568 am_cv_CXX_dependencies_compiler_type
=none
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4573 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4574 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4577 test "x$enable_dependency_tracking" != xno \
4578 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4579 am__fastdepCXX_TRUE
=
4580 am__fastdepCXX_FALSE
='#'
4582 am__fastdepCXX_TRUE
='#'
4583 am__fastdepCXX_FALSE
=
4587 ac_config_files
="$ac_config_files Makefile liboffloadmic_host.spec liboffloadmic_target.spec"
4589 # Default to --enable-multilib
4590 # Check whether --enable-multilib was given.
4591 if test "${enable_multilib+set}" = set; then :
4592 enableval
=$enable_multilib; case "$enableval" in
4593 yes) multilib
=yes ;;
4595 *) as_fn_error $?
"bad value $enableval for multilib option" "$LINENO" 5 ;;
4602 # We may get other options which we leave undocumented:
4603 # --with-target-subdir, --with-multisrctop, --with-multisubdir
4604 # See config-ml.in if you want the gory details.
4606 if test "$srcdir" = "."; then
4607 if test "$with_target_subdir" != "."; then
4608 multi_basedir
="$srcdir/$with_multisrctop../.."
4610 multi_basedir
="$srcdir/$with_multisrctop.."
4613 multi_basedir
="$srcdir/.."
4617 # Even if the default multilib is not a cross compilation,
4618 # it may be that some of the other multilibs are.
4619 if test $cross_compiling = no
&& test $multilib = yes \
4620 && test "x${with_multisubdir}" != x
; then
4621 cross_compiling
=maybe
4624 ac_config_commands
="$ac_config_commands default-1"
4628 subdirs
="$subdirs plugin"
4632 ac_cpp
='$CPP $CPPFLAGS'
4633 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4634 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4635 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4637 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4638 # On Suns, sometimes $CPP names a directory.
4639 if test -n "$CPP" && test -d "$CPP"; then
4642 if test -z "$CPP"; then
4643 if ${ac_cv_prog_CPP+:} false
; then :
4644 $as_echo_n "(cached) " >&6
4646 # Double quotes because CPP needs to be expanded
4647 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4650 for ac_c_preproc_warn_flag
in '' yes
4652 # Use a header file that comes with gcc, so configuring glibc
4653 # with a fresh cross-compiler works.
4654 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4655 # <limits.h> exists even on freestanding compilers.
4656 # On the NeXT, cc -E runs the code through the compiler's parser,
4657 # not just through cpp. "Syntax error" is here to catch this case.
4658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4659 /* end confdefs.h. */
4661 # include <limits.h>
4663 # include <assert.h>
4667 if ac_fn_c_try_cpp
"$LINENO"; then :
4670 # Broken: fails on valid input.
4673 rm -f conftest.err conftest.i conftest.
$ac_ext
4675 # OK, works on sane cases. Now check whether nonexistent headers
4676 # can be detected and how.
4677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4678 /* end confdefs.h. */
4679 #include <ac_nonexistent.h>
4681 if ac_fn_c_try_cpp
"$LINENO"; then :
4682 # Broken: success on invalid input.
4685 # Passes both tests.
4689 rm -f conftest.err conftest.i conftest.
$ac_ext
4692 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4693 rm -f conftest.i conftest.err conftest.
$ac_ext
4694 if $ac_preproc_ok; then :
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4707 $as_echo "$CPP" >&6; }
4709 for ac_c_preproc_warn_flag
in '' yes
4711 # Use a header file that comes with gcc, so configuring glibc
4712 # with a fresh cross-compiler works.
4713 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4714 # <limits.h> exists even on freestanding compilers.
4715 # On the NeXT, cc -E runs the code through the compiler's parser,
4716 # not just through cpp. "Syntax error" is here to catch this case.
4717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4718 /* end confdefs.h. */
4720 # include <limits.h>
4722 # include <assert.h>
4726 if ac_fn_c_try_cpp
"$LINENO"; then :
4729 # Broken: fails on valid input.
4732 rm -f conftest.err conftest.i conftest.
$ac_ext
4734 # OK, works on sane cases. Now check whether nonexistent headers
4735 # can be detected and how.
4736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4737 /* end confdefs.h. */
4738 #include <ac_nonexistent.h>
4740 if ac_fn_c_try_cpp
"$LINENO"; then :
4741 # Broken: success on invalid input.
4744 # Passes both tests.
4748 rm -f conftest.err conftest.i conftest.
$ac_ext
4751 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4752 rm -f conftest.i conftest.err conftest.
$ac_ext
4753 if $ac_preproc_ok; then :
4756 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4758 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4759 See \`config.log' for more details" "$LINENO" 5; }
4763 ac_cpp
='$CPP $CPPFLAGS'
4764 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4765 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4766 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4770 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4771 if ${ac_cv_path_GREP+:} false
; then :
4772 $as_echo_n "(cached) " >&6
4774 if test -z "$GREP"; then
4775 ac_path_GREP_found
=false
4776 # Loop through the user's path and test for each of PROGNAME-LIST
4777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4778 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4781 test -z "$as_dir" && as_dir
=.
4782 for ac_prog
in grep ggrep
; do
4783 for ac_exec_ext
in '' $ac_executable_extensions; do
4784 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4785 as_fn_executable_p
"$ac_path_GREP" ||
continue
4786 # Check for GNU ac_path_GREP and select it if it is found.
4787 # Check for GNU $ac_path_GREP
4788 case `"$ac_path_GREP" --version 2>&1` in
4790 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4793 $as_echo_n 0123456789 >"conftest.in"
4796 cat "conftest.in" "conftest.in" >"conftest.tmp"
4797 mv "conftest.tmp" "conftest.in"
4798 cp "conftest.in" "conftest.nl"
4799 $as_echo 'GREP' >> "conftest.nl"
4800 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4801 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4802 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4803 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4804 # Best one so far, save it but keep looking for a better one
4805 ac_cv_path_GREP
="$ac_path_GREP"
4806 ac_path_GREP_max
=$ac_count
4808 # 10*(2^10) chars as input seems more than enough
4809 test $ac_count -gt 10 && break
4811 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4814 $ac_path_GREP_found && break 3
4819 if test -z "$ac_cv_path_GREP"; then
4820 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4823 ac_cv_path_GREP
=$GREP
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4828 $as_echo "$ac_cv_path_GREP" >&6; }
4829 GREP
="$ac_cv_path_GREP"
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4833 $as_echo_n "checking for egrep... " >&6; }
4834 if ${ac_cv_path_EGREP+:} false
; then :
4835 $as_echo_n "(cached) " >&6
4837 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4838 then ac_cv_path_EGREP
="$GREP -E"
4840 if test -z "$EGREP"; then
4841 ac_path_EGREP_found
=false
4842 # Loop through the user's path and test for each of PROGNAME-LIST
4843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4844 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4847 test -z "$as_dir" && as_dir
=.
4848 for ac_prog
in egrep; do
4849 for ac_exec_ext
in '' $ac_executable_extensions; do
4850 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4851 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4852 # Check for GNU ac_path_EGREP and select it if it is found.
4853 # Check for GNU $ac_path_EGREP
4854 case `"$ac_path_EGREP" --version 2>&1` in
4856 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4859 $as_echo_n 0123456789 >"conftest.in"
4862 cat "conftest.in" "conftest.in" >"conftest.tmp"
4863 mv "conftest.tmp" "conftest.in"
4864 cp "conftest.in" "conftest.nl"
4865 $as_echo 'EGREP' >> "conftest.nl"
4866 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4867 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4868 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4869 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4870 # Best one so far, save it but keep looking for a better one
4871 ac_cv_path_EGREP
="$ac_path_EGREP"
4872 ac_path_EGREP_max
=$ac_count
4874 # 10*(2^10) chars as input seems more than enough
4875 test $ac_count -gt 10 && break
4877 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4880 $ac_path_EGREP_found && break 3
4885 if test -z "$ac_cv_path_EGREP"; then
4886 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4889 ac_cv_path_EGREP
=$EGREP
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4895 $as_echo "$ac_cv_path_EGREP" >&6; }
4896 EGREP
="$ac_cv_path_EGREP"
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4900 $as_echo_n "checking for ANSI C header files... " >&6; }
4901 if ${ac_cv_header_stdc+:} false
; then :
4902 $as_echo_n "(cached) " >&6
4904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4905 /* end confdefs.h. */
4919 if ac_fn_c_try_compile
"$LINENO"; then :
4920 ac_cv_header_stdc
=yes
4922 ac_cv_header_stdc
=no
4924 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4926 if test $ac_cv_header_stdc = yes; then
4927 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4929 /* end confdefs.h. */
4933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4934 $EGREP "memchr" >/dev
/null
2>&1; then :
4937 ac_cv_header_stdc
=no
4943 if test $ac_cv_header_stdc = yes; then
4944 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4946 /* end confdefs.h. */
4950 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4951 $EGREP "free" >/dev
/null
2>&1; then :
4954 ac_cv_header_stdc
=no
4960 if test $ac_cv_header_stdc = yes; then
4961 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4962 if test "$cross_compiling" = yes; then :
4965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4966 /* end confdefs.h. */
4969 #if ((' ' & 0x0FF) == 0x020)
4970 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4971 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4973 # define ISLOWER(c) \
4974 (('a' <= (c) && (c) <= 'i') \
4975 || ('j' <= (c) && (c) <= 'r') \
4976 || ('s' <= (c) && (c) <= 'z'))
4977 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4980 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4985 for (i = 0; i < 256; i++)
4986 if (XOR (islower (i), ISLOWER (i))
4987 || toupper (i) != TOUPPER (i))
4992 if ac_fn_c_try_run
"$LINENO"; then :
4995 ac_cv_header_stdc
=no
4997 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4998 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5004 $as_echo "$ac_cv_header_stdc" >&6; }
5005 if test $ac_cv_header_stdc = yes; then
5007 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5011 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5012 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5013 inttypes.h stdint.h unistd.h
5015 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5016 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5018 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5019 cat >>confdefs.h
<<_ACEOF
5020 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5028 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5029 if test "x$ac_cv_type_size_t" = xyes
; then :
5033 cat >>confdefs.h
<<_ACEOF
5034 #define size_t unsigned int
5039 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5040 # for constant arguments. Useless!
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
5042 $as_echo_n "checking for working alloca.h... " >&6; }
5043 if ${ac_cv_working_alloca_h+:} false
; then :
5044 $as_echo_n "(cached) " >&6
5046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5047 /* end confdefs.h. */
5052 char *p = (char *) alloca (2 * sizeof (int));
5058 if ac_fn_c_try_link
"$LINENO"; then :
5059 ac_cv_working_alloca_h
=yes
5061 ac_cv_working_alloca_h
=no
5063 rm -f core conftest.err conftest.
$ac_objext \
5064 conftest
$ac_exeext conftest.
$ac_ext
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
5067 $as_echo "$ac_cv_working_alloca_h" >&6; }
5068 if test $ac_cv_working_alloca_h = yes; then
5070 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
5075 $as_echo_n "checking for alloca... " >&6; }
5076 if ${ac_cv_func_alloca_works+:} false
; then :
5077 $as_echo_n "(cached) " >&6
5079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5080 /* end confdefs.h. */
5082 # define alloca __builtin_alloca
5085 # include <malloc.h>
5086 # define alloca _alloca
5088 # ifdef HAVE_ALLOCA_H
5089 # include <alloca.h>
5094 # ifndef alloca /* predefined by HP cc +Olibcalls */
5095 void *alloca (size_t);
5105 char *p = (char *) alloca (1);
5111 if ac_fn_c_try_link
"$LINENO"; then :
5112 ac_cv_func_alloca_works
=yes
5114 ac_cv_func_alloca_works
=no
5116 rm -f core conftest.err conftest.
$ac_objext \
5117 conftest
$ac_exeext conftest.
$ac_ext
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
5120 $as_echo "$ac_cv_func_alloca_works" >&6; }
5122 if test $ac_cv_func_alloca_works = yes; then
5124 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
5127 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5128 # that cause trouble. Some versions do not even contain alloca or
5129 # contain a buggy version. If you still want to use their alloca,
5130 # use ar to extract alloca.o from them instead of compiling alloca.c.
5132 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
5134 $as_echo "#define C_ALLOCA 1" >>confdefs.h
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
5138 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
5139 if ${ac_cv_os_cray+:} false
; then :
5140 $as_echo_n "(cached) " >&6
5142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5143 /* end confdefs.h. */
5144 #if defined CRAY && ! defined CRAY2
5151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5152 $EGREP "webecray" >/dev
/null
2>&1; then :
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
5161 $as_echo "$ac_cv_os_cray" >&6; }
5162 if test $ac_cv_os_cray = yes; then
5163 for ac_func
in _getb67 GETB67 getb67
; do
5164 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5165 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5166 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
5168 cat >>confdefs.h
<<_ACEOF
5169 #define CRAY_STACKSEG_END $ac_func
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
5179 $as_echo_n "checking stack direction for C alloca... " >&6; }
5180 if ${ac_cv_c_stack_direction+:} false
; then :
5181 $as_echo_n "(cached) " >&6
5183 if test "$cross_compiling" = yes; then :
5184 ac_cv_c_stack_direction
=0
5186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5187 /* end confdefs.h. */
5188 $ac_includes_default
5190 find_stack_direction (int *addr, int depth)
5195 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
5196 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
5201 main (int argc, char **argv)
5203 return find_stack_direction (0, argc + !argv + 20) < 0;
5206 if ac_fn_c_try_run
"$LINENO"; then :
5207 ac_cv_c_stack_direction
=1
5209 ac_cv_c_stack_direction
=-1
5211 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5212 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
5217 $as_echo "$ac_cv_c_stack_direction" >&6; }
5218 cat >>confdefs.h
<<_ACEOF
5219 #define STACK_DIRECTION $ac_cv_c_stack_direction
5225 for ac_header
in mm_malloc.h
5227 ac_fn_c_check_header_mongrel
"$LINENO" "mm_malloc.h" "ac_cv_header_mm_malloc_h" "$ac_includes_default"
5228 if test "x$ac_cv_header_mm_malloc_h" = xyes
; then :
5229 cat >>confdefs.h
<<_ACEOF
5230 #define HAVE_MM_MALLOC_H 1
5234 as_fn_error $?
"\"Couldn't find mm_malloc.h\"" "$LINENO" 5
5239 for ac_func
in __secure_getenv secure_getenv
5241 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5242 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5243 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
5244 cat >>confdefs.h
<<_ACEOF
5245 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5252 # Get target configure.
5253 .
${srcdir}/configure.tgt
5254 if test -n "$UNSUPPORTED"; then
5255 as_fn_error $?
"Configuration ${target} is unsupported" "$LINENO" 5
5258 if test "${multilib}" = "yes"; then
5259 multilib_arg
="--enable-multilib"
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
5265 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
5266 # Check whether --enable-version-specific-runtime-libs was given.
5267 if test "${enable_version_specific_runtime_libs+set}" = set; then :
5268 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
5269 yes) enable_version_specific_runtime_libs
=yes ;;
5270 no
) enable_version_specific_runtime_libs
=no
;;
5271 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
5274 enable_version_specific_runtime_libs
=no
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_version_specific_runtime_libs" >&5
5278 $as_echo "$enable_version_specific_runtime_libs" >&6; }
5280 # Make sure liboffloadmic is enabled
5281 case "$enable_liboffloadmic" in
5285 as_fn_error $?
"Liboffloadmic is disabled" "$LINENO" 5 ;;
5287 if test x
"$enable_liboffloadmic" = xhost
; then
5288 LIBOFFLOADMIC_HOST_TRUE
=
5289 LIBOFFLOADMIC_HOST_FALSE
='#'
5291 LIBOFFLOADMIC_HOST_TRUE
='#'
5292 LIBOFFLOADMIC_HOST_FALSE
=
5296 # Calculate toolexeclibdir.
5297 # Also toolexecdir, though it's only used in toolexeclibdir.
5298 case ${enable_version_specific_runtime_libs} in
5300 # Need the gcc compiler version to know where to install libraries
5301 # and header files if --enable-version-specific-runtime-libs option
5303 toolexecdir
='$(libdir)/gcc/$(target_alias)'
5304 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
5307 if test -n "$with_cross_host" &&
5308 test x
"$with_cross_host" != x
"no"; then
5309 # Install a library built with a cross compiler in tooldir, not libdir.
5310 toolexecdir
='$(exec_prefix)/$(target_alias)'
5311 toolexeclibdir
='$(toolexecdir)/lib'
5313 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
5314 toolexeclibdir
='$(libdir)'
5316 multi_os_directory
=`$CC -print-multi-os-directory`
5317 case $multi_os_directory in
5318 .
) ;; # Avoid trailing /.
5319 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5331 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5336 macro_version
='2.2.7a'
5337 macro_revision
='1.3134'
5351 ltmain
="$ac_aux_dir/ltmain.sh"
5353 # Backslashify metacharacters that are still active within
5354 # double-quoted strings.
5355 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5357 # Same as above, but do not quote variable references.
5358 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5360 # Sed substitution to delay expansion of an escaped shell variable in a
5361 # double_quote_subst'ed string.
5362 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5364 # Sed substitution to delay expansion of an escaped single quote.
5365 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5367 # Sed substitution to avoid accidental globbing in evaled expressions
5368 no_glob_subst
='s/\*/\\\*/g'
5370 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5371 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5372 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5375 $as_echo_n "checking how to print strings... " >&6; }
5376 # Test print first, because it will be a builtin if present.
5377 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5378 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5380 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5383 # Use this function as a fallback that always works.
5384 func_fallback_echo ()
5386 eval 'cat <<_LTECHO_EOF
5390 ECHO='func_fallback_echo
'
5393 # func_echo_all arg...
5394 # Invoke $ECHO with all args, space-separated.
5401 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5402 $as_echo "printf" >&6; } ;;
5403 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5404 $as_echo "print -r" >&6; } ;;
5405 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5406 $as_echo "cat" >&6; } ;;
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5423 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5424 if ${ac_cv_path_SED+:} false; then :
5425 $as_echo_n "(cached) " >&6
5427 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5428 for ac_i in 1 2 3 4 5 6 7; do
5429 ac_script="$ac_script$as_nl$ac_script"
5431 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5432 { ac_script=; unset ac_script;}
5433 if test -z "$SED"; then
5434 ac_path_SED_found=false
5435 # Loop through the user's path and
test for each of PROGNAME-LIST
5436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5440 test -z "$as_dir" && as_dir
=.
5441 for ac_prog
in sed gsed
; do
5442 for ac_exec_ext
in '' $ac_executable_extensions; do
5443 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5444 as_fn_executable_p
"$ac_path_SED" ||
continue
5445 # Check for GNU ac_path_SED and select it if it is found.
5446 # Check for GNU $ac_path_SED
5447 case `"$ac_path_SED" --version 2>&1` in
5449 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5452 $as_echo_n 0123456789 >"conftest.in"
5455 cat "conftest.in" "conftest.in" >"conftest.tmp"
5456 mv "conftest.tmp" "conftest.in"
5457 cp "conftest.in" "conftest.nl"
5458 $as_echo '' >> "conftest.nl"
5459 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5460 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5461 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5462 if test $ac_count -gt ${ac_path_SED_max-0}; then
5463 # Best one so far, save it but keep looking for a better one
5464 ac_cv_path_SED
="$ac_path_SED"
5465 ac_path_SED_max
=$ac_count
5467 # 10*(2^10) chars as input seems more than enough
5468 test $ac_count -gt 10 && break
5470 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5473 $ac_path_SED_found && break 3
5478 if test -z "$ac_cv_path_SED"; then
5479 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5487 $as_echo "$ac_cv_path_SED" >&6; }
5488 SED
="$ac_cv_path_SED"
5491 test -z "$SED" && SED
=sed
5492 Xsed
="$SED -e 1s/^X//"
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5505 $as_echo_n "checking for fgrep... " >&6; }
5506 if ${ac_cv_path_FGREP+:} false
; then :
5507 $as_echo_n "(cached) " >&6
5509 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5510 then ac_cv_path_FGREP
="$GREP -F"
5512 if test -z "$FGREP"; then
5513 ac_path_FGREP_found
=false
5514 # Loop through the user's path and test for each of PROGNAME-LIST
5515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5516 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5519 test -z "$as_dir" && as_dir
=.
5520 for ac_prog
in fgrep
; do
5521 for ac_exec_ext
in '' $ac_executable_extensions; do
5522 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5523 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5524 # Check for GNU ac_path_FGREP and select it if it is found.
5525 # Check for GNU $ac_path_FGREP
5526 case `"$ac_path_FGREP" --version 2>&1` in
5528 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5531 $as_echo_n 0123456789 >"conftest.in"
5534 cat "conftest.in" "conftest.in" >"conftest.tmp"
5535 mv "conftest.tmp" "conftest.in"
5536 cp "conftest.in" "conftest.nl"
5537 $as_echo 'FGREP' >> "conftest.nl"
5538 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5539 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5540 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5541 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5542 # Best one so far, save it but keep looking for a better one
5543 ac_cv_path_FGREP
="$ac_path_FGREP"
5544 ac_path_FGREP_max
=$ac_count
5546 # 10*(2^10) chars as input seems more than enough
5547 test $ac_count -gt 10 && break
5549 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5552 $ac_path_FGREP_found && break 3
5557 if test -z "$ac_cv_path_FGREP"; then
5558 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5561 ac_cv_path_FGREP
=$FGREP
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5567 $as_echo "$ac_cv_path_FGREP" >&6; }
5568 FGREP
="$ac_cv_path_FGREP"
5571 test -z "$GREP" && GREP
=grep
5591 # Check whether --with-gnu-ld was given.
5592 if test "${with_gnu_ld+set}" = set; then :
5593 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5599 if test "$GCC" = yes; then
5600 # Check if gcc -print-prog-name=ld gives a path.
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5602 $as_echo_n "checking for ld used by $CC... " >&6; }
5605 # gcc leaves a trailing carriage return which upsets mingw
5606 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5608 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5611 # Accept absolute paths.
5613 re_direlt
='/[^/][^/]*/\.\./'
5614 # Canonicalize the pathname of ld
5615 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5616 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5617 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5619 test -z "$LD" && LD
="$ac_prog"
5622 # If it fails, then pretend we aren't using GCC.
5626 # If it is relative, then search for the first ld in PATH.
5630 elif test "$with_gnu_ld" = yes; then
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5632 $as_echo_n "checking for GNU ld... " >&6; }
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5635 $as_echo_n "checking for non-GNU ld... " >&6; }
5637 if ${lt_cv_path_LD+:} false
; then :
5638 $as_echo_n "(cached) " >&6
5640 if test -z "$LD"; then
5641 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5642 for ac_dir
in $PATH; do
5644 test -z "$ac_dir" && ac_dir
=.
5645 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5646 lt_cv_path_LD
="$ac_dir/$ac_prog"
5647 # Check to see if the program is GNU ld. I'd rather use --version,
5648 # but apparently some variants of GNU ld only accept -v.
5649 # Break only if it was the GNU/non-GNU ld that we prefer.
5650 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5651 *GNU
* |
*'with BFD'*)
5652 test "$with_gnu_ld" != no
&& break
5655 test "$with_gnu_ld" != yes && break
5662 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5667 if test -n "$LD"; then
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5669 $as_echo "$LD" >&6; }
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5672 $as_echo "no" >&6; }
5674 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5676 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5677 if ${lt_cv_prog_gnu_ld+:} false
; then :
5678 $as_echo_n "(cached) " >&6
5680 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5681 case `$LD -v 2>&1 </dev/null` in
5682 *GNU
* |
*'with BFD'*)
5683 lt_cv_prog_gnu_ld
=yes
5686 lt_cv_prog_gnu_ld
=no
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5691 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5692 with_gnu_ld
=$lt_cv_prog_gnu_ld
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5703 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5704 if ${lt_cv_path_NM+:} false
; then :
5705 $as_echo_n "(cached) " >&6
5707 if test -n "$NM"; then
5708 # Let the user override the test.
5711 lt_nm_to_check
="${ac_tool_prefix}nm"
5712 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5713 lt_nm_to_check
="$lt_nm_to_check nm"
5715 for lt_tmp_nm
in $lt_nm_to_check; do
5716 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5717 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5719 test -z "$ac_dir" && ac_dir
=.
5720 tmp_nm
="$ac_dir/$lt_tmp_nm"
5721 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5722 # Check to see if the nm accepts a BSD-compat flag.
5723 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5724 # nm: unknown option "B" ignored
5725 # Tru64's nm complains that /dev/null is an invalid object file
5726 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5727 */dev
/null
* |
*'Invalid file or object type'*)
5728 lt_cv_path_NM
="$tmp_nm -B"
5732 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5734 lt_cv_path_NM
="$tmp_nm -p"
5738 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5739 continue # so that we can try to find one that supports BSD flags
5748 : ${lt_cv_path_NM=no}
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5752 $as_echo "$lt_cv_path_NM" >&6; }
5753 if test "$lt_cv_path_NM" != "no"; then
5756 # Didn't find any BSD compatible name lister, look for dumpbin.
5757 if test -n "$DUMPBIN"; then :
5758 # Let the user override the test.
5760 if test -n "$ac_tool_prefix"; then
5761 for ac_prog
in dumpbin
"link -dump"
5763 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5764 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5766 $as_echo_n "checking for $ac_word... " >&6; }
5767 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5768 $as_echo_n "(cached) " >&6
5770 if test -n "$DUMPBIN"; then
5771 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5777 test -z "$as_dir" && as_dir
=.
5778 for ac_exec_ext
in '' $ac_executable_extensions; do
5779 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5780 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5790 DUMPBIN
=$ac_cv_prog_DUMPBIN
5791 if test -n "$DUMPBIN"; then
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5793 $as_echo "$DUMPBIN" >&6; }
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5796 $as_echo "no" >&6; }
5800 test -n "$DUMPBIN" && break
5803 if test -z "$DUMPBIN"; then
5804 ac_ct_DUMPBIN
=$DUMPBIN
5805 for ac_prog
in dumpbin
"link -dump"
5807 # Extract the first word of "$ac_prog", so it can be a program name with args.
5808 set dummy
$ac_prog; ac_word
=$2
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5810 $as_echo_n "checking for $ac_word... " >&6; }
5811 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5812 $as_echo_n "(cached) " >&6
5814 if test -n "$ac_ct_DUMPBIN"; then
5815 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5821 test -z "$as_dir" && as_dir
=.
5822 for ac_exec_ext
in '' $ac_executable_extensions; do
5823 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5824 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5834 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5835 if test -n "$ac_ct_DUMPBIN"; then
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5837 $as_echo "$ac_ct_DUMPBIN" >&6; }
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5840 $as_echo "no" >&6; }
5844 test -n "$ac_ct_DUMPBIN" && break
5847 if test "x$ac_ct_DUMPBIN" = x
; then
5850 case $cross_compiling:$ac_tool_warned in
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5853 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5854 ac_tool_warned
=yes ;;
5856 DUMPBIN
=$ac_ct_DUMPBIN
5860 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5862 DUMPBIN
="$DUMPBIN -symbols"
5870 if test "$DUMPBIN" != ":"; then
5874 test -z "$NM" && NM
=nm
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5882 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5883 if ${lt_cv_nm_interface+:} false
; then :
5884 $as_echo_n "(cached) " >&6
5886 lt_cv_nm_interface
="BSD nm"
5887 echo "int some_variable = 0;" > conftest.
$ac_ext
5888 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5889 (eval "$ac_compile" 2>conftest.err
)
5890 cat conftest.err
>&5
5891 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5892 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5893 cat conftest.err
>&5
5894 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5895 cat conftest.out
>&5
5896 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5897 lt_cv_nm_interface
="MS dumpbin"
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5902 $as_echo "$lt_cv_nm_interface" >&6; }
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5905 $as_echo_n "checking whether ln -s works... " >&6; }
5907 if test "$LN_S" = "ln -s"; then
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5909 $as_echo "yes" >&6; }
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5912 $as_echo "no, using $LN_S" >&6; }
5915 # find the maximum length of command line arguments
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5917 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5918 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5919 $as_echo_n "(cached) " >&6
5926 # On DJGPP, this test can blow up pretty badly due to problems in libc
5927 # (any single argument exceeding 2000 bytes causes a buffer overrun
5928 # during glob expansion). Even if it were fixed, the result of this
5929 # check would be larger than it should be.
5930 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5934 # Under GNU Hurd, this test is not required because there is
5935 # no limit to the length of command line arguments.
5936 # Libtool will interpret -1 as no limit whatsoever
5937 lt_cv_sys_max_cmd_len
=-1;
5940 cygwin
* | mingw
* | cegcc
*)
5941 # On Win9x/ME, this test blows up -- it succeeds, but takes
5942 # about 5 minutes as the teststring grows exponentially.
5943 # Worse, since 9x/ME are not pre-emptively multitasking,
5944 # you end up with a "frozen" computer, even though with patience
5945 # the test eventually succeeds (with a max line length of 256k).
5946 # Instead, let's just punt: use the minimum linelength reported by
5947 # all of the supported platforms: 8192 (on NT/2K/XP).
5948 lt_cv_sys_max_cmd_len
=8192;
5952 # On MiNT this can take a long time and run out of memory.
5953 lt_cv_sys_max_cmd_len
=8192;
5957 # On AmigaOS with pdksh, this test takes hours, literally.
5958 # So we just punt and use a minimum line length of 8192.
5959 lt_cv_sys_max_cmd_len
=8192;
5962 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5963 # This has been around since 386BSD, at least. Likely further.
5964 if test -x /sbin
/sysctl
; then
5965 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5966 elif test -x /usr
/sbin
/sysctl
; then
5967 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5969 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5971 # And add a safety zone
5972 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5973 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5977 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5978 lt_cv_sys_max_cmd_len
=196608
5982 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5983 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5984 # nice to cause kernel panics so lets avoid the loop below.
5985 # First set a reasonable default.
5986 lt_cv_sys_max_cmd_len
=16384
5988 if test -x /sbin
/sysconfig
; then
5989 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5990 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5995 lt_cv_sys_max_cmd_len
=102400
5997 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5998 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5999 if test -n "$kargmax"; then
6000 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6002 lt_cv_sys_max_cmd_len
=32768
6006 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6007 if test -n "$lt_cv_sys_max_cmd_len"; then
6008 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6009 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6011 # Make teststring a little bigger before we do anything with it.
6012 # a 1K string should be a reasonable start.
6013 for i
in 1 2 3 4 5 6 7 8 ; do
6014 teststring
=$teststring$teststring
6016 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6017 # If test is not a shell built-in, we'll probably end up computing a
6018 # maximum length that is only half of the actual maximum length, but
6020 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6021 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6022 test $i != 17 # 1/2 MB should be enough
6025 teststring
=$teststring$teststring
6027 # Only check the string length outside the loop.
6028 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6030 # Add a significant safety factor because C++ compilers can tack on
6031 # massive amounts of additional arguments before passing them to the
6032 # linker. It appears as though 1/2 is a usable value.
6033 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6040 if test -n $lt_cv_sys_max_cmd_len ; then
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6042 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6045 $as_echo "none" >&6; }
6047 max_cmd_len
=$lt_cv_sys_max_cmd_len
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6059 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6060 # Try some XSI features
6063 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6065 && eval 'test $(( 1 + 1 )) -eq 2 \
6066 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6069 $as_echo "$xsi_shell" >&6; }
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6073 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6075 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6077 && lt_shell_append=yes
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6079 $as_echo "$lt_shell_append" >&6; }
6082 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6092 # test EBCDIC or ASCII
6093 case `echo X|tr X '\101'` in
6094 A) # ASCII based system
6095 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6096 lt_SP2NL='tr \040 \012'
6097 lt_NL2SP='tr \015\012 \040\040'
6099 *) # EBCDIC based system
6100 lt_SP2NL='tr \100 \n'
6101 lt_NL2SP='tr \r\n \100\100'
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6114 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6115 if ${lt_cv_ld_reload_flag+:} false; then :
6116 $as_echo_n "(cached
) " >&6
6118 lt_cv_ld_reload_flag='-r'
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6121 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6122 reload_flag=$lt_cv_ld_reload_flag
6123 case $reload_flag in
6125 *) reload_flag=" $reload_flag" ;;
6127 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6130 if test "$GCC" = yes; then
6131 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6133 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6146 if test -n "$ac_tool_prefix"; then
6147 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6148 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6150 $as_echo_n "checking
for $ac_word...
" >&6; }
6151 if ${ac_cv_prog_OBJDUMP+:} false; then :
6152 $as_echo_n "(cached
) " >&6
6154 if test -n "$OBJDUMP"; then
6155 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6161 test -z "$as_dir" && as_dir=.
6162 for ac_exec_ext in '' $ac_executable_extensions; do
6163 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6164 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6165 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6174 OBJDUMP=$ac_cv_prog_OBJDUMP
6175 if test -n "$OBJDUMP"; then
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6177 $as_echo "$OBJDUMP" >&6; }
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6180 $as_echo "no
" >&6; }
6185 if test -z "$ac_cv_prog_OBJDUMP"; then
6186 ac_ct_OBJDUMP=$OBJDUMP
6187 # Extract the first word of "objdump
", so it can be a program name with args.
6188 set dummy objdump; ac_word=$2
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6190 $as_echo_n "checking
for $ac_word...
" >&6; }
6191 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6192 $as_echo_n "(cached
) " >&6
6194 if test -n "$ac_ct_OBJDUMP"; then
6195 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6201 test -z "$as_dir" && as_dir=.
6202 for ac_exec_ext in '' $ac_executable_extensions; do
6203 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6204 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6205 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6214 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6215 if test -n "$ac_ct_OBJDUMP"; then
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6217 $as_echo "$ac_ct_OBJDUMP" >&6; }
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6220 $as_echo "no
" >&6; }
6223 if test "x
$ac_ct_OBJDUMP" = x; then
6226 case $cross_compiling:$ac_tool_warned in
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6229 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6230 ac_tool_warned=yes ;;
6232 OBJDUMP=$ac_ct_OBJDUMP
6235 OBJDUMP="$ac_cv_prog_OBJDUMP"
6238 test -z "$OBJDUMP" && OBJDUMP=objdump
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6249 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6250 if ${lt_cv_deplibs_check_method+:} false; then :
6251 $as_echo_n "(cached
) " >&6
6253 lt_cv_file_magic_cmd='$MAGIC_CMD'
6254 lt_cv_file_magic_test_file=
6255 lt_cv_deplibs_check_method='unknown'
6256 # Need to set the preceding variable on all platforms that support
6257 # interlibrary dependencies.
6258 # 'none' -- dependencies not supported.
6259 # `unknown' -- same as none, but documents that we really don't know.
6260 # 'pass_all' -- all dependencies passed with no checks.
6261 # 'test_compile' -- check by making test program.
6262 # 'file_magic [[regex]]' -- check by looking for files in library path
6263 # which responds to the $file_magic_cmd with a given extended regex.
6264 # If you have `file' or equivalent on your system and you're not sure
6265 # whether `pass_all' will *always* work, you probably want this one.
6269 lt_cv_deplibs_check_method=pass_all
6273 lt_cv_deplibs_check_method=pass_all
6277 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6278 lt_cv_file_magic_cmd='/usr/bin/file -L'
6279 lt_cv_file_magic_test_file=/shlib/libc.so
6283 # func_win32_libid is a shell function defined in ltmain.sh
6284 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6285 lt_cv_file_magic_cmd='func_win32_libid'
6289 # Base MSYS/MinGW do not provide the 'file' command needed by
6290 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6291 # unless we find 'file', for example because we are cross-compiling.
6292 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6293 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6294 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6295 lt_cv_file_magic_cmd='func_win32_libid'
6297 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6298 lt_cv_file_magic_cmd='$OBJDUMP -f'
6303 # use the weaker test based on 'objdump'. See mingw*.
6304 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6305 lt_cv_file_magic_cmd='$OBJDUMP -f'
6308 darwin* | rhapsody*)
6309 lt_cv_deplibs_check_method=pass_all
6312 freebsd* | dragonfly*)
6313 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6316 # Not sure whether the presence of OpenBSD here was a mistake.
6317 # Let's accept both of them until this is cleared up.
6318 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6319 lt_cv_file_magic_cmd=/usr/bin/file
6320 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6324 lt_cv_deplibs_check_method=pass_all
6329 lt_cv_deplibs_check_method=pass_all
6333 lt_cv_deplibs_check_method=pass_all
6336 hpux10.20* | hpux11*)
6337 lt_cv_file_magic_cmd=/usr/bin/file
6340 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6341 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6344 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]'
6345 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6348 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6349 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6355 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6356 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6359 irix5* | irix6* | nonstopux*)
6361 *-32|*"-32 ") libmagic=32-bit;;
6362 *-n32|*"-n32 ") libmagic=N32;;
6363 *-64|*"-64 ") libmagic=64-bit;;
6364 *) libmagic=never-match;;
6366 lt_cv_deplibs_check_method=pass_all
6369 # This must be Linux ELF.
6370 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
6371 lt_cv_deplibs_check_method=pass_all
6375 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6376 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6378 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6383 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6384 lt_cv_file_magic_cmd=/usr/bin/file
6385 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6389 lt_cv_deplibs_check_method=pass_all
6393 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6394 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6396 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6400 osf3* | osf4* | osf5*)
6401 lt_cv_deplibs_check_method=pass_all
6405 lt_cv_deplibs_check_method=pass_all
6409 lt_cv_deplibs_check_method=pass_all
6412 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6413 lt_cv_deplibs_check_method=pass_all
6417 case $host_vendor in
6419 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]'
6420 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6423 lt_cv_deplibs_check_method=pass_all
6426 lt_cv_file_magic_cmd='/bin/file'
6427 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6430 lt_cv_file_magic_cmd='/bin/file'
6431 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6432 lt_cv_file_magic_test_file=/lib/libc.so
6435 lt_cv_deplibs_check_method=pass_all
6438 lt_cv_deplibs_check_method=pass_all
6444 lt_cv_deplibs_check_method=pass_all
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6450 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6451 file_magic_cmd=$lt_cv_file_magic_cmd
6452 deplibs_check_method=$lt_cv_deplibs_check_method
6453 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6466 if test -n "$ac_tool_prefix"; then
6467 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6468 set dummy ${ac_tool_prefix}ar; ac_word=$2
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6470 $as_echo_n "checking
for $ac_word...
" >&6; }
6471 if ${ac_cv_prog_AR+:} false; then :
6472 $as_echo_n "(cached
) " >&6
6474 if test -n "$AR"; then
6475 ac_cv_prog_AR="$AR" # Let the user override the test.
6477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6481 test -z "$as_dir" && as_dir=.
6482 for ac_exec_ext in '' $ac_executable_extensions; do
6483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6484 ac_cv_prog_AR="${ac_tool_prefix}ar"
6485 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6495 if test -n "$AR"; then
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6497 $as_echo "$AR" >&6; }
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6500 $as_echo "no
" >&6; }
6505 if test -z "$ac_cv_prog_AR"; then
6507 # Extract the first word of "ar", so it can be a program name with args.
6508 set dummy ar; ac_word=$2
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6510 $as_echo_n "checking
for $ac_word...
" >&6; }
6511 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6512 $as_echo_n "(cached
) " >&6
6514 if test -n "$ac_ct_AR"; then
6515 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6521 test -z "$as_dir" && as_dir=.
6522 for ac_exec_ext in '' $ac_executable_extensions; do
6523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6524 ac_cv_prog_ac_ct_AR="ar"
6525 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6534 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6535 if test -n "$ac_ct_AR"; then
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6537 $as_echo "$ac_ct_AR" >&6; }
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6540 $as_echo "no
" >&6; }
6543 if test "x
$ac_ct_AR" = x; then
6546 case $cross_compiling:$ac_tool_warned in
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6549 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6550 ac_tool_warned=yes ;;
6558 test -z "$AR" && AR=ar
6559 test -z "$AR_FLAGS" && AR_FLAGS=cru
6571 if test -n "$ac_tool_prefix"; then
6572 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6573 set dummy ${ac_tool_prefix}strip; ac_word=$2
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6575 $as_echo_n "checking
for $ac_word...
" >&6; }
6576 if ${ac_cv_prog_STRIP+:} false; then :
6577 $as_echo_n "(cached
) " >&6
6579 if test -n "$STRIP"; then
6580 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6586 test -z "$as_dir" && as_dir=.
6587 for ac_exec_ext in '' $ac_executable_extensions; do
6588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6589 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6590 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6599 STRIP=$ac_cv_prog_STRIP
6600 if test -n "$STRIP"; then
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6602 $as_echo "$STRIP" >&6; }
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6605 $as_echo "no
" >&6; }
6610 if test -z "$ac_cv_prog_STRIP"; then
6612 # Extract the first word of "strip
", so it can be a program name with args.
6613 set dummy strip; ac_word=$2
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6615 $as_echo_n "checking
for $ac_word...
" >&6; }
6616 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6617 $as_echo_n "(cached
) " >&6
6619 if test -n "$ac_ct_STRIP"; then
6620 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6626 test -z "$as_dir" && as_dir=.
6627 for ac_exec_ext in '' $ac_executable_extensions; do
6628 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6629 ac_cv_prog_ac_ct_STRIP="strip
"
6630 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6639 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6640 if test -n "$ac_ct_STRIP"; then
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6642 $as_echo "$ac_ct_STRIP" >&6; }
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6645 $as_echo "no
" >&6; }
6648 if test "x
$ac_ct_STRIP" = x; then
6651 case $cross_compiling:$ac_tool_warned in
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6654 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6655 ac_tool_warned=yes ;;
6660 STRIP="$ac_cv_prog_STRIP"
6663 test -z "$STRIP" && STRIP=:
6670 if test -n "$ac_tool_prefix"; then
6671 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6672 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6674 $as_echo_n "checking
for $ac_word...
" >&6; }
6675 if ${ac_cv_prog_RANLIB+:} false; then :
6676 $as_echo_n "(cached
) " >&6
6678 if test -n "$RANLIB"; then
6679 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6685 test -z "$as_dir" && as_dir=.
6686 for ac_exec_ext in '' $ac_executable_extensions; do
6687 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6688 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6689 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6698 RANLIB=$ac_cv_prog_RANLIB
6699 if test -n "$RANLIB"; then
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6701 $as_echo "$RANLIB" >&6; }
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6704 $as_echo "no
" >&6; }
6709 if test -z "$ac_cv_prog_RANLIB"; then
6710 ac_ct_RANLIB=$RANLIB
6711 # Extract the first word of "ranlib
", so it can be a program name with args.
6712 set dummy ranlib; ac_word=$2
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6714 $as_echo_n "checking
for $ac_word...
" >&6; }
6715 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6716 $as_echo_n "(cached
) " >&6
6718 if test -n "$ac_ct_RANLIB"; then
6719 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6725 test -z "$as_dir" && as_dir=.
6726 for ac_exec_ext in '' $ac_executable_extensions; do
6727 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6728 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6729 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6738 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6739 if test -n "$ac_ct_RANLIB"; then
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6741 $as_echo "$ac_ct_RANLIB" >&6; }
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6744 $as_echo "no
" >&6; }
6747 if test "x
$ac_ct_RANLIB" = x; then
6750 case $cross_compiling:$ac_tool_warned in
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6753 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6754 ac_tool_warned=yes ;;
6756 RANLIB=$ac_ct_RANLIB
6759 RANLIB="$ac_cv_prog_RANLIB"
6762 test -z "$RANLIB" && RANLIB=:
6769 # Determine commands to create old-style static archives.
6770 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6771 old_postinstall_cmds='chmod 644 $oldlib'
6772 old_postuninstall_cmds=
6774 if test -n "$RANLIB"; then
6777 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6780 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6783 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6788 lock_old_archive_extraction=yes ;;
6790 lock_old_archive_extraction=no ;;
6831 # If no C compiler was specified, use CC.
6834 # If no C compiler flags were specified, use CFLAGS.
6835 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6837 # Allow CC to be a program name with arguments.
6841 # Check for command to grab the raw symbol name followed by C symbol from nm.
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6843 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6844 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6845 $as_echo_n "(cached
) " >&6
6848 # These are sane defaults that work on at least a few old systems.
6849 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6851 # Character class describing NM global symbol codes.
6852 symcode='[BCDEGRST]'
6854 # Regexp to match symbols that can be accessed directly from C.
6855 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6857 # Define system-specific variables.
6862 cygwin* | mingw* | pw32* | cegcc*)
6863 symcode='[ABCDGISTW]'
6866 if test "$host_cpu" = ia64; then
6867 symcode='[ABCDEGRST]'
6871 symcode='[BCDEGRST]'
6874 symcode='[BCDEGQRST]'
6885 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6893 # If we're using GNU nm, then use its standard symbol codes.
6894 case `$NM -V 2>&1` in
6895 *GNU* | *'with BFD'*)
6896 symcode='[ABCDGIRSTW]' ;;
6899 # Transform an extracted symbol line into a proper C declaration.
6900 # Some systems (esp. on ia64) link data and code symbols differently,
6901 # so use this general approach.
6902 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6904 # Transform an extracted symbol line into symbol name and symbol address
6905 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6906 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'"
6908 # Handle CRLF in mingw tool chain
6912 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6916 # Try without a prefix underscore, then with it.
6917 for ac_symprfx in "" "_
"; do
6919 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6920 symxfrm="\\1 $ac_symprfx\\2 \\2"
6922 # Write the raw and C identifiers.
6923 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6924 # Fake it for dumpbin and say T for any non-static function
6925 # and D for any global variable.
6926 # Also find C++ and __fastcall symbols from MSVC++,
6927 # which start with @ or ?.
6928 lt_cv_sys_global_symbol_pipe="$AWK '"\
6929 " {last_section=section; section=\$ 3};"\
6930 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6931 " \$ 0!~/External *\|/{next};"\
6932 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6933 " {if(hide[section]) next};"\
6934 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6935 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6936 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6937 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6938 " ' prfx
=^
$ac_symprfx"
6940 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6943 # Check to see that the pipe works correctly.
6947 cat > conftest.$ac_ext <<_LT_EOF
6952 void nm_test_func(void);
6953 void nm_test_func(void){}
6957 int main(){nm_test_var='a';nm_test_func();return(0);}
6960 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6961 (eval $ac_compile) 2>&5
6963 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6964 test $ac_status = 0; }; then
6965 # Now try to grab the symbols.
6967 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6968 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6970 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6971 test $ac_status = 0; } && test -s "$nlist"; then
6972 # Try sorting and uniquifying the output.
6973 if sort "$nlist" | uniq > "$nlist"T; then
6974 mv -f "$nlist"T "$nlist"
6979 # Make sure that we snagged all the symbols we need.
6980 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6981 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6982 cat <<_LT_EOF > conftest.$ac_ext
6988 # Now generate the symbol file.
6989 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6991 cat <<_LT_EOF >> conftest.$ac_ext
6993 /* The mapping between symbol names and symbols. */
6998 lt__PROGRAM__LTX_preloaded_symbols[] =
7000 { "@PROGRAM@
", (void *) 0 },
7002 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7003 cat <<\_LT_EOF >> conftest.$ac_ext
7007 /* This works around a problem in FreeBSD linker */
7008 #ifdef FREEBSD_WORKAROUND
7009 static const void *lt_preloaded_setup() {
7010 return lt__PROGRAM__LTX_preloaded_symbols;
7018 # Now try linking the two files.
7019 mv conftest.$ac_objext conftstm.$ac_objext
7020 lt_save_LIBS="$LIBS"
7021 lt_save_CFLAGS="$CFLAGS"
7022 LIBS="conftstm.
$ac_objext"
7023 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7024 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7025 (eval $ac_link) 2>&5
7027 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7028 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7031 LIBS="$lt_save_LIBS"
7032 CFLAGS="$lt_save_CFLAGS"
7034 echo "cannot
find nm_test_func
in $nlist" >&5
7037 echo "cannot
find nm_test_var
in $nlist" >&5
7040 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7043 echo "$progname: failed program was
:" >&5
7044 cat conftest.$ac_ext >&5
7046 rm -rf conftest* conftst*
7048 # Do not use the global_symbol_pipe unless it works.
7049 if test "$pipe_works" = yes; then
7052 lt_cv_sys_global_symbol_pipe=
7058 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7059 lt_cv_sys_global_symbol_to_cdecl=
7061 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7063 $as_echo "failed
" >&6; }
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7066 $as_echo "ok
" >&6; }
7090 # Check whether --enable-libtool-lock was given.
7091 if test "${enable_libtool_lock+set}" = set; then :
7092 enableval=$enable_libtool_lock;
7095 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7097 # Some flags need to be propagated to the compiler or linker for good
7101 # Find out which ABI we are using.
7102 echo 'int i;' > conftest.$ac_ext
7103 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7104 (eval $ac_compile) 2>&5
7106 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7107 test $ac_status = 0; }; then
7108 case `/usr/bin/file conftest.$ac_objext` in
7120 # Find out which ABI we are using.
7121 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7122 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7123 (eval $ac_compile) 2>&5
7125 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7126 test $ac_status = 0; }; then
7127 if test "$lt_cv_prog_gnu_ld" = yes; then
7128 case `/usr/bin/file conftest.$ac_objext` in
7130 LD="${LD-ld} -melf32bsmip"
7133 LD="${LD-ld} -melf32bmipn32"
7136 LD="${LD-ld} -melf64bmip"
7140 case `/usr/bin/file conftest.$ac_objext` in
7156 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7157 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7158 # Find out which ABI we are using.
7159 echo 'int i;' > conftest.$ac_ext
7160 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7161 (eval $ac_compile) 2>&5
7163 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7164 test $ac_status = 0; }; then
7165 case `/usr/bin/file conftest.o` in
7168 x86_64-*kfreebsd*-gnu)
7169 LD="${LD-ld} -m elf_i386_fbsd
"
7172 case `/usr/bin/file conftest.o` in
7174 LD="${LD-ld} -m elf32_x86_64
"
7177 LD="${LD-ld} -m elf_i386
"
7181 powerpc64le-*linux*)
7182 LD="${LD-ld} -m elf32lppclinux
"
7185 LD="${LD-ld} -m elf32ppclinux
"
7188 LD="${LD-ld} -m elf_s390
"
7191 LD="${LD-ld} -m elf32_sparc
"
7197 x86_64-*kfreebsd*-gnu)
7198 LD="${LD-ld} -m elf_x86_64_fbsd
"
7201 LD="${LD-ld} -m elf_x86_64
"
7204 LD="${LD-ld} -m elf64lppc
"
7207 LD="${LD-ld} -m elf64ppc
"
7209 s390*-*linux*|s390*-*tpf*)
7210 LD="${LD-ld} -m elf64_s390
"
7213 LD="${LD-ld} -m elf64_sparc
"
7223 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7224 SAVE_CFLAGS="$CFLAGS"
7225 CFLAGS="$CFLAGS -belf"
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7227 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7228 if ${lt_cv_cc_needs_belf+:} false; then :
7229 $as_echo_n "(cached
) " >&6
7232 ac_cpp='$CPP $CPPFLAGS'
7233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7238 /* end confdefs.h. */
7248 if ac_fn_c_try_link "$LINENO"; then :
7249 lt_cv_cc_needs_belf=yes
7251 lt_cv_cc_needs_belf=no
7253 rm -f core conftest.err conftest.$ac_objext \
7254 conftest$ac_exeext conftest.$ac_ext
7256 ac_cpp='$CPP $CPPFLAGS'
7257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7263 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7264 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7265 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7266 CFLAGS="$SAVE_CFLAGS"
7270 # Find out which ABI we are using.
7271 echo 'int i;' > conftest.$ac_ext
7272 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7273 (eval $ac_compile) 2>&5
7275 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7276 test $ac_status = 0; }; then
7277 case `/usr/bin/file conftest.o` in
7279 case $lt_cv_prog_gnu_ld in
7280 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7282 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7294 need_locks="$enable_libtool_lock"
7298 rhapsody* | darwin*)
7299 if test -n "$ac_tool_prefix"; then
7300 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7301 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7303 $as_echo_n "checking
for $ac_word...
" >&6; }
7304 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7305 $as_echo_n "(cached
) " >&6
7307 if test -n "$DSYMUTIL"; then
7308 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7314 test -z "$as_dir" && as_dir=.
7315 for ac_exec_ext in '' $ac_executable_extensions; do
7316 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7317 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7318 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7327 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7328 if test -n "$DSYMUTIL"; then
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7330 $as_echo "$DSYMUTIL" >&6; }
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7333 $as_echo "no
" >&6; }
7338 if test -z "$ac_cv_prog_DSYMUTIL"; then
7339 ac_ct_DSYMUTIL=$DSYMUTIL
7340 # Extract the first word of "dsymutil
", so it can be a program name with args.
7341 set dummy dsymutil; ac_word=$2
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7343 $as_echo_n "checking
for $ac_word...
" >&6; }
7344 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7345 $as_echo_n "(cached
) " >&6
7347 if test -n "$ac_ct_DSYMUTIL"; then
7348 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7354 test -z "$as_dir" && as_dir=.
7355 for ac_exec_ext in '' $ac_executable_extensions; do
7356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7357 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7358 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7367 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7368 if test -n "$ac_ct_DSYMUTIL"; then
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7370 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7373 $as_echo "no
" >&6; }
7376 if test "x
$ac_ct_DSYMUTIL" = x; then
7379 case $cross_compiling:$ac_tool_warned in
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7382 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7383 ac_tool_warned=yes ;;
7385 DSYMUTIL=$ac_ct_DSYMUTIL
7388 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7391 if test -n "$ac_tool_prefix"; then
7392 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7393 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7395 $as_echo_n "checking
for $ac_word...
" >&6; }
7396 if ${ac_cv_prog_NMEDIT+:} false; then :
7397 $as_echo_n "(cached
) " >&6
7399 if test -n "$NMEDIT"; then
7400 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7406 test -z "$as_dir" && as_dir=.
7407 for ac_exec_ext in '' $ac_executable_extensions; do
7408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7409 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7410 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7419 NMEDIT=$ac_cv_prog_NMEDIT
7420 if test -n "$NMEDIT"; then
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7422 $as_echo "$NMEDIT" >&6; }
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7425 $as_echo "no
" >&6; }
7430 if test -z "$ac_cv_prog_NMEDIT"; then
7431 ac_ct_NMEDIT=$NMEDIT
7432 # Extract the first word of "nmedit
", so it can be a program name with args.
7433 set dummy nmedit; ac_word=$2
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7435 $as_echo_n "checking
for $ac_word...
" >&6; }
7436 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7437 $as_echo_n "(cached
) " >&6
7439 if test -n "$ac_ct_NMEDIT"; then
7440 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7446 test -z "$as_dir" && as_dir=.
7447 for ac_exec_ext in '' $ac_executable_extensions; do
7448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7449 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7450 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7459 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7460 if test -n "$ac_ct_NMEDIT"; then
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7462 $as_echo "$ac_ct_NMEDIT" >&6; }
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7465 $as_echo "no
" >&6; }
7468 if test "x
$ac_ct_NMEDIT" = x; then
7471 case $cross_compiling:$ac_tool_warned in
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7474 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7475 ac_tool_warned=yes ;;
7477 NMEDIT=$ac_ct_NMEDIT
7480 NMEDIT="$ac_cv_prog_NMEDIT"
7483 if test -n "$ac_tool_prefix"; then
7484 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7485 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7487 $as_echo_n "checking
for $ac_word...
" >&6; }
7488 if ${ac_cv_prog_LIPO+:} false; then :
7489 $as_echo_n "(cached
) " >&6
7491 if test -n "$LIPO"; then
7492 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7498 test -z "$as_dir" && as_dir=.
7499 for ac_exec_ext in '' $ac_executable_extensions; do
7500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7501 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7502 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7511 LIPO=$ac_cv_prog_LIPO
7512 if test -n "$LIPO"; then
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7514 $as_echo "$LIPO" >&6; }
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7517 $as_echo "no
" >&6; }
7522 if test -z "$ac_cv_prog_LIPO"; then
7524 # Extract the first word of "lipo
", so it can be a program name with args.
7525 set dummy lipo; ac_word=$2
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7527 $as_echo_n "checking
for $ac_word...
" >&6; }
7528 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7529 $as_echo_n "(cached
) " >&6
7531 if test -n "$ac_ct_LIPO"; then
7532 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7538 test -z "$as_dir" && as_dir=.
7539 for ac_exec_ext in '' $ac_executable_extensions; do
7540 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7541 ac_cv_prog_ac_ct_LIPO="lipo
"
7542 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7551 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7552 if test -n "$ac_ct_LIPO"; then
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7554 $as_echo "$ac_ct_LIPO" >&6; }
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7557 $as_echo "no
" >&6; }
7560 if test "x
$ac_ct_LIPO" = x; then
7563 case $cross_compiling:$ac_tool_warned in
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7566 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7567 ac_tool_warned=yes ;;
7572 LIPO="$ac_cv_prog_LIPO"
7575 if test -n "$ac_tool_prefix"; then
7576 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7577 set dummy ${ac_tool_prefix}otool; ac_word=$2
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7579 $as_echo_n "checking
for $ac_word...
" >&6; }
7580 if ${ac_cv_prog_OTOOL+:} false; then :
7581 $as_echo_n "(cached
) " >&6
7583 if test -n "$OTOOL"; then
7584 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7590 test -z "$as_dir" && as_dir=.
7591 for ac_exec_ext in '' $ac_executable_extensions; do
7592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7593 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7594 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7603 OTOOL=$ac_cv_prog_OTOOL
7604 if test -n "$OTOOL"; then
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7606 $as_echo "$OTOOL" >&6; }
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7609 $as_echo "no
" >&6; }
7614 if test -z "$ac_cv_prog_OTOOL"; then
7616 # Extract the first word of "otool
", so it can be a program name with args.
7617 set dummy otool; ac_word=$2
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7619 $as_echo_n "checking
for $ac_word...
" >&6; }
7620 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7621 $as_echo_n "(cached
) " >&6
7623 if test -n "$ac_ct_OTOOL"; then
7624 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7630 test -z "$as_dir" && as_dir=.
7631 for ac_exec_ext in '' $ac_executable_extensions; do
7632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7633 ac_cv_prog_ac_ct_OTOOL="otool
"
7634 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7643 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7644 if test -n "$ac_ct_OTOOL"; then
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7646 $as_echo "$ac_ct_OTOOL" >&6; }
7648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7649 $as_echo "no
" >&6; }
7652 if test "x
$ac_ct_OTOOL" = x; then
7655 case $cross_compiling:$ac_tool_warned in
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7658 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7659 ac_tool_warned=yes ;;
7664 OTOOL="$ac_cv_prog_OTOOL"
7667 if test -n "$ac_tool_prefix"; then
7668 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7669 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7671 $as_echo_n "checking
for $ac_word...
" >&6; }
7672 if ${ac_cv_prog_OTOOL64+:} false; then :
7673 $as_echo_n "(cached
) " >&6
7675 if test -n "$OTOOL64"; then
7676 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7682 test -z "$as_dir" && as_dir=.
7683 for ac_exec_ext in '' $ac_executable_extensions; do
7684 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7685 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7686 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7695 OTOOL64=$ac_cv_prog_OTOOL64
7696 if test -n "$OTOOL64"; then
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7698 $as_echo "$OTOOL64" >&6; }
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7701 $as_echo "no
" >&6; }
7706 if test -z "$ac_cv_prog_OTOOL64"; then
7707 ac_ct_OTOOL64=$OTOOL64
7708 # Extract the first word of "otool64
", so it can be a program name with args.
7709 set dummy otool64; ac_word=$2
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7711 $as_echo_n "checking
for $ac_word...
" >&6; }
7712 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7713 $as_echo_n "(cached
) " >&6
7715 if test -n "$ac_ct_OTOOL64"; then
7716 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7722 test -z "$as_dir" && as_dir=.
7723 for ac_exec_ext in '' $ac_executable_extensions; do
7724 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7725 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7726 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7735 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7736 if test -n "$ac_ct_OTOOL64"; then
7737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7738 $as_echo "$ac_ct_OTOOL64" >&6; }
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7741 $as_echo "no
" >&6; }
7744 if test "x
$ac_ct_OTOOL64" = x; then
7747 case $cross_compiling:$ac_tool_warned in
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7750 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7751 ac_tool_warned=yes ;;
7753 OTOOL64=$ac_ct_OTOOL64
7756 OTOOL64="$ac_cv_prog_OTOOL64"
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7786 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7787 if ${lt_cv_apple_cc_single_mod+:} false; then :
7788 $as_echo_n "(cached
) " >&6
7790 lt_cv_apple_cc_single_mod=no
7791 if test -z "${LT_MULTI_MODULE}"; then
7792 # By default we will add the -single_module flag. You can override
7793 # by either setting the environment variable LT_MULTI_MODULE
7794 # non-empty at configure time, or by adding -multi_module to the
7796 rm -rf libconftest.dylib*
7797 echo "int foo
(void
){return 1;}" > conftest.c
7798 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7799 -dynamiclib -Wl,-single_module conftest.c
" >&5
7800 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7801 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7803 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7804 lt_cv_apple_cc_single_mod=yes
7806 cat conftest.err >&5
7808 rm -rf libconftest.dylib*
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7813 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7815 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7816 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7817 $as_echo_n "(cached
) " >&6
7819 lt_cv_ld_exported_symbols_list=no
7820 save_LDFLAGS=$LDFLAGS
7821 echo "_main
" > conftest.sym
7822 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7824 /* end confdefs.h. */
7834 if ac_fn_c_try_link "$LINENO"; then :
7835 lt_cv_ld_exported_symbols_list=yes
7837 lt_cv_ld_exported_symbols_list=no
7839 rm -f core conftest.err conftest.$ac_objext \
7840 conftest$ac_exeext conftest.$ac_ext
7841 LDFLAGS="$save_LDFLAGS"
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7845 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7847 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7848 if ${lt_cv_ld_force_load+:} false; then :
7849 $as_echo_n "(cached
) " >&6
7851 lt_cv_ld_force_load=no
7852 cat > conftest.c << _LT_EOF
7853 int forced_loaded() { return 2;}
7855 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7856 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7857 echo "$AR cru libconftest.a conftest.o
" >&5
7858 $AR cru libconftest.a conftest.o 2>&5
7859 cat > conftest.c << _LT_EOF
7860 int main() { return 0;}
7862 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7863 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7865 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7866 lt_cv_ld_force_load=yes
7868 cat conftest.err >&5
7870 rm -f conftest.err libconftest.a conftest conftest.c
7871 rm -rf conftest.dSYM
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7875 $as_echo "$lt_cv_ld_force_load" >&6; }
7877 rhapsody* | darwin1.[012])
7878 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7880 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7881 darwin*) # darwin 5.x on
7882 # if running on 10.5 or later, the deployment target defaults
7883 # to the OS version, if on x86, and 10.4, the deployment
7884 # target defaults to 10.4. Don't you love it?
7885 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7886 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7887 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7889 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7891 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7895 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7896 _lt_dar_single_mod='$single_module'
7898 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7899 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7901 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7903 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7904 _lt_dsymutil='~$DSYMUTIL $lib || :'
7911 for ac_header in dlfcn.h
7913 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7915 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
7916 cat >>confdefs.h <<_ACEOF
7917 #define HAVE_DLFCN_H 1
7937 # Check whether --enable-shared was given.
7938 if test "${enable_shared+set}" = set; then :
7939 enableval=$enable_shared; p=${PACKAGE-default}
7941 yes) enable_shared=yes ;;
7942 no) enable_shared=no ;;
7945 # Look at the argument we got. We use all the common list separators.
7946 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7947 for pkg in $enableval; do
7949 if test "X
$pkg" = "X
$p"; then
7968 # Check whether --enable-static was given.
7969 if test "${enable_static+set}" = set; then :
7970 enableval=$enable_static; p=${PACKAGE-default}
7972 yes) enable_static=yes ;;
7973 no) enable_static=no ;;
7976 # Look at the argument we got. We use all the common list separators.
7977 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7978 for pkg in $enableval; do
7980 if test "X
$pkg" = "X
$p"; then
8000 # Check whether --with-pic was given.
8001 if test "${with_pic+set}" = set; then :
8002 withval=$with_pic; pic_mode="$withval"
8008 test -z "$pic_mode" && pic_mode=default
8016 # Check whether --enable-fast-install was given.
8017 if test "${enable_fast_install+set}" = set; then :
8018 enableval=$enable_fast_install; p=${PACKAGE-default}
8020 yes) enable_fast_install=yes ;;
8021 no) enable_fast_install=no ;;
8023 enable_fast_install=no
8024 # Look at the argument we got. We use all the common list separators.
8025 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8026 for pkg in $enableval; do
8028 if test "X
$pkg" = "X
$p"; then
8029 enable_fast_install=yes
8036 enable_fast_install=yes
8049 # This can be used to rebuild libtool when needed
8050 LIBTOOL_DEPS="$ltmain"
8052 # Always use our own libtool.
8053 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8080 test -z "$LN_S" && LN_S="ln -s"
8095 if test -n "${ZSH_VERSION+set}" ; then
8096 setopt NO_GLOB_SUBST
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8100 $as_echo_n "checking
for objdir...
" >&6; }
8101 if ${lt_cv_objdir+:} false; then :
8102 $as_echo_n "(cached
) " >&6
8104 rm -f .libs 2>/dev/null
8105 mkdir .libs 2>/dev/null
8106 if test -d .libs; then
8109 # MS-DOS does not allow filenames that begin with a dot.
8112 rmdir .libs 2>/dev/null
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8115 $as_echo "$lt_cv_objdir" >&6; }
8116 objdir=$lt_cv_objdir
8122 cat >>confdefs.h <<_ACEOF
8123 #define LT_OBJDIR "$lt_cv_objdir/"
8131 # AIX sometimes has problems with the GCC collect2 program. For some
8132 # reason, if we set the COLLECT_NAMES environment variable, the problems
8133 # vanish in a puff of smoke.
8134 if test "X
${COLLECT_NAMES+set}" != Xset; then
8136 export COLLECT_NAMES
8143 can_build_shared=yes
8145 # All known linkers require a `.a' archive for static linking (except MSVC,
8146 # which needs '.lib').
8149 with_gnu_ld="$lt_cv_prog_gnu_ld"
8152 old_CFLAGS="$CFLAGS"
8154 # Set sane defaults for various variables
8155 test -z "$CC" && CC=cc
8156 test -z "$LTCC" && LTCC=$CC
8157 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8158 test -z "$LD" && LD=ld
8159 test -z "$ac_objext" && ac_objext=o
8161 for cc_temp in $compiler""; do
8163 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8164 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8169 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
8172 # Only perform the check for file, if the check method requires it
8173 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8174 case $deplibs_check_method in
8176 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
8178 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
8179 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8180 $as_echo_n "(cached
) " >&6
8184 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8187 lt_save_MAGIC_CMD="$MAGIC_CMD"
8188 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8189 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8190 for ac_dir in $ac_dummy; do
8192 test -z "$ac_dir" && ac_dir=.
8193 if test -f $ac_dir/${ac_tool_prefix}file; then
8194 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8195 if test -n "$file_magic_test_file"; then
8196 case $deplibs_check_method in
8198 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8199 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8200 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8201 $EGREP "$file_magic_regex" > /dev/null; then
8206 *** Warning: the command libtool uses to detect shared libraries,
8207 *** $file_magic_cmd, produces output that libtool cannot recognize.
8208 *** The result is that libtool may fail to recognize shared libraries
8209 *** as such. This will affect the creation of libtool libraries that
8210 *** depend on shared libraries, but programs linked with such libtool
8211 *** libraries will work regardless of this problem. Nevertheless, you
8212 *** may want to report the problem to your system manager and/or to
8213 *** bug-libtool@gnu.org
8223 MAGIC_CMD="$lt_save_MAGIC_CMD"
8228 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8229 if test -n "$MAGIC_CMD"; then
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8231 $as_echo "$MAGIC_CMD" >&6; }
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8234 $as_echo "no
" >&6; }
8241 if test -z "$lt_cv_path_MAGIC_CMD"; then
8242 if test -n "$ac_tool_prefix"; then
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8244 $as_echo_n "checking
for file...
" >&6; }
8245 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8246 $as_echo_n "(cached
) " >&6
8250 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8253 lt_save_MAGIC_CMD="$MAGIC_CMD"
8254 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8255 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8256 for ac_dir in $ac_dummy; do
8258 test -z "$ac_dir" && ac_dir=.
8259 if test -f $ac_dir/file; then
8260 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8261 if test -n "$file_magic_test_file"; then
8262 case $deplibs_check_method in
8264 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8265 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8266 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8267 $EGREP "$file_magic_regex" > /dev/null; then
8272 *** Warning: the command libtool uses to detect shared libraries,
8273 *** $file_magic_cmd, produces output that libtool cannot recognize.
8274 *** The result is that libtool may fail to recognize shared libraries
8275 *** as such. This will affect the creation of libtool libraries that
8276 *** depend on shared libraries, but programs linked with such libtool
8277 *** libraries will work regardless of this problem. Nevertheless, you
8278 *** may want to report the problem to your system manager and/or to
8279 *** bug-libtool@gnu.org
8289 MAGIC_CMD="$lt_save_MAGIC_CMD"
8294 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8295 if test -n "$MAGIC_CMD"; then
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8297 $as_echo "$MAGIC_CMD" >&6; }
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8300 $as_echo "no
" >&6; }
8313 # Use C for the default configuration in the libtool script
8317 ac_cpp='$CPP $CPPFLAGS'
8318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8323 # Source file extension for C test sources.
8326 # Object file extension for compiled C test sources.
8330 # Code to be used in simple compile tests
8331 lt_simple_compile_test_code="int some_variable
= 0;"
8333 # Code to be used in simple link tests
8334 lt_simple_link_test_code='int main(){return(0);}'
8342 # If no C compiler was specified, use CC.
8345 # If no C compiler flags were specified, use CFLAGS.
8346 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8348 # Allow CC to be a program name with arguments.
8351 # Save the default compiler, since it gets overwritten when the other
8352 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8353 compiler_DEFAULT=$CC
8355 # save warnings/boilerplate of simple test code
8356 ac_outfile=conftest.$ac_objext
8357 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8358 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8359 _lt_compiler_boilerplate=`cat conftest.err`
8362 ac_outfile=conftest.$ac_objext
8363 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8364 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8365 _lt_linker_boilerplate=`cat conftest.err`
8370 ## There is no encapsulation within the following macros, do not change
8371 ## the running order or otherwise move them around unless you know exactly
8372 ## what you are doing...
8373 if test -n "$compiler"; then
8375 lt_prog_compiler_no_builtin_flag=
8377 if test "$GCC" = yes; then
8378 case $cc_basename in
8380 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8382 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8386 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
8387 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8388 $as_echo_n "(cached
) " >&6
8390 lt_cv_prog_compiler_rtti_exceptions=no
8391 ac_outfile=conftest.$ac_objext
8392 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8393 lt_compiler_flag="-fno-rtti -fno-exceptions"
8394 # Insert the option either (1) after the last *FLAGS variable, or
8395 # (2) before a word containing "conftest.
", or (3) at the end.
8396 # Note that $ac_compile itself does not contain backslashes and begins
8397 # with a dollar sign (not a hyphen), so the echo should work correctly.
8398 # The option is referenced via a variable to avoid confusing sed.
8399 lt_compile=`echo "$ac_compile" | $SED \
8400 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8401 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8402 -e 's:$: $lt_compiler_flag:'`
8403 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8404 (eval "$lt_compile" 2>conftest.err)
8406 cat conftest.err >&5
8407 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8408 if (exit $ac_status) && test -s "$ac_outfile"; then
8409 # The compiler can only warn and ignore the option if not recognized
8410 # So say no if there are warnings other than the usual output.
8411 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8412 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8413 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8414 lt_cv_prog_compiler_rtti_exceptions=yes
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8421 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8423 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8424 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8436 lt_prog_compiler_wl=
8437 lt_prog_compiler_pic=
8438 lt_prog_compiler_static=
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
8441 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
8443 if test "$GCC" = yes; then
8444 lt_prog_compiler_wl='-Wl,'
8445 lt_prog_compiler_static='-static'
8449 # All AIX code is PIC.
8450 if test "$host_cpu" = ia64; then
8451 # AIX 5 now supports IA64 processor
8452 lt_prog_compiler_static='-Bstatic'
8454 lt_prog_compiler_pic='-fPIC'
8460 # see comment about AmigaOS4 .so support
8461 lt_prog_compiler_pic='-fPIC'
8464 # FIXME: we need at least 68020 code to build shared libraries, but
8465 # adding the `-m68020' flag to GCC prevents building anything better,
8467 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8472 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8473 # PIC is the default for these OSes.
8476 mingw* | cygwin* | pw32* | os2* | cegcc*)
8477 # This hack is so that the source file can tell whether it is being
8478 # built for inclusion in a dll (and should export symbols for example).
8479 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8480 # (--disable-auto-import) libraries
8481 lt_prog_compiler_pic='-DDLL_EXPORT'
8484 darwin* | rhapsody*)
8485 # PIC is the default on this platform
8486 # Common symbols not allowed in MH_DYLIB files
8487 lt_prog_compiler_pic='-fno-common'
8491 # PIC is the default for Haiku.
8492 # The "-static" flag exists, but is broken.
8493 lt_prog_compiler_static=
8497 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8498 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8499 # sets the default TLS model and affects inlining.
8505 lt_prog_compiler_pic='-fPIC'
8511 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8512 # Instead, we relocate shared libraries at runtime.
8516 # Just because we use GCC doesn't mean we suddenly get shared libraries
8517 # on systems that don't support them.
8518 lt_prog_compiler_can_build_shared=no
8523 # QNX uses GNU C++, but need to define -shared option too, otherwise
8525 lt_prog_compiler_pic='-fPIC -shared'
8529 if test -d /usr/nec; then
8530 lt_prog_compiler_pic=-Kconform_pic
8535 lt_prog_compiler_pic='-fPIC'
8539 case $cc_basename in
8540 nvcc*) # Cuda Compiler Driver 2.2
8541 lt_prog_compiler_wl='-Xlinker '
8542 lt_prog_compiler_pic='-Xcompiler -fPIC'
8546 # PORTME Check for flag to pass linker flags through the system compiler.
8549 lt_prog_compiler_wl='-Wl,'
8550 if test "$host_cpu" = ia64; then
8551 # AIX 5 now supports IA64 processor
8552 lt_prog_compiler_static='-Bstatic'
8554 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8558 mingw* | cygwin* | pw32* | os2* | cegcc*)
8559 # This hack is so that the source file can tell whether it is being
8560 # built for inclusion in a dll (and should export symbols for example).
8561 lt_prog_compiler_pic='-DDLL_EXPORT'
8564 hpux9* | hpux10* | hpux11*)
8565 lt_prog_compiler_wl='-Wl,'
8566 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8573 lt_prog_compiler_pic='+Z'
8576 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8577 lt_prog_compiler_static='${wl}-a ${wl}archive'
8580 irix5* | irix6* | nonstopux*)
8581 lt_prog_compiler_wl='-Wl,'
8582 # PIC (with -KPIC) is the default.
8583 lt_prog_compiler_static='-non_shared'
8586 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8587 case $cc_basename in
8588 # old Intel for x86_64 which still supported -KPIC.
8590 lt_prog_compiler_wl='-Wl,'
8591 lt_prog_compiler_pic='-KPIC'
8592 lt_prog_compiler_static='-static'
8594 # icc used to be incompatible with GCC.
8595 # ICC 10 doesn't accept -KPIC any more.
8597 lt_prog_compiler_wl='-Wl,'
8598 lt_prog_compiler_pic='-fPIC'
8599 lt_prog_compiler_static='-static'
8601 # Lahey Fortran 8.1.
8603 lt_prog_compiler_wl='-Wl,'
8604 lt_prog_compiler_pic='--shared'
8605 lt_prog_compiler_static='--static'
8607 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8608 # Portland Group compilers (*not* the Pentium gcc compiler,
8609 # which looks to be a dead project)
8610 lt_prog_compiler_wl='-Wl,'
8611 lt_prog_compiler_pic='-fpic'
8612 lt_prog_compiler_static='-Bstatic'
8615 lt_prog_compiler_wl='-Wl,'
8616 # All Alpha code is PIC.
8617 lt_prog_compiler_static='-non_shared'
8619 xl* | bgxl* | bgf* | mpixl*)
8620 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8621 lt_prog_compiler_wl='-Wl,'
8622 lt_prog_compiler_pic='-qpic'
8623 lt_prog_compiler_static='-qstaticlink'
8626 case `$CC -V 2>&1 | sed 5q` in
8627 *Sun\ F* | *Sun*Fortran*)
8628 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8629 lt_prog_compiler_pic='-KPIC'
8630 lt_prog_compiler_static='-Bstatic'
8631 lt_prog_compiler_wl=''
8635 lt_prog_compiler_pic='-KPIC'
8636 lt_prog_compiler_static='-Bstatic'
8637 lt_prog_compiler_wl='-Wl,'
8645 lt_prog_compiler_pic='-KPIC'
8646 lt_prog_compiler_static='-Bstatic'
8650 # QNX uses GNU C++, but need to define -shared option too, otherwise
8652 lt_prog_compiler_pic='-fPIC -shared'
8655 osf3* | osf4* | osf5*)
8656 lt_prog_compiler_wl='-Wl,'
8657 # All OSF/1 code is PIC.
8658 lt_prog_compiler_static='-non_shared'
8662 lt_prog_compiler_static='-non_shared'
8666 lt_prog_compiler_pic='-KPIC'
8667 lt_prog_compiler_static='-Bstatic'
8668 case $cc_basename in
8670 lt_prog_compiler_wl='-Qoption ld ';;
8672 lt_prog_compiler_wl='-Wl,';;
8677 lt_prog_compiler_wl='-Qoption ld '
8678 lt_prog_compiler_pic='-PIC'
8679 lt_prog_compiler_static='-Bstatic'
8682 sysv4 | sysv4.2uw2* | sysv4.3*)
8683 lt_prog_compiler_wl='-Wl,'
8684 lt_prog_compiler_pic='-KPIC'
8685 lt_prog_compiler_static='-Bstatic'
8689 if test -d /usr/nec ;then
8690 lt_prog_compiler_pic='-Kconform_pic'
8691 lt_prog_compiler_static='-Bstatic'
8695 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8696 lt_prog_compiler_wl='-Wl,'
8697 lt_prog_compiler_pic='-KPIC'
8698 lt_prog_compiler_static='-Bstatic'
8702 lt_prog_compiler_wl='-Wl,'
8703 lt_prog_compiler_can_build_shared=no
8707 lt_prog_compiler_pic='-pic'
8708 lt_prog_compiler_static='-Bstatic'
8712 lt_prog_compiler_can_build_shared=no
8718 # For platforms which do not support PIC, -DPIC is meaningless:
8720 lt_prog_compiler_pic=
8723 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
8727 $as_echo "$lt_prog_compiler_pic" >&6; }
8735 # Check to make sure the PIC flag actually works.
8737 if test -n "$lt_prog_compiler_pic"; then
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8739 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
8740 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8741 $as_echo_n "(cached
) " >&6
8743 lt_cv_prog_compiler_pic_works=no
8744 ac_outfile=conftest.$ac_objext
8745 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8746 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8747 # Insert the option either (1) after the last *FLAGS variable, or
8748 # (2) before a word containing "conftest.
", or (3) at the end.
8749 # Note that $ac_compile itself does not contain backslashes and begins
8750 # with a dollar sign (not a hyphen), so the echo should work correctly.
8751 # The option is referenced via a variable to avoid confusing sed.
8752 lt_compile=`echo "$ac_compile" | $SED \
8753 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8754 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8755 -e 's:$: $lt_compiler_flag:'`
8756 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8757 (eval "$lt_compile" 2>conftest.err)
8759 cat conftest.err >&5
8760 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8761 if (exit $ac_status) && test -s "$ac_outfile"; then
8762 # The compiler can only warn and ignore the option if not recognized
8763 # So say no if there are warnings other than the usual output.
8764 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8765 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8766 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8767 lt_cv_prog_compiler_pic_works=yes
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
8774 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8776 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8777 case $lt_prog_compiler_pic in
8779 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8782 lt_prog_compiler_pic=
8783 lt_prog_compiler_can_build_shared=no
8794 # Check to make sure the static flag actually works.
8796 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
8798 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
8799 if ${lt_cv_prog_compiler_static_works+:} false; then :
8800 $as_echo_n "(cached
) " >&6
8802 lt_cv_prog_compiler_static_works=no
8803 save_LDFLAGS="$LDFLAGS"
8804 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8805 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8806 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8807 # The linker can only warn and ignore the option if not recognized
8808 # So say no if there are warnings
8809 if test -s conftest.err; then
8810 # Append any errors to the config.log.
8811 cat conftest.err 1>&5
8812 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8813 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8814 if diff conftest.exp conftest.er2 >/dev/null; then
8815 lt_cv_prog_compiler_static_works=yes
8818 lt_cv_prog_compiler_static_works=yes
8822 LDFLAGS="$save_LDFLAGS"
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
8826 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8828 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8831 lt_prog_compiler_static=
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8841 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8842 if ${lt_cv_prog_compiler_c_o+:} false; then :
8843 $as_echo_n "(cached
) " >&6
8845 lt_cv_prog_compiler_c_o=no
8846 $RM -r conftest 2>/dev/null
8850 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8852 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8853 # Insert the option either (1) after the last *FLAGS variable, or
8854 # (2) before a word containing "conftest.
", or (3) at the end.
8855 # Note that $ac_compile itself does not contain backslashes and begins
8856 # with a dollar sign (not a hyphen), so the echo should work correctly.
8857 lt_compile=`echo "$ac_compile" | $SED \
8858 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8859 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8860 -e 's:$: $lt_compiler_flag:'`
8861 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8862 (eval "$lt_compile" 2>out/conftest.err)
8864 cat out/conftest.err >&5
8865 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8866 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8868 # The compiler can only warn and ignore the option if not recognized
8869 # So say no if there are warnings
8870 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8871 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8872 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8873 lt_cv_prog_compiler_c_o=yes
8878 # SGI C++ compiler will create directory out/ii_files/ for
8879 # template instantiation
8880 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8881 $RM out/* && rmdir out
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8888 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8896 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8897 if ${lt_cv_prog_compiler_c_o+:} false; then :
8898 $as_echo_n "(cached
) " >&6
8900 lt_cv_prog_compiler_c_o=no
8901 $RM -r conftest 2>/dev/null
8905 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8907 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8908 # Insert the option either (1) after the last *FLAGS variable, or
8909 # (2) before a word containing "conftest.
", or (3) at the end.
8910 # Note that $ac_compile itself does not contain backslashes and begins
8911 # with a dollar sign (not a hyphen), so the echo should work correctly.
8912 lt_compile=`echo "$ac_compile" | $SED \
8913 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8914 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8915 -e 's:$: $lt_compiler_flag:'`
8916 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8917 (eval "$lt_compile" 2>out/conftest.err)
8919 cat out/conftest.err >&5
8920 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8921 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8923 # The compiler can only warn and ignore the option if not recognized
8924 # So say no if there are warnings
8925 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8926 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8927 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8928 lt_cv_prog_compiler_c_o=yes
8933 # SGI C++ compiler will create directory out/ii_files/ for
8934 # template instantiation
8935 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8936 $RM out/* && rmdir out
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8943 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8948 hard_links="nottested
"
8949 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8950 # do not overwrite the value of need_locks provided by the user
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
8952 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
8955 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8957 ln conftest.a conftest.b 2>&5 || hard_links=no
8958 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
8960 $as_echo "$hard_links" >&6; }
8961 if test "$hard_links" = no; then
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
8963 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
8976 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
8979 allow_undefined_flag=
8980 always_export_symbols=no
8982 archive_expsym_cmds=
8983 compiler_needs_object=no
8984 enable_shared_with_static_runtimes=no
8985 export_dynamic_flag_spec=
8986 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8987 hardcode_automatic=no
8989 hardcode_direct_absolute=no
8990 hardcode_libdir_flag_spec=
8991 hardcode_libdir_flag_spec_ld=
8992 hardcode_libdir_separator=
8994 hardcode_shlibpath_var=unsupported
8996 link_all_deplibs=unknown
8999 old_archive_from_new_cmds=
9000 old_archive_from_expsyms_cmds=
9001 thread_safe_flag_spec=
9002 whole_archive_flag_spec=
9003 # include_expsyms should be a list of space-separated symbols to be *always*
9004 # included in the symbol list
9006 # exclude_expsyms can be an extended regexp of symbols to exclude
9007 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9008 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9009 # as well as any symbol that contains `d'.
9010 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9011 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9012 # platforms (ab)use it in PIC code, but their linkers get confused if
9013 # the symbol is explicitly referenced. Since portable code cannot
9014 # rely on this symbol name, it's probably fine to never include it in
9015 # preloaded symbol tables.
9016 # Exclude shared library initialization/finalization symbols.
9017 extract_expsyms_cmds=
9020 cygwin* | mingw* | pw32* | cegcc*)
9021 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9022 # When not using gcc, we currently assume that we are using
9023 # Microsoft Visual C++.
9024 if test "$GCC" != yes; then
9029 # we just hope/assume this is gcc and not c89 (= MSVC++)
9039 # On some targets, GNU ld is compatible enough with the native linker
9040 # that we're better off using the native interface for both.
9041 lt_use_gnu_ld_interface=no
9042 if test "$with_gnu_ld" = yes; then
9045 # The AIX port of GNU ld has always aspired to compatibility
9046 # with the native linker. However, as the warning in the GNU ld
9047 # block says, versions before 2.19.5* couldn't really create working
9048 # shared libraries, regardless of the interface used.
9049 case `$LD -v 2>&1` in
9050 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9051 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9052 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9054 lt_use_gnu_ld_interface=yes
9059 lt_use_gnu_ld_interface=yes
9064 if test "$lt_use_gnu_ld_interface" = yes; then
9065 # If archive_cmds runs LD, not CC, wlarc should be empty
9068 # Set some defaults for GNU ld with shared library support. These
9069 # are reset later if shared libraries are not supported. Putting them
9070 # here allows them to be overridden if necessary.
9071 runpath_var=LD_RUN_PATH
9072 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9073 export_dynamic_flag_spec='${wl}--export-dynamic'
9074 # ancient GNU ld didn't support --whole-archive et. al.
9075 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9076 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9078 whole_archive_flag_spec=
9080 supports_anon_versioning=no
9081 case `$LD -v 2>&1` in
9082 *GNU\ gold*) supports_anon_versioning=yes ;;
9083 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9084 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9085 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9086 *\ 2.11.*) ;; # other 2.11 versions
9087 *) supports_anon_versioning=yes ;;
9090 # See if GNU ld supports shared libraries.
9093 # On AIX/PPC, the GNU linker is very broken
9094 if test "$host_cpu" != ia64; then
9098 *** Warning: the GNU linker, at least up to release 2.19, is reported
9099 *** to be unable to reliably create shared libraries on AIX.
9100 *** Therefore, libtool is disabling shared libraries support. If you
9101 *** really care for shared libraries, you may want to install binutils
9102 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9103 *** You will then need to restart the configuration process.
9112 # see comment about AmigaOS4 .so support
9113 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9114 archive_expsym_cmds=''
9117 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)'
9118 hardcode_libdir_flag_spec
='-L$libdir'
9119 hardcode_minus_L
=yes
9125 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9126 allow_undefined_flag
=unsupported
9127 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9128 # support --undefined. This deserves some investigation. FIXME
9129 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9135 cygwin
* | mingw
* | pw32
* | cegcc
*)
9136 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9137 # as there is no search path for DLLs.
9138 hardcode_libdir_flag_spec
='-L$libdir'
9139 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9140 allow_undefined_flag
=unsupported
9141 always_export_symbols
=no
9142 enable_shared_with_static_runtimes
=yes
9143 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9145 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9146 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9147 # If the export-symbols file already is a .def file (1st line
9148 # is EXPORTS), use it as is; otherwise, prepend...
9149 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9150 cp $export_symbols $output_objdir/$soname.def;
9152 echo EXPORTS > $output_objdir/$soname.def;
9153 cat $export_symbols >> $output_objdir/$soname.def;
9155 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9162 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9163 link_all_deplibs
=yes
9168 hardcode_shlibpath_var
=no
9169 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9170 export_dynamic_flag_spec
='${wl}-E'
9171 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9172 # Instead, shared libraries are loaded at an image base (0x10000000 by
9173 # default) and relocated if they conflict, which is a slow very memory
9174 # consuming and fragmenting process. To avoid this, we pick a random,
9175 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9176 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9177 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9178 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'
9181 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
9183 if test "$host_os" = linux-dietlibc
; then
9184 case $cc_basename in
9185 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9188 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9189 && test "$tmp_diet" = no
9191 tmp_addflag
=' $pic_flag'
9192 tmp_sharedflag
='-shared'
9193 case $cc_basename,$host_cpu in
9194 pgcc
*) # Portland Group C compiler
9195 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'
9196 tmp_addflag
=' $pic_flag'
9198 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9199 # Portland Group f77 and f90 compilers
9200 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'
9201 tmp_addflag
=' $pic_flag -Mnomain' ;;
9202 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9203 tmp_addflag
=' -i_dynamic' ;;
9204 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9205 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9206 ifc
* | ifort
*) # Intel Fortran compiler
9207 tmp_addflag
=' -nofor_main' ;;
9208 lf95
*) # Lahey Fortran 8.1
9209 whole_archive_flag_spec
=
9210 tmp_sharedflag
='--shared' ;;
9211 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9212 tmp_sharedflag
='-qmkshrobj'
9214 nvcc
*) # Cuda Compiler Driver 2.2
9215 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'
9216 compiler_needs_object
=yes
9219 case `$CC -V 2>&1 | sed 5q` in
9220 *Sun\ C
*) # Sun C 5.9
9221 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'
9222 compiler_needs_object
=yes
9223 tmp_sharedflag
='-G' ;;
9224 *Sun\ F
*) # Sun Fortran 8.3
9225 tmp_sharedflag
='-G' ;;
9227 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9229 if test "x$supports_anon_versioning" = xyes
; then
9230 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9231 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9232 echo "local: *; };" >> $output_objdir/$libname.ver~
9233 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9236 case $cc_basename in
9237 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9238 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9239 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9240 hardcode_libdir_flag_spec
=
9241 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9242 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9243 if test "x$supports_anon_versioning" = xyes
; then
9244 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9245 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9246 echo "local: *; };" >> $output_objdir/$libname.ver~
9247 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9257 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9258 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9261 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9262 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9267 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9271 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9272 *** create shared libraries on Solaris systems. Therefore, libtool
9273 *** is disabling shared libraries support. We urge you to upgrade GNU
9274 *** binutils to release 2.9.1 or newer. Another option is to modify
9275 *** your PATH or compiler configuration so that the native linker is
9276 *** used, and then restart.
9279 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9280 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9281 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9287 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9288 case `$LD -v 2>&1` in
9289 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9293 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9294 *** reliably create shared libraries on SCO systems. Therefore, libtool
9295 *** is disabling shared libraries support. We urge you to upgrade GNU
9296 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9297 *** your PATH or compiler configuration so that the native linker is
9298 *** used, and then restart.
9303 # For security reasons, it is highly recommended that you always
9304 # use absolute paths for naming shared libraries, and exclude the
9305 # DT_RUNPATH tag from executables and libraries. But doing so
9306 # requires that you compile everything twice, which is a pain.
9307 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9308 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9309 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9310 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9319 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9322 hardcode_shlibpath_var
=no
9326 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9327 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9328 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9335 if test "$ld_shlibs" = no
; then
9337 hardcode_libdir_flag_spec
=
9338 export_dynamic_flag_spec
=
9339 whole_archive_flag_spec
=
9342 # PORTME fill in a description of your system's linker (not GNU ld)
9345 allow_undefined_flag
=unsupported
9346 always_export_symbols
=yes
9347 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'
9348 # Note: this linker hardcodes the directories in LIBPATH if there
9349 # are no directories specified by -L.
9350 hardcode_minus_L
=yes
9351 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9352 # Neither direct hardcoding nor static linking is supported with a
9354 hardcode_direct
=unsupported
9359 if test "$host_cpu" = ia64
; then
9360 # On IA64, the linker does run time linking by default, so we don't
9361 # have to do anything special.
9362 aix_use_runtimelinking
=no
9363 exp_sym_flag
='-Bexport'
9366 # If we're using GNU nm, then we don't want the "-C" option.
9367 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9368 # Also, AIX nm treats weak defined symbols like other global
9369 # defined symbols, whereas GNU nm marks them as "W".
9370 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9371 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'
9373 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'
9375 aix_use_runtimelinking
=no
9377 # Test if we are trying to use run time linking or normal
9378 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9379 # need to do runtime linking.
9380 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9381 for ld_flag
in $LDFLAGS; do
9382 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9383 aix_use_runtimelinking
=yes
9390 exp_sym_flag
='-bexport'
9391 no_entry_flag
='-bnoentry'
9394 # When large executables or shared objects are built, AIX ld can
9395 # have problems creating the table of contents. If linking a library
9396 # or program results in "error TOC overflow" add -mminimal-toc to
9397 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9398 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9402 hardcode_direct_absolute
=yes
9403 hardcode_libdir_separator
=':'
9404 link_all_deplibs
=yes
9405 file_list_spec
='${wl}-f,'
9407 if test "$GCC" = yes; then
9408 case $host_os in aix4.
[012]|aix4.
[012].
*)
9409 # We only want to do this on AIX 4.2 and lower, the check
9410 # below for broken collect2 doesn't work under 4.3+
9411 collect2name
=`${CC} -print-prog-name=collect2`
9412 if test -f "$collect2name" &&
9413 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9415 # We have reworked collect2
9418 # We have old collect2
9419 hardcode_direct
=unsupported
9420 # It fails to find uninstalled libraries when the uninstalled
9421 # path is not listed in the libpath. Setting hardcode_minus_L
9422 # to unsupported forces relinking
9423 hardcode_minus_L
=yes
9424 hardcode_libdir_flag_spec
='-L$libdir'
9425 hardcode_libdir_separator
=
9429 shared_flag
='-shared'
9430 if test "$aix_use_runtimelinking" = yes; then
9431 shared_flag
="$shared_flag "'${wl}-G'
9435 if test "$host_cpu" = ia64
; then
9436 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9437 # chokes on -Wl,-G. The following line is correct:
9440 if test "$aix_use_runtimelinking" = yes; then
9441 shared_flag
='${wl}-G'
9443 shared_flag
='${wl}-bM:SRE'
9448 export_dynamic_flag_spec
='${wl}-bexpall'
9449 # It seems that -bexpall does not export symbols beginning with
9450 # underscore (_), so it is better to generate a list of symbols to export.
9451 always_export_symbols
=yes
9452 if test "$aix_use_runtimelinking" = yes; then
9453 # Warning - without using the other runtime loading flags (-brtl),
9454 # -berok will link without error, but may produce a broken library.
9455 allow_undefined_flag
='-berok'
9456 # Determine the default libpath from the value encoded in an
9458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9459 /* end confdefs.h. */
9469 if ac_fn_c_try_link
"$LINENO"; then :
9471 lt_aix_libpath_sed
='
9472 /Import File Strings/,/^$/ {
9478 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9479 # Check for a 64-bit object if we didn't find anything.
9480 if test -z "$aix_libpath"; then
9481 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9484 rm -f core conftest.err conftest.
$ac_objext \
9485 conftest
$ac_exeext conftest.
$ac_ext
9486 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9488 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9489 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"
9491 if test "$host_cpu" = ia64
; then
9492 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9493 allow_undefined_flag
="-z nodefs"
9494 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"
9496 # Determine the default libpath from the value encoded in an
9498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9499 /* end confdefs.h. */
9509 if ac_fn_c_try_link
"$LINENO"; then :
9511 lt_aix_libpath_sed
='
9512 /Import File Strings/,/^$/ {
9518 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9519 # Check for a 64-bit object if we didn't find anything.
9520 if test -z "$aix_libpath"; then
9521 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9524 rm -f core conftest.err conftest.
$ac_objext \
9525 conftest
$ac_exeext conftest.
$ac_ext
9526 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9528 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9529 # Warning - without using the other run time loading flags,
9530 # -berok will link without error, but may produce a broken library.
9531 no_undefined_flag
=' ${wl}-bernotok'
9532 allow_undefined_flag
=' ${wl}-berok'
9533 if test "$with_gnu_ld" = yes; then
9534 # We only use this code for GNU lds that support --whole-archive.
9535 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9537 # Exported symbols can be pulled into shared objects from archives
9538 whole_archive_flag_spec
='$convenience'
9540 archive_cmds_need_lc
=yes
9541 # This is similar to how AIX traditionally builds its shared libraries.
9542 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'
9550 # see comment about AmigaOS4 .so support
9551 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9552 archive_expsym_cmds
=''
9555 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)'
9556 hardcode_libdir_flag_spec
='-L$libdir'
9557 hardcode_minus_L
=yes
9563 export_dynamic_flag_spec
=-rdynamic
9566 cygwin
* | mingw
* | pw32
* | cegcc
*)
9567 # When not using gcc, we currently assume that we are using
9568 # Microsoft Visual C++.
9569 # hardcode_libdir_flag_spec is actually meaningless, as there is
9570 # no search path for DLLs.
9571 hardcode_libdir_flag_spec
=' '
9572 allow_undefined_flag
=unsupported
9573 # Tell ltmain to make .lib files, not .a files.
9575 # Tell ltmain to make .dll files, not .so files.
9577 # FIXME: Setting linknames here is a bad hack.
9578 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9579 # The linker will automatically build a .lib file if we build a DLL.
9580 old_archive_from_new_cmds
='true'
9581 # FIXME: Should let the user specify the lib program.
9582 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9583 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9584 enable_shared_with_static_runtimes
=yes
9587 darwin
* | rhapsody
*)
9590 archive_cmds_need_lc
=no
9592 hardcode_automatic
=yes
9593 hardcode_shlibpath_var
=unsupported
9594 if test "$lt_cv_ld_force_load" = "yes"; then
9595 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\"`'
9597 whole_archive_flag_spec
=''
9599 link_all_deplibs
=yes
9600 allow_undefined_flag
="$_lt_dar_allow_undefined"
9601 case $cc_basename in
9602 ifort
*) _lt_dar_can_shared
=yes ;;
9603 *) _lt_dar_can_shared
=$GCC ;;
9605 if test "$_lt_dar_can_shared" = "yes"; then
9606 output_verbose_link_cmd
=func_echo_all
9607 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9608 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9609 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}"
9610 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}"
9619 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9620 hardcode_libdir_flag_spec
='-L$libdir'
9621 hardcode_shlibpath_var
=no
9624 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9625 # support. Future versions do this automatically, but an explicit c++rt0.o
9626 # does not break anything, and helps significantly (at the cost of a little
9629 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9630 hardcode_libdir_flag_spec
='-R$libdir'
9632 hardcode_shlibpath_var
=no
9635 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9637 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9639 hardcode_minus_L
=yes
9640 hardcode_shlibpath_var
=no
9643 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9644 freebsd
* | dragonfly
*)
9645 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9646 hardcode_libdir_flag_spec
='-R$libdir'
9648 hardcode_shlibpath_var
=no
9652 if test "$GCC" = yes; then
9653 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'
9655 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'
9657 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9658 hardcode_libdir_separator
=:
9661 # hardcode_minus_L: Not really in the search PATH,
9662 # but as the default location of the library.
9663 hardcode_minus_L
=yes
9664 export_dynamic_flag_spec
='${wl}-E'
9668 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9669 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9671 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9673 if test "$with_gnu_ld" = no
; then
9674 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9675 hardcode_libdir_flag_spec_ld
='+b $libdir'
9676 hardcode_libdir_separator
=:
9678 hardcode_direct_absolute
=yes
9679 export_dynamic_flag_spec
='${wl}-E'
9680 # hardcode_minus_L: Not really in the search PATH,
9681 # but as the default location of the library.
9682 hardcode_minus_L
=yes
9687 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9690 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9693 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9696 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9702 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9705 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9709 # Older versions of the 11.00 compiler do not understand -b yet
9710 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9712 $as_echo_n "checking if $CC understands -b... " >&6; }
9713 if ${lt_cv_prog_compiler__b+:} false
; then :
9714 $as_echo_n "(cached) " >&6
9716 lt_cv_prog_compiler__b
=no
9717 save_LDFLAGS
="$LDFLAGS"
9718 LDFLAGS
="$LDFLAGS -b"
9719 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9720 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9721 # The linker can only warn and ignore the option if not recognized
9722 # So say no if there are warnings
9723 if test -s conftest.err
; then
9724 # Append any errors to the config.log.
9725 cat conftest.err
1>&5
9726 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9727 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9728 if diff conftest.exp conftest.er2
>/dev
/null
; then
9729 lt_cv_prog_compiler__b
=yes
9732 lt_cv_prog_compiler__b
=yes
9736 LDFLAGS
="$save_LDFLAGS"
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9740 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9742 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9743 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9745 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9751 if test "$with_gnu_ld" = no
; then
9752 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9753 hardcode_libdir_separator
=:
9758 hardcode_shlibpath_var
=no
9762 hardcode_direct_absolute
=yes
9763 export_dynamic_flag_spec
='${wl}-E'
9765 # hardcode_minus_L: Not really in the search PATH,
9766 # but as the default location of the library.
9767 hardcode_minus_L
=yes
9773 irix5
* | irix6
* | nonstopux
*)
9774 if test "$GCC" = yes; then
9775 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'
9776 # Try to use the -exported_symbol ld option, if it does not
9777 # work, assume that -exports_file does not work either and
9778 # implicitly export all symbols.
9779 save_LDFLAGS
="$LDFLAGS"
9780 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9782 /* end confdefs.h. */
9785 if ac_fn_c_try_link
"$LINENO"; then :
9786 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'
9789 rm -f core conftest.err conftest.
$ac_objext \
9790 conftest
$ac_exeext conftest.
$ac_ext
9791 LDFLAGS
="$save_LDFLAGS"
9793 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'
9794 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'
9796 archive_cmds_need_lc
='no'
9797 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9798 hardcode_libdir_separator
=:
9800 link_all_deplibs
=yes
9804 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9805 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9807 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9809 hardcode_libdir_flag_spec
='-R$libdir'
9811 hardcode_shlibpath_var
=no
9815 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9817 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9818 hardcode_libdir_separator
=:
9819 hardcode_shlibpath_var
=no
9826 if test -f /usr
/libexec
/ld.so
; then
9828 hardcode_shlibpath_var
=no
9829 hardcode_direct_absolute
=yes
9830 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9831 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9832 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9833 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9834 export_dynamic_flag_spec
='${wl}-E'
9837 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9838 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9839 hardcode_libdir_flag_spec
='-R$libdir'
9842 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9843 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9853 hardcode_libdir_flag_spec
='-L$libdir'
9854 hardcode_minus_L
=yes
9855 allow_undefined_flag
=unsupported
9856 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'
9857 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9861 if test "$GCC" = yes; then
9862 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9863 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'
9865 allow_undefined_flag
=' -expect_unresolved \*'
9866 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'
9868 archive_cmds_need_lc
='no'
9869 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9870 hardcode_libdir_separator
=:
9873 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9874 if test "$GCC" = yes; then
9875 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9876 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'
9877 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9879 allow_undefined_flag
=' -expect_unresolved \*'
9880 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'
9881 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~
9882 $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'
9884 # Both c and cxx compiler support -rpath directly
9885 hardcode_libdir_flag_spec
='-rpath $libdir'
9887 archive_cmds_need_lc
='no'
9888 hardcode_libdir_separator
=:
9892 no_undefined_flag
=' -z defs'
9893 if test "$GCC" = yes; then
9895 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9896 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9897 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9899 case `$CC -V 2>&1` in
9902 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9903 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9904 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9908 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9909 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9910 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9914 hardcode_libdir_flag_spec
='-R$libdir'
9915 hardcode_shlibpath_var
=no
9917 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9919 # The compiler driver will combine and reorder linker options,
9920 # but understands `-z linker_flag'. GCC discards it without `$wl',
9921 # but is careful enough not to reorder.
9922 # Supported since Solaris 2.6 (maybe 2.5.1?)
9923 if test "$GCC" = yes; then
9924 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9926 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9930 link_all_deplibs
=yes
9934 if test "x$host_vendor" = xsequent
; then
9935 # Use $CC to link under sequent, because it throws in some extra .o
9936 # files that make .init and .fini sections work.
9937 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9939 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9941 hardcode_libdir_flag_spec
='-L$libdir'
9943 hardcode_minus_L
=yes
9944 hardcode_shlibpath_var
=no
9948 case $host_vendor in
9950 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9951 hardcode_direct
=yes # is this really true???
9954 ## LD is ld it makes a PLAMLIB
9955 ## CC just makes a GrossModule.
9956 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9957 reload_cmds
='$CC -r -o $output$reload_objs'
9961 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9962 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9965 runpath_var
='LD_RUN_PATH'
9966 hardcode_shlibpath_var
=no
9970 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9971 hardcode_shlibpath_var
=no
9972 export_dynamic_flag_spec
='-Bexport'
9976 if test -d /usr
/nec
; then
9977 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9978 hardcode_shlibpath_var
=no
9979 runpath_var
=LD_RUN_PATH
9980 hardcode_runpath_var
=yes
9985 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9986 no_undefined_flag
='${wl}-z,text'
9987 archive_cmds_need_lc
=no
9988 hardcode_shlibpath_var
=no
9989 runpath_var
='LD_RUN_PATH'
9991 if test "$GCC" = yes; then
9992 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9993 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9995 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9996 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10000 sysv5
* | sco3.2v5
* | sco5v6
*)
10001 # Note: We can NOT use -z defs as we might desire, because we do not
10002 # link with -lc, and that would cause any symbols used from libc to
10003 # always be unresolved, which means just about no library would
10004 # ever link correctly. If we're not using GNU ld we use -z text
10005 # though, which does catch some bad symbols but isn't as heavy-handed
10007 no_undefined_flag
='${wl}-z,text'
10008 allow_undefined_flag
='${wl}-z,nodefs'
10009 archive_cmds_need_lc
=no
10010 hardcode_shlibpath_var
=no
10011 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10012 hardcode_libdir_separator
=':'
10013 link_all_deplibs
=yes
10014 export_dynamic_flag_spec
='${wl}-Bexport'
10015 runpath_var
='LD_RUN_PATH'
10017 if test "$GCC" = yes; then
10018 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10019 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10021 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10022 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10027 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10028 hardcode_libdir_flag_spec
='-L$libdir'
10029 hardcode_shlibpath_var
=no
10037 if test x
$host_vendor = xsni
; then
10039 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10040 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10047 $as_echo "$ld_shlibs" >&6; }
10048 test "$ld_shlibs" = no
&& can_build_shared
=no
10050 with_gnu_ld
=$with_gnu_ld
10067 # Do we need to explicitly link libc?
10069 case "x$archive_cmds_need_lc" in
10071 # Assume -lc should be added
10072 archive_cmds_need_lc
=yes
10074 if test "$enable_shared" = yes && test "$GCC" = yes; then
10075 case $archive_cmds in
10077 # FIXME: we may have to deal with multi-command sequences.
10080 # Test whether the compiler implicitly links with -lc since on some
10081 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10082 # to ld, don't add -lc before -lgcc.
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10084 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10085 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10086 $as_echo_n "(cached) " >&6
10089 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10091 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10092 (eval $ac_compile) 2>&5
10094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10095 test $ac_status = 0; } 2>conftest.err
; then
10098 libobjs
=conftest.
$ac_objext
10100 wl
=$lt_prog_compiler_wl
10101 pic_flag
=$lt_prog_compiler_pic
10107 lt_save_allow_undefined_flag
=$allow_undefined_flag
10108 allow_undefined_flag
=
10109 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10110 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10113 test $ac_status = 0; }
10115 lt_cv_archive_cmds_need_lc
=no
10117 lt_cv_archive_cmds_need_lc
=yes
10119 allow_undefined_flag
=$lt_save_allow_undefined_flag
10121 cat conftest.err
1>&5
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10127 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10128 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10292 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10294 if test "$GCC" = yes; then
10296 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10297 *) lt_awk_arg
="/^libraries:/" ;;
10300 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10301 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10303 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10304 case $lt_search_path_spec in
10306 # if the path contains ";" then we assume it to be the separator
10307 # otherwise default to the standard path separator (i.e. ":") - it is
10308 # assumed that no part of a normal pathname contains ";" but that should
10309 # okay in the real world where ";" in dirpaths is itself problematic.
10310 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10313 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10316 # Ok, now we have the path, separated by spaces, we can step through it
10317 # and add multilib dir if necessary.
10318 lt_tmp_lt_search_path_spec
=
10319 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10320 for lt_sys_path
in $lt_search_path_spec; do
10321 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10322 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10324 test -d "$lt_sys_path" && \
10325 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10328 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10329 BEGIN {RS=" "; FS="/|\n";} {
10332 for (lt_i = NF; lt_i > 0; lt_i--) {
10333 if ($lt_i != "" && $lt_i != ".") {
10334 if ($lt_i == "..") {
10337 if (lt_count == 0) {
10338 lt_foo="/" $lt_i lt_foo;
10345 if (lt_foo != "") { lt_freq[lt_foo]++; }
10346 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10348 # AWK program above erroneously prepends '/' to C:/dos/paths
10351 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10352 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10354 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10356 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10358 library_names_spec
=
10359 libname_spec
='lib$name'
10363 postuninstall_cmds
=
10367 shlibpath_overrides_runpath
=unknown
10369 dynamic_linker
="$host_os ld.so"
10370 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10371 need_lib_prefix
=unknown
10372 hardcode_into_libs
=no
10374 # when you set need_version to no, make sure it does not cause -set_version
10375 # flags to be left without arguments
10376 need_version
=unknown
10381 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10382 shlibpath_var
=LIBPATH
10384 # AIX 3 has no versioning support, so we append a major version to the name.
10385 soname_spec
='${libname}${release}${shared_ext}$major'
10392 hardcode_into_libs
=yes
10393 if test "$host_cpu" = ia64
; then
10394 # AIX 5 supports IA64
10395 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10396 shlibpath_var
=LD_LIBRARY_PATH
10398 # With GCC up to 2.95.x, collect2 would create an import file
10399 # for dependence libraries. The import file would start with
10400 # the line `#! .'. This would cause the generated library to
10401 # depend on `.', always an invalid library. This was fixed in
10402 # development snapshots of GCC prior to 3.0.
10404 aix4 | aix4.
[01] | aix4.
[01].
*)
10405 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10407 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10410 can_build_shared
=no
10414 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10415 # soname into executable. Probably we can add versioning support to
10416 # collect2, so additional links can be useful in future.
10417 if test "$aix_use_runtimelinking" = yes; then
10418 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10419 # instead of lib<name>.a to let people know that these are not
10420 # typical AIX shared libraries.
10421 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10423 # We preserve .a as extension for shared libraries through AIX4.2
10424 # and later when we are not doing run time linking.
10425 library_names_spec
='${libname}${release}.a $libname.a'
10426 soname_spec
='${libname}${release}${shared_ext}$major'
10428 shlibpath_var
=LIBPATH
10435 # Since July 2007 AmigaOS4 officially supports .so libraries.
10436 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10437 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10440 library_names_spec
='$libname.ixlibrary $libname.a'
10441 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10442 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'
10448 library_names_spec
='${libname}${shared_ext}'
10449 dynamic_linker
="$host_os ld.so"
10450 shlibpath_var
=LIBRARY_PATH
10456 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10457 soname_spec
='${libname}${release}${shared_ext}$major'
10458 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10459 shlibpath_var
=LD_LIBRARY_PATH
10460 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10461 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10462 # the default ld.so.conf also contains /usr/contrib/lib and
10463 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10464 # libtool to hard-code these into programs
10467 cygwin
* | mingw
* | pw32
* | cegcc
*)
10468 version_type
=windows
10473 case $GCC,$host_os in
10474 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10475 library_names_spec
='$libname.dll.a'
10476 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10477 postinstall_cmds
='base_file=`basename \${file}`~
10478 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10479 dldir=$destdir/`dirname \$dlpath`~
10480 test -d \$dldir || mkdir -p \$dldir~
10481 $install_prog $dir/$dlname \$dldir/$dlname~
10482 chmod a+x \$dldir/$dlname~
10483 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10484 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10486 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10487 dlpath=$dir/\$dldll~
10489 shlibpath_overrides_runpath
=yes
10493 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10494 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10496 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10499 # MinGW DLLs use traditional 'lib' prefix
10500 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10503 # pw32 DLLs use 'pw' prefix rather than 'lib'
10504 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10510 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10513 dynamic_linker
='Win32 ld.exe'
10514 # FIXME: first we should search . and the directory the executable is in
10518 darwin
* | rhapsody
*)
10519 dynamic_linker
="$host_os dyld"
10520 version_type
=darwin
10523 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10524 soname_spec
='${libname}${release}${major}$shared_ext'
10525 shlibpath_overrides_runpath
=yes
10526 shlibpath_var
=DYLD_LIBRARY_PATH
10527 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10529 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10530 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10537 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10538 soname_spec
='${libname}${release}${shared_ext}$major'
10539 shlibpath_var
=LD_LIBRARY_PATH
10542 freebsd
* | dragonfly
*)
10543 # DragonFly does not have aout. When/if they implement a new
10544 # versioning mechanism, adjust this.
10545 if test -x /usr
/bin
/objformat
; then
10546 objformat
=`/usr/bin/objformat`
10549 freebsd
[23].
*) objformat
=aout
;;
10550 *) objformat
=elf
;;
10553 version_type
=freebsd-
$objformat
10554 case $version_type in
10556 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10561 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10565 shlibpath_var
=LD_LIBRARY_PATH
10568 shlibpath_overrides_runpath
=yes
10570 freebsd3.
[01]* | freebsdelf3.
[01]*)
10571 shlibpath_overrides_runpath
=yes
10572 hardcode_into_libs
=yes
10574 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10575 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10576 shlibpath_overrides_runpath
=no
10577 hardcode_into_libs
=yes
10579 *) # from 4.6 on, and DragonFly
10580 shlibpath_overrides_runpath
=yes
10581 hardcode_into_libs
=yes
10590 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10591 soname_spec
='${libname}${release}${shared_ext}$major'
10592 shlibpath_var
=LD_LIBRARY_PATH
10593 hardcode_into_libs
=yes
10600 dynamic_linker
="$host_os runtime_loader"
10601 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10602 soname_spec
='${libname}${release}${shared_ext}$major'
10603 shlibpath_var
=LIBRARY_PATH
10604 shlibpath_overrides_runpath
=yes
10605 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10606 hardcode_into_libs
=yes
10609 hpux9
* | hpux10
* | hpux11
*)
10610 # Give a soname corresponding to the major version so that dld.sl refuses to
10611 # link against other versions.
10618 hardcode_into_libs
=yes
10619 dynamic_linker
="$host_os dld.so"
10620 shlibpath_var
=LD_LIBRARY_PATH
10621 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10622 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10623 soname_spec
='${libname}${release}${shared_ext}$major'
10624 if test "X$HPUX_IA64_MODE" = X32
; then
10625 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10627 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10629 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10633 hardcode_into_libs
=yes
10634 dynamic_linker
="$host_os dld.sl"
10635 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10636 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10637 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10638 soname_spec
='${libname}${release}${shared_ext}$major'
10639 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10640 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10644 dynamic_linker
="$host_os dld.sl"
10645 shlibpath_var
=SHLIB_PATH
10646 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10647 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10648 soname_spec
='${libname}${release}${shared_ext}$major'
10651 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10652 postinstall_cmds
='chmod 555 $lib'
10653 # or fails outright, so override atomically:
10654 install_override_mode
=555
10661 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10662 soname_spec
='${libname}${release}${shared_ext}$major'
10663 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10664 shlibpath_var
=LD_LIBRARY_PATH
10665 shlibpath_overrides_runpath
=no
10666 hardcode_into_libs
=yes
10669 irix5
* | irix6
* | nonstopux
*)
10671 nonstopux
*) version_type
=nonstopux
;;
10673 if test "$lt_cv_prog_gnu_ld" = yes; then
10681 soname_spec
='${libname}${release}${shared_ext}$major'
10682 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10684 irix5
* | nonstopux
*)
10685 libsuff
= shlibsuff
=
10688 case $LD in # libtool.m4 will add one of these switches to LD
10689 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10690 libsuff
= shlibsuff
= libmagic
=32-bit;;
10691 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10692 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10693 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10694 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10695 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10699 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10700 shlibpath_overrides_runpath
=no
10701 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10702 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10703 hardcode_into_libs
=yes
10706 # No shared lib support for Linux oldld, aout, or coff.
10707 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10711 # This must be Linux ELF.
10713 # uclinux* changes (here and below) have been submitted to the libtool
10714 # project, but have not yet been accepted: they are GCC-local changes
10715 # for the time being. (See
10716 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
10717 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
10721 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10722 soname_spec
='${libname}${release}${shared_ext}$major'
10723 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10724 shlibpath_var
=LD_LIBRARY_PATH
10725 shlibpath_overrides_runpath
=no
10727 # Some binutils ld are patched to set DT_RUNPATH
10728 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10729 $as_echo_n "(cached) " >&6
10731 lt_cv_shlibpath_overrides_runpath
=no
10732 save_LDFLAGS
=$LDFLAGS
10733 save_libdir
=$libdir
10734 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10735 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10737 /* end confdefs.h. */
10747 if ac_fn_c_try_link
"$LINENO"; then :
10748 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10749 lt_cv_shlibpath_overrides_runpath
=yes
10752 rm -f core conftest.err conftest.
$ac_objext \
10753 conftest
$ac_exeext conftest.
$ac_ext
10754 LDFLAGS
=$save_LDFLAGS
10755 libdir
=$save_libdir
10759 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10761 # This implies no fast_install, which is unacceptable.
10762 # Some rework will be needed to allow for fast_install
10763 # before this can be enabled.
10764 hardcode_into_libs
=yes
10766 # Append ld.so.conf contents to the search path
10767 if test -f /etc
/ld.so.conf
; then
10768 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' ' '`
10769 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10772 # We used to test for /lib/ld.so.1 and disable shared libraries on
10773 # powerpc, because MkLinux only supported shared libraries with the
10774 # GNU dynamic linker. Since this was broken with cross compilers,
10775 # most powerpc-linux boxes support dynamic linking these days and
10776 # people can always --disable-shared, the test was removed, and we
10777 # assume the GNU/Linux dynamic linker is in use.
10778 dynamic_linker
='GNU/Linux ld.so'
10785 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10786 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10787 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10788 dynamic_linker
='NetBSD (a.out) ld.so'
10790 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10791 soname_spec
='${libname}${release}${shared_ext}$major'
10792 dynamic_linker
='NetBSD ld.elf_so'
10794 shlibpath_var
=LD_LIBRARY_PATH
10795 shlibpath_overrides_runpath
=yes
10796 hardcode_into_libs
=yes
10801 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10802 shlibpath_var
=LD_LIBRARY_PATH
10803 shlibpath_overrides_runpath
=yes
10810 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10811 soname_spec
='${libname}${release}${shared_ext}$major'
10812 shlibpath_var
=LD_LIBRARY_PATH
10813 shlibpath_overrides_runpath
=no
10814 hardcode_into_libs
=yes
10815 dynamic_linker
='ldqnx.so'
10820 sys_lib_dlsearch_path_spec
="/usr/lib"
10822 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10824 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10825 *) need_version
=no
;;
10827 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10828 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10829 shlibpath_var
=LD_LIBRARY_PATH
10830 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10832 openbsd2.
[89] | openbsd2.
[89].
*)
10833 shlibpath_overrides_runpath
=no
10836 shlibpath_overrides_runpath
=yes
10840 shlibpath_overrides_runpath
=yes
10845 libname_spec
='$name'
10848 library_names_spec
='$libname${shared_ext} $libname.a'
10849 dynamic_linker
='OS/2 ld.exe'
10850 shlibpath_var
=LIBPATH
10853 osf3
* | osf4
* | osf5
*)
10857 soname_spec
='${libname}${release}${shared_ext}$major'
10858 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10859 shlibpath_var
=LD_LIBRARY_PATH
10860 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10861 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10872 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10873 soname_spec
='${libname}${release}${shared_ext}$major'
10874 shlibpath_var
=LD_LIBRARY_PATH
10875 shlibpath_overrides_runpath
=yes
10876 hardcode_into_libs
=yes
10877 # ldd complains unless libraries are executable
10878 postinstall_cmds
='chmod +x $lib'
10883 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10884 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10885 shlibpath_var
=LD_LIBRARY_PATH
10886 shlibpath_overrides_runpath
=yes
10887 if test "$with_gnu_ld" = yes; then
10895 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10896 soname_spec
='${libname}${release}${shared_ext}$major'
10897 shlibpath_var
=LD_LIBRARY_PATH
10898 case $host_vendor in
10900 shlibpath_overrides_runpath
=no
10902 runpath_var
=LD_RUN_PATH
10910 shlibpath_overrides_runpath
=no
10911 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10917 if test -d /usr
/nec
;then
10919 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10920 soname_spec
='$libname${shared_ext}.$major'
10921 shlibpath_var
=LD_LIBRARY_PATH
10925 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10926 version_type
=freebsd-elf
10929 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10930 soname_spec
='${libname}${release}${shared_ext}$major'
10931 shlibpath_var
=LD_LIBRARY_PATH
10932 shlibpath_overrides_runpath
=yes
10933 hardcode_into_libs
=yes
10934 if test "$with_gnu_ld" = yes; then
10935 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10937 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10940 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10944 sys_lib_dlsearch_path_spec
='/usr/lib'
10948 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10953 shlibpath_var
=LD_LIBRARY_PATH
10954 shlibpath_overrides_runpath
=no
10955 hardcode_into_libs
=yes
10960 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10961 soname_spec
='${libname}${release}${shared_ext}$major'
10962 shlibpath_var
=LD_LIBRARY_PATH
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10970 $as_echo "$dynamic_linker" >&6; }
10971 test "$dynamic_linker" = no
&& can_build_shared
=no
10973 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10974 if test "$GCC" = yes; then
10975 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10978 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10979 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10981 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10982 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11077 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11079 if test -n "$hardcode_libdir_flag_spec" ||
11080 test -n "$runpath_var" ||
11081 test "X$hardcode_automatic" = "Xyes" ; then
11083 # We can hardcode non-existent directories.
11084 if test "$hardcode_direct" != no
&&
11085 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11086 # have to relink, otherwise we might link with an installed library
11087 # when we should be linking with a yet-to-be-installed one
11088 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11089 test "$hardcode_minus_L" != no
; then
11090 # Linking always hardcodes the temporary library directory.
11091 hardcode_action
=relink
11093 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11094 hardcode_action
=immediate
11097 # We cannot hardcode anything, or else we can only hardcode existing
11099 hardcode_action
=unsupported
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11102 $as_echo "$hardcode_action" >&6; }
11104 if test "$hardcode_action" = relink ||
11105 test "$inherit_rpath" = yes; then
11106 # Fast installation is not supported
11107 enable_fast_install
=no
11108 elif test "$shlibpath_overrides_runpath" = yes ||
11109 test "$enable_shared" = no
; then
11110 # Fast installation is not necessary
11111 enable_fast_install
=needless
11119 if test "x$enable_dlopen" != xyes
; then
11120 enable_dlopen
=unknown
11121 enable_dlopen_self
=unknown
11122 enable_dlopen_self_static
=unknown
11129 lt_cv_dlopen
="load_add_on"
11131 lt_cv_dlopen_self
=yes
11134 mingw
* | pw32
* | cegcc
*)
11135 lt_cv_dlopen
="LoadLibrary"
11140 lt_cv_dlopen
="dlopen"
11145 # if libdl is installed we need to link against it
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11147 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11148 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11149 $as_echo_n "(cached) " >&6
11151 ac_check_lib_save_LIBS
=$LIBS
11153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11154 /* end confdefs.h. */
11156 /* Override any GCC internal prototype to avoid an error.
11157 Use char because int might match the return type of a GCC
11158 builtin and then its argument prototype would still apply. */
11171 if ac_fn_c_try_link
"$LINENO"; then :
11172 ac_cv_lib_dl_dlopen
=yes
11174 ac_cv_lib_dl_dlopen
=no
11176 rm -f core conftest.err conftest.
$ac_objext \
11177 conftest
$ac_exeext conftest.
$ac_ext
11178 LIBS
=$ac_check_lib_save_LIBS
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11181 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11182 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11183 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11186 lt_cv_dlopen
="dyld"
11188 lt_cv_dlopen_self
=yes
11195 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11196 if test "x$ac_cv_func_shl_load" = xyes
; then :
11197 lt_cv_dlopen
="shl_load"
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11200 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11201 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11202 $as_echo_n "(cached) " >&6
11204 ac_check_lib_save_LIBS
=$LIBS
11206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11207 /* end confdefs.h. */
11209 /* Override any GCC internal prototype to avoid an error.
11210 Use char because int might match the return type of a GCC
11211 builtin and then its argument prototype would still apply. */
11219 return shl_load ();
11224 if ac_fn_c_try_link
"$LINENO"; then :
11225 ac_cv_lib_dld_shl_load
=yes
11227 ac_cv_lib_dld_shl_load
=no
11229 rm -f core conftest.err conftest.
$ac_objext \
11230 conftest
$ac_exeext conftest.
$ac_ext
11231 LIBS
=$ac_check_lib_save_LIBS
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11234 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11235 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11236 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11238 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11239 if test "x$ac_cv_func_dlopen" = xyes
; then :
11240 lt_cv_dlopen
="dlopen"
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11243 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11244 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11245 $as_echo_n "(cached) " >&6
11247 ac_check_lib_save_LIBS
=$LIBS
11249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11250 /* end confdefs.h. */
11252 /* Override any GCC internal prototype to avoid an error.
11253 Use char because int might match the return type of a GCC
11254 builtin and then its argument prototype would still apply. */
11267 if ac_fn_c_try_link
"$LINENO"; then :
11268 ac_cv_lib_dl_dlopen
=yes
11270 ac_cv_lib_dl_dlopen
=no
11272 rm -f core conftest.err conftest.
$ac_objext \
11273 conftest
$ac_exeext conftest.
$ac_ext
11274 LIBS
=$ac_check_lib_save_LIBS
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11277 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11278 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11279 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11282 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11283 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11284 $as_echo_n "(cached) " >&6
11286 ac_check_lib_save_LIBS
=$LIBS
11287 LIBS
="-lsvld $LIBS"
11288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11289 /* end confdefs.h. */
11291 /* Override any GCC internal prototype to avoid an error.
11292 Use char because int might match the return type of a GCC
11293 builtin and then its argument prototype would still apply. */
11306 if ac_fn_c_try_link
"$LINENO"; then :
11307 ac_cv_lib_svld_dlopen
=yes
11309 ac_cv_lib_svld_dlopen
=no
11311 rm -f core conftest.err conftest.
$ac_objext \
11312 conftest
$ac_exeext conftest.
$ac_ext
11313 LIBS
=$ac_check_lib_save_LIBS
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11316 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11317 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11318 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11321 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11322 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11323 $as_echo_n "(cached) " >&6
11325 ac_check_lib_save_LIBS
=$LIBS
11327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11328 /* end confdefs.h. */
11330 /* Override any GCC internal prototype to avoid an error.
11331 Use char because int might match the return type of a GCC
11332 builtin and then its argument prototype would still apply. */
11340 return dld_link ();
11345 if ac_fn_c_try_link
"$LINENO"; then :
11346 ac_cv_lib_dld_dld_link
=yes
11348 ac_cv_lib_dld_dld_link
=no
11350 rm -f core conftest.err conftest.
$ac_objext \
11351 conftest
$ac_exeext conftest.
$ac_ext
11352 LIBS
=$ac_check_lib_save_LIBS
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11355 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11356 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11357 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11378 if test "x$lt_cv_dlopen" != xno
; then
11384 case $lt_cv_dlopen in
11386 save_CPPFLAGS
="$CPPFLAGS"
11387 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11389 save_LDFLAGS
="$LDFLAGS"
11390 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11393 LIBS
="$lt_cv_dlopen_libs $LIBS"
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11396 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11397 if ${lt_cv_dlopen_self+:} false
; then :
11398 $as_echo_n "(cached) " >&6
11400 if test "$cross_compiling" = yes; then :
11401 lt_cv_dlopen_self
=cross
11403 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11404 lt_status
=$lt_dlunknown
11405 cat > conftest.
$ac_ext <<_LT_EOF
11406 #line 11406 "configure"
11407 #include "confdefs.h"
11416 # define LT_DLGLOBAL RTLD_GLOBAL
11419 # define LT_DLGLOBAL DL_GLOBAL
11421 # define LT_DLGLOBAL 0
11425 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11426 find out it does not work in some platform. */
11427 #ifndef LT_DLLAZY_OR_NOW
11429 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11432 # define LT_DLLAZY_OR_NOW DL_LAZY
11435 # define LT_DLLAZY_OR_NOW RTLD_NOW
11438 # define LT_DLLAZY_OR_NOW DL_NOW
11440 # define LT_DLLAZY_OR_NOW 0
11447 /* When -fvisbility=hidden is used, assume the code has been annotated
11448 correspondingly for the symbols needed. */
11449 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11450 void fnord () __attribute__((visibility("default")));
11453 void fnord () { int i=42; }
11456 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11457 int status = $lt_dlunknown;
11461 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11464 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11465 else puts (dlerror ());
11467 /* dlclose (self); */
11475 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11476 (eval $ac_link) 2>&5
11478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11479 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11480 (.
/conftest
; exit; ) >&5 2>/dev
/null
11482 case x
$lt_status in
11483 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11484 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11485 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11488 # compilation failed
11489 lt_cv_dlopen_self
=no
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11497 $as_echo "$lt_cv_dlopen_self" >&6; }
11499 if test "x$lt_cv_dlopen_self" = xyes
; then
11500 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11502 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11503 if ${lt_cv_dlopen_self_static+:} false
; then :
11504 $as_echo_n "(cached) " >&6
11506 if test "$cross_compiling" = yes; then :
11507 lt_cv_dlopen_self_static
=cross
11509 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11510 lt_status
=$lt_dlunknown
11511 cat > conftest.
$ac_ext <<_LT_EOF
11512 #line 11512 "configure"
11513 #include "confdefs.h"
11522 # define LT_DLGLOBAL RTLD_GLOBAL
11525 # define LT_DLGLOBAL DL_GLOBAL
11527 # define LT_DLGLOBAL 0
11531 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11532 find out it does not work in some platform. */
11533 #ifndef LT_DLLAZY_OR_NOW
11535 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11538 # define LT_DLLAZY_OR_NOW DL_LAZY
11541 # define LT_DLLAZY_OR_NOW RTLD_NOW
11544 # define LT_DLLAZY_OR_NOW DL_NOW
11546 # define LT_DLLAZY_OR_NOW 0
11553 /* When -fvisbility=hidden is used, assume the code has been annotated
11554 correspondingly for the symbols needed. */
11555 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11556 void fnord () __attribute__((visibility("default")));
11559 void fnord () { int i=42; }
11562 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11563 int status = $lt_dlunknown;
11567 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11570 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11571 else puts (dlerror ());
11573 /* dlclose (self); */
11581 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11582 (eval $ac_link) 2>&5
11584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11585 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11586 (.
/conftest
; exit; ) >&5 2>/dev
/null
11588 case x
$lt_status in
11589 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11590 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11591 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11594 # compilation failed
11595 lt_cv_dlopen_self_static
=no
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11603 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11606 CPPFLAGS
="$save_CPPFLAGS"
11607 LDFLAGS
="$save_LDFLAGS"
11612 case $lt_cv_dlopen_self in
11613 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11614 *) enable_dlopen_self
=unknown
;;
11617 case $lt_cv_dlopen_self_static in
11618 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11619 *) enable_dlopen_self_static
=unknown
;;
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11642 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11643 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11644 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11645 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11647 $as_echo "yes" >&6; }
11649 # FIXME - insert some real tests, host_os isn't really good enough
11652 if test -n "$STRIP" ; then
11653 striplib
="$STRIP -x"
11654 old_striplib
="$STRIP -S"
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11656 $as_echo "yes" >&6; }
11658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11659 $as_echo "no" >&6; }
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11664 $as_echo "no" >&6; }
11680 # Report which library types will actually be built
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11682 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11684 $as_echo "$can_build_shared" >&6; }
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11687 $as_echo_n "checking whether to build shared libraries... " >&6; }
11688 test "$can_build_shared" = "no" && enable_shared
=no
11690 # On AIX, shared libraries and static libraries use the same namespace, and
11691 # are all built from PIC.
11694 test "$enable_shared" = yes && enable_static
=no
11695 if test -n "$RANLIB"; then
11696 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11697 postinstall_cmds
='$RANLIB $lib'
11702 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11703 test "$enable_shared" = yes && enable_static
=no
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11708 $as_echo "$enable_shared" >&6; }
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11711 $as_echo_n "checking whether to build static libraries... " >&6; }
11712 # Make sure either enable_shared or enable_static is yes.
11713 test "$enable_shared" = yes || enable_static
=yes
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11715 $as_echo "$enable_static" >&6; }
11722 ac_cpp
='$CPP $CPPFLAGS'
11723 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11724 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11725 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11729 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11730 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11731 (test "X$CXX" != "Xg++"))) ; then
11733 ac_cpp
='$CXXCPP $CPPFLAGS'
11734 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11735 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11736 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11738 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11739 if test -z "$CXXCPP"; then
11740 if ${ac_cv_prog_CXXCPP+:} false
; then :
11741 $as_echo_n "(cached) " >&6
11743 # Double quotes because CXXCPP needs to be expanded
11744 for CXXCPP
in "$CXX -E" "/lib/cpp"
11746 ac_preproc_ok
=false
11747 for ac_cxx_preproc_warn_flag
in '' yes
11749 # Use a header file that comes with gcc, so configuring glibc
11750 # with a fresh cross-compiler works.
11751 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11752 # <limits.h> exists even on freestanding compilers.
11753 # On the NeXT, cc -E runs the code through the compiler's parser,
11754 # not just through cpp. "Syntax error" is here to catch this case.
11755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11756 /* end confdefs.h. */
11758 # include <limits.h>
11760 # include <assert.h>
11764 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11767 # Broken: fails on valid input.
11770 rm -f conftest.err conftest.i conftest.
$ac_ext
11772 # OK, works on sane cases. Now check whether nonexistent headers
11773 # can be detected and how.
11774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11775 /* end confdefs.h. */
11776 #include <ac_nonexistent.h>
11778 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11779 # Broken: success on invalid input.
11782 # Passes both tests.
11786 rm -f conftest.err conftest.i conftest.
$ac_ext
11789 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11790 rm -f conftest.i conftest.err conftest.
$ac_ext
11791 if $ac_preproc_ok; then :
11796 ac_cv_prog_CXXCPP
=$CXXCPP
11799 CXXCPP
=$ac_cv_prog_CXXCPP
11801 ac_cv_prog_CXXCPP
=$CXXCPP
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11804 $as_echo "$CXXCPP" >&6; }
11805 ac_preproc_ok
=false
11806 for ac_cxx_preproc_warn_flag
in '' yes
11808 # Use a header file that comes with gcc, so configuring glibc
11809 # with a fresh cross-compiler works.
11810 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11811 # <limits.h> exists even on freestanding compilers.
11812 # On the NeXT, cc -E runs the code through the compiler's parser,
11813 # not just through cpp. "Syntax error" is here to catch this case.
11814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11815 /* end confdefs.h. */
11817 # include <limits.h>
11819 # include <assert.h>
11823 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11826 # Broken: fails on valid input.
11829 rm -f conftest.err conftest.i conftest.
$ac_ext
11831 # OK, works on sane cases. Now check whether nonexistent headers
11832 # can be detected and how.
11833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11834 /* end confdefs.h. */
11835 #include <ac_nonexistent.h>
11837 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11838 # Broken: success on invalid input.
11841 # Passes both tests.
11845 rm -f conftest.err conftest.i conftest.
$ac_ext
11848 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11849 rm -f conftest.i conftest.err conftest.
$ac_ext
11850 if $ac_preproc_ok; then :
11853 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11854 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11855 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
11856 See \`config.log' for more details" "$LINENO" 5; }
11860 ac_cpp
='$CPP $CPPFLAGS'
11861 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11862 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11863 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11866 _lt_caught_CXX_error
=yes
11870 ac_cpp
='$CXXCPP $CPPFLAGS'
11871 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11872 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11873 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11875 archive_cmds_need_lc_CXX
=no
11876 allow_undefined_flag_CXX
=
11877 always_export_symbols_CXX
=no
11878 archive_expsym_cmds_CXX
=
11879 compiler_needs_object_CXX
=no
11880 export_dynamic_flag_spec_CXX
=
11881 hardcode_direct_CXX
=no
11882 hardcode_direct_absolute_CXX
=no
11883 hardcode_libdir_flag_spec_CXX
=
11884 hardcode_libdir_flag_spec_ld_CXX
=
11885 hardcode_libdir_separator_CXX
=
11886 hardcode_minus_L_CXX
=no
11887 hardcode_shlibpath_var_CXX
=unsupported
11888 hardcode_automatic_CXX
=no
11889 inherit_rpath_CXX
=no
11891 module_expsym_cmds_CXX
=
11892 link_all_deplibs_CXX
=unknown
11893 old_archive_cmds_CXX
=$old_archive_cmds
11894 reload_flag_CXX
=$reload_flag
11895 reload_cmds_CXX
=$reload_cmds
11896 no_undefined_flag_CXX
=
11897 whole_archive_flag_spec_CXX
=
11898 enable_shared_with_static_runtimes_CXX
=no
11900 # Source file extension for C++ test sources.
11903 # Object file extension for compiled C++ test sources.
11907 # No sense in running all these tests if we already determined that
11908 # the CXX compiler isn't working. Some variables (like enable_shared)
11909 # are currently assumed to apply to all compilers on this platform,
11910 # and will be corrupted by setting them based on a non-working compiler.
11911 if test "$_lt_caught_CXX_error" != yes; then
11912 # Code to be used in simple compile tests
11913 lt_simple_compile_test_code
="int some_variable = 0;"
11915 # Code to be used in simple link tests
11916 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11918 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11925 # If no C compiler was specified, use CC.
11928 # If no C compiler flags were specified, use CFLAGS.
11929 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11931 # Allow CC to be a program name with arguments.
11935 # save warnings/boilerplate of simple test code
11936 ac_outfile
=conftest.
$ac_objext
11937 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11938 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11939 _lt_compiler_boilerplate
=`cat conftest.err`
11942 ac_outfile
=conftest.
$ac_objext
11943 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11944 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11945 _lt_linker_boilerplate
=`cat conftest.err`
11949 # Allow CC to be a program name with arguments.
11954 lt_save_with_gnu_ld
=$with_gnu_ld
11955 lt_save_path_LD
=$lt_cv_path_LD
11956 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11957 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11959 $as_unset lt_cv_prog_gnu_ld
11961 if test -n "${lt_cv_path_LDCXX+set}"; then
11962 lt_cv_path_LD
=$lt_cv_path_LDCXX
11964 $as_unset lt_cv_path_LD
11966 test -z "${LDCXX+set}" || LD
=$LDCXX
11970 for cc_temp
in $compiler""; do
11972 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11973 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11978 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11981 if test -n "$compiler"; then
11982 # We don't want -fno-exception when compiling C++ code, so set the
11983 # no_builtin_flag separately
11984 if test "$GXX" = yes; then
11985 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11987 lt_prog_compiler_no_builtin_flag_CXX
=
11990 if test "$GXX" = yes; then
11991 # Set up default GNU C++ configuration
11995 # Check whether --with-gnu-ld was given.
11996 if test "${with_gnu_ld+set}" = set; then :
11997 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12003 if test "$GCC" = yes; then
12004 # Check if gcc -print-prog-name=ld gives a path.
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12006 $as_echo_n "checking for ld used by $CC... " >&6; }
12009 # gcc leaves a trailing carriage return which upsets mingw
12010 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12012 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12015 # Accept absolute paths.
12017 re_direlt
='/[^/][^/]*/\.\./'
12018 # Canonicalize the pathname of ld
12019 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12020 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12021 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12023 test -z "$LD" && LD
="$ac_prog"
12026 # If it fails, then pretend we aren't using GCC.
12030 # If it is relative, then search for the first ld in PATH.
12031 with_gnu_ld
=unknown
12034 elif test "$with_gnu_ld" = yes; then
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12036 $as_echo_n "checking for GNU ld... " >&6; }
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12039 $as_echo_n "checking for non-GNU ld... " >&6; }
12041 if ${lt_cv_path_LD+:} false
; then :
12042 $as_echo_n "(cached) " >&6
12044 if test -z "$LD"; then
12045 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12046 for ac_dir
in $PATH; do
12048 test -z "$ac_dir" && ac_dir
=.
12049 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12050 lt_cv_path_LD
="$ac_dir/$ac_prog"
12051 # Check to see if the program is GNU ld. I'd rather use --version,
12052 # but apparently some variants of GNU ld only accept -v.
12053 # Break only if it was the GNU/non-GNU ld that we prefer.
12054 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12055 *GNU
* |
*'with BFD'*)
12056 test "$with_gnu_ld" != no
&& break
12059 test "$with_gnu_ld" != yes && break
12066 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12070 LD
="$lt_cv_path_LD"
12071 if test -n "$LD"; then
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12073 $as_echo "$LD" >&6; }
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12076 $as_echo "no" >&6; }
12078 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12080 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12081 if ${lt_cv_prog_gnu_ld+:} false
; then :
12082 $as_echo_n "(cached) " >&6
12084 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12085 case `$LD -v 2>&1 </dev/null` in
12086 *GNU
* |
*'with BFD'*)
12087 lt_cv_prog_gnu_ld
=yes
12090 lt_cv_prog_gnu_ld
=no
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12095 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12096 with_gnu_ld
=$lt_cv_prog_gnu_ld
12104 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12105 # archiving commands below assume that GNU ld is being used.
12106 if test "$with_gnu_ld" = yes; then
12107 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12108 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'
12110 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12111 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12113 # If archive_cmds runs LD, not CC, wlarc should be empty
12114 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12115 # investigate it a little bit more. (MM)
12118 # ancient GNU ld didn't support --whole-archive et. al.
12119 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12120 $GREP 'no-whole-archive' > /dev
/null
; then
12121 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12123 whole_archive_flag_spec_CXX
=
12129 # A generic and very simple default shared library creation
12130 # command for GNU C++ for the case where it uses the native
12131 # linker, instead of GNU ld. If possible, this setting should
12132 # overridden to take advantage of the native linker features on
12133 # the platform it is being used on.
12134 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12137 # Commands to make compiler produce verbose output that lists
12138 # what "hidden" libraries, object files and flags are used when
12139 # linking a shared library.
12140 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12148 # PORTME: fill in a description of your system's C++ link characteristics
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12150 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12154 # FIXME: insert proper C++ library support
12158 if test "$host_cpu" = ia64
; then
12159 # On IA64, the linker does run time linking by default, so we don't
12160 # have to do anything special.
12161 aix_use_runtimelinking
=no
12162 exp_sym_flag
='-Bexport'
12165 aix_use_runtimelinking
=no
12167 # Test if we are trying to use run time linking or normal
12168 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12169 # need to do runtime linking.
12170 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12171 for ld_flag
in $LDFLAGS; do
12174 aix_use_runtimelinking
=yes
12182 exp_sym_flag
='-bexport'
12183 no_entry_flag
='-bnoentry'
12186 # When large executables or shared objects are built, AIX ld can
12187 # have problems creating the table of contents. If linking a library
12188 # or program results in "error TOC overflow" add -mminimal-toc to
12189 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12190 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12192 archive_cmds_CXX
=''
12193 hardcode_direct_CXX
=yes
12194 hardcode_direct_absolute_CXX
=yes
12195 hardcode_libdir_separator_CXX
=':'
12196 link_all_deplibs_CXX
=yes
12197 file_list_spec_CXX
='${wl}-f,'
12199 if test "$GXX" = yes; then
12200 case $host_os in aix4.
[012]|aix4.
[012].
*)
12201 # We only want to do this on AIX 4.2 and lower, the check
12202 # below for broken collect2 doesn't work under 4.3+
12203 collect2name
=`${CC} -print-prog-name=collect2`
12204 if test -f "$collect2name" &&
12205 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12207 # We have reworked collect2
12210 # We have old collect2
12211 hardcode_direct_CXX
=unsupported
12212 # It fails to find uninstalled libraries when the uninstalled
12213 # path is not listed in the libpath. Setting hardcode_minus_L
12214 # to unsupported forces relinking
12215 hardcode_minus_L_CXX
=yes
12216 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12217 hardcode_libdir_separator_CXX
=
12220 shared_flag
='-shared'
12221 if test "$aix_use_runtimelinking" = yes; then
12222 shared_flag
="$shared_flag "'${wl}-G'
12226 if test "$host_cpu" = ia64
; then
12227 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12228 # chokes on -Wl,-G. The following line is correct:
12231 if test "$aix_use_runtimelinking" = yes; then
12232 shared_flag
='${wl}-G'
12234 shared_flag
='${wl}-bM:SRE'
12239 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12240 # It seems that -bexpall does not export symbols beginning with
12241 # underscore (_), so it is better to generate a list of symbols to
12243 always_export_symbols_CXX
=yes
12244 if test "$aix_use_runtimelinking" = yes; then
12245 # Warning - without using the other runtime loading flags (-brtl),
12246 # -berok will link without error, but may produce a broken library.
12247 allow_undefined_flag_CXX
='-berok'
12248 # Determine the default libpath from the value encoded in an empty
12250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12251 /* end confdefs.h. */
12261 if ac_fn_cxx_try_link
"$LINENO"; then :
12263 lt_aix_libpath_sed
='
12264 /Import File Strings/,/^$/ {
12270 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12271 # Check for a 64-bit object if we didn't find anything.
12272 if test -z "$aix_libpath"; then
12273 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12276 rm -f core conftest.err conftest.
$ac_objext \
12277 conftest
$ac_exeext conftest.
$ac_ext
12278 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12280 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12282 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"
12284 if test "$host_cpu" = ia64
; then
12285 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12286 allow_undefined_flag_CXX
="-z nodefs"
12287 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"
12289 # Determine the default libpath from the value encoded in an
12290 # empty executable.
12291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12292 /* end confdefs.h. */
12302 if ac_fn_cxx_try_link
"$LINENO"; then :
12304 lt_aix_libpath_sed
='
12305 /Import File Strings/,/^$/ {
12311 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12312 # Check for a 64-bit object if we didn't find anything.
12313 if test -z "$aix_libpath"; then
12314 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12317 rm -f core conftest.err conftest.
$ac_objext \
12318 conftest
$ac_exeext conftest.
$ac_ext
12319 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12321 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12322 # Warning - without using the other run time loading flags,
12323 # -berok will link without error, but may produce a broken library.
12324 no_undefined_flag_CXX
=' ${wl}-bernotok'
12325 allow_undefined_flag_CXX
=' ${wl}-berok'
12326 if test "$with_gnu_ld" = yes; then
12327 # We only use this code for GNU lds that support --whole-archive.
12328 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12330 # Exported symbols can be pulled into shared objects from archives
12331 whole_archive_flag_spec_CXX
='$convenience'
12333 archive_cmds_need_lc_CXX
=yes
12334 # This is similar to how AIX traditionally builds its shared
12336 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'
12342 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12343 allow_undefined_flag_CXX
=unsupported
12344 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12345 # support --undefined. This deserves some investigation. FIXME
12346 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12353 case $cc_basename in
12355 # FIXME: insert proper C++ library support
12361 cygwin
* | mingw
* | pw32
* | cegcc
*)
12362 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12363 # as there is no search path for DLLs.
12364 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12365 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
12366 allow_undefined_flag_CXX
=unsupported
12367 always_export_symbols_CXX
=no
12368 enable_shared_with_static_runtimes_CXX
=yes
12370 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12371 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'
12372 # If the export-symbols file already is a .def file (1st line
12373 # is EXPORTS), use it as is; otherwise, prepend...
12374 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12375 cp $export_symbols $output_objdir/$soname.def;
12377 echo EXPORTS > $output_objdir/$soname.def;
12378 cat $export_symbols >> $output_objdir/$soname.def;
12380 $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'
12385 darwin
* | rhapsody
*)
12388 archive_cmds_need_lc_CXX
=no
12389 hardcode_direct_CXX
=no
12390 hardcode_automatic_CXX
=yes
12391 hardcode_shlibpath_var_CXX
=unsupported
12392 if test "$lt_cv_ld_force_load" = "yes"; then
12393 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\"`'
12395 whole_archive_flag_spec_CXX
=''
12397 link_all_deplibs_CXX
=yes
12398 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12399 case $cc_basename in
12400 ifort
*) _lt_dar_can_shared
=yes ;;
12401 *) _lt_dar_can_shared
=$GCC ;;
12403 if test "$_lt_dar_can_shared" = "yes"; then
12404 output_verbose_link_cmd
=func_echo_all
12405 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}"
12406 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12407 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}"
12408 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}"
12409 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12410 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}"
12411 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}"
12421 case $cc_basename in
12423 # FIXME: insert proper C++ library support
12427 # Green Hills C++ Compiler
12428 # FIXME: insert proper C++ library support
12432 # FIXME: insert proper C++ library support
12439 # C++ shared libraries reported to be fairly broken before
12445 archive_cmds_need_lc_CXX
=no
12448 freebsd
* | dragonfly
*)
12449 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12458 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12459 link_all_deplibs_CXX
=yes
12463 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12464 hardcode_libdir_separator_CXX
=:
12465 export_dynamic_flag_spec_CXX
='${wl}-E'
12466 hardcode_direct_CXX
=yes
12467 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12468 # but as the default
12469 # location of the library.
12471 case $cc_basename in
12473 # FIXME: insert proper C++ library support
12477 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'
12478 # Commands to make compiler produce verbose output that lists
12479 # what "hidden" libraries, object files and flags are used when
12480 # linking a shared library.
12482 # There doesn't appear to be a way to prevent this compiler from
12483 # explicitly linking system object files so we need to strip them
12484 # from the output so that they don't get included in the library
12486 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"'
12489 if test "$GXX" = yes; then
12490 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'
12492 # FIXME: insert proper C++ library support
12500 if test $with_gnu_ld = no
; then
12501 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12502 hardcode_libdir_separator_CXX
=:
12508 export_dynamic_flag_spec_CXX
='${wl}-E'
12514 hardcode_direct_CXX
=no
12515 hardcode_shlibpath_var_CXX
=no
12518 hardcode_direct_CXX
=yes
12519 hardcode_direct_absolute_CXX
=yes
12520 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12521 # but as the default
12522 # location of the library.
12526 case $cc_basename in
12528 # FIXME: insert proper C++ library support
12534 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12537 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12540 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12543 # Commands to make compiler produce verbose output that lists
12544 # what "hidden" libraries, object files and flags are used when
12545 # linking a shared library.
12547 # There doesn't appear to be a way to prevent this compiler from
12548 # explicitly linking system object files so we need to strip them
12549 # from the output so that they don't get included in the library
12551 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"'
12554 if test "$GXX" = yes; then
12555 if test $with_gnu_ld = no
; then
12558 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12561 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12564 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'
12569 # FIXME: insert proper C++ library support
12577 hardcode_direct_CXX
=no
12578 hardcode_shlibpath_var_CXX
=no
12579 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12580 export_dynamic_flag_spec_CXX
='${wl}-E'
12581 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12582 # Instead, shared libraries are loaded at an image base (0x10000000 by
12583 # default) and relocated if they conflict, which is a slow very memory
12584 # consuming and fragmenting process. To avoid this, we pick a random,
12585 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12586 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12587 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'
12588 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'
12591 case $cc_basename in
12594 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'
12596 # Archives containing C++ object files must be created using
12597 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12598 # necessary to make sure instantiated templates are included
12600 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12603 if test "$GXX" = yes; then
12604 if test "$with_gnu_ld" = no
; then
12605 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'
12607 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'
12610 link_all_deplibs_CXX
=yes
12613 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12614 hardcode_libdir_separator_CXX
=:
12615 inherit_rpath_CXX
=yes
12618 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12619 case $cc_basename in
12621 # Kuck and Associates, Inc. (KAI) C++ Compiler
12623 # KCC will only create a shared library if the output file
12624 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12625 # to its proper name (with version) after linking.
12626 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'
12627 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'
12628 # Commands to make compiler produce verbose output that lists
12629 # what "hidden" libraries, object files and flags are used when
12630 # linking a shared library.
12632 # There doesn't appear to be a way to prevent this compiler from
12633 # explicitly linking system object files so we need to strip them
12634 # from the output so that they don't get included in the library
12636 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"'
12638 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12639 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12641 # Archives containing C++ object files must be created using
12642 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12643 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12648 # version 8.0 and above of icpc choke on multiply defined symbols
12649 # if we add $predep_objects and $postdep_objects, however 7.1 and
12650 # earlier do not add the objects themselves.
12651 case `$CC -V 2>&1` in
12653 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12654 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'
12656 *) # Version 8.0 or newer
12659 ia64
*) tmp_idyn
=' -i_dynamic';;
12661 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12662 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'
12665 archive_cmds_need_lc_CXX
=no
12666 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12667 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12668 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12671 # Portland Group C++ compiler
12673 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
12674 prelink_cmds_CXX
='tpldir=Template.dir~
12676 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12677 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12678 old_archive_cmds_CXX
='tpldir=Template.dir~
12680 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12681 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12683 archive_cmds_CXX
='tpldir=Template.dir~
12685 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12686 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12687 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12689 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12690 $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'
12692 *) # Version 6 and above use weak symbols
12693 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12694 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'
12698 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12699 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12700 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'
12704 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12705 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'
12707 runpath_var
=LD_RUN_PATH
12708 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12709 hardcode_libdir_separator_CXX
=:
12711 # Commands to make compiler produce verbose output that lists
12712 # what "hidden" libraries, object files and flags are used when
12713 # linking a shared library.
12715 # There doesn't appear to be a way to prevent this compiler from
12716 # explicitly linking system object files so we need to strip them
12717 # from the output so that they don't get included in the library
12719 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'
12721 xl
* | mpixl
* | bgxl
*)
12722 # IBM XL 8.0 on PPC, with GNU ld
12723 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12724 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12725 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12726 if test "x$supports_anon_versioning" = xyes
; then
12727 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12728 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12729 echo "local: *; };" >> $output_objdir/$libname.ver~
12730 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12734 case `$CC -V 2>&1 | sed 5q` in
12737 no_undefined_flag_CXX
=' -zdefs'
12738 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12739 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'
12740 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12741 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'
12742 compiler_needs_object_CXX
=yes
12744 # Not sure whether something based on
12745 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12747 output_verbose_link_cmd
='func_echo_all'
12749 # Archives containing C++ object files must be created using
12750 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12751 # necessary to make sure instantiated templates are included
12753 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12761 # FIXME: insert proper C++ library support
12766 # FIXME: insert proper C++ library support
12771 case $cc_basename in
12773 # FIXME: insert proper C++ library support
12777 # FIXME: insert proper C++ library support
12784 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12785 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12787 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12788 hardcode_direct_CXX
=yes
12789 hardcode_shlibpath_var_CXX
=no
12791 # Workaround some broken pre-1.5 toolchains
12792 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12800 # C++ shared libraries are fairly broken
12805 if test -f /usr
/libexec
/ld.so
; then
12806 hardcode_direct_CXX
=yes
12807 hardcode_shlibpath_var_CXX
=no
12808 hardcode_direct_absolute_CXX
=yes
12809 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12810 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12811 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12812 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12813 export_dynamic_flag_spec_CXX
='${wl}-E'
12814 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12816 output_verbose_link_cmd
=func_echo_all
12822 osf3
* | osf4
* | osf5
*)
12823 case $cc_basename in
12825 # Kuck and Associates, Inc. (KAI) C++ Compiler
12827 # KCC will only create a shared library if the output file
12828 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12829 # to its proper name (with version) after linking.
12830 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'
12832 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12833 hardcode_libdir_separator_CXX
=:
12835 # Archives containing C++ object files must be created using
12836 # the KAI C++ compiler.
12838 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12839 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12843 # Rational C++ 2.4.1
12844 # FIXME: insert proper C++ library support
12850 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12851 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'
12852 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12855 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12856 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'
12857 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12858 echo "-hidden">> $lib.exp~
12859 $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~
12861 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12865 hardcode_libdir_separator_CXX
=:
12867 # Commands to make compiler produce verbose output that lists
12868 # what "hidden" libraries, object files and flags are used when
12869 # linking a shared library.
12871 # There doesn't appear to be a way to prevent this compiler from
12872 # explicitly linking system object files so we need to strip them
12873 # from the output so that they don't get included in the library
12875 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"'
12878 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12879 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12882 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'
12885 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'
12889 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12890 hardcode_libdir_separator_CXX
=:
12892 # Commands to make compiler produce verbose output that lists
12893 # what "hidden" libraries, object files and flags are used when
12894 # linking a shared library.
12895 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12898 # FIXME: insert proper C++ library support
12906 # FIXME: insert proper C++ library support
12911 case $cc_basename in
12914 # FIXME: insert proper C++ library support
12919 # FIXME: insert proper C++ library support
12923 # FIXME: insert proper C++ library support
12930 case $cc_basename in
12932 # Sun C++ 4.2, 5.x and Centerline C++
12933 archive_cmds_need_lc_CXX
=yes
12934 no_undefined_flag_CXX
=' -zdefs'
12935 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12936 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12937 $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'
12939 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12940 hardcode_shlibpath_var_CXX
=no
12942 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12944 # The compiler driver will combine and reorder linker options,
12945 # but understands `-z linker_flag'.
12946 # Supported since Solaris 2.6 (maybe 2.5.1?)
12947 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12950 link_all_deplibs_CXX
=yes
12952 output_verbose_link_cmd
='func_echo_all'
12954 # Archives containing C++ object files must be created using
12955 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12956 # necessary to make sure instantiated templates are included
12958 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12961 # Green Hills C++ Compiler
12962 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12964 # The C++ compiler must be used to create the archive.
12965 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12968 # GNU C++ compiler with Solaris linker
12969 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12970 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12971 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
12972 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12973 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12974 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12976 # Commands to make compiler produce verbose output that lists
12977 # what "hidden" libraries, object files and flags are used when
12978 # linking a shared library.
12979 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12981 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12983 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12984 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12985 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12987 # Commands to make compiler produce verbose output that lists
12988 # what "hidden" libraries, object files and flags are used when
12989 # linking a shared library.
12990 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12993 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12995 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12997 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13005 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13006 no_undefined_flag_CXX
='${wl}-z,text'
13007 archive_cmds_need_lc_CXX
=no
13008 hardcode_shlibpath_var_CXX
=no
13009 runpath_var
='LD_RUN_PATH'
13011 case $cc_basename in
13013 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13014 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13017 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13018 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13023 sysv5
* | sco3.2v5
* | sco5v6
*)
13024 # Note: We can NOT use -z defs as we might desire, because we do not
13025 # link with -lc, and that would cause any symbols used from libc to
13026 # always be unresolved, which means just about no library would
13027 # ever link correctly. If we're not using GNU ld we use -z text
13028 # though, which does catch some bad symbols but isn't as heavy-handed
13030 no_undefined_flag_CXX
='${wl}-z,text'
13031 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13032 archive_cmds_need_lc_CXX
=no
13033 hardcode_shlibpath_var_CXX
=no
13034 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13035 hardcode_libdir_separator_CXX
=':'
13036 link_all_deplibs_CXX
=yes
13037 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13038 runpath_var
='LD_RUN_PATH'
13040 case $cc_basename in
13042 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13043 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13044 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13045 '"$old_archive_cmds_CXX"
13046 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13047 '"$reload_cmds_CXX"
13050 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13051 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13057 case $cc_basename in
13059 # NonStop-UX NCC 3.20
13060 # FIXME: insert proper C++ library support
13064 # FIXME: insert proper C++ library support
13071 # FIXME: insert proper C++ library support
13076 # FIXME: insert proper C++ library support
13081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13082 $as_echo "$ld_shlibs_CXX" >&6; }
13083 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13089 ## There is no encapsulation within the following macros, do not change
13090 ## the running order or otherwise move them around unless you know exactly
13091 ## what you are doing...
13092 # Dependencies to place before and after the object being linked:
13093 predep_objects_CXX
=
13094 postdep_objects_CXX
=
13097 compiler_lib_search_path_CXX
=
13099 cat > conftest.
$ac_ext <<_LT_EOF
13103 Foo (void) { a = 0; }
13109 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13110 (eval $ac_compile) 2>&5
13112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13113 test $ac_status = 0; }; then
13114 # Parse the compiler output and extract the necessary
13115 # objects, libraries and library flags.
13117 # Sentinel used to keep track of whether or not we are before
13118 # the conftest object file.
13119 pre_test_object_deps_done
=no
13121 for p
in `eval "$output_verbose_link_cmd"`; do
13125 # Some compilers place space between "-{L,R}" and the path.
13126 # Remove the space.
13127 if test $p = "-L" ||
13128 test $p = "-R"; then
13135 if test "$pre_test_object_deps_done" = no
; then
13138 # Internal compiler library paths should come after those
13139 # provided the user. The postdeps already come after the
13140 # user supplied libs so there is no need to process them.
13141 if test -z "$compiler_lib_search_path_CXX"; then
13142 compiler_lib_search_path_CXX
="${prev}${p}"
13144 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13147 # The "-l" case would never come before the object being
13148 # linked, so don't bother handling this case.
13151 if test -z "$postdeps_CXX"; then
13152 postdeps_CXX
="${prev}${p}"
13154 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13160 # This assumes that the test object file only shows up
13161 # once in the compiler output.
13162 if test "$p" = "conftest.$objext"; then
13163 pre_test_object_deps_done
=yes
13167 if test "$pre_test_object_deps_done" = no
; then
13168 if test -z "$predep_objects_CXX"; then
13169 predep_objects_CXX
="$p"
13171 predep_objects_CXX
="$predep_objects_CXX $p"
13174 if test -z "$postdep_objects_CXX"; then
13175 postdep_objects_CXX
="$p"
13177 postdep_objects_CXX
="$postdep_objects_CXX $p"
13182 *) ;; # Ignore the rest.
13190 echo "libtool.m4: error: problem compiling CXX test program"
13193 $RM -f confest.
$objext
13195 # PORTME: override above test on systems where it is broken
13198 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13199 # hack all around it, let's just trust "g++" to DTRT.
13200 predep_objects_CXX
=
13201 postdep_objects_CXX
=
13206 case `$CC -V 2>&1 | sed 5q` in
13210 # The more standards-conforming stlport4 library is
13211 # incompatible with the Cstd library. Avoid specifying
13212 # it if it's in CXXFLAGS. Ignore libCrun as
13213 # -library=stlport4 depends on it.
13214 case " $CXX $CXXFLAGS " in
13215 *" -library=stlport4 "*)
13216 solaris_use_stlport4
=yes
13220 if test "$solaris_use_stlport4" != yes; then
13221 postdeps_CXX
='-library=Cstd -library=Crun'
13228 case $cc_basename in
13230 # The more standards-conforming stlport4 library is
13231 # incompatible with the Cstd library. Avoid specifying
13232 # it if it's in CXXFLAGS. Ignore libCrun as
13233 # -library=stlport4 depends on it.
13234 case " $CXX $CXXFLAGS " in
13235 *" -library=stlport4 "*)
13236 solaris_use_stlport4
=yes
13240 # Adding this requires a known-good setup of shared libraries for
13241 # Sun compiler versions before 5.6, else PIC objects from an old
13242 # archive will be linked into the output, leading to subtle bugs.
13243 if test "$solaris_use_stlport4" != yes; then
13244 postdeps_CXX
='-library=Cstd -library=Crun'
13252 case " $postdeps_CXX " in
13253 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13255 compiler_lib_search_dirs_CXX
=
13256 if test -n "${compiler_lib_search_path_CXX}"; then
13257 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13290 lt_prog_compiler_wl_CXX
=
13291 lt_prog_compiler_pic_CXX
=
13292 lt_prog_compiler_static_CXX
=
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13295 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13297 # C++ specific cases for pic, static, wl, etc.
13298 if test "$GXX" = yes; then
13299 lt_prog_compiler_wl_CXX
='-Wl,'
13300 lt_prog_compiler_static_CXX
='-static'
13304 # All AIX code is PIC.
13305 if test "$host_cpu" = ia64
; then
13306 # AIX 5 now supports IA64 processor
13307 lt_prog_compiler_static_CXX
='-Bstatic'
13309 lt_prog_compiler_pic_CXX
='-fPIC'
13315 # see comment about AmigaOS4 .so support
13316 lt_prog_compiler_pic_CXX
='-fPIC'
13319 # FIXME: we need at least 68020 code to build shared libraries, but
13320 # adding the `-m68020' flag to GCC prevents building anything better,
13322 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13327 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13328 # PIC is the default for these OSes.
13330 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13331 # This hack is so that the source file can tell whether it is being
13332 # built for inclusion in a dll (and should export symbols for example).
13333 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13334 # (--disable-auto-import) libraries
13335 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13337 darwin
* | rhapsody
*)
13338 # PIC is the default on this platform
13339 # Common symbols not allowed in MH_DYLIB files
13340 lt_prog_compiler_pic_CXX
='-fno-common'
13343 # DJGPP does not support shared libraries at all
13344 lt_prog_compiler_pic_CXX
=
13347 # PIC is the default for Haiku.
13348 # The "-static" flag exists, but is broken.
13349 lt_prog_compiler_static_CXX
=
13352 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13353 # Instead, we relocate shared libraries at runtime.
13356 if test -d /usr
/nec
; then
13357 lt_prog_compiler_pic_CXX
=-Kconform_pic
13361 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13362 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13363 # sets the default TLS model and affects inlining.
13368 lt_prog_compiler_pic_CXX
='-fPIC'
13373 # QNX uses GNU C++, but need to define -shared option too, otherwise
13374 # it will coredump.
13375 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13378 lt_prog_compiler_pic_CXX
='-fPIC'
13384 # All AIX code is PIC.
13385 if test "$host_cpu" = ia64
; then
13386 # AIX 5 now supports IA64 processor
13387 lt_prog_compiler_static_CXX
='-Bstatic'
13389 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13393 case $cc_basename in
13395 # Green Hills C++ Compiler
13396 # _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"
13401 case $cc_basename in
13403 lt_prog_compiler_pic_CXX
='-KPIC'
13406 # Green Hills C++ Compiler
13407 lt_prog_compiler_pic_CXX
='-pic'
13413 freebsd
* | dragonfly
*)
13414 # FreeBSD uses GNU C++
13416 hpux9
* | hpux10
* | hpux11
*)
13417 case $cc_basename in
13419 lt_prog_compiler_wl_CXX
='-Wl,'
13420 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13421 if test "$host_cpu" != ia64
; then
13422 lt_prog_compiler_pic_CXX
='+Z'
13426 lt_prog_compiler_wl_CXX
='-Wl,'
13427 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13433 lt_prog_compiler_pic_CXX
='+Z'
13442 # This is c89, which is MS Visual C++ (no shared libs)
13443 # Anyone wants to do a port?
13445 irix5
* | irix6
* | nonstopux
*)
13446 case $cc_basename in
13448 lt_prog_compiler_wl_CXX
='-Wl,'
13449 lt_prog_compiler_static_CXX
='-non_shared'
13450 # CC pic flag -KPIC is the default.
13456 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13457 case $cc_basename in
13460 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13461 lt_prog_compiler_pic_CXX
='-fPIC'
13464 # old Intel C++ for x86_64 which still supported -KPIC.
13465 lt_prog_compiler_wl_CXX
='-Wl,'
13466 lt_prog_compiler_pic_CXX
='-KPIC'
13467 lt_prog_compiler_static_CXX
='-static'
13470 # Intel C++, used to be incompatible with GCC.
13471 # ICC 10 doesn't accept -KPIC any more.
13472 lt_prog_compiler_wl_CXX
='-Wl,'
13473 lt_prog_compiler_pic_CXX
='-fPIC'
13474 lt_prog_compiler_static_CXX
='-static'
13477 # Portland Group C++ compiler
13478 lt_prog_compiler_wl_CXX
='-Wl,'
13479 lt_prog_compiler_pic_CXX
='-fpic'
13480 lt_prog_compiler_static_CXX
='-Bstatic'
13484 # Make sure the PIC flag is empty. It appears that all Alpha
13485 # Linux and Compaq Tru64 Unix objects are PIC.
13486 lt_prog_compiler_pic_CXX
=
13487 lt_prog_compiler_static_CXX
='-non_shared'
13489 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
13490 # IBM XL 8.0, 9.0 on PPC and BlueGene
13491 lt_prog_compiler_wl_CXX
='-Wl,'
13492 lt_prog_compiler_pic_CXX
='-qpic'
13493 lt_prog_compiler_static_CXX
='-qstaticlink'
13496 case `$CC -V 2>&1 | sed 5q` in
13499 lt_prog_compiler_pic_CXX
='-KPIC'
13500 lt_prog_compiler_static_CXX
='-Bstatic'
13501 lt_prog_compiler_wl_CXX
='-Qoption ld '
13512 case $cc_basename in
13514 lt_prog_compiler_pic_CXX
='-W c,exportall'
13523 # QNX uses GNU C++, but need to define -shared option too, otherwise
13524 # it will coredump.
13525 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13527 osf3
* | osf4
* | osf5
*)
13528 case $cc_basename in
13530 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13533 # Rational C++ 2.4.1
13534 lt_prog_compiler_pic_CXX
='-pic'
13537 # Digital/Compaq C++
13538 lt_prog_compiler_wl_CXX
='-Wl,'
13539 # Make sure the PIC flag is empty. It appears that all Alpha
13540 # Linux and Compaq Tru64 Unix objects are PIC.
13541 lt_prog_compiler_pic_CXX
=
13542 lt_prog_compiler_static_CXX
='-non_shared'
13551 case $cc_basename in
13553 # Sun C++ 4.2, 5.x and Centerline C++
13554 lt_prog_compiler_pic_CXX
='-KPIC'
13555 lt_prog_compiler_static_CXX
='-Bstatic'
13556 lt_prog_compiler_wl_CXX
='-Qoption ld '
13559 # Green Hills C++ Compiler
13560 lt_prog_compiler_pic_CXX
='-PIC'
13567 case $cc_basename in
13570 lt_prog_compiler_pic_CXX
='-pic'
13571 lt_prog_compiler_static_CXX
='-Bstatic'
13575 lt_prog_compiler_pic_CXX
='-pic'
13581 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13582 case $cc_basename in
13584 lt_prog_compiler_wl_CXX
='-Wl,'
13585 lt_prog_compiler_pic_CXX
='-KPIC'
13586 lt_prog_compiler_static_CXX
='-Bstatic'
13591 case $cc_basename in
13593 # NonStop-UX NCC 3.20
13594 lt_prog_compiler_pic_CXX
='-KPIC'
13603 lt_prog_compiler_can_build_shared_CXX
=no
13609 # For platforms which do not support PIC, -DPIC is meaningless:
13611 lt_prog_compiler_pic_CXX
=
13614 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13618 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13623 # Check to make sure the PIC flag actually works.
13625 if test -n "$lt_prog_compiler_pic_CXX"; then
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13627 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13628 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
13629 $as_echo_n "(cached) " >&6
13631 lt_cv_prog_compiler_pic_works_CXX
=no
13632 ac_outfile
=conftest.
$ac_objext
13633 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13634 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13635 # Insert the option either (1) after the last *FLAGS variable, or
13636 # (2) before a word containing "conftest.", or (3) at the end.
13637 # Note that $ac_compile itself does not contain backslashes and begins
13638 # with a dollar sign (not a hyphen), so the echo should work correctly.
13639 # The option is referenced via a variable to avoid confusing sed.
13640 lt_compile
=`echo "$ac_compile" | $SED \
13641 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13642 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13643 -e 's:$: $lt_compiler_flag:'`
13644 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13645 (eval "$lt_compile" 2>conftest.err
)
13647 cat conftest.err
>&5
13648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13649 if (exit $ac_status) && test -s "$ac_outfile"; then
13650 # The compiler can only warn and ignore the option if not recognized
13651 # So say no if there are warnings other than the usual output.
13652 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13653 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13654 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13655 lt_cv_prog_compiler_pic_works_CXX
=yes
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13662 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13664 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13665 case $lt_prog_compiler_pic_CXX in
13667 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13670 lt_prog_compiler_pic_CXX
=
13671 lt_prog_compiler_can_build_shared_CXX
=no
13679 # Check to make sure the static flag actually works.
13681 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13683 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13684 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
13685 $as_echo_n "(cached) " >&6
13687 lt_cv_prog_compiler_static_works_CXX
=no
13688 save_LDFLAGS
="$LDFLAGS"
13689 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13690 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13691 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13692 # The linker can only warn and ignore the option if not recognized
13693 # So say no if there are warnings
13694 if test -s conftest.err
; then
13695 # Append any errors to the config.log.
13696 cat conftest.err
1>&5
13697 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13698 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13699 if diff conftest.exp conftest.er2
>/dev
/null
; then
13700 lt_cv_prog_compiler_static_works_CXX
=yes
13703 lt_cv_prog_compiler_static_works_CXX
=yes
13707 LDFLAGS
="$save_LDFLAGS"
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13711 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13713 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13716 lt_prog_compiler_static_CXX
=
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13723 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13724 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
13725 $as_echo_n "(cached) " >&6
13727 lt_cv_prog_compiler_c_o_CXX
=no
13728 $RM -r conftest
2>/dev
/null
13732 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13734 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13735 # Insert the option either (1) after the last *FLAGS variable, or
13736 # (2) before a word containing "conftest.", or (3) at the end.
13737 # Note that $ac_compile itself does not contain backslashes and begins
13738 # with a dollar sign (not a hyphen), so the echo should work correctly.
13739 lt_compile
=`echo "$ac_compile" | $SED \
13740 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13741 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13742 -e 's:$: $lt_compiler_flag:'`
13743 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13744 (eval "$lt_compile" 2>out
/conftest.err
)
13746 cat out
/conftest.err
>&5
13747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13748 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13750 # The compiler can only warn and ignore the option if not recognized
13751 # So say no if there are warnings
13752 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13753 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13754 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13755 lt_cv_prog_compiler_c_o_CXX
=yes
13760 # SGI C++ compiler will create directory out/ii_files/ for
13761 # template instantiation
13762 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13763 $RM out
/* && rmdir out
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13770 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13775 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13776 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
13777 $as_echo_n "(cached) " >&6
13779 lt_cv_prog_compiler_c_o_CXX
=no
13780 $RM -r conftest
2>/dev
/null
13784 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13786 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13787 # Insert the option either (1) after the last *FLAGS variable, or
13788 # (2) before a word containing "conftest.", or (3) at the end.
13789 # Note that $ac_compile itself does not contain backslashes and begins
13790 # with a dollar sign (not a hyphen), so the echo should work correctly.
13791 lt_compile
=`echo "$ac_compile" | $SED \
13792 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13793 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13794 -e 's:$: $lt_compiler_flag:'`
13795 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13796 (eval "$lt_compile" 2>out
/conftest.err
)
13798 cat out
/conftest.err
>&5
13799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13800 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13802 # The compiler can only warn and ignore the option if not recognized
13803 # So say no if there are warnings
13804 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13805 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13806 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13807 lt_cv_prog_compiler_c_o_CXX
=yes
13812 # SGI C++ compiler will create directory out/ii_files/ for
13813 # template instantiation
13814 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13815 $RM out
/* && rmdir out
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13822 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13827 hard_links
="nottested"
13828 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13829 # do not overwrite the value of need_locks provided by the user
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13831 $as_echo_n "checking if we can lock with hard links... " >&6; }
13834 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13836 ln conftest.a conftest.b
2>&5 || hard_links
=no
13837 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13839 $as_echo "$hard_links" >&6; }
13840 if test "$hard_links" = no
; then
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13842 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13852 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13854 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13857 # If we're using GNU nm, then we don't want the "-C" option.
13858 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13859 # Also, AIX nm treats weak defined symbols like other global defined
13860 # symbols, whereas GNU nm marks them as "W".
13861 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13862 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'
13864 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'
13868 export_symbols_cmds_CXX
="$ltdll_cmds"
13870 cygwin
* | mingw
* | cegcc
*)
13871 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'
13874 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13877 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13880 $as_echo "$ld_shlibs_CXX" >&6; }
13881 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13883 with_gnu_ld_CXX
=$with_gnu_ld
13891 # Do we need to explicitly link libc?
13893 case "x$archive_cmds_need_lc_CXX" in
13895 # Assume -lc should be added
13896 archive_cmds_need_lc_CXX
=yes
13898 if test "$enable_shared" = yes && test "$GCC" = yes; then
13899 case $archive_cmds_CXX in
13901 # FIXME: we may have to deal with multi-command sequences.
13904 # Test whether the compiler implicitly links with -lc since on some
13905 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13906 # to ld, don't add -lc before -lgcc.
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13908 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13909 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
13910 $as_echo_n "(cached) " >&6
13913 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13915 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13916 (eval $ac_compile) 2>&5
13918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13919 test $ac_status = 0; } 2>conftest.err
; then
13922 libobjs
=conftest.
$ac_objext
13924 wl
=$lt_prog_compiler_wl_CXX
13925 pic_flag
=$lt_prog_compiler_pic_CXX
13931 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13932 allow_undefined_flag_CXX
=
13933 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13934 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13937 test $ac_status = 0; }
13939 lt_cv_archive_cmds_need_lc_CXX
=no
13941 lt_cv_archive_cmds_need_lc_CXX
=yes
13943 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13945 cat conftest.err
1>&5
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
13951 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
13952 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14023 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14025 library_names_spec
=
14026 libname_spec
='lib$name'
14030 postuninstall_cmds
=
14034 shlibpath_overrides_runpath
=unknown
14036 dynamic_linker
="$host_os ld.so"
14037 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14038 need_lib_prefix
=unknown
14039 hardcode_into_libs
=no
14041 # when you set need_version to no, make sure it does not cause -set_version
14042 # flags to be left without arguments
14043 need_version
=unknown
14048 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14049 shlibpath_var
=LIBPATH
14051 # AIX 3 has no versioning support, so we append a major version to the name.
14052 soname_spec
='${libname}${release}${shared_ext}$major'
14059 hardcode_into_libs
=yes
14060 if test "$host_cpu" = ia64
; then
14061 # AIX 5 supports IA64
14062 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14063 shlibpath_var
=LD_LIBRARY_PATH
14065 # With GCC up to 2.95.x, collect2 would create an import file
14066 # for dependence libraries. The import file would start with
14067 # the line `#! .'. This would cause the generated library to
14068 # depend on `.', always an invalid library. This was fixed in
14069 # development snapshots of GCC prior to 3.0.
14071 aix4 | aix4.
[01] | aix4.
[01].
*)
14072 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14074 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14077 can_build_shared
=no
14081 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14082 # soname into executable. Probably we can add versioning support to
14083 # collect2, so additional links can be useful in future.
14084 if test "$aix_use_runtimelinking" = yes; then
14085 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14086 # instead of lib<name>.a to let people know that these are not
14087 # typical AIX shared libraries.
14088 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14090 # We preserve .a as extension for shared libraries through AIX4.2
14091 # and later when we are not doing run time linking.
14092 library_names_spec
='${libname}${release}.a $libname.a'
14093 soname_spec
='${libname}${release}${shared_ext}$major'
14095 shlibpath_var
=LIBPATH
14102 # Since July 2007 AmigaOS4 officially supports .so libraries.
14103 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14104 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14107 library_names_spec
='$libname.ixlibrary $libname.a'
14108 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14109 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'
14115 library_names_spec
='${libname}${shared_ext}'
14116 dynamic_linker
="$host_os ld.so"
14117 shlibpath_var
=LIBRARY_PATH
14123 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14124 soname_spec
='${libname}${release}${shared_ext}$major'
14125 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14126 shlibpath_var
=LD_LIBRARY_PATH
14127 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14128 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14129 # the default ld.so.conf also contains /usr/contrib/lib and
14130 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14131 # libtool to hard-code these into programs
14134 cygwin
* | mingw
* | pw32
* | cegcc
*)
14135 version_type
=windows
14140 case $GCC,$host_os in
14141 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14142 library_names_spec
='$libname.dll.a'
14143 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14144 postinstall_cmds
='base_file=`basename \${file}`~
14145 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14146 dldir=$destdir/`dirname \$dlpath`~
14147 test -d \$dldir || mkdir -p \$dldir~
14148 $install_prog $dir/$dlname \$dldir/$dlname~
14149 chmod a+x \$dldir/$dlname~
14150 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14151 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14153 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14154 dlpath=$dir/\$dldll~
14156 shlibpath_overrides_runpath
=yes
14160 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14161 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14165 # MinGW DLLs use traditional 'lib' prefix
14166 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14169 # pw32 DLLs use 'pw' prefix rather than 'lib'
14170 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14176 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14179 dynamic_linker
='Win32 ld.exe'
14180 # FIXME: first we should search . and the directory the executable is in
14184 darwin
* | rhapsody
*)
14185 dynamic_linker
="$host_os dyld"
14186 version_type
=darwin
14189 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14190 soname_spec
='${libname}${release}${major}$shared_ext'
14191 shlibpath_overrides_runpath
=yes
14192 shlibpath_var
=DYLD_LIBRARY_PATH
14193 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14195 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14202 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14203 soname_spec
='${libname}${release}${shared_ext}$major'
14204 shlibpath_var
=LD_LIBRARY_PATH
14207 freebsd
* | dragonfly
*)
14208 # DragonFly does not have aout. When/if they implement a new
14209 # versioning mechanism, adjust this.
14210 if test -x /usr
/bin
/objformat
; then
14211 objformat
=`/usr/bin/objformat`
14214 freebsd
[23].
*) objformat
=aout
;;
14215 *) objformat
=elf
;;
14218 version_type
=freebsd-
$objformat
14219 case $version_type in
14221 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14226 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14230 shlibpath_var
=LD_LIBRARY_PATH
14233 shlibpath_overrides_runpath
=yes
14235 freebsd3.
[01]* | freebsdelf3.
[01]*)
14236 shlibpath_overrides_runpath
=yes
14237 hardcode_into_libs
=yes
14239 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14240 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14241 shlibpath_overrides_runpath
=no
14242 hardcode_into_libs
=yes
14244 *) # from 4.6 on, and DragonFly
14245 shlibpath_overrides_runpath
=yes
14246 hardcode_into_libs
=yes
14255 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14256 soname_spec
='${libname}${release}${shared_ext}$major'
14257 shlibpath_var
=LD_LIBRARY_PATH
14258 hardcode_into_libs
=yes
14265 dynamic_linker
="$host_os runtime_loader"
14266 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14267 soname_spec
='${libname}${release}${shared_ext}$major'
14268 shlibpath_var
=LIBRARY_PATH
14269 shlibpath_overrides_runpath
=yes
14270 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14271 hardcode_into_libs
=yes
14274 hpux9
* | hpux10
* | hpux11
*)
14275 # Give a soname corresponding to the major version so that dld.sl refuses to
14276 # link against other versions.
14283 hardcode_into_libs
=yes
14284 dynamic_linker
="$host_os dld.so"
14285 shlibpath_var
=LD_LIBRARY_PATH
14286 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14287 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14288 soname_spec
='${libname}${release}${shared_ext}$major'
14289 if test "X$HPUX_IA64_MODE" = X32
; then
14290 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14292 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14294 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14298 hardcode_into_libs
=yes
14299 dynamic_linker
="$host_os dld.sl"
14300 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14301 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14302 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14303 soname_spec
='${libname}${release}${shared_ext}$major'
14304 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14305 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14309 dynamic_linker
="$host_os dld.sl"
14310 shlibpath_var
=SHLIB_PATH
14311 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14312 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14313 soname_spec
='${libname}${release}${shared_ext}$major'
14316 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14317 postinstall_cmds
='chmod 555 $lib'
14318 # or fails outright, so override atomically:
14319 install_override_mode
=555
14326 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14327 soname_spec
='${libname}${release}${shared_ext}$major'
14328 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14329 shlibpath_var
=LD_LIBRARY_PATH
14330 shlibpath_overrides_runpath
=no
14331 hardcode_into_libs
=yes
14334 irix5
* | irix6
* | nonstopux
*)
14336 nonstopux
*) version_type
=nonstopux
;;
14338 if test "$lt_cv_prog_gnu_ld" = yes; then
14346 soname_spec
='${libname}${release}${shared_ext}$major'
14347 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14349 irix5
* | nonstopux
*)
14350 libsuff
= shlibsuff
=
14353 case $LD in # libtool.m4 will add one of these switches to LD
14354 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14355 libsuff
= shlibsuff
= libmagic
=32-bit;;
14356 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14357 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14358 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14359 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14360 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14364 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14365 shlibpath_overrides_runpath
=no
14366 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14367 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14368 hardcode_into_libs
=yes
14371 # No shared lib support for Linux oldld, aout, or coff.
14372 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14376 # This must be Linux ELF.
14378 # uclinux* changes (here and below) have been submitted to the libtool
14379 # project, but have not yet been accepted: they are GCC-local changes
14380 # for the time being. (See
14381 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
14382 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
14386 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14387 soname_spec
='${libname}${release}${shared_ext}$major'
14388 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14389 shlibpath_var
=LD_LIBRARY_PATH
14390 shlibpath_overrides_runpath
=no
14392 # Some binutils ld are patched to set DT_RUNPATH
14393 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
14394 $as_echo_n "(cached) " >&6
14396 lt_cv_shlibpath_overrides_runpath
=no
14397 save_LDFLAGS
=$LDFLAGS
14398 save_libdir
=$libdir
14399 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14400 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14402 /* end confdefs.h. */
14412 if ac_fn_cxx_try_link
"$LINENO"; then :
14413 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14414 lt_cv_shlibpath_overrides_runpath
=yes
14417 rm -f core conftest.err conftest.
$ac_objext \
14418 conftest
$ac_exeext conftest.
$ac_ext
14419 LDFLAGS
=$save_LDFLAGS
14420 libdir
=$save_libdir
14424 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14426 # This implies no fast_install, which is unacceptable.
14427 # Some rework will be needed to allow for fast_install
14428 # before this can be enabled.
14429 hardcode_into_libs
=yes
14431 # Append ld.so.conf contents to the search path
14432 if test -f /etc
/ld.so.conf
; then
14433 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' ' '`
14434 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14437 # We used to test for /lib/ld.so.1 and disable shared libraries on
14438 # powerpc, because MkLinux only supported shared libraries with the
14439 # GNU dynamic linker. Since this was broken with cross compilers,
14440 # most powerpc-linux boxes support dynamic linking these days and
14441 # people can always --disable-shared, the test was removed, and we
14442 # assume the GNU/Linux dynamic linker is in use.
14443 dynamic_linker
='GNU/Linux ld.so'
14450 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14451 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14452 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14453 dynamic_linker
='NetBSD (a.out) ld.so'
14455 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14456 soname_spec
='${libname}${release}${shared_ext}$major'
14457 dynamic_linker
='NetBSD ld.elf_so'
14459 shlibpath_var
=LD_LIBRARY_PATH
14460 shlibpath_overrides_runpath
=yes
14461 hardcode_into_libs
=yes
14466 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14467 shlibpath_var
=LD_LIBRARY_PATH
14468 shlibpath_overrides_runpath
=yes
14475 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14476 soname_spec
='${libname}${release}${shared_ext}$major'
14477 shlibpath_var
=LD_LIBRARY_PATH
14478 shlibpath_overrides_runpath
=no
14479 hardcode_into_libs
=yes
14480 dynamic_linker
='ldqnx.so'
14485 sys_lib_dlsearch_path_spec
="/usr/lib"
14487 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14489 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14490 *) need_version
=no
;;
14492 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14493 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14494 shlibpath_var
=LD_LIBRARY_PATH
14495 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14497 openbsd2.
[89] | openbsd2.
[89].
*)
14498 shlibpath_overrides_runpath
=no
14501 shlibpath_overrides_runpath
=yes
14505 shlibpath_overrides_runpath
=yes
14510 libname_spec
='$name'
14513 library_names_spec
='$libname${shared_ext} $libname.a'
14514 dynamic_linker
='OS/2 ld.exe'
14515 shlibpath_var
=LIBPATH
14518 osf3
* | osf4
* | osf5
*)
14522 soname_spec
='${libname}${release}${shared_ext}$major'
14523 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14524 shlibpath_var
=LD_LIBRARY_PATH
14525 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14526 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14537 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14538 soname_spec
='${libname}${release}${shared_ext}$major'
14539 shlibpath_var
=LD_LIBRARY_PATH
14540 shlibpath_overrides_runpath
=yes
14541 hardcode_into_libs
=yes
14542 # ldd complains unless libraries are executable
14543 postinstall_cmds
='chmod +x $lib'
14548 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14549 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14550 shlibpath_var
=LD_LIBRARY_PATH
14551 shlibpath_overrides_runpath
=yes
14552 if test "$with_gnu_ld" = yes; then
14560 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14561 soname_spec
='${libname}${release}${shared_ext}$major'
14562 shlibpath_var
=LD_LIBRARY_PATH
14563 case $host_vendor in
14565 shlibpath_overrides_runpath
=no
14567 runpath_var
=LD_RUN_PATH
14575 shlibpath_overrides_runpath
=no
14576 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14582 if test -d /usr
/nec
;then
14584 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14585 soname_spec
='$libname${shared_ext}.$major'
14586 shlibpath_var
=LD_LIBRARY_PATH
14590 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14591 version_type
=freebsd-elf
14594 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14595 soname_spec
='${libname}${release}${shared_ext}$major'
14596 shlibpath_var
=LD_LIBRARY_PATH
14597 shlibpath_overrides_runpath
=yes
14598 hardcode_into_libs
=yes
14599 if test "$with_gnu_ld" = yes; then
14600 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14602 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14605 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14609 sys_lib_dlsearch_path_spec
='/usr/lib'
14613 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14617 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14618 shlibpath_var
=LD_LIBRARY_PATH
14619 shlibpath_overrides_runpath
=no
14620 hardcode_into_libs
=yes
14625 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14626 soname_spec
='${libname}${release}${shared_ext}$major'
14627 shlibpath_var
=LD_LIBRARY_PATH
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14635 $as_echo "$dynamic_linker" >&6; }
14636 test "$dynamic_linker" = no
&& can_build_shared
=no
14638 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14639 if test "$GCC" = yes; then
14640 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14643 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14644 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14646 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14647 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14688 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14689 hardcode_action_CXX
=
14690 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14691 test -n "$runpath_var_CXX" ||
14692 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14694 # We can hardcode non-existent directories.
14695 if test "$hardcode_direct_CXX" != no
&&
14696 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14697 # have to relink, otherwise we might link with an installed library
14698 # when we should be linking with a yet-to-be-installed one
14699 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14700 test "$hardcode_minus_L_CXX" != no
; then
14701 # Linking always hardcodes the temporary library directory.
14702 hardcode_action_CXX
=relink
14704 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14705 hardcode_action_CXX
=immediate
14708 # We cannot hardcode anything, or else we can only hardcode existing
14710 hardcode_action_CXX
=unsupported
14712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14713 $as_echo "$hardcode_action_CXX" >&6; }
14715 if test "$hardcode_action_CXX" = relink ||
14716 test "$inherit_rpath_CXX" = yes; then
14717 # Fast installation is not supported
14718 enable_fast_install
=no
14719 elif test "$shlibpath_overrides_runpath" = yes ||
14720 test "$enable_shared" = no
; then
14721 # Fast installation is not necessary
14722 enable_fast_install
=needless
14731 fi # test -n "$compiler"
14737 with_gnu_ld
=$lt_save_with_gnu_ld
14738 lt_cv_path_LDCXX
=$lt_cv_path_LD
14739 lt_cv_path_LD
=$lt_save_path_LD
14740 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14741 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14742 fi # test "$_lt_caught_CXX_error" != yes
14745 ac_cpp
='$CPP $CPPFLAGS'
14746 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14747 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14748 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14762 ac_config_commands
="$ac_config_commands libtool"
14767 # Only expand once:
14770 # Forbid libtool to hardcode RPATH, because we want to be able to specify
14771 # library search directory using LD_LIBRARY_PATH
14772 hardcode_into_libs
=no
14778 if test $enable_shared = yes; then
14779 link_offloadmic_host
="-loffloadmic_host %{static: $LIBS}"
14780 link_offloadmic_target
="-loffloadmic_target %{static: $LIBS}"
14782 link_offloadmic_host
="-loffloadmic_host $LIBS"
14783 link_offloadmic_target
="-loffloadmic_target $LIBS"
14788 # Determine what GCC version number to use in filesystem paths.
14790 get_gcc_base_ver
="cat"
14792 # Check whether --with-gcc-major-version-only was given.
14793 if test "${with_gcc_major_version_only+set}" = set; then :
14794 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
14795 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
14804 cat >confcache
<<\_ACEOF
14805 # This file is a shell script that caches the results of configure
14806 # tests run on this system so they can be shared between configure
14807 # scripts and configure runs, see configure's option --config-cache.
14808 # It is not useful on other systems. If it contains results you don't
14809 # want to keep, you may remove or edit it.
14811 # config.status only pays attention to the cache file if you give it
14812 # the --recheck option to rerun configure.
14814 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14815 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14816 # following values.
14820 # The following way of writing the cache mishandles newlines in values,
14821 # but we know of no workaround that is simple, portable, and efficient.
14822 # So, we kill variables containing newlines.
14823 # Ultrix sh set writes to stderr and can't be redirected directly,
14824 # and sets the high bit in the cache file unless we assign to the vars.
14826 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14827 eval ac_val
=\$
$ac_var
14831 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14832 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14835 _ | IFS | as_nl
) ;; #(
14836 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14837 *) { eval $ac_var=; unset $ac_var;} ;;
14843 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14844 *${as_nl}ac_space
=\
*)
14845 # `set' does not quote correctly, so add quotes: double-quote
14846 # substitution turns \\\\ into \\, and sed turns \\ into \.
14849 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14852 # `set' quotes correctly as required by POSIX, so do not add quotes.
14853 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14862 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14864 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14866 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14867 if test -w "$cache_file"; then
14868 if test "x$cache_file" != "x/dev/null"; then
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14870 $as_echo "$as_me: updating cache $cache_file" >&6;}
14871 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14872 cat confcache
>"$cache_file"
14874 case $cache_file in #(
14876 mv -f confcache
"$cache_file"$$
&&
14877 mv -f "$cache_file"$$
"$cache_file" ;; #(
14879 mv -f confcache
"$cache_file" ;;
14884 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14885 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14890 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14891 # Let make expand exec_prefix.
14892 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14894 # Transform confdefs.h into DEFS.
14895 # Protect against shell expansion while executing Makefile rules.
14896 # Protect against Makefile macro expansion.
14898 # If the first sed substitution is executed (which looks for macros that
14899 # take arguments), then branch to the quote section. Otherwise,
14900 # look for a macro that doesn't take arguments.
14910 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14912 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14916 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
14929 DEFS
=`sed -n "$ac_script" confdefs.h`
14935 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14936 # 1. Remove the extension, and $U if already installed.
14937 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14938 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14939 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14940 # will be set to the directory where LIBOBJS objects are built.
14941 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14942 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14944 LIBOBJS
=$ac_libobjs
14946 LTLIBOBJS
=$ac_ltlibobjs
14949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14950 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14951 if test -n "$am_sleep_pid"; then
14952 # Hide warnings about reused PIDs.
14953 wait $am_sleep_pid 2>/dev
/null
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14956 $as_echo "done" >&6; }
14957 if test -n "$EXEEXT"; then
14959 am__EXEEXT_FALSE
='#'
14961 am__EXEEXT_TRUE
='#'
14965 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14966 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
14967 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14969 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14970 as_fn_error $?
"conditional \"AMDEP\" was never defined.
14971 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14973 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14974 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
14975 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14977 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
14978 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
14979 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14981 if test -z "${LIBOFFLOADMIC_HOST_TRUE}" && test -z "${LIBOFFLOADMIC_HOST_FALSE}"; then
14982 as_fn_error $?
"conditional \"LIBOFFLOADMIC_HOST\" was never defined.
14983 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14986 : "${CONFIG_STATUS=./config.status}"
14988 ac_clean_files_save
=$ac_clean_files
14989 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14991 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14993 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14995 # Generated by $as_me.
14996 # Run this file to recreate the current configuration.
14997 # Compiler output produced by configure, useful for debugging
14998 # configure, is in config.log if it exists.
15001 ac_cs_recheck=false
15004 SHELL=\${CONFIG_SHELL-$SHELL}
15007 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15008 ## -------------------- ##
15009 ## M4sh Initialization. ##
15010 ## -------------------- ##
15012 # Be more Bourne compatible
15013 DUALCASE
=1; export DUALCASE
# for MKS sh
15014 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15017 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15018 # is contrary to our usage. Disable this feature.
15019 alias -g '${1+"$@"}'='"$@"'
15020 setopt NO_GLOB_SUBST
15022 case `(set -o) 2>/dev/null` in #(
15034 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15035 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15036 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15037 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15038 # Prefer a ksh shell builtin over an external printf program on Solaris,
15039 # but without wasting forks for bash or zsh.
15040 if test -z "$BASH_VERSION$ZSH_VERSION" \
15041 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15042 as_echo='print
-r --'
15043 as_echo_n='print
-rn --'
15044 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15045 as_echo='printf %s
\n'
15046 as_echo_n='printf %s
'
15048 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15049 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15050 as_echo_n='/usr
/ucb
/echo -n'
15052 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15053 as_echo_n_body='eval
15057 expr "X$arg" : "X\\(.*\\)$as_nl";
15058 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15060 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15062 export as_echo_n_body
15063 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15065 export as_echo_body
15066 as_echo='sh
-c $as_echo_body as_echo
'
15069 # The user is always right.
15070 if test "${PATH_SEPARATOR+set}" != set; then
15072 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15073 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15080 # We need space, tab and new line, in precisely that order. Quoting is
15081 # there to prevent editors from complaining about space-tab.
15082 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15083 # splitting by setting IFS to empty value.)
15086 # Find who we are. Look in the path if we contain no directory separator.
15089 *[\\/]* ) as_myself=$0 ;;
15090 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15091 for as_dir in $PATH
15094 test -z "$as_dir" && as_dir=.
15095 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15101 # We did not find ourselves, most probably we were run as `sh COMMAND'
15102 # in which case we are not to be found in the path.
15103 if test "x$as_myself" = x
; then
15106 if test ! -f "$as_myself"; then
15107 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15111 # Unset variables that we do not need and which cause bugs (e.g. in
15112 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15113 # suppresses any "Segmentation fault" message there. '((' could
15114 # trigger a bug in pdksh 5.2.14.
15115 for as_var
in BASH_ENV ENV MAIL MAILPATH
15116 do eval test x\
${$as_var+set} = xset \
15117 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15130 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15133 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15134 # ----------------------------------------
15135 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15136 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15137 # script with STATUS, using 1 if that was 0.
15140 as_status
=$1; test $as_status -eq 0 && as_status
=1
15142 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15143 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15145 $as_echo "$as_me: error: $2" >&2
15146 as_fn_exit
$as_status
15150 # as_fn_set_status STATUS
15151 # -----------------------
15152 # Set $? to STATUS, without forking.
15153 as_fn_set_status
()
15156 } # as_fn_set_status
15158 # as_fn_exit STATUS
15159 # -----------------
15160 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15164 as_fn_set_status
$1
15170 # Portably unset VAR.
15173 { eval $1=; unset $1;}
15175 as_unset
=as_fn_unset
15176 # as_fn_append VAR VALUE
15177 # ----------------------
15178 # Append the text in VALUE to the end of the definition contained in VAR. Take
15179 # advantage of any shell optimizations that allow amortized linear growth over
15180 # repeated appends, instead of the typical quadratic growth present in naive
15182 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15183 eval 'as_fn_append ()
15194 # as_fn_arith ARG...
15195 # ------------------
15196 # Perform arithmetic evaluation on the ARGs, and store the result in the
15197 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15198 # must be portable across $(()) and expr.
15199 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15200 eval 'as_fn_arith ()
15207 as_val
=`expr "$@" || test $? -eq 1`
15212 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15213 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15219 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15220 as_basename
=basename
15225 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15231 as_me
=`$as_basename -- "$0" ||
15232 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15233 X"$0" : 'X\(//\)$' \| \
15234 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15236 sed '/^.*\/\([^/][^/]*\)\/*$/{
15250 # Avoid depending upon Character Ranges.
15251 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15252 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15253 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15254 as_cr_digits
='0123456789'
15255 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15257 ECHO_C
= ECHO_N
= ECHO_T
=
15258 case `echo -n x` in #(((((
15260 case `echo 'xy\c'` in
15261 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15263 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15270 rm -f conf$$ conf$$.exe conf$$.
file
15271 if test -d conf$$.dir
; then
15272 rm -f conf$$.dir
/conf$$.
file
15275 mkdir conf$$.dir
2>/dev
/null
15277 if (echo >conf$$.
file) 2>/dev
/null
; then
15278 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15280 # ... but there are two gotchas:
15281 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15282 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15283 # In both cases, we have to default to `cp -pR'.
15284 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15286 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15294 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15295 rmdir conf$$.dir
2>/dev
/null
15300 # Create "$as_dir" as a directory, including parents if necessary.
15305 -*) as_dir
=.
/$as_dir;;
15307 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15311 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15312 *) as_qdir
=$as_dir;;
15314 as_dirs
="'$as_qdir' $as_dirs"
15315 as_dir
=`$as_dirname -- "$as_dir" ||
15316 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15317 X"$as_dir" : 'X\(//\)[^/]' \| \
15318 X"$as_dir" : 'X\(//\)$' \| \
15319 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15320 $as_echo X"$as_dir" |
15321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15325 /^X\(\/\/\)[^/].*/{
15338 test -d "$as_dir" && break
15340 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15341 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15345 if mkdir
-p .
2>/dev
/null
; then
15346 as_mkdir_p
='mkdir -p "$as_dir"'
15348 test -d .
/-p && rmdir .
/-p
15353 # as_fn_executable_p FILE
15354 # -----------------------
15355 # Test if FILE is an executable regular file.
15356 as_fn_executable_p
()
15358 test -f "$1" && test -x "$1"
15359 } # as_fn_executable_p
15360 as_test_x
='test -x'
15361 as_executable_p
=as_fn_executable_p
15363 # Sed expression to map a string onto a valid CPP name.
15364 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15366 # Sed expression to map a string onto a valid variable name.
15367 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15371 ## ----------------------------------- ##
15372 ## Main body of $CONFIG_STATUS script. ##
15373 ## ----------------------------------- ##
15375 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15377 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15378 # Save the log message, to keep $0 and so on meaningful, and to
15379 # report actual input values of CONFIG_FILES etc. instead of their
15380 # values after options handling.
15382 This file was extended by MIC Offload Runtime Library $as_me 1.0, which was
15383 generated by GNU Autoconf 2.69. Invocation command line was
15385 CONFIG_FILES = $CONFIG_FILES
15386 CONFIG_HEADERS = $CONFIG_HEADERS
15387 CONFIG_LINKS = $CONFIG_LINKS
15388 CONFIG_COMMANDS = $CONFIG_COMMANDS
15391 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15396 case $ac_config_files in *"
15397 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15402 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15403 # Files that config.status was made for.
15404 config_files="$ac_config_files"
15405 config_commands="$ac_config_commands"
15409 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15411 \`$as_me' instantiates files and other configuration actions
15412 from templates according to the current configuration. Unless the files
15413 and actions are specified as TAGs, all are instantiated by default.
15415 Usage: $0 [OPTION]... [TAG]...
15417 -h, --help print this help, then exit
15418 -V, --version print version number and configuration settings, then exit
15419 --config print configuration, then exit
15420 -q, --quiet, --silent
15421 do not print progress messages
15422 -d, --debug don't remove temporary files
15423 --recheck update $as_me by reconfiguring in the same conditions
15424 --file=FILE[:TEMPLATE]
15425 instantiate the configuration file FILE
15427 Configuration files:
15430 Configuration commands:
15433 Report bugs to the package provider."
15436 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15437 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15439 MIC Offload Runtime Library config.status 1.0
15440 configured by $0, generated by GNU Autoconf 2.69,
15441 with options \\"\$ac_cs_config\\"
15443 Copyright (C) 2012 Free Software Foundation, Inc.
15444 This config.status script is free software; the Free Software Foundation
15445 gives unlimited permission to copy, distribute and modify it."
15452 test -n "\$AWK" || AWK=awk
15455 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15456 # The default lists apply if the user does not specify any file.
15462 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15463 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15467 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15479 # Handling of the options.
15480 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15482 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15483 $as_echo "$ac_cs_version"; exit ;;
15484 --config |
--confi |
--conf |
--con |
--co |
--c )
15485 $as_echo "$ac_cs_config"; exit ;;
15486 --debug |
--debu |
--deb |
--de |
--d |
-d )
15488 --file |
--fil |
--fi |
--f )
15491 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15492 '') as_fn_error $?
"missing file argument" ;;
15494 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15495 ac_need_defaults
=false
;;
15496 --he |
--h |
--help |
--hel |
-h )
15497 $as_echo "$ac_cs_usage"; exit ;;
15498 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15499 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15502 # This is an error.
15503 -*) as_fn_error $?
"unrecognized option: \`$1'
15504 Try \`$0 --help' for more information." ;;
15506 *) as_fn_append ac_config_targets
" $1"
15507 ac_need_defaults
=false
;;
15513 ac_configure_extra_args
=
15515 if $ac_cs_silent; then
15517 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15522 if \$ac_cs_recheck; then
15523 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15525 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15526 CONFIG_SHELL='$SHELL'
15527 export CONFIG_SHELL
15532 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15536 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15537 ## Running $as_me. ##
15543 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15547 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15552 with_multisubdir="$with_multisubdir"
15553 with_multisrctop="$with_multisrctop"
15554 with_target_subdir="$with_target_subdir"
15555 ac_configure_args="${multilib_arg} ${ac_configure_args}"
15556 multi_basedir="$multi_basedir"
15557 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
15560 GFORTRAN="$GFORTRAN"
15564 # The HP-UX ksh and POSIX shell print the target directory to stdout
15565 # if CDPATH is set.
15566 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15568 sed_quote_subst='$sed_quote_subst'
15569 double_quote_subst='$double_quote_subst'
15570 delay_variable_subst='$delay_variable_subst'
15571 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15572 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15573 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15574 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15575 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15576 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15577 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15578 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15579 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15580 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15581 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15582 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15583 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15584 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15585 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15586 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15587 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15588 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15589 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15590 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15591 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15592 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15593 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15594 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15595 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15596 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15597 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15598 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15599 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15600 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15601 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15602 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15603 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15604 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15605 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15606 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15607 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15608 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15609 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15610 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15611 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15612 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15613 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15614 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15615 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15616 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15617 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15618 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15619 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"`'
15620 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15621 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15622 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15623 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15624 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15625 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15626 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15627 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15628 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15629 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15630 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15631 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15632 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15633 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15634 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15635 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15636 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15637 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15638 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15639 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15640 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15641 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15642 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15643 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15644 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15645 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15646 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15647 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15648 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15649 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15650 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15651 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15652 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15653 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15654 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15655 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15656 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15657 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15658 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15659 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15660 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15661 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15662 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15663 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15664 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15665 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15666 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15667 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15668 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15669 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15670 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15671 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15672 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15673 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15674 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15675 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15676 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15677 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15678 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15679 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15680 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15681 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15682 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15683 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15684 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15685 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15686 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15687 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15688 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15689 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15690 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15691 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
15692 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
15693 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
15694 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
15695 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
15696 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
15697 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
15698 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
15699 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15700 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15701 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
15702 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
15703 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
15704 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
15705 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
15706 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
15707 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
15708 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
15709 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
15710 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15711 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15712 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
15713 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15714 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15715 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15716 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15717 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15718 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15719 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
15720 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15721 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15722 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15723 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
15724 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
15725 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
15726 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
15727 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
15728 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
15729 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
15730 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
15731 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
15732 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
15733 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
15734 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15735 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15736 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15737 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15738 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
15739 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
15740 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
15741 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15742 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15743 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
15744 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
15745 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
15748 LTCFLAGS='$LTCFLAGS'
15749 compiler='$compiler_DEFAULT'
15751 # A function that is used when there is no print builtin or printf.
15752 func_fallback_echo ()
15754 eval 'cat <<_LTECHO_EOF
15759 # Quote evaled strings.
15773 deplibs_check_method \
15782 lt_cv_sys_global_symbol_pipe \
15783 lt_cv_sys_global_symbol_to_cdecl \
15784 lt_cv_sys_global_symbol_to_c_name_address \
15785 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15786 lt_prog_compiler_no_builtin_flag \
15787 lt_prog_compiler_wl \
15788 lt_prog_compiler_pic \
15789 lt_prog_compiler_static \
15790 lt_cv_prog_compiler_c_o \
15798 export_dynamic_flag_spec \
15799 whole_archive_flag_spec \
15800 compiler_needs_object \
15802 allow_undefined_flag \
15803 no_undefined_flag \
15804 hardcode_libdir_flag_spec \
15805 hardcode_libdir_flag_spec_ld \
15806 hardcode_libdir_separator \
15811 variables_saved_for_relink \
15813 library_names_spec \
15815 install_override_mode \
15819 compiler_lib_search_dirs \
15824 compiler_lib_search_path \
15828 lt_prog_compiler_no_builtin_flag_CXX \
15829 lt_prog_compiler_wl_CXX \
15830 lt_prog_compiler_pic_CXX \
15831 lt_prog_compiler_static_CXX \
15832 lt_cv_prog_compiler_c_o_CXX \
15833 export_dynamic_flag_spec_CXX \
15834 whole_archive_flag_spec_CXX \
15835 compiler_needs_object_CXX \
15837 allow_undefined_flag_CXX \
15838 no_undefined_flag_CXX \
15839 hardcode_libdir_flag_spec_CXX \
15840 hardcode_libdir_flag_spec_ld_CXX \
15841 hardcode_libdir_separator_CXX \
15842 fix_srcfile_path_CXX \
15843 exclude_expsyms_CXX \
15844 include_expsyms_CXX \
15845 file_list_spec_CXX \
15846 compiler_lib_search_dirs_CXX \
15847 predep_objects_CXX \
15848 postdep_objects_CXX \
15851 compiler_lib_search_path_CXX; do
15852 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15853 *[\\\\\\\`\\"\\\$]*)
15854 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15857 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15862 # Double-quote double-evaled strings.
15863 for var in reload_cmds \
15864 old_postinstall_cmds \
15865 old_postuninstall_cmds \
15867 extract_expsyms_cmds \
15868 old_archive_from_new_cmds \
15869 old_archive_from_expsyms_cmds \
15871 archive_expsym_cmds \
15873 module_expsym_cmds \
15874 export_symbols_cmds \
15877 postuninstall_cmds \
15879 sys_lib_search_path_spec \
15880 sys_lib_dlsearch_path_spec \
15882 old_archive_cmds_CXX \
15883 old_archive_from_new_cmds_CXX \
15884 old_archive_from_expsyms_cmds_CXX \
15886 archive_expsym_cmds_CXX \
15888 module_expsym_cmds_CXX \
15889 export_symbols_cmds_CXX \
15890 prelink_cmds_CXX; do
15891 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15892 *[\\\\\\\`\\"\\\$]*)
15893 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15896 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15901 ac_aux_dir='$ac_aux_dir'
15902 xsi_shell='$xsi_shell'
15903 lt_shell_append='$lt_shell_append'
15905 # See if we are running on zsh, and set the options which allow our
15906 # commands through without removal of \ escapes INIT.
15907 if test -n "\${ZSH_VERSION+set}" ; then
15908 setopt NO_GLOB_SUBST
15914 TIMESTAMP='$TIMESTAMP'
15925 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15927 # Handling of arguments.
15928 for ac_config_target
in $ac_config_targets
15930 case $ac_config_target in
15931 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15932 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15933 "liboffloadmic_host.spec") CONFIG_FILES
="$CONFIG_FILES liboffloadmic_host.spec" ;;
15934 "liboffloadmic_target.spec") CONFIG_FILES
="$CONFIG_FILES liboffloadmic_target.spec" ;;
15935 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
15936 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15938 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15943 # If the user did not use the arguments to specify the items to instantiate,
15944 # then the envvar interface is used. Set only those that are not.
15945 # We use the long form for the default assignment because of an extremely
15946 # bizarre bug on SunOS 4.1.3.
15947 if $ac_need_defaults; then
15948 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15949 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15952 # Have a temporary directory for convenience. Make it in the build tree
15953 # simply because there is no reason against having it here, and in addition,
15954 # creating and moving files from /tmp can sometimes cause problems.
15955 # Hook for its removal unless debugging.
15956 # Note that there is a small window in which the directory will not be cleaned:
15957 # after its creation but before its name has been assigned to `$tmp'.
15961 trap 'exit_status=$?
15962 : "${ac_tmp:=$tmp}"
15963 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15965 trap 'as_fn_exit 1' 1 2 13 15
15967 # Create a (secure) tmp directory for tmp files.
15970 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15974 tmp
=.
/conf$$
-$RANDOM
15975 (umask 077 && mkdir
"$tmp")
15976 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15979 # Set up the scripts for CONFIG_FILES section.
15980 # No need to generate them if there are no CONFIG_FILES.
15981 # This happens for instance with `./config.status config.h'.
15982 if test -n "$CONFIG_FILES"; then
15985 ac_cr
=`echo X | tr X '\015'`
15986 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15987 # But we know of no other shell where ac_cr would be empty at this
15988 # point, so we can use a bashism as a fallback.
15989 if test "x$ac_cr" = x
; then
15990 eval ac_cr
=\$
\'\\r
\'
15992 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15993 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15996 ac_cs_awk_cr
=$ac_cr
15999 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16004 echo "cat >conf$$subs.awk <<_ACEOF" &&
16005 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16007 } >conf$$subs.sh ||
16008 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16009 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16011 for ac_last_try in false false false false false :; do
16012 . ./conf$$subs.sh ||
16013 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16015 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16016 if test $ac_delim_n = $ac_delim_num; then
16018 elif $ac_last_try; then
16019 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16021 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16024 rm -f conf$$subs.sh
16026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16027 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16031 s/^/S["/; s
/!.
*/"]=/
16041 s/\(.\{148\}\)..*/\1/
16043 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16048 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16055 s/\(.\{148\}\)..*/\1/
16057 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16061 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16066 ' <conf$$subs.awk | sed '
16071 ' >>$CONFIG_STATUS || ac_write_fail=1
16072 rm -f conf$$subs.awk
16073 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16075 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16076 for (key in S) S_is_set[key] = 1
16082 nfields = split(line, field, "@
")
16084 len = length(field[1])
16085 for (i = 2; i < nfields; i++) {
16087 keylen = length(key)
16088 if (S_is_set[key]) {
16090 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16091 len += length(value) + length(field[++i])
16102 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16103 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16104 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16107 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16108 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16111 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16112 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16113 # trailing colons and then remove the whole line if VPATH becomes empty
16114 # (actually we leave an empty line to preserve line numbers).
16115 if test "x
$srcdir" = x.; then
16116 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16134 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16135 fi # test -n "$CONFIG_FILES"
16138 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
16143 :[FHLC]) ac_mode=$ac_tag; continue;;
16145 case $ac_mode$ac_tag in
16147 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
16148 :[FH]-) ac_tag=-:-;;
16149 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16166 -) ac_f="$ac_tmp/stdin";;
16167 *) # Look for the file first in the build tree, then in the source tree
16168 # (if the path is not absolute). The absolute path cannot be DOS-style,
16169 # because $ac_f cannot contain `:'.
16173 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16175 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16177 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
16178 as_fn_append ac_file_inputs " '$ac_f'"
16181 # Let's still pretend it is `configure' which instantiates (i.e., don't
16182 # use $as_me), people would be surprised to read:
16183 # /* config.h. Generated by config.status. */
16184 configure_input='Generated from '`
16185 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16187 if test x"$ac_file" != x-; then
16188 configure_input="$ac_file.
$configure_input"
16189 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
16190 $as_echo "$as_me: creating
$ac_file" >&6;}
16192 # Neutralize special characters interpreted by sed in replacement strings.
16193 case $configure_input in #(
16194 *\&* | *\|* | *\\* )
16195 ac_sed_conf_input=`$as_echo "$configure_input" |
16196 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16197 *) ac_sed_conf_input=$configure_input;;
16201 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
16202 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
16207 ac_dir=`$as_dirname -- "$ac_file" ||
16208 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16209 X"$ac_file" : 'X\(//\)[^/]' \| \
16210 X"$ac_file" : 'X\(//\)$' \| \
16211 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16212 $as_echo X"$ac_file" |
16213 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16217 /^X\(\/\/\)[^/].*/{
16230 as_dir="$ac_dir"; as_fn_mkdir_p
16234 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16236 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16237 # A "..
" for each directory in $ac_dir_suffix.
16238 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16239 case $ac_top_builddir_sub in
16240 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16241 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16244 ac_abs_top_builddir=$ac_pwd
16245 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16246 # for backward compatibility:
16247 ac_top_builddir=$ac_top_build_prefix
16250 .) # We are building in place.
16252 ac_top_srcdir=$ac_top_builddir_sub
16253 ac_abs_top_srcdir=$ac_pwd ;;
16254 [\\/]* | ?:[\\/]* ) # Absolute name.
16255 ac_srcdir=$srcdir$ac_dir_suffix;
16256 ac_top_srcdir=$srcdir
16257 ac_abs_top_srcdir=$srcdir ;;
16258 *) # Relative name.
16259 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16260 ac_top_srcdir=$ac_top_build_prefix$srcdir
16261 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16263 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16273 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16274 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16276 ac_MKDIR_P=$MKDIR_P
16278 [\\/$]* | ?:[\\/]* ) ;;
16279 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16284 # If the template does not know about datarootdir, expand it.
16285 # FIXME: This hack should be removed a few years after 2.60.
16286 ac_datarootdir_hack=; ac_datarootdir_seen=
16297 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
16298 *datarootdir*) ac_datarootdir_seen=yes;;
16299 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
16301 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
16303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16304 ac_datarootdir_hack='
16305 s&@datadir@&$datadir&g
16306 s&@docdir@&$docdir&g
16307 s&@infodir@&$infodir&g
16308 s&@localedir@&$localedir&g
16309 s&@mandir@&$mandir&g
16310 s&\\\${datarootdir}&$datarootdir&g' ;;
16314 # Neutralize VPATH when `$srcdir' = `.'.
16315 # Shell code in configure.ac might set extrasub.
16316 # FIXME: do we really want to maintain this feature?
16317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16318 ac_sed_extra="$ac_vpsub
16321 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16323 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16324 s|@configure_input@|
$ac_sed_conf_input|
;t t
16325 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16326 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16327 s
&@srcdir@
&$ac_srcdir&;t t
16328 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16329 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16330 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16331 s
&@builddir@
&$ac_builddir&;t t
16332 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16333 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16334 s
&@INSTALL@
&$ac_INSTALL&;t t
16335 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16336 $ac_datarootdir_hack
16338 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
16339 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16341 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16342 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16343 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16344 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16346 which seems to be undefined. Please make sure it is defined" >&5
16347 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16348 which seems to be undefined. Please make sure it is defined" >&2;}
16350 rm -f "$ac_tmp/stdin"
16352 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16353 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16355 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16359 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16360 $as_echo "$as_me: executing $ac_file commands" >&6;}
16365 case $ac_file$ac_mode in
16366 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16367 # Older Autoconf quotes --file arguments for eval, but not when files
16368 # are listed without --file. Let's play safe and only
enable the
eval
16369 # if we detect the quoting.
16370 case $CONFIG_FILES in
16371 *\'*) eval set x
"$CONFIG_FILES" ;;
16372 *) set x
$CONFIG_FILES ;;
16377 # Strip MF so we end up with the name of the file.
16378 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16379 # Check whether this is an Automake generated Makefile or not.
16380 # We used to match only the files named 'Makefile.in', but
16381 # some people rename them; so instead we look at the file content.
16382 # Grep'ing the first line is not enough: some people post-process
16383 # each Makefile.in and add a new line on top of each file to say so.
16384 # Grep'ing the whole file is not good either: AIX grep has a line
16385 # limit of 2048, but all sed's we know have understand at least 4000.
16386 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16387 dirpart
=`$as_dirname -- "$mf" ||
16388 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16389 X"$mf" : 'X\(//\)[^/]' \| \
16390 X"$mf" : 'X\(//\)$' \| \
16391 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16393 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16397 /^X\(\/\/\)[^/].*/{
16413 # Extract the definition of DEPDIR, am__include, and am__quote
16414 # from the Makefile without running 'make'.
16415 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16416 test -z "$DEPDIR" && continue
16417 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16418 test -z "$am__include" && continue
16419 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16420 # Find all dependency output files, they are included files with
16421 # $(DEPDIR) in their names. We invoke sed twice because it is the
16422 # simplest approach to changing $(DEPDIR) to its actual value in the
16424 for file in `sed -n "
16425 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16426 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16427 # Make sure the directory exists.
16428 test -f "$dirpart/$file" && continue
16429 fdir
=`$as_dirname -- "$file" ||
16430 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16431 X"$file" : 'X\(//\)[^/]' \| \
16432 X"$file" : 'X\(//\)$' \| \
16433 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16434 $as_echo X"$file" |
16435 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16439 /^X\(\/\/\)[^/].*/{
16452 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16453 # echo "creating $dirpart/$file"
16454 echo '# dummy' > "$dirpart/$file"
16460 # Only add multilib support code if we just rebuilt the top-level
16462 case " $CONFIG_FILES " in
16464 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
16469 # See if we are running on zsh, and set the options which allow our
16470 # commands through without removal of \ escapes.
16471 if test -n "${ZSH_VERSION+set}" ; then
16472 setopt NO_GLOB_SUBST
16475 cfgfile
="${ofile}T"
16476 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16479 cat <<_LT_EOF >> "$cfgfile"
16482 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16483 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16484 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16485 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16487 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16488 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16489 # Written by Gordon Matzigkeit, 1996
16491 # This file is part of GNU Libtool.
16493 # GNU Libtool is free software; you can redistribute it and/or
16494 # modify it under the terms of the GNU General Public License as
16495 # published by the Free Software Foundation; either version 2 of
16496 # the License, or (at your option) any later version.
16498 # As a special exception to the GNU General Public License,
16499 # if you distribute this file as part of a program or library that
16500 # is built using GNU Libtool, you may include this file under the
16501 # same distribution terms that you use for the rest of that program.
16503 # GNU Libtool is distributed in the hope that it will be useful,
16504 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16505 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16506 # GNU General Public License for more details.
16508 # You should have received a copy of the GNU General Public License
16509 # along with GNU Libtool; see the file COPYING. If not, a copy
16510 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16511 # obtained by writing to the Free Software Foundation, Inc.,
16512 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16515 # The names of the tagged configurations supported by this script.
16516 available_tags="CXX "
16518 # ### BEGIN LIBTOOL CONFIG
16520 # Which release of libtool.m4 was used?
16521 macro_version=$macro_version
16522 macro_revision=$macro_revision
16524 # Whether or not to build shared libraries.
16525 build_libtool_libs=$enable_shared
16527 # Whether or not to build static libraries.
16528 build_old_libs=$enable_static
16530 # What type of objects to build.
16533 # Whether or not to optimize for fast installation.
16534 fast_install=$enable_fast_install
16536 # Shell to use when invoking shell scripts.
16539 # An echo program that protects backslashes.
16543 host_alias=$host_alias
16547 # The build system.
16548 build_alias=$build_alias
16552 # A sed program that does not truncate output.
16555 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16556 Xsed="\$SED -e 1s/^X//"
16558 # A grep program that handles long lines.
16564 # A literal string matcher.
16567 # A BSD- or MS-compatible name lister.
16570 # Whether we need soft or hard links.
16573 # What is the maximum length of a command?
16574 max_cmd_len=$max_cmd_len
16576 # Object file suffix (normally "o").
16579 # Executable file suffix (normally "").
16582 # whether the shell understands "unset".
16585 # turn spaces into newlines.
16588 # turn newlines into spaces.
16591 # An object symbol dumper.
16592 OBJDUMP=$lt_OBJDUMP
16594 # Method to check whether dependent libraries are shared objects.
16595 deplibs_check_method=$lt_deplibs_check_method
16597 # Command to use when deplibs_check_method == "file_magic".
16598 file_magic_cmd=$lt_file_magic_cmd
16602 AR_FLAGS=$lt_AR_FLAGS
16604 # A symbol stripping program.
16607 # Commands used to install an old-style archive.
16609 old_postinstall_cmds=$lt_old_postinstall_cmds
16610 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16612 # Whether to use a lock for old archive extraction.
16613 lock_old_archive_extraction=$lock_old_archive_extraction
16618 # LTCC compiler flags.
16619 LTCFLAGS=$lt_CFLAGS
16621 # Take the output of nm and produce a listing of raw symbols and C names.
16622 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16624 # Transform the output of nm in a proper C declaration.
16625 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16627 # Transform the output of nm in a C name address pair.
16628 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16630 # Transform the output of nm in a C name address pair when lib prefix is needed.
16631 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16633 # The name of the directory that contains temporary libtool files.
16636 # Used to examine libraries when file_magic_cmd begins with "file".
16637 MAGIC_CMD=$MAGIC_CMD
16639 # Must we lock files when doing compilation?
16640 need_locks=$lt_need_locks
16642 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16643 DSYMUTIL=$lt_DSYMUTIL
16645 # Tool to change global to local symbols on Mac OS X.
16648 # Tool to manipulate fat objects and archives on Mac OS X.
16651 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16654 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16655 OTOOL64=$lt_OTOOL64
16657 # Old archive suffix (normally "a").
16660 # Shared library suffix (normally ".so").
16661 shrext_cmds=$lt_shrext_cmds
16663 # The commands to extract the exported symbol list from a shared archive.
16664 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16666 # Variables whose values should be saved in libtool wrapper scripts and
16667 # restored at link time.
16668 variables_saved_for_relink=$lt_variables_saved_for_relink
16670 # Do we need the "lib" prefix for modules?
16671 need_lib_prefix=$need_lib_prefix
16673 # Do we need a version for libraries?
16674 need_version=$need_version
16676 # Library versioning type.
16677 version_type=$version_type
16679 # Shared library runtime path variable.
16680 runpath_var=$runpath_var
16682 # Shared library path variable.
16683 shlibpath_var=$shlibpath_var
16685 # Is shlibpath searched before the hard-coded library search path?
16686 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16688 # Format of library name prefix.
16689 libname_spec=$lt_libname_spec
16691 # List of archive names. First name is the real one, the rest are links.
16692 # The last name is the one that the linker finds with -lNAME
16693 library_names_spec=$lt_library_names_spec
16695 # The coded name of the library, if different from the real name.
16696 soname_spec=$lt_soname_spec
16698 # Permission mode override for installation of shared libraries.
16699 install_override_mode=$lt_install_override_mode
16701 # Command to use after installation of a shared archive.
16702 postinstall_cmds=$lt_postinstall_cmds
16704 # Command to use after uninstallation of a shared archive.
16705 postuninstall_cmds=$lt_postuninstall_cmds
16707 # Commands used to finish a libtool library installation in a directory.
16708 finish_cmds=$lt_finish_cmds
16710 # As "finish_cmds", except a single script fragment to be evaled but
16712 finish_eval=$lt_finish_eval
16714 # Whether we should hardcode library paths into libraries.
16715 hardcode_into_libs=$hardcode_into_libs
16717 # Compile-time system search path for libraries.
16718 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16720 # Run-time system search path for libraries.
16721 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16723 # Whether dlopen is supported.
16724 dlopen_support=$enable_dlopen
16726 # Whether dlopen of programs is supported.
16727 dlopen_self=$enable_dlopen_self
16729 # Whether dlopen of statically linked programs is supported.
16730 dlopen_self_static=$enable_dlopen_self_static
16732 # Commands to strip libraries.
16733 old_striplib=$lt_old_striplib
16734 striplib=$lt_striplib
16737 # The linker used to build libraries.
16740 # How to create reloadable object files.
16741 reload_flag=$lt_reload_flag
16742 reload_cmds=$lt_reload_cmds
16744 # Commands used to build an old-style archive.
16745 old_archive_cmds=$lt_old_archive_cmds
16747 # A language specific compiler.
16750 # Is the compiler the GNU compiler?
16753 # Compiler flag to turn off builtin functions.
16754 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16756 # How to pass a linker flag through the compiler.
16757 wl=$lt_lt_prog_compiler_wl
16759 # Additional compiler flags for building library objects.
16760 pic_flag=$lt_lt_prog_compiler_pic
16762 # Compiler flag to prevent dynamic linking.
16763 link_static_flag=$lt_lt_prog_compiler_static
16765 # Does compiler simultaneously support -c and -o options?
16766 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16768 # Whether or not to add -lc for building shared libraries.
16769 build_libtool_need_lc=$archive_cmds_need_lc
16771 # Whether or not to disallow shared libs when runtime libs are static.
16772 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16774 # Compiler flag to allow reflexive dlopens.
16775 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16777 # Compiler flag to generate shared objects directly from archives.
16778 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16780 # Whether the compiler copes with passing no objects directly.
16781 compiler_needs_object=$lt_compiler_needs_object
16783 # Create an old-style archive from a shared archive.
16784 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16786 # Create a temporary old-style archive to link instead of a shared archive.
16787 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16789 # Commands used to build a shared archive.
16790 archive_cmds=$lt_archive_cmds
16791 archive_expsym_cmds=$lt_archive_expsym_cmds
16793 # Commands used to build a loadable module if different from building
16794 # a shared archive.
16795 module_cmds=$lt_module_cmds
16796 module_expsym_cmds=$lt_module_expsym_cmds
16798 # Whether we are building with GNU ld or not.
16799 with_gnu_ld=$lt_with_gnu_ld
16801 # Flag that allows shared libraries with undefined symbols to be built.
16802 allow_undefined_flag=$lt_allow_undefined_flag
16804 # Flag that enforces no undefined symbols.
16805 no_undefined_flag=$lt_no_undefined_flag
16807 # Flag to hardcode \$libdir into a binary during linking.
16808 # This must work even if \$libdir does not exist
16809 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16811 # If ld is used when linking, flag to hardcode \$libdir into a binary
16812 # during linking. This must work even if \$libdir does not exist.
16813 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16815 # Whether we need a single "-rpath" flag with a separated argument.
16816 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16818 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16819 # DIR into the resulting binary.
16820 hardcode_direct=$hardcode_direct
16822 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16823 # DIR into the resulting binary and the resulting library dependency is
16824 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16825 # library is relocated.
16826 hardcode_direct_absolute=$hardcode_direct_absolute
16828 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16829 # into the resulting binary.
16830 hardcode_minus_L=$hardcode_minus_L
16832 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16833 # into the resulting binary.
16834 hardcode_shlibpath_var=$hardcode_shlibpath_var
16836 # Set to "yes" if building a shared library automatically hardcodes DIR
16837 # into the library and all subsequent libraries and executables linked
16839 hardcode_automatic=$hardcode_automatic
16841 # Set to yes if linker adds runtime paths of dependent libraries
16842 # to runtime path list.
16843 inherit_rpath=$inherit_rpath
16845 # Whether libtool must link a program against all its dependency libraries.
16846 link_all_deplibs=$link_all_deplibs
16848 # Fix the shell variable \$srcfile for the compiler.
16849 fix_srcfile_path=$lt_fix_srcfile_path
16851 # Set to "yes" if exported symbols are required.
16852 always_export_symbols=$always_export_symbols
16854 # The commands to list exported symbols.
16855 export_symbols_cmds=$lt_export_symbols_cmds
16857 # Symbols that should not be listed in the preloaded symbols.
16858 exclude_expsyms=$lt_exclude_expsyms
16860 # Symbols that must always be exported.
16861 include_expsyms=$lt_include_expsyms
16863 # Commands necessary for linking programs (against libraries) with templates.
16864 prelink_cmds=$lt_prelink_cmds
16866 # Specify filename containing input files.
16867 file_list_spec=$lt_file_list_spec
16869 # How to hardcode a shared library path into an executable.
16870 hardcode_action=$hardcode_action
16872 # The directories searched by this compiler when creating a shared library.
16873 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
16875 # Dependencies to place before and after the objects being linked to
16876 # create a shared library.
16877 predep_objects=$lt_predep_objects
16878 postdep_objects=$lt_postdep_objects
16879 predeps=$lt_predeps
16880 postdeps=$lt_postdeps
16882 # The library search path used internally by the compiler when linking
16883 # a shared library.
16884 compiler_lib_search_path=$lt_compiler_lib_search_path
16886 # ### END LIBTOOL CONFIG
16892 cat <<\_LT_EOF
>> "$cfgfile"
16893 # AIX sometimes has problems with the GCC collect2 program. For some
16894 # reason, if we set the COLLECT_NAMES environment variable, the problems
16895 # vanish in a puff of smoke.
16896 if test "X${COLLECT_NAMES+set}" != Xset
; then
16898 export COLLECT_NAMES
16905 ltmain
="$ac_aux_dir/ltmain.sh"
16908 # We use sed instead of cat because bash on DJGPP gets confused if
16909 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16910 # text mode, it properly converts lines to CR/LF. This bash problem
16911 # is reportedly fixed, but why not run on old versions too?
16912 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16913 ||
(rm -f "$cfgfile"; exit 1)
16917 cat << \_LT_EOF
>> "$cfgfile"
16919 # func_dirname file append nondir_replacement
16920 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16921 # otherwise set result to NONDIR_REPLACEMENT.
16925 */*) func_dirname_result
="${1%/*}${2}" ;;
16926 * ) func_dirname_result
="${3}" ;;
16930 # func_basename file
16933 func_basename_result
="${1##*/}"
16936 # func_dirname_and_basename file append nondir_replacement
16937 # perform func_basename and func_dirname in a single function
16939 # dirname: Compute the dirname of FILE. If nonempty,
16940 # add APPEND to the result, otherwise set result
16941 # to NONDIR_REPLACEMENT.
16942 # value returned in "$func_dirname_result"
16943 # basename: Compute filename of FILE.
16944 # value retuned in "$func_basename_result"
16945 # Implementation must be kept synchronized with func_dirname
16946 # and func_basename. For efficiency, we do not delegate to
16947 # those functions but instead duplicate the functionality here.
16948 func_dirname_and_basename
()
16951 */*) func_dirname_result
="${1%/*}${2}" ;;
16952 * ) func_dirname_result
="${3}" ;;
16954 func_basename_result
="${1##*/}"
16957 # func_stripname prefix suffix name
16958 # strip PREFIX and SUFFIX off of NAME.
16959 # PREFIX and SUFFIX must not contain globbing or regex special
16960 # characters, hashes, percent signs, but SUFFIX may contain a leading
16961 # dot (in which case that matches only a dot).
16964 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16965 # positional parameters, so assign one to ordinary parameter first.
16966 func_stripname_result
=${3}
16967 func_stripname_result
=${func_stripname_result#"${1}"}
16968 func_stripname_result
=${func_stripname_result%"${2}"}
16974 func_opt_split_opt
=${1%%=*}
16975 func_opt_split_arg
=${1#*=}
16982 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16983 *) func_lo2o_result
=${1} ;;
16987 # func_xform libobj-or-source
16990 func_xform_result
=${1%.*}.lo
16993 # func_arith arithmetic-term...
16996 func_arith_result
=$
(( $
* ))
17000 # STRING may not start with a hyphen.
17003 func_len_result
=${#1}
17008 *) # Bourne compatible functions.
17009 cat << \_LT_EOF
>> "$cfgfile"
17011 # func_dirname file append nondir_replacement
17012 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17013 # otherwise set result to NONDIR_REPLACEMENT.
17016 # Extract subdirectory from the argument.
17017 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17018 if test "X$func_dirname_result" = "X${1}"; then
17019 func_dirname_result
="${3}"
17021 func_dirname_result
="$func_dirname_result${2}"
17025 # func_basename file
17028 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17032 # func_stripname prefix suffix name
17033 # strip PREFIX and SUFFIX off of NAME.
17034 # PREFIX and SUFFIX must not contain globbing or regex special
17035 # characters, hashes, percent signs, but SUFFIX may contain a leading
17036 # dot (in which case that matches only a dot).
17037 # func_strip_suffix prefix name
17041 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17042 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17047 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17048 my_sed_long_arg
='1s/^-[^=]*=//'
17053 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17054 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17060 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17063 # func_xform libobj-or-source
17066 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17069 # func_arith arithmetic-term...
17072 func_arith_result
=`expr "$@"`
17076 # STRING may not start with a hyphen.
17079 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17085 case $lt_shell_append in
17087 cat << \_LT_EOF
>> "$cfgfile"
17089 # func_append var value
17090 # Append VALUE to the end of shell variable VAR.
17098 cat << \_LT_EOF
>> "$cfgfile"
17100 # func_append var value
17101 # Append VALUE to the end of shell variable VAR.
17112 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17113 ||
(rm -f "$cfgfile"; exit 1)
17115 mv -f "$cfgfile" "$ofile" ||
17116 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17120 cat <<_LT_EOF >> "$ofile"
17122 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17124 # The linker used to build libraries.
17127 # How to create reloadable object files.
17128 reload_flag=$lt_reload_flag_CXX
17129 reload_cmds=$lt_reload_cmds_CXX
17131 # Commands used to build an old-style archive.
17132 old_archive_cmds=$lt_old_archive_cmds_CXX
17134 # A language specific compiler.
17135 CC=$lt_compiler_CXX
17137 # Is the compiler the GNU compiler?
17140 # Compiler flag to turn off builtin functions.
17141 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17143 # How to pass a linker flag through the compiler.
17144 wl=$lt_lt_prog_compiler_wl_CXX
17146 # Additional compiler flags for building library objects.
17147 pic_flag=$lt_lt_prog_compiler_pic_CXX
17149 # Compiler flag to prevent dynamic linking.
17150 link_static_flag=$lt_lt_prog_compiler_static_CXX
17152 # Does compiler simultaneously support -c and -o options?
17153 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17155 # Whether or not to add -lc for building shared libraries.
17156 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17158 # Whether or not to disallow shared libs when runtime libs are static.
17159 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17161 # Compiler flag to allow reflexive dlopens.
17162 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17164 # Compiler flag to generate shared objects directly from archives.
17165 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17167 # Whether the compiler copes with passing no objects directly.
17168 compiler_needs_object=$lt_compiler_needs_object_CXX
17170 # Create an old-style archive from a shared archive.
17171 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17173 # Create a temporary old-style archive to link instead of a shared archive.
17174 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17176 # Commands used to build a shared archive.
17177 archive_cmds=$lt_archive_cmds_CXX
17178 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17180 # Commands used to build a loadable module if different from building
17181 # a shared archive.
17182 module_cmds=$lt_module_cmds_CXX
17183 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17185 # Whether we are building with GNU ld or not.
17186 with_gnu_ld=$lt_with_gnu_ld_CXX
17188 # Flag that allows shared libraries with undefined symbols to be built.
17189 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17191 # Flag that enforces no undefined symbols.
17192 no_undefined_flag=$lt_no_undefined_flag_CXX
17194 # Flag to hardcode \$libdir into a binary during linking.
17195 # This must work even if \$libdir does not exist
17196 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17198 # If ld is used when linking, flag to hardcode \$libdir into a binary
17199 # during linking. This must work even if \$libdir does not exist.
17200 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17202 # Whether we need a single "-rpath" flag with a separated argument.
17203 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17205 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17206 # DIR into the resulting binary.
17207 hardcode_direct=$hardcode_direct_CXX
17209 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17210 # DIR into the resulting binary and the resulting library dependency is
17211 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17212 # library is relocated.
17213 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17215 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17216 # into the resulting binary.
17217 hardcode_minus_L=$hardcode_minus_L_CXX
17219 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17220 # into the resulting binary.
17221 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17223 # Set to "yes" if building a shared library automatically hardcodes DIR
17224 # into the library and all subsequent libraries and executables linked
17226 hardcode_automatic=$hardcode_automatic_CXX
17228 # Set to yes if linker adds runtime paths of dependent libraries
17229 # to runtime path list.
17230 inherit_rpath=$inherit_rpath_CXX
17232 # Whether libtool must link a program against all its dependency libraries.
17233 link_all_deplibs=$link_all_deplibs_CXX
17235 # Fix the shell variable \$srcfile for the compiler.
17236 fix_srcfile_path=$lt_fix_srcfile_path_CXX
17238 # Set to "yes" if exported symbols are required.
17239 always_export_symbols=$always_export_symbols_CXX
17241 # The commands to list exported symbols.
17242 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17244 # Symbols that should not be listed in the preloaded symbols.
17245 exclude_expsyms=$lt_exclude_expsyms_CXX
17247 # Symbols that must always be exported.
17248 include_expsyms=$lt_include_expsyms_CXX
17250 # Commands necessary for linking programs (against libraries) with templates.
17251 prelink_cmds=$lt_prelink_cmds_CXX
17253 # Specify filename containing input files.
17254 file_list_spec=$lt_file_list_spec_CXX
17256 # How to hardcode a shared library path into an executable.
17257 hardcode_action=$hardcode_action_CXX
17259 # The directories searched by this compiler when creating a shared library.
17260 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17262 # Dependencies to place before and after the objects being linked to
17263 # create a shared library.
17264 predep_objects=$lt_predep_objects_CXX
17265 postdep_objects=$lt_postdep_objects_CXX
17266 predeps=$lt_predeps_CXX
17267 postdeps=$lt_postdeps_CXX
17269 # The library search path used internally by the compiler when linking
17270 # a shared library.
17271 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17273 # ### END LIBTOOL TAG CONFIG: CXX
17284 ac_clean_files
=$ac_clean_files_save
17286 test $ac_write_fail = 0 ||
17287 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17290 # configure is writing to config.log, and then calls config.status.
17291 # config.status does its own redirection, appending to config.log.
17292 # Unfortunately, on DOS this fails, as config.log is still kept open
17293 # by configure, so config.status won't be able to write to it; its
17294 # output is simply discarded. So we exec the FD to /dev/null,
17295 # effectively closing config.log, so it can be properly (re)opened and
17296 # appended to by config.status. When coming back to configure, we
17297 # need to make the FD available again.
17298 if test "$no_create" != yes; then
17300 ac_config_status_args
=
17301 test "$silent" = yes &&
17302 ac_config_status_args
="$ac_config_status_args --quiet"
17304 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17306 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17307 # would make configure fail if this is the last instruction.
17308 $ac_cs_success || as_fn_exit
1
17312 # CONFIG_SUBDIRS section.
17314 if test "$no_recursion" != yes; then
17316 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
17317 # so they do not pile up.
17318 ac_sub_configure_args
=
17320 eval "set x $ac_configure_args"
17324 if test -n "$ac_prev"; then
17329 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
17330 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
17331 ac_prev
=cache_file
;;
17332 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
17333 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
17336 --config-cache |
-C)
17338 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
17340 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
17342 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
17344 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
17346 --disable-option-checking)
17350 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
17352 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
17356 # Always prepend --prefix to ensure using the same prefix
17357 # in subdir configurations.
17358 ac_arg
="--prefix=$prefix"
17360 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
17362 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
17365 if test "$silent" = yes; then
17366 ac_sub_configure_args
="--silent $ac_sub_configure_args"
17369 # Always prepend --disable-option-checking to silence warnings, since
17370 # different subdirs can have different --enable and --with options.
17371 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
17374 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
17376 # Do not complain, so a configure script can configure whichever
17377 # parts of a large source tree are present.
17378 test -d "$srcdir/$ac_dir" ||
continue
17380 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
17381 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
17382 $as_echo "$ac_msg" >&6
17383 as_dir
="$ac_dir"; as_fn_mkdir_p
17387 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17389 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17390 # A ".." for each directory in $ac_dir_suffix.
17391 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17392 case $ac_top_builddir_sub in
17393 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17394 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17397 ac_abs_top_builddir
=$ac_pwd
17398 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17399 # for backward compatibility:
17400 ac_top_builddir
=$ac_top_build_prefix
17403 .
) # We are building in place.
17405 ac_top_srcdir
=$ac_top_builddir_sub
17406 ac_abs_top_srcdir
=$ac_pwd ;;
17407 [\\/]* | ?
:[\\/]* ) # Absolute name.
17408 ac_srcdir
=$srcdir$ac_dir_suffix;
17409 ac_top_srcdir
=$srcdir
17410 ac_abs_top_srcdir
=$srcdir ;;
17411 *) # Relative name.
17412 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17413 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17414 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17416 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17421 # Check for guested configure; otherwise get Cygnus style configure.
17422 if test -f "$ac_srcdir/configure.gnu"; then
17423 ac_sub_configure
=$ac_srcdir/configure.gnu
17424 elif test -f "$ac_srcdir/configure"; then
17425 ac_sub_configure
=$ac_srcdir/configure
17426 elif test -f "$ac_srcdir/configure.in"; then
17427 # This should be Cygnus configure.
17428 ac_sub_configure
=$ac_aux_dir/configure
17430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
17431 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
17435 # The recursion is here.
17436 if test -n "$ac_sub_configure"; then
17437 # Make the cache file name correct relative to the subdirectory.
17438 case $cache_file in
17439 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
17440 *) # Relative name.
17441 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
17444 { $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
17445 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
17446 # The eval makes quoting arguments work.
17447 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
17448 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
17449 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
17455 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17457 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}