2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for MIC Offload Runtime Library 1.0.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev
/null
; then :
213 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
218 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir
=.
225 for as_base
in sh bash ksh sh5
; do
226 # Try only shells that exist, to save several forks.
227 as_shell
=$as_dir/$as_base
228 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 CONFIG_SHELL
=$as_shell as_have_required
=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
239 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
241 CONFIG_SHELL
=$SHELL as_have_required
=yes
246 if test "x$CONFIG_SHELL" != x
; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
256 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x
$as_have_required = xno
; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x
${ZSH_VERSION+set} = xset
; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL
=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE
= GREP_OPTIONS
=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir
=.
/$as_dir;;
329 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
333 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs
="'$as_qdir' $as_dirs"
337 as_dir
=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
363 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p
()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
406 as_val
=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status
=$1; test $as_status -eq 0 && as_status
=1
420 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit
$as_status
427 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
434 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
446 as_me
=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits
='0123456789'
470 as_cr_alnum
=$as_cr_Letters$as_cr_digits
473 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
474 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x
"$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec
=no
; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C
= ECHO_N
= ECHO_T
=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
521 rm -f conf$$ conf$$.exe conf$$.
file
522 if test -d conf$$.dir
; then
523 rm -f conf$$.dir
/conf$$.
file
526 mkdir conf$$.dir
2>/dev
/null
528 if (echo >conf$$.
file) 2>/dev
/null
; then
529 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
537 elif ln conf$$.
file conf$$
2>/dev
/null
; then
545 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
546 rmdir conf$$.dir
2>/dev
/null
548 if mkdir
-p .
2>/dev
/null
; then
549 as_mkdir_p
='mkdir -p "$as_dir"'
551 test -d .
/-p && rmdir .
/-p
556 as_executable_p
=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL
=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix
=/usr
/local
580 ac_config_libobj_dir
=.
587 # Identity of this package.
588 PACKAGE_NAME
='MIC Offload Runtime Library'
589 PACKAGE_TARNAME
='liboffloadmic'
590 PACKAGE_VERSION
='1.0'
591 PACKAGE_STRING
='MIC Offload Runtime Library 1.0'
595 enable_option_checking
=no
596 # Factoring default headers for most tests.
597 ac_includes_default
="\
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
609 # ifdef HAVE_STDLIB_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
632 ac_subst_vars
='am__EXEEXT_FALSE
637 link_offloadmic_target
659 LIBOFFLOADMIC_HOST_FALSE
660 LIBOFFLOADMIC_HOST_TRUE
691 MAINTAINER_MODE_FALSE
705 INSTALL_STRIP_PROGRAM
759 program_transform_name
772 enable_option_checking
774 enable_maintainer_mode
775 enable_dependency_tracking
777 enable_version_specific_runtime_libs
785 with_gcc_major_version_only
787 ac_precious_vars
='build_alias
800 ac_subdirs_all
='plugin'
802 # Initialize some variables set by options.
804 ac_init_version
=false
805 ac_unrecognized_opts
=
807 # The variables have the same names as the options, with
808 # dashes changed to underlines.
816 program_transform_name
=s
,x
,x
,
824 # Installation directory options.
825 # These are left unexpanded so users can "make install exec_prefix=/foo"
826 # and all the variables that are supposed to be based on exec_prefix
827 # by default will actually change.
828 # Use braces instead of parens because sh, perl, etc. also accept them.
829 # (The list follows the same order as the GNU Coding Standards.)
830 bindir
='${exec_prefix}/bin'
831 sbindir
='${exec_prefix}/sbin'
832 libexecdir
='${exec_prefix}/libexec'
833 datarootdir
='${prefix}/share'
834 datadir
='${datarootdir}'
835 sysconfdir
='${prefix}/etc'
836 sharedstatedir
='${prefix}/com'
837 localstatedir
='${prefix}/var'
838 includedir
='${prefix}/include'
839 oldincludedir
='/usr/include'
840 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
841 infodir
='${datarootdir}/info'
846 libdir
='${exec_prefix}/lib'
847 localedir
='${datarootdir}/locale'
848 mandir
='${datarootdir}/man'
854 # If the previous option needs an argument, assign it.
855 if test -n "$ac_prev"; then
856 eval $ac_prev=\
$ac_option
862 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
867 # Accept the important Cygnus configure options, so we can diagnose typos.
869 case $ac_dashdash$ac_option in
873 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
875 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
878 -build |
--build |
--buil |
--bui |
--bu)
879 ac_prev
=build_alias
;;
880 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
881 build_alias
=$ac_optarg ;;
883 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
884 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
885 ac_prev
=cache_file
;;
886 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
887 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
888 cache_file
=$ac_optarg ;;
891 cache_file
=config.cache
;;
893 -datadir |
--datadir |
--datadi |
--datad)
895 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
896 datadir
=$ac_optarg ;;
898 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
899 |
--dataroo |
--dataro |
--datar)
900 ac_prev
=datarootdir
;;
901 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
902 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
903 datarootdir
=$ac_optarg ;;
905 -disable-* |
--disable-*)
906 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
907 # Reject names that are not valid shell variable names.
908 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
909 as_fn_error $?
"invalid feature name: $ac_useropt"
910 ac_useropt_orig
=$ac_useropt
911 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
912 case $ac_user_opts in
916 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
917 ac_unrecognized_sep
=', ';;
919 eval enable_
$ac_useropt=no
;;
921 -docdir |
--docdir |
--docdi |
--doc |
--do)
923 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
926 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
928 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
931 -enable-* |
--enable-*)
932 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
933 # Reject names that are not valid shell variable names.
934 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
935 as_fn_error $?
"invalid feature name: $ac_useropt"
936 ac_useropt_orig
=$ac_useropt
937 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
938 case $ac_user_opts in
942 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
943 ac_unrecognized_sep
=', ';;
945 eval enable_
$ac_useropt=\
$ac_optarg ;;
947 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
948 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
949 |
--exec |
--exe |
--ex)
950 ac_prev
=exec_prefix
;;
951 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
952 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
953 |
--exec=* |
--exe=* |
--ex=*)
954 exec_prefix
=$ac_optarg ;;
956 -gas |
--gas |
--ga |
--g)
957 # Obsolete; use --with-gas.
960 -help |
--help |
--hel |
--he |
-h)
962 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
963 ac_init_help
=recursive
;;
964 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
965 ac_init_help
=short
;;
967 -host |
--host |
--hos |
--ho)
968 ac_prev
=host_alias
;;
969 -host=* |
--host=* |
--hos=* |
--ho=*)
970 host_alias
=$ac_optarg ;;
972 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
974 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
976 htmldir
=$ac_optarg ;;
978 -includedir |
--includedir |
--includedi |
--included |
--include \
979 |
--includ |
--inclu |
--incl |
--inc)
980 ac_prev
=includedir
;;
981 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
982 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
983 includedir
=$ac_optarg ;;
985 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
987 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
988 infodir
=$ac_optarg ;;
990 -libdir |
--libdir |
--libdi |
--libd)
992 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
995 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
996 |
--libexe |
--libex |
--libe)
997 ac_prev
=libexecdir
;;
998 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
999 |
--libexe=* |
--libex=* |
--libe=*)
1000 libexecdir
=$ac_optarg ;;
1002 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1003 ac_prev
=localedir
;;
1004 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1005 localedir
=$ac_optarg ;;
1007 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1008 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1009 ac_prev
=localstatedir
;;
1010 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1011 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1012 localstatedir
=$ac_optarg ;;
1014 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1016 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1017 mandir
=$ac_optarg ;;
1019 -nfp |
--nfp |
--nf)
1020 # Obsolete; use --without-fp.
1023 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1024 |
--no-cr |
--no-c |
-n)
1027 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1028 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1031 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1032 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1033 |
--oldin |
--oldi |
--old |
--ol |
--o)
1034 ac_prev
=oldincludedir
;;
1035 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1036 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1037 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1038 oldincludedir
=$ac_optarg ;;
1040 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1042 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1043 prefix
=$ac_optarg ;;
1045 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1046 |
--program-pre |
--program-pr |
--program-p)
1047 ac_prev
=program_prefix
;;
1048 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1049 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1050 program_prefix
=$ac_optarg ;;
1052 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1053 |
--program-suf |
--program-su |
--program-s)
1054 ac_prev
=program_suffix
;;
1055 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1056 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1057 program_suffix
=$ac_optarg ;;
1059 -program-transform-name |
--program-transform-name \
1060 |
--program-transform-nam |
--program-transform-na \
1061 |
--program-transform-n |
--program-transform- \
1062 |
--program-transform |
--program-transfor \
1063 |
--program-transfo |
--program-transf \
1064 |
--program-trans |
--program-tran \
1065 |
--progr-tra |
--program-tr |
--program-t)
1066 ac_prev
=program_transform_name
;;
1067 -program-transform-name=* |
--program-transform-name=* \
1068 |
--program-transform-nam=* |
--program-transform-na=* \
1069 |
--program-transform-n=* |
--program-transform-=* \
1070 |
--program-transform=* |
--program-transfor=* \
1071 |
--program-transfo=* |
--program-transf=* \
1072 |
--program-trans=* |
--program-tran=* \
1073 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1074 program_transform_name
=$ac_optarg ;;
1076 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1078 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1079 pdfdir
=$ac_optarg ;;
1081 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1083 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1086 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1087 |
-silent |
--silent |
--silen |
--sile |
--sil)
1090 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1092 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1094 sbindir
=$ac_optarg ;;
1096 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1097 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1098 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1100 ac_prev
=sharedstatedir
;;
1101 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1102 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1103 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1105 sharedstatedir
=$ac_optarg ;;
1107 -site |
--site |
--sit)
1109 -site=* |
--site=* |
--sit=*)
1112 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1114 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1115 srcdir
=$ac_optarg ;;
1117 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1118 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1119 ac_prev
=sysconfdir
;;
1120 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1121 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1122 sysconfdir
=$ac_optarg ;;
1124 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1125 ac_prev
=target_alias
;;
1126 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1127 target_alias
=$ac_optarg ;;
1129 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1132 -version |
--version |
--versio |
--versi |
--vers |
-V)
1133 ac_init_version
=: ;;
1136 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1137 # Reject names that are not valid shell variable names.
1138 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1139 as_fn_error $?
"invalid package name: $ac_useropt"
1140 ac_useropt_orig
=$ac_useropt
1141 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1142 case $ac_user_opts in
1146 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1147 ac_unrecognized_sep
=', ';;
1149 eval with_
$ac_useropt=\
$ac_optarg ;;
1151 -without-* |
--without-*)
1152 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1155 as_fn_error $?
"invalid package name: $ac_useropt"
1156 ac_useropt_orig
=$ac_useropt
1157 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1158 case $ac_user_opts in
1162 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1163 ac_unrecognized_sep
=', ';;
1165 eval with_
$ac_useropt=no
;;
1168 # Obsolete; use --with-x.
1171 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1172 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1173 ac_prev
=x_includes
;;
1174 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1175 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1176 x_includes
=$ac_optarg ;;
1178 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1179 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1180 ac_prev
=x_libraries
;;
1181 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1182 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1183 x_libraries
=$ac_optarg ;;
1185 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1186 Try \`$0 --help' for more information"
1190 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1191 # Reject names that are not valid shell variable names.
1192 case $ac_envvar in #(
1193 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1194 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1196 eval $ac_envvar=\
$ac_optarg
1197 export $ac_envvar ;;
1200 # FIXME: should be removed in autoconf 3.0.
1201 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1202 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1203 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1204 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1210 if test -n "$ac_prev"; then
1211 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1212 as_fn_error $?
"missing argument to $ac_option"
1215 if test -n "$ac_unrecognized_opts"; then
1216 case $enable_option_checking in
1218 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1219 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1223 # Check all directory arguments for consistency.
1224 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1225 datadir sysconfdir sharedstatedir localstatedir includedir \
1226 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1227 libdir localedir mandir
1229 eval ac_val
=\$
$ac_var
1230 # Remove trailing slashes.
1233 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1234 eval $ac_var=\
$ac_val;;
1236 # Be sure to have absolute directory names.
1238 [\\/$
]* | ?
:[\\/]* ) continue;;
1239 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1241 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1244 # There might be people who depend on the old broken behavior: `$host'
1245 # used to hold the argument of --host etc.
1246 # FIXME: To remove some day.
1249 target
=$target_alias
1251 # FIXME: To remove some day.
1252 if test "x$host_alias" != x
; then
1253 if test "x$build_alias" = x
; then
1254 cross_compiling
=maybe
1255 elif test "x$build_alias" != "x$host_alias"; then
1261 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1263 test "$silent" = yes && exec 6>/dev
/null
1266 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1267 ac_ls_di
=`ls -di .` &&
1268 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1269 as_fn_error $?
"working directory cannot be determined"
1270 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1271 as_fn_error $?
"pwd does not report name of working directory"
1274 # Find the source files, if location was not specified.
1275 if test -z "$srcdir"; then
1276 ac_srcdir_defaulted
=yes
1277 # Try the directory containing this script, then the parent directory.
1278 ac_confdir
=`$as_dirname -- "$as_myself" ||
1279 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1280 X"$as_myself" : 'X\(//\)[^/]' \| \
1281 X"$as_myself" : 'X\(//\)$' \| \
1282 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1283 $as_echo X"$as_myself" |
1284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1302 if test ! -r "$srcdir/$ac_unique_file"; then
1306 ac_srcdir_defaulted
=no
1308 if test ! -r "$srcdir/$ac_unique_file"; then
1309 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1310 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1312 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1314 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1316 # When building in place, set srcdir=.
1317 if test "$ac_abs_confdir" = "$ac_pwd"; then
1320 # Remove unnecessary trailing slashes from srcdir.
1321 # Double slashes in file names in object file debugging info
1322 # mess up M-x gdb in Emacs.
1324 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1326 for ac_var
in $ac_precious_vars; do
1327 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1328 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1329 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1330 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1334 # Report the --help message.
1336 if test "$ac_init_help" = "long"; then
1337 # Omit some internal or obsolete options to make the list less imposing.
1338 # This message is too long to be a string in the A/UX 3.1 sh.
1340 \`configure' configures MIC Offload Runtime Library 1.0 to adapt to many kinds of systems.
1342 Usage: $0 [OPTION]... [VAR=VALUE]...
1344 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1345 VAR=VALUE. See below for descriptions of some of the useful variables.
1347 Defaults for the options are specified in brackets.
1350 -h, --help display this help and exit
1351 --help=short display options specific to this package
1352 --help=recursive display the short help of all the included packages
1353 -V, --version display version information and exit
1354 -q, --quiet, --silent do not print \`checking ...' messages
1355 --cache-file=FILE cache test results in FILE [disabled]
1356 -C, --config-cache alias for \`--cache-file=config.cache'
1357 -n, --no-create do not create output files
1358 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1360 Installation directories:
1361 --prefix=PREFIX install architecture-independent files in PREFIX
1362 [$ac_default_prefix]
1363 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1366 By default, \`make install' will install all the files in
1367 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1368 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1369 for instance \`--prefix=\$HOME'.
1371 For better control, use the options below.
1373 Fine tuning of the installation directories:
1374 --bindir=DIR user executables [EPREFIX/bin]
1375 --sbindir=DIR system admin executables [EPREFIX/sbin]
1376 --libexecdir=DIR program executables [EPREFIX/libexec]
1377 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1378 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1379 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1380 --libdir=DIR object code libraries [EPREFIX/lib]
1381 --includedir=DIR C header files [PREFIX/include]
1382 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1383 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1384 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1385 --infodir=DIR info documentation [DATAROOTDIR/info]
1386 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1387 --mandir=DIR man documentation [DATAROOTDIR/man]
1388 --docdir=DIR documentation root [DATAROOTDIR/doc/liboffloadmic]
1389 --htmldir=DIR html documentation [DOCDIR]
1390 --dvidir=DIR dvi documentation [DOCDIR]
1391 --pdfdir=DIR pdf documentation [DOCDIR]
1392 --psdir=DIR ps documentation [DOCDIR]
1398 --program-prefix=PREFIX prepend PREFIX to installed program names
1399 --program-suffix=SUFFIX append SUFFIX to installed program names
1400 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1403 --build=BUILD configure
for building on BUILD
[guessed
]
1404 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1405 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1409 if test -n "$ac_init_help"; then
1410 case $ac_init_help in
1411 short | recursive
) echo "Configuration of MIC Offload Runtime Library 1.0:";;
1416 --disable-option-checking ignore unrecognized
--enable/--with options
1417 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1418 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1419 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1420 --disable-silent-rules verbose build output
(undo
: "make V=0")
1421 --enable-maintainer-mode
1422 enable make rules and dependencies not useful
(and
1423 sometimes confusing
) to the casual installer
1424 --enable-dependency-tracking
1425 do not reject slow dependency extractors
1426 --disable-dependency-tracking
1427 speeds up one-time build
1428 --enable-multilib build many library versions
(default
)
1429 --enable-version-specific-runtime-libs
1430 Specify that runtime libraries should be installed
1431 in a compiler-specific directory
1432 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1433 --enable-static[=PKGS
] build static libraries
[default
=yes]
1434 --enable-fast-install[=PKGS
]
1435 optimize
for fast installation
[default
=yes]
1436 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1439 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1440 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1441 --with-toolexeclibdir=DIR
1442 install libraries built with a cross compiler within
1444 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1446 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1447 --with-gcc-major-version-only
1448 use only GCC major number
in filesystem paths
1450 Some influential environment variables
:
1451 CC C compiler
command
1452 CFLAGS C compiler flags
1453 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1454 nonstandard directory
<lib dir
>
1455 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1456 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1457 you have headers
in a nonstandard directory
<include dir
>
1458 CXX C
++ compiler
command
1459 CXXFLAGS C
++ compiler flags
1461 CXXCPP C
++ preprocessor
1463 Use these variables to override the choices made by
`configure' or to help
1464 it to find libraries and programs with nonstandard names/locations.
1466 Report bugs to the package provider.
1471 if test "$ac_init_help" = "recursive"; then
1472 # If there are subdirs, report their specific --help.
1473 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1474 test -d "$ac_dir" ||
1475 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1480 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1482 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1483 # A ".." for each directory in $ac_dir_suffix.
1484 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1485 case $ac_top_builddir_sub in
1486 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1487 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1490 ac_abs_top_builddir=$ac_pwd
1491 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1492 # for backward compatibility:
1493 ac_top_builddir=$ac_top_build_prefix
1496 .) # We are building in place.
1498 ac_top_srcdir=$ac_top_builddir_sub
1499 ac_abs_top_srcdir=$ac_pwd ;;
1500 [\\/]* | ?:[\\/]* ) # Absolute name.
1501 ac_srcdir=$srcdir$ac_dir_suffix;
1502 ac_top_srcdir=$srcdir
1503 ac_abs_top_srcdir=$srcdir ;;
1505 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1506 ac_top_srcdir=$ac_top_build_prefix$srcdir
1507 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1509 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1511 cd "$ac_dir" || { ac_status=$?; continue; }
1512 # Check for guested configure.
1513 if test -f "$ac_srcdir/configure.gnu"; then
1515 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1516 elif test -f "$ac_srcdir/configure"; then
1518 $SHELL "$ac_srcdir/configure" --help=recursive
1520 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1522 cd "$ac_pwd" || { ac_status=$?; break; }
1526 test -n "$ac_init_help" && exit $ac_status
1527 if $ac_init_version; then
1529 MIC Offload Runtime Library configure 1.0
1530 generated by GNU Autoconf 2.69
1532 Copyright (C) 2012 Free Software Foundation, Inc.
1533 This configure script is free software; the Free Software Foundation
1534 gives unlimited permission to copy, distribute and modify it.
1539 ## ------------------------ ##
1540 ## Autoconf initialization. ##
1541 ## ------------------------ ##
1543 # ac_fn_c_try_compile LINENO
1544 # --------------------------
1545 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1546 ac_fn_c_try_compile ()
1548 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1549 rm -f conftest.$ac_objext
1550 if { { ac_try="$ac_compile"
1552 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1553 *) ac_try_echo
=$ac_try;;
1555 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1556 $as_echo "$ac_try_echo"; } >&5
1557 (eval "$ac_compile") 2>conftest.err
1559 if test -s conftest.err
; then
1560 grep -v '^ *+' conftest.err
>conftest.er1
1561 cat conftest.er1
>&5
1562 mv -f conftest.er1 conftest.err
1564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1565 test $ac_status = 0; } && {
1566 test -z "$ac_c_werror_flag" ||
1567 test ! -s conftest.err
1568 } && test -s conftest.
$ac_objext; then :
1571 $as_echo "$as_me: failed program was:" >&5
1572 sed 's/^/| /' conftest.
$ac_ext >&5
1576 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1577 as_fn_set_status
$ac_retval
1579 } # ac_fn_c_try_compile
1581 # ac_fn_cxx_try_compile LINENO
1582 # ----------------------------
1583 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1584 ac_fn_cxx_try_compile
()
1586 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1587 rm -f conftest.
$ac_objext
1588 if { { ac_try
="$ac_compile"
1590 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1591 *) ac_try_echo=$ac_try;;
1593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1594 $as_echo "$ac_try_echo"; } >&5
1595 (eval "$ac_compile") 2>conftest.err
1597 if test -s conftest.err; then
1598 grep -v '^ *+' conftest.err >conftest.er1
1599 cat conftest.er1 >&5
1600 mv -f conftest.er1 conftest.err
1602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1603 test $ac_status = 0; } && {
1604 test -z "$ac_cxx_werror_flag" ||
1605 test ! -s conftest.err
1606 } && test -s conftest.$ac_objext; then :
1609 $as_echo "$as_me: failed program was:" >&5
1610 sed 's/^/| /' conftest.$ac_ext >&5
1614 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1615 as_fn_set_status $ac_retval
1617 } # ac_fn_cxx_try_compile
1619 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1620 # -------------------------------------------
1621 # Tests whether TYPE exists after having included INCLUDES, setting cache
1622 # variable VAR accordingly.
1623 ac_fn_c_check_type ()
1625 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1627 $as_echo_n "checking for $2... " >&6; }
1628 if eval \${$3+:} false; then :
1629 $as_echo_n "(cached) " >&6
1632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1633 /* end confdefs.h. */
1644 if ac_fn_c_try_compile "$LINENO"; then :
1645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1646 /* end confdefs.h. */
1657 if ac_fn_c_try_compile "$LINENO"; then :
1662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1668 $as_echo "$ac_res" >&6; }
1669 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1671 } # ac_fn_c_check_type
1673 # ac_fn_c_try_cpp LINENO
1674 # ----------------------
1675 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1679 if { { ac_try="$ac_cpp conftest.$ac_ext"
1681 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1682 *) ac_try_echo
=$ac_try;;
1684 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1685 $as_echo "$ac_try_echo"; } >&5
1686 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1688 if test -s conftest.err
; then
1689 grep -v '^ *+' conftest.err
>conftest.er1
1690 cat conftest.er1
>&5
1691 mv -f conftest.er1 conftest.err
1693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1694 test $ac_status = 0; } > conftest.i
&& {
1695 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1696 test ! -s conftest.err
1700 $as_echo "$as_me: failed program was:" >&5
1701 sed 's/^/| /' conftest.
$ac_ext >&5
1705 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1706 as_fn_set_status
$ac_retval
1710 # ac_fn_c_try_run LINENO
1711 # ----------------------
1712 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1713 # that executables *can* be run.
1716 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1717 if { { ac_try
="$ac_link"
1719 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1720 *) ac_try_echo=$ac_try;;
1722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1723 $as_echo "$ac_try_echo"; } >&5
1724 (eval "$ac_link") 2>&5
1726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1728 { { case "(($ac_try" in
1729 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1730 *) ac_try_echo
=$ac_try;;
1732 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1733 $as_echo "$ac_try_echo"; } >&5
1734 (eval "$ac_try") 2>&5
1736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1737 test $ac_status = 0; }; }; then :
1740 $as_echo "$as_me: program exited with status $ac_status" >&5
1741 $as_echo "$as_me: failed program was:" >&5
1742 sed 's/^/| /' conftest.
$ac_ext >&5
1744 ac_retval
=$ac_status
1746 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1747 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1748 as_fn_set_status
$ac_retval
1752 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1753 # -------------------------------------------------------
1754 # Tests whether HEADER exists and can be compiled using the include files in
1755 # INCLUDES, setting the cache variable VAR accordingly.
1756 ac_fn_c_check_header_compile
()
1758 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1760 $as_echo_n "checking for $2... " >&6; }
1761 if eval \
${$3+:} false
; then :
1762 $as_echo_n "(cached) " >&6
1764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1765 /* end confdefs.h. */
1769 if ac_fn_c_try_compile
"$LINENO"; then :
1774 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1778 $as_echo "$ac_res" >&6; }
1779 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1781 } # ac_fn_c_check_header_compile
1783 # ac_fn_c_try_link LINENO
1784 # -----------------------
1785 # Try to link conftest.$ac_ext, and return whether this succeeded.
1788 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1789 rm -f conftest.
$ac_objext conftest
$ac_exeext
1790 if { { ac_try
="$ac_link"
1792 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1793 *) ac_try_echo=$ac_try;;
1795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1796 $as_echo "$ac_try_echo"; } >&5
1797 (eval "$ac_link") 2>conftest.err
1799 if test -s conftest.err; then
1800 grep -v '^ *+' conftest.err >conftest.er1
1801 cat conftest.er1 >&5
1802 mv -f conftest.er1 conftest.err
1804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1805 test $ac_status = 0; } && {
1806 test -z "$ac_c_werror_flag" ||
1807 test ! -s conftest.err
1808 } && test -s conftest$ac_exeext && {
1809 test "$cross_compiling" = yes ||
1810 test -x conftest$ac_exeext
1814 $as_echo "$as_me: failed program was:" >&5
1815 sed 's/^/| /' conftest.$ac_ext >&5
1819 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1820 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1821 # interfere with the next link command; also delete a directory that is
1822 # left behind by Apple's compiler. We do this before executing the actions.
1823 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1825 as_fn_set_status $ac_retval
1827 } # ac_fn_c_try_link
1829 # ac_fn_c_check_func LINENO FUNC VAR
1830 # ----------------------------------
1831 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1832 ac_fn_c_check_func ()
1834 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1836 $as_echo_n "checking for $2... " >&6; }
1837 if eval \${$3+:} false; then :
1838 $as_echo_n "(cached) " >&6
1840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1841 /* end confdefs.h. */
1842 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1844 #define $2 innocuous_$2
1846 /* System header to define __stub macros and hopefully few prototypes,
1847 which can conflict with char $2 (); below.
1848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1849 <limits.h> exists even on freestanding compilers. */
1852 # include <limits.h>
1854 # include <assert.h>
1859 /* Override any GCC internal prototype to avoid an error.
1860 Use char because int might match the return type of a GCC
1861 builtin and then its argument prototype would still apply. */
1866 /* The GNU C library defines this for functions which it implements
1867 to always fail with ENOSYS. Some functions are actually named
1868 something starting with __ and the normal name is an alias. */
1869 #if defined __stub_$2 || defined __stub___$2
1881 if ac_fn_c_try_link "$LINENO"; then :
1886 rm -f core conftest.err conftest.$ac_objext \
1887 conftest$ac_exeext conftest.$ac_ext
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1891 $as_echo "$ac_res" >&6; }
1892 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1894 } # ac_fn_c_check_func
1896 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1897 # -------------------------------------------------------
1898 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1899 # the include files in INCLUDES and setting the cache variable VAR
1901 ac_fn_c_check_header_mongrel ()
1903 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1904 if eval \${$3+:} false; then :
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1906 $as_echo_n "checking for $2... " >&6; }
1907 if eval \${$3+:} false; then :
1908 $as_echo_n "(cached) " >&6
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1912 $as_echo "$ac_res" >&6; }
1914 # Is the header compilable?
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1916 $as_echo_n "checking $2 usability... " >&6; }
1917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1918 /* end confdefs.h. */
1922 if ac_fn_c_try_compile "$LINENO"; then :
1923 ac_header_compiler=yes
1925 ac_header_compiler=no
1927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1929 $as_echo "$ac_header_compiler" >&6; }
1931 # Is the header present?
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1933 $as_echo_n "checking $2 presence... " >&6; }
1934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1935 /* end confdefs.h. */
1938 if ac_fn_c_try_cpp "$LINENO"; then :
1939 ac_header_preproc=yes
1941 ac_header_preproc=no
1943 rm -f conftest.err conftest.i conftest.$ac_ext
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1945 $as_echo "$ac_header_preproc" >&6; }
1947 # So? What about this header?
1948 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1951 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1953 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1957 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1959 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1961 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1963 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1965 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1969 $as_echo_n "checking for $2... " >&6; }
1970 if eval \${$3+:} false; then :
1971 $as_echo_n "(cached) " >&6
1973 eval "$3=\$ac_header_compiler"
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1977 $as_echo "$ac_res" >&6; }
1979 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1981 } # ac_fn_c_check_header_mongrel
1983 # ac_fn_cxx_try_cpp LINENO
1984 # ------------------------
1985 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1986 ac_fn_cxx_try_cpp ()
1988 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1989 if { { ac_try="$ac_cpp conftest.$ac_ext"
1991 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1992 *) ac_try_echo
=$ac_try;;
1994 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1995 $as_echo "$ac_try_echo"; } >&5
1996 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1998 if test -s conftest.err
; then
1999 grep -v '^ *+' conftest.err
>conftest.er1
2000 cat conftest.er1
>&5
2001 mv -f conftest.er1 conftest.err
2003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2004 test $ac_status = 0; } > conftest.i
&& {
2005 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2006 test ! -s conftest.err
2010 $as_echo "$as_me: failed program was:" >&5
2011 sed 's/^/| /' conftest.
$ac_ext >&5
2015 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2016 as_fn_set_status
$ac_retval
2018 } # ac_fn_cxx_try_cpp
2020 # ac_fn_cxx_try_link LINENO
2021 # -------------------------
2022 # Try to link conftest.$ac_ext, and return whether this succeeded.
2023 ac_fn_cxx_try_link
()
2025 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2026 rm -f conftest.
$ac_objext conftest
$ac_exeext
2027 if { { ac_try
="$ac_link"
2029 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2030 *) ac_try_echo=$ac_try;;
2032 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2033 $as_echo "$ac_try_echo"; } >&5
2034 (eval "$ac_link") 2>conftest.err
2036 if test -s conftest.err; then
2037 grep -v '^ *+' conftest.err >conftest.er1
2038 cat conftest.er1 >&5
2039 mv -f conftest.er1 conftest.err
2041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2042 test $ac_status = 0; } && {
2043 test -z "$ac_cxx_werror_flag" ||
2044 test ! -s conftest.err
2045 } && test -s conftest$ac_exeext && {
2046 test "$cross_compiling" = yes ||
2047 test -x conftest$ac_exeext
2051 $as_echo "$as_me: failed program was:" >&5
2052 sed 's/^/| /' conftest.$ac_ext >&5
2056 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2057 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2058 # interfere with the next link command; also delete a directory that is
2059 # left behind by Apple's compiler. We do this before executing the actions.
2060 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2061 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2062 as_fn_set_status $ac_retval
2064 } # ac_fn_cxx_try_link
2065 cat >config.log <<_ACEOF
2066 This file contains any messages produced by compilers while
2067 running configure, to aid debugging if configure makes a mistake.
2069 It was created by MIC Offload Runtime Library $as_me 1.0, which was
2070 generated by GNU Autoconf 2.69. Invocation command line was
2082 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2083 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2084 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2085 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2086 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2088 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2089 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2091 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2092 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2093 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2094 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2095 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2096 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2097 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2105 test -z "$as_dir" && as_dir=.
2106 $as_echo "PATH: $as_dir"
2122 # Keep a trace of the command line.
2123 # Strip out --no-create and --no-recursion so they do not pile up.
2124 # Strip out --silent because we don't want to record it for future runs.
2125 # Also quote any args containing shell meta-characters.
2126 # Make two passes to allow for proper duplicate-argument suppression.
2130 ac_must_keep_next=false
2136 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2137 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2138 | -silent | --silent | --silen | --sile | --sil)
2141 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2144 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2146 as_fn_append ac_configure_args1 " '$ac_arg'"
2147 if test $ac_must_keep_next = true; then
2148 ac_must_keep_next=false # Got value, back to normal.
2151 *=* | --config-cache | -C | -disable-* | --disable-* \
2152 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2153 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2154 | -with-* | --with-* | -without-* | --without-* | --x)
2155 case "$ac_configure_args0 " in
2156 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2159 -* ) ac_must_keep_next=true ;;
2162 as_fn_append ac_configure_args " '$ac_arg'"
2167 { ac_configure_args0=; unset ac_configure_args0;}
2168 { ac_configure_args1=; unset ac_configure_args1;}
2170 # When interrupted or exit'd, cleanup temporary files, and complete
2171 # config.log. We remove comments because anyway the quotes in there
2172 # would cause problems or look ugly.
2173 # WARNING: Use '\'' to represent an apostrophe within the trap.
2174 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2175 trap 'exit_status=$?
2176 # Save into config.log some information that might help in debugging.
2180 $as_echo "## ---------------- ##
2181 ## Cache variables. ##
2182 ## ---------------- ##"
2184 # The following way of writing the cache mishandles newlines in values,
2186 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2187 eval ac_val=\$$ac_var
2191 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2192 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2195 _ | IFS | as_nl) ;; #(
2196 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2197 *) { eval $ac_var=; unset $ac_var;} ;;
2202 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2203 *${as_nl}ac_space=\ *)
2205 "s/'\''/'\''\\\\'\'''\''/g;
2206 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2209 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2216 $as_echo "## ----------------- ##
2217 ## Output variables. ##
2218 ## ----------------- ##"
2220 for ac_var in $ac_subst_vars
2222 eval ac_val=\$$ac_var
2224 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2226 $as_echo "$ac_var='\''$ac_val'\''"
2230 if test -n "$ac_subst_files"; then
2231 $as_echo "## ------------------- ##
2232 ## File substitutions. ##
2233 ## ------------------- ##"
2235 for ac_var in $ac_subst_files
2237 eval ac_val=\$$ac_var
2239 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2241 $as_echo "$ac_var='\''$ac_val'\''"
2246 if test -s confdefs.h; then
2247 $as_echo "## ----------- ##
2254 test "$ac_signal" != 0 &&
2255 $as_echo "$as_me: caught signal $ac_signal"
2256 $as_echo "$as_me: exit $exit_status"
2258 rm -f core *.core core.conftest.* &&
2259 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2262 for ac_signal in 1 2 13 15; do
2263 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2267 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2268 rm -f -r conftest* confdefs.h
2270 $as_echo "/* confdefs.h */" > confdefs.h
2272 # Predefined preprocessor variables.
2274 cat >>confdefs.h <<_ACEOF
2275 #define PACKAGE_NAME "$PACKAGE_NAME"
2278 cat >>confdefs.h <<_ACEOF
2279 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2282 cat >>confdefs.h <<_ACEOF
2283 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2286 cat >>confdefs.h <<_ACEOF
2287 #define PACKAGE_STRING "$PACKAGE_STRING"
2290 cat >>confdefs.h <<_ACEOF
2291 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2294 cat >>confdefs.h <<_ACEOF
2295 #define PACKAGE_URL "$PACKAGE_URL"
2299 # Let the site file select an alternate cache file if it wants to.
2300 # Prefer an explicitly selected file to automatically selected ones.
2303 if test -n "$CONFIG_SITE"; then
2304 # We do not want a PATH search for config.site.
2305 case $CONFIG_SITE in #((
2306 -*) ac_site_file1=./$CONFIG_SITE;;
2307 */*) ac_site_file1=$CONFIG_SITE;;
2308 *) ac_site_file1=./$CONFIG_SITE;;
2310 elif test "x$prefix" != xNONE; then
2311 ac_site_file1=$prefix/share/config.site
2312 ac_site_file2=$prefix/etc/config.site
2314 ac_site_file1=$ac_default_prefix/share/config.site
2315 ac_site_file2=$ac_default_prefix/etc/config.site
2317 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2319 test "x$ac_site_file" = xNONE && continue
2320 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2322 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2323 sed 's/^/| /' "$ac_site_file" >&5
2325 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2327 as_fn_error $? "failed to load site
script $ac_site_file
2328 See \
`config.log' for more details" "$LINENO" 5; }
2332 if test -r "$cache_file"; then
2333 # Some versions of bash will fail to source /dev/null (special files
2334 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2335 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2337 $as_echo "$as_me: loading cache $cache_file" >&6;}
2339 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2340 *) . "./$cache_file";;
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2345 $as_echo "$as_me: creating cache $cache_file" >&6;}
2349 # Check that the precious variables saved in the cache have kept the same
2351 ac_cache_corrupted=false
2352 for ac_var in $ac_precious_vars; do
2353 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2354 eval ac_new_set=\$ac_env_${ac_var}_set
2355 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2356 eval ac_new_val=\$ac_env_${ac_var}_value
2357 case $ac_old_set,$ac_new_set in
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2360 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2361 ac_cache_corrupted=: ;;
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2364 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2365 ac_cache_corrupted=: ;;
2368 if test "x$ac_old_val" != "x$ac_new_val"; then
2369 # differences in whitespace do not lead to failure.
2370 ac_old_val_w=`echo x
$ac_old_val`
2371 ac_new_val_w=`echo x
$ac_new_val`
2372 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2374 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2375 ac_cache_corrupted=:
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2378 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2379 eval $ac_var=\$ac_old_val
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2382 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2384 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2387 # Pass precious variables to config.status.
2388 if test "$ac_new_set" = set; then
2390 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2391 *) ac_arg=$ac_var=$ac_new_val ;;
2393 case " $ac_configure_args " in
2394 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2395 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2399 if $ac_cache_corrupted; then
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2403 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2404 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2406 ## -------------------- ##
2407 ## Main body of script. ##
2408 ## -------------------- ##
2411 ac_cpp='$CPP $CPPFLAGS'
2412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2422 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2423 if test -f "$ac_dir/install-sh"; then
2425 ac_install_sh="$ac_aux_dir/install-sh -c"
2427 elif test -f "$ac_dir/install.sh"; then
2429 ac_install_sh="$ac_aux_dir/install.sh -c"
2431 elif test -f "$ac_dir/shtool"; then
2433 ac_install_sh="$ac_aux_dir/shtool install -c"
2437 if test -z "$ac_aux_dir"; then
2438 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2441 # These three variables are undocumented and unsupported,
2442 # and are intended to be withdrawn in a future Autoconf release.
2443 # They can cause serious problems if a builder's source tree is in a directory
2444 # whose full name contains unusual characters.
2445 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2446 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2447 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2450 # Make sure we can run config.sub.
2451 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2452 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2455 $as_echo_n "checking build system type... " >&6; }
2456 if ${ac_cv_build+:} false; then :
2457 $as_echo_n "(cached) " >&6
2459 ac_build_alias=$build_alias
2460 test "x$ac_build_alias" = x &&
2461 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2462 test "x$ac_build_alias" = x &&
2463 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2464 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2465 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2469 $as_echo "$ac_cv_build" >&6; }
2470 case $ac_cv_build in
2472 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2475 ac_save_IFS=$IFS; IFS='-'
2481 # Remember, the first character of IFS is used to create $*,
2482 # except with old shells:
2485 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2489 $as_echo_n "checking host system type... " >&6; }
2490 if ${ac_cv_host+:} false; then :
2491 $as_echo_n "(cached) " >&6
2493 if test "x$host_alias" = x; then
2494 ac_cv_host=$ac_cv_build
2496 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2497 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2502 $as_echo "$ac_cv_host" >&6; }
2505 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2508 ac_save_IFS=$IFS; IFS='-'
2514 # Remember, the first character of IFS is used to create $*,
2515 # except with old shells:
2518 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2522 $as_echo_n "checking target system type... " >&6; }
2523 if ${ac_cv_target+:} false; then :
2524 $as_echo_n "(cached) " >&6
2526 if test "x$target_alias" = x; then
2527 ac_cv_target=$ac_cv_host
2529 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2530 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2535 $as_echo "$ac_cv_target" >&6; }
2536 case $ac_cv_target in
2538 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2540 target=$ac_cv_target
2541 ac_save_IFS=$IFS; IFS='-'
2547 # Remember, the first character of IFS is used to create $*,
2548 # except with old shells:
2551 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2554 # The aliases save the names the user supplied, while $host etc.
2555 # will get canonicalized.
2556 test -n "$target_alias" &&
2557 test "$program_prefix$program_suffix$program_transform_name" = \
2559 program_prefix=${target_alias}-
2561 target_alias=${target_alias-$host_alias}
2564 am__api_version='1.15'
2566 # Find a good install program. We prefer a C program (faster),
2567 # so one script is as good as another. But avoid the broken or
2568 # incompatible versions:
2569 # SysV /etc/install, /usr/sbin/install
2570 # SunOS /usr/etc/install
2571 # IRIX /sbin/install
2573 # AmigaOS /C/install, which installs bootblocks on floppy discs
2574 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2575 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2576 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2577 # OS/2's system install, which has a completely different semantic
2578 # ./install, which can be erroneously created by make from ./install.sh.
2579 # Reject install programs that cannot install multiple files.
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2581 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2582 if test -z "$INSTALL"; then
2583 if ${ac_cv_path_install+:} false; then :
2584 $as_echo_n "(cached) " >&6
2586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2590 test -z "$as_dir" && as_dir=.
2591 # Account for people who put trailing slashes in PATH elements.
2592 case $as_dir/ in #((
2593 ./ | .// | /[cC]/* | \
2594 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2595 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2598 # OSF1 and SCO ODT 3.0 have their own names for install.
2599 # Don't use installbsd from OSF since it installs stuff as root
2601 for ac_prog in ginstall scoinst install; do
2602 for ac_exec_ext in '' $ac_executable_extensions; do
2603 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2604 if test $ac_prog = install &&
2605 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2606 # AIX install. It has an incompatible calling convention.
2608 elif test $ac_prog = install &&
2609 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2610 # program-specific install script used by HP pwplus--don't use.
2613 rm -rf conftest.one conftest.two conftest.dir
2614 echo one > conftest.one
2615 echo two > conftest.two
2617 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2618 test -s conftest.one && test -s conftest.two &&
2619 test -s conftest.dir/conftest.one &&
2620 test -s conftest.dir/conftest.two
2622 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2635 rm -rf conftest.one conftest.two conftest.dir
2638 if test "${ac_cv_path_install+set}" = set; then
2639 INSTALL=$ac_cv_path_install
2641 # As a last resort, use the slow shell script. Don't cache a
2642 # value for INSTALL within a source directory, because that will
2643 # break other packages using the cache if that directory is
2644 # removed, or if the value is a relative name.
2645 INSTALL=$ac_install_sh
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2649 $as_echo "$INSTALL" >&6; }
2651 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2652 # It thinks the first close brace ends the variable substitution.
2653 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2655 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2657 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2660 $as_echo_n "checking whether build environment is sane... " >&6; }
2661 # Reject unsafe characters in $srcdir or the absolute working directory
2662 # name. Accept space and tab only in the latter.
2666 *[\\\"\#\$\&\'\`$am_lf]*)
2667 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2670 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2671 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2674 # Do 'set' in a subshell so we don't clobber the current shell's
2675 # arguments. Must try -L first in case configure is actually a
2676 # symlink; some systems play weird games with the mod time of symlinks
2677 # (eg FreeBSD returns the mod time of the symlink's containing
2681 for am_try
in 1 2; do
2682 echo "timestamp, slept: $am_has_slept" > conftest.
file
2683 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2684 if test "$*" = "X"; then
2686 set X
`ls -t "$srcdir/configure" conftest.file`
2688 if test "$*" != "X $srcdir/configure conftest.file" \
2689 && test "$*" != "X conftest.file $srcdir/configure"; then
2691 # If neither matched, then we have a broken ls. This can happen
2692 # if, for instance, CONFIG_SHELL is bash and it inherits a
2693 # broken ls alias from the environment. This has actually
2694 # happened. Such a system could not be considered "sane".
2695 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2696 alias in your environment" "$LINENO" 5
2698 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2705 test "$2" = conftest.
file
2711 as_fn_error $?
"newly created file is older than distributed files!
2712 Check your system clock" "$LINENO" 5
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2715 $as_echo "yes" >&6; }
2716 # If we didn't sleep, we still need to ensure time stamps of config.status and
2717 # generated files are strictly newer.
2719 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2726 test "$program_prefix" != NONE
&&
2727 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2728 # Use a double $ so make ignores it.
2729 test "$program_suffix" != NONE
&&
2730 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2731 # Double any \ or $.
2732 # By default was `s,x,x', remove it if useless.
2733 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2734 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2736 # Expand $ac_aux_dir to an absolute path.
2737 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2739 if test x
"${MISSING+set}" != xset
; then
2742 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2744 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2747 # Use eval to expand $SHELL
2748 if eval "$MISSING --is-lightweight"; then
2749 am_missing_run
="$MISSING "
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2753 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2756 if test x
"${install_sh+set}" != xset
; then
2759 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2761 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2765 # Installed binaries are usually stripped using 'strip' when the user
2766 # run "make install-strip". However 'strip' might not be the right
2767 # tool to use in cross-compilation environments, therefore Automake
2768 # will honor the 'STRIP' environment variable to overrule this program.
2769 if test "$cross_compiling" != no
; then
2770 if test -n "$ac_tool_prefix"; then
2771 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2772 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2774 $as_echo_n "checking for $ac_word... " >&6; }
2775 if ${ac_cv_prog_STRIP+:} false
; then :
2776 $as_echo_n "(cached) " >&6
2778 if test -n "$STRIP"; then
2779 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2785 test -z "$as_dir" && as_dir
=.
2786 for ac_exec_ext
in '' $ac_executable_extensions; do
2787 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2788 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2798 STRIP
=$ac_cv_prog_STRIP
2799 if test -n "$STRIP"; then
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2801 $as_echo "$STRIP" >&6; }
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2804 $as_echo "no" >&6; }
2809 if test -z "$ac_cv_prog_STRIP"; then
2811 # Extract the first word of "strip", so it can be a program name with args.
2812 set dummy strip
; ac_word
=$2
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2814 $as_echo_n "checking for $ac_word... " >&6; }
2815 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2816 $as_echo_n "(cached) " >&6
2818 if test -n "$ac_ct_STRIP"; then
2819 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2825 test -z "$as_dir" && as_dir
=.
2826 for ac_exec_ext
in '' $ac_executable_extensions; do
2827 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2828 ac_cv_prog_ac_ct_STRIP
="strip"
2829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2838 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2839 if test -n "$ac_ct_STRIP"; then
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2841 $as_echo "$ac_ct_STRIP" >&6; }
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2844 $as_echo "no" >&6; }
2847 if test "x$ac_ct_STRIP" = x
; then
2850 case $cross_compiling:$ac_tool_warned in
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2853 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2854 ac_tool_warned
=yes ;;
2859 STRIP
="$ac_cv_prog_STRIP"
2863 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2866 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2867 if test -z "$MKDIR_P"; then
2868 if ${ac_cv_path_mkdir+:} false
; then :
2869 $as_echo_n "(cached) " >&6
2871 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2872 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2875 test -z "$as_dir" && as_dir
=.
2876 for ac_prog
in mkdir gmkdir
; do
2877 for ac_exec_ext
in '' $ac_executable_extensions; do
2878 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2879 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2880 'mkdir (GNU coreutils) '* | \
2881 'mkdir (coreutils) '* | \
2882 'mkdir (fileutils) '4.1*)
2883 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2893 test -d .
/--version && rmdir .
/--version
2894 if test "${ac_cv_path_mkdir+set}" = set; then
2895 MKDIR_P
="$ac_cv_path_mkdir -p"
2897 # As a last resort, use the slow shell script. Don't cache a
2898 # value for MKDIR_P within a source directory, because that will
2899 # break other packages using the cache if that directory is
2900 # removed, or if the value is a relative name.
2901 MKDIR_P
="$ac_install_sh -d"
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2905 $as_echo "$MKDIR_P" >&6; }
2907 for ac_prog
in gawk mawk nawk
awk
2909 # Extract the first word of "$ac_prog", so it can be a program name with args.
2910 set dummy
$ac_prog; ac_word
=$2
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2912 $as_echo_n "checking for $ac_word... " >&6; }
2913 if ${ac_cv_prog_AWK+:} false
; then :
2914 $as_echo_n "(cached) " >&6
2916 if test -n "$AWK"; then
2917 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2923 test -z "$as_dir" && as_dir
=.
2924 for ac_exec_ext
in '' $ac_executable_extensions; do
2925 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2926 ac_cv_prog_AWK
="$ac_prog"
2927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2937 if test -n "$AWK"; then
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2939 $as_echo "$AWK" >&6; }
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2942 $as_echo "no" >&6; }
2946 test -n "$AWK" && break
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2950 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2952 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2953 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2954 $as_echo_n "(cached) " >&6
2956 cat >conftest.
make <<\_ACEOF
2959 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2961 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2962 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2964 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2966 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2970 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2972 $as_echo "yes" >&6; }
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2976 $as_echo "no" >&6; }
2977 SET_MAKE
="MAKE=${MAKE-make}"
2980 rm -rf .tst
2>/dev
/null
2981 mkdir .tst
2>/dev
/null
2982 if test -d .tst
; then
2987 rmdir .tst
2>/dev
/null
2989 # Check whether --enable-silent-rules was given.
2990 if test "${enable_silent_rules+set}" = set; then :
2991 enableval
=$enable_silent_rules;
2994 case $enable_silent_rules in # (((
2995 yes) AM_DEFAULT_VERBOSITY
=0;;
2996 no
) AM_DEFAULT_VERBOSITY
=1;;
2997 *) AM_DEFAULT_VERBOSITY
=1;;
2999 am_make
=${MAKE-make}
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3001 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3002 if ${am_cv_make_support_nested_variables+:} false
; then :
3003 $as_echo_n "(cached) " >&6
3005 if $as_echo 'TRUE=$(BAR$(V))
3011 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3012 am_cv_make_support_nested_variables
=yes
3014 am_cv_make_support_nested_variables
=no
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3018 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3019 if test $am_cv_make_support_nested_variables = yes; then
3021 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3023 AM_V
=$AM_DEFAULT_VERBOSITY
3024 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3028 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3029 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3030 # is not polluted with repeated "-I."
3031 am__isrc
=' -I$(srcdir)'
3032 # test to see if srcdir already configured
3033 if test -f $srcdir/config.status
; then
3034 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3038 # test whether we have cygpath
3039 if test -z "$CYGPATH_W"; then
3040 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3041 CYGPATH_W
='cygpath -w'
3048 # Define the identity of the package.
3049 PACKAGE
='liboffloadmic'
3053 cat >>confdefs.h
<<_ACEOF
3054 #define PACKAGE "$PACKAGE"
3058 cat >>confdefs.h
<<_ACEOF
3059 #define VERSION "$VERSION"
3062 # Some tools Automake needs.
3064 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3067 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3070 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3073 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3076 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3078 # For better backward compatibility. To be removed once Automake 1.9.x
3079 # dies out for good. For more background, see:
3080 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3081 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3082 mkdir_p
='$(MKDIR_P)'
3084 # We need awk for the "check" target (and possibly the TAP driver). The
3085 # system "awk" is bad on some platforms.
3086 # Always define AMTAR for backward compatibility. Yes, it's still used
3087 # in the wild :-( We should find a proper way to deprecate it ...
3091 # We'll loop over all known methods to create a tar archive until one works.
3092 _am_tools
='gnutar pax cpio none'
3094 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3101 # POSIX will say in a future version that running "rm -f" with no argument
3102 # is OK; and we want to be able to make that assumption in our Makefile
3103 # recipes. So use an aggressive probe to check that the usage we want is
3104 # actually supported "in the wild" to an acceptable degree.
3105 # See automake bug#10828.
3106 # To make any issue more visible, cause the running configure to be aborted
3107 # by default if the 'rm' program in use doesn't match our expectations; the
3108 # user can still override this though.
3109 if rm -f && rm -fr && rm -rf; then : OK
; else
3113 Your 'rm' program seems unable to run without file operands specified
3114 on the command line, even when the '-f' option is present. This is contrary
3115 to the behaviour of most rm programs out there, and not conforming with
3116 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3118 Please tell bug-automake@gnu.org about your system, including the value
3119 of your $PATH and any error possibly output before this message. This
3120 can help us improve future automake versions.
3123 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3124 echo 'Configuration will proceed anyway, since you have set the' >&2
3125 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3129 Aborting the configuration process, to ensure you take notice of the issue.
3131 You can download and install GNU coreutils to get an 'rm' implementation
3132 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3134 If you want to complete the configuration process using your problematic
3135 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3136 to "yes", and re-run configure.
3139 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3145 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3146 # Check whether --enable-maintainer-mode was given.
3147 if test "${enable_maintainer_mode+set}" = set; then :
3148 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3150 USE_MAINTAINER_MODE
=no
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3154 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3155 if test $USE_MAINTAINER_MODE = yes; then
3156 MAINTAINER_MODE_TRUE
=
3157 MAINTAINER_MODE_FALSE
='#'
3159 MAINTAINER_MODE_TRUE
='#'
3160 MAINTAINER_MODE_FALSE
=
3163 MAINT
=$MAINTAINER_MODE_TRUE
3168 ac_cpp
='$CPP $CPPFLAGS'
3169 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3170 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3171 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3172 if test -n "$ac_tool_prefix"; then
3173 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3174 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3176 $as_echo_n "checking for $ac_word... " >&6; }
3177 if ${ac_cv_prog_CC+:} false
; then :
3178 $as_echo_n "(cached) " >&6
3180 if test -n "$CC"; then
3181 ac_cv_prog_CC
="$CC" # Let the user override the test.
3183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3187 test -z "$as_dir" && as_dir
=.
3188 for ac_exec_ext
in '' $ac_executable_extensions; do
3189 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3190 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3201 if test -n "$CC"; then
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3203 $as_echo "$CC" >&6; }
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3206 $as_echo "no" >&6; }
3211 if test -z "$ac_cv_prog_CC"; then
3213 # Extract the first word of "gcc", so it can be a program name with args.
3214 set dummy gcc
; ac_word
=$2
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3216 $as_echo_n "checking for $ac_word... " >&6; }
3217 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3218 $as_echo_n "(cached) " >&6
3220 if test -n "$ac_ct_CC"; then
3221 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3227 test -z "$as_dir" && as_dir
=.
3228 for ac_exec_ext
in '' $ac_executable_extensions; do
3229 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3230 ac_cv_prog_ac_ct_CC
="gcc"
3231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3240 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3241 if test -n "$ac_ct_CC"; then
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3243 $as_echo "$ac_ct_CC" >&6; }
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3246 $as_echo "no" >&6; }
3249 if test "x$ac_ct_CC" = x
; then
3252 case $cross_compiling:$ac_tool_warned in
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3255 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3256 ac_tool_warned
=yes ;;
3264 if test -z "$CC"; then
3265 if test -n "$ac_tool_prefix"; then
3266 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3267 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3269 $as_echo_n "checking for $ac_word... " >&6; }
3270 if ${ac_cv_prog_CC+:} false
; then :
3271 $as_echo_n "(cached) " >&6
3273 if test -n "$CC"; then
3274 ac_cv_prog_CC
="$CC" # Let the user override the test.
3276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3280 test -z "$as_dir" && as_dir
=.
3281 for ac_exec_ext
in '' $ac_executable_extensions; do
3282 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3283 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3294 if test -n "$CC"; then
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3296 $as_echo "$CC" >&6; }
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3299 $as_echo "no" >&6; }
3305 if test -z "$CC"; then
3306 # Extract the first word of "cc", so it can be a program name with args.
3307 set dummy cc
; ac_word
=$2
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3309 $as_echo_n "checking for $ac_word... " >&6; }
3310 if ${ac_cv_prog_CC+:} false
; then :
3311 $as_echo_n "(cached) " >&6
3313 if test -n "$CC"; then
3314 ac_cv_prog_CC
="$CC" # Let the user override the test.
3317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3321 test -z "$as_dir" && as_dir
=.
3322 for ac_exec_ext
in '' $ac_executable_extensions; do
3323 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3324 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3325 ac_prog_rejected
=yes
3329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3336 if test $ac_prog_rejected = yes; then
3337 # We found a bogon in the path, so make sure we never use it.
3338 set dummy
$ac_cv_prog_CC
3340 if test $# != 0; then
3341 # We chose a different compiler from the bogus one.
3342 # However, it has the same basename, so the bogon will be chosen
3343 # first if we set CC to just the basename; use the full file name.
3345 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3351 if test -n "$CC"; then
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3353 $as_echo "$CC" >&6; }
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3356 $as_echo "no" >&6; }
3361 if test -z "$CC"; then
3362 if test -n "$ac_tool_prefix"; then
3363 for ac_prog
in cl.exe
3365 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3366 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3368 $as_echo_n "checking for $ac_word... " >&6; }
3369 if ${ac_cv_prog_CC+:} false
; then :
3370 $as_echo_n "(cached) " >&6
3372 if test -n "$CC"; then
3373 ac_cv_prog_CC
="$CC" # Let the user override the test.
3375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3379 test -z "$as_dir" && as_dir
=.
3380 for ac_exec_ext
in '' $ac_executable_extensions; do
3381 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3382 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3393 if test -n "$CC"; then
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3395 $as_echo "$CC" >&6; }
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3398 $as_echo "no" >&6; }
3402 test -n "$CC" && break
3405 if test -z "$CC"; then
3407 for ac_prog
in cl.exe
3409 # Extract the first word of "$ac_prog", so it can be a program name with args.
3410 set dummy
$ac_prog; ac_word
=$2
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3412 $as_echo_n "checking for $ac_word... " >&6; }
3413 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3414 $as_echo_n "(cached) " >&6
3416 if test -n "$ac_ct_CC"; then
3417 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3423 test -z "$as_dir" && as_dir
=.
3424 for ac_exec_ext
in '' $ac_executable_extensions; do
3425 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3426 ac_cv_prog_ac_ct_CC
="$ac_prog"
3427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3436 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3437 if test -n "$ac_ct_CC"; then
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3439 $as_echo "$ac_ct_CC" >&6; }
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3442 $as_echo "no" >&6; }
3446 test -n "$ac_ct_CC" && break
3449 if test "x$ac_ct_CC" = x
; then
3452 case $cross_compiling:$ac_tool_warned in
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3455 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3456 ac_tool_warned
=yes ;;
3465 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3466 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3467 as_fn_error $?
"no acceptable C compiler found in \$PATH
3468 See \`config.log' for more details" "$LINENO" 5; }
3470 # Provide some information about the compiler.
3471 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3474 for ac_option
in --version -v -V -qversion; do
3475 { { ac_try
="$ac_compiler $ac_option >&5"
3477 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3478 *) ac_try_echo=$ac_try;;
3480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3481 $as_echo "$ac_try_echo"; } >&5
3482 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3484 if test -s conftest.err; then
3486 ... rest of stderr output deleted ...
3487 10q' conftest.err >conftest.er1
3488 cat conftest.er1 >&5
3490 rm -f conftest.er1 conftest.err
3491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3492 test $ac_status = 0; }
3495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3496 /* end confdefs.h. */
3506 ac_clean_files_save=$ac_clean_files
3507 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3508 # Try to create an executable without -o first, disregard a.out.
3509 # It will help us diagnose broken compilers, and finding out an intuition
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3512 $as_echo_n "checking whether the C compiler works... " >&6; }
3513 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3515 # The possible output files:
3516 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3519 for ac_file in $ac_files
3522 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3523 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3528 if { { ac_try="$ac_link_default"
3530 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3531 *) ac_try_echo
=$ac_try;;
3533 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3534 $as_echo "$ac_try_echo"; } >&5
3535 (eval "$ac_link_default") 2>&5
3537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3538 test $ac_status = 0; }; then :
3539 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3540 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3541 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3542 # so that the user can short-circuit this test for compilers unknown to
3544 for ac_file
in $ac_files ''
3546 test -f "$ac_file" ||
continue
3548 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3551 # We found the default executable, but exeext='' is most
3555 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3557 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3559 # We set ac_cv_exeext here because the later test for it is not
3560 # safe: cross compilers may not add the suffix if given an `-o'
3561 # argument, so we may need to know it at that point already.
3562 # Even if this section looks crufty: it has the advantage of
3569 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3574 if test -z "$ac_file"; then :
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3576 $as_echo "no" >&6; }
3577 $as_echo "$as_me: failed program was:" >&5
3578 sed 's/^/| /' conftest.
$ac_ext >&5
3580 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3581 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3582 as_fn_error
77 "C compiler cannot create executables
3583 See \`config.log' for more details" "$LINENO" 5; }
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3586 $as_echo "yes" >&6; }
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3589 $as_echo_n "checking for C compiler default output file name... " >&6; }
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3591 $as_echo "$ac_file" >&6; }
3592 ac_exeext
=$ac_cv_exeext
3594 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3595 ac_clean_files
=$ac_clean_files_save
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3597 $as_echo_n "checking for suffix of executables... " >&6; }
3598 if { { ac_try
="$ac_link"
3600 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3601 *) ac_try_echo=$ac_try;;
3603 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3604 $as_echo "$ac_try_echo"; } >&5
3605 (eval "$ac_link") 2>&5
3607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3608 test $ac_status = 0; }; then :
3609 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3610 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3611 # work properly (i.e., refer to `conftest.exe'), while it won't with
3613 for ac_file
in conftest.exe conftest conftest.
*; do
3614 test -f "$ac_file" ||
continue
3616 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3617 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3623 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3624 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3625 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3626 See \`config.log' for more details" "$LINENO" 5; }
3628 rm -f conftest conftest
$ac_cv_exeext
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3630 $as_echo "$ac_cv_exeext" >&6; }
3632 rm -f conftest.
$ac_ext
3633 EXEEXT
=$ac_cv_exeext
3635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3636 /* end confdefs.h. */
3641 FILE *f = fopen ("conftest.out", "w");
3642 return ferror (f) || fclose (f) != 0;
3648 ac_clean_files
="$ac_clean_files conftest.out"
3649 # Check that the compiler produces executables we can run. If not, either
3650 # the compiler is broken, or we cross compile.
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3652 $as_echo_n "checking whether we are cross compiling... " >&6; }
3653 if test "$cross_compiling" != yes; then
3654 { { ac_try
="$ac_link"
3656 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3657 *) ac_try_echo=$ac_try;;
3659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3660 $as_echo "$ac_try_echo"; } >&5
3661 (eval "$ac_link") 2>&5
3663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3664 test $ac_status = 0; }
3665 if { ac_try='./conftest$ac_cv_exeext'
3666 { { case "(($ac_try" in
3667 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3668 *) ac_try_echo
=$ac_try;;
3670 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3671 $as_echo "$ac_try_echo"; } >&5
3672 (eval "$ac_try") 2>&5
3674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3675 test $ac_status = 0; }; }; then
3678 if test "$cross_compiling" = maybe
; then
3681 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3682 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3683 as_fn_error $?
"cannot run C compiled programs.
3684 If you meant to cross compile, use \`--host'.
3685 See \`config.log' for more details" "$LINENO" 5; }
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3690 $as_echo "$cross_compiling" >&6; }
3692 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3693 ac_clean_files
=$ac_clean_files_save
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3695 $as_echo_n "checking for suffix of object files... " >&6; }
3696 if ${ac_cv_objext+:} false
; then :
3697 $as_echo_n "(cached) " >&6
3699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3700 /* end confdefs.h. */
3710 rm -f conftest.o conftest.obj
3711 if { { ac_try
="$ac_compile"
3713 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3714 *) ac_try_echo=$ac_try;;
3716 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3717 $as_echo "$ac_try_echo"; } >&5
3718 (eval "$ac_compile") 2>&5
3720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3721 test $ac_status = 0; }; then :
3722 for ac_file in conftest.o conftest.obj conftest.*; do
3723 test -f "$ac_file" || continue;
3725 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3726 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3731 $as_echo "$as_me: failed program was:" >&5
3732 sed 's/^/| /' conftest.$ac_ext >&5
3734 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3735 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3736 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3737 See \
`config.log' for more details" "$LINENO" 5; }
3739 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3742 $as_echo "$ac_cv_objext" >&6; }
3743 OBJEXT=$ac_cv_objext
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3746 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3747 if ${ac_cv_c_compiler_gnu+:} false; then :
3748 $as_echo_n "(cached) " >&6
3750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3751 /* end confdefs.h. */
3764 if ac_fn_c_try_compile "$LINENO"; then :
3769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3770 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3774 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3775 if test $ac_compiler_gnu = yes; then
3780 ac_test_CFLAGS=${CFLAGS+set}
3781 ac_save_CFLAGS=$CFLAGS
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3783 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3784 if ${ac_cv_prog_cc_g+:} false; then :
3785 $as_echo_n "(cached) " >&6
3787 ac_save_c_werror_flag=$ac_c_werror_flag
3788 ac_c_werror_flag=yes
3791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3792 /* end confdefs.h. */
3802 if ac_fn_c_try_compile "$LINENO"; then :
3806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3807 /* end confdefs.h. */
3817 if ac_fn_c_try_compile "$LINENO"; then :
3820 ac_c_werror_flag=$ac_save_c_werror_flag
3822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3823 /* end confdefs.h. */
3833 if ac_fn_c_try_compile "$LINENO"; then :
3836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3841 ac_c_werror_flag=$ac_save_c_werror_flag
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3844 $as_echo "$ac_cv_prog_cc_g" >&6; }
3845 if test "$ac_test_CFLAGS" = set; then
3846 CFLAGS=$ac_save_CFLAGS
3847 elif test $ac_cv_prog_cc_g = yes; then
3848 if test "$GCC" = yes; then
3854 if test "$GCC" = yes; then
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3861 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3862 if ${ac_cv_prog_cc_c89+:} false; then :
3863 $as_echo_n "(cached) " >&6
3865 ac_cv_prog_cc_c89=no
3867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3868 /* end confdefs.h. */
3872 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3873 struct buf { int x; };
3874 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3875 static char *e (p, i)
3881 static char *f (char * (*g) (char **, int), char **p, ...)
3886 s = g (p, va_arg (v,int));
3891 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3892 function prototypes and stuff, but not '\xHH' hex character constants.
3893 These don't provoke an error unfortunately, instead are silently treated
3894 as 'x'. The following induces an error, until -std is added to get
3895 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3896 array size at least. It's necessary to write '\x00'==0 to get something
3897 that's true only with -std. */
3898 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3900 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3901 inside strings and character constants. */
3903 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3905 int test (int i, double x);
3906 struct s1 {int (*f) (int a);};
3907 struct s2 {int (*f) (double a);};
3908 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3914 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3919 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3920 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3922 CC="$ac_save_CC $ac_arg"
3923 if ac_fn_c_try_compile "$LINENO"; then :
3924 ac_cv_prog_cc_c89=$ac_arg
3926 rm -f core conftest.err conftest.$ac_objext
3927 test "x$ac_cv_prog_cc_c89" != "xno" && break
3929 rm -f conftest.$ac_ext
3934 case "x$ac_cv_prog_cc_c89" in
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3937 $as_echo "none needed" >&6; } ;;
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3940 $as_echo "unsupported" >&6; } ;;
3942 CC="$CC $ac_cv_prog_cc_c89"
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3944 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3946 if test "x$ac_cv_prog_cc_c89" != xno; then :
3951 ac_cpp='$CPP $CPPFLAGS'
3952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3957 ac_cpp='$CPP $CPPFLAGS'
3958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3962 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3963 if ${am_cv_prog_cc_c_o+:} false; then :
3964 $as_echo_n "(cached) " >&6
3966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3967 /* end confdefs.h. */
3977 # Make sure it works both with $CC and with simple cc.
3978 # Following AC_PROG_CC_C_O, we do the test twice because some
3979 # compilers refuse to overwrite an existing .o file with -o,
3980 # though they will create one.
3981 am_cv_prog_cc_c_o=yes
3983 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3984 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3987 (exit $ac_status); } \
3988 && test -f conftest2.$ac_objext; then
3991 am_cv_prog_cc_c_o=no
3995 rm -f core conftest*
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3999 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4000 if test "$am_cv_prog_cc_c_o" != yes; then
4001 # Losing compiler, so override with the script.
4002 # FIXME: It is wrong to rewrite CC.
4003 # But if we don't then we get into trouble of one sort or another.
4004 # A longer-term fix would be to have automake use am__CC in this case,
4005 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4006 CC="$am_aux_dir/compile $CC"
4009 ac_cpp='$CPP $CPPFLAGS'
4010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4014 DEPDIR="${am__leading_dot}deps"
4016 ac_config_commands="$ac_config_commands depfiles"
4019 am_make=${MAKE-make}
4020 cat > confinc << 'END'
4022 @echo this is the am__doit target
4025 # If we don't find an include directive, just comment out the code.
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4027 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4031 # First try GNU make style include.
4032 echo "include confinc" > confmf
4033 # Ignore all kinds of additional output from 'make'.
4034 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4035 *the\ am__doit\ target*)
4041 # Now try BSD make style include.
4042 if test "$am__include" = "#"; then
4043 echo '.include "confinc"' > confmf
4044 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4045 *the\ am__doit\ target*)
4046 am__include=.include
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4055 $as_echo "$_am_result" >&6; }
4056 rm -f confinc confmf
4058 # Check whether --enable-dependency-tracking was given.
4059 if test "${enable_dependency_tracking+set}" = set; then :
4060 enableval=$enable_dependency_tracking;
4063 if test "x$enable_dependency_tracking" != xno; then
4064 am_depcomp="$ac_aux_dir/depcomp"
4068 if test "x$enable_dependency_tracking" != xno; then
4078 depcc="$CC" am_compiler_list=
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4081 $as_echo_n "checking dependency style of $depcc... " >&6; }
4082 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4083 $as_echo_n "(cached) " >&6
4085 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4086 # We make a subdir and do the tests there. Otherwise we can end up
4087 # making bogus files that we don't know about and never remove. For
4088 # instance it was reported that on HP-UX the gcc test will end up
4089 # making a dummy file named 'D' -- because '-MD' means "put the output
4093 # Copy depcomp to subdir because otherwise we won't find it if we're
4094 # using a relative directory.
4095 cp "$am_depcomp" conftest.dir
4097 # We will build objects and dependencies in a subdirectory because
4098 # it helps to detect inapplicable dependency modes. For instance
4099 # both Tru64's cc and ICC support -MD to output dependencies as a
4100 # side effect of compilation, but ICC will put the dependencies in
4101 # the current directory while Tru64 will put them in the object
4105 am_cv_CC_dependencies_compiler_type=none
4106 if test "$am_compiler_list" = ""; then
4107 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4110 case " $depcc " in #(
4111 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4114 for depmode in $am_compiler_list; do
4115 # Setup a source with many dependencies, because some compilers
4116 # like to wrap large dependency lists on column 80 (with \), and
4117 # we should not choose a depcomp mode which is confused by this.
4119 # We need to recreate these files for each test, as the compiler may
4120 # overwrite some of them when testing with obscure command lines.
4121 # This happens at least with the AIX C compiler.
4123 for i in 1 2 3 4 5 6; do
4124 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4125 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4126 # Solaris 10 /bin/sh.
4127 echo '/* dummy */' > sub/conftst$i.h
4129 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4131 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4132 # mode. It turns out that the SunPro C++ compiler does not properly
4133 # handle '-M -o', and we need to detect this. Also, some Intel
4134 # versions had trouble with output in subdirs.
4135 am__obj=sub/conftest.${OBJEXT-o}
4136 am__minus_obj="-o $am__obj"
4139 # This depmode causes a compiler race in universal mode.
4140 test "$am__universal" = false || continue
4143 # After this tag, mechanisms are not by side-effect, so they'll
4144 # only be used when explicitly requested.
4145 if test "x$enable_dependency_tracking" = xyes; then
4151 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4152 # This compiler won't grok '-c -o', but also, the minuso test has
4153 # not run yet. These depmodes are late enough in the game, and
4154 # so weak that their functioning should not be impacted.
4155 am__obj=conftest.${OBJEXT-o}
4160 if depmode=$depmode \
4161 source=sub/conftest.c object=$am__obj \
4162 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4163 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4164 >/dev/null 2>conftest.err &&
4165 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4166 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4167 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4168 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4169 # icc doesn't choke on unknown options, it will just issue warnings
4170 # or remarks (even with -Werror). So we grep stderr for any message
4171 # that says an option was ignored or not supported.
4172 # When given -MP, icc 7.0 and 7.1 complain thusly:
4173 # icc: Command line warning: ignoring option '-M'; no argument required
4174 # The diagnosis changed in icc 8.0:
4175 # icc: Command line remark: option '-MP' not supported
4176 if (grep 'ignoring option' conftest.err ||
4177 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4178 am_cv_CC_dependencies_compiler_type=$depmode
4187 am_cv_CC_dependencies_compiler_type=none
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4192 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4193 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4196 test "x$enable_dependency_tracking" != xno \
4197 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4199 am__fastdepCC_FALSE='#'
4201 am__fastdepCC_TRUE='#'
4202 am__fastdepCC_FALSE=
4207 ac_cpp='$CXXCPP $CPPFLAGS'
4208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4211 if test -z "$CXX"; then
4212 if test -n "$CCC"; then
4215 if test -n "$ac_tool_prefix"; then
4216 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4218 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4219 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4221 $as_echo_n "checking for $ac_word... " >&6; }
4222 if ${ac_cv_prog_CXX+:} false; then :
4223 $as_echo_n "(cached) " >&6
4225 if test -n "$CXX"; then
4226 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4232 test -z "$as_dir" && as_dir=.
4233 for ac_exec_ext in '' $ac_executable_extensions; do
4234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4235 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4246 if test -n "$CXX"; then
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4248 $as_echo "$CXX" >&6; }
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4251 $as_echo "no" >&6; }
4255 test -n "$CXX" && break
4258 if test -z "$CXX"; then
4260 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4262 # Extract the first word of "$ac_prog", so it can be a program name with args.
4263 set dummy $ac_prog; ac_word=$2
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4265 $as_echo_n "checking for $ac_word... " >&6; }
4266 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4267 $as_echo_n "(cached) " >&6
4269 if test -n "$ac_ct_CXX"; then
4270 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4276 test -z "$as_dir" && as_dir=.
4277 for ac_exec_ext in '' $ac_executable_extensions; do
4278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4279 ac_cv_prog_ac_ct_CXX="$ac_prog"
4280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4289 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4290 if test -n "$ac_ct_CXX"; then
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4292 $as_echo "$ac_ct_CXX" >&6; }
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4295 $as_echo "no" >&6; }
4299 test -n "$ac_ct_CXX" && break
4302 if test "x$ac_ct_CXX" = x; then
4305 case $cross_compiling:$ac_tool_warned in
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4308 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4309 ac_tool_warned=yes ;;
4317 # Provide some information about the compiler.
4318 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4321 for ac_option in --version -v -V -qversion; do
4322 { { ac_try="$ac_compiler $ac_option >&5"
4324 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4325 *) ac_try_echo
=$ac_try;;
4327 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4328 $as_echo "$ac_try_echo"; } >&5
4329 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4331 if test -s conftest.err
; then
4333 ... rest of stderr output deleted ...
4334 10q' conftest.err
>conftest.er1
4335 cat conftest.er1
>&5
4337 rm -f conftest.er1 conftest.err
4338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4339 test $ac_status = 0; }
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4343 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4344 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4345 $as_echo_n "(cached) " >&6
4347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4348 /* end confdefs.h. */
4361 if ac_fn_cxx_try_compile
"$LINENO"; then :
4366 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4367 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4371 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4372 if test $ac_compiler_gnu = yes; then
4377 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4378 ac_save_CXXFLAGS
=$CXXFLAGS
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4380 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4381 if ${ac_cv_prog_cxx_g+:} false
; then :
4382 $as_echo_n "(cached) " >&6
4384 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4385 ac_cxx_werror_flag
=yes
4388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4389 /* end confdefs.h. */
4399 if ac_fn_cxx_try_compile
"$LINENO"; then :
4400 ac_cv_prog_cxx_g
=yes
4403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4404 /* end confdefs.h. */
4414 if ac_fn_cxx_try_compile
"$LINENO"; then :
4417 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4420 /* end confdefs.h. */
4430 if ac_fn_cxx_try_compile
"$LINENO"; then :
4431 ac_cv_prog_cxx_g
=yes
4433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4435 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4437 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4438 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4441 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4442 if test "$ac_test_CXXFLAGS" = set; then
4443 CXXFLAGS
=$ac_save_CXXFLAGS
4444 elif test $ac_cv_prog_cxx_g = yes; then
4445 if test "$GXX" = yes; then
4451 if test "$GXX" = yes; then
4458 ac_cpp
='$CPP $CPPFLAGS'
4459 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4460 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4461 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4463 depcc
="$CXX" am_compiler_list
=
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4466 $as_echo_n "checking dependency style of $depcc... " >&6; }
4467 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
4468 $as_echo_n "(cached) " >&6
4470 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4471 # We make a subdir and do the tests there. Otherwise we can end up
4472 # making bogus files that we don't know about and never remove. For
4473 # instance it was reported that on HP-UX the gcc test will end up
4474 # making a dummy file named 'D' -- because '-MD' means "put the output
4478 # Copy depcomp to subdir because otherwise we won't find it if we're
4479 # using a relative directory.
4480 cp "$am_depcomp" conftest.dir
4482 # We will build objects and dependencies in a subdirectory because
4483 # it helps to detect inapplicable dependency modes. For instance
4484 # both Tru64's cc and ICC support -MD to output dependencies as a
4485 # side effect of compilation, but ICC will put the dependencies in
4486 # the current directory while Tru64 will put them in the object
4490 am_cv_CXX_dependencies_compiler_type
=none
4491 if test "$am_compiler_list" = ""; then
4492 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4495 case " $depcc " in #(
4496 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4499 for depmode
in $am_compiler_list; do
4500 # Setup a source with many dependencies, because some compilers
4501 # like to wrap large dependency lists on column 80 (with \), and
4502 # we should not choose a depcomp mode which is confused by this.
4504 # We need to recreate these files for each test, as the compiler may
4505 # overwrite some of them when testing with obscure command lines.
4506 # This happens at least with the AIX C compiler.
4508 for i
in 1 2 3 4 5 6; do
4509 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4510 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4511 # Solaris 10 /bin/sh.
4512 echo '/* dummy */' > sub
/conftst
$i.h
4514 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4516 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4517 # mode. It turns out that the SunPro C++ compiler does not properly
4518 # handle '-M -o', and we need to detect this. Also, some Intel
4519 # versions had trouble with output in subdirs.
4520 am__obj
=sub
/conftest.
${OBJEXT-o}
4521 am__minus_obj
="-o $am__obj"
4524 # This depmode causes a compiler race in universal mode.
4525 test "$am__universal" = false ||
continue
4528 # After this tag, mechanisms are not by side-effect, so they'll
4529 # only be used when explicitly requested.
4530 if test "x$enable_dependency_tracking" = xyes
; then
4536 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4537 # This compiler won't grok '-c -o', but also, the minuso test has
4538 # not run yet. These depmodes are late enough in the game, and
4539 # so weak that their functioning should not be impacted.
4540 am__obj
=conftest.
${OBJEXT-o}
4545 if depmode
=$depmode \
4546 source=sub
/conftest.c object
=$am__obj \
4547 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4548 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4549 >/dev
/null
2>conftest.err
&&
4550 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4551 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4552 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4553 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4554 # icc doesn't choke on unknown options, it will just issue warnings
4555 # or remarks (even with -Werror). So we grep stderr for any message
4556 # that says an option was ignored or not supported.
4557 # When given -MP, icc 7.0 and 7.1 complain thusly:
4558 # icc: Command line warning: ignoring option '-M'; no argument required
4559 # The diagnosis changed in icc 8.0:
4560 # icc: Command line remark: option '-MP' not supported
4561 if (grep 'ignoring option' conftest.err ||
4562 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4563 am_cv_CXX_dependencies_compiler_type
=$depmode
4572 am_cv_CXX_dependencies_compiler_type
=none
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4577 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4578 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4581 test "x$enable_dependency_tracking" != xno \
4582 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4583 am__fastdepCXX_TRUE
=
4584 am__fastdepCXX_FALSE
='#'
4586 am__fastdepCXX_TRUE
='#'
4587 am__fastdepCXX_FALSE
=
4591 ac_config_files
="$ac_config_files Makefile liboffloadmic_host.spec liboffloadmic_target.spec"
4593 # Default to --enable-multilib
4594 # Check whether --enable-multilib was given.
4595 if test "${enable_multilib+set}" = set; then :
4596 enableval
=$enable_multilib; case "$enableval" in
4597 yes) multilib
=yes ;;
4599 *) as_fn_error $?
"bad value $enableval for multilib option" "$LINENO" 5 ;;
4606 # We may get other options which we leave undocumented:
4607 # --with-target-subdir, --with-multisrctop, --with-multisubdir
4608 # See config-ml.in if you want the gory details.
4610 if test "$srcdir" = "."; then
4611 if test "$with_target_subdir" != "."; then
4612 multi_basedir
="$srcdir/$with_multisrctop../.."
4614 multi_basedir
="$srcdir/$with_multisrctop.."
4617 multi_basedir
="$srcdir/.."
4621 # Even if the default multilib is not a cross compilation,
4622 # it may be that some of the other multilibs are.
4623 if test $cross_compiling = no
&& test $multilib = yes \
4624 && test "x${with_multisubdir}" != x
; then
4625 cross_compiling
=maybe
4628 ac_config_commands
="$ac_config_commands default-1"
4632 subdirs
="$subdirs plugin"
4636 ac_cpp
='$CPP $CPPFLAGS'
4637 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4638 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4639 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4641 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4642 # On Suns, sometimes $CPP names a directory.
4643 if test -n "$CPP" && test -d "$CPP"; then
4646 if test -z "$CPP"; then
4647 if ${ac_cv_prog_CPP+:} false
; then :
4648 $as_echo_n "(cached) " >&6
4650 # Double quotes because CPP needs to be expanded
4651 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4654 for ac_c_preproc_warn_flag
in '' yes
4656 # Use a header file that comes with gcc, so configuring glibc
4657 # with a fresh cross-compiler works.
4658 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4659 # <limits.h> exists even on freestanding compilers.
4660 # On the NeXT, cc -E runs the code through the compiler's parser,
4661 # not just through cpp. "Syntax error" is here to catch this case.
4662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4663 /* end confdefs.h. */
4665 # include <limits.h>
4667 # include <assert.h>
4671 if ac_fn_c_try_cpp
"$LINENO"; then :
4674 # Broken: fails on valid input.
4677 rm -f conftest.err conftest.i conftest.
$ac_ext
4679 # OK, works on sane cases. Now check whether nonexistent headers
4680 # can be detected and how.
4681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4682 /* end confdefs.h. */
4683 #include <ac_nonexistent.h>
4685 if ac_fn_c_try_cpp
"$LINENO"; then :
4686 # Broken: success on invalid input.
4689 # Passes both tests.
4693 rm -f conftest.err conftest.i conftest.
$ac_ext
4696 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4697 rm -f conftest.i conftest.err conftest.
$ac_ext
4698 if $ac_preproc_ok; then :
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4711 $as_echo "$CPP" >&6; }
4713 for ac_c_preproc_warn_flag
in '' yes
4715 # Use a header file that comes with gcc, so configuring glibc
4716 # with a fresh cross-compiler works.
4717 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4718 # <limits.h> exists even on freestanding compilers.
4719 # On the NeXT, cc -E runs the code through the compiler's parser,
4720 # not just through cpp. "Syntax error" is here to catch this case.
4721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4722 /* end confdefs.h. */
4724 # include <limits.h>
4726 # include <assert.h>
4730 if ac_fn_c_try_cpp
"$LINENO"; then :
4733 # Broken: fails on valid input.
4736 rm -f conftest.err conftest.i conftest.
$ac_ext
4738 # OK, works on sane cases. Now check whether nonexistent headers
4739 # can be detected and how.
4740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4741 /* end confdefs.h. */
4742 #include <ac_nonexistent.h>
4744 if ac_fn_c_try_cpp
"$LINENO"; then :
4745 # Broken: success on invalid input.
4748 # Passes both tests.
4752 rm -f conftest.err conftest.i conftest.
$ac_ext
4755 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4756 rm -f conftest.i conftest.err conftest.
$ac_ext
4757 if $ac_preproc_ok; then :
4760 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4761 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4762 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4763 See \`config.log' for more details" "$LINENO" 5; }
4767 ac_cpp
='$CPP $CPPFLAGS'
4768 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4769 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4770 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4774 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4775 if ${ac_cv_path_GREP+:} false
; then :
4776 $as_echo_n "(cached) " >&6
4778 if test -z "$GREP"; then
4779 ac_path_GREP_found
=false
4780 # Loop through the user's path and test for each of PROGNAME-LIST
4781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4782 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4785 test -z "$as_dir" && as_dir
=.
4786 for ac_prog
in grep ggrep
; do
4787 for ac_exec_ext
in '' $ac_executable_extensions; do
4788 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4789 as_fn_executable_p
"$ac_path_GREP" ||
continue
4790 # Check for GNU ac_path_GREP and select it if it is found.
4791 # Check for GNU $ac_path_GREP
4792 case `"$ac_path_GREP" --version 2>&1` in
4794 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4797 $as_echo_n 0123456789 >"conftest.in"
4800 cat "conftest.in" "conftest.in" >"conftest.tmp"
4801 mv "conftest.tmp" "conftest.in"
4802 cp "conftest.in" "conftest.nl"
4803 $as_echo 'GREP' >> "conftest.nl"
4804 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4805 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4806 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4807 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4808 # Best one so far, save it but keep looking for a better one
4809 ac_cv_path_GREP
="$ac_path_GREP"
4810 ac_path_GREP_max
=$ac_count
4812 # 10*(2^10) chars as input seems more than enough
4813 test $ac_count -gt 10 && break
4815 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4818 $ac_path_GREP_found && break 3
4823 if test -z "$ac_cv_path_GREP"; then
4824 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4827 ac_cv_path_GREP
=$GREP
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4832 $as_echo "$ac_cv_path_GREP" >&6; }
4833 GREP
="$ac_cv_path_GREP"
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4837 $as_echo_n "checking for egrep... " >&6; }
4838 if ${ac_cv_path_EGREP+:} false
; then :
4839 $as_echo_n "(cached) " >&6
4841 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4842 then ac_cv_path_EGREP
="$GREP -E"
4844 if test -z "$EGREP"; then
4845 ac_path_EGREP_found
=false
4846 # Loop through the user's path and test for each of PROGNAME-LIST
4847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4848 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4851 test -z "$as_dir" && as_dir
=.
4852 for ac_prog
in egrep; do
4853 for ac_exec_ext
in '' $ac_executable_extensions; do
4854 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4855 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4856 # Check for GNU ac_path_EGREP and select it if it is found.
4857 # Check for GNU $ac_path_EGREP
4858 case `"$ac_path_EGREP" --version 2>&1` in
4860 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4863 $as_echo_n 0123456789 >"conftest.in"
4866 cat "conftest.in" "conftest.in" >"conftest.tmp"
4867 mv "conftest.tmp" "conftest.in"
4868 cp "conftest.in" "conftest.nl"
4869 $as_echo 'EGREP' >> "conftest.nl"
4870 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4871 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4872 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4873 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4874 # Best one so far, save it but keep looking for a better one
4875 ac_cv_path_EGREP
="$ac_path_EGREP"
4876 ac_path_EGREP_max
=$ac_count
4878 # 10*(2^10) chars as input seems more than enough
4879 test $ac_count -gt 10 && break
4881 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4884 $ac_path_EGREP_found && break 3
4889 if test -z "$ac_cv_path_EGREP"; then
4890 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4893 ac_cv_path_EGREP
=$EGREP
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4899 $as_echo "$ac_cv_path_EGREP" >&6; }
4900 EGREP
="$ac_cv_path_EGREP"
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4904 $as_echo_n "checking for ANSI C header files... " >&6; }
4905 if ${ac_cv_header_stdc+:} false
; then :
4906 $as_echo_n "(cached) " >&6
4908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4909 /* end confdefs.h. */
4923 if ac_fn_c_try_compile
"$LINENO"; then :
4924 ac_cv_header_stdc
=yes
4926 ac_cv_header_stdc
=no
4928 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4930 if test $ac_cv_header_stdc = yes; then
4931 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4933 /* end confdefs.h. */
4937 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4938 $EGREP "memchr" >/dev
/null
2>&1; then :
4941 ac_cv_header_stdc
=no
4947 if test $ac_cv_header_stdc = yes; then
4948 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4950 /* end confdefs.h. */
4954 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4955 $EGREP "free" >/dev
/null
2>&1; then :
4958 ac_cv_header_stdc
=no
4964 if test $ac_cv_header_stdc = yes; then
4965 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4966 if test "$cross_compiling" = yes; then :
4969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4970 /* end confdefs.h. */
4973 #if ((' ' & 0x0FF) == 0x020)
4974 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4975 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4977 # define ISLOWER(c) \
4978 (('a' <= (c) && (c) <= 'i') \
4979 || ('j' <= (c) && (c) <= 'r') \
4980 || ('s' <= (c) && (c) <= 'z'))
4981 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4984 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4989 for (i = 0; i < 256; i++)
4990 if (XOR (islower (i), ISLOWER (i))
4991 || toupper (i) != TOUPPER (i))
4996 if ac_fn_c_try_run
"$LINENO"; then :
4999 ac_cv_header_stdc
=no
5001 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5002 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5008 $as_echo "$ac_cv_header_stdc" >&6; }
5009 if test $ac_cv_header_stdc = yes; then
5011 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5015 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5016 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5017 inttypes.h stdint.h unistd.h
5019 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5020 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5022 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5023 cat >>confdefs.h
<<_ACEOF
5024 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5032 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5033 if test "x$ac_cv_type_size_t" = xyes
; then :
5037 cat >>confdefs.h
<<_ACEOF
5038 #define size_t unsigned int
5043 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5044 # for constant arguments. Useless!
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
5046 $as_echo_n "checking for working alloca.h... " >&6; }
5047 if ${ac_cv_working_alloca_h+:} false
; then :
5048 $as_echo_n "(cached) " >&6
5050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5051 /* end confdefs.h. */
5056 char *p = (char *) alloca (2 * sizeof (int));
5062 if ac_fn_c_try_link
"$LINENO"; then :
5063 ac_cv_working_alloca_h
=yes
5065 ac_cv_working_alloca_h
=no
5067 rm -f core conftest.err conftest.
$ac_objext \
5068 conftest
$ac_exeext conftest.
$ac_ext
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
5071 $as_echo "$ac_cv_working_alloca_h" >&6; }
5072 if test $ac_cv_working_alloca_h = yes; then
5074 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
5079 $as_echo_n "checking for alloca... " >&6; }
5080 if ${ac_cv_func_alloca_works+:} false
; then :
5081 $as_echo_n "(cached) " >&6
5083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5084 /* end confdefs.h. */
5086 # define alloca __builtin_alloca
5089 # include <malloc.h>
5090 # define alloca _alloca
5092 # ifdef HAVE_ALLOCA_H
5093 # include <alloca.h>
5098 # ifndef alloca /* predefined by HP cc +Olibcalls */
5099 void *alloca (size_t);
5109 char *p = (char *) alloca (1);
5115 if ac_fn_c_try_link
"$LINENO"; then :
5116 ac_cv_func_alloca_works
=yes
5118 ac_cv_func_alloca_works
=no
5120 rm -f core conftest.err conftest.
$ac_objext \
5121 conftest
$ac_exeext conftest.
$ac_ext
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
5124 $as_echo "$ac_cv_func_alloca_works" >&6; }
5126 if test $ac_cv_func_alloca_works = yes; then
5128 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
5131 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5132 # that cause trouble. Some versions do not even contain alloca or
5133 # contain a buggy version. If you still want to use their alloca,
5134 # use ar to extract alloca.o from them instead of compiling alloca.c.
5136 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
5138 $as_echo "#define C_ALLOCA 1" >>confdefs.h
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
5142 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
5143 if ${ac_cv_os_cray+:} false
; then :
5144 $as_echo_n "(cached) " >&6
5146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5147 /* end confdefs.h. */
5148 #if defined CRAY && ! defined CRAY2
5155 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5156 $EGREP "webecray" >/dev
/null
2>&1; then :
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
5165 $as_echo "$ac_cv_os_cray" >&6; }
5166 if test $ac_cv_os_cray = yes; then
5167 for ac_func
in _getb67 GETB67 getb67
; do
5168 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5169 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5170 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
5172 cat >>confdefs.h
<<_ACEOF
5173 #define CRAY_STACKSEG_END $ac_func
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
5183 $as_echo_n "checking stack direction for C alloca... " >&6; }
5184 if ${ac_cv_c_stack_direction+:} false
; then :
5185 $as_echo_n "(cached) " >&6
5187 if test "$cross_compiling" = yes; then :
5188 ac_cv_c_stack_direction
=0
5190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5191 /* end confdefs.h. */
5192 $ac_includes_default
5194 find_stack_direction (int *addr, int depth)
5199 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
5200 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
5205 main (int argc, char **argv)
5207 return find_stack_direction (0, argc + !argv + 20) < 0;
5210 if ac_fn_c_try_run
"$LINENO"; then :
5211 ac_cv_c_stack_direction
=1
5213 ac_cv_c_stack_direction
=-1
5215 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5216 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
5221 $as_echo "$ac_cv_c_stack_direction" >&6; }
5222 cat >>confdefs.h
<<_ACEOF
5223 #define STACK_DIRECTION $ac_cv_c_stack_direction
5229 for ac_header
in mm_malloc.h
5231 ac_fn_c_check_header_mongrel
"$LINENO" "mm_malloc.h" "ac_cv_header_mm_malloc_h" "$ac_includes_default"
5232 if test "x$ac_cv_header_mm_malloc_h" = xyes
; then :
5233 cat >>confdefs.h
<<_ACEOF
5234 #define HAVE_MM_MALLOC_H 1
5238 as_fn_error $?
"\"Couldn't find mm_malloc.h\"" "$LINENO" 5
5243 for ac_func
in __secure_getenv secure_getenv
5245 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5246 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5247 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
5248 cat >>confdefs.h
<<_ACEOF
5249 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5256 # Get target configure.
5257 .
${srcdir}/configure.tgt
5258 if test -n "$UNSUPPORTED"; then
5259 as_fn_error $?
"Configuration ${target} is unsupported" "$LINENO" 5
5262 if test "${multilib}" = "yes"; then
5263 multilib_arg
="--enable-multilib"
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
5269 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
5270 # Check whether --enable-version-specific-runtime-libs was given.
5271 if test "${enable_version_specific_runtime_libs+set}" = set; then :
5272 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
5273 yes) enable_version_specific_runtime_libs
=yes ;;
5274 no
) enable_version_specific_runtime_libs
=no
;;
5275 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
5278 enable_version_specific_runtime_libs
=no
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_version_specific_runtime_libs" >&5
5282 $as_echo "$enable_version_specific_runtime_libs" >&6; }
5284 # Make sure liboffloadmic is enabled
5285 case "$enable_liboffloadmic" in
5289 as_fn_error $?
"Liboffloadmic is disabled" "$LINENO" 5 ;;
5291 if test x
"$enable_liboffloadmic" = xhost
; then
5292 LIBOFFLOADMIC_HOST_TRUE
=
5293 LIBOFFLOADMIC_HOST_FALSE
='#'
5295 LIBOFFLOADMIC_HOST_TRUE
='#'
5296 LIBOFFLOADMIC_HOST_FALSE
=
5301 # Check whether --with-toolexeclibdir was given.
5302 if test "${with_toolexeclibdir+set}" = set; then :
5303 withval
=$with_toolexeclibdir; case ${with_toolexeclibdir} in
5307 with_toolexeclibdir
=`echo $with_toolexeclibdir | sed 's,/$,,'`
5311 with_toolexeclibdir
=no
5316 # Calculate toolexeclibdir.
5317 # Also toolexecdir, though it's only used in toolexeclibdir.
5318 case ${enable_version_specific_runtime_libs} in
5320 # Need the gcc compiler version to know where to install libraries
5321 # and header files if --enable-version-specific-runtime-libs option
5323 toolexecdir
='$(libdir)/gcc/$(target_alias)'
5324 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
5327 if test -n "$with_cross_host" &&
5328 test x
"$with_cross_host" != x
"no"; then
5329 # Install a library built with a cross compiler in tooldir, not libdir.
5330 toolexecdir
='$(exec_prefix)/$(target_alias)'
5331 case ${with_toolexeclibdir} in
5333 toolexeclibdir
='$(toolexecdir)/lib'
5336 toolexeclibdir
=${with_toolexeclibdir}
5340 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
5341 toolexeclibdir
='$(libdir)'
5343 multi_os_directory
=`$CC -print-multi-os-directory`
5344 case $multi_os_directory in
5345 .
) ;; # Avoid trailing /.
5346 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5358 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5363 macro_version
='2.2.7a'
5364 macro_revision
='1.3134'
5378 ltmain
="$ac_aux_dir/ltmain.sh"
5380 # Backslashify metacharacters that are still active within
5381 # double-quoted strings.
5382 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5384 # Same as above, but do not quote variable references.
5385 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5387 # Sed substitution to delay expansion of an escaped shell variable in a
5388 # double_quote_subst'ed string.
5389 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5391 # Sed substitution to delay expansion of an escaped single quote.
5392 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5394 # Sed substitution to avoid accidental globbing in evaled expressions
5395 no_glob_subst
='s/\*/\\\*/g'
5397 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5398 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5399 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5402 $as_echo_n "checking how to print strings... " >&6; }
5403 # Test print first, because it will be a builtin if present.
5404 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5405 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5407 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5410 # Use this function as a fallback that always works.
5411 func_fallback_echo ()
5413 eval 'cat <<_LTECHO_EOF
5417 ECHO='func_fallback_echo
'
5420 # func_echo_all arg...
5421 # Invoke $ECHO with all args, space-separated.
5428 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5429 $as_echo "printf" >&6; } ;;
5430 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5431 $as_echo "print -r" >&6; } ;;
5432 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5433 $as_echo "cat" >&6; } ;;
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5450 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5451 if ${ac_cv_path_SED+:} false; then :
5452 $as_echo_n "(cached) " >&6
5454 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5455 for ac_i in 1 2 3 4 5 6 7; do
5456 ac_script="$ac_script$as_nl$ac_script"
5458 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5459 { ac_script=; unset ac_script;}
5460 if test -z "$SED"; then
5461 ac_path_SED_found=false
5462 # Loop through the user's path and
test for each of PROGNAME-LIST
5463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5467 test -z "$as_dir" && as_dir
=.
5468 for ac_prog
in sed gsed
; do
5469 for ac_exec_ext
in '' $ac_executable_extensions; do
5470 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5471 as_fn_executable_p
"$ac_path_SED" ||
continue
5472 # Check for GNU ac_path_SED and select it if it is found.
5473 # Check for GNU $ac_path_SED
5474 case `"$ac_path_SED" --version 2>&1` in
5476 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5479 $as_echo_n 0123456789 >"conftest.in"
5482 cat "conftest.in" "conftest.in" >"conftest.tmp"
5483 mv "conftest.tmp" "conftest.in"
5484 cp "conftest.in" "conftest.nl"
5485 $as_echo '' >> "conftest.nl"
5486 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5487 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5488 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5489 if test $ac_count -gt ${ac_path_SED_max-0}; then
5490 # Best one so far, save it but keep looking for a better one
5491 ac_cv_path_SED
="$ac_path_SED"
5492 ac_path_SED_max
=$ac_count
5494 # 10*(2^10) chars as input seems more than enough
5495 test $ac_count -gt 10 && break
5497 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5500 $ac_path_SED_found && break 3
5505 if test -z "$ac_cv_path_SED"; then
5506 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5514 $as_echo "$ac_cv_path_SED" >&6; }
5515 SED
="$ac_cv_path_SED"
5518 test -z "$SED" && SED
=sed
5519 Xsed
="$SED -e 1s/^X//"
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5532 $as_echo_n "checking for fgrep... " >&6; }
5533 if ${ac_cv_path_FGREP+:} false
; then :
5534 $as_echo_n "(cached) " >&6
5536 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5537 then ac_cv_path_FGREP
="$GREP -F"
5539 if test -z "$FGREP"; then
5540 ac_path_FGREP_found
=false
5541 # Loop through the user's path and test for each of PROGNAME-LIST
5542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5543 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5546 test -z "$as_dir" && as_dir
=.
5547 for ac_prog
in fgrep
; do
5548 for ac_exec_ext
in '' $ac_executable_extensions; do
5549 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5550 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5551 # Check for GNU ac_path_FGREP and select it if it is found.
5552 # Check for GNU $ac_path_FGREP
5553 case `"$ac_path_FGREP" --version 2>&1` in
5555 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5558 $as_echo_n 0123456789 >"conftest.in"
5561 cat "conftest.in" "conftest.in" >"conftest.tmp"
5562 mv "conftest.tmp" "conftest.in"
5563 cp "conftest.in" "conftest.nl"
5564 $as_echo 'FGREP' >> "conftest.nl"
5565 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5566 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5567 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5568 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5569 # Best one so far, save it but keep looking for a better one
5570 ac_cv_path_FGREP
="$ac_path_FGREP"
5571 ac_path_FGREP_max
=$ac_count
5573 # 10*(2^10) chars as input seems more than enough
5574 test $ac_count -gt 10 && break
5576 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5579 $ac_path_FGREP_found && break 3
5584 if test -z "$ac_cv_path_FGREP"; then
5585 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5588 ac_cv_path_FGREP
=$FGREP
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5594 $as_echo "$ac_cv_path_FGREP" >&6; }
5595 FGREP
="$ac_cv_path_FGREP"
5598 test -z "$GREP" && GREP
=grep
5618 # Check whether --with-gnu-ld was given.
5619 if test "${with_gnu_ld+set}" = set; then :
5620 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5626 if test "$GCC" = yes; then
5627 # Check if gcc -print-prog-name=ld gives a path.
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5629 $as_echo_n "checking for ld used by $CC... " >&6; }
5632 # gcc leaves a trailing carriage return which upsets mingw
5633 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5635 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5638 # Accept absolute paths.
5640 re_direlt
='/[^/][^/]*/\.\./'
5641 # Canonicalize the pathname of ld
5642 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5643 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5644 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5646 test -z "$LD" && LD
="$ac_prog"
5649 # If it fails, then pretend we aren't using GCC.
5653 # If it is relative, then search for the first ld in PATH.
5657 elif test "$with_gnu_ld" = yes; then
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5659 $as_echo_n "checking for GNU ld... " >&6; }
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5662 $as_echo_n "checking for non-GNU ld... " >&6; }
5664 if ${lt_cv_path_LD+:} false
; then :
5665 $as_echo_n "(cached) " >&6
5667 if test -z "$LD"; then
5668 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5669 for ac_dir
in $PATH; do
5671 test -z "$ac_dir" && ac_dir
=.
5672 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5673 lt_cv_path_LD
="$ac_dir/$ac_prog"
5674 # Check to see if the program is GNU ld. I'd rather use --version,
5675 # but apparently some variants of GNU ld only accept -v.
5676 # Break only if it was the GNU/non-GNU ld that we prefer.
5677 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5678 *GNU
* |
*'with BFD'*)
5679 test "$with_gnu_ld" != no
&& break
5682 test "$with_gnu_ld" != yes && break
5689 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5694 if test -n "$LD"; then
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5696 $as_echo "$LD" >&6; }
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5699 $as_echo "no" >&6; }
5701 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5703 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5704 if ${lt_cv_prog_gnu_ld+:} false
; then :
5705 $as_echo_n "(cached) " >&6
5707 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5708 case `$LD -v 2>&1 </dev/null` in
5709 *GNU
* |
*'with BFD'*)
5710 lt_cv_prog_gnu_ld
=yes
5713 lt_cv_prog_gnu_ld
=no
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5718 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5719 with_gnu_ld
=$lt_cv_prog_gnu_ld
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5730 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5731 if ${lt_cv_path_NM+:} false
; then :
5732 $as_echo_n "(cached) " >&6
5734 if test -n "$NM"; then
5735 # Let the user override the test.
5738 lt_nm_to_check
="${ac_tool_prefix}nm"
5739 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5740 lt_nm_to_check
="$lt_nm_to_check nm"
5742 for lt_tmp_nm
in $lt_nm_to_check; do
5743 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5744 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5746 test -z "$ac_dir" && ac_dir
=.
5747 tmp_nm
="$ac_dir/$lt_tmp_nm"
5748 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5749 # Check to see if the nm accepts a BSD-compat flag.
5750 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5751 # nm: unknown option "B" ignored
5752 # Tru64's nm complains that /dev/null is an invalid object file
5753 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5754 */dev
/null
* |
*'Invalid file or object type'*)
5755 lt_cv_path_NM
="$tmp_nm -B"
5759 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5761 lt_cv_path_NM
="$tmp_nm -p"
5765 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5766 continue # so that we can try to find one that supports BSD flags
5775 : ${lt_cv_path_NM=no}
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5779 $as_echo "$lt_cv_path_NM" >&6; }
5780 if test "$lt_cv_path_NM" != "no"; then
5783 # Didn't find any BSD compatible name lister, look for dumpbin.
5784 if test -n "$DUMPBIN"; then :
5785 # Let the user override the test.
5787 if test -n "$ac_tool_prefix"; then
5788 for ac_prog
in dumpbin
"link -dump"
5790 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5791 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5793 $as_echo_n "checking for $ac_word... " >&6; }
5794 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5795 $as_echo_n "(cached) " >&6
5797 if test -n "$DUMPBIN"; then
5798 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5804 test -z "$as_dir" && as_dir
=.
5805 for ac_exec_ext
in '' $ac_executable_extensions; do
5806 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5807 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5817 DUMPBIN
=$ac_cv_prog_DUMPBIN
5818 if test -n "$DUMPBIN"; then
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5820 $as_echo "$DUMPBIN" >&6; }
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5823 $as_echo "no" >&6; }
5827 test -n "$DUMPBIN" && break
5830 if test -z "$DUMPBIN"; then
5831 ac_ct_DUMPBIN
=$DUMPBIN
5832 for ac_prog
in dumpbin
"link -dump"
5834 # Extract the first word of "$ac_prog", so it can be a program name with args.
5835 set dummy
$ac_prog; ac_word
=$2
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5837 $as_echo_n "checking for $ac_word... " >&6; }
5838 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5839 $as_echo_n "(cached) " >&6
5841 if test -n "$ac_ct_DUMPBIN"; then
5842 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5848 test -z "$as_dir" && as_dir
=.
5849 for ac_exec_ext
in '' $ac_executable_extensions; do
5850 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5851 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5861 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5862 if test -n "$ac_ct_DUMPBIN"; then
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5864 $as_echo "$ac_ct_DUMPBIN" >&6; }
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5867 $as_echo "no" >&6; }
5871 test -n "$ac_ct_DUMPBIN" && break
5874 if test "x$ac_ct_DUMPBIN" = x
; then
5877 case $cross_compiling:$ac_tool_warned in
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5880 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5881 ac_tool_warned
=yes ;;
5883 DUMPBIN
=$ac_ct_DUMPBIN
5887 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5889 DUMPBIN
="$DUMPBIN -symbols"
5897 if test "$DUMPBIN" != ":"; then
5901 test -z "$NM" && NM
=nm
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5909 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5910 if ${lt_cv_nm_interface+:} false
; then :
5911 $as_echo_n "(cached) " >&6
5913 lt_cv_nm_interface
="BSD nm"
5914 echo "int some_variable = 0;" > conftest.
$ac_ext
5915 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5916 (eval "$ac_compile" 2>conftest.err
)
5917 cat conftest.err
>&5
5918 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5919 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5920 cat conftest.err
>&5
5921 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5922 cat conftest.out
>&5
5923 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5924 lt_cv_nm_interface
="MS dumpbin"
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5929 $as_echo "$lt_cv_nm_interface" >&6; }
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5932 $as_echo_n "checking whether ln -s works... " >&6; }
5934 if test "$LN_S" = "ln -s"; then
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5936 $as_echo "yes" >&6; }
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5939 $as_echo "no, using $LN_S" >&6; }
5942 # find the maximum length of command line arguments
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5944 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5945 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5946 $as_echo_n "(cached) " >&6
5953 # On DJGPP, this test can blow up pretty badly due to problems in libc
5954 # (any single argument exceeding 2000 bytes causes a buffer overrun
5955 # during glob expansion). Even if it were fixed, the result of this
5956 # check would be larger than it should be.
5957 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5961 # Under GNU Hurd, this test is not required because there is
5962 # no limit to the length of command line arguments.
5963 # Libtool will interpret -1 as no limit whatsoever
5964 lt_cv_sys_max_cmd_len
=-1;
5967 cygwin
* | mingw
* | cegcc
*)
5968 # On Win9x/ME, this test blows up -- it succeeds, but takes
5969 # about 5 minutes as the teststring grows exponentially.
5970 # Worse, since 9x/ME are not pre-emptively multitasking,
5971 # you end up with a "frozen" computer, even though with patience
5972 # the test eventually succeeds (with a max line length of 256k).
5973 # Instead, let's just punt: use the minimum linelength reported by
5974 # all of the supported platforms: 8192 (on NT/2K/XP).
5975 lt_cv_sys_max_cmd_len
=8192;
5979 # On MiNT this can take a long time and run out of memory.
5980 lt_cv_sys_max_cmd_len
=8192;
5984 # On AmigaOS with pdksh, this test takes hours, literally.
5985 # So we just punt and use a minimum line length of 8192.
5986 lt_cv_sys_max_cmd_len
=8192;
5989 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5990 # This has been around since 386BSD, at least. Likely further.
5991 if test -x /sbin
/sysctl
; then
5992 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5993 elif test -x /usr
/sbin
/sysctl
; then
5994 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5996 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5998 # And add a safety zone
5999 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6000 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6004 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6005 lt_cv_sys_max_cmd_len
=196608
6009 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6010 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6011 # nice to cause kernel panics so lets avoid the loop below.
6012 # First set a reasonable default.
6013 lt_cv_sys_max_cmd_len
=16384
6015 if test -x /sbin
/sysconfig
; then
6016 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6017 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6022 lt_cv_sys_max_cmd_len
=102400
6024 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6025 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6026 if test -n "$kargmax"; then
6027 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6029 lt_cv_sys_max_cmd_len
=32768
6033 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6034 if test -n "$lt_cv_sys_max_cmd_len"; then
6035 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6036 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6038 # Make teststring a little bigger before we do anything with it.
6039 # a 1K string should be a reasonable start.
6040 for i
in 1 2 3 4 5 6 7 8 ; do
6041 teststring
=$teststring$teststring
6043 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6044 # If test is not a shell built-in, we'll probably end up computing a
6045 # maximum length that is only half of the actual maximum length, but
6047 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6048 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6049 test $i != 17 # 1/2 MB should be enough
6052 teststring
=$teststring$teststring
6054 # Only check the string length outside the loop.
6055 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6057 # Add a significant safety factor because C++ compilers can tack on
6058 # massive amounts of additional arguments before passing them to the
6059 # linker. It appears as though 1/2 is a usable value.
6060 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6067 if test -n $lt_cv_sys_max_cmd_len ; then
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6069 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6072 $as_echo "none" >&6; }
6074 max_cmd_len
=$lt_cv_sys_max_cmd_len
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6086 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6087 # Try some XSI features
6090 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6092 && eval 'test $(( 1 + 1 )) -eq 2 \
6093 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6096 $as_echo "$xsi_shell" >&6; }
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6100 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6102 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6104 && lt_shell_append=yes
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6106 $as_echo "$lt_shell_append" >&6; }
6109 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6119 # test EBCDIC or ASCII
6120 case `echo X|tr X '\101'` in
6121 A) # ASCII based system
6122 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6123 lt_SP2NL='tr \040 \012'
6124 lt_NL2SP='tr \015\012 \040\040'
6126 *) # EBCDIC based system
6127 lt_SP2NL='tr \100 \n'
6128 lt_NL2SP='tr \r\n \100\100'
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6141 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6142 if ${lt_cv_ld_reload_flag+:} false; then :
6143 $as_echo_n "(cached
) " >&6
6145 lt_cv_ld_reload_flag='-r'
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6148 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6149 reload_flag=$lt_cv_ld_reload_flag
6150 case $reload_flag in
6152 *) reload_flag=" $reload_flag" ;;
6154 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6157 if test "$GCC" = yes; then
6158 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6160 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6173 if test -n "$ac_tool_prefix"; then
6174 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6175 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6177 $as_echo_n "checking
for $ac_word...
" >&6; }
6178 if ${ac_cv_prog_OBJDUMP+:} false; then :
6179 $as_echo_n "(cached
) " >&6
6181 if test -n "$OBJDUMP"; then
6182 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6188 test -z "$as_dir" && as_dir=.
6189 for ac_exec_ext in '' $ac_executable_extensions; do
6190 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6191 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6192 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6201 OBJDUMP=$ac_cv_prog_OBJDUMP
6202 if test -n "$OBJDUMP"; then
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6204 $as_echo "$OBJDUMP" >&6; }
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6207 $as_echo "no
" >&6; }
6212 if test -z "$ac_cv_prog_OBJDUMP"; then
6213 ac_ct_OBJDUMP=$OBJDUMP
6214 # Extract the first word of "objdump
", so it can be a program name with args.
6215 set dummy objdump; ac_word=$2
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6217 $as_echo_n "checking
for $ac_word...
" >&6; }
6218 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6219 $as_echo_n "(cached
) " >&6
6221 if test -n "$ac_ct_OBJDUMP"; then
6222 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6228 test -z "$as_dir" && as_dir=.
6229 for ac_exec_ext in '' $ac_executable_extensions; do
6230 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6231 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6232 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6241 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6242 if test -n "$ac_ct_OBJDUMP"; then
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6244 $as_echo "$ac_ct_OBJDUMP" >&6; }
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6247 $as_echo "no
" >&6; }
6250 if test "x
$ac_ct_OBJDUMP" = x; then
6253 case $cross_compiling:$ac_tool_warned in
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6256 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6257 ac_tool_warned=yes ;;
6259 OBJDUMP=$ac_ct_OBJDUMP
6262 OBJDUMP="$ac_cv_prog_OBJDUMP"
6265 test -z "$OBJDUMP" && OBJDUMP=objdump
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6276 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6277 if ${lt_cv_deplibs_check_method+:} false; then :
6278 $as_echo_n "(cached
) " >&6
6280 lt_cv_file_magic_cmd='$MAGIC_CMD'
6281 lt_cv_file_magic_test_file=
6282 lt_cv_deplibs_check_method='unknown'
6283 # Need to set the preceding variable on all platforms that support
6284 # interlibrary dependencies.
6285 # 'none' -- dependencies not supported.
6286 # `unknown' -- same as none, but documents that we really don't know.
6287 # 'pass_all' -- all dependencies passed with no checks.
6288 # 'test_compile' -- check by making test program.
6289 # 'file_magic [[regex]]' -- check by looking for files in library path
6290 # which responds to the $file_magic_cmd with a given extended regex.
6291 # If you have `file' or equivalent on your system and you're not sure
6292 # whether `pass_all' will *always* work, you probably want this one.
6296 lt_cv_deplibs_check_method=pass_all
6300 lt_cv_deplibs_check_method=pass_all
6304 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6305 lt_cv_file_magic_cmd='/usr/bin/file -L'
6306 lt_cv_file_magic_test_file=/shlib/libc.so
6310 # func_win32_libid is a shell function defined in ltmain.sh
6311 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6312 lt_cv_file_magic_cmd='func_win32_libid'
6316 # Base MSYS/MinGW do not provide the 'file' command needed by
6317 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6318 # unless we find 'file', for example because we are cross-compiling.
6319 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6320 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6321 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6322 lt_cv_file_magic_cmd='func_win32_libid'
6324 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6325 lt_cv_file_magic_cmd='$OBJDUMP -f'
6330 # use the weaker test based on 'objdump'. See mingw*.
6331 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6332 lt_cv_file_magic_cmd='$OBJDUMP -f'
6335 darwin* | rhapsody*)
6336 lt_cv_deplibs_check_method=pass_all
6339 freebsd* | dragonfly*)
6340 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6343 # Not sure whether the presence of OpenBSD here was a mistake.
6344 # Let's accept both of them until this is cleared up.
6345 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6346 lt_cv_file_magic_cmd=/usr/bin/file
6347 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6351 lt_cv_deplibs_check_method=pass_all
6356 lt_cv_deplibs_check_method=pass_all
6360 lt_cv_deplibs_check_method=pass_all
6363 hpux10.20* | hpux11*)
6364 lt_cv_file_magic_cmd=/usr/bin/file
6367 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6368 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6371 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6372 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6375 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6376 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6382 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6383 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6386 irix5* | irix6* | nonstopux*)
6388 *-32|*"-32 ") libmagic=32-bit;;
6389 *-n32|*"-n32 ") libmagic=N32;;
6390 *-64|*"-64 ") libmagic=64-bit;;
6391 *) libmagic=never-match;;
6393 lt_cv_deplibs_check_method=pass_all
6396 # This must be Linux ELF.
6397 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
6398 lt_cv_deplibs_check_method=pass_all
6402 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6403 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6405 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6410 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6411 lt_cv_file_magic_cmd=/usr/bin/file
6412 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6416 lt_cv_deplibs_check_method=pass_all
6420 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6421 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6423 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6427 osf3* | osf4* | osf5*)
6428 lt_cv_deplibs_check_method=pass_all
6432 lt_cv_deplibs_check_method=pass_all
6436 lt_cv_deplibs_check_method=pass_all
6439 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6440 lt_cv_deplibs_check_method=pass_all
6444 case $host_vendor in
6446 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6447 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6450 lt_cv_deplibs_check_method=pass_all
6453 lt_cv_file_magic_cmd='/bin/file'
6454 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6457 lt_cv_file_magic_cmd='/bin/file'
6458 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6459 lt_cv_file_magic_test_file=/lib/libc.so
6462 lt_cv_deplibs_check_method=pass_all
6465 lt_cv_deplibs_check_method=pass_all
6471 lt_cv_deplibs_check_method=pass_all
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6477 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6478 file_magic_cmd=$lt_cv_file_magic_cmd
6479 deplibs_check_method=$lt_cv_deplibs_check_method
6480 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6493 if test -n "$ac_tool_prefix"; then
6494 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6495 set dummy ${ac_tool_prefix}ar; ac_word=$2
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6497 $as_echo_n "checking
for $ac_word...
" >&6; }
6498 if ${ac_cv_prog_AR+:} false; then :
6499 $as_echo_n "(cached
) " >&6
6501 if test -n "$AR"; then
6502 ac_cv_prog_AR="$AR" # Let the user override the test.
6504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6508 test -z "$as_dir" && as_dir=.
6509 for ac_exec_ext in '' $ac_executable_extensions; do
6510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6511 ac_cv_prog_AR="${ac_tool_prefix}ar"
6512 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6522 if test -n "$AR"; then
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6524 $as_echo "$AR" >&6; }
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6527 $as_echo "no
" >&6; }
6532 if test -z "$ac_cv_prog_AR"; then
6534 # Extract the first word of "ar", so it can be a program name with args.
6535 set dummy ar; ac_word=$2
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6537 $as_echo_n "checking
for $ac_word...
" >&6; }
6538 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6539 $as_echo_n "(cached
) " >&6
6541 if test -n "$ac_ct_AR"; then
6542 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6548 test -z "$as_dir" && as_dir=.
6549 for ac_exec_ext in '' $ac_executable_extensions; do
6550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6551 ac_cv_prog_ac_ct_AR="ar"
6552 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6561 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6562 if test -n "$ac_ct_AR"; then
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6564 $as_echo "$ac_ct_AR" >&6; }
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6567 $as_echo "no
" >&6; }
6570 if test "x
$ac_ct_AR" = x; then
6573 case $cross_compiling:$ac_tool_warned in
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6576 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6577 ac_tool_warned=yes ;;
6585 test -z "$AR" && AR=ar
6586 test -z "$AR_FLAGS" && AR_FLAGS=cru
6598 if test -n "$ac_tool_prefix"; then
6599 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6600 set dummy ${ac_tool_prefix}strip; ac_word=$2
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6602 $as_echo_n "checking
for $ac_word...
" >&6; }
6603 if ${ac_cv_prog_STRIP+:} false; then :
6604 $as_echo_n "(cached
) " >&6
6606 if test -n "$STRIP"; then
6607 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6613 test -z "$as_dir" && as_dir=.
6614 for ac_exec_ext in '' $ac_executable_extensions; do
6615 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6616 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6617 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6626 STRIP=$ac_cv_prog_STRIP
6627 if test -n "$STRIP"; then
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6629 $as_echo "$STRIP" >&6; }
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6632 $as_echo "no
" >&6; }
6637 if test -z "$ac_cv_prog_STRIP"; then
6639 # Extract the first word of "strip
", so it can be a program name with args.
6640 set dummy strip; ac_word=$2
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6642 $as_echo_n "checking
for $ac_word...
" >&6; }
6643 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6644 $as_echo_n "(cached
) " >&6
6646 if test -n "$ac_ct_STRIP"; then
6647 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6653 test -z "$as_dir" && as_dir=.
6654 for ac_exec_ext in '' $ac_executable_extensions; do
6655 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6656 ac_cv_prog_ac_ct_STRIP="strip
"
6657 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6666 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6667 if test -n "$ac_ct_STRIP"; then
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6669 $as_echo "$ac_ct_STRIP" >&6; }
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6672 $as_echo "no
" >&6; }
6675 if test "x
$ac_ct_STRIP" = x; then
6678 case $cross_compiling:$ac_tool_warned in
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6681 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6682 ac_tool_warned=yes ;;
6687 STRIP="$ac_cv_prog_STRIP"
6690 test -z "$STRIP" && STRIP=:
6697 if test -n "$ac_tool_prefix"; then
6698 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6699 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6701 $as_echo_n "checking
for $ac_word...
" >&6; }
6702 if ${ac_cv_prog_RANLIB+:} false; then :
6703 $as_echo_n "(cached
) " >&6
6705 if test -n "$RANLIB"; then
6706 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6712 test -z "$as_dir" && as_dir=.
6713 for ac_exec_ext in '' $ac_executable_extensions; do
6714 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6715 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6716 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6725 RANLIB=$ac_cv_prog_RANLIB
6726 if test -n "$RANLIB"; then
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6728 $as_echo "$RANLIB" >&6; }
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6731 $as_echo "no
" >&6; }
6736 if test -z "$ac_cv_prog_RANLIB"; then
6737 ac_ct_RANLIB=$RANLIB
6738 # Extract the first word of "ranlib
", so it can be a program name with args.
6739 set dummy ranlib; ac_word=$2
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6741 $as_echo_n "checking
for $ac_word...
" >&6; }
6742 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6743 $as_echo_n "(cached
) " >&6
6745 if test -n "$ac_ct_RANLIB"; then
6746 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6752 test -z "$as_dir" && as_dir=.
6753 for ac_exec_ext in '' $ac_executable_extensions; do
6754 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6755 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6756 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6765 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6766 if test -n "$ac_ct_RANLIB"; then
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6768 $as_echo "$ac_ct_RANLIB" >&6; }
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6771 $as_echo "no
" >&6; }
6774 if test "x
$ac_ct_RANLIB" = x; then
6777 case $cross_compiling:$ac_tool_warned in
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6780 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6781 ac_tool_warned=yes ;;
6783 RANLIB=$ac_ct_RANLIB
6786 RANLIB="$ac_cv_prog_RANLIB"
6789 test -z "$RANLIB" && RANLIB=:
6796 # Determine commands to create old-style static archives.
6797 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6798 old_postinstall_cmds='chmod 644 $oldlib'
6799 old_postuninstall_cmds=
6801 if test -n "$RANLIB"; then
6804 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6807 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6810 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6815 lock_old_archive_extraction=yes ;;
6817 lock_old_archive_extraction=no ;;
6858 # If no C compiler was specified, use CC.
6861 # If no C compiler flags were specified, use CFLAGS.
6862 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6864 # Allow CC to be a program name with arguments.
6868 # Check for command to grab the raw symbol name followed by C symbol from nm.
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6870 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6871 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6872 $as_echo_n "(cached
) " >&6
6875 # These are sane defaults that work on at least a few old systems.
6876 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6878 # Character class describing NM global symbol codes.
6879 symcode='[BCDEGRST]'
6881 # Regexp to match symbols that can be accessed directly from C.
6882 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6884 # Define system-specific variables.
6889 cygwin* | mingw* | pw32* | cegcc*)
6890 symcode='[ABCDGISTW]'
6893 if test "$host_cpu" = ia64; then
6894 symcode='[ABCDEGRST]'
6898 symcode='[BCDEGRST]'
6901 symcode='[BCDEGQRST]'
6912 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6920 # If we're using GNU nm, then use its standard symbol codes.
6921 case `$NM -V 2>&1` in
6922 *GNU* | *'with BFD'*)
6923 symcode='[ABCDGIRSTW]' ;;
6926 # Transform an extracted symbol line into a proper C declaration.
6927 # Some systems (esp. on ia64) link data and code symbols differently,
6928 # so use this general approach.
6929 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6931 # Transform an extracted symbol line into symbol name and symbol address
6932 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6933 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6935 # Handle CRLF in mingw tool chain
6939 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6943 # Try without a prefix underscore, then with it.
6944 for ac_symprfx in "" "_
"; do
6946 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6947 symxfrm="\\1 $ac_symprfx\\2 \\2"
6949 # Write the raw and C identifiers.
6950 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6951 # Fake it for dumpbin and say T for any non-static function
6952 # and D for any global variable.
6953 # Also find C++ and __fastcall symbols from MSVC++,
6954 # which start with @ or ?.
6955 lt_cv_sys_global_symbol_pipe="$AWK '"\
6956 " {last_section=section; section=\$ 3};"\
6957 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6958 " \$ 0!~/External *\|/{next};"\
6959 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6960 " {if(hide[section]) next};"\
6961 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6962 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6963 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6964 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6965 " ' prfx
=^
$ac_symprfx"
6967 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6970 # Check to see that the pipe works correctly.
6974 cat > conftest.$ac_ext <<_LT_EOF
6979 void nm_test_func(void);
6980 void nm_test_func(void){}
6984 int main(){nm_test_var='a';nm_test_func();return(0);}
6987 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6988 (eval $ac_compile) 2>&5
6990 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6991 test $ac_status = 0; }; then
6992 # Now try to grab the symbols.
6994 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6995 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6997 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6998 test $ac_status = 0; } && test -s "$nlist"; then
6999 # Try sorting and uniquifying the output.
7000 if sort "$nlist" | uniq > "$nlist"T; then
7001 mv -f "$nlist"T "$nlist"
7006 # Make sure that we snagged all the symbols we need.
7007 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7008 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7009 cat <<_LT_EOF > conftest.$ac_ext
7015 # Now generate the symbol file.
7016 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7018 cat <<_LT_EOF >> conftest.$ac_ext
7020 /* The mapping between symbol names and symbols. */
7025 lt__PROGRAM__LTX_preloaded_symbols[] =
7027 { "@PROGRAM@
", (void *) 0 },
7029 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7030 cat <<\_LT_EOF >> conftest.$ac_ext
7034 /* This works around a problem in FreeBSD linker */
7035 #ifdef FREEBSD_WORKAROUND
7036 static const void *lt_preloaded_setup() {
7037 return lt__PROGRAM__LTX_preloaded_symbols;
7045 # Now try linking the two files.
7046 mv conftest.$ac_objext conftstm.$ac_objext
7047 lt_save_LIBS="$LIBS"
7048 lt_save_CFLAGS="$CFLAGS"
7049 LIBS="conftstm.
$ac_objext"
7050 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7051 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7052 (eval $ac_link) 2>&5
7054 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7055 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7058 LIBS="$lt_save_LIBS"
7059 CFLAGS="$lt_save_CFLAGS"
7061 echo "cannot
find nm_test_func
in $nlist" >&5
7064 echo "cannot
find nm_test_var
in $nlist" >&5
7067 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7070 echo "$progname: failed program was
:" >&5
7071 cat conftest.$ac_ext >&5
7073 rm -rf conftest* conftst*
7075 # Do not use the global_symbol_pipe unless it works.
7076 if test "$pipe_works" = yes; then
7079 lt_cv_sys_global_symbol_pipe=
7085 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7086 lt_cv_sys_global_symbol_to_cdecl=
7088 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7090 $as_echo "failed
" >&6; }
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7093 $as_echo "ok
" >&6; }
7117 # Check whether --enable-libtool-lock was given.
7118 if test "${enable_libtool_lock+set}" = set; then :
7119 enableval=$enable_libtool_lock;
7122 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7124 # Some flags need to be propagated to the compiler or linker for good
7128 # Find out which ABI we are using.
7129 echo 'int i;' > conftest.$ac_ext
7130 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7131 (eval $ac_compile) 2>&5
7133 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7134 test $ac_status = 0; }; then
7135 case `/usr/bin/file conftest.$ac_objext` in
7147 # Find out which ABI we are using.
7148 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7149 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7150 (eval $ac_compile) 2>&5
7152 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7153 test $ac_status = 0; }; then
7154 if test "$lt_cv_prog_gnu_ld" = yes; then
7155 case `/usr/bin/file conftest.$ac_objext` in
7157 LD="${LD-ld} -melf32bsmip"
7160 LD="${LD-ld} -melf32bmipn32"
7163 LD="${LD-ld} -melf64bmip"
7167 case `/usr/bin/file conftest.$ac_objext` in
7183 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7184 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7185 # Find out which ABI we are using.
7186 echo 'int i;' > conftest.$ac_ext
7187 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7188 (eval $ac_compile) 2>&5
7190 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7191 test $ac_status = 0; }; then
7192 case `/usr/bin/file conftest.o` in
7195 x86_64-*kfreebsd*-gnu)
7196 LD="${LD-ld} -m elf_i386_fbsd
"
7199 case `/usr/bin/file conftest.o` in
7201 LD="${LD-ld} -m elf32_x86_64
"
7204 LD="${LD-ld} -m elf_i386
"
7208 powerpc64le-*linux*)
7209 LD="${LD-ld} -m elf32lppclinux
"
7212 LD="${LD-ld} -m elf32ppclinux
"
7215 LD="${LD-ld} -m elf_s390
"
7218 LD="${LD-ld} -m elf32_sparc
"
7224 x86_64-*kfreebsd*-gnu)
7225 LD="${LD-ld} -m elf_x86_64_fbsd
"
7228 LD="${LD-ld} -m elf_x86_64
"
7231 LD="${LD-ld} -m elf64lppc
"
7234 LD="${LD-ld} -m elf64ppc
"
7236 s390*-*linux*|s390*-*tpf*)
7237 LD="${LD-ld} -m elf64_s390
"
7240 LD="${LD-ld} -m elf64_sparc
"
7250 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7251 SAVE_CFLAGS="$CFLAGS"
7252 CFLAGS="$CFLAGS -belf"
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7254 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7255 if ${lt_cv_cc_needs_belf+:} false; then :
7256 $as_echo_n "(cached
) " >&6
7259 ac_cpp='$CPP $CPPFLAGS'
7260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7265 /* end confdefs.h. */
7275 if ac_fn_c_try_link "$LINENO"; then :
7276 lt_cv_cc_needs_belf=yes
7278 lt_cv_cc_needs_belf=no
7280 rm -f core conftest.err conftest.$ac_objext \
7281 conftest$ac_exeext conftest.$ac_ext
7283 ac_cpp='$CPP $CPPFLAGS'
7284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7290 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7291 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7292 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7293 CFLAGS="$SAVE_CFLAGS"
7297 # Find out which ABI we are using.
7298 echo 'int i;' > conftest.$ac_ext
7299 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7300 (eval $ac_compile) 2>&5
7302 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7303 test $ac_status = 0; }; then
7304 case `/usr/bin/file conftest.o` in
7306 case $lt_cv_prog_gnu_ld in
7307 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7309 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7321 need_locks="$enable_libtool_lock"
7325 rhapsody* | darwin*)
7326 if test -n "$ac_tool_prefix"; then
7327 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7328 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7330 $as_echo_n "checking
for $ac_word...
" >&6; }
7331 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7332 $as_echo_n "(cached
) " >&6
7334 if test -n "$DSYMUTIL"; then
7335 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7341 test -z "$as_dir" && as_dir=.
7342 for ac_exec_ext in '' $ac_executable_extensions; do
7343 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7344 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7345 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7354 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7355 if test -n "$DSYMUTIL"; then
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7357 $as_echo "$DSYMUTIL" >&6; }
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7360 $as_echo "no
" >&6; }
7365 if test -z "$ac_cv_prog_DSYMUTIL"; then
7366 ac_ct_DSYMUTIL=$DSYMUTIL
7367 # Extract the first word of "dsymutil
", so it can be a program name with args.
7368 set dummy dsymutil; ac_word=$2
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7370 $as_echo_n "checking
for $ac_word...
" >&6; }
7371 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7372 $as_echo_n "(cached
) " >&6
7374 if test -n "$ac_ct_DSYMUTIL"; then
7375 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7381 test -z "$as_dir" && as_dir=.
7382 for ac_exec_ext in '' $ac_executable_extensions; do
7383 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7384 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7385 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7394 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7395 if test -n "$ac_ct_DSYMUTIL"; then
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7397 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7400 $as_echo "no
" >&6; }
7403 if test "x
$ac_ct_DSYMUTIL" = x; then
7406 case $cross_compiling:$ac_tool_warned in
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7409 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7410 ac_tool_warned=yes ;;
7412 DSYMUTIL=$ac_ct_DSYMUTIL
7415 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7418 if test -n "$ac_tool_prefix"; then
7419 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7420 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7422 $as_echo_n "checking
for $ac_word...
" >&6; }
7423 if ${ac_cv_prog_NMEDIT+:} false; then :
7424 $as_echo_n "(cached
) " >&6
7426 if test -n "$NMEDIT"; then
7427 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7433 test -z "$as_dir" && as_dir=.
7434 for ac_exec_ext in '' $ac_executable_extensions; do
7435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7436 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7437 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7446 NMEDIT=$ac_cv_prog_NMEDIT
7447 if test -n "$NMEDIT"; then
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7449 $as_echo "$NMEDIT" >&6; }
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7452 $as_echo "no
" >&6; }
7457 if test -z "$ac_cv_prog_NMEDIT"; then
7458 ac_ct_NMEDIT=$NMEDIT
7459 # Extract the first word of "nmedit
", so it can be a program name with args.
7460 set dummy nmedit; ac_word=$2
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7462 $as_echo_n "checking
for $ac_word...
" >&6; }
7463 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7464 $as_echo_n "(cached
) " >&6
7466 if test -n "$ac_ct_NMEDIT"; then
7467 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7473 test -z "$as_dir" && as_dir=.
7474 for ac_exec_ext in '' $ac_executable_extensions; do
7475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7476 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7477 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7486 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7487 if test -n "$ac_ct_NMEDIT"; then
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7489 $as_echo "$ac_ct_NMEDIT" >&6; }
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7492 $as_echo "no
" >&6; }
7495 if test "x
$ac_ct_NMEDIT" = x; then
7498 case $cross_compiling:$ac_tool_warned in
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7501 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7502 ac_tool_warned=yes ;;
7504 NMEDIT=$ac_ct_NMEDIT
7507 NMEDIT="$ac_cv_prog_NMEDIT"
7510 if test -n "$ac_tool_prefix"; then
7511 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7512 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7514 $as_echo_n "checking
for $ac_word...
" >&6; }
7515 if ${ac_cv_prog_LIPO+:} false; then :
7516 $as_echo_n "(cached
) " >&6
7518 if test -n "$LIPO"; then
7519 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7525 test -z "$as_dir" && as_dir=.
7526 for ac_exec_ext in '' $ac_executable_extensions; do
7527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7528 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7529 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7538 LIPO=$ac_cv_prog_LIPO
7539 if test -n "$LIPO"; then
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7541 $as_echo "$LIPO" >&6; }
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7544 $as_echo "no
" >&6; }
7549 if test -z "$ac_cv_prog_LIPO"; then
7551 # Extract the first word of "lipo
", so it can be a program name with args.
7552 set dummy lipo; ac_word=$2
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7554 $as_echo_n "checking
for $ac_word...
" >&6; }
7555 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7556 $as_echo_n "(cached
) " >&6
7558 if test -n "$ac_ct_LIPO"; then
7559 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7565 test -z "$as_dir" && as_dir=.
7566 for ac_exec_ext in '' $ac_executable_extensions; do
7567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7568 ac_cv_prog_ac_ct_LIPO="lipo
"
7569 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7578 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7579 if test -n "$ac_ct_LIPO"; then
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7581 $as_echo "$ac_ct_LIPO" >&6; }
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7584 $as_echo "no
" >&6; }
7587 if test "x
$ac_ct_LIPO" = x; then
7590 case $cross_compiling:$ac_tool_warned in
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7593 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7594 ac_tool_warned=yes ;;
7599 LIPO="$ac_cv_prog_LIPO"
7602 if test -n "$ac_tool_prefix"; then
7603 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7604 set dummy ${ac_tool_prefix}otool; ac_word=$2
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7606 $as_echo_n "checking
for $ac_word...
" >&6; }
7607 if ${ac_cv_prog_OTOOL+:} false; then :
7608 $as_echo_n "(cached
) " >&6
7610 if test -n "$OTOOL"; then
7611 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7617 test -z "$as_dir" && as_dir=.
7618 for ac_exec_ext in '' $ac_executable_extensions; do
7619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7620 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7621 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7630 OTOOL=$ac_cv_prog_OTOOL
7631 if test -n "$OTOOL"; then
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7633 $as_echo "$OTOOL" >&6; }
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7636 $as_echo "no
" >&6; }
7641 if test -z "$ac_cv_prog_OTOOL"; then
7643 # Extract the first word of "otool
", so it can be a program name with args.
7644 set dummy otool; ac_word=$2
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7646 $as_echo_n "checking
for $ac_word...
" >&6; }
7647 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7648 $as_echo_n "(cached
) " >&6
7650 if test -n "$ac_ct_OTOOL"; then
7651 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7657 test -z "$as_dir" && as_dir=.
7658 for ac_exec_ext in '' $ac_executable_extensions; do
7659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7660 ac_cv_prog_ac_ct_OTOOL="otool
"
7661 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7670 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7671 if test -n "$ac_ct_OTOOL"; then
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7673 $as_echo "$ac_ct_OTOOL" >&6; }
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7676 $as_echo "no
" >&6; }
7679 if test "x
$ac_ct_OTOOL" = x; then
7682 case $cross_compiling:$ac_tool_warned in
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7685 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7686 ac_tool_warned=yes ;;
7691 OTOOL="$ac_cv_prog_OTOOL"
7694 if test -n "$ac_tool_prefix"; then
7695 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7696 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7698 $as_echo_n "checking
for $ac_word...
" >&6; }
7699 if ${ac_cv_prog_OTOOL64+:} false; then :
7700 $as_echo_n "(cached
) " >&6
7702 if test -n "$OTOOL64"; then
7703 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7709 test -z "$as_dir" && as_dir=.
7710 for ac_exec_ext in '' $ac_executable_extensions; do
7711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7712 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7713 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7722 OTOOL64=$ac_cv_prog_OTOOL64
7723 if test -n "$OTOOL64"; then
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7725 $as_echo "$OTOOL64" >&6; }
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7728 $as_echo "no
" >&6; }
7733 if test -z "$ac_cv_prog_OTOOL64"; then
7734 ac_ct_OTOOL64=$OTOOL64
7735 # Extract the first word of "otool64
", so it can be a program name with args.
7736 set dummy otool64; ac_word=$2
7737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7738 $as_echo_n "checking
for $ac_word...
" >&6; }
7739 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7740 $as_echo_n "(cached
) " >&6
7742 if test -n "$ac_ct_OTOOL64"; then
7743 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7749 test -z "$as_dir" && as_dir=.
7750 for ac_exec_ext in '' $ac_executable_extensions; do
7751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7752 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7753 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7762 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7763 if test -n "$ac_ct_OTOOL64"; then
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7765 $as_echo "$ac_ct_OTOOL64" >&6; }
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7768 $as_echo "no
" >&6; }
7771 if test "x
$ac_ct_OTOOL64" = x; then
7774 case $cross_compiling:$ac_tool_warned in
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7777 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7778 ac_tool_warned=yes ;;
7780 OTOOL64=$ac_ct_OTOOL64
7783 OTOOL64="$ac_cv_prog_OTOOL64"
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7813 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7814 if ${lt_cv_apple_cc_single_mod+:} false; then :
7815 $as_echo_n "(cached
) " >&6
7817 lt_cv_apple_cc_single_mod=no
7818 if test -z "${LT_MULTI_MODULE}"; then
7819 # By default we will add the -single_module flag. You can override
7820 # by either setting the environment variable LT_MULTI_MODULE
7821 # non-empty at configure time, or by adding -multi_module to the
7823 rm -rf libconftest.dylib*
7824 echo "int foo
(void
){return 1;}" > conftest.c
7825 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7826 -dynamiclib -Wl,-single_module conftest.c
" >&5
7827 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7828 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7830 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7831 lt_cv_apple_cc_single_mod=yes
7833 cat conftest.err >&5
7835 rm -rf libconftest.dylib*
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7840 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7842 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7843 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7844 $as_echo_n "(cached
) " >&6
7846 lt_cv_ld_exported_symbols_list=no
7847 save_LDFLAGS=$LDFLAGS
7848 echo "_main
" > conftest.sym
7849 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7851 /* end confdefs.h. */
7861 if ac_fn_c_try_link "$LINENO"; then :
7862 lt_cv_ld_exported_symbols_list=yes
7864 lt_cv_ld_exported_symbols_list=no
7866 rm -f core conftest.err conftest.$ac_objext \
7867 conftest$ac_exeext conftest.$ac_ext
7868 LDFLAGS="$save_LDFLAGS"
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7872 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7874 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7875 if ${lt_cv_ld_force_load+:} false; then :
7876 $as_echo_n "(cached
) " >&6
7878 lt_cv_ld_force_load=no
7879 cat > conftest.c << _LT_EOF
7880 int forced_loaded() { return 2;}
7882 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7883 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7884 echo "$AR cru libconftest.a conftest.o
" >&5
7885 $AR cru libconftest.a conftest.o 2>&5
7886 cat > conftest.c << _LT_EOF
7887 int main() { return 0;}
7889 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7890 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7892 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7893 lt_cv_ld_force_load=yes
7895 cat conftest.err >&5
7897 rm -f conftest.err libconftest.a conftest conftest.c
7898 rm -rf conftest.dSYM
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7902 $as_echo "$lt_cv_ld_force_load" >&6; }
7904 rhapsody* | darwin1.[012])
7905 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7907 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7908 darwin*) # darwin 5.x on
7909 # if running on 10.5 or later, the deployment target defaults
7910 # to the OS version, if on x86, and 10.4, the deployment
7911 # target defaults to 10.4. Don't you love it?
7912 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7913 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7914 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7916 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7918 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7922 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7923 _lt_dar_single_mod='$single_module'
7925 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7926 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7928 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7930 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7931 _lt_dsymutil='~$DSYMUTIL $lib || :'
7938 for ac_header in dlfcn.h
7940 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7942 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
7943 cat >>confdefs.h <<_ACEOF
7944 #define HAVE_DLFCN_H 1
7964 # Check whether --enable-shared was given.
7965 if test "${enable_shared+set}" = set; then :
7966 enableval=$enable_shared; p=${PACKAGE-default}
7968 yes) enable_shared=yes ;;
7969 no) enable_shared=no ;;
7972 # Look at the argument we got. We use all the common list separators.
7973 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7974 for pkg in $enableval; do
7976 if test "X
$pkg" = "X
$p"; then
7995 # Check whether --enable-static was given.
7996 if test "${enable_static+set}" = set; then :
7997 enableval=$enable_static; p=${PACKAGE-default}
7999 yes) enable_static=yes ;;
8000 no) enable_static=no ;;
8003 # Look at the argument we got. We use all the common list separators.
8004 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8005 for pkg in $enableval; do
8007 if test "X
$pkg" = "X
$p"; then
8027 # Check whether --with-pic was given.
8028 if test "${with_pic+set}" = set; then :
8029 withval=$with_pic; pic_mode="$withval"
8035 test -z "$pic_mode" && pic_mode=default
8043 # Check whether --enable-fast-install was given.
8044 if test "${enable_fast_install+set}" = set; then :
8045 enableval=$enable_fast_install; p=${PACKAGE-default}
8047 yes) enable_fast_install=yes ;;
8048 no) enable_fast_install=no ;;
8050 enable_fast_install=no
8051 # Look at the argument we got. We use all the common list separators.
8052 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8053 for pkg in $enableval; do
8055 if test "X
$pkg" = "X
$p"; then
8056 enable_fast_install=yes
8063 enable_fast_install=yes
8076 # This can be used to rebuild libtool when needed
8077 LIBTOOL_DEPS="$ltmain"
8079 # Always use our own libtool.
8080 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8107 test -z "$LN_S" && LN_S="ln -s"
8122 if test -n "${ZSH_VERSION+set}" ; then
8123 setopt NO_GLOB_SUBST
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8127 $as_echo_n "checking
for objdir...
" >&6; }
8128 if ${lt_cv_objdir+:} false; then :
8129 $as_echo_n "(cached
) " >&6
8131 rm -f .libs 2>/dev/null
8132 mkdir .libs 2>/dev/null
8133 if test -d .libs; then
8136 # MS-DOS does not allow filenames that begin with a dot.
8139 rmdir .libs 2>/dev/null
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8142 $as_echo "$lt_cv_objdir" >&6; }
8143 objdir=$lt_cv_objdir
8149 cat >>confdefs.h <<_ACEOF
8150 #define LT_OBJDIR "$lt_cv_objdir/"
8158 # AIX sometimes has problems with the GCC collect2 program. For some
8159 # reason, if we set the COLLECT_NAMES environment variable, the problems
8160 # vanish in a puff of smoke.
8161 if test "X
${COLLECT_NAMES+set}" != Xset; then
8163 export COLLECT_NAMES
8170 can_build_shared=yes
8172 # All known linkers require a `.a' archive for static linking (except MSVC,
8173 # which needs '.lib').
8176 with_gnu_ld="$lt_cv_prog_gnu_ld"
8179 old_CFLAGS="$CFLAGS"
8181 # Set sane defaults for various variables
8182 test -z "$CC" && CC=cc
8183 test -z "$LTCC" && LTCC=$CC
8184 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8185 test -z "$LD" && LD=ld
8186 test -z "$ac_objext" && ac_objext=o
8188 for cc_temp in $compiler""; do
8190 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8191 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8196 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
8199 # Only perform the check for file, if the check method requires it
8200 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8201 case $deplibs_check_method in
8203 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
8205 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
8206 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8207 $as_echo_n "(cached
) " >&6
8211 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8214 lt_save_MAGIC_CMD="$MAGIC_CMD"
8215 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8216 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8217 for ac_dir in $ac_dummy; do
8219 test -z "$ac_dir" && ac_dir=.
8220 if test -f $ac_dir/${ac_tool_prefix}file; then
8221 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8222 if test -n "$file_magic_test_file"; then
8223 case $deplibs_check_method in
8225 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8226 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8227 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8228 $EGREP "$file_magic_regex" > /dev/null; then
8233 *** Warning: the command libtool uses to detect shared libraries,
8234 *** $file_magic_cmd, produces output that libtool cannot recognize.
8235 *** The result is that libtool may fail to recognize shared libraries
8236 *** as such. This will affect the creation of libtool libraries that
8237 *** depend on shared libraries, but programs linked with such libtool
8238 *** libraries will work regardless of this problem. Nevertheless, you
8239 *** may want to report the problem to your system manager and/or to
8240 *** bug-libtool@gnu.org
8250 MAGIC_CMD="$lt_save_MAGIC_CMD"
8255 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8256 if test -n "$MAGIC_CMD"; then
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8258 $as_echo "$MAGIC_CMD" >&6; }
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8261 $as_echo "no
" >&6; }
8268 if test -z "$lt_cv_path_MAGIC_CMD"; then
8269 if test -n "$ac_tool_prefix"; then
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8271 $as_echo_n "checking
for file...
" >&6; }
8272 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8273 $as_echo_n "(cached
) " >&6
8277 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8280 lt_save_MAGIC_CMD="$MAGIC_CMD"
8281 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8282 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8283 for ac_dir in $ac_dummy; do
8285 test -z "$ac_dir" && ac_dir=.
8286 if test -f $ac_dir/file; then
8287 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8288 if test -n "$file_magic_test_file"; then
8289 case $deplibs_check_method in
8291 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8292 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8293 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8294 $EGREP "$file_magic_regex" > /dev/null; then
8299 *** Warning: the command libtool uses to detect shared libraries,
8300 *** $file_magic_cmd, produces output that libtool cannot recognize.
8301 *** The result is that libtool may fail to recognize shared libraries
8302 *** as such. This will affect the creation of libtool libraries that
8303 *** depend on shared libraries, but programs linked with such libtool
8304 *** libraries will work regardless of this problem. Nevertheless, you
8305 *** may want to report the problem to your system manager and/or to
8306 *** bug-libtool@gnu.org
8316 MAGIC_CMD="$lt_save_MAGIC_CMD"
8321 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8322 if test -n "$MAGIC_CMD"; then
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8324 $as_echo "$MAGIC_CMD" >&6; }
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8327 $as_echo "no
" >&6; }
8340 # Use C for the default configuration in the libtool script
8344 ac_cpp='$CPP $CPPFLAGS'
8345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8350 # Source file extension for C test sources.
8353 # Object file extension for compiled C test sources.
8357 # Code to be used in simple compile tests
8358 lt_simple_compile_test_code="int some_variable
= 0;"
8360 # Code to be used in simple link tests
8361 lt_simple_link_test_code='int main(){return(0);}'
8369 # If no C compiler was specified, use CC.
8372 # If no C compiler flags were specified, use CFLAGS.
8373 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8375 # Allow CC to be a program name with arguments.
8378 # Save the default compiler, since it gets overwritten when the other
8379 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8380 compiler_DEFAULT=$CC
8382 # save warnings/boilerplate of simple test code
8383 ac_outfile=conftest.$ac_objext
8384 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8385 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8386 _lt_compiler_boilerplate=`cat conftest.err`
8389 ac_outfile=conftest.$ac_objext
8390 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8391 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8392 _lt_linker_boilerplate=`cat conftest.err`
8397 ## There is no encapsulation within the following macros, do not change
8398 ## the running order or otherwise move them around unless you know exactly
8399 ## what you are doing...
8400 if test -n "$compiler"; then
8402 lt_prog_compiler_no_builtin_flag=
8404 if test "$GCC" = yes; then
8405 case $cc_basename in
8407 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8409 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8413 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
8414 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8415 $as_echo_n "(cached
) " >&6
8417 lt_cv_prog_compiler_rtti_exceptions=no
8418 ac_outfile=conftest.$ac_objext
8419 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8420 lt_compiler_flag="-fno-rtti -fno-exceptions"
8421 # Insert the option either (1) after the last *FLAGS variable, or
8422 # (2) before a word containing "conftest.
", or (3) at the end.
8423 # Note that $ac_compile itself does not contain backslashes and begins
8424 # with a dollar sign (not a hyphen), so the echo should work correctly.
8425 # The option is referenced via a variable to avoid confusing sed.
8426 lt_compile=`echo "$ac_compile" | $SED \
8427 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8428 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8429 -e 's:$: $lt_compiler_flag:'`
8430 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8431 (eval "$lt_compile" 2>conftest.err)
8433 cat conftest.err >&5
8434 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8435 if (exit $ac_status) && test -s "$ac_outfile"; then
8436 # The compiler can only warn and ignore the option if not recognized
8437 # So say no if there are warnings other than the usual output.
8438 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8439 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8440 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8441 lt_cv_prog_compiler_rtti_exceptions=yes
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8448 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8450 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8451 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8463 lt_prog_compiler_wl=
8464 lt_prog_compiler_pic=
8465 lt_prog_compiler_static=
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
8468 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
8470 if test "$GCC" = yes; then
8471 lt_prog_compiler_wl='-Wl,'
8472 lt_prog_compiler_static='-static'
8476 # All AIX code is PIC.
8477 if test "$host_cpu" = ia64; then
8478 # AIX 5 now supports IA64 processor
8479 lt_prog_compiler_static='-Bstatic'
8481 lt_prog_compiler_pic='-fPIC'
8487 # see comment about AmigaOS4 .so support
8488 lt_prog_compiler_pic='-fPIC'
8491 # FIXME: we need at least 68020 code to build shared libraries, but
8492 # adding the `-m68020' flag to GCC prevents building anything better,
8494 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8499 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8500 # PIC is the default for these OSes.
8503 mingw* | cygwin* | pw32* | os2* | cegcc*)
8504 # This hack is so that the source file can tell whether it is being
8505 # built for inclusion in a dll (and should export symbols for example).
8506 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8507 # (--disable-auto-import) libraries
8508 lt_prog_compiler_pic='-DDLL_EXPORT'
8511 darwin* | rhapsody*)
8512 # PIC is the default on this platform
8513 # Common symbols not allowed in MH_DYLIB files
8514 lt_prog_compiler_pic='-fno-common'
8518 # PIC is the default for Haiku.
8519 # The "-static" flag exists, but is broken.
8520 lt_prog_compiler_static=
8524 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8525 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8526 # sets the default TLS model and affects inlining.
8532 lt_prog_compiler_pic='-fPIC'
8538 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8539 # Instead, we relocate shared libraries at runtime.
8543 # Just because we use GCC doesn't mean we suddenly get shared libraries
8544 # on systems that don't support them.
8545 lt_prog_compiler_can_build_shared=no
8550 # QNX uses GNU C++, but need to define -shared option too, otherwise
8552 lt_prog_compiler_pic='-fPIC -shared'
8556 if test -d /usr/nec; then
8557 lt_prog_compiler_pic=-Kconform_pic
8562 lt_prog_compiler_pic='-fPIC'
8566 case $cc_basename in
8567 nvcc*) # Cuda Compiler Driver 2.2
8568 lt_prog_compiler_wl='-Xlinker '
8569 lt_prog_compiler_pic='-Xcompiler -fPIC'
8573 # PORTME Check for flag to pass linker flags through the system compiler.
8576 lt_prog_compiler_wl='-Wl,'
8577 if test "$host_cpu" = ia64; then
8578 # AIX 5 now supports IA64 processor
8579 lt_prog_compiler_static='-Bstatic'
8581 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8585 mingw* | cygwin* | pw32* | os2* | cegcc*)
8586 # This hack is so that the source file can tell whether it is being
8587 # built for inclusion in a dll (and should export symbols for example).
8588 lt_prog_compiler_pic='-DDLL_EXPORT'
8591 hpux9* | hpux10* | hpux11*)
8592 lt_prog_compiler_wl='-Wl,'
8593 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8600 lt_prog_compiler_pic='+Z'
8603 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8604 lt_prog_compiler_static='${wl}-a ${wl}archive'
8607 irix5* | irix6* | nonstopux*)
8608 lt_prog_compiler_wl='-Wl,'
8609 # PIC (with -KPIC) is the default.
8610 lt_prog_compiler_static='-non_shared'
8613 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8614 case $cc_basename in
8615 # old Intel for x86_64 which still supported -KPIC.
8617 lt_prog_compiler_wl='-Wl,'
8618 lt_prog_compiler_pic='-KPIC'
8619 lt_prog_compiler_static='-static'
8621 # icc used to be incompatible with GCC.
8622 # ICC 10 doesn't accept -KPIC any more.
8624 lt_prog_compiler_wl='-Wl,'
8625 lt_prog_compiler_pic='-fPIC'
8626 lt_prog_compiler_static='-static'
8628 # Lahey Fortran 8.1.
8630 lt_prog_compiler_wl='-Wl,'
8631 lt_prog_compiler_pic='--shared'
8632 lt_prog_compiler_static='--static'
8634 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8635 # Portland Group compilers (*not* the Pentium gcc compiler,
8636 # which looks to be a dead project)
8637 lt_prog_compiler_wl='-Wl,'
8638 lt_prog_compiler_pic='-fpic'
8639 lt_prog_compiler_static='-Bstatic'
8642 lt_prog_compiler_wl='-Wl,'
8643 # All Alpha code is PIC.
8644 lt_prog_compiler_static='-non_shared'
8646 xl* | bgxl* | bgf* | mpixl*)
8647 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8648 lt_prog_compiler_wl='-Wl,'
8649 lt_prog_compiler_pic='-qpic'
8650 lt_prog_compiler_static='-qstaticlink'
8653 case `$CC -V 2>&1 | sed 5q` in
8654 *Sun\ F* | *Sun*Fortran*)
8655 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8656 lt_prog_compiler_pic='-KPIC'
8657 lt_prog_compiler_static='-Bstatic'
8658 lt_prog_compiler_wl=''
8662 lt_prog_compiler_pic='-KPIC'
8663 lt_prog_compiler_static='-Bstatic'
8664 lt_prog_compiler_wl='-Wl,'
8672 lt_prog_compiler_pic='-KPIC'
8673 lt_prog_compiler_static='-Bstatic'
8677 # QNX uses GNU C++, but need to define -shared option too, otherwise
8679 lt_prog_compiler_pic='-fPIC -shared'
8682 osf3* | osf4* | osf5*)
8683 lt_prog_compiler_wl='-Wl,'
8684 # All OSF/1 code is PIC.
8685 lt_prog_compiler_static='-non_shared'
8689 lt_prog_compiler_static='-non_shared'
8693 lt_prog_compiler_pic='-KPIC'
8694 lt_prog_compiler_static='-Bstatic'
8695 case $cc_basename in
8697 lt_prog_compiler_wl='-Qoption ld ';;
8699 lt_prog_compiler_wl='-Wl,';;
8704 lt_prog_compiler_wl='-Qoption ld '
8705 lt_prog_compiler_pic='-PIC'
8706 lt_prog_compiler_static='-Bstatic'
8709 sysv4 | sysv4.2uw2* | sysv4.3*)
8710 lt_prog_compiler_wl='-Wl,'
8711 lt_prog_compiler_pic='-KPIC'
8712 lt_prog_compiler_static='-Bstatic'
8716 if test -d /usr/nec ;then
8717 lt_prog_compiler_pic='-Kconform_pic'
8718 lt_prog_compiler_static='-Bstatic'
8722 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8723 lt_prog_compiler_wl='-Wl,'
8724 lt_prog_compiler_pic='-KPIC'
8725 lt_prog_compiler_static='-Bstatic'
8729 lt_prog_compiler_wl='-Wl,'
8730 lt_prog_compiler_can_build_shared=no
8734 lt_prog_compiler_pic='-pic'
8735 lt_prog_compiler_static='-Bstatic'
8739 lt_prog_compiler_can_build_shared=no
8745 # For platforms which do not support PIC, -DPIC is meaningless:
8747 lt_prog_compiler_pic=
8750 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
8754 $as_echo "$lt_prog_compiler_pic" >&6; }
8762 # Check to make sure the PIC flag actually works.
8764 if test -n "$lt_prog_compiler_pic"; then
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8766 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
8767 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8768 $as_echo_n "(cached
) " >&6
8770 lt_cv_prog_compiler_pic_works=no
8771 ac_outfile=conftest.$ac_objext
8772 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8773 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8774 # Insert the option either (1) after the last *FLAGS variable, or
8775 # (2) before a word containing "conftest.
", or (3) at the end.
8776 # Note that $ac_compile itself does not contain backslashes and begins
8777 # with a dollar sign (not a hyphen), so the echo should work correctly.
8778 # The option is referenced via a variable to avoid confusing sed.
8779 lt_compile=`echo "$ac_compile" | $SED \
8780 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8781 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8782 -e 's:$: $lt_compiler_flag:'`
8783 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8784 (eval "$lt_compile" 2>conftest.err)
8786 cat conftest.err >&5
8787 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8788 if (exit $ac_status) && test -s "$ac_outfile"; then
8789 # The compiler can only warn and ignore the option if not recognized
8790 # So say no if there are warnings other than the usual output.
8791 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8792 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8793 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8794 lt_cv_prog_compiler_pic_works=yes
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
8801 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8803 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8804 case $lt_prog_compiler_pic in
8806 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8809 lt_prog_compiler_pic=
8810 lt_prog_compiler_can_build_shared=no
8821 # Check to make sure the static flag actually works.
8823 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
8825 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
8826 if ${lt_cv_prog_compiler_static_works+:} false; then :
8827 $as_echo_n "(cached
) " >&6
8829 lt_cv_prog_compiler_static_works=no
8830 save_LDFLAGS="$LDFLAGS"
8831 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8832 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8833 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8834 # The linker can only warn and ignore the option if not recognized
8835 # So say no if there are warnings
8836 if test -s conftest.err; then
8837 # Append any errors to the config.log.
8838 cat conftest.err 1>&5
8839 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8840 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8841 if diff conftest.exp conftest.er2 >/dev/null; then
8842 lt_cv_prog_compiler_static_works=yes
8845 lt_cv_prog_compiler_static_works=yes
8849 LDFLAGS="$save_LDFLAGS"
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
8853 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8855 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8858 lt_prog_compiler_static=
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8868 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8869 if ${lt_cv_prog_compiler_c_o+:} false; then :
8870 $as_echo_n "(cached
) " >&6
8872 lt_cv_prog_compiler_c_o=no
8873 $RM -r conftest 2>/dev/null
8877 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8879 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8880 # Insert the option either (1) after the last *FLAGS variable, or
8881 # (2) before a word containing "conftest.
", or (3) at the end.
8882 # Note that $ac_compile itself does not contain backslashes and begins
8883 # with a dollar sign (not a hyphen), so the echo should work correctly.
8884 lt_compile=`echo "$ac_compile" | $SED \
8885 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8886 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8887 -e 's:$: $lt_compiler_flag:'`
8888 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8889 (eval "$lt_compile" 2>out/conftest.err)
8891 cat out/conftest.err >&5
8892 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8893 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8895 # The compiler can only warn and ignore the option if not recognized
8896 # So say no if there are warnings
8897 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8898 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8899 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8900 lt_cv_prog_compiler_c_o=yes
8905 # SGI C++ compiler will create directory out/ii_files/ for
8906 # template instantiation
8907 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8908 $RM out/* && rmdir out
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8915 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8923 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8924 if ${lt_cv_prog_compiler_c_o+:} false; then :
8925 $as_echo_n "(cached
) " >&6
8927 lt_cv_prog_compiler_c_o=no
8928 $RM -r conftest 2>/dev/null
8932 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8934 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8935 # Insert the option either (1) after the last *FLAGS variable, or
8936 # (2) before a word containing "conftest.
", or (3) at the end.
8937 # Note that $ac_compile itself does not contain backslashes and begins
8938 # with a dollar sign (not a hyphen), so the echo should work correctly.
8939 lt_compile=`echo "$ac_compile" | $SED \
8940 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8941 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8942 -e 's:$: $lt_compiler_flag:'`
8943 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8944 (eval "$lt_compile" 2>out/conftest.err)
8946 cat out/conftest.err >&5
8947 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8948 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8950 # The compiler can only warn and ignore the option if not recognized
8951 # So say no if there are warnings
8952 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8953 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8954 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8955 lt_cv_prog_compiler_c_o=yes
8960 # SGI C++ compiler will create directory out/ii_files/ for
8961 # template instantiation
8962 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8963 $RM out/* && rmdir out
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8970 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8975 hard_links="nottested
"
8976 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8977 # do not overwrite the value of need_locks provided by the user
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
8979 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
8982 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8984 ln conftest.a conftest.b 2>&5 || hard_links=no
8985 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
8987 $as_echo "$hard_links" >&6; }
8988 if test "$hard_links" = no; then
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
8990 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9003 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9006 allow_undefined_flag=
9007 always_export_symbols=no
9009 archive_expsym_cmds=
9010 compiler_needs_object=no
9011 enable_shared_with_static_runtimes=no
9012 export_dynamic_flag_spec=
9013 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9014 hardcode_automatic=no
9016 hardcode_direct_absolute=no
9017 hardcode_libdir_flag_spec=
9018 hardcode_libdir_flag_spec_ld=
9019 hardcode_libdir_separator=
9021 hardcode_shlibpath_var=unsupported
9023 link_all_deplibs=unknown
9026 old_archive_from_new_cmds=
9027 old_archive_from_expsyms_cmds=
9028 thread_safe_flag_spec=
9029 whole_archive_flag_spec=
9030 # include_expsyms should be a list of space-separated symbols to be *always*
9031 # included in the symbol list
9033 # exclude_expsyms can be an extended regexp of symbols to exclude
9034 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9035 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9036 # as well as any symbol that contains `d'.
9037 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9038 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9039 # platforms (ab)use it in PIC code, but their linkers get confused if
9040 # the symbol is explicitly referenced. Since portable code cannot
9041 # rely on this symbol name, it's probably fine to never include it in
9042 # preloaded symbol tables.
9043 # Exclude shared library initialization/finalization symbols.
9044 extract_expsyms_cmds=
9047 cygwin* | mingw* | pw32* | cegcc*)
9048 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9049 # When not using gcc, we currently assume that we are using
9050 # Microsoft Visual C++.
9051 if test "$GCC" != yes; then
9056 # we just hope/assume this is gcc and not c89 (= MSVC++)
9066 # On some targets, GNU ld is compatible enough with the native linker
9067 # that we're better off using the native interface for both.
9068 lt_use_gnu_ld_interface=no
9069 if test "$with_gnu_ld" = yes; then
9072 # The AIX port of GNU ld has always aspired to compatibility
9073 # with the native linker. However, as the warning in the GNU ld
9074 # block says, versions before 2.19.5* couldn't really create working
9075 # shared libraries, regardless of the interface used.
9076 case `$LD -v 2>&1` in
9077 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9078 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9079 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9081 lt_use_gnu_ld_interface=yes
9086 lt_use_gnu_ld_interface=yes
9091 if test "$lt_use_gnu_ld_interface" = yes; then
9092 # If archive_cmds runs LD, not CC, wlarc should be empty
9095 # Set some defaults for GNU ld with shared library support. These
9096 # are reset later if shared libraries are not supported. Putting them
9097 # here allows them to be overridden if necessary.
9098 runpath_var=LD_RUN_PATH
9099 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9100 export_dynamic_flag_spec='${wl}--export-dynamic'
9101 # ancient GNU ld didn't support --whole-archive et. al.
9102 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9103 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9105 whole_archive_flag_spec=
9107 supports_anon_versioning=no
9108 case `$LD -v 2>&1` in
9109 *GNU\ gold*) supports_anon_versioning=yes ;;
9110 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9111 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9112 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9113 *\ 2.11.*) ;; # other 2.11 versions
9114 *) supports_anon_versioning=yes ;;
9117 # See if GNU ld supports shared libraries.
9120 # On AIX/PPC, the GNU linker is very broken
9121 if test "$host_cpu" != ia64; then
9125 *** Warning: the GNU linker, at least up to release 2.19, is reported
9126 *** to be unable to reliably create shared libraries on AIX.
9127 *** Therefore, libtool is disabling shared libraries support. If you
9128 *** really care for shared libraries, you may want to install binutils
9129 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9130 *** You will then need to restart the configuration process.
9139 # see comment about AmigaOS4 .so support
9140 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9141 archive_expsym_cmds=''
9144 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9145 hardcode_libdir_flag_spec
='-L$libdir'
9146 hardcode_minus_L
=yes
9152 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9153 allow_undefined_flag
=unsupported
9154 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9155 # support --undefined. This deserves some investigation. FIXME
9156 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9162 cygwin
* | mingw
* | pw32
* | cegcc
*)
9163 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9164 # as there is no search path for DLLs.
9165 hardcode_libdir_flag_spec
='-L$libdir'
9166 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9167 allow_undefined_flag
=unsupported
9168 always_export_symbols
=no
9169 enable_shared_with_static_runtimes
=yes
9170 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9172 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9173 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9174 # If the export-symbols file already is a .def file (1st line
9175 # is EXPORTS), use it as is; otherwise, prepend...
9176 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9177 cp $export_symbols $output_objdir/$soname.def;
9179 echo EXPORTS > $output_objdir/$soname.def;
9180 cat $export_symbols >> $output_objdir/$soname.def;
9182 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9189 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9190 link_all_deplibs
=yes
9195 hardcode_shlibpath_var
=no
9196 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9197 export_dynamic_flag_spec
='${wl}-E'
9198 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9199 # Instead, shared libraries are loaded at an image base (0x10000000 by
9200 # default) and relocated if they conflict, which is a slow very memory
9201 # consuming and fragmenting process. To avoid this, we pick a random,
9202 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9203 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9204 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9205 archive_expsym_cmds
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9208 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
9210 if test "$host_os" = linux-dietlibc
; then
9211 case $cc_basename in
9212 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9215 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9216 && test "$tmp_diet" = no
9218 tmp_addflag
=' $pic_flag'
9219 tmp_sharedflag
='-shared'
9220 case $cc_basename,$host_cpu in
9221 pgcc
*) # Portland Group C compiler
9222 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9223 tmp_addflag
=' $pic_flag'
9225 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9226 # Portland Group f77 and f90 compilers
9227 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9228 tmp_addflag
=' $pic_flag -Mnomain' ;;
9229 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9230 tmp_addflag
=' -i_dynamic' ;;
9231 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9232 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9233 ifc
* | ifort
*) # Intel Fortran compiler
9234 tmp_addflag
=' -nofor_main' ;;
9235 lf95
*) # Lahey Fortran 8.1
9236 whole_archive_flag_spec
=
9237 tmp_sharedflag
='--shared' ;;
9238 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9239 tmp_sharedflag
='-qmkshrobj'
9241 nvcc
*) # Cuda Compiler Driver 2.2
9242 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9243 compiler_needs_object
=yes
9246 case `$CC -V 2>&1 | sed 5q` in
9247 *Sun\ C
*) # Sun C 5.9
9248 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9249 compiler_needs_object
=yes
9250 tmp_sharedflag
='-G' ;;
9251 *Sun\ F
*) # Sun Fortran 8.3
9252 tmp_sharedflag
='-G' ;;
9254 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9256 if test "x$supports_anon_versioning" = xyes
; then
9257 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9258 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9259 echo "local: *; };" >> $output_objdir/$libname.ver~
9260 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9263 case $cc_basename in
9264 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9265 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9266 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9267 hardcode_libdir_flag_spec
=
9268 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9269 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9270 if test "x$supports_anon_versioning" = xyes
; then
9271 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9272 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9273 echo "local: *; };" >> $output_objdir/$libname.ver~
9274 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9284 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9285 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9288 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9289 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9294 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9298 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9299 *** create shared libraries on Solaris systems. Therefore, libtool
9300 *** is disabling shared libraries support. We urge you to upgrade GNU
9301 *** binutils to release 2.9.1 or newer. Another option is to modify
9302 *** your PATH or compiler configuration so that the native linker is
9303 *** used, and then restart.
9306 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9307 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9308 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9314 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9315 case `$LD -v 2>&1` in
9316 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9320 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9321 *** reliably create shared libraries on SCO systems. Therefore, libtool
9322 *** is disabling shared libraries support. We urge you to upgrade GNU
9323 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9324 *** your PATH or compiler configuration so that the native linker is
9325 *** used, and then restart.
9330 # For security reasons, it is highly recommended that you always
9331 # use absolute paths for naming shared libraries, and exclude the
9332 # DT_RUNPATH tag from executables and libraries. But doing so
9333 # requires that you compile everything twice, which is a pain.
9334 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9335 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9336 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9337 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9346 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9349 hardcode_shlibpath_var
=no
9353 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9354 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9355 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9362 if test "$ld_shlibs" = no
; then
9364 hardcode_libdir_flag_spec
=
9365 export_dynamic_flag_spec
=
9366 whole_archive_flag_spec
=
9369 # PORTME fill in a description of your system's linker (not GNU ld)
9372 allow_undefined_flag
=unsupported
9373 always_export_symbols
=yes
9374 archive_expsym_cmds
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9375 # Note: this linker hardcodes the directories in LIBPATH if there
9376 # are no directories specified by -L.
9377 hardcode_minus_L
=yes
9378 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9379 # Neither direct hardcoding nor static linking is supported with a
9381 hardcode_direct
=unsupported
9386 if test "$host_cpu" = ia64
; then
9387 # On IA64, the linker does run time linking by default, so we don't
9388 # have to do anything special.
9389 aix_use_runtimelinking
=no
9390 exp_sym_flag
='-Bexport'
9393 # If we're using GNU nm, then we don't want the "-C" option.
9394 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9395 # Also, AIX nm treats weak defined symbols like other global
9396 # defined symbols, whereas GNU nm marks them as "W".
9397 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9398 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9400 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9402 aix_use_runtimelinking
=no
9404 # Test if we are trying to use run time linking or normal
9405 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9406 # need to do runtime linking.
9407 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9408 for ld_flag
in $LDFLAGS; do
9409 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9410 aix_use_runtimelinking
=yes
9417 exp_sym_flag
='-bexport'
9418 no_entry_flag
='-bnoentry'
9421 # When large executables or shared objects are built, AIX ld can
9422 # have problems creating the table of contents. If linking a library
9423 # or program results in "error TOC overflow" add -mminimal-toc to
9424 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9425 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9429 hardcode_direct_absolute
=yes
9430 hardcode_libdir_separator
=':'
9431 link_all_deplibs
=yes
9432 file_list_spec
='${wl}-f,'
9434 if test "$GCC" = yes; then
9435 case $host_os in aix4.
[012]|aix4.
[012].
*)
9436 # We only want to do this on AIX 4.2 and lower, the check
9437 # below for broken collect2 doesn't work under 4.3+
9438 collect2name
=`${CC} -print-prog-name=collect2`
9439 if test -f "$collect2name" &&
9440 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9442 # We have reworked collect2
9445 # We have old collect2
9446 hardcode_direct
=unsupported
9447 # It fails to find uninstalled libraries when the uninstalled
9448 # path is not listed in the libpath. Setting hardcode_minus_L
9449 # to unsupported forces relinking
9450 hardcode_minus_L
=yes
9451 hardcode_libdir_flag_spec
='-L$libdir'
9452 hardcode_libdir_separator
=
9456 shared_flag
='-shared'
9457 if test "$aix_use_runtimelinking" = yes; then
9458 shared_flag
="$shared_flag "'${wl}-G'
9462 if test "$host_cpu" = ia64
; then
9463 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9464 # chokes on -Wl,-G. The following line is correct:
9467 if test "$aix_use_runtimelinking" = yes; then
9468 shared_flag
='${wl}-G'
9470 shared_flag
='${wl}-bM:SRE'
9475 export_dynamic_flag_spec
='${wl}-bexpall'
9476 # It seems that -bexpall does not export symbols beginning with
9477 # underscore (_), so it is better to generate a list of symbols to export.
9478 always_export_symbols
=yes
9479 if test "$aix_use_runtimelinking" = yes; then
9480 # Warning - without using the other runtime loading flags (-brtl),
9481 # -berok will link without error, but may produce a broken library.
9482 allow_undefined_flag
='-berok'
9483 # Determine the default libpath from the value encoded in an
9485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9486 /* end confdefs.h. */
9496 if ac_fn_c_try_link
"$LINENO"; then :
9498 lt_aix_libpath_sed
='
9499 /Import File Strings/,/^$/ {
9505 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9506 # Check for a 64-bit object if we didn't find anything.
9507 if test -z "$aix_libpath"; then
9508 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9511 rm -f core conftest.err conftest.
$ac_objext \
9512 conftest
$ac_exeext conftest.
$ac_ext
9513 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9515 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9516 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9518 if test "$host_cpu" = ia64
; then
9519 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9520 allow_undefined_flag
="-z nodefs"
9521 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9523 # Determine the default libpath from the value encoded in an
9525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9526 /* end confdefs.h. */
9536 if ac_fn_c_try_link
"$LINENO"; then :
9538 lt_aix_libpath_sed
='
9539 /Import File Strings/,/^$/ {
9545 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9546 # Check for a 64-bit object if we didn't find anything.
9547 if test -z "$aix_libpath"; then
9548 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9551 rm -f core conftest.err conftest.
$ac_objext \
9552 conftest
$ac_exeext conftest.
$ac_ext
9553 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9555 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9556 # Warning - without using the other run time loading flags,
9557 # -berok will link without error, but may produce a broken library.
9558 no_undefined_flag
=' ${wl}-bernotok'
9559 allow_undefined_flag
=' ${wl}-berok'
9560 if test "$with_gnu_ld" = yes; then
9561 # We only use this code for GNU lds that support --whole-archive.
9562 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9564 # Exported symbols can be pulled into shared objects from archives
9565 whole_archive_flag_spec
='$convenience'
9567 archive_cmds_need_lc
=yes
9568 # This is similar to how AIX traditionally builds its shared libraries.
9569 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9577 # see comment about AmigaOS4 .so support
9578 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9579 archive_expsym_cmds
=''
9582 archive_cmds
='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9583 hardcode_libdir_flag_spec
='-L$libdir'
9584 hardcode_minus_L
=yes
9590 export_dynamic_flag_spec
=-rdynamic
9593 cygwin
* | mingw
* | pw32
* | cegcc
*)
9594 # When not using gcc, we currently assume that we are using
9595 # Microsoft Visual C++.
9596 # hardcode_libdir_flag_spec is actually meaningless, as there is
9597 # no search path for DLLs.
9598 hardcode_libdir_flag_spec
=' '
9599 allow_undefined_flag
=unsupported
9600 # Tell ltmain to make .lib files, not .a files.
9602 # Tell ltmain to make .dll files, not .so files.
9604 # FIXME: Setting linknames here is a bad hack.
9605 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9606 # The linker will automatically build a .lib file if we build a DLL.
9607 old_archive_from_new_cmds
='true'
9608 # FIXME: Should let the user specify the lib program.
9609 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9610 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9611 enable_shared_with_static_runtimes
=yes
9614 darwin
* | rhapsody
*)
9617 archive_cmds_need_lc
=no
9619 hardcode_automatic
=yes
9620 hardcode_shlibpath_var
=unsupported
9621 if test "$lt_cv_ld_force_load" = "yes"; then
9622 whole_archive_flag_spec
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9624 whole_archive_flag_spec
=''
9626 link_all_deplibs
=yes
9627 allow_undefined_flag
="$_lt_dar_allow_undefined"
9628 case $cc_basename in
9629 ifort
*) _lt_dar_can_shared
=yes ;;
9630 *) _lt_dar_can_shared
=$GCC ;;
9632 if test "$_lt_dar_can_shared" = "yes"; then
9633 output_verbose_link_cmd
=func_echo_all
9634 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9635 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9636 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9637 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9646 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9647 hardcode_libdir_flag_spec
='-L$libdir'
9648 hardcode_shlibpath_var
=no
9651 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9652 # support. Future versions do this automatically, but an explicit c++rt0.o
9653 # does not break anything, and helps significantly (at the cost of a little
9656 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9657 hardcode_libdir_flag_spec
='-R$libdir'
9659 hardcode_shlibpath_var
=no
9662 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9664 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9666 hardcode_minus_L
=yes
9667 hardcode_shlibpath_var
=no
9670 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9671 freebsd
* | dragonfly
*)
9672 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9673 hardcode_libdir_flag_spec
='-R$libdir'
9675 hardcode_shlibpath_var
=no
9679 if test "$GCC" = yes; then
9680 archive_cmds
='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9682 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9684 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9685 hardcode_libdir_separator
=:
9688 # hardcode_minus_L: Not really in the search PATH,
9689 # but as the default location of the library.
9690 hardcode_minus_L
=yes
9691 export_dynamic_flag_spec
='${wl}-E'
9695 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9696 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9698 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9700 if test "$with_gnu_ld" = no
; then
9701 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9702 hardcode_libdir_flag_spec_ld
='+b $libdir'
9703 hardcode_libdir_separator
=:
9705 hardcode_direct_absolute
=yes
9706 export_dynamic_flag_spec
='${wl}-E'
9707 # hardcode_minus_L: Not really in the search PATH,
9708 # but as the default location of the library.
9709 hardcode_minus_L
=yes
9714 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9717 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9720 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9723 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9729 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9732 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9736 # Older versions of the 11.00 compiler do not understand -b yet
9737 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9739 $as_echo_n "checking if $CC understands -b... " >&6; }
9740 if ${lt_cv_prog_compiler__b+:} false
; then :
9741 $as_echo_n "(cached) " >&6
9743 lt_cv_prog_compiler__b
=no
9744 save_LDFLAGS
="$LDFLAGS"
9745 LDFLAGS
="$LDFLAGS -b"
9746 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9747 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9748 # The linker can only warn and ignore the option if not recognized
9749 # So say no if there are warnings
9750 if test -s conftest.err
; then
9751 # Append any errors to the config.log.
9752 cat conftest.err
1>&5
9753 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9754 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9755 if diff conftest.exp conftest.er2
>/dev
/null
; then
9756 lt_cv_prog_compiler__b
=yes
9759 lt_cv_prog_compiler__b
=yes
9763 LDFLAGS
="$save_LDFLAGS"
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9767 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9769 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9770 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9772 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9778 if test "$with_gnu_ld" = no
; then
9779 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9780 hardcode_libdir_separator
=:
9785 hardcode_shlibpath_var
=no
9789 hardcode_direct_absolute
=yes
9790 export_dynamic_flag_spec
='${wl}-E'
9792 # hardcode_minus_L: Not really in the search PATH,
9793 # but as the default location of the library.
9794 hardcode_minus_L
=yes
9800 irix5
* | irix6
* | nonstopux
*)
9801 if test "$GCC" = yes; then
9802 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9803 # Try to use the -exported_symbol ld option, if it does not
9804 # work, assume that -exports_file does not work either and
9805 # implicitly export all symbols.
9806 save_LDFLAGS
="$LDFLAGS"
9807 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9809 /* end confdefs.h. */
9812 if ac_fn_c_try_link
"$LINENO"; then :
9813 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9816 rm -f core conftest.err conftest.
$ac_objext \
9817 conftest
$ac_exeext conftest.
$ac_ext
9818 LDFLAGS
="$save_LDFLAGS"
9820 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9821 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9823 archive_cmds_need_lc
='no'
9824 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9825 hardcode_libdir_separator
=:
9827 link_all_deplibs
=yes
9831 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9832 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9834 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9836 hardcode_libdir_flag_spec
='-R$libdir'
9838 hardcode_shlibpath_var
=no
9842 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9844 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9845 hardcode_libdir_separator
=:
9846 hardcode_shlibpath_var
=no
9853 if test -f /usr
/libexec
/ld.so
; then
9855 hardcode_shlibpath_var
=no
9856 hardcode_direct_absolute
=yes
9857 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9858 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9859 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9860 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9861 export_dynamic_flag_spec
='${wl}-E'
9864 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9865 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9866 hardcode_libdir_flag_spec
='-R$libdir'
9869 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9870 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9880 hardcode_libdir_flag_spec
='-L$libdir'
9881 hardcode_minus_L
=yes
9882 allow_undefined_flag
=unsupported
9883 archive_cmds
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9884 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9888 if test "$GCC" = yes; then
9889 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9890 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9892 allow_undefined_flag
=' -expect_unresolved \*'
9893 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9895 archive_cmds_need_lc
='no'
9896 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9897 hardcode_libdir_separator
=:
9900 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9901 if test "$GCC" = yes; then
9902 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9903 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9904 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9906 allow_undefined_flag
=' -expect_unresolved \*'
9907 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9908 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9909 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9911 # Both c and cxx compiler support -rpath directly
9912 hardcode_libdir_flag_spec
='-rpath $libdir'
9914 archive_cmds_need_lc
='no'
9915 hardcode_libdir_separator
=:
9919 no_undefined_flag
=' -z defs'
9920 if test "$GCC" = yes; then
9922 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9923 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9924 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9926 case `$CC -V 2>&1` in
9929 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9930 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9931 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9935 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9936 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9937 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9941 hardcode_libdir_flag_spec
='-R$libdir'
9942 hardcode_shlibpath_var
=no
9944 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9946 # The compiler driver will combine and reorder linker options,
9947 # but understands `-z linker_flag'. GCC discards it without `$wl',
9948 # but is careful enough not to reorder.
9949 # Supported since Solaris 2.6 (maybe 2.5.1?)
9950 if test "$GCC" = yes; then
9951 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9953 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9957 link_all_deplibs
=yes
9961 if test "x$host_vendor" = xsequent
; then
9962 # Use $CC to link under sequent, because it throws in some extra .o
9963 # files that make .init and .fini sections work.
9964 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9966 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9968 hardcode_libdir_flag_spec
='-L$libdir'
9970 hardcode_minus_L
=yes
9971 hardcode_shlibpath_var
=no
9975 case $host_vendor in
9977 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9978 hardcode_direct
=yes # is this really true???
9981 ## LD is ld it makes a PLAMLIB
9982 ## CC just makes a GrossModule.
9983 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9984 reload_cmds
='$CC -r -o $output$reload_objs'
9988 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9989 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9992 runpath_var
='LD_RUN_PATH'
9993 hardcode_shlibpath_var
=no
9997 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9998 hardcode_shlibpath_var
=no
9999 export_dynamic_flag_spec
='-Bexport'
10003 if test -d /usr
/nec
; then
10004 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10005 hardcode_shlibpath_var
=no
10006 runpath_var
=LD_RUN_PATH
10007 hardcode_runpath_var
=yes
10012 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10013 no_undefined_flag
='${wl}-z,text'
10014 archive_cmds_need_lc
=no
10015 hardcode_shlibpath_var
=no
10016 runpath_var
='LD_RUN_PATH'
10018 if test "$GCC" = yes; then
10019 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10020 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10022 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10023 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10027 sysv5
* | sco3.2v5
* | sco5v6
*)
10028 # Note: We can NOT use -z defs as we might desire, because we do not
10029 # link with -lc, and that would cause any symbols used from libc to
10030 # always be unresolved, which means just about no library would
10031 # ever link correctly. If we're not using GNU ld we use -z text
10032 # though, which does catch some bad symbols but isn't as heavy-handed
10034 no_undefined_flag
='${wl}-z,text'
10035 allow_undefined_flag
='${wl}-z,nodefs'
10036 archive_cmds_need_lc
=no
10037 hardcode_shlibpath_var
=no
10038 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10039 hardcode_libdir_separator
=':'
10040 link_all_deplibs
=yes
10041 export_dynamic_flag_spec
='${wl}-Bexport'
10042 runpath_var
='LD_RUN_PATH'
10044 if test "$GCC" = yes; then
10045 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10046 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10048 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10049 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10054 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10055 hardcode_libdir_flag_spec
='-L$libdir'
10056 hardcode_shlibpath_var
=no
10064 if test x
$host_vendor = xsni
; then
10066 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10067 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10074 $as_echo "$ld_shlibs" >&6; }
10075 test "$ld_shlibs" = no
&& can_build_shared
=no
10077 with_gnu_ld
=$with_gnu_ld
10094 # Do we need to explicitly link libc?
10096 case "x$archive_cmds_need_lc" in
10098 # Assume -lc should be added
10099 archive_cmds_need_lc
=yes
10101 if test "$enable_shared" = yes && test "$GCC" = yes; then
10102 case $archive_cmds in
10104 # FIXME: we may have to deal with multi-command sequences.
10107 # Test whether the compiler implicitly links with -lc since on some
10108 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10109 # to ld, don't add -lc before -lgcc.
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10111 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10112 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10113 $as_echo_n "(cached) " >&6
10116 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10118 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10119 (eval $ac_compile) 2>&5
10121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10122 test $ac_status = 0; } 2>conftest.err
; then
10125 libobjs
=conftest.
$ac_objext
10127 wl
=$lt_prog_compiler_wl
10128 pic_flag
=$lt_prog_compiler_pic
10134 lt_save_allow_undefined_flag
=$allow_undefined_flag
10135 allow_undefined_flag
=
10136 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10137 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10140 test $ac_status = 0; }
10142 lt_cv_archive_cmds_need_lc
=no
10144 lt_cv_archive_cmds_need_lc
=yes
10146 allow_undefined_flag
=$lt_save_allow_undefined_flag
10148 cat conftest.err
1>&5
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10154 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10155 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10319 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10321 if test "$GCC" = yes; then
10323 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10324 *) lt_awk_arg
="/^libraries:/" ;;
10327 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10328 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10330 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10331 case $lt_search_path_spec in
10333 # if the path contains ";" then we assume it to be the separator
10334 # otherwise default to the standard path separator (i.e. ":") - it is
10335 # assumed that no part of a normal pathname contains ";" but that should
10336 # okay in the real world where ";" in dirpaths is itself problematic.
10337 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10340 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10343 # Ok, now we have the path, separated by spaces, we can step through it
10344 # and add multilib dir if necessary.
10345 lt_tmp_lt_search_path_spec
=
10346 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10347 for lt_sys_path
in $lt_search_path_spec; do
10348 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10349 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10351 test -d "$lt_sys_path" && \
10352 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10355 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10356 BEGIN {RS=" "; FS="/|\n";} {
10359 for (lt_i = NF; lt_i > 0; lt_i--) {
10360 if ($lt_i != "" && $lt_i != ".") {
10361 if ($lt_i == "..") {
10364 if (lt_count == 0) {
10365 lt_foo="/" $lt_i lt_foo;
10372 if (lt_foo != "") { lt_freq[lt_foo]++; }
10373 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10375 # AWK program above erroneously prepends '/' to C:/dos/paths
10378 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10379 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10381 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10383 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10385 library_names_spec
=
10386 libname_spec
='lib$name'
10390 postuninstall_cmds
=
10394 shlibpath_overrides_runpath
=unknown
10396 dynamic_linker
="$host_os ld.so"
10397 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10398 need_lib_prefix
=unknown
10399 hardcode_into_libs
=no
10401 # when you set need_version to no, make sure it does not cause -set_version
10402 # flags to be left without arguments
10403 need_version
=unknown
10408 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10409 shlibpath_var
=LIBPATH
10411 # AIX 3 has no versioning support, so we append a major version to the name.
10412 soname_spec
='${libname}${release}${shared_ext}$major'
10419 hardcode_into_libs
=yes
10420 if test "$host_cpu" = ia64
; then
10421 # AIX 5 supports IA64
10422 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10423 shlibpath_var
=LD_LIBRARY_PATH
10425 # With GCC up to 2.95.x, collect2 would create an import file
10426 # for dependence libraries. The import file would start with
10427 # the line `#! .'. This would cause the generated library to
10428 # depend on `.', always an invalid library. This was fixed in
10429 # development snapshots of GCC prior to 3.0.
10431 aix4 | aix4.
[01] | aix4.
[01].
*)
10432 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10434 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10437 can_build_shared
=no
10441 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10442 # soname into executable. Probably we can add versioning support to
10443 # collect2, so additional links can be useful in future.
10444 if test "$aix_use_runtimelinking" = yes; then
10445 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10446 # instead of lib<name>.a to let people know that these are not
10447 # typical AIX shared libraries.
10448 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10450 # We preserve .a as extension for shared libraries through AIX4.2
10451 # and later when we are not doing run time linking.
10452 library_names_spec
='${libname}${release}.a $libname.a'
10453 soname_spec
='${libname}${release}${shared_ext}$major'
10455 shlibpath_var
=LIBPATH
10462 # Since July 2007 AmigaOS4 officially supports .so libraries.
10463 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10464 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10467 library_names_spec
='$libname.ixlibrary $libname.a'
10468 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10469 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10475 library_names_spec
='${libname}${shared_ext}'
10476 dynamic_linker
="$host_os ld.so"
10477 shlibpath_var
=LIBRARY_PATH
10483 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10484 soname_spec
='${libname}${release}${shared_ext}$major'
10485 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10486 shlibpath_var
=LD_LIBRARY_PATH
10487 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10488 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10489 # the default ld.so.conf also contains /usr/contrib/lib and
10490 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10491 # libtool to hard-code these into programs
10494 cygwin
* | mingw
* | pw32
* | cegcc
*)
10495 version_type
=windows
10500 case $GCC,$host_os in
10501 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10502 library_names_spec
='$libname.dll.a'
10503 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10504 postinstall_cmds
='base_file=`basename \${file}`~
10505 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10506 dldir=$destdir/`dirname \$dlpath`~
10507 test -d \$dldir || mkdir -p \$dldir~
10508 $install_prog $dir/$dlname \$dldir/$dlname~
10509 chmod a+x \$dldir/$dlname~
10510 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10511 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10513 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10514 dlpath=$dir/\$dldll~
10516 shlibpath_overrides_runpath
=yes
10520 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10521 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10523 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10526 # MinGW DLLs use traditional 'lib' prefix
10527 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10530 # pw32 DLLs use 'pw' prefix rather than 'lib'
10531 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10537 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10540 dynamic_linker
='Win32 ld.exe'
10541 # FIXME: first we should search . and the directory the executable is in
10545 darwin
* | rhapsody
*)
10546 dynamic_linker
="$host_os dyld"
10547 version_type
=darwin
10550 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10551 soname_spec
='${libname}${release}${major}$shared_ext'
10552 shlibpath_overrides_runpath
=yes
10553 shlibpath_var
=DYLD_LIBRARY_PATH
10554 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10556 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10557 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10564 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10565 soname_spec
='${libname}${release}${shared_ext}$major'
10566 shlibpath_var
=LD_LIBRARY_PATH
10569 freebsd
* | dragonfly
*)
10570 # DragonFly does not have aout. When/if they implement a new
10571 # versioning mechanism, adjust this.
10572 if test -x /usr
/bin
/objformat
; then
10573 objformat
=`/usr/bin/objformat`
10576 freebsd
[23].
*) objformat
=aout
;;
10577 *) objformat
=elf
;;
10580 version_type
=freebsd-
$objformat
10581 case $version_type in
10583 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10588 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10592 shlibpath_var
=LD_LIBRARY_PATH
10595 shlibpath_overrides_runpath
=yes
10597 freebsd3.
[01]* | freebsdelf3.
[01]*)
10598 shlibpath_overrides_runpath
=yes
10599 hardcode_into_libs
=yes
10601 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10602 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10603 shlibpath_overrides_runpath
=no
10604 hardcode_into_libs
=yes
10606 *) # from 4.6 on, and DragonFly
10607 shlibpath_overrides_runpath
=yes
10608 hardcode_into_libs
=yes
10617 dynamic_linker
="$host_os runtime_loader"
10618 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10619 soname_spec
='${libname}${release}${shared_ext}$major'
10620 shlibpath_var
=LIBRARY_PATH
10621 shlibpath_overrides_runpath
=yes
10622 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10623 hardcode_into_libs
=yes
10626 hpux9
* | hpux10
* | hpux11
*)
10627 # Give a soname corresponding to the major version so that dld.sl refuses to
10628 # link against other versions.
10635 hardcode_into_libs
=yes
10636 dynamic_linker
="$host_os dld.so"
10637 shlibpath_var
=LD_LIBRARY_PATH
10638 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10639 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10640 soname_spec
='${libname}${release}${shared_ext}$major'
10641 if test "X$HPUX_IA64_MODE" = X32
; then
10642 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10644 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10646 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10650 hardcode_into_libs
=yes
10651 dynamic_linker
="$host_os dld.sl"
10652 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10653 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10654 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10655 soname_spec
='${libname}${release}${shared_ext}$major'
10656 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10657 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10661 dynamic_linker
="$host_os dld.sl"
10662 shlibpath_var
=SHLIB_PATH
10663 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10664 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10665 soname_spec
='${libname}${release}${shared_ext}$major'
10668 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10669 postinstall_cmds
='chmod 555 $lib'
10670 # or fails outright, so override atomically:
10671 install_override_mode
=555
10678 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10679 soname_spec
='${libname}${release}${shared_ext}$major'
10680 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10681 shlibpath_var
=LD_LIBRARY_PATH
10682 shlibpath_overrides_runpath
=no
10683 hardcode_into_libs
=yes
10686 irix5
* | irix6
* | nonstopux
*)
10688 nonstopux
*) version_type
=nonstopux
;;
10690 if test "$lt_cv_prog_gnu_ld" = yes; then
10698 soname_spec
='${libname}${release}${shared_ext}$major'
10699 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10701 irix5
* | nonstopux
*)
10702 libsuff
= shlibsuff
=
10705 case $LD in # libtool.m4 will add one of these switches to LD
10706 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10707 libsuff
= shlibsuff
= libmagic
=32-bit;;
10708 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10709 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10710 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10711 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10712 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10716 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10717 shlibpath_overrides_runpath
=no
10718 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10719 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10720 hardcode_into_libs
=yes
10723 # No shared lib support for Linux oldld, aout, or coff.
10724 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10728 # This must be Linux ELF.
10730 # uclinux* changes (here and below) have been submitted to the libtool
10731 # project, but have not yet been accepted: they are GCC-local changes
10732 # for the time being. (See
10733 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
10734 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
10738 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10739 soname_spec
='${libname}${release}${shared_ext}$major'
10740 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10741 shlibpath_var
=LD_LIBRARY_PATH
10742 shlibpath_overrides_runpath
=no
10744 # Some binutils ld are patched to set DT_RUNPATH
10745 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10746 $as_echo_n "(cached) " >&6
10748 lt_cv_shlibpath_overrides_runpath
=no
10749 save_LDFLAGS
=$LDFLAGS
10750 save_libdir
=$libdir
10751 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10752 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10754 /* end confdefs.h. */
10764 if ac_fn_c_try_link
"$LINENO"; then :
10765 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10766 lt_cv_shlibpath_overrides_runpath
=yes
10769 rm -f core conftest.err conftest.
$ac_objext \
10770 conftest
$ac_exeext conftest.
$ac_ext
10771 LDFLAGS
=$save_LDFLAGS
10772 libdir
=$save_libdir
10776 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10778 # This implies no fast_install, which is unacceptable.
10779 # Some rework will be needed to allow for fast_install
10780 # before this can be enabled.
10781 hardcode_into_libs
=yes
10783 # Append ld.so.conf contents to the search path
10784 if test -f /etc
/ld.so.conf
; then
10785 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' ' '`
10786 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10789 # We used to test for /lib/ld.so.1 and disable shared libraries on
10790 # powerpc, because MkLinux only supported shared libraries with the
10791 # GNU dynamic linker. Since this was broken with cross compilers,
10792 # most powerpc-linux boxes support dynamic linking these days and
10793 # people can always --disable-shared, the test was removed, and we
10794 # assume the GNU/Linux dynamic linker is in use.
10795 dynamic_linker
='GNU/Linux ld.so'
10802 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10803 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10804 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10805 dynamic_linker
='NetBSD (a.out) ld.so'
10807 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10808 soname_spec
='${libname}${release}${shared_ext}$major'
10809 dynamic_linker
='NetBSD ld.elf_so'
10811 shlibpath_var
=LD_LIBRARY_PATH
10812 shlibpath_overrides_runpath
=yes
10813 hardcode_into_libs
=yes
10818 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10819 shlibpath_var
=LD_LIBRARY_PATH
10820 shlibpath_overrides_runpath
=yes
10827 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10828 soname_spec
='${libname}${release}${shared_ext}$major'
10829 shlibpath_var
=LD_LIBRARY_PATH
10830 shlibpath_overrides_runpath
=no
10831 hardcode_into_libs
=yes
10832 dynamic_linker
='ldqnx.so'
10837 sys_lib_dlsearch_path_spec
="/usr/lib"
10839 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10841 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10842 *) need_version
=no
;;
10844 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10845 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10846 shlibpath_var
=LD_LIBRARY_PATH
10847 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10849 openbsd2.
[89] | openbsd2.
[89].
*)
10850 shlibpath_overrides_runpath
=no
10853 shlibpath_overrides_runpath
=yes
10857 shlibpath_overrides_runpath
=yes
10862 libname_spec
='$name'
10865 library_names_spec
='$libname${shared_ext} $libname.a'
10866 dynamic_linker
='OS/2 ld.exe'
10867 shlibpath_var
=LIBPATH
10870 osf3
* | osf4
* | osf5
*)
10874 soname_spec
='${libname}${release}${shared_ext}$major'
10875 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10876 shlibpath_var
=LD_LIBRARY_PATH
10877 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10878 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10889 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10890 soname_spec
='${libname}${release}${shared_ext}$major'
10891 shlibpath_var
=LD_LIBRARY_PATH
10892 shlibpath_overrides_runpath
=yes
10893 hardcode_into_libs
=yes
10894 # ldd complains unless libraries are executable
10895 postinstall_cmds
='chmod +x $lib'
10900 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10901 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10902 shlibpath_var
=LD_LIBRARY_PATH
10903 shlibpath_overrides_runpath
=yes
10904 if test "$with_gnu_ld" = yes; then
10912 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10913 soname_spec
='${libname}${release}${shared_ext}$major'
10914 shlibpath_var
=LD_LIBRARY_PATH
10915 case $host_vendor in
10917 shlibpath_overrides_runpath
=no
10919 runpath_var
=LD_RUN_PATH
10927 shlibpath_overrides_runpath
=no
10928 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10934 if test -d /usr
/nec
;then
10936 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10937 soname_spec
='$libname${shared_ext}.$major'
10938 shlibpath_var
=LD_LIBRARY_PATH
10942 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10943 version_type
=freebsd-elf
10946 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10947 soname_spec
='${libname}${release}${shared_ext}$major'
10948 shlibpath_var
=LD_LIBRARY_PATH
10949 shlibpath_overrides_runpath
=yes
10950 hardcode_into_libs
=yes
10951 if test "$with_gnu_ld" = yes; then
10952 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10954 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10957 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10961 sys_lib_dlsearch_path_spec
='/usr/lib'
10965 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10969 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10970 shlibpath_var
=LD_LIBRARY_PATH
10971 shlibpath_overrides_runpath
=no
10972 hardcode_into_libs
=yes
10977 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10978 soname_spec
='${libname}${release}${shared_ext}$major'
10979 shlibpath_var
=LD_LIBRARY_PATH
10986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10987 $as_echo "$dynamic_linker" >&6; }
10988 test "$dynamic_linker" = no
&& can_build_shared
=no
10990 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10991 if test "$GCC" = yes; then
10992 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10995 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10996 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10998 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10999 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11094 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11096 if test -n "$hardcode_libdir_flag_spec" ||
11097 test -n "$runpath_var" ||
11098 test "X$hardcode_automatic" = "Xyes" ; then
11100 # We can hardcode non-existent directories.
11101 if test "$hardcode_direct" != no
&&
11102 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11103 # have to relink, otherwise we might link with an installed library
11104 # when we should be linking with a yet-to-be-installed one
11105 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11106 test "$hardcode_minus_L" != no
; then
11107 # Linking always hardcodes the temporary library directory.
11108 hardcode_action
=relink
11110 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11111 hardcode_action
=immediate
11114 # We cannot hardcode anything, or else we can only hardcode existing
11116 hardcode_action
=unsupported
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11119 $as_echo "$hardcode_action" >&6; }
11121 if test "$hardcode_action" = relink ||
11122 test "$inherit_rpath" = yes; then
11123 # Fast installation is not supported
11124 enable_fast_install
=no
11125 elif test "$shlibpath_overrides_runpath" = yes ||
11126 test "$enable_shared" = no
; then
11127 # Fast installation is not necessary
11128 enable_fast_install
=needless
11136 if test "x$enable_dlopen" != xyes
; then
11137 enable_dlopen
=unknown
11138 enable_dlopen_self
=unknown
11139 enable_dlopen_self_static
=unknown
11146 lt_cv_dlopen
="load_add_on"
11148 lt_cv_dlopen_self
=yes
11151 mingw
* | pw32
* | cegcc
*)
11152 lt_cv_dlopen
="LoadLibrary"
11157 lt_cv_dlopen
="dlopen"
11162 # if libdl is installed we need to link against it
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11164 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11165 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11166 $as_echo_n "(cached) " >&6
11168 ac_check_lib_save_LIBS
=$LIBS
11170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11171 /* end confdefs.h. */
11173 /* Override any GCC internal prototype to avoid an error.
11174 Use char because int might match the return type of a GCC
11175 builtin and then its argument prototype would still apply. */
11188 if ac_fn_c_try_link
"$LINENO"; then :
11189 ac_cv_lib_dl_dlopen
=yes
11191 ac_cv_lib_dl_dlopen
=no
11193 rm -f core conftest.err conftest.
$ac_objext \
11194 conftest
$ac_exeext conftest.
$ac_ext
11195 LIBS
=$ac_check_lib_save_LIBS
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11198 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11199 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11200 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11203 lt_cv_dlopen
="dyld"
11205 lt_cv_dlopen_self
=yes
11212 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11213 if test "x$ac_cv_func_shl_load" = xyes
; then :
11214 lt_cv_dlopen
="shl_load"
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11217 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11218 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11219 $as_echo_n "(cached) " >&6
11221 ac_check_lib_save_LIBS
=$LIBS
11223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11224 /* end confdefs.h. */
11226 /* Override any GCC internal prototype to avoid an error.
11227 Use char because int might match the return type of a GCC
11228 builtin and then its argument prototype would still apply. */
11236 return shl_load ();
11241 if ac_fn_c_try_link
"$LINENO"; then :
11242 ac_cv_lib_dld_shl_load
=yes
11244 ac_cv_lib_dld_shl_load
=no
11246 rm -f core conftest.err conftest.
$ac_objext \
11247 conftest
$ac_exeext conftest.
$ac_ext
11248 LIBS
=$ac_check_lib_save_LIBS
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11251 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11252 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11253 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11255 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11256 if test "x$ac_cv_func_dlopen" = xyes
; then :
11257 lt_cv_dlopen
="dlopen"
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11260 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11261 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11262 $as_echo_n "(cached) " >&6
11264 ac_check_lib_save_LIBS
=$LIBS
11266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11267 /* end confdefs.h. */
11269 /* Override any GCC internal prototype to avoid an error.
11270 Use char because int might match the return type of a GCC
11271 builtin and then its argument prototype would still apply. */
11284 if ac_fn_c_try_link
"$LINENO"; then :
11285 ac_cv_lib_dl_dlopen
=yes
11287 ac_cv_lib_dl_dlopen
=no
11289 rm -f core conftest.err conftest.
$ac_objext \
11290 conftest
$ac_exeext conftest.
$ac_ext
11291 LIBS
=$ac_check_lib_save_LIBS
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11294 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11295 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11296 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11299 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11300 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11301 $as_echo_n "(cached) " >&6
11303 ac_check_lib_save_LIBS
=$LIBS
11304 LIBS
="-lsvld $LIBS"
11305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11306 /* end confdefs.h. */
11308 /* Override any GCC internal prototype to avoid an error.
11309 Use char because int might match the return type of a GCC
11310 builtin and then its argument prototype would still apply. */
11323 if ac_fn_c_try_link
"$LINENO"; then :
11324 ac_cv_lib_svld_dlopen
=yes
11326 ac_cv_lib_svld_dlopen
=no
11328 rm -f core conftest.err conftest.
$ac_objext \
11329 conftest
$ac_exeext conftest.
$ac_ext
11330 LIBS
=$ac_check_lib_save_LIBS
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11333 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11334 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11335 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11338 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11339 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11340 $as_echo_n "(cached) " >&6
11342 ac_check_lib_save_LIBS
=$LIBS
11344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11345 /* end confdefs.h. */
11347 /* Override any GCC internal prototype to avoid an error.
11348 Use char because int might match the return type of a GCC
11349 builtin and then its argument prototype would still apply. */
11357 return dld_link ();
11362 if ac_fn_c_try_link
"$LINENO"; then :
11363 ac_cv_lib_dld_dld_link
=yes
11365 ac_cv_lib_dld_dld_link
=no
11367 rm -f core conftest.err conftest.
$ac_objext \
11368 conftest
$ac_exeext conftest.
$ac_ext
11369 LIBS
=$ac_check_lib_save_LIBS
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11372 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11373 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11374 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11395 if test "x$lt_cv_dlopen" != xno
; then
11401 case $lt_cv_dlopen in
11403 save_CPPFLAGS
="$CPPFLAGS"
11404 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11406 save_LDFLAGS
="$LDFLAGS"
11407 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11410 LIBS
="$lt_cv_dlopen_libs $LIBS"
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11413 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11414 if ${lt_cv_dlopen_self+:} false
; then :
11415 $as_echo_n "(cached) " >&6
11417 if test "$cross_compiling" = yes; then :
11418 lt_cv_dlopen_self
=cross
11420 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11421 lt_status
=$lt_dlunknown
11422 cat > conftest.
$ac_ext <<_LT_EOF
11423 #line 11433 "configure"
11424 #include "confdefs.h"
11433 # define LT_DLGLOBAL RTLD_GLOBAL
11436 # define LT_DLGLOBAL DL_GLOBAL
11438 # define LT_DLGLOBAL 0
11442 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11443 find out it does not work in some platform. */
11444 #ifndef LT_DLLAZY_OR_NOW
11446 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11449 # define LT_DLLAZY_OR_NOW DL_LAZY
11452 # define LT_DLLAZY_OR_NOW RTLD_NOW
11455 # define LT_DLLAZY_OR_NOW DL_NOW
11457 # define LT_DLLAZY_OR_NOW 0
11464 /* When -fvisbility=hidden is used, assume the code has been annotated
11465 correspondingly for the symbols needed. */
11466 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11467 void fnord () __attribute__((visibility("default")));
11470 void fnord () { int i=42; }
11473 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11474 int status = $lt_dlunknown;
11478 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11481 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11482 else puts (dlerror ());
11484 /* dlclose (self); */
11492 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11493 (eval $ac_link) 2>&5
11495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11496 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11497 (.
/conftest
; exit; ) >&5 2>/dev
/null
11499 case x
$lt_status in
11500 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11501 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11502 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11505 # compilation failed
11506 lt_cv_dlopen_self
=no
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11514 $as_echo "$lt_cv_dlopen_self" >&6; }
11516 if test "x$lt_cv_dlopen_self" = xyes
; then
11517 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11519 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11520 if ${lt_cv_dlopen_self_static+:} false
; then :
11521 $as_echo_n "(cached) " >&6
11523 if test "$cross_compiling" = yes; then :
11524 lt_cv_dlopen_self_static
=cross
11526 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11527 lt_status
=$lt_dlunknown
11528 cat > conftest.
$ac_ext <<_LT_EOF
11529 #line 11539 "configure"
11530 #include "confdefs.h"
11539 # define LT_DLGLOBAL RTLD_GLOBAL
11542 # define LT_DLGLOBAL DL_GLOBAL
11544 # define LT_DLGLOBAL 0
11548 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11549 find out it does not work in some platform. */
11550 #ifndef LT_DLLAZY_OR_NOW
11552 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11555 # define LT_DLLAZY_OR_NOW DL_LAZY
11558 # define LT_DLLAZY_OR_NOW RTLD_NOW
11561 # define LT_DLLAZY_OR_NOW DL_NOW
11563 # define LT_DLLAZY_OR_NOW 0
11570 /* When -fvisbility=hidden is used, assume the code has been annotated
11571 correspondingly for the symbols needed. */
11572 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11573 void fnord () __attribute__((visibility("default")));
11576 void fnord () { int i=42; }
11579 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11580 int status = $lt_dlunknown;
11584 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11587 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11588 else puts (dlerror ());
11590 /* dlclose (self); */
11598 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11599 (eval $ac_link) 2>&5
11601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11602 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11603 (.
/conftest
; exit; ) >&5 2>/dev
/null
11605 case x
$lt_status in
11606 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11607 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11608 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11611 # compilation failed
11612 lt_cv_dlopen_self_static
=no
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11620 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11623 CPPFLAGS
="$save_CPPFLAGS"
11624 LDFLAGS
="$save_LDFLAGS"
11629 case $lt_cv_dlopen_self in
11630 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11631 *) enable_dlopen_self
=unknown
;;
11634 case $lt_cv_dlopen_self_static in
11635 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11636 *) enable_dlopen_self_static
=unknown
;;
11658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11659 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11660 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11661 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11662 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11664 $as_echo "yes" >&6; }
11666 # FIXME - insert some real tests, host_os isn't really good enough
11669 if test -n "$STRIP" ; then
11670 striplib
="$STRIP -x"
11671 old_striplib
="$STRIP -S"
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11673 $as_echo "yes" >&6; }
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11676 $as_echo "no" >&6; }
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11681 $as_echo "no" >&6; }
11697 # Report which library types will actually be built
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11699 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11701 $as_echo "$can_build_shared" >&6; }
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11704 $as_echo_n "checking whether to build shared libraries... " >&6; }
11705 test "$can_build_shared" = "no" && enable_shared
=no
11707 # On AIX, shared libraries and static libraries use the same namespace, and
11708 # are all built from PIC.
11711 test "$enable_shared" = yes && enable_static
=no
11712 if test -n "$RANLIB"; then
11713 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11714 postinstall_cmds
='$RANLIB $lib'
11719 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11720 test "$enable_shared" = yes && enable_static
=no
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11725 $as_echo "$enable_shared" >&6; }
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11728 $as_echo_n "checking whether to build static libraries... " >&6; }
11729 # Make sure either enable_shared or enable_static is yes.
11730 test "$enable_shared" = yes || enable_static
=yes
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11732 $as_echo "$enable_static" >&6; }
11739 ac_cpp
='$CPP $CPPFLAGS'
11740 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11741 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11742 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11746 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11747 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11748 (test "X$CXX" != "Xg++"))) ; then
11750 ac_cpp
='$CXXCPP $CPPFLAGS'
11751 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11752 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11753 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11755 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11756 if test -z "$CXXCPP"; then
11757 if ${ac_cv_prog_CXXCPP+:} false
; then :
11758 $as_echo_n "(cached) " >&6
11760 # Double quotes because CXXCPP needs to be expanded
11761 for CXXCPP
in "$CXX -E" "/lib/cpp"
11763 ac_preproc_ok
=false
11764 for ac_cxx_preproc_warn_flag
in '' yes
11766 # Use a header file that comes with gcc, so configuring glibc
11767 # with a fresh cross-compiler works.
11768 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11769 # <limits.h> exists even on freestanding compilers.
11770 # On the NeXT, cc -E runs the code through the compiler's parser,
11771 # not just through cpp. "Syntax error" is here to catch this case.
11772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11773 /* end confdefs.h. */
11775 # include <limits.h>
11777 # include <assert.h>
11781 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11784 # Broken: fails on valid input.
11787 rm -f conftest.err conftest.i conftest.
$ac_ext
11789 # OK, works on sane cases. Now check whether nonexistent headers
11790 # can be detected and how.
11791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11792 /* end confdefs.h. */
11793 #include <ac_nonexistent.h>
11795 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11796 # Broken: success on invalid input.
11799 # Passes both tests.
11803 rm -f conftest.err conftest.i conftest.
$ac_ext
11806 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11807 rm -f conftest.i conftest.err conftest.
$ac_ext
11808 if $ac_preproc_ok; then :
11813 ac_cv_prog_CXXCPP
=$CXXCPP
11816 CXXCPP
=$ac_cv_prog_CXXCPP
11818 ac_cv_prog_CXXCPP
=$CXXCPP
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11821 $as_echo "$CXXCPP" >&6; }
11822 ac_preproc_ok
=false
11823 for ac_cxx_preproc_warn_flag
in '' yes
11825 # Use a header file that comes with gcc, so configuring glibc
11826 # with a fresh cross-compiler works.
11827 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11828 # <limits.h> exists even on freestanding compilers.
11829 # On the NeXT, cc -E runs the code through the compiler's parser,
11830 # not just through cpp. "Syntax error" is here to catch this case.
11831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11832 /* end confdefs.h. */
11834 # include <limits.h>
11836 # include <assert.h>
11840 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11843 # Broken: fails on valid input.
11846 rm -f conftest.err conftest.i conftest.
$ac_ext
11848 # OK, works on sane cases. Now check whether nonexistent headers
11849 # can be detected and how.
11850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11851 /* end confdefs.h. */
11852 #include <ac_nonexistent.h>
11854 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11855 # Broken: success on invalid input.
11858 # Passes both tests.
11862 rm -f conftest.err conftest.i conftest.
$ac_ext
11865 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11866 rm -f conftest.i conftest.err conftest.
$ac_ext
11867 if $ac_preproc_ok; then :
11870 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11871 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11872 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
11873 See \`config.log' for more details" "$LINENO" 5; }
11877 ac_cpp
='$CPP $CPPFLAGS'
11878 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11879 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11880 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11883 _lt_caught_CXX_error
=yes
11887 ac_cpp
='$CXXCPP $CPPFLAGS'
11888 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11889 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11890 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11892 archive_cmds_need_lc_CXX
=no
11893 allow_undefined_flag_CXX
=
11894 always_export_symbols_CXX
=no
11895 archive_expsym_cmds_CXX
=
11896 compiler_needs_object_CXX
=no
11897 export_dynamic_flag_spec_CXX
=
11898 hardcode_direct_CXX
=no
11899 hardcode_direct_absolute_CXX
=no
11900 hardcode_libdir_flag_spec_CXX
=
11901 hardcode_libdir_flag_spec_ld_CXX
=
11902 hardcode_libdir_separator_CXX
=
11903 hardcode_minus_L_CXX
=no
11904 hardcode_shlibpath_var_CXX
=unsupported
11905 hardcode_automatic_CXX
=no
11906 inherit_rpath_CXX
=no
11908 module_expsym_cmds_CXX
=
11909 link_all_deplibs_CXX
=unknown
11910 old_archive_cmds_CXX
=$old_archive_cmds
11911 reload_flag_CXX
=$reload_flag
11912 reload_cmds_CXX
=$reload_cmds
11913 no_undefined_flag_CXX
=
11914 whole_archive_flag_spec_CXX
=
11915 enable_shared_with_static_runtimes_CXX
=no
11917 # Source file extension for C++ test sources.
11920 # Object file extension for compiled C++ test sources.
11924 # No sense in running all these tests if we already determined that
11925 # the CXX compiler isn't working. Some variables (like enable_shared)
11926 # are currently assumed to apply to all compilers on this platform,
11927 # and will be corrupted by setting them based on a non-working compiler.
11928 if test "$_lt_caught_CXX_error" != yes; then
11929 # Code to be used in simple compile tests
11930 lt_simple_compile_test_code
="int some_variable = 0;"
11932 # Code to be used in simple link tests
11933 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11935 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11942 # If no C compiler was specified, use CC.
11945 # If no C compiler flags were specified, use CFLAGS.
11946 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11948 # Allow CC to be a program name with arguments.
11952 # save warnings/boilerplate of simple test code
11953 ac_outfile
=conftest.
$ac_objext
11954 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11955 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11956 _lt_compiler_boilerplate
=`cat conftest.err`
11959 ac_outfile
=conftest.
$ac_objext
11960 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11961 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11962 _lt_linker_boilerplate
=`cat conftest.err`
11966 # Allow CC to be a program name with arguments.
11971 lt_save_with_gnu_ld
=$with_gnu_ld
11972 lt_save_path_LD
=$lt_cv_path_LD
11973 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11974 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11976 $as_unset lt_cv_prog_gnu_ld
11978 if test -n "${lt_cv_path_LDCXX+set}"; then
11979 lt_cv_path_LD
=$lt_cv_path_LDCXX
11981 $as_unset lt_cv_path_LD
11983 test -z "${LDCXX+set}" || LD
=$LDCXX
11987 for cc_temp
in $compiler""; do
11989 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11990 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11995 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11998 if test -n "$compiler"; then
11999 # We don't want -fno-exception when compiling C++ code, so set the
12000 # no_builtin_flag separately
12001 if test "$GXX" = yes; then
12002 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12004 lt_prog_compiler_no_builtin_flag_CXX
=
12007 if test "$GXX" = yes; then
12008 # Set up default GNU C++ configuration
12012 # Check whether --with-gnu-ld was given.
12013 if test "${with_gnu_ld+set}" = set; then :
12014 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12020 if test "$GCC" = yes; then
12021 # Check if gcc -print-prog-name=ld gives a path.
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12023 $as_echo_n "checking for ld used by $CC... " >&6; }
12026 # gcc leaves a trailing carriage return which upsets mingw
12027 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12029 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12032 # Accept absolute paths.
12034 re_direlt
='/[^/][^/]*/\.\./'
12035 # Canonicalize the pathname of ld
12036 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12037 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12038 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12040 test -z "$LD" && LD
="$ac_prog"
12043 # If it fails, then pretend we aren't using GCC.
12047 # If it is relative, then search for the first ld in PATH.
12048 with_gnu_ld
=unknown
12051 elif test "$with_gnu_ld" = yes; then
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12053 $as_echo_n "checking for GNU ld... " >&6; }
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12056 $as_echo_n "checking for non-GNU ld... " >&6; }
12058 if ${lt_cv_path_LD+:} false
; then :
12059 $as_echo_n "(cached) " >&6
12061 if test -z "$LD"; then
12062 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12063 for ac_dir
in $PATH; do
12065 test -z "$ac_dir" && ac_dir
=.
12066 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12067 lt_cv_path_LD
="$ac_dir/$ac_prog"
12068 # Check to see if the program is GNU ld. I'd rather use --version,
12069 # but apparently some variants of GNU ld only accept -v.
12070 # Break only if it was the GNU/non-GNU ld that we prefer.
12071 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12072 *GNU
* |
*'with BFD'*)
12073 test "$with_gnu_ld" != no
&& break
12076 test "$with_gnu_ld" != yes && break
12083 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12087 LD
="$lt_cv_path_LD"
12088 if test -n "$LD"; then
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12090 $as_echo "$LD" >&6; }
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12093 $as_echo "no" >&6; }
12095 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12097 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12098 if ${lt_cv_prog_gnu_ld+:} false
; then :
12099 $as_echo_n "(cached) " >&6
12101 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12102 case `$LD -v 2>&1 </dev/null` in
12103 *GNU
* |
*'with BFD'*)
12104 lt_cv_prog_gnu_ld
=yes
12107 lt_cv_prog_gnu_ld
=no
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12112 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12113 with_gnu_ld
=$lt_cv_prog_gnu_ld
12121 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12122 # archiving commands below assume that GNU ld is being used.
12123 if test "$with_gnu_ld" = yes; then
12124 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12125 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'
12127 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12128 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12130 # If archive_cmds runs LD, not CC, wlarc should be empty
12131 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12132 # investigate it a little bit more. (MM)
12135 # ancient GNU ld didn't support --whole-archive et. al.
12136 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12137 $GREP 'no-whole-archive' > /dev
/null
; then
12138 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12140 whole_archive_flag_spec_CXX
=
12146 # A generic and very simple default shared library creation
12147 # command for GNU C++ for the case where it uses the native
12148 # linker, instead of GNU ld. If possible, this setting should
12149 # overridden to take advantage of the native linker features on
12150 # the platform it is being used on.
12151 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12154 # Commands to make compiler produce verbose output that lists
12155 # what "hidden" libraries, object files and flags are used when
12156 # linking a shared library.
12157 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12165 # PORTME: fill in a description of your system's C++ link characteristics
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12167 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12171 # FIXME: insert proper C++ library support
12175 if test "$host_cpu" = ia64
; then
12176 # On IA64, the linker does run time linking by default, so we don't
12177 # have to do anything special.
12178 aix_use_runtimelinking
=no
12179 exp_sym_flag
='-Bexport'
12182 aix_use_runtimelinking
=no
12184 # Test if we are trying to use run time linking or normal
12185 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12186 # need to do runtime linking.
12187 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12188 for ld_flag
in $LDFLAGS; do
12191 aix_use_runtimelinking
=yes
12199 exp_sym_flag
='-bexport'
12200 no_entry_flag
='-bnoentry'
12203 # When large executables or shared objects are built, AIX ld can
12204 # have problems creating the table of contents. If linking a library
12205 # or program results in "error TOC overflow" add -mminimal-toc to
12206 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12207 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12209 archive_cmds_CXX
=''
12210 hardcode_direct_CXX
=yes
12211 hardcode_direct_absolute_CXX
=yes
12212 hardcode_libdir_separator_CXX
=':'
12213 link_all_deplibs_CXX
=yes
12214 file_list_spec_CXX
='${wl}-f,'
12216 if test "$GXX" = yes; then
12217 case $host_os in aix4.
[012]|aix4.
[012].
*)
12218 # We only want to do this on AIX 4.2 and lower, the check
12219 # below for broken collect2 doesn't work under 4.3+
12220 collect2name
=`${CC} -print-prog-name=collect2`
12221 if test -f "$collect2name" &&
12222 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12224 # We have reworked collect2
12227 # We have old collect2
12228 hardcode_direct_CXX
=unsupported
12229 # It fails to find uninstalled libraries when the uninstalled
12230 # path is not listed in the libpath. Setting hardcode_minus_L
12231 # to unsupported forces relinking
12232 hardcode_minus_L_CXX
=yes
12233 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12234 hardcode_libdir_separator_CXX
=
12237 shared_flag
='-shared'
12238 if test "$aix_use_runtimelinking" = yes; then
12239 shared_flag
="$shared_flag "'${wl}-G'
12243 if test "$host_cpu" = ia64
; then
12244 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12245 # chokes on -Wl,-G. The following line is correct:
12248 if test "$aix_use_runtimelinking" = yes; then
12249 shared_flag
='${wl}-G'
12251 shared_flag
='${wl}-bM:SRE'
12256 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12257 # It seems that -bexpall does not export symbols beginning with
12258 # underscore (_), so it is better to generate a list of symbols to
12260 always_export_symbols_CXX
=yes
12261 if test "$aix_use_runtimelinking" = yes; then
12262 # Warning - without using the other runtime loading flags (-brtl),
12263 # -berok will link without error, but may produce a broken library.
12264 allow_undefined_flag_CXX
='-berok'
12265 # Determine the default libpath from the value encoded in an empty
12267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12268 /* end confdefs.h. */
12278 if ac_fn_cxx_try_link
"$LINENO"; then :
12280 lt_aix_libpath_sed
='
12281 /Import File Strings/,/^$/ {
12287 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12288 # Check for a 64-bit object if we didn't find anything.
12289 if test -z "$aix_libpath"; then
12290 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12293 rm -f core conftest.err conftest.
$ac_objext \
12294 conftest
$ac_exeext conftest.
$ac_ext
12295 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12297 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12299 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"
12301 if test "$host_cpu" = ia64
; then
12302 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12303 allow_undefined_flag_CXX
="-z nodefs"
12304 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"
12306 # Determine the default libpath from the value encoded in an
12307 # empty executable.
12308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12309 /* end confdefs.h. */
12319 if ac_fn_cxx_try_link
"$LINENO"; then :
12321 lt_aix_libpath_sed
='
12322 /Import File Strings/,/^$/ {
12328 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12329 # Check for a 64-bit object if we didn't find anything.
12330 if test -z "$aix_libpath"; then
12331 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12334 rm -f core conftest.err conftest.
$ac_objext \
12335 conftest
$ac_exeext conftest.
$ac_ext
12336 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12338 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12339 # Warning - without using the other run time loading flags,
12340 # -berok will link without error, but may produce a broken library.
12341 no_undefined_flag_CXX
=' ${wl}-bernotok'
12342 allow_undefined_flag_CXX
=' ${wl}-berok'
12343 if test "$with_gnu_ld" = yes; then
12344 # We only use this code for GNU lds that support --whole-archive.
12345 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12347 # Exported symbols can be pulled into shared objects from archives
12348 whole_archive_flag_spec_CXX
='$convenience'
12350 archive_cmds_need_lc_CXX
=yes
12351 # This is similar to how AIX traditionally builds its shared
12353 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'
12359 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12360 allow_undefined_flag_CXX
=unsupported
12361 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12362 # support --undefined. This deserves some investigation. FIXME
12363 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12370 case $cc_basename in
12372 # FIXME: insert proper C++ library support
12378 cygwin
* | mingw
* | pw32
* | cegcc
*)
12379 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12380 # as there is no search path for DLLs.
12381 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12382 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
12383 allow_undefined_flag_CXX
=unsupported
12384 always_export_symbols_CXX
=no
12385 enable_shared_with_static_runtimes_CXX
=yes
12387 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12388 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'
12389 # If the export-symbols file already is a .def file (1st line
12390 # is EXPORTS), use it as is; otherwise, prepend...
12391 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12392 cp $export_symbols $output_objdir/$soname.def;
12394 echo EXPORTS > $output_objdir/$soname.def;
12395 cat $export_symbols >> $output_objdir/$soname.def;
12397 $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'
12402 darwin
* | rhapsody
*)
12405 archive_cmds_need_lc_CXX
=no
12406 hardcode_direct_CXX
=no
12407 hardcode_automatic_CXX
=yes
12408 hardcode_shlibpath_var_CXX
=unsupported
12409 if test "$lt_cv_ld_force_load" = "yes"; then
12410 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\"`'
12412 whole_archive_flag_spec_CXX
=''
12414 link_all_deplibs_CXX
=yes
12415 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12416 case $cc_basename in
12417 ifort
*) _lt_dar_can_shared
=yes ;;
12418 *) _lt_dar_can_shared
=$GCC ;;
12420 if test "$_lt_dar_can_shared" = "yes"; then
12421 output_verbose_link_cmd
=func_echo_all
12422 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}"
12423 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12424 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}"
12425 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}"
12426 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12427 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}"
12428 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}"
12438 case $cc_basename in
12440 # FIXME: insert proper C++ library support
12444 # Green Hills C++ Compiler
12445 # FIXME: insert proper C++ library support
12449 # FIXME: insert proper C++ library support
12456 # C++ shared libraries reported to be fairly broken before
12462 archive_cmds_need_lc_CXX
=no
12465 freebsd
* | dragonfly
*)
12466 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12475 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12476 link_all_deplibs_CXX
=yes
12480 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12481 hardcode_libdir_separator_CXX
=:
12482 export_dynamic_flag_spec_CXX
='${wl}-E'
12483 hardcode_direct_CXX
=yes
12484 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12485 # but as the default
12486 # location of the library.
12488 case $cc_basename in
12490 # FIXME: insert proper C++ library support
12494 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'
12495 # Commands to make compiler produce verbose output that lists
12496 # what "hidden" libraries, object files and flags are used when
12497 # linking a shared library.
12499 # There doesn't appear to be a way to prevent this compiler from
12500 # explicitly linking system object files so we need to strip them
12501 # from the output so that they don't get included in the library
12503 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"'
12506 if test "$GXX" = yes; then
12507 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'
12509 # FIXME: insert proper C++ library support
12517 if test $with_gnu_ld = no
; then
12518 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12519 hardcode_libdir_separator_CXX
=:
12525 export_dynamic_flag_spec_CXX
='${wl}-E'
12531 hardcode_direct_CXX
=no
12532 hardcode_shlibpath_var_CXX
=no
12535 hardcode_direct_CXX
=yes
12536 hardcode_direct_absolute_CXX
=yes
12537 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12538 # but as the default
12539 # location of the library.
12543 case $cc_basename in
12545 # FIXME: insert proper C++ library support
12551 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12554 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12557 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12560 # Commands to make compiler produce verbose output that lists
12561 # what "hidden" libraries, object files and flags are used when
12562 # linking a shared library.
12564 # There doesn't appear to be a way to prevent this compiler from
12565 # explicitly linking system object files so we need to strip them
12566 # from the output so that they don't get included in the library
12568 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"'
12571 if test "$GXX" = yes; then
12572 if test $with_gnu_ld = no
; then
12575 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12578 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12581 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'
12586 # FIXME: insert proper C++ library support
12594 hardcode_direct_CXX
=no
12595 hardcode_shlibpath_var_CXX
=no
12596 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12597 export_dynamic_flag_spec_CXX
='${wl}-E'
12598 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12599 # Instead, shared libraries are loaded at an image base (0x10000000 by
12600 # default) and relocated if they conflict, which is a slow very memory
12601 # consuming and fragmenting process. To avoid this, we pick a random,
12602 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12603 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12604 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'
12605 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'
12608 case $cc_basename in
12611 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'
12613 # Archives containing C++ object files must be created using
12614 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12615 # necessary to make sure instantiated templates are included
12617 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12620 if test "$GXX" = yes; then
12621 if test "$with_gnu_ld" = no
; then
12622 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'
12624 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'
12627 link_all_deplibs_CXX
=yes
12630 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12631 hardcode_libdir_separator_CXX
=:
12632 inherit_rpath_CXX
=yes
12635 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12636 case $cc_basename in
12638 # Kuck and Associates, Inc. (KAI) C++ Compiler
12640 # KCC will only create a shared library if the output file
12641 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12642 # to its proper name (with version) after linking.
12643 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'
12644 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'
12645 # Commands to make compiler produce verbose output that lists
12646 # what "hidden" libraries, object files and flags are used when
12647 # linking a shared library.
12649 # There doesn't appear to be a way to prevent this compiler from
12650 # explicitly linking system object files so we need to strip them
12651 # from the output so that they don't get included in the library
12653 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"'
12655 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12656 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12658 # Archives containing C++ object files must be created using
12659 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12660 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12665 # version 8.0 and above of icpc choke on multiply defined symbols
12666 # if we add $predep_objects and $postdep_objects, however 7.1 and
12667 # earlier do not add the objects themselves.
12668 case `$CC -V 2>&1` in
12670 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12671 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'
12673 *) # Version 8.0 or newer
12676 ia64
*) tmp_idyn
=' -i_dynamic';;
12678 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12679 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'
12682 archive_cmds_need_lc_CXX
=no
12683 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12684 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12685 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12688 # Portland Group C++ compiler
12690 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
12691 prelink_cmds_CXX
='tpldir=Template.dir~
12693 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12694 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12695 old_archive_cmds_CXX
='tpldir=Template.dir~
12697 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12698 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12700 archive_cmds_CXX
='tpldir=Template.dir~
12702 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12703 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12704 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12706 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12707 $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'
12709 *) # Version 6 and above use weak symbols
12710 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12711 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'
12715 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12716 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12717 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'
12721 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12722 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'
12724 runpath_var
=LD_RUN_PATH
12725 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12726 hardcode_libdir_separator_CXX
=:
12728 # Commands to make compiler produce verbose output that lists
12729 # what "hidden" libraries, object files and flags are used when
12730 # linking a shared library.
12732 # There doesn't appear to be a way to prevent this compiler from
12733 # explicitly linking system object files so we need to strip them
12734 # from the output so that they don't get included in the library
12736 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'
12738 xl
* | mpixl
* | bgxl
*)
12739 # IBM XL 8.0 on PPC, with GNU ld
12740 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12741 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12742 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12743 if test "x$supports_anon_versioning" = xyes
; then
12744 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12745 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12746 echo "local: *; };" >> $output_objdir/$libname.ver~
12747 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12751 case `$CC -V 2>&1 | sed 5q` in
12754 no_undefined_flag_CXX
=' -zdefs'
12755 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12756 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'
12757 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12758 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'
12759 compiler_needs_object_CXX
=yes
12761 # Not sure whether something based on
12762 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12764 output_verbose_link_cmd
='func_echo_all'
12766 # Archives containing C++ object files must be created using
12767 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12768 # necessary to make sure instantiated templates are included
12770 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12778 # FIXME: insert proper C++ library support
12783 # FIXME: insert proper C++ library support
12788 case $cc_basename in
12790 # FIXME: insert proper C++ library support
12794 # FIXME: insert proper C++ library support
12801 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12802 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12804 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12805 hardcode_direct_CXX
=yes
12806 hardcode_shlibpath_var_CXX
=no
12808 # Workaround some broken pre-1.5 toolchains
12809 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12817 # C++ shared libraries are fairly broken
12822 if test -f /usr
/libexec
/ld.so
; then
12823 hardcode_direct_CXX
=yes
12824 hardcode_shlibpath_var_CXX
=no
12825 hardcode_direct_absolute_CXX
=yes
12826 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12827 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12828 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12829 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12830 export_dynamic_flag_spec_CXX
='${wl}-E'
12831 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12833 output_verbose_link_cmd
=func_echo_all
12839 osf3
* | osf4
* | osf5
*)
12840 case $cc_basename in
12842 # Kuck and Associates, Inc. (KAI) C++ Compiler
12844 # KCC will only create a shared library if the output file
12845 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12846 # to its proper name (with version) after linking.
12847 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'
12849 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12850 hardcode_libdir_separator_CXX
=:
12852 # Archives containing C++ object files must be created using
12853 # the KAI C++ compiler.
12855 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12856 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12860 # Rational C++ 2.4.1
12861 # FIXME: insert proper C++ library support
12867 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12868 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'
12869 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12872 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12873 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'
12874 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12875 echo "-hidden">> $lib.exp~
12876 $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~
12878 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12882 hardcode_libdir_separator_CXX
=:
12884 # Commands to make compiler produce verbose output that lists
12885 # what "hidden" libraries, object files and flags are used when
12886 # linking a shared library.
12888 # There doesn't appear to be a way to prevent this compiler from
12889 # explicitly linking system object files so we need to strip them
12890 # from the output so that they don't get included in the library
12892 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"'
12895 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12896 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12899 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'
12902 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'
12906 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12907 hardcode_libdir_separator_CXX
=:
12909 # Commands to make compiler produce verbose output that lists
12910 # what "hidden" libraries, object files and flags are used when
12911 # linking a shared library.
12912 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12915 # FIXME: insert proper C++ library support
12923 # FIXME: insert proper C++ library support
12928 case $cc_basename in
12931 # FIXME: insert proper C++ library support
12936 # FIXME: insert proper C++ library support
12940 # FIXME: insert proper C++ library support
12947 case $cc_basename in
12949 # Sun C++ 4.2, 5.x and Centerline C++
12950 archive_cmds_need_lc_CXX
=yes
12951 no_undefined_flag_CXX
=' -zdefs'
12952 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12953 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12954 $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'
12956 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12957 hardcode_shlibpath_var_CXX
=no
12959 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12961 # The compiler driver will combine and reorder linker options,
12962 # but understands `-z linker_flag'.
12963 # Supported since Solaris 2.6 (maybe 2.5.1?)
12964 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12967 link_all_deplibs_CXX
=yes
12969 output_verbose_link_cmd
='func_echo_all'
12971 # Archives containing C++ object files must be created using
12972 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12973 # necessary to make sure instantiated templates are included
12975 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12978 # Green Hills C++ Compiler
12979 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12981 # The C++ compiler must be used to create the archive.
12982 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12985 # GNU C++ compiler with Solaris linker
12986 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12987 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12988 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
12989 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12990 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12991 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12993 # Commands to make compiler produce verbose output that lists
12994 # what "hidden" libraries, object files and flags are used when
12995 # linking a shared library.
12996 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12998 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13000 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13001 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13002 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13004 # Commands to make compiler produce verbose output that lists
13005 # what "hidden" libraries, object files and flags are used when
13006 # linking a shared library.
13007 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13010 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13012 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13014 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13022 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13023 no_undefined_flag_CXX
='${wl}-z,text'
13024 archive_cmds_need_lc_CXX
=no
13025 hardcode_shlibpath_var_CXX
=no
13026 runpath_var
='LD_RUN_PATH'
13028 case $cc_basename in
13030 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13031 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13034 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13035 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13040 sysv5
* | sco3.2v5
* | sco5v6
*)
13041 # Note: We can NOT use -z defs as we might desire, because we do not
13042 # link with -lc, and that would cause any symbols used from libc to
13043 # always be unresolved, which means just about no library would
13044 # ever link correctly. If we're not using GNU ld we use -z text
13045 # though, which does catch some bad symbols but isn't as heavy-handed
13047 no_undefined_flag_CXX
='${wl}-z,text'
13048 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13049 archive_cmds_need_lc_CXX
=no
13050 hardcode_shlibpath_var_CXX
=no
13051 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13052 hardcode_libdir_separator_CXX
=':'
13053 link_all_deplibs_CXX
=yes
13054 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13055 runpath_var
='LD_RUN_PATH'
13057 case $cc_basename in
13059 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13060 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13061 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13062 '"$old_archive_cmds_CXX"
13063 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13064 '"$reload_cmds_CXX"
13067 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13068 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13074 case $cc_basename in
13076 # NonStop-UX NCC 3.20
13077 # FIXME: insert proper C++ library support
13081 # FIXME: insert proper C++ library support
13088 # FIXME: insert proper C++ library support
13093 # FIXME: insert proper C++ library support
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13099 $as_echo "$ld_shlibs_CXX" >&6; }
13100 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13106 ## There is no encapsulation within the following macros, do not change
13107 ## the running order or otherwise move them around unless you know exactly
13108 ## what you are doing...
13109 # Dependencies to place before and after the object being linked:
13110 predep_objects_CXX
=
13111 postdep_objects_CXX
=
13114 compiler_lib_search_path_CXX
=
13116 cat > conftest.
$ac_ext <<_LT_EOF
13120 Foo (void) { a = 0; }
13126 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13127 (eval $ac_compile) 2>&5
13129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13130 test $ac_status = 0; }; then
13131 # Parse the compiler output and extract the necessary
13132 # objects, libraries and library flags.
13134 # Sentinel used to keep track of whether or not we are before
13135 # the conftest object file.
13136 pre_test_object_deps_done
=no
13138 for p
in `eval "$output_verbose_link_cmd"`; do
13142 # Some compilers place space between "-{L,R}" and the path.
13143 # Remove the space.
13144 if test $p = "-L" ||
13145 test $p = "-R"; then
13152 if test "$pre_test_object_deps_done" = no
; then
13155 # Internal compiler library paths should come after those
13156 # provided the user. The postdeps already come after the
13157 # user supplied libs so there is no need to process them.
13158 if test -z "$compiler_lib_search_path_CXX"; then
13159 compiler_lib_search_path_CXX
="${prev}${p}"
13161 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13164 # The "-l" case would never come before the object being
13165 # linked, so don't bother handling this case.
13168 if test -z "$postdeps_CXX"; then
13169 postdeps_CXX
="${prev}${p}"
13171 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13177 # This assumes that the test object file only shows up
13178 # once in the compiler output.
13179 if test "$p" = "conftest.$objext"; then
13180 pre_test_object_deps_done
=yes
13184 if test "$pre_test_object_deps_done" = no
; then
13185 if test -z "$predep_objects_CXX"; then
13186 predep_objects_CXX
="$p"
13188 predep_objects_CXX
="$predep_objects_CXX $p"
13191 if test -z "$postdep_objects_CXX"; then
13192 postdep_objects_CXX
="$p"
13194 postdep_objects_CXX
="$postdep_objects_CXX $p"
13199 *) ;; # Ignore the rest.
13207 echo "libtool.m4: error: problem compiling CXX test program"
13210 $RM -f confest.
$objext
13212 # PORTME: override above test on systems where it is broken
13215 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13216 # hack all around it, let's just trust "g++" to DTRT.
13217 predep_objects_CXX
=
13218 postdep_objects_CXX
=
13223 case `$CC -V 2>&1 | sed 5q` in
13227 # The more standards-conforming stlport4 library is
13228 # incompatible with the Cstd library. Avoid specifying
13229 # it if it's in CXXFLAGS. Ignore libCrun as
13230 # -library=stlport4 depends on it.
13231 case " $CXX $CXXFLAGS " in
13232 *" -library=stlport4 "*)
13233 solaris_use_stlport4
=yes
13237 if test "$solaris_use_stlport4" != yes; then
13238 postdeps_CXX
='-library=Cstd -library=Crun'
13245 case $cc_basename in
13247 # The more standards-conforming stlport4 library is
13248 # incompatible with the Cstd library. Avoid specifying
13249 # it if it's in CXXFLAGS. Ignore libCrun as
13250 # -library=stlport4 depends on it.
13251 case " $CXX $CXXFLAGS " in
13252 *" -library=stlport4 "*)
13253 solaris_use_stlport4
=yes
13257 # Adding this requires a known-good setup of shared libraries for
13258 # Sun compiler versions before 5.6, else PIC objects from an old
13259 # archive will be linked into the output, leading to subtle bugs.
13260 if test "$solaris_use_stlport4" != yes; then
13261 postdeps_CXX
='-library=Cstd -library=Crun'
13269 case " $postdeps_CXX " in
13270 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13272 compiler_lib_search_dirs_CXX
=
13273 if test -n "${compiler_lib_search_path_CXX}"; then
13274 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13307 lt_prog_compiler_wl_CXX
=
13308 lt_prog_compiler_pic_CXX
=
13309 lt_prog_compiler_static_CXX
=
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13312 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13314 # C++ specific cases for pic, static, wl, etc.
13315 if test "$GXX" = yes; then
13316 lt_prog_compiler_wl_CXX
='-Wl,'
13317 lt_prog_compiler_static_CXX
='-static'
13321 # All AIX code is PIC.
13322 if test "$host_cpu" = ia64
; then
13323 # AIX 5 now supports IA64 processor
13324 lt_prog_compiler_static_CXX
='-Bstatic'
13326 lt_prog_compiler_pic_CXX
='-fPIC'
13332 # see comment about AmigaOS4 .so support
13333 lt_prog_compiler_pic_CXX
='-fPIC'
13336 # FIXME: we need at least 68020 code to build shared libraries, but
13337 # adding the `-m68020' flag to GCC prevents building anything better,
13339 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13344 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13345 # PIC is the default for these OSes.
13347 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13348 # This hack is so that the source file can tell whether it is being
13349 # built for inclusion in a dll (and should export symbols for example).
13350 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13351 # (--disable-auto-import) libraries
13352 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13354 darwin
* | rhapsody
*)
13355 # PIC is the default on this platform
13356 # Common symbols not allowed in MH_DYLIB files
13357 lt_prog_compiler_pic_CXX
='-fno-common'
13360 # DJGPP does not support shared libraries at all
13361 lt_prog_compiler_pic_CXX
=
13364 # PIC is the default for Haiku.
13365 # The "-static" flag exists, but is broken.
13366 lt_prog_compiler_static_CXX
=
13369 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13370 # Instead, we relocate shared libraries at runtime.
13373 if test -d /usr
/nec
; then
13374 lt_prog_compiler_pic_CXX
=-Kconform_pic
13378 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13379 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13380 # sets the default TLS model and affects inlining.
13385 lt_prog_compiler_pic_CXX
='-fPIC'
13390 # QNX uses GNU C++, but need to define -shared option too, otherwise
13391 # it will coredump.
13392 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13395 lt_prog_compiler_pic_CXX
='-fPIC'
13401 # All AIX code is PIC.
13402 if test "$host_cpu" = ia64
; then
13403 # AIX 5 now supports IA64 processor
13404 lt_prog_compiler_static_CXX
='-Bstatic'
13406 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13410 case $cc_basename in
13412 # Green Hills C++ Compiler
13413 # _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"
13418 case $cc_basename in
13420 lt_prog_compiler_pic_CXX
='-KPIC'
13423 # Green Hills C++ Compiler
13424 lt_prog_compiler_pic_CXX
='-pic'
13430 freebsd
* | dragonfly
*)
13431 # FreeBSD uses GNU C++
13433 hpux9
* | hpux10
* | hpux11
*)
13434 case $cc_basename in
13436 lt_prog_compiler_wl_CXX
='-Wl,'
13437 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13438 if test "$host_cpu" != ia64
; then
13439 lt_prog_compiler_pic_CXX
='+Z'
13443 lt_prog_compiler_wl_CXX
='-Wl,'
13444 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13450 lt_prog_compiler_pic_CXX
='+Z'
13459 # This is c89, which is MS Visual C++ (no shared libs)
13460 # Anyone wants to do a port?
13462 irix5
* | irix6
* | nonstopux
*)
13463 case $cc_basename in
13465 lt_prog_compiler_wl_CXX
='-Wl,'
13466 lt_prog_compiler_static_CXX
='-non_shared'
13467 # CC pic flag -KPIC is the default.
13473 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13474 case $cc_basename in
13477 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13478 lt_prog_compiler_pic_CXX
='-fPIC'
13481 # old Intel C++ for x86_64 which still supported -KPIC.
13482 lt_prog_compiler_wl_CXX
='-Wl,'
13483 lt_prog_compiler_pic_CXX
='-KPIC'
13484 lt_prog_compiler_static_CXX
='-static'
13487 # Intel C++, used to be incompatible with GCC.
13488 # ICC 10 doesn't accept -KPIC any more.
13489 lt_prog_compiler_wl_CXX
='-Wl,'
13490 lt_prog_compiler_pic_CXX
='-fPIC'
13491 lt_prog_compiler_static_CXX
='-static'
13494 # Portland Group C++ compiler
13495 lt_prog_compiler_wl_CXX
='-Wl,'
13496 lt_prog_compiler_pic_CXX
='-fpic'
13497 lt_prog_compiler_static_CXX
='-Bstatic'
13501 # Make sure the PIC flag is empty. It appears that all Alpha
13502 # Linux and Compaq Tru64 Unix objects are PIC.
13503 lt_prog_compiler_pic_CXX
=
13504 lt_prog_compiler_static_CXX
='-non_shared'
13506 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
13507 # IBM XL 8.0, 9.0 on PPC and BlueGene
13508 lt_prog_compiler_wl_CXX
='-Wl,'
13509 lt_prog_compiler_pic_CXX
='-qpic'
13510 lt_prog_compiler_static_CXX
='-qstaticlink'
13513 case `$CC -V 2>&1 | sed 5q` in
13516 lt_prog_compiler_pic_CXX
='-KPIC'
13517 lt_prog_compiler_static_CXX
='-Bstatic'
13518 lt_prog_compiler_wl_CXX
='-Qoption ld '
13529 case $cc_basename in
13531 lt_prog_compiler_pic_CXX
='-W c,exportall'
13540 # QNX uses GNU C++, but need to define -shared option too, otherwise
13541 # it will coredump.
13542 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13544 osf3
* | osf4
* | osf5
*)
13545 case $cc_basename in
13547 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13550 # Rational C++ 2.4.1
13551 lt_prog_compiler_pic_CXX
='-pic'
13554 # Digital/Compaq C++
13555 lt_prog_compiler_wl_CXX
='-Wl,'
13556 # Make sure the PIC flag is empty. It appears that all Alpha
13557 # Linux and Compaq Tru64 Unix objects are PIC.
13558 lt_prog_compiler_pic_CXX
=
13559 lt_prog_compiler_static_CXX
='-non_shared'
13568 case $cc_basename in
13570 # Sun C++ 4.2, 5.x and Centerline C++
13571 lt_prog_compiler_pic_CXX
='-KPIC'
13572 lt_prog_compiler_static_CXX
='-Bstatic'
13573 lt_prog_compiler_wl_CXX
='-Qoption ld '
13576 # Green Hills C++ Compiler
13577 lt_prog_compiler_pic_CXX
='-PIC'
13584 case $cc_basename in
13587 lt_prog_compiler_pic_CXX
='-pic'
13588 lt_prog_compiler_static_CXX
='-Bstatic'
13592 lt_prog_compiler_pic_CXX
='-pic'
13598 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13599 case $cc_basename in
13601 lt_prog_compiler_wl_CXX
='-Wl,'
13602 lt_prog_compiler_pic_CXX
='-KPIC'
13603 lt_prog_compiler_static_CXX
='-Bstatic'
13608 case $cc_basename in
13610 # NonStop-UX NCC 3.20
13611 lt_prog_compiler_pic_CXX
='-KPIC'
13620 lt_prog_compiler_can_build_shared_CXX
=no
13626 # For platforms which do not support PIC, -DPIC is meaningless:
13628 lt_prog_compiler_pic_CXX
=
13631 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13635 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13640 # Check to make sure the PIC flag actually works.
13642 if test -n "$lt_prog_compiler_pic_CXX"; then
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13644 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13645 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
13646 $as_echo_n "(cached) " >&6
13648 lt_cv_prog_compiler_pic_works_CXX
=no
13649 ac_outfile
=conftest.
$ac_objext
13650 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13651 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13652 # Insert the option either (1) after the last *FLAGS variable, or
13653 # (2) before a word containing "conftest.", or (3) at the end.
13654 # Note that $ac_compile itself does not contain backslashes and begins
13655 # with a dollar sign (not a hyphen), so the echo should work correctly.
13656 # The option is referenced via a variable to avoid confusing sed.
13657 lt_compile
=`echo "$ac_compile" | $SED \
13658 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13659 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13660 -e 's:$: $lt_compiler_flag:'`
13661 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13662 (eval "$lt_compile" 2>conftest.err
)
13664 cat conftest.err
>&5
13665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13666 if (exit $ac_status) && test -s "$ac_outfile"; then
13667 # The compiler can only warn and ignore the option if not recognized
13668 # So say no if there are warnings other than the usual output.
13669 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13670 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13671 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13672 lt_cv_prog_compiler_pic_works_CXX
=yes
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13679 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13681 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13682 case $lt_prog_compiler_pic_CXX in
13684 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13687 lt_prog_compiler_pic_CXX
=
13688 lt_prog_compiler_can_build_shared_CXX
=no
13696 # Check to make sure the static flag actually works.
13698 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13700 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13701 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
13702 $as_echo_n "(cached) " >&6
13704 lt_cv_prog_compiler_static_works_CXX
=no
13705 save_LDFLAGS
="$LDFLAGS"
13706 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13707 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13708 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13709 # The linker can only warn and ignore the option if not recognized
13710 # So say no if there are warnings
13711 if test -s conftest.err
; then
13712 # Append any errors to the config.log.
13713 cat conftest.err
1>&5
13714 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13715 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13716 if diff conftest.exp conftest.er2
>/dev
/null
; then
13717 lt_cv_prog_compiler_static_works_CXX
=yes
13720 lt_cv_prog_compiler_static_works_CXX
=yes
13724 LDFLAGS
="$save_LDFLAGS"
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13728 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13730 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13733 lt_prog_compiler_static_CXX
=
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13740 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13741 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
13742 $as_echo_n "(cached) " >&6
13744 lt_cv_prog_compiler_c_o_CXX
=no
13745 $RM -r conftest
2>/dev
/null
13749 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13751 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13752 # Insert the option either (1) after the last *FLAGS variable, or
13753 # (2) before a word containing "conftest.", or (3) at the end.
13754 # Note that $ac_compile itself does not contain backslashes and begins
13755 # with a dollar sign (not a hyphen), so the echo should work correctly.
13756 lt_compile
=`echo "$ac_compile" | $SED \
13757 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13758 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13759 -e 's:$: $lt_compiler_flag:'`
13760 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13761 (eval "$lt_compile" 2>out
/conftest.err
)
13763 cat out
/conftest.err
>&5
13764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13765 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13767 # The compiler can only warn and ignore the option if not recognized
13768 # So say no if there are warnings
13769 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13770 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13771 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13772 lt_cv_prog_compiler_c_o_CXX
=yes
13777 # SGI C++ compiler will create directory out/ii_files/ for
13778 # template instantiation
13779 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13780 $RM out
/* && rmdir out
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13787 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13792 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13793 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
13794 $as_echo_n "(cached) " >&6
13796 lt_cv_prog_compiler_c_o_CXX
=no
13797 $RM -r conftest
2>/dev
/null
13801 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13803 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13804 # Insert the option either (1) after the last *FLAGS variable, or
13805 # (2) before a word containing "conftest.", or (3) at the end.
13806 # Note that $ac_compile itself does not contain backslashes and begins
13807 # with a dollar sign (not a hyphen), so the echo should work correctly.
13808 lt_compile
=`echo "$ac_compile" | $SED \
13809 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13810 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13811 -e 's:$: $lt_compiler_flag:'`
13812 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13813 (eval "$lt_compile" 2>out
/conftest.err
)
13815 cat out
/conftest.err
>&5
13816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13817 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13819 # The compiler can only warn and ignore the option if not recognized
13820 # So say no if there are warnings
13821 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13822 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13823 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13824 lt_cv_prog_compiler_c_o_CXX
=yes
13829 # SGI C++ compiler will create directory out/ii_files/ for
13830 # template instantiation
13831 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13832 $RM out
/* && rmdir out
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13839 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13844 hard_links
="nottested"
13845 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13846 # do not overwrite the value of need_locks provided by the user
13847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13848 $as_echo_n "checking if we can lock with hard links... " >&6; }
13851 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13853 ln conftest.a conftest.b
2>&5 || hard_links
=no
13854 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13856 $as_echo "$hard_links" >&6; }
13857 if test "$hard_links" = no
; then
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13859 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13869 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13871 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13874 # If we're using GNU nm, then we don't want the "-C" option.
13875 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13876 # Also, AIX nm treats weak defined symbols like other global defined
13877 # symbols, whereas GNU nm marks them as "W".
13878 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13879 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'
13881 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'
13885 export_symbols_cmds_CXX
="$ltdll_cmds"
13887 cygwin
* | mingw
* | cegcc
*)
13888 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'
13891 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13894 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13897 $as_echo "$ld_shlibs_CXX" >&6; }
13898 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13900 with_gnu_ld_CXX
=$with_gnu_ld
13908 # Do we need to explicitly link libc?
13910 case "x$archive_cmds_need_lc_CXX" in
13912 # Assume -lc should be added
13913 archive_cmds_need_lc_CXX
=yes
13915 if test "$enable_shared" = yes && test "$GCC" = yes; then
13916 case $archive_cmds_CXX in
13918 # FIXME: we may have to deal with multi-command sequences.
13921 # Test whether the compiler implicitly links with -lc since on some
13922 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13923 # to ld, don't add -lc before -lgcc.
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13925 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13926 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
13927 $as_echo_n "(cached) " >&6
13930 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13932 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13933 (eval $ac_compile) 2>&5
13935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13936 test $ac_status = 0; } 2>conftest.err
; then
13939 libobjs
=conftest.
$ac_objext
13941 wl
=$lt_prog_compiler_wl_CXX
13942 pic_flag
=$lt_prog_compiler_pic_CXX
13948 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13949 allow_undefined_flag_CXX
=
13950 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13951 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13954 test $ac_status = 0; }
13956 lt_cv_archive_cmds_need_lc_CXX
=no
13958 lt_cv_archive_cmds_need_lc_CXX
=yes
13960 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13962 cat conftest.err
1>&5
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
13968 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
13969 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14040 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14042 library_names_spec
=
14043 libname_spec
='lib$name'
14047 postuninstall_cmds
=
14051 shlibpath_overrides_runpath
=unknown
14053 dynamic_linker
="$host_os ld.so"
14054 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14055 need_lib_prefix
=unknown
14056 hardcode_into_libs
=no
14058 # when you set need_version to no, make sure it does not cause -set_version
14059 # flags to be left without arguments
14060 need_version
=unknown
14065 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14066 shlibpath_var
=LIBPATH
14068 # AIX 3 has no versioning support, so we append a major version to the name.
14069 soname_spec
='${libname}${release}${shared_ext}$major'
14076 hardcode_into_libs
=yes
14077 if test "$host_cpu" = ia64
; then
14078 # AIX 5 supports IA64
14079 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14080 shlibpath_var
=LD_LIBRARY_PATH
14082 # With GCC up to 2.95.x, collect2 would create an import file
14083 # for dependence libraries. The import file would start with
14084 # the line `#! .'. This would cause the generated library to
14085 # depend on `.', always an invalid library. This was fixed in
14086 # development snapshots of GCC prior to 3.0.
14088 aix4 | aix4.
[01] | aix4.
[01].
*)
14089 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14091 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14094 can_build_shared
=no
14098 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14099 # soname into executable. Probably we can add versioning support to
14100 # collect2, so additional links can be useful in future.
14101 if test "$aix_use_runtimelinking" = yes; then
14102 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14103 # instead of lib<name>.a to let people know that these are not
14104 # typical AIX shared libraries.
14105 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14107 # We preserve .a as extension for shared libraries through AIX4.2
14108 # and later when we are not doing run time linking.
14109 library_names_spec
='${libname}${release}.a $libname.a'
14110 soname_spec
='${libname}${release}${shared_ext}$major'
14112 shlibpath_var
=LIBPATH
14119 # Since July 2007 AmigaOS4 officially supports .so libraries.
14120 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14121 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14124 library_names_spec
='$libname.ixlibrary $libname.a'
14125 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14126 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'
14132 library_names_spec
='${libname}${shared_ext}'
14133 dynamic_linker
="$host_os ld.so"
14134 shlibpath_var
=LIBRARY_PATH
14140 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14141 soname_spec
='${libname}${release}${shared_ext}$major'
14142 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14143 shlibpath_var
=LD_LIBRARY_PATH
14144 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14145 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14146 # the default ld.so.conf also contains /usr/contrib/lib and
14147 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14148 # libtool to hard-code these into programs
14151 cygwin
* | mingw
* | pw32
* | cegcc
*)
14152 version_type
=windows
14157 case $GCC,$host_os in
14158 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14159 library_names_spec
='$libname.dll.a'
14160 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14161 postinstall_cmds
='base_file=`basename \${file}`~
14162 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14163 dldir=$destdir/`dirname \$dlpath`~
14164 test -d \$dldir || mkdir -p \$dldir~
14165 $install_prog $dir/$dlname \$dldir/$dlname~
14166 chmod a+x \$dldir/$dlname~
14167 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14168 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14170 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14171 dlpath=$dir/\$dldll~
14173 shlibpath_overrides_runpath
=yes
14177 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14178 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14182 # MinGW DLLs use traditional 'lib' prefix
14183 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14186 # pw32 DLLs use 'pw' prefix rather than 'lib'
14187 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14193 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14196 dynamic_linker
='Win32 ld.exe'
14197 # FIXME: first we should search . and the directory the executable is in
14201 darwin
* | rhapsody
*)
14202 dynamic_linker
="$host_os dyld"
14203 version_type
=darwin
14206 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14207 soname_spec
='${libname}${release}${major}$shared_ext'
14208 shlibpath_overrides_runpath
=yes
14209 shlibpath_var
=DYLD_LIBRARY_PATH
14210 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14212 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14219 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14220 soname_spec
='${libname}${release}${shared_ext}$major'
14221 shlibpath_var
=LD_LIBRARY_PATH
14224 freebsd
* | dragonfly
*)
14225 # DragonFly does not have aout. When/if they implement a new
14226 # versioning mechanism, adjust this.
14227 if test -x /usr
/bin
/objformat
; then
14228 objformat
=`/usr/bin/objformat`
14231 freebsd
[23].
*) objformat
=aout
;;
14232 *) objformat
=elf
;;
14235 version_type
=freebsd-
$objformat
14236 case $version_type in
14238 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14243 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14247 shlibpath_var
=LD_LIBRARY_PATH
14250 shlibpath_overrides_runpath
=yes
14252 freebsd3.
[01]* | freebsdelf3.
[01]*)
14253 shlibpath_overrides_runpath
=yes
14254 hardcode_into_libs
=yes
14256 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14257 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14258 shlibpath_overrides_runpath
=no
14259 hardcode_into_libs
=yes
14261 *) # from 4.6 on, and DragonFly
14262 shlibpath_overrides_runpath
=yes
14263 hardcode_into_libs
=yes
14272 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14273 soname_spec
='${libname}${release}${shared_ext}$major'
14274 shlibpath_var
=LD_LIBRARY_PATH
14275 hardcode_into_libs
=yes
14282 dynamic_linker
="$host_os runtime_loader"
14283 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14284 soname_spec
='${libname}${release}${shared_ext}$major'
14285 shlibpath_var
=LIBRARY_PATH
14286 shlibpath_overrides_runpath
=yes
14287 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14288 hardcode_into_libs
=yes
14291 hpux9
* | hpux10
* | hpux11
*)
14292 # Give a soname corresponding to the major version so that dld.sl refuses to
14293 # link against other versions.
14300 hardcode_into_libs
=yes
14301 dynamic_linker
="$host_os dld.so"
14302 shlibpath_var
=LD_LIBRARY_PATH
14303 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14305 soname_spec
='${libname}${release}${shared_ext}$major'
14306 if test "X$HPUX_IA64_MODE" = X32
; then
14307 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14309 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14311 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14315 hardcode_into_libs
=yes
14316 dynamic_linker
="$host_os dld.sl"
14317 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14318 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14319 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14320 soname_spec
='${libname}${release}${shared_ext}$major'
14321 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14322 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14326 dynamic_linker
="$host_os dld.sl"
14327 shlibpath_var
=SHLIB_PATH
14328 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14329 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14330 soname_spec
='${libname}${release}${shared_ext}$major'
14333 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14334 postinstall_cmds
='chmod 555 $lib'
14335 # or fails outright, so override atomically:
14336 install_override_mode
=555
14343 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14344 soname_spec
='${libname}${release}${shared_ext}$major'
14345 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14346 shlibpath_var
=LD_LIBRARY_PATH
14347 shlibpath_overrides_runpath
=no
14348 hardcode_into_libs
=yes
14351 irix5
* | irix6
* | nonstopux
*)
14353 nonstopux
*) version_type
=nonstopux
;;
14355 if test "$lt_cv_prog_gnu_ld" = yes; then
14363 soname_spec
='${libname}${release}${shared_ext}$major'
14364 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14366 irix5
* | nonstopux
*)
14367 libsuff
= shlibsuff
=
14370 case $LD in # libtool.m4 will add one of these switches to LD
14371 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14372 libsuff
= shlibsuff
= libmagic
=32-bit;;
14373 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14374 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14375 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14376 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14377 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14381 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14382 shlibpath_overrides_runpath
=no
14383 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14384 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14385 hardcode_into_libs
=yes
14388 # No shared lib support for Linux oldld, aout, or coff.
14389 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14393 # This must be Linux ELF.
14395 # uclinux* changes (here and below) have been submitted to the libtool
14396 # project, but have not yet been accepted: they are GCC-local changes
14397 # for the time being. (See
14398 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
14399 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
14403 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14404 soname_spec
='${libname}${release}${shared_ext}$major'
14405 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14406 shlibpath_var
=LD_LIBRARY_PATH
14407 shlibpath_overrides_runpath
=no
14409 # Some binutils ld are patched to set DT_RUNPATH
14410 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
14411 $as_echo_n "(cached) " >&6
14413 lt_cv_shlibpath_overrides_runpath
=no
14414 save_LDFLAGS
=$LDFLAGS
14415 save_libdir
=$libdir
14416 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14417 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14419 /* end confdefs.h. */
14429 if ac_fn_cxx_try_link
"$LINENO"; then :
14430 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14431 lt_cv_shlibpath_overrides_runpath
=yes
14434 rm -f core conftest.err conftest.
$ac_objext \
14435 conftest
$ac_exeext conftest.
$ac_ext
14436 LDFLAGS
=$save_LDFLAGS
14437 libdir
=$save_libdir
14441 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14443 # This implies no fast_install, which is unacceptable.
14444 # Some rework will be needed to allow for fast_install
14445 # before this can be enabled.
14446 hardcode_into_libs
=yes
14448 # Append ld.so.conf contents to the search path
14449 if test -f /etc
/ld.so.conf
; then
14450 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' ' '`
14451 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14454 # We used to test for /lib/ld.so.1 and disable shared libraries on
14455 # powerpc, because MkLinux only supported shared libraries with the
14456 # GNU dynamic linker. Since this was broken with cross compilers,
14457 # most powerpc-linux boxes support dynamic linking these days and
14458 # people can always --disable-shared, the test was removed, and we
14459 # assume the GNU/Linux dynamic linker is in use.
14460 dynamic_linker
='GNU/Linux ld.so'
14467 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14468 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14469 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14470 dynamic_linker
='NetBSD (a.out) ld.so'
14472 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14473 soname_spec
='${libname}${release}${shared_ext}$major'
14474 dynamic_linker
='NetBSD ld.elf_so'
14476 shlibpath_var
=LD_LIBRARY_PATH
14477 shlibpath_overrides_runpath
=yes
14478 hardcode_into_libs
=yes
14483 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14484 shlibpath_var
=LD_LIBRARY_PATH
14485 shlibpath_overrides_runpath
=yes
14492 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14493 soname_spec
='${libname}${release}${shared_ext}$major'
14494 shlibpath_var
=LD_LIBRARY_PATH
14495 shlibpath_overrides_runpath
=no
14496 hardcode_into_libs
=yes
14497 dynamic_linker
='ldqnx.so'
14502 sys_lib_dlsearch_path_spec
="/usr/lib"
14504 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14506 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14507 *) need_version
=no
;;
14509 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14510 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14511 shlibpath_var
=LD_LIBRARY_PATH
14512 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14514 openbsd2.
[89] | openbsd2.
[89].
*)
14515 shlibpath_overrides_runpath
=no
14518 shlibpath_overrides_runpath
=yes
14522 shlibpath_overrides_runpath
=yes
14527 libname_spec
='$name'
14530 library_names_spec
='$libname${shared_ext} $libname.a'
14531 dynamic_linker
='OS/2 ld.exe'
14532 shlibpath_var
=LIBPATH
14535 osf3
* | osf4
* | osf5
*)
14539 soname_spec
='${libname}${release}${shared_ext}$major'
14540 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14541 shlibpath_var
=LD_LIBRARY_PATH
14542 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14543 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14554 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14555 soname_spec
='${libname}${release}${shared_ext}$major'
14556 shlibpath_var
=LD_LIBRARY_PATH
14557 shlibpath_overrides_runpath
=yes
14558 hardcode_into_libs
=yes
14559 # ldd complains unless libraries are executable
14560 postinstall_cmds
='chmod +x $lib'
14565 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14566 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14567 shlibpath_var
=LD_LIBRARY_PATH
14568 shlibpath_overrides_runpath
=yes
14569 if test "$with_gnu_ld" = yes; then
14577 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14578 soname_spec
='${libname}${release}${shared_ext}$major'
14579 shlibpath_var
=LD_LIBRARY_PATH
14580 case $host_vendor in
14582 shlibpath_overrides_runpath
=no
14584 runpath_var
=LD_RUN_PATH
14592 shlibpath_overrides_runpath
=no
14593 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14599 if test -d /usr
/nec
;then
14601 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14602 soname_spec
='$libname${shared_ext}.$major'
14603 shlibpath_var
=LD_LIBRARY_PATH
14607 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14608 version_type
=freebsd-elf
14611 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14612 soname_spec
='${libname}${release}${shared_ext}$major'
14613 shlibpath_var
=LD_LIBRARY_PATH
14614 shlibpath_overrides_runpath
=yes
14615 hardcode_into_libs
=yes
14616 if test "$with_gnu_ld" = yes; then
14617 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14619 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14622 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14626 sys_lib_dlsearch_path_spec
='/usr/lib'
14630 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14634 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14635 shlibpath_var
=LD_LIBRARY_PATH
14636 shlibpath_overrides_runpath
=no
14637 hardcode_into_libs
=yes
14642 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14643 soname_spec
='${libname}${release}${shared_ext}$major'
14644 shlibpath_var
=LD_LIBRARY_PATH
14651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14652 $as_echo "$dynamic_linker" >&6; }
14653 test "$dynamic_linker" = no
&& can_build_shared
=no
14655 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14656 if test "$GCC" = yes; then
14657 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14660 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14661 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14663 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14664 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14705 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14706 hardcode_action_CXX
=
14707 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14708 test -n "$runpath_var_CXX" ||
14709 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14711 # We can hardcode non-existent directories.
14712 if test "$hardcode_direct_CXX" != no
&&
14713 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14714 # have to relink, otherwise we might link with an installed library
14715 # when we should be linking with a yet-to-be-installed one
14716 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14717 test "$hardcode_minus_L_CXX" != no
; then
14718 # Linking always hardcodes the temporary library directory.
14719 hardcode_action_CXX
=relink
14721 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14722 hardcode_action_CXX
=immediate
14725 # We cannot hardcode anything, or else we can only hardcode existing
14727 hardcode_action_CXX
=unsupported
14729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14730 $as_echo "$hardcode_action_CXX" >&6; }
14732 if test "$hardcode_action_CXX" = relink ||
14733 test "$inherit_rpath_CXX" = yes; then
14734 # Fast installation is not supported
14735 enable_fast_install
=no
14736 elif test "$shlibpath_overrides_runpath" = yes ||
14737 test "$enable_shared" = no
; then
14738 # Fast installation is not necessary
14739 enable_fast_install
=needless
14748 fi # test -n "$compiler"
14754 with_gnu_ld
=$lt_save_with_gnu_ld
14755 lt_cv_path_LDCXX
=$lt_cv_path_LD
14756 lt_cv_path_LD
=$lt_save_path_LD
14757 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14758 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14759 fi # test "$_lt_caught_CXX_error" != yes
14762 ac_cpp
='$CPP $CPPFLAGS'
14763 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14764 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14765 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14779 ac_config_commands
="$ac_config_commands libtool"
14784 # Only expand once:
14787 # Forbid libtool to hardcode RPATH, because we want to be able to specify
14788 # library search directory using LD_LIBRARY_PATH
14789 hardcode_into_libs
=no
14795 if test $enable_shared = yes; then
14796 link_offloadmic_host
="-loffloadmic_host %{static: $LIBS}"
14797 link_offloadmic_target
="-loffloadmic_target %{static: $LIBS}"
14799 link_offloadmic_host
="-loffloadmic_host $LIBS"
14800 link_offloadmic_target
="-loffloadmic_target $LIBS"
14805 # Determine what GCC version number to use in filesystem paths.
14807 get_gcc_base_ver
="cat"
14809 # Check whether --with-gcc-major-version-only was given.
14810 if test "${with_gcc_major_version_only+set}" = set; then :
14811 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
14812 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
14821 cat >confcache
<<\_ACEOF
14822 # This file is a shell script that caches the results of configure
14823 # tests run on this system so they can be shared between configure
14824 # scripts and configure runs, see configure's option --config-cache.
14825 # It is not useful on other systems. If it contains results you don't
14826 # want to keep, you may remove or edit it.
14828 # config.status only pays attention to the cache file if you give it
14829 # the --recheck option to rerun configure.
14831 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14832 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14833 # following values.
14837 # The following way of writing the cache mishandles newlines in values,
14838 # but we know of no workaround that is simple, portable, and efficient.
14839 # So, we kill variables containing newlines.
14840 # Ultrix sh set writes to stderr and can't be redirected directly,
14841 # and sets the high bit in the cache file unless we assign to the vars.
14843 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14844 eval ac_val
=\$
$ac_var
14848 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14849 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14852 _ | IFS | as_nl
) ;; #(
14853 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14854 *) { eval $ac_var=; unset $ac_var;} ;;
14860 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14861 *${as_nl}ac_space
=\
*)
14862 # `set' does not quote correctly, so add quotes: double-quote
14863 # substitution turns \\\\ into \\, and sed turns \\ into \.
14866 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14869 # `set' quotes correctly as required by POSIX, so do not add quotes.
14870 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14879 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14881 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14883 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14884 if test -w "$cache_file"; then
14885 if test "x$cache_file" != "x/dev/null"; then
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14887 $as_echo "$as_me: updating cache $cache_file" >&6;}
14888 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14889 cat confcache
>"$cache_file"
14891 case $cache_file in #(
14893 mv -f confcache
"$cache_file"$$
&&
14894 mv -f "$cache_file"$$
"$cache_file" ;; #(
14896 mv -f confcache
"$cache_file" ;;
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14902 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14907 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14908 # Let make expand exec_prefix.
14909 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14911 # Transform confdefs.h into DEFS.
14912 # Protect against shell expansion while executing Makefile rules.
14913 # Protect against Makefile macro expansion.
14915 # If the first sed substitution is executed (which looks for macros that
14916 # take arguments), then branch to the quote section. Otherwise,
14917 # look for a macro that doesn't take arguments.
14927 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14929 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14933 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
14946 DEFS
=`sed -n "$ac_script" confdefs.h`
14952 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14953 # 1. Remove the extension, and $U if already installed.
14954 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14955 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14956 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14957 # will be set to the directory where LIBOBJS objects are built.
14958 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14959 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14961 LIBOBJS
=$ac_libobjs
14963 LTLIBOBJS
=$ac_ltlibobjs
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14967 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14968 if test -n "$am_sleep_pid"; then
14969 # Hide warnings about reused PIDs.
14970 wait $am_sleep_pid 2>/dev
/null
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14973 $as_echo "done" >&6; }
14974 if test -n "$EXEEXT"; then
14976 am__EXEEXT_FALSE
='#'
14978 am__EXEEXT_TRUE
='#'
14982 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14983 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
14984 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14986 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14987 as_fn_error $?
"conditional \"AMDEP\" was never defined.
14988 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14990 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14991 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
14992 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14994 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
14995 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
14996 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14998 if test -z "${LIBOFFLOADMIC_HOST_TRUE}" && test -z "${LIBOFFLOADMIC_HOST_FALSE}"; then
14999 as_fn_error $?
"conditional \"LIBOFFLOADMIC_HOST\" was never defined.
15000 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15003 : "${CONFIG_STATUS=./config.status}"
15005 ac_clean_files_save
=$ac_clean_files
15006 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15007 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15008 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15010 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15012 # Generated by $as_me.
15013 # Run this file to recreate the current configuration.
15014 # Compiler output produced by configure, useful for debugging
15015 # configure, is in config.log if it exists.
15018 ac_cs_recheck=false
15021 SHELL=\${CONFIG_SHELL-$SHELL}
15024 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15025 ## -------------------- ##
15026 ## M4sh Initialization. ##
15027 ## -------------------- ##
15029 # Be more Bourne compatible
15030 DUALCASE
=1; export DUALCASE
# for MKS sh
15031 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15034 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15035 # is contrary to our usage. Disable this feature.
15036 alias -g '${1+"$@"}'='"$@"'
15037 setopt NO_GLOB_SUBST
15039 case `(set -o) 2>/dev/null` in #(
15051 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15052 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15053 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15054 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15055 # Prefer a ksh shell builtin over an external printf program on Solaris,
15056 # but without wasting forks for bash or zsh.
15057 if test -z "$BASH_VERSION$ZSH_VERSION" \
15058 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15059 as_echo='print
-r --'
15060 as_echo_n='print
-rn --'
15061 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15062 as_echo='printf %s
\n'
15063 as_echo_n='printf %s
'
15065 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15066 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15067 as_echo_n='/usr
/ucb
/echo -n'
15069 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15070 as_echo_n_body='eval
15074 expr "X$arg" : "X\\(.*\\)$as_nl";
15075 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15077 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15079 export as_echo_n_body
15080 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15082 export as_echo_body
15083 as_echo='sh
-c $as_echo_body as_echo
'
15086 # The user is always right.
15087 if test "${PATH_SEPARATOR+set}" != set; then
15089 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15090 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15097 # We need space, tab and new line, in precisely that order. Quoting is
15098 # there to prevent editors from complaining about space-tab.
15099 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15100 # splitting by setting IFS to empty value.)
15103 # Find who we are. Look in the path if we contain no directory separator.
15106 *[\\/]* ) as_myself=$0 ;;
15107 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15108 for as_dir in $PATH
15111 test -z "$as_dir" && as_dir=.
15112 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15118 # We did not find ourselves, most probably we were run as `sh COMMAND'
15119 # in which case we are not to be found in the path.
15120 if test "x$as_myself" = x
; then
15123 if test ! -f "$as_myself"; then
15124 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15128 # Unset variables that we do not need and which cause bugs (e.g. in
15129 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15130 # suppresses any "Segmentation fault" message there. '((' could
15131 # trigger a bug in pdksh 5.2.14.
15132 for as_var
in BASH_ENV ENV MAIL MAILPATH
15133 do eval test x\
${$as_var+set} = xset \
15134 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15147 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15150 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15151 # ----------------------------------------
15152 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15153 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15154 # script with STATUS, using 1 if that was 0.
15157 as_status
=$1; test $as_status -eq 0 && as_status
=1
15159 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15160 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15162 $as_echo "$as_me: error: $2" >&2
15163 as_fn_exit
$as_status
15167 # as_fn_set_status STATUS
15168 # -----------------------
15169 # Set $? to STATUS, without forking.
15170 as_fn_set_status
()
15173 } # as_fn_set_status
15175 # as_fn_exit STATUS
15176 # -----------------
15177 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15181 as_fn_set_status
$1
15187 # Portably unset VAR.
15190 { eval $1=; unset $1;}
15192 as_unset
=as_fn_unset
15193 # as_fn_append VAR VALUE
15194 # ----------------------
15195 # Append the text in VALUE to the end of the definition contained in VAR. Take
15196 # advantage of any shell optimizations that allow amortized linear growth over
15197 # repeated appends, instead of the typical quadratic growth present in naive
15199 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15200 eval 'as_fn_append ()
15211 # as_fn_arith ARG...
15212 # ------------------
15213 # Perform arithmetic evaluation on the ARGs, and store the result in the
15214 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15215 # must be portable across $(()) and expr.
15216 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15217 eval 'as_fn_arith ()
15224 as_val
=`expr "$@" || test $? -eq 1`
15229 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15230 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15236 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15237 as_basename
=basename
15242 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15248 as_me
=`$as_basename -- "$0" ||
15249 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15250 X"$0" : 'X\(//\)$' \| \
15251 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15253 sed '/^.*\/\([^/][^/]*\)\/*$/{
15267 # Avoid depending upon Character Ranges.
15268 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15269 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15270 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15271 as_cr_digits
='0123456789'
15272 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15274 ECHO_C
= ECHO_N
= ECHO_T
=
15275 case `echo -n x` in #(((((
15277 case `echo 'xy\c'` in
15278 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15280 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15287 rm -f conf$$ conf$$.exe conf$$.
file
15288 if test -d conf$$.dir
; then
15289 rm -f conf$$.dir
/conf$$.
file
15292 mkdir conf$$.dir
2>/dev
/null
15294 if (echo >conf$$.
file) 2>/dev
/null
; then
15295 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15297 # ... but there are two gotchas:
15298 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15299 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15300 # In both cases, we have to default to `cp -pR'.
15301 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15303 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15311 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15312 rmdir conf$$.dir
2>/dev
/null
15317 # Create "$as_dir" as a directory, including parents if necessary.
15322 -*) as_dir
=.
/$as_dir;;
15324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15329 *) as_qdir
=$as_dir;;
15331 as_dirs
="'$as_qdir' $as_dirs"
15332 as_dir
=`$as_dirname -- "$as_dir" ||
15333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15334 X"$as_dir" : 'X\(//\)[^/]' \| \
15335 X"$as_dir" : 'X\(//\)$' \| \
15336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15337 $as_echo X"$as_dir" |
15338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15342 /^X\(\/\/\)[^/].*/{
15355 test -d "$as_dir" && break
15357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15362 if mkdir
-p .
2>/dev
/null
; then
15363 as_mkdir_p
='mkdir -p "$as_dir"'
15365 test -d .
/-p && rmdir .
/-p
15370 # as_fn_executable_p FILE
15371 # -----------------------
15372 # Test if FILE is an executable regular file.
15373 as_fn_executable_p
()
15375 test -f "$1" && test -x "$1"
15376 } # as_fn_executable_p
15377 as_test_x
='test -x'
15378 as_executable_p
=as_fn_executable_p
15380 # Sed expression to map a string onto a valid CPP name.
15381 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15383 # Sed expression to map a string onto a valid variable name.
15384 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15388 ## ----------------------------------- ##
15389 ## Main body of $CONFIG_STATUS script. ##
15390 ## ----------------------------------- ##
15392 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15395 # Save the log message, to keep $0 and so on meaningful, and to
15396 # report actual input values of CONFIG_FILES etc. instead of their
15397 # values after options handling.
15399 This file was extended by MIC Offload Runtime Library $as_me 1.0, which was
15400 generated by GNU Autoconf 2.69. Invocation command line was
15402 CONFIG_FILES = $CONFIG_FILES
15403 CONFIG_HEADERS = $CONFIG_HEADERS
15404 CONFIG_LINKS = $CONFIG_LINKS
15405 CONFIG_COMMANDS = $CONFIG_COMMANDS
15408 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15413 case $ac_config_files in *"
15414 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15419 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15420 # Files that config.status was made for.
15421 config_files="$ac_config_files"
15422 config_commands="$ac_config_commands"
15426 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15428 \`$as_me' instantiates files and other configuration actions
15429 from templates according to the current configuration. Unless the files
15430 and actions are specified as TAGs, all are instantiated by default.
15432 Usage: $0 [OPTION]... [TAG]...
15434 -h, --help print this help, then exit
15435 -V, --version print version number and configuration settings, then exit
15436 --config print configuration, then exit
15437 -q, --quiet, --silent
15438 do not print progress messages
15439 -d, --debug don't remove temporary files
15440 --recheck update $as_me by reconfiguring in the same conditions
15441 --file=FILE[:TEMPLATE]
15442 instantiate the configuration file FILE
15444 Configuration files:
15447 Configuration commands:
15450 Report bugs to the package provider."
15453 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15454 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15456 MIC Offload Runtime Library config.status 1.0
15457 configured by $0, generated by GNU Autoconf 2.69,
15458 with options \\"\$ac_cs_config\\"
15460 Copyright (C) 2012 Free Software Foundation, Inc.
15461 This config.status script is free software; the Free Software Foundation
15462 gives unlimited permission to copy, distribute and modify it."
15469 test -n "\$AWK" || AWK=awk
15472 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15473 # The default lists apply if the user does not specify any file.
15479 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15480 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15484 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15496 # Handling of the options.
15497 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15499 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15500 $as_echo "$ac_cs_version"; exit ;;
15501 --config |
--confi |
--conf |
--con |
--co |
--c )
15502 $as_echo "$ac_cs_config"; exit ;;
15503 --debug |
--debu |
--deb |
--de |
--d |
-d )
15505 --file |
--fil |
--fi |
--f )
15508 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15509 '') as_fn_error $?
"missing file argument" ;;
15511 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15512 ac_need_defaults
=false
;;
15513 --he |
--h |
--help |
--hel |
-h )
15514 $as_echo "$ac_cs_usage"; exit ;;
15515 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15516 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15519 # This is an error.
15520 -*) as_fn_error $?
"unrecognized option: \`$1'
15521 Try \`$0 --help' for more information." ;;
15523 *) as_fn_append ac_config_targets
" $1"
15524 ac_need_defaults
=false
;;
15530 ac_configure_extra_args
=
15532 if $ac_cs_silent; then
15534 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15538 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15539 if \$ac_cs_recheck; then
15540 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15542 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15543 CONFIG_SHELL='$SHELL'
15544 export CONFIG_SHELL
15549 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15553 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15554 ## Running $as_me. ##
15560 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15564 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15569 with_multisubdir="$with_multisubdir"
15570 with_multisrctop="$with_multisrctop"
15571 with_target_subdir="$with_target_subdir"
15572 ac_configure_args="${multilib_arg} ${ac_configure_args}"
15573 multi_basedir="$multi_basedir"
15574 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
15577 GFORTRAN="$GFORTRAN"
15581 # The HP-UX ksh and POSIX shell print the target directory to stdout
15582 # if CDPATH is set.
15583 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15585 sed_quote_subst='$sed_quote_subst'
15586 double_quote_subst='$double_quote_subst'
15587 delay_variable_subst='$delay_variable_subst'
15588 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15589 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15590 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15591 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15592 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15593 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15594 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15595 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15596 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15597 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15598 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15599 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15600 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15601 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15602 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15603 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15604 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15605 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15606 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15607 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15608 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15609 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15610 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15611 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15612 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15613 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15614 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15615 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15616 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15617 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15618 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15619 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15620 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15621 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15622 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15623 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15624 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15625 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15626 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15627 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15628 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15629 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15630 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15631 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15632 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15633 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15634 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15635 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15636 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"`'
15637 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15638 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15639 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15640 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15641 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15642 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15643 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15644 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15645 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15646 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15647 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15648 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15649 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15650 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15651 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15652 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15653 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15654 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15655 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15656 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15657 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15658 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15659 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15660 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15661 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15662 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15663 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15664 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15665 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15666 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15667 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15668 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15669 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15670 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15671 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15672 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15673 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15674 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15675 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15676 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15677 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15678 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15679 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15680 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15681 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15682 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15683 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15684 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15685 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15686 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15687 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15688 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15689 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15690 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15691 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15692 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15693 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15694 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15695 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15696 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15697 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15698 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15699 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15700 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15701 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15702 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15703 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15704 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15705 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15706 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15707 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15708 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
15709 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
15710 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
15711 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
15712 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
15713 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
15714 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
15715 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
15716 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15717 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15718 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
15719 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
15720 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
15721 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
15722 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
15723 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
15724 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
15725 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
15726 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
15727 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15728 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15729 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
15730 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15731 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15732 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15733 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15734 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15735 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15736 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
15737 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15738 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15739 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15740 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
15741 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
15742 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
15743 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
15744 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
15745 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
15746 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
15747 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
15748 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
15749 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
15750 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
15751 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15752 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15753 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15754 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15755 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
15756 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
15757 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
15758 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15759 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15760 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
15761 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
15762 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
15765 LTCFLAGS='$LTCFLAGS'
15766 compiler='$compiler_DEFAULT'
15768 # A function that is used when there is no print builtin or printf.
15769 func_fallback_echo ()
15771 eval 'cat <<_LTECHO_EOF
15776 # Quote evaled strings.
15790 deplibs_check_method \
15799 lt_cv_sys_global_symbol_pipe \
15800 lt_cv_sys_global_symbol_to_cdecl \
15801 lt_cv_sys_global_symbol_to_c_name_address \
15802 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15803 lt_prog_compiler_no_builtin_flag \
15804 lt_prog_compiler_wl \
15805 lt_prog_compiler_pic \
15806 lt_prog_compiler_static \
15807 lt_cv_prog_compiler_c_o \
15815 export_dynamic_flag_spec \
15816 whole_archive_flag_spec \
15817 compiler_needs_object \
15819 allow_undefined_flag \
15820 no_undefined_flag \
15821 hardcode_libdir_flag_spec \
15822 hardcode_libdir_flag_spec_ld \
15823 hardcode_libdir_separator \
15828 variables_saved_for_relink \
15830 library_names_spec \
15832 install_override_mode \
15836 compiler_lib_search_dirs \
15841 compiler_lib_search_path \
15845 lt_prog_compiler_no_builtin_flag_CXX \
15846 lt_prog_compiler_wl_CXX \
15847 lt_prog_compiler_pic_CXX \
15848 lt_prog_compiler_static_CXX \
15849 lt_cv_prog_compiler_c_o_CXX \
15850 export_dynamic_flag_spec_CXX \
15851 whole_archive_flag_spec_CXX \
15852 compiler_needs_object_CXX \
15854 allow_undefined_flag_CXX \
15855 no_undefined_flag_CXX \
15856 hardcode_libdir_flag_spec_CXX \
15857 hardcode_libdir_flag_spec_ld_CXX \
15858 hardcode_libdir_separator_CXX \
15859 fix_srcfile_path_CXX \
15860 exclude_expsyms_CXX \
15861 include_expsyms_CXX \
15862 file_list_spec_CXX \
15863 compiler_lib_search_dirs_CXX \
15864 predep_objects_CXX \
15865 postdep_objects_CXX \
15868 compiler_lib_search_path_CXX; do
15869 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15870 *[\\\\\\\`\\"\\\$]*)
15871 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15874 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15879 # Double-quote double-evaled strings.
15880 for var in reload_cmds \
15881 old_postinstall_cmds \
15882 old_postuninstall_cmds \
15884 extract_expsyms_cmds \
15885 old_archive_from_new_cmds \
15886 old_archive_from_expsyms_cmds \
15888 archive_expsym_cmds \
15890 module_expsym_cmds \
15891 export_symbols_cmds \
15894 postuninstall_cmds \
15896 sys_lib_search_path_spec \
15897 sys_lib_dlsearch_path_spec \
15899 old_archive_cmds_CXX \
15900 old_archive_from_new_cmds_CXX \
15901 old_archive_from_expsyms_cmds_CXX \
15903 archive_expsym_cmds_CXX \
15905 module_expsym_cmds_CXX \
15906 export_symbols_cmds_CXX \
15907 prelink_cmds_CXX; do
15908 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15909 *[\\\\\\\`\\"\\\$]*)
15910 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15913 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15918 ac_aux_dir='$ac_aux_dir'
15919 xsi_shell='$xsi_shell'
15920 lt_shell_append='$lt_shell_append'
15922 # See if we are running on zsh, and set the options which allow our
15923 # commands through without removal of \ escapes INIT.
15924 if test -n "\${ZSH_VERSION+set}" ; then
15925 setopt NO_GLOB_SUBST
15931 TIMESTAMP='$TIMESTAMP'
15942 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15944 # Handling of arguments.
15945 for ac_config_target
in $ac_config_targets
15947 case $ac_config_target in
15948 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15949 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15950 "liboffloadmic_host.spec") CONFIG_FILES
="$CONFIG_FILES liboffloadmic_host.spec" ;;
15951 "liboffloadmic_target.spec") CONFIG_FILES
="$CONFIG_FILES liboffloadmic_target.spec" ;;
15952 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
15953 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15955 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15960 # If the user did not use the arguments to specify the items to instantiate,
15961 # then the envvar interface is used. Set only those that are not.
15962 # We use the long form for the default assignment because of an extremely
15963 # bizarre bug on SunOS 4.1.3.
15964 if $ac_need_defaults; then
15965 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15966 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15969 # Have a temporary directory for convenience. Make it in the build tree
15970 # simply because there is no reason against having it here, and in addition,
15971 # creating and moving files from /tmp can sometimes cause problems.
15972 # Hook for its removal unless debugging.
15973 # Note that there is a small window in which the directory will not be cleaned:
15974 # after its creation but before its name has been assigned to `$tmp'.
15978 trap 'exit_status=$?
15979 : "${ac_tmp:=$tmp}"
15980 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15982 trap 'as_fn_exit 1' 1 2 13 15
15984 # Create a (secure) tmp directory for tmp files.
15987 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15991 tmp
=.
/conf$$
-$RANDOM
15992 (umask 077 && mkdir
"$tmp")
15993 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15996 # Set up the scripts for CONFIG_FILES section.
15997 # No need to generate them if there are no CONFIG_FILES.
15998 # This happens for instance with `./config.status config.h'.
15999 if test -n "$CONFIG_FILES"; then
16002 ac_cr
=`echo X | tr X '\015'`
16003 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16004 # But we know of no other shell where ac_cr would be empty at this
16005 # point, so we can use a bashism as a fallback.
16006 if test "x$ac_cr" = x
; then
16007 eval ac_cr
=\$
\'\\r
\'
16009 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16010 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16013 ac_cs_awk_cr
=$ac_cr
16016 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16021 echo "cat >conf$$subs.awk <<_ACEOF" &&
16022 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16024 } >conf$$subs.sh ||
16025 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16026 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16028 for ac_last_try in false false false false false :; do
16029 . ./conf$$subs.sh ||
16030 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16032 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16033 if test $ac_delim_n = $ac_delim_num; then
16035 elif $ac_last_try; then
16036 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16038 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16041 rm -f conf$$subs.sh
16043 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16044 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16048 s/^/S["/; s
/!.
*/"]=/
16058 s/\(.\{148\}\)..*/\1/
16060 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16065 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16072 s/\(.\{148\}\)..*/\1/
16074 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16078 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16083 ' <conf$$subs.awk | sed '
16088 ' >>$CONFIG_STATUS || ac_write_fail=1
16089 rm -f conf$$subs.awk
16090 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16092 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16093 for (key in S) S_is_set[key] = 1
16099 nfields = split(line, field, "@
")
16101 len = length(field[1])
16102 for (i = 2; i < nfields; i++) {
16104 keylen = length(key)
16105 if (S_is_set[key]) {
16107 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16108 len += length(value) + length(field[++i])
16119 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16120 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16121 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16124 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16125 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16128 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16129 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16130 # trailing colons and then remove the whole line if VPATH becomes empty
16131 # (actually we leave an empty line to preserve line numbers).
16132 if test "x
$srcdir" = x.; then
16133 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16151 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16152 fi # test -n "$CONFIG_FILES"
16155 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
16160 :[FHLC]) ac_mode=$ac_tag; continue;;
16162 case $ac_mode$ac_tag in
16164 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
16165 :[FH]-) ac_tag=-:-;;
16166 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16183 -) ac_f="$ac_tmp/stdin";;
16184 *) # Look for the file first in the build tree, then in the source tree
16185 # (if the path is not absolute). The absolute path cannot be DOS-style,
16186 # because $ac_f cannot contain `:'.
16190 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16192 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16194 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
16195 as_fn_append ac_file_inputs " '$ac_f'"
16198 # Let's still pretend it is `configure' which instantiates (i.e., don't
16199 # use $as_me), people would be surprised to read:
16200 # /* config.h. Generated by config.status. */
16201 configure_input='Generated from '`
16202 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16204 if test x"$ac_file" != x-; then
16205 configure_input="$ac_file.
$configure_input"
16206 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
16207 $as_echo "$as_me: creating
$ac_file" >&6;}
16209 # Neutralize special characters interpreted by sed in replacement strings.
16210 case $configure_input in #(
16211 *\&* | *\|* | *\\* )
16212 ac_sed_conf_input=`$as_echo "$configure_input" |
16213 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16214 *) ac_sed_conf_input=$configure_input;;
16218 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
16219 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
16224 ac_dir=`$as_dirname -- "$ac_file" ||
16225 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16226 X"$ac_file" : 'X\(//\)[^/]' \| \
16227 X"$ac_file" : 'X\(//\)$' \| \
16228 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16229 $as_echo X"$ac_file" |
16230 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16234 /^X\(\/\/\)[^/].*/{
16247 as_dir="$ac_dir"; as_fn_mkdir_p
16251 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16253 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16254 # A "..
" for each directory in $ac_dir_suffix.
16255 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16256 case $ac_top_builddir_sub in
16257 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16258 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16261 ac_abs_top_builddir=$ac_pwd
16262 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16263 # for backward compatibility:
16264 ac_top_builddir=$ac_top_build_prefix
16267 .) # We are building in place.
16269 ac_top_srcdir=$ac_top_builddir_sub
16270 ac_abs_top_srcdir=$ac_pwd ;;
16271 [\\/]* | ?:[\\/]* ) # Absolute name.
16272 ac_srcdir=$srcdir$ac_dir_suffix;
16273 ac_top_srcdir=$srcdir
16274 ac_abs_top_srcdir=$srcdir ;;
16275 *) # Relative name.
16276 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16277 ac_top_srcdir=$ac_top_build_prefix$srcdir
16278 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16280 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16290 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16291 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16293 ac_MKDIR_P=$MKDIR_P
16295 [\\/$]* | ?:[\\/]* ) ;;
16296 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16300 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16301 # If the template does not know about datarootdir, expand it.
16302 # FIXME: This hack should be removed a few years after 2.60.
16303 ac_datarootdir_hack=; ac_datarootdir_seen=
16314 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
16315 *datarootdir*) ac_datarootdir_seen=yes;;
16316 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
16318 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
16320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16321 ac_datarootdir_hack='
16322 s&@datadir@&$datadir&g
16323 s&@docdir@&$docdir&g
16324 s&@infodir@&$infodir&g
16325 s&@localedir@&$localedir&g
16326 s&@mandir@&$mandir&g
16327 s&\\\${datarootdir}&$datarootdir&g' ;;
16331 # Neutralize VPATH when `$srcdir' = `.'.
16332 # Shell code in configure.ac might set extrasub.
16333 # FIXME: do we really want to maintain this feature?
16334 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16335 ac_sed_extra="$ac_vpsub
16338 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16340 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16341 s|@configure_input@|
$ac_sed_conf_input|
;t t
16342 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16343 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16344 s
&@srcdir@
&$ac_srcdir&;t t
16345 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16346 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16347 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16348 s
&@builddir@
&$ac_builddir&;t t
16349 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16350 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16351 s
&@INSTALL@
&$ac_INSTALL&;t t
16352 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16353 $ac_datarootdir_hack
16355 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
16356 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16358 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16359 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16360 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16361 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16363 which seems to be undefined. Please make sure it is defined" >&5
16364 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16365 which seems to be undefined. Please make sure it is defined" >&2;}
16367 rm -f "$ac_tmp/stdin"
16369 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16370 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16372 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16376 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16377 $as_echo "$as_me: executing $ac_file commands" >&6;}
16382 case $ac_file$ac_mode in
16383 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16384 # Older Autoconf quotes --file arguments for eval, but not when files
16385 # are listed without --file. Let's play safe and only
enable the
eval
16386 # if we detect the quoting.
16387 case $CONFIG_FILES in
16388 *\'*) eval set x
"$CONFIG_FILES" ;;
16389 *) set x
$CONFIG_FILES ;;
16394 # Strip MF so we end up with the name of the file.
16395 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16396 # Check whether this is an Automake generated Makefile or not.
16397 # We used to match only the files named 'Makefile.in', but
16398 # some people rename them; so instead we look at the file content.
16399 # Grep'ing the first line is not enough: some people post-process
16400 # each Makefile.in and add a new line on top of each file to say so.
16401 # Grep'ing the whole file is not good either: AIX grep has a line
16402 # limit of 2048, but all sed's we know have understand at least 4000.
16403 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16404 dirpart
=`$as_dirname -- "$mf" ||
16405 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16406 X"$mf" : 'X\(//\)[^/]' \| \
16407 X"$mf" : 'X\(//\)$' \| \
16408 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16410 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16414 /^X\(\/\/\)[^/].*/{
16430 # Extract the definition of DEPDIR, am__include, and am__quote
16431 # from the Makefile without running 'make'.
16432 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16433 test -z "$DEPDIR" && continue
16434 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16435 test -z "$am__include" && continue
16436 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16437 # Find all dependency output files, they are included files with
16438 # $(DEPDIR) in their names. We invoke sed twice because it is the
16439 # simplest approach to changing $(DEPDIR) to its actual value in the
16441 for file in `sed -n "
16442 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16443 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16444 # Make sure the directory exists.
16445 test -f "$dirpart/$file" && continue
16446 fdir
=`$as_dirname -- "$file" ||
16447 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16448 X"$file" : 'X\(//\)[^/]' \| \
16449 X"$file" : 'X\(//\)$' \| \
16450 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16451 $as_echo X"$file" |
16452 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16456 /^X\(\/\/\)[^/].*/{
16469 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16470 # echo "creating $dirpart/$file"
16471 echo '# dummy' > "$dirpart/$file"
16477 # Only add multilib support code if we just rebuilt the top-level
16479 case " $CONFIG_FILES " in
16481 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
16486 # See if we are running on zsh, and set the options which allow our
16487 # commands through without removal of \ escapes.
16488 if test -n "${ZSH_VERSION+set}" ; then
16489 setopt NO_GLOB_SUBST
16492 cfgfile
="${ofile}T"
16493 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16496 cat <<_LT_EOF >> "$cfgfile"
16499 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16500 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16501 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16502 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16504 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16505 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16506 # Written by Gordon Matzigkeit, 1996
16508 # This file is part of GNU Libtool.
16510 # GNU Libtool is free software; you can redistribute it and/or
16511 # modify it under the terms of the GNU General Public License as
16512 # published by the Free Software Foundation; either version 2 of
16513 # the License, or (at your option) any later version.
16515 # As a special exception to the GNU General Public License,
16516 # if you distribute this file as part of a program or library that
16517 # is built using GNU Libtool, you may include this file under the
16518 # same distribution terms that you use for the rest of that program.
16520 # GNU Libtool is distributed in the hope that it will be useful,
16521 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16522 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16523 # GNU General Public License for more details.
16525 # You should have received a copy of the GNU General Public License
16526 # along with GNU Libtool; see the file COPYING. If not, a copy
16527 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16528 # obtained by writing to the Free Software Foundation, Inc.,
16529 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16532 # The names of the tagged configurations supported by this script.
16533 available_tags="CXX "
16535 # ### BEGIN LIBTOOL CONFIG
16537 # Which release of libtool.m4 was used?
16538 macro_version=$macro_version
16539 macro_revision=$macro_revision
16541 # Whether or not to build shared libraries.
16542 build_libtool_libs=$enable_shared
16544 # Whether or not to build static libraries.
16545 build_old_libs=$enable_static
16547 # What type of objects to build.
16550 # Whether or not to optimize for fast installation.
16551 fast_install=$enable_fast_install
16553 # Shell to use when invoking shell scripts.
16556 # An echo program that protects backslashes.
16560 host_alias=$host_alias
16564 # The build system.
16565 build_alias=$build_alias
16569 # A sed program that does not truncate output.
16572 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16573 Xsed="\$SED -e 1s/^X//"
16575 # A grep program that handles long lines.
16581 # A literal string matcher.
16584 # A BSD- or MS-compatible name lister.
16587 # Whether we need soft or hard links.
16590 # What is the maximum length of a command?
16591 max_cmd_len=$max_cmd_len
16593 # Object file suffix (normally "o").
16596 # Executable file suffix (normally "").
16599 # whether the shell understands "unset".
16602 # turn spaces into newlines.
16605 # turn newlines into spaces.
16608 # An object symbol dumper.
16609 OBJDUMP=$lt_OBJDUMP
16611 # Method to check whether dependent libraries are shared objects.
16612 deplibs_check_method=$lt_deplibs_check_method
16614 # Command to use when deplibs_check_method == "file_magic".
16615 file_magic_cmd=$lt_file_magic_cmd
16619 AR_FLAGS=$lt_AR_FLAGS
16621 # A symbol stripping program.
16624 # Commands used to install an old-style archive.
16626 old_postinstall_cmds=$lt_old_postinstall_cmds
16627 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16629 # Whether to use a lock for old archive extraction.
16630 lock_old_archive_extraction=$lock_old_archive_extraction
16635 # LTCC compiler flags.
16636 LTCFLAGS=$lt_CFLAGS
16638 # Take the output of nm and produce a listing of raw symbols and C names.
16639 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16641 # Transform the output of nm in a proper C declaration.
16642 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16644 # Transform the output of nm in a C name address pair.
16645 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16647 # Transform the output of nm in a C name address pair when lib prefix is needed.
16648 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16650 # The name of the directory that contains temporary libtool files.
16653 # Used to examine libraries when file_magic_cmd begins with "file".
16654 MAGIC_CMD=$MAGIC_CMD
16656 # Must we lock files when doing compilation?
16657 need_locks=$lt_need_locks
16659 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16660 DSYMUTIL=$lt_DSYMUTIL
16662 # Tool to change global to local symbols on Mac OS X.
16665 # Tool to manipulate fat objects and archives on Mac OS X.
16668 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16671 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16672 OTOOL64=$lt_OTOOL64
16674 # Old archive suffix (normally "a").
16677 # Shared library suffix (normally ".so").
16678 shrext_cmds=$lt_shrext_cmds
16680 # The commands to extract the exported symbol list from a shared archive.
16681 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16683 # Variables whose values should be saved in libtool wrapper scripts and
16684 # restored at link time.
16685 variables_saved_for_relink=$lt_variables_saved_for_relink
16687 # Do we need the "lib" prefix for modules?
16688 need_lib_prefix=$need_lib_prefix
16690 # Do we need a version for libraries?
16691 need_version=$need_version
16693 # Library versioning type.
16694 version_type=$version_type
16696 # Shared library runtime path variable.
16697 runpath_var=$runpath_var
16699 # Shared library path variable.
16700 shlibpath_var=$shlibpath_var
16702 # Is shlibpath searched before the hard-coded library search path?
16703 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16705 # Format of library name prefix.
16706 libname_spec=$lt_libname_spec
16708 # List of archive names. First name is the real one, the rest are links.
16709 # The last name is the one that the linker finds with -lNAME
16710 library_names_spec=$lt_library_names_spec
16712 # The coded name of the library, if different from the real name.
16713 soname_spec=$lt_soname_spec
16715 # Permission mode override for installation of shared libraries.
16716 install_override_mode=$lt_install_override_mode
16718 # Command to use after installation of a shared archive.
16719 postinstall_cmds=$lt_postinstall_cmds
16721 # Command to use after uninstallation of a shared archive.
16722 postuninstall_cmds=$lt_postuninstall_cmds
16724 # Commands used to finish a libtool library installation in a directory.
16725 finish_cmds=$lt_finish_cmds
16727 # As "finish_cmds", except a single script fragment to be evaled but
16729 finish_eval=$lt_finish_eval
16731 # Whether we should hardcode library paths into libraries.
16732 hardcode_into_libs=$hardcode_into_libs
16734 # Compile-time system search path for libraries.
16735 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16737 # Run-time system search path for libraries.
16738 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16740 # Whether dlopen is supported.
16741 dlopen_support=$enable_dlopen
16743 # Whether dlopen of programs is supported.
16744 dlopen_self=$enable_dlopen_self
16746 # Whether dlopen of statically linked programs is supported.
16747 dlopen_self_static=$enable_dlopen_self_static
16749 # Commands to strip libraries.
16750 old_striplib=$lt_old_striplib
16751 striplib=$lt_striplib
16754 # The linker used to build libraries.
16757 # How to create reloadable object files.
16758 reload_flag=$lt_reload_flag
16759 reload_cmds=$lt_reload_cmds
16761 # Commands used to build an old-style archive.
16762 old_archive_cmds=$lt_old_archive_cmds
16764 # A language specific compiler.
16767 # Is the compiler the GNU compiler?
16770 # Compiler flag to turn off builtin functions.
16771 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16773 # How to pass a linker flag through the compiler.
16774 wl=$lt_lt_prog_compiler_wl
16776 # Additional compiler flags for building library objects.
16777 pic_flag=$lt_lt_prog_compiler_pic
16779 # Compiler flag to prevent dynamic linking.
16780 link_static_flag=$lt_lt_prog_compiler_static
16782 # Does compiler simultaneously support -c and -o options?
16783 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16785 # Whether or not to add -lc for building shared libraries.
16786 build_libtool_need_lc=$archive_cmds_need_lc
16788 # Whether or not to disallow shared libs when runtime libs are static.
16789 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16791 # Compiler flag to allow reflexive dlopens.
16792 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16794 # Compiler flag to generate shared objects directly from archives.
16795 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16797 # Whether the compiler copes with passing no objects directly.
16798 compiler_needs_object=$lt_compiler_needs_object
16800 # Create an old-style archive from a shared archive.
16801 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16803 # Create a temporary old-style archive to link instead of a shared archive.
16804 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16806 # Commands used to build a shared archive.
16807 archive_cmds=$lt_archive_cmds
16808 archive_expsym_cmds=$lt_archive_expsym_cmds
16810 # Commands used to build a loadable module if different from building
16811 # a shared archive.
16812 module_cmds=$lt_module_cmds
16813 module_expsym_cmds=$lt_module_expsym_cmds
16815 # Whether we are building with GNU ld or not.
16816 with_gnu_ld=$lt_with_gnu_ld
16818 # Flag that allows shared libraries with undefined symbols to be built.
16819 allow_undefined_flag=$lt_allow_undefined_flag
16821 # Flag that enforces no undefined symbols.
16822 no_undefined_flag=$lt_no_undefined_flag
16824 # Flag to hardcode \$libdir into a binary during linking.
16825 # This must work even if \$libdir does not exist
16826 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16828 # If ld is used when linking, flag to hardcode \$libdir into a binary
16829 # during linking. This must work even if \$libdir does not exist.
16830 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16832 # Whether we need a single "-rpath" flag with a separated argument.
16833 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16835 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16836 # DIR into the resulting binary.
16837 hardcode_direct=$hardcode_direct
16839 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16840 # DIR into the resulting binary and the resulting library dependency is
16841 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16842 # library is relocated.
16843 hardcode_direct_absolute=$hardcode_direct_absolute
16845 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16846 # into the resulting binary.
16847 hardcode_minus_L=$hardcode_minus_L
16849 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16850 # into the resulting binary.
16851 hardcode_shlibpath_var=$hardcode_shlibpath_var
16853 # Set to "yes" if building a shared library automatically hardcodes DIR
16854 # into the library and all subsequent libraries and executables linked
16856 hardcode_automatic=$hardcode_automatic
16858 # Set to yes if linker adds runtime paths of dependent libraries
16859 # to runtime path list.
16860 inherit_rpath=$inherit_rpath
16862 # Whether libtool must link a program against all its dependency libraries.
16863 link_all_deplibs=$link_all_deplibs
16865 # Fix the shell variable \$srcfile for the compiler.
16866 fix_srcfile_path=$lt_fix_srcfile_path
16868 # Set to "yes" if exported symbols are required.
16869 always_export_symbols=$always_export_symbols
16871 # The commands to list exported symbols.
16872 export_symbols_cmds=$lt_export_symbols_cmds
16874 # Symbols that should not be listed in the preloaded symbols.
16875 exclude_expsyms=$lt_exclude_expsyms
16877 # Symbols that must always be exported.
16878 include_expsyms=$lt_include_expsyms
16880 # Commands necessary for linking programs (against libraries) with templates.
16881 prelink_cmds=$lt_prelink_cmds
16883 # Specify filename containing input files.
16884 file_list_spec=$lt_file_list_spec
16886 # How to hardcode a shared library path into an executable.
16887 hardcode_action=$hardcode_action
16889 # The directories searched by this compiler when creating a shared library.
16890 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
16892 # Dependencies to place before and after the objects being linked to
16893 # create a shared library.
16894 predep_objects=$lt_predep_objects
16895 postdep_objects=$lt_postdep_objects
16896 predeps=$lt_predeps
16897 postdeps=$lt_postdeps
16899 # The library search path used internally by the compiler when linking
16900 # a shared library.
16901 compiler_lib_search_path=$lt_compiler_lib_search_path
16903 # ### END LIBTOOL CONFIG
16909 cat <<\_LT_EOF
>> "$cfgfile"
16910 # AIX sometimes has problems with the GCC collect2 program. For some
16911 # reason, if we set the COLLECT_NAMES environment variable, the problems
16912 # vanish in a puff of smoke.
16913 if test "X${COLLECT_NAMES+set}" != Xset
; then
16915 export COLLECT_NAMES
16922 ltmain
="$ac_aux_dir/ltmain.sh"
16925 # We use sed instead of cat because bash on DJGPP gets confused if
16926 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16927 # text mode, it properly converts lines to CR/LF. This bash problem
16928 # is reportedly fixed, but why not run on old versions too?
16929 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16930 ||
(rm -f "$cfgfile"; exit 1)
16934 cat << \_LT_EOF
>> "$cfgfile"
16936 # func_dirname file append nondir_replacement
16937 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16938 # otherwise set result to NONDIR_REPLACEMENT.
16942 */*) func_dirname_result
="${1%/*}${2}" ;;
16943 * ) func_dirname_result
="${3}" ;;
16947 # func_basename file
16950 func_basename_result
="${1##*/}"
16953 # func_dirname_and_basename file append nondir_replacement
16954 # perform func_basename and func_dirname in a single function
16956 # dirname: Compute the dirname of FILE. If nonempty,
16957 # add APPEND to the result, otherwise set result
16958 # to NONDIR_REPLACEMENT.
16959 # value returned in "$func_dirname_result"
16960 # basename: Compute filename of FILE.
16961 # value retuned in "$func_basename_result"
16962 # Implementation must be kept synchronized with func_dirname
16963 # and func_basename. For efficiency, we do not delegate to
16964 # those functions but instead duplicate the functionality here.
16965 func_dirname_and_basename
()
16968 */*) func_dirname_result
="${1%/*}${2}" ;;
16969 * ) func_dirname_result
="${3}" ;;
16971 func_basename_result
="${1##*/}"
16974 # func_stripname prefix suffix name
16975 # strip PREFIX and SUFFIX off of NAME.
16976 # PREFIX and SUFFIX must not contain globbing or regex special
16977 # characters, hashes, percent signs, but SUFFIX may contain a leading
16978 # dot (in which case that matches only a dot).
16981 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16982 # positional parameters, so assign one to ordinary parameter first.
16983 func_stripname_result
=${3}
16984 func_stripname_result
=${func_stripname_result#"${1}"}
16985 func_stripname_result
=${func_stripname_result%"${2}"}
16991 func_opt_split_opt
=${1%%=*}
16992 func_opt_split_arg
=${1#*=}
16999 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17000 *) func_lo2o_result
=${1} ;;
17004 # func_xform libobj-or-source
17007 func_xform_result
=${1%.*}.lo
17010 # func_arith arithmetic-term...
17013 func_arith_result
=$
(( $
* ))
17017 # STRING may not start with a hyphen.
17020 func_len_result
=${#1}
17025 *) # Bourne compatible functions.
17026 cat << \_LT_EOF
>> "$cfgfile"
17028 # func_dirname file append nondir_replacement
17029 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17030 # otherwise set result to NONDIR_REPLACEMENT.
17033 # Extract subdirectory from the argument.
17034 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17035 if test "X$func_dirname_result" = "X${1}"; then
17036 func_dirname_result
="${3}"
17038 func_dirname_result
="$func_dirname_result${2}"
17042 # func_basename file
17045 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17049 # func_stripname prefix suffix name
17050 # strip PREFIX and SUFFIX off of NAME.
17051 # PREFIX and SUFFIX must not contain globbing or regex special
17052 # characters, hashes, percent signs, but SUFFIX may contain a leading
17053 # dot (in which case that matches only a dot).
17054 # func_strip_suffix prefix name
17058 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17059 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17064 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17065 my_sed_long_arg
='1s/^-[^=]*=//'
17070 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17071 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17077 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17080 # func_xform libobj-or-source
17083 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17086 # func_arith arithmetic-term...
17089 func_arith_result
=`expr "$@"`
17093 # STRING may not start with a hyphen.
17096 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17102 case $lt_shell_append in
17104 cat << \_LT_EOF
>> "$cfgfile"
17106 # func_append var value
17107 # Append VALUE to the end of shell variable VAR.
17115 cat << \_LT_EOF
>> "$cfgfile"
17117 # func_append var value
17118 # Append VALUE to the end of shell variable VAR.
17129 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17130 ||
(rm -f "$cfgfile"; exit 1)
17132 mv -f "$cfgfile" "$ofile" ||
17133 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17137 cat <<_LT_EOF >> "$ofile"
17139 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17141 # The linker used to build libraries.
17144 # How to create reloadable object files.
17145 reload_flag=$lt_reload_flag_CXX
17146 reload_cmds=$lt_reload_cmds_CXX
17148 # Commands used to build an old-style archive.
17149 old_archive_cmds=$lt_old_archive_cmds_CXX
17151 # A language specific compiler.
17152 CC=$lt_compiler_CXX
17154 # Is the compiler the GNU compiler?
17157 # Compiler flag to turn off builtin functions.
17158 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17160 # How to pass a linker flag through the compiler.
17161 wl=$lt_lt_prog_compiler_wl_CXX
17163 # Additional compiler flags for building library objects.
17164 pic_flag=$lt_lt_prog_compiler_pic_CXX
17166 # Compiler flag to prevent dynamic linking.
17167 link_static_flag=$lt_lt_prog_compiler_static_CXX
17169 # Does compiler simultaneously support -c and -o options?
17170 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17172 # Whether or not to add -lc for building shared libraries.
17173 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17175 # Whether or not to disallow shared libs when runtime libs are static.
17176 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17178 # Compiler flag to allow reflexive dlopens.
17179 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17181 # Compiler flag to generate shared objects directly from archives.
17182 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17184 # Whether the compiler copes with passing no objects directly.
17185 compiler_needs_object=$lt_compiler_needs_object_CXX
17187 # Create an old-style archive from a shared archive.
17188 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17190 # Create a temporary old-style archive to link instead of a shared archive.
17191 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17193 # Commands used to build a shared archive.
17194 archive_cmds=$lt_archive_cmds_CXX
17195 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17197 # Commands used to build a loadable module if different from building
17198 # a shared archive.
17199 module_cmds=$lt_module_cmds_CXX
17200 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17202 # Whether we are building with GNU ld or not.
17203 with_gnu_ld=$lt_with_gnu_ld_CXX
17205 # Flag that allows shared libraries with undefined symbols to be built.
17206 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17208 # Flag that enforces no undefined symbols.
17209 no_undefined_flag=$lt_no_undefined_flag_CXX
17211 # Flag to hardcode \$libdir into a binary during linking.
17212 # This must work even if \$libdir does not exist
17213 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17215 # If ld is used when linking, flag to hardcode \$libdir into a binary
17216 # during linking. This must work even if \$libdir does not exist.
17217 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17219 # Whether we need a single "-rpath" flag with a separated argument.
17220 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17222 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17223 # DIR into the resulting binary.
17224 hardcode_direct=$hardcode_direct_CXX
17226 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17227 # DIR into the resulting binary and the resulting library dependency is
17228 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17229 # library is relocated.
17230 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17232 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17233 # into the resulting binary.
17234 hardcode_minus_L=$hardcode_minus_L_CXX
17236 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17237 # into the resulting binary.
17238 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17240 # Set to "yes" if building a shared library automatically hardcodes DIR
17241 # into the library and all subsequent libraries and executables linked
17243 hardcode_automatic=$hardcode_automatic_CXX
17245 # Set to yes if linker adds runtime paths of dependent libraries
17246 # to runtime path list.
17247 inherit_rpath=$inherit_rpath_CXX
17249 # Whether libtool must link a program against all its dependency libraries.
17250 link_all_deplibs=$link_all_deplibs_CXX
17252 # Fix the shell variable \$srcfile for the compiler.
17253 fix_srcfile_path=$lt_fix_srcfile_path_CXX
17255 # Set to "yes" if exported symbols are required.
17256 always_export_symbols=$always_export_symbols_CXX
17258 # The commands to list exported symbols.
17259 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17261 # Symbols that should not be listed in the preloaded symbols.
17262 exclude_expsyms=$lt_exclude_expsyms_CXX
17264 # Symbols that must always be exported.
17265 include_expsyms=$lt_include_expsyms_CXX
17267 # Commands necessary for linking programs (against libraries) with templates.
17268 prelink_cmds=$lt_prelink_cmds_CXX
17270 # Specify filename containing input files.
17271 file_list_spec=$lt_file_list_spec_CXX
17273 # How to hardcode a shared library path into an executable.
17274 hardcode_action=$hardcode_action_CXX
17276 # The directories searched by this compiler when creating a shared library.
17277 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17279 # Dependencies to place before and after the objects being linked to
17280 # create a shared library.
17281 predep_objects=$lt_predep_objects_CXX
17282 postdep_objects=$lt_postdep_objects_CXX
17283 predeps=$lt_predeps_CXX
17284 postdeps=$lt_postdeps_CXX
17286 # The library search path used internally by the compiler when linking
17287 # a shared library.
17288 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17290 # ### END LIBTOOL TAG CONFIG: CXX
17301 ac_clean_files
=$ac_clean_files_save
17303 test $ac_write_fail = 0 ||
17304 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17307 # configure is writing to config.log, and then calls config.status.
17308 # config.status does its own redirection, appending to config.log.
17309 # Unfortunately, on DOS this fails, as config.log is still kept open
17310 # by configure, so config.status won't be able to write to it; its
17311 # output is simply discarded. So we exec the FD to /dev/null,
17312 # effectively closing config.log, so it can be properly (re)opened and
17313 # appended to by config.status. When coming back to configure, we
17314 # need to make the FD available again.
17315 if test "$no_create" != yes; then
17317 ac_config_status_args
=
17318 test "$silent" = yes &&
17319 ac_config_status_args
="$ac_config_status_args --quiet"
17321 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17323 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17324 # would make configure fail if this is the last instruction.
17325 $ac_cs_success || as_fn_exit
1
17329 # CONFIG_SUBDIRS section.
17331 if test "$no_recursion" != yes; then
17333 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
17334 # so they do not pile up.
17335 ac_sub_configure_args
=
17337 eval "set x $ac_configure_args"
17341 if test -n "$ac_prev"; then
17346 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
17347 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
17348 ac_prev
=cache_file
;;
17349 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
17350 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
17353 --config-cache |
-C)
17355 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
17357 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
17359 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
17361 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
17363 --disable-option-checking)
17367 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
17369 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
17373 # Always prepend --prefix to ensure using the same prefix
17374 # in subdir configurations.
17375 ac_arg
="--prefix=$prefix"
17377 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
17379 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
17382 if test "$silent" = yes; then
17383 ac_sub_configure_args
="--silent $ac_sub_configure_args"
17386 # Always prepend --disable-option-checking to silence warnings, since
17387 # different subdirs can have different --enable and --with options.
17388 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
17391 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
17393 # Do not complain, so a configure script can configure whichever
17394 # parts of a large source tree are present.
17395 test -d "$srcdir/$ac_dir" ||
continue
17397 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
17398 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
17399 $as_echo "$ac_msg" >&6
17400 as_dir
="$ac_dir"; as_fn_mkdir_p
17404 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17406 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17407 # A ".." for each directory in $ac_dir_suffix.
17408 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17409 case $ac_top_builddir_sub in
17410 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17411 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17414 ac_abs_top_builddir
=$ac_pwd
17415 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17416 # for backward compatibility:
17417 ac_top_builddir
=$ac_top_build_prefix
17420 .
) # We are building in place.
17422 ac_top_srcdir
=$ac_top_builddir_sub
17423 ac_abs_top_srcdir
=$ac_pwd ;;
17424 [\\/]* | ?
:[\\/]* ) # Absolute name.
17425 ac_srcdir
=$srcdir$ac_dir_suffix;
17426 ac_top_srcdir
=$srcdir
17427 ac_abs_top_srcdir
=$srcdir ;;
17428 *) # Relative name.
17429 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17430 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17431 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17433 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17438 # Check for guested configure; otherwise get Cygnus style configure.
17439 if test -f "$ac_srcdir/configure.gnu"; then
17440 ac_sub_configure
=$ac_srcdir/configure.gnu
17441 elif test -f "$ac_srcdir/configure"; then
17442 ac_sub_configure
=$ac_srcdir/configure
17443 elif test -f "$ac_srcdir/configure.in"; then
17444 # This should be Cygnus configure.
17445 ac_sub_configure
=$ac_aux_dir/configure
17447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
17448 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
17452 # The recursion is here.
17453 if test -n "$ac_sub_configure"; then
17454 # Make the cache file name correct relative to the subdirectory.
17455 case $cache_file in
17456 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
17457 *) # Relative name.
17458 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
17461 { $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
17462 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
17463 # The eval makes quoting arguments work.
17464 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
17465 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
17466 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
17472 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17474 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}