2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for Intel MIC Offload Plugin 1.0.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
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.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
173 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
174 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
175 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 PATH=/empty FPATH=/empty; export PATH FPATH
178 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
179 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
180 test \$(( 1 + 1 )) = 2 || exit 1"
181 if (eval "$as_required") 2>/dev
/null
; then :
186 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
191 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir
=.
198 for as_base
in sh bash ksh sh5
; do
199 # Try only shells that exist, to save several forks.
200 as_shell
=$as_dir/$as_base
201 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
203 CONFIG_SHELL
=$as_shell as_have_required
=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
212 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
214 CONFIG_SHELL
=$SHELL as_have_required
=yes
219 if test "x$CONFIG_SHELL" != x
; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x
$as_have_required = xno
; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x
${ZSH_VERSION+set} = xset
; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL
=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE
= GREP_OPTIONS
=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir
=.
/$as_dir;;
291 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
295 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs
="'$as_qdir' $as_dirs"
299 as_dir
=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
325 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
360 as_val
=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status
=$?
; test $as_status -eq 0 && as_status
=1
374 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit
$as_status
381 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
388 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
400 as_me
=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits
='0123456789'
424 as_cr_alnum
=$as_cr_Letters$as_cr_digits
427 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
428 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x
"$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C
= ECHO_N
= ECHO_T
=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
471 rm -f conf$$ conf$$.exe conf$$.
file
472 if test -d conf$$.dir
; then
473 rm -f conf$$.dir
/conf$$.
file
476 mkdir conf$$.dir
2>/dev
/null
478 if (echo >conf$$.
file) 2>/dev
/null
; then
479 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
487 elif ln conf$$.
file conf$$
2>/dev
/null
; then
495 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
496 rmdir conf$$.dir
2>/dev
/null
498 if mkdir
-p .
2>/dev
/null
; then
499 as_mkdir_p
='mkdir -p "$as_dir"'
501 test -d .
/-p && rmdir .
/-p
505 if test -x / >/dev
/null
2>&1; then
508 if ls -dL / >/dev
/null
2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p
=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL
=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev
/null
6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix
=/usr
/local
549 ac_config_libobj_dir
=.
556 # Identity of this package.
557 PACKAGE_NAME
='Intel MIC Offload Plugin'
558 PACKAGE_TARNAME
='libgomp-plugin-intelmic'
559 PACKAGE_VERSION
='1.0'
560 PACKAGE_STRING
='Intel MIC Offload Plugin 1.0'
564 # Factoring default headers for most tests.
565 ac_includes_default
="\
567 #ifdef HAVE_SYS_TYPES_H
568 # include <sys/types.h>
570 #ifdef HAVE_SYS_STAT_H
571 # include <sys/stat.h>
577 # ifdef HAVE_STDLIB_H
582 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
587 #ifdef HAVE_STRINGS_H
588 # include <strings.h>
590 #ifdef HAVE_INTTYPES_H
591 # include <inttypes.h>
600 ac_subst_vars
='am__EXEEXT_FALSE
654 MAINTAINER_MODE_FALSE
664 INSTALL_STRIP_PROGRAM
718 program_transform_name
731 enable_option_checking
732 enable_maintainer_mode
733 enable_dependency_tracking
735 enable_version_specific_runtime_libs
743 ac_precious_vars
='build_alias
758 # Initialize some variables set by options.
760 ac_init_version
=false
761 ac_unrecognized_opts
=
763 # The variables have the same names as the options, with
764 # dashes changed to underlines.
772 program_transform_name
=s
,x
,x
,
780 # Installation directory options.
781 # These are left unexpanded so users can "make install exec_prefix=/foo"
782 # and all the variables that are supposed to be based on exec_prefix
783 # by default will actually change.
784 # Use braces instead of parens because sh, perl, etc. also accept them.
785 # (The list follows the same order as the GNU Coding Standards.)
786 bindir
='${exec_prefix}/bin'
787 sbindir
='${exec_prefix}/sbin'
788 libexecdir
='${exec_prefix}/libexec'
789 datarootdir
='${prefix}/share'
790 datadir
='${datarootdir}'
791 sysconfdir
='${prefix}/etc'
792 sharedstatedir
='${prefix}/com'
793 localstatedir
='${prefix}/var'
794 includedir
='${prefix}/include'
795 oldincludedir
='/usr/include'
796 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
797 infodir
='${datarootdir}/info'
802 libdir
='${exec_prefix}/lib'
803 localedir
='${datarootdir}/locale'
804 mandir
='${datarootdir}/man'
810 # If the previous option needs an argument, assign it.
811 if test -n "$ac_prev"; then
812 eval $ac_prev=\
$ac_option
818 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
822 # Accept the important Cygnus configure options, so we can diagnose typos.
824 case $ac_dashdash$ac_option in
828 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
830 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
833 -build |
--build |
--buil |
--bui |
--bu)
834 ac_prev
=build_alias
;;
835 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
836 build_alias
=$ac_optarg ;;
838 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
839 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
840 ac_prev
=cache_file
;;
841 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
842 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
843 cache_file
=$ac_optarg ;;
846 cache_file
=config.cache
;;
848 -datadir |
--datadir |
--datadi |
--datad)
850 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
851 datadir
=$ac_optarg ;;
853 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
854 |
--dataroo |
--dataro |
--datar)
855 ac_prev
=datarootdir
;;
856 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
857 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
858 datarootdir
=$ac_optarg ;;
860 -disable-* |
--disable-*)
861 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
862 # Reject names that are not valid shell variable names.
863 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
864 as_fn_error
"invalid feature name: $ac_useropt"
865 ac_useropt_orig
=$ac_useropt
866 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
867 case $ac_user_opts in
871 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
872 ac_unrecognized_sep
=', ';;
874 eval enable_
$ac_useropt=no
;;
876 -docdir |
--docdir |
--docdi |
--doc |
--do)
878 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
881 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
883 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
886 -enable-* |
--enable-*)
887 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
888 # Reject names that are not valid shell variable names.
889 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
890 as_fn_error
"invalid feature name: $ac_useropt"
891 ac_useropt_orig
=$ac_useropt
892 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
893 case $ac_user_opts in
897 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
898 ac_unrecognized_sep
=', ';;
900 eval enable_
$ac_useropt=\
$ac_optarg ;;
902 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
903 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
904 |
--exec |
--exe |
--ex)
905 ac_prev
=exec_prefix
;;
906 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
907 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
908 |
--exec=* |
--exe=* |
--ex=*)
909 exec_prefix
=$ac_optarg ;;
911 -gas |
--gas |
--ga |
--g)
912 # Obsolete; use --with-gas.
915 -help |
--help |
--hel |
--he |
-h)
917 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
918 ac_init_help
=recursive
;;
919 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
920 ac_init_help
=short
;;
922 -host |
--host |
--hos |
--ho)
923 ac_prev
=host_alias
;;
924 -host=* |
--host=* |
--hos=* |
--ho=*)
925 host_alias
=$ac_optarg ;;
927 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
929 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
931 htmldir
=$ac_optarg ;;
933 -includedir |
--includedir |
--includedi |
--included |
--include \
934 |
--includ |
--inclu |
--incl |
--inc)
935 ac_prev
=includedir
;;
936 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
937 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
938 includedir
=$ac_optarg ;;
940 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
942 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
943 infodir
=$ac_optarg ;;
945 -libdir |
--libdir |
--libdi |
--libd)
947 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
950 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
951 |
--libexe |
--libex |
--libe)
952 ac_prev
=libexecdir
;;
953 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
954 |
--libexe=* |
--libex=* |
--libe=*)
955 libexecdir
=$ac_optarg ;;
957 -localedir |
--localedir |
--localedi |
--localed |
--locale)
959 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
960 localedir
=$ac_optarg ;;
962 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
963 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
964 ac_prev
=localstatedir
;;
965 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
966 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
967 localstatedir
=$ac_optarg ;;
969 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
971 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
975 # Obsolete; use --without-fp.
978 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
979 |
--no-cr |
--no-c |
-n)
982 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
983 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
986 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
987 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
988 |
--oldin |
--oldi |
--old |
--ol |
--o)
989 ac_prev
=oldincludedir
;;
990 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
991 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
992 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
993 oldincludedir
=$ac_optarg ;;
995 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
997 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1000 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1001 |
--program-pre |
--program-pr |
--program-p)
1002 ac_prev
=program_prefix
;;
1003 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1004 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1005 program_prefix
=$ac_optarg ;;
1007 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1008 |
--program-suf |
--program-su |
--program-s)
1009 ac_prev
=program_suffix
;;
1010 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1011 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1012 program_suffix
=$ac_optarg ;;
1014 -program-transform-name |
--program-transform-name \
1015 |
--program-transform-nam |
--program-transform-na \
1016 |
--program-transform-n |
--program-transform- \
1017 |
--program-transform |
--program-transfor \
1018 |
--program-transfo |
--program-transf \
1019 |
--program-trans |
--program-tran \
1020 |
--progr-tra |
--program-tr |
--program-t)
1021 ac_prev
=program_transform_name
;;
1022 -program-transform-name=* |
--program-transform-name=* \
1023 |
--program-transform-nam=* |
--program-transform-na=* \
1024 |
--program-transform-n=* |
--program-transform-=* \
1025 |
--program-transform=* |
--program-transfor=* \
1026 |
--program-transfo=* |
--program-transf=* \
1027 |
--program-trans=* |
--program-tran=* \
1028 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1029 program_transform_name
=$ac_optarg ;;
1031 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1033 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1034 pdfdir
=$ac_optarg ;;
1036 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1038 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1041 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1042 |
-silent |
--silent |
--silen |
--sile |
--sil)
1045 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1047 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1049 sbindir
=$ac_optarg ;;
1051 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1052 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1053 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1055 ac_prev
=sharedstatedir
;;
1056 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1057 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1058 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1060 sharedstatedir
=$ac_optarg ;;
1062 -site |
--site |
--sit)
1064 -site=* |
--site=* |
--sit=*)
1067 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1069 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1070 srcdir
=$ac_optarg ;;
1072 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1073 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1074 ac_prev
=sysconfdir
;;
1075 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1076 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1077 sysconfdir
=$ac_optarg ;;
1079 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1080 ac_prev
=target_alias
;;
1081 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1082 target_alias
=$ac_optarg ;;
1084 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1087 -version |
--version |
--versio |
--versi |
--vers |
-V)
1088 ac_init_version
=: ;;
1091 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1092 # Reject names that are not valid shell variable names.
1093 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1094 as_fn_error
"invalid package name: $ac_useropt"
1095 ac_useropt_orig
=$ac_useropt
1096 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1097 case $ac_user_opts in
1101 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1102 ac_unrecognized_sep
=', ';;
1104 eval with_
$ac_useropt=\
$ac_optarg ;;
1106 -without-* |
--without-*)
1107 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1108 # Reject names that are not valid shell variable names.
1109 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1110 as_fn_error
"invalid package name: $ac_useropt"
1111 ac_useropt_orig
=$ac_useropt
1112 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1113 case $ac_user_opts in
1117 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1118 ac_unrecognized_sep
=', ';;
1120 eval with_
$ac_useropt=no
;;
1123 # Obsolete; use --with-x.
1126 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1127 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1128 ac_prev
=x_includes
;;
1129 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1130 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1131 x_includes
=$ac_optarg ;;
1133 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1134 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1135 ac_prev
=x_libraries
;;
1136 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1137 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1138 x_libraries
=$ac_optarg ;;
1140 -*) as_fn_error
"unrecognized option: \`$ac_option'
1141 Try \`$0 --help' for more information."
1145 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1146 # Reject names that are not valid shell variable names.
1147 case $ac_envvar in #(
1148 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1149 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1151 eval $ac_envvar=\
$ac_optarg
1152 export $ac_envvar ;;
1155 # FIXME: should be removed in autoconf 3.0.
1156 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1157 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1158 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1159 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1165 if test -n "$ac_prev"; then
1166 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1167 as_fn_error
"missing argument to $ac_option"
1170 if test -n "$ac_unrecognized_opts"; then
1171 case $enable_option_checking in
1173 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1174 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1178 # Check all directory arguments for consistency.
1179 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1180 datadir sysconfdir sharedstatedir localstatedir includedir \
1181 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1182 libdir localedir mandir
1184 eval ac_val
=\$
$ac_var
1185 # Remove trailing slashes.
1188 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1189 eval $ac_var=\
$ac_val;;
1191 # Be sure to have absolute directory names.
1193 [\\/$
]* | ?
:[\\/]* ) continue;;
1194 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1196 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1199 # There might be people who depend on the old broken behavior: `$host'
1200 # used to hold the argument of --host etc.
1201 # FIXME: To remove some day.
1204 target
=$target_alias
1206 # FIXME: To remove some day.
1207 if test "x$host_alias" != x
; then
1208 if test "x$build_alias" = x
; then
1209 cross_compiling
=maybe
1210 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1211 If a cross compiler is detected then cross compile mode will be used." >&2
1212 elif test "x$build_alias" != "x$host_alias"; then
1218 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1220 test "$silent" = yes && exec 6>/dev
/null
1223 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1224 ac_ls_di
=`ls -di .` &&
1225 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1226 as_fn_error
"working directory cannot be determined"
1227 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1228 as_fn_error
"pwd does not report name of working directory"
1231 # Find the source files, if location was not specified.
1232 if test -z "$srcdir"; then
1233 ac_srcdir_defaulted
=yes
1234 # Try the directory containing this script, then the parent directory.
1235 ac_confdir
=`$as_dirname -- "$as_myself" ||
1236 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1237 X"$as_myself" : 'X\(//\)[^/]' \| \
1238 X"$as_myself" : 'X\(//\)$' \| \
1239 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1240 $as_echo X"$as_myself" |
1241 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1259 if test ! -r "$srcdir/$ac_unique_file"; then
1263 ac_srcdir_defaulted
=no
1265 if test ! -r "$srcdir/$ac_unique_file"; then
1266 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1267 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1269 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1271 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1273 # When building in place, set srcdir=.
1274 if test "$ac_abs_confdir" = "$ac_pwd"; then
1277 # Remove unnecessary trailing slashes from srcdir.
1278 # Double slashes in file names in object file debugging info
1279 # mess up M-x gdb in Emacs.
1281 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1283 for ac_var
in $ac_precious_vars; do
1284 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1285 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1286 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1287 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1291 # Report the --help message.
1293 if test "$ac_init_help" = "long"; then
1294 # Omit some internal or obsolete options to make the list less imposing.
1295 # This message is too long to be a string in the A/UX 3.1 sh.
1297 \`configure' configures Intel MIC Offload Plugin 1.0 to adapt to many kinds of systems.
1299 Usage: $0 [OPTION]... [VAR=VALUE]...
1301 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1302 VAR=VALUE. See below for descriptions of some of the useful variables.
1304 Defaults for the options are specified in brackets.
1307 -h, --help display this help and exit
1308 --help=short display options specific to this package
1309 --help=recursive display the short help of all the included packages
1310 -V, --version display version information and exit
1311 -q, --quiet, --silent do not print \`checking...' messages
1312 --cache-file=FILE cache test results in FILE [disabled]
1313 -C, --config-cache alias for \`--cache-file=config.cache'
1314 -n, --no-create do not create output files
1315 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1317 Installation directories:
1318 --prefix=PREFIX install architecture-independent files in PREFIX
1319 [$ac_default_prefix]
1320 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1323 By default, \`make install' will install all the files in
1324 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1325 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1326 for instance \`--prefix=\$HOME'.
1328 For better control, use the options below.
1330 Fine tuning of the installation directories:
1331 --bindir=DIR user executables [EPREFIX/bin]
1332 --sbindir=DIR system admin executables [EPREFIX/sbin]
1333 --libexecdir=DIR program executables [EPREFIX/libexec]
1334 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1335 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1336 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1337 --libdir=DIR object code libraries [EPREFIX/lib]
1338 --includedir=DIR C header files [PREFIX/include]
1339 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1340 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1341 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1342 --infodir=DIR info documentation [DATAROOTDIR/info]
1343 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1344 --mandir=DIR man documentation [DATAROOTDIR/man]
1345 --docdir=DIR documentation root
1346 [DATAROOTDIR/doc/libgomp-plugin-intelmic]
1347 --htmldir=DIR html documentation [DOCDIR]
1348 --dvidir=DIR dvi documentation [DOCDIR]
1349 --pdfdir=DIR pdf documentation [DOCDIR]
1350 --psdir=DIR ps documentation [DOCDIR]
1356 --program-prefix=PREFIX prepend PREFIX to installed program names
1357 --program-suffix=SUFFIX append SUFFIX to installed program names
1358 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1361 --build=BUILD configure
for building on BUILD
[guessed
]
1362 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1363 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1367 if test -n "$ac_init_help"; then
1368 case $ac_init_help in
1369 short | recursive
) echo "Configuration of Intel MIC Offload Plugin 1.0:";;
1374 --disable-option-checking ignore unrecognized
--enable/--with options
1375 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1376 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1377 --enable-maintainer-mode enable make rules and dependencies not useful
1378 (and sometimes confusing
) to the casual installer
1379 --disable-dependency-tracking speeds up one-time build
1380 --enable-dependency-tracking do not reject slow dependency extractors
1381 --enable-multilib build many library versions
(default
)
1382 --enable-version-specific-runtime-libs
1383 Specify that runtime libraries should be installed
1384 in a compiler-specific directory
1385 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1386 --enable-static[=PKGS
] build static libraries
[default
=yes]
1387 --enable-fast-install[=PKGS
]
1388 optimize
for fast installation
[default
=yes]
1389 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1392 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1393 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1394 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1396 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1398 Some influential environment variables
:
1399 CC C compiler
command
1400 CFLAGS C compiler flags
1401 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1402 nonstandard directory
<lib dir
>
1403 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1404 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1405 you have headers
in a nonstandard directory
<include dir
>
1406 CXX C
++ compiler
command
1407 CXXFLAGS C
++ compiler flags
1409 CXXCPP C
++ preprocessor
1411 Use these variables to override the choices made by
`configure' or to help
1412 it to find libraries and programs with nonstandard names/locations.
1414 Report bugs to the package provider.
1419 if test "$ac_init_help" = "recursive"; then
1420 # If there are subdirs, report their specific --help.
1421 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1422 test -d "$ac_dir" ||
1423 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1428 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1430 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1431 # A ".." for each directory in $ac_dir_suffix.
1432 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1433 case $ac_top_builddir_sub in
1434 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1435 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1438 ac_abs_top_builddir=$ac_pwd
1439 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1440 # for backward compatibility:
1441 ac_top_builddir=$ac_top_build_prefix
1444 .) # We are building in place.
1446 ac_top_srcdir=$ac_top_builddir_sub
1447 ac_abs_top_srcdir=$ac_pwd ;;
1448 [\\/]* | ?:[\\/]* ) # Absolute name.
1449 ac_srcdir=$srcdir$ac_dir_suffix;
1450 ac_top_srcdir=$srcdir
1451 ac_abs_top_srcdir=$srcdir ;;
1453 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1454 ac_top_srcdir=$ac_top_build_prefix$srcdir
1455 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1457 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1459 cd "$ac_dir" || { ac_status=$?; continue; }
1460 # Check for guested configure.
1461 if test -f "$ac_srcdir/configure.gnu"; then
1463 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1464 elif test -f "$ac_srcdir/configure"; then
1466 $SHELL "$ac_srcdir/configure" --help=recursive
1468 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1470 cd "$ac_pwd" || { ac_status=$?; break; }
1474 test -n "$ac_init_help" && exit $ac_status
1475 if $ac_init_version; then
1477 Intel MIC Offload Plugin configure 1.0
1478 generated by GNU Autoconf 2.64
1480 Copyright (C) 2009 Free Software Foundation, Inc.
1481 This configure script is free software; the Free Software Foundation
1482 gives unlimited permission to copy, distribute and modify it.
1487 ## ------------------------ ##
1488 ## Autoconf initialization. ##
1489 ## ------------------------ ##
1491 # ac_fn_c_try_compile LINENO
1492 # --------------------------
1493 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1494 ac_fn_c_try_compile ()
1496 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1497 rm -f conftest.$ac_objext
1498 if { { ac_try="$ac_compile"
1500 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1501 *) ac_try_echo
=$ac_try;;
1503 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1504 $as_echo "$ac_try_echo"; } >&5
1505 (eval "$ac_compile") 2>conftest.err
1507 if test -s conftest.err
; then
1508 grep -v '^ *+' conftest.err
>conftest.er1
1509 cat conftest.er1
>&5
1510 mv -f conftest.er1 conftest.err
1512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1513 test $ac_status = 0; } && {
1514 test -z "$ac_c_werror_flag" ||
1515 test ! -s conftest.err
1516 } && test -s conftest.
$ac_objext; then :
1519 $as_echo "$as_me: failed program was:" >&5
1520 sed 's/^/| /' conftest.
$ac_ext >&5
1524 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1527 } # ac_fn_c_try_compile
1529 # ac_fn_cxx_try_compile LINENO
1530 # ----------------------------
1531 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1532 ac_fn_cxx_try_compile
()
1534 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1535 rm -f conftest.
$ac_objext
1536 if { { ac_try
="$ac_compile"
1538 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1539 *) ac_try_echo=$ac_try;;
1541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1542 $as_echo "$ac_try_echo"; } >&5
1543 (eval "$ac_compile") 2>conftest.err
1545 if test -s conftest.err; then
1546 grep -v '^ *+' conftest.err >conftest.er1
1547 cat conftest.er1 >&5
1548 mv -f conftest.er1 conftest.err
1550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1551 test $ac_status = 0; } && {
1552 test -z "$ac_cxx_werror_flag" ||
1553 test ! -s conftest.err
1554 } && test -s conftest.$ac_objext; then :
1557 $as_echo "$as_me: failed program was:" >&5
1558 sed 's/^/| /' conftest.$ac_ext >&5
1562 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1565 } # ac_fn_cxx_try_compile
1567 # ac_fn_c_try_link LINENO
1568 # -----------------------
1569 # Try to link conftest.$ac_ext, and return whether this succeeded.
1572 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1573 rm -f conftest.$ac_objext conftest$ac_exeext
1574 if { { ac_try="$ac_link"
1576 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1577 *) ac_try_echo
=$ac_try;;
1579 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1580 $as_echo "$ac_try_echo"; } >&5
1581 (eval "$ac_link") 2>conftest.err
1583 if test -s conftest.err
; then
1584 grep -v '^ *+' conftest.err
>conftest.er1
1585 cat conftest.er1
>&5
1586 mv -f conftest.er1 conftest.err
1588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1589 test $ac_status = 0; } && {
1590 test -z "$ac_c_werror_flag" ||
1591 test ! -s conftest.err
1592 } && test -s conftest
$ac_exeext && {
1593 test "$cross_compiling" = yes ||
1594 $as_test_x conftest
$ac_exeext
1598 $as_echo "$as_me: failed program was:" >&5
1599 sed 's/^/| /' conftest.
$ac_ext >&5
1603 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1604 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1605 # interfere with the next link command; also delete a directory that is
1606 # left behind by Apple's compiler. We do this before executing the actions.
1607 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1608 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1611 } # ac_fn_c_try_link
1613 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1614 # -------------------------------------------------------
1615 # Tests whether HEADER exists and can be compiled using the include files in
1616 # INCLUDES, setting the cache variable VAR accordingly.
1617 ac_fn_c_check_header_compile
()
1619 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1621 $as_echo_n "checking for $2... " >&6; }
1622 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1623 $as_echo_n "(cached) " >&6
1625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1626 /* end confdefs.h. */
1630 if ac_fn_c_try_compile
"$LINENO"; then :
1635 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1639 $as_echo "$ac_res" >&6; }
1640 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1642 } # ac_fn_c_check_header_compile
1644 # ac_fn_c_try_cpp LINENO
1645 # ----------------------
1646 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1649 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1650 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1652 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1653 *) ac_try_echo=$ac_try;;
1655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1656 $as_echo "$ac_try_echo"; } >&5
1657 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1659 if test -s conftest.err; then
1660 grep -v '^ *+' conftest.err >conftest.er1
1661 cat conftest.er1 >&5
1662 mv -f conftest.er1 conftest.err
1664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1665 test $ac_status = 0; } >/dev/null && {
1666 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1667 test ! -s conftest.err
1671 $as_echo "$as_me: failed program was:" >&5
1672 sed 's/^/| /' conftest.$ac_ext >&5
1676 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1681 # ac_fn_c_try_run LINENO
1682 # ----------------------
1683 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1684 # that executables *can* be run.
1687 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1688 if { { ac_try="$ac_link"
1690 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1691 *) ac_try_echo
=$ac_try;;
1693 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1694 $as_echo "$ac_try_echo"; } >&5
1695 (eval "$ac_link") 2>&5
1697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1698 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1699 { { case "(($ac_try" in
1700 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1701 *) ac_try_echo=$ac_try;;
1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705 (eval "$ac_try") 2>&5
1707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708 test $ac_status = 0; }; }; then :
1711 $as_echo "$as_me: program exited with status $ac_status" >&5
1712 $as_echo "$as_me: failed program was:" >&5
1713 sed 's/^/| /' conftest.$ac_ext >&5
1715 ac_retval=$ac_status
1717 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1718 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1723 # ac_fn_c_check_func LINENO FUNC VAR
1724 # ----------------------------------
1725 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1726 ac_fn_c_check_func ()
1728 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1730 $as_echo_n "checking for $2... " >&6; }
1731 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1732 $as_echo_n "(cached) " >&6
1734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1735 /* end confdefs.h. */
1736 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1738 #define $2 innocuous_$2
1740 /* System header to define __stub macros and hopefully few prototypes,
1741 which can conflict with char $2 (); below.
1742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1743 <limits.h> exists even on freestanding compilers. */
1746 # include <limits.h>
1748 # include <assert.h>
1753 /* Override any GCC internal prototype to avoid an error.
1754 Use char because int might match the return type of a GCC
1755 builtin and then its argument prototype would still apply. */
1760 /* The GNU C library defines this for functions which it implements
1761 to always fail with ENOSYS. Some functions are actually named
1762 something starting with __ and the normal name is an alias. */
1763 #if defined __stub_$2 || defined __stub___$2
1775 if ac_fn_c_try_link "$LINENO"; then :
1780 rm -f core conftest.err conftest.$ac_objext \
1781 conftest$ac_exeext conftest.$ac_ext
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1785 $as_echo "$ac_res" >&6; }
1786 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1788 } # ac_fn_c_check_func
1790 # ac_fn_cxx_try_cpp LINENO
1791 # ------------------------
1792 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1793 ac_fn_cxx_try_cpp ()
1795 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1796 if { { ac_try="$ac_cpp conftest.$ac_ext"
1798 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1799 *) ac_try_echo
=$ac_try;;
1801 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1802 $as_echo "$ac_try_echo"; } >&5
1803 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1805 if test -s conftest.err
; then
1806 grep -v '^ *+' conftest.err
>conftest.er1
1807 cat conftest.er1
>&5
1808 mv -f conftest.er1 conftest.err
1810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1811 test $ac_status = 0; } >/dev
/null
&& {
1812 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1813 test ! -s conftest.err
1817 $as_echo "$as_me: failed program was:" >&5
1818 sed 's/^/| /' conftest.
$ac_ext >&5
1822 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1825 } # ac_fn_cxx_try_cpp
1827 # ac_fn_cxx_try_link LINENO
1828 # -------------------------
1829 # Try to link conftest.$ac_ext, and return whether this succeeded.
1830 ac_fn_cxx_try_link
()
1832 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1833 rm -f conftest.
$ac_objext conftest
$ac_exeext
1834 if { { ac_try
="$ac_link"
1836 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1837 *) ac_try_echo=$ac_try;;
1839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1840 $as_echo "$ac_try_echo"; } >&5
1841 (eval "$ac_link") 2>conftest.err
1843 if test -s conftest.err; then
1844 grep -v '^ *+' conftest.err >conftest.er1
1845 cat conftest.er1 >&5
1846 mv -f conftest.er1 conftest.err
1848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1849 test $ac_status = 0; } && {
1850 test -z "$ac_cxx_werror_flag" ||
1851 test ! -s conftest.err
1852 } && test -s conftest$ac_exeext && {
1853 test "$cross_compiling" = yes ||
1854 $as_test_x conftest$ac_exeext
1858 $as_echo "$as_me: failed program was:" >&5
1859 sed 's/^/| /' conftest.$ac_ext >&5
1863 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1864 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1865 # interfere with the next link command; also delete a directory that is
1866 # left behind by Apple's compiler. We do this before executing the actions.
1867 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1868 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1871 } # ac_fn_cxx_try_link
1872 cat >config.log <<_ACEOF
1873 This file contains any messages produced by compilers while
1874 running configure, to aid debugging if configure makes a mistake.
1876 It was created by Intel MIC Offload Plugin $as_me 1.0, which was
1877 generated by GNU Autoconf 2.64. Invocation command line was
1889 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1890 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1891 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1892 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1893 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1895 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1896 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1898 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1899 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1900 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1901 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1902 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1903 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1904 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1912 test -z "$as_dir" && as_dir=.
1913 $as_echo "PATH: $as_dir"
1929 # Keep a trace of the command line.
1930 # Strip out --no-create and --no-recursion so they do not pile up.
1931 # Strip out --silent because we don't want to record it for future runs.
1932 # Also quote any args containing shell meta-characters.
1933 # Make two passes to allow for proper duplicate-argument suppression.
1937 ac_must_keep_next=false
1943 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1944 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1945 | -silent | --silent | --silen | --sile | --sil)
1948 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1951 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1953 as_fn_append ac_configure_args1 " '$ac_arg'"
1954 if test $ac_must_keep_next = true; then
1955 ac_must_keep_next=false # Got value, back to normal.
1958 *=* | --config-cache | -C | -disable-* | --disable-* \
1959 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1960 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1961 | -with-* | --with-* | -without-* | --without-* | --x)
1962 case "$ac_configure_args0 " in
1963 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1966 -* ) ac_must_keep_next=true ;;
1969 as_fn_append ac_configure_args " '$ac_arg'"
1974 { ac_configure_args0=; unset ac_configure_args0;}
1975 { ac_configure_args1=; unset ac_configure_args1;}
1977 # When interrupted or exit'd, cleanup temporary files, and complete
1978 # config.log. We remove comments because anyway the quotes in there
1979 # would cause problems or look ugly.
1980 # WARNING: Use '\'' to represent an apostrophe within the trap.
1981 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1982 trap 'exit_status=$?
1983 # Save into config.log some information that might help in debugging.
1988 ## ---------------- ##
1989 ## Cache variables. ##
1990 ## ---------------- ##
1993 # The following way of writing the cache mishandles newlines in values,
1995 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1996 eval ac_val=\$$ac_var
2000 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2001 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2004 _ | IFS | as_nl) ;; #(
2005 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2006 *) { eval $ac_var=; unset $ac_var;} ;;
2011 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2012 *${as_nl}ac_space=\ *)
2014 "s/'\''/'\''\\\\'\'''\''/g;
2015 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2018 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2026 ## ----------------- ##
2027 ## Output variables. ##
2028 ## ----------------- ##
2031 for ac_var in $ac_subst_vars
2033 eval ac_val=\$$ac_var
2035 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2037 $as_echo "$ac_var='\''$ac_val'\''"
2041 if test -n "$ac_subst_files"; then
2043 ## ------------------- ##
2044 ## File substitutions. ##
2045 ## ------------------- ##
2048 for ac_var in $ac_subst_files
2050 eval ac_val=\$$ac_var
2052 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2054 $as_echo "$ac_var='\''$ac_val'\''"
2059 if test -s confdefs.h; then
2069 test "$ac_signal" != 0 &&
2070 $as_echo "$as_me: caught signal $ac_signal"
2071 $as_echo "$as_me: exit $exit_status"
2073 rm -f core *.core core.conftest.* &&
2074 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2077 for ac_signal in 1 2 13 15; do
2078 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2082 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2083 rm -f -r conftest* confdefs.h
2085 $as_echo "/* confdefs.h */" > confdefs.h
2087 # Predefined preprocessor variables.
2089 cat >>confdefs.h <<_ACEOF
2090 #define PACKAGE_NAME "$PACKAGE_NAME"
2093 cat >>confdefs.h <<_ACEOF
2094 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2097 cat >>confdefs.h <<_ACEOF
2098 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2101 cat >>confdefs.h <<_ACEOF
2102 #define PACKAGE_STRING "$PACKAGE_STRING"
2105 cat >>confdefs.h <<_ACEOF
2106 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2109 cat >>confdefs.h <<_ACEOF
2110 #define PACKAGE_URL "$PACKAGE_URL"
2114 # Let the site file select an alternate cache file if it wants to.
2115 # Prefer an explicitly selected file to automatically selected ones.
2118 if test -n "$CONFIG_SITE"; then
2119 ac_site_file1=$CONFIG_SITE
2120 elif test "x$prefix" != xNONE; then
2121 ac_site_file1=$prefix/share/config.site
2122 ac_site_file2=$prefix/etc/config.site
2124 ac_site_file1=$ac_default_prefix/share/config.site
2125 ac_site_file2=$ac_default_prefix/etc/config.site
2127 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2129 test "x$ac_site_file" = xNONE && continue
2130 if test -r "$ac_site_file"; then
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2132 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2133 sed 's/^/| /' "$ac_site_file" >&5
2138 if test -r "$cache_file"; then
2139 # Some versions of bash will fail to source /dev/null (special
2140 # files actually), so we avoid doing that.
2141 if test -f "$cache_file"; then
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2143 $as_echo "$as_me: loading cache $cache_file" >&6;}
2145 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2146 *) . "./$cache_file";;
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2151 $as_echo "$as_me: creating cache $cache_file" >&6;}
2155 # Check that the precious variables saved in the cache have kept the same
2157 ac_cache_corrupted=false
2158 for ac_var in $ac_precious_vars; do
2159 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2160 eval ac_new_set=\$ac_env_${ac_var}_set
2161 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2162 eval ac_new_val=\$ac_env_${ac_var}_value
2163 case $ac_old_set,$ac_new_set in
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2166 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2167 ac_cache_corrupted=: ;;
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2170 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2171 ac_cache_corrupted=: ;;
2174 if test "x$ac_old_val" != "x$ac_new_val"; then
2175 # differences in whitespace do not lead to failure.
2176 ac_old_val_w=`echo x
$ac_old_val`
2177 ac_new_val_w=`echo x
$ac_new_val`
2178 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2180 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2181 ac_cache_corrupted=:
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2184 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2185 eval $ac_var=\$ac_old_val
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2188 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2190 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2193 # Pass precious variables to config.status.
2194 if test "$ac_new_set" = set; then
2196 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2197 *) ac_arg=$ac_var=$ac_new_val ;;
2199 case " $ac_configure_args " in
2200 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2201 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2205 if $ac_cache_corrupted; then
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2209 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2210 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2212 ## -------------------- ##
2213 ## Main body of script. ##
2214 ## -------------------- ##
2217 ac_cpp='$CPP $CPPFLAGS'
2218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2228 for ac_dir in ../.. "$srcdir"/../..; do
2229 for ac_t in install-sh install.sh shtool; do
2230 if test -f "$ac_dir/$ac_t"; then
2232 ac_install_sh="$ac_aux_dir/$ac_t -c"
2237 if test -z "$ac_aux_dir"; then
2238 as_fn_error "cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5
2241 # These three variables are undocumented and unsupported,
2242 # and are intended to be withdrawn in a future Autoconf release.
2243 # They can cause serious problems if a builder's source tree is in a directory
2244 # whose full name contains unusual characters.
2245 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2246 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2247 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2251 # Make sure we can run config.sub.
2252 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2253 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2256 $as_echo_n "checking build system type... " >&6; }
2257 if test "${ac_cv_build+set}" = set; then :
2258 $as_echo_n "(cached) " >&6
2260 ac_build_alias=$build_alias
2261 test "x$ac_build_alias" = x &&
2262 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2263 test "x$ac_build_alias" = x &&
2264 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2265 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2266 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2270 $as_echo "$ac_cv_build" >&6; }
2271 case $ac_cv_build in
2273 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2276 ac_save_IFS=$IFS; IFS='-'
2282 # Remember, the first character of IFS is used to create $*,
2283 # except with old shells:
2286 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2290 $as_echo_n "checking host system type... " >&6; }
2291 if test "${ac_cv_host+set}" = set; then :
2292 $as_echo_n "(cached) " >&6
2294 if test "x$host_alias" = x; then
2295 ac_cv_host=$ac_cv_build
2297 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2298 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2303 $as_echo "$ac_cv_host" >&6; }
2306 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2309 ac_save_IFS=$IFS; IFS='-'
2315 # Remember, the first character of IFS is used to create $*,
2316 # except with old shells:
2319 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2323 $as_echo_n "checking target system type... " >&6; }
2324 if test "${ac_cv_target+set}" = set; then :
2325 $as_echo_n "(cached) " >&6
2327 if test "x$target_alias" = x; then
2328 ac_cv_target=$ac_cv_host
2330 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2331 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2336 $as_echo "$ac_cv_target" >&6; }
2337 case $ac_cv_target in
2339 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2341 target=$ac_cv_target
2342 ac_save_IFS=$IFS; IFS='-'
2348 # Remember, the first character of IFS is used to create $*,
2349 # except with old shells:
2352 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2355 # The aliases save the names the user supplied, while $host etc.
2356 # will get canonicalized.
2357 test -n "$target_alias" &&
2358 test "$program_prefix$program_suffix$program_transform_name" = \
2360 program_prefix=${target_alias}-
2362 target_alias=${target_alias-$host_alias}
2365 am__api_version='1.11'
2367 # Find a good install program. We prefer a C program (faster),
2368 # so one script is as good as another. But avoid the broken or
2369 # incompatible versions:
2370 # SysV /etc/install, /usr/sbin/install
2371 # SunOS /usr/etc/install
2372 # IRIX /sbin/install
2374 # AmigaOS /C/install, which installs bootblocks on floppy discs
2375 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2376 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2377 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2378 # OS/2's system install, which has a completely different semantic
2379 # ./install, which can be erroneously created by make from ./install.sh.
2380 # Reject install programs that cannot install multiple files.
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2382 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2383 if test -z "$INSTALL"; then
2384 if test "${ac_cv_path_install+set}" = set; then :
2385 $as_echo_n "(cached) " >&6
2387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2391 test -z "$as_dir" && as_dir=.
2392 # Account for people who put trailing slashes in PATH elements.
2393 case $as_dir/ in #((
2394 ./ | .// | /[cC]/* | \
2395 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2396 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2399 # OSF1 and SCO ODT 3.0 have their own names for install.
2400 # Don't use installbsd from OSF since it installs stuff as root
2402 for ac_prog in ginstall scoinst install; do
2403 for ac_exec_ext in '' $ac_executable_extensions; do
2404 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2405 if test $ac_prog = install &&
2406 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2407 # AIX install. It has an incompatible calling convention.
2409 elif test $ac_prog = install &&
2410 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2411 # program-specific install script used by HP pwplus--don't use.
2414 rm -rf conftest.one conftest.two conftest.dir
2415 echo one > conftest.one
2416 echo two > conftest.two
2418 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2419 test -s conftest.one && test -s conftest.two &&
2420 test -s conftest.dir/conftest.one &&
2421 test -s conftest.dir/conftest.two
2423 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2436 rm -rf conftest.one conftest.two conftest.dir
2439 if test "${ac_cv_path_install+set}" = set; then
2440 INSTALL=$ac_cv_path_install
2442 # As a last resort, use the slow shell script. Don't cache a
2443 # value for INSTALL within a source directory, because that will
2444 # break other packages using the cache if that directory is
2445 # removed, or if the value is a relative name.
2446 INSTALL=$ac_install_sh
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2450 $as_echo "$INSTALL" >&6; }
2452 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2453 # It thinks the first close brace ends the variable substitution.
2454 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2456 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2458 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2461 $as_echo_n "checking whether build environment is sane... " >&6; }
2464 echo timestamp > conftest.file
2465 # Reject unsafe characters in $srcdir or the absolute working directory
2466 # name. Accept space and tab only in the latter.
2470 *[\\\"\#\$\&\'\`$am_lf]*)
2471 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2474 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2475 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2478 # Do `set' in a subshell so we don't clobber the current shell's
2479 # arguments. Must try -L first in case configure is actually a
2480 # symlink; some systems play weird games with the mod time of symlinks
2481 # (eg FreeBSD returns the mod time of the symlink's containing
2484 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2485 if test "$*" = "X"; then
2487 set X
`ls -t "$srcdir/configure" conftest.file`
2490 if test "$*" != "X $srcdir/configure conftest.file" \
2491 && test "$*" != "X conftest.file $srcdir/configure"; then
2493 # If neither matched, then we have a broken ls. This can happen
2494 # if, for instance, CONFIG_SHELL is bash and it inherits a
2495 # broken ls alias from the environment. This has actually
2496 # happened. Such a system could not be considered "sane".
2497 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2498 alias in your environment" "$LINENO" 5
2501 test "$2" = conftest.
file
2507 as_fn_error
"newly created file is older than distributed files!
2508 Check your system clock" "$LINENO" 5
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2511 $as_echo "yes" >&6; }
2512 test "$program_prefix" != NONE
&&
2513 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2514 # Use a double $ so make ignores it.
2515 test "$program_suffix" != NONE
&&
2516 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2517 # Double any \ or $.
2518 # By default was `s,x,x', remove it if useless.
2519 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2520 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2522 # expand $ac_aux_dir to an absolute path
2523 am_aux_dir
=`cd $ac_aux_dir && pwd`
2525 if test x
"${MISSING+set}" != xset
; then
2528 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2530 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2533 # Use eval to expand $SHELL
2534 if eval "$MISSING --run true"; then
2535 am_missing_run
="$MISSING --run "
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2539 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2542 if test x
"${install_sh}" != xset
; then
2545 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2547 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2551 # Installed binaries are usually stripped using `strip' when the user
2552 # run `make install-strip'. However `strip' might not be the right
2553 # tool to use in cross-compilation environments, therefore Automake
2554 # will honor the `STRIP' environment variable to overrule this program.
2555 if test "$cross_compiling" != no
; then
2556 if test -n "$ac_tool_prefix"; then
2557 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2558 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2560 $as_echo_n "checking for $ac_word... " >&6; }
2561 if test "${ac_cv_prog_STRIP+set}" = set; then :
2562 $as_echo_n "(cached) " >&6
2564 if test -n "$STRIP"; then
2565 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2571 test -z "$as_dir" && as_dir
=.
2572 for ac_exec_ext
in '' $ac_executable_extensions; do
2573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2574 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2584 STRIP
=$ac_cv_prog_STRIP
2585 if test -n "$STRIP"; then
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2587 $as_echo "$STRIP" >&6; }
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2590 $as_echo "no" >&6; }
2595 if test -z "$ac_cv_prog_STRIP"; then
2597 # Extract the first word of "strip", so it can be a program name with args.
2598 set dummy strip
; ac_word
=$2
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2600 $as_echo_n "checking for $ac_word... " >&6; }
2601 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2602 $as_echo_n "(cached) " >&6
2604 if test -n "$ac_ct_STRIP"; then
2605 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2611 test -z "$as_dir" && as_dir
=.
2612 for ac_exec_ext
in '' $ac_executable_extensions; do
2613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2614 ac_cv_prog_ac_ct_STRIP
="strip"
2615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2624 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2625 if test -n "$ac_ct_STRIP"; then
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2627 $as_echo "$ac_ct_STRIP" >&6; }
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2630 $as_echo "no" >&6; }
2633 if test "x$ac_ct_STRIP" = x
; then
2636 case $cross_compiling:$ac_tool_warned in
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2640 ac_tool_warned
=yes ;;
2645 STRIP
="$ac_cv_prog_STRIP"
2649 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2652 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2653 if test -z "$MKDIR_P"; then
2654 if test "${ac_cv_path_mkdir+set}" = set; then :
2655 $as_echo_n "(cached) " >&6
2657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2658 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2661 test -z "$as_dir" && as_dir
=.
2662 for ac_prog
in mkdir gmkdir
; do
2663 for ac_exec_ext
in '' $ac_executable_extensions; do
2664 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2665 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2666 'mkdir (GNU coreutils) '* | \
2667 'mkdir (coreutils) '* | \
2668 'mkdir (fileutils) '4.1*)
2669 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2679 if test "${ac_cv_path_mkdir+set}" = set; then
2680 MKDIR_P
="$ac_cv_path_mkdir -p"
2682 # As a last resort, use the slow shell script. Don't cache a
2683 # value for MKDIR_P within a source directory, because that will
2684 # break other packages using the cache if that directory is
2685 # removed, or if the value is a relative name.
2686 test -d .
/--version && rmdir .
/--version
2687 MKDIR_P
="$ac_install_sh -d"
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2691 $as_echo "$MKDIR_P" >&6; }
2695 [\\/$
]* | ?
:[\\/]*) ;;
2696 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2699 for ac_prog
in gawk mawk nawk
awk
2701 # Extract the first word of "$ac_prog", so it can be a program name with args.
2702 set dummy
$ac_prog; ac_word
=$2
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2704 $as_echo_n "checking for $ac_word... " >&6; }
2705 if test "${ac_cv_prog_AWK+set}" = set; then :
2706 $as_echo_n "(cached) " >&6
2708 if test -n "$AWK"; then
2709 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2715 test -z "$as_dir" && as_dir
=.
2716 for ac_exec_ext
in '' $ac_executable_extensions; do
2717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2718 ac_cv_prog_AWK
="$ac_prog"
2719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2729 if test -n "$AWK"; then
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2731 $as_echo "$AWK" >&6; }
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2734 $as_echo "no" >&6; }
2738 test -n "$AWK" && break
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2742 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2744 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2745 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2746 $as_echo_n "(cached) " >&6
2748 cat >conftest.
make <<\_ACEOF
2751 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2753 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2754 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2756 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2758 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2762 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2764 $as_echo "yes" >&6; }
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2768 $as_echo "no" >&6; }
2769 SET_MAKE
="MAKE=${MAKE-make}"
2772 rm -rf .tst
2>/dev
/null
2773 mkdir .tst
2>/dev
/null
2774 if test -d .tst
; then
2779 rmdir .tst
2>/dev
/null
2781 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2782 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2783 # is not polluted with repeated "-I."
2784 am__isrc
=' -I$(srcdir)'
2785 # test to see if srcdir already configured
2786 if test -f $srcdir/config.status
; then
2787 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2791 # test whether we have cygpath
2792 if test -z "$CYGPATH_W"; then
2793 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2794 CYGPATH_W
='cygpath -w'
2801 # Define the identity of the package.
2802 PACKAGE
='libgomp-plugin-intelmic'
2806 cat >>confdefs.h
<<_ACEOF
2807 #define PACKAGE "$PACKAGE"
2811 cat >>confdefs.h
<<_ACEOF
2812 #define VERSION "$VERSION"
2815 # Some tools Automake needs.
2817 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2820 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2823 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2826 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2829 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2831 # We need awk for the "check" target. The system "awk" is bad on
2833 # Always define AMTAR for backward compatibility.
2835 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2837 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2846 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2847 # Check whether --enable-maintainer-mode was given.
2848 if test "${enable_maintainer_mode+set}" = set; then :
2849 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2851 USE_MAINTAINER_MODE
=no
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2855 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2856 if test $USE_MAINTAINER_MODE = yes; then
2857 MAINTAINER_MODE_TRUE
=
2858 MAINTAINER_MODE_FALSE
='#'
2860 MAINTAINER_MODE_TRUE
='#'
2861 MAINTAINER_MODE_FALSE
=
2864 MAINT
=$MAINTAINER_MODE_TRUE
2869 ac_cpp
='$CPP $CPPFLAGS'
2870 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2871 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2872 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2873 if test -n "$ac_tool_prefix"; then
2874 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2875 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2877 $as_echo_n "checking for $ac_word... " >&6; }
2878 if test "${ac_cv_prog_CC+set}" = set; then :
2879 $as_echo_n "(cached) " >&6
2881 if test -n "$CC"; then
2882 ac_cv_prog_CC
="$CC" # Let the user override the test.
2884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2888 test -z "$as_dir" && as_dir
=.
2889 for ac_exec_ext
in '' $ac_executable_extensions; do
2890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2891 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2902 if test -n "$CC"; then
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2904 $as_echo "$CC" >&6; }
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2907 $as_echo "no" >&6; }
2912 if test -z "$ac_cv_prog_CC"; then
2914 # Extract the first word of "gcc", so it can be a program name with args.
2915 set dummy gcc
; ac_word
=$2
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2917 $as_echo_n "checking for $ac_word... " >&6; }
2918 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2919 $as_echo_n "(cached) " >&6
2921 if test -n "$ac_ct_CC"; then
2922 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2928 test -z "$as_dir" && as_dir
=.
2929 for ac_exec_ext
in '' $ac_executable_extensions; do
2930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2931 ac_cv_prog_ac_ct_CC
="gcc"
2932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2941 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2942 if test -n "$ac_ct_CC"; then
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2944 $as_echo "$ac_ct_CC" >&6; }
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2947 $as_echo "no" >&6; }
2950 if test "x$ac_ct_CC" = x
; then
2953 case $cross_compiling:$ac_tool_warned in
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2956 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2957 ac_tool_warned
=yes ;;
2965 if test -z "$CC"; then
2966 if test -n "$ac_tool_prefix"; then
2967 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2968 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2970 $as_echo_n "checking for $ac_word... " >&6; }
2971 if test "${ac_cv_prog_CC+set}" = set; then :
2972 $as_echo_n "(cached) " >&6
2974 if test -n "$CC"; then
2975 ac_cv_prog_CC
="$CC" # Let the user override the test.
2977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2981 test -z "$as_dir" && as_dir
=.
2982 for ac_exec_ext
in '' $ac_executable_extensions; do
2983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2984 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2995 if test -n "$CC"; then
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2997 $as_echo "$CC" >&6; }
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3000 $as_echo "no" >&6; }
3006 if test -z "$CC"; then
3007 # Extract the first word of "cc", so it can be a program name with args.
3008 set dummy cc
; ac_word
=$2
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3010 $as_echo_n "checking for $ac_word... " >&6; }
3011 if test "${ac_cv_prog_CC+set}" = set; then :
3012 $as_echo_n "(cached) " >&6
3014 if test -n "$CC"; then
3015 ac_cv_prog_CC
="$CC" # Let the user override the test.
3018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3022 test -z "$as_dir" && as_dir
=.
3023 for ac_exec_ext
in '' $ac_executable_extensions; do
3024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3025 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3026 ac_prog_rejected
=yes
3030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3037 if test $ac_prog_rejected = yes; then
3038 # We found a bogon in the path, so make sure we never use it.
3039 set dummy
$ac_cv_prog_CC
3041 if test $# != 0; then
3042 # We chose a different compiler from the bogus one.
3043 # However, it has the same basename, so the bogon will be chosen
3044 # first if we set CC to just the basename; use the full file name.
3046 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3052 if test -n "$CC"; then
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3054 $as_echo "$CC" >&6; }
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3057 $as_echo "no" >&6; }
3062 if test -z "$CC"; then
3063 if test -n "$ac_tool_prefix"; then
3064 for ac_prog
in cl.exe
3066 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3067 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3069 $as_echo_n "checking for $ac_word... " >&6; }
3070 if test "${ac_cv_prog_CC+set}" = set; then :
3071 $as_echo_n "(cached) " >&6
3073 if test -n "$CC"; then
3074 ac_cv_prog_CC
="$CC" # Let the user override the test.
3076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3080 test -z "$as_dir" && as_dir
=.
3081 for ac_exec_ext
in '' $ac_executable_extensions; do
3082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3083 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3094 if test -n "$CC"; then
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3096 $as_echo "$CC" >&6; }
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3099 $as_echo "no" >&6; }
3103 test -n "$CC" && break
3106 if test -z "$CC"; then
3108 for ac_prog
in cl.exe
3110 # Extract the first word of "$ac_prog", so it can be a program name with args.
3111 set dummy
$ac_prog; ac_word
=$2
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3113 $as_echo_n "checking for $ac_word... " >&6; }
3114 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3115 $as_echo_n "(cached) " >&6
3117 if test -n "$ac_ct_CC"; then
3118 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3124 test -z "$as_dir" && as_dir
=.
3125 for ac_exec_ext
in '' $ac_executable_extensions; do
3126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3127 ac_cv_prog_ac_ct_CC
="$ac_prog"
3128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3137 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3138 if test -n "$ac_ct_CC"; then
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3140 $as_echo "$ac_ct_CC" >&6; }
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3143 $as_echo "no" >&6; }
3147 test -n "$ac_ct_CC" && break
3150 if test "x$ac_ct_CC" = x
; then
3153 case $cross_compiling:$ac_tool_warned in
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3156 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3157 ac_tool_warned
=yes ;;
3166 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3167 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3168 as_fn_error
"no acceptable C compiler found in \$PATH
3169 See \`config.log' for more details." "$LINENO" 5; }
3171 # Provide some information about the compiler.
3172 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3175 for ac_option
in --version -v -V -qversion; do
3176 { { ac_try
="$ac_compiler $ac_option >&5"
3178 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3179 *) ac_try_echo=$ac_try;;
3181 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3182 $as_echo "$ac_try_echo"; } >&5
3183 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3185 if test -s conftest.err; then
3187 ... rest of stderr output deleted ...
3188 10q' conftest.err >conftest.er1
3189 cat conftest.er1 >&5
3190 rm -f conftest.er1 conftest.err
3192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3193 test $ac_status = 0; }
3196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3197 /* end confdefs.h. */
3207 ac_clean_files_save=$ac_clean_files
3208 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3209 # Try to create an executable without -o first, disregard a.out.
3210 # It will help us diagnose broken compilers, and finding out an intuition
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3213 $as_echo_n "checking for C compiler default output file name... " >&6; }
3214 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3216 # The possible output files:
3217 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3220 for ac_file in $ac_files
3223 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3224 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3229 if { { ac_try="$ac_link_default"
3231 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3232 *) ac_try_echo
=$ac_try;;
3234 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3235 $as_echo "$ac_try_echo"; } >&5
3236 (eval "$ac_link_default") 2>&5
3238 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3239 test $ac_status = 0; }; then :
3240 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3241 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3242 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3243 # so that the user can short-circuit this test for compilers unknown to
3245 for ac_file
in $ac_files ''
3247 test -f "$ac_file" ||
continue
3249 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3252 # We found the default executable, but exeext='' is most
3256 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3258 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3260 # We set ac_cv_exeext here because the later test for it is not
3261 # safe: cross compilers may not add the suffix if given an `-o'
3262 # argument, so we may need to know it at that point already.
3263 # Even if this section looks crufty: it has the advantage of
3270 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3276 $as_echo "$ac_file" >&6; }
3277 if test -z "$ac_file"; then :
3278 $as_echo "$as_me: failed program was:" >&5
3279 sed 's/^/| /' conftest.
$ac_ext >&5
3281 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3283 { as_fn_set_status
77
3284 as_fn_error
"C compiler cannot create executables
3285 See \`config.log' for more details." "$LINENO" 5; }; }
3287 ac_exeext
=$ac_cv_exeext
3289 # Check that the compiler produces executables we can run. If not, either
3290 # the compiler is broken, or we cross compile.
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3292 $as_echo_n "checking whether the C compiler works... " >&6; }
3293 # If not cross compiling, check that we can run a simple program.
3294 if test "$cross_compiling" != yes; then
3295 if { ac_try
='./$ac_file'
3296 { { case "(($ac_try" in
3297 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3298 *) ac_try_echo=$ac_try;;
3300 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3301 $as_echo "$ac_try_echo"; } >&5
3302 (eval "$ac_try") 2>&5
3304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3305 test $ac_status = 0; }; }; then
3308 if test "$cross_compiling" = maybe; then
3311 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3312 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3313 as_fn_error "cannot run C compiled programs.
3314 If you meant to cross compile
, use \
`--host'.
3315 See \`config.log
' for more details." "$LINENO" 5; }
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3320 $as_echo "yes" >&6; }
3322 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3323 ac_clean_files=$ac_clean_files_save
3324 # Check that the compiler produces executables we can run. If not, either
3325 # the compiler is broken, or we cross compile.
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3327 $as_echo_n "checking whether we are cross compiling... " >&6; }
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3329 $as_echo "$cross_compiling" >&6; }
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3332 $as_echo_n "checking for suffix of executables... " >&6; }
3333 if { { ac_try="$ac_link"
3335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3336 *) ac_try_echo=$ac_try;;
3338 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3339 $as_echo "$ac_try_echo"; } >&5
3340 (eval "$ac_link") 2>&5
3342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3343 test $ac_status = 0; }; then :
3344 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3345 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3346 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3348 for ac_file
in conftest.exe conftest conftest.
*; do
3349 test -f "$ac_file" ||
continue
3351 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3352 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3358 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3359 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3360 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3361 See \`config.log' for more details." "$LINENO" 5; }
3363 rm -f conftest
$ac_cv_exeext
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3365 $as_echo "$ac_cv_exeext" >&6; }
3367 rm -f conftest.
$ac_ext
3368 EXEEXT
=$ac_cv_exeext
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3371 $as_echo_n "checking for suffix of object files... " >&6; }
3372 if test "${ac_cv_objext+set}" = set; then :
3373 $as_echo_n "(cached) " >&6
3375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3376 /* end confdefs.h. */
3386 rm -f conftest.o conftest.obj
3387 if { { ac_try
="$ac_compile"
3389 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3390 *) ac_try_echo=$ac_try;;
3392 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3393 $as_echo "$ac_try_echo"; } >&5
3394 (eval "$ac_compile") 2>&5
3396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3397 test $ac_status = 0; }; then :
3398 for ac_file in conftest.o conftest.obj conftest.*; do
3399 test -f "$ac_file" || continue;
3401 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3402 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3407 $as_echo "$as_me: failed program was:" >&5
3408 sed 's/^/| /' conftest.$ac_ext >&5
3410 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3412 as_fn_error "cannot compute suffix of object files
: cannot compile
3413 See \
`config.log' for more details." "$LINENO" 5; }
3415 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3418 $as_echo "$ac_cv_objext" >&6; }
3419 OBJEXT=$ac_cv_objext
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3422 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3423 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3424 $as_echo_n "(cached) " >&6
3426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3427 /* end confdefs.h. */
3440 if ac_fn_c_try_compile "$LINENO"; then :
3445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3446 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3450 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3451 if test $ac_compiler_gnu = yes; then
3456 ac_test_CFLAGS=${CFLAGS+set}
3457 ac_save_CFLAGS=$CFLAGS
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3459 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3460 if test "${ac_cv_prog_cc_g+set}" = set; then :
3461 $as_echo_n "(cached) " >&6
3463 ac_save_c_werror_flag=$ac_c_werror_flag
3464 ac_c_werror_flag=yes
3467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3468 /* end confdefs.h. */
3478 if ac_fn_c_try_compile "$LINENO"; then :
3482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3483 /* end confdefs.h. */
3493 if ac_fn_c_try_compile "$LINENO"; then :
3496 ac_c_werror_flag=$ac_save_c_werror_flag
3498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3499 /* end confdefs.h. */
3509 if ac_fn_c_try_compile "$LINENO"; then :
3512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3517 ac_c_werror_flag=$ac_save_c_werror_flag
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3520 $as_echo "$ac_cv_prog_cc_g" >&6; }
3521 if test "$ac_test_CFLAGS" = set; then
3522 CFLAGS=$ac_save_CFLAGS
3523 elif test $ac_cv_prog_cc_g = yes; then
3524 if test "$GCC" = yes; then
3530 if test "$GCC" = yes; then
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3537 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3538 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3539 $as_echo_n "(cached) " >&6
3541 ac_cv_prog_cc_c89=no
3543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3544 /* end confdefs.h. */
3547 #include <sys/types.h>
3548 #include <sys/stat.h>
3549 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3550 struct buf { int x; };
3551 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3552 static char *e (p, i)
3558 static char *f (char * (*g) (char **, int), char **p, ...)
3563 s = g (p, va_arg (v,int));
3568 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3569 function prototypes and stuff, but not '\xHH' hex character constants.
3570 These don't provoke an error unfortunately, instead are silently treated
3571 as 'x'. The following induces an error, until -std is added to get
3572 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3573 array size at least. It's necessary to write '\x00'==0 to get something
3574 that's true only with -std. */
3575 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3577 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3578 inside strings and character constants. */
3580 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3582 int test (int i, double x);
3583 struct s1 {int (*f) (int a);};
3584 struct s2 {int (*f) (double a);};
3585 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3591 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3596 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3597 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3599 CC="$ac_save_CC $ac_arg"
3600 if ac_fn_c_try_compile "$LINENO"; then :
3601 ac_cv_prog_cc_c89=$ac_arg
3603 rm -f core conftest.err conftest.$ac_objext
3604 test "x$ac_cv_prog_cc_c89" != "xno" && break
3606 rm -f conftest.$ac_ext
3611 case "x$ac_cv_prog_cc_c89" in
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3614 $as_echo "none needed" >&6; } ;;
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3617 $as_echo "unsupported" >&6; } ;;
3619 CC="$CC $ac_cv_prog_cc_c89"
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3621 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3623 if test "x$ac_cv_prog_cc_c89" != xno; then :
3628 ac_cpp='$CPP $CPPFLAGS'
3629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3632 DEPDIR="${am__leading_dot}deps"
3634 ac_config_commands="$ac_config_commands depfiles"
3637 am_make=${MAKE-make}
3638 cat > confinc << 'END'
3640 @echo this is the am__doit target
3643 # If we don't find an include directive, just comment out the code.
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3645 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3649 # First try GNU make style include.
3650 echo "include confinc" > confmf
3651 # Ignore all kinds of additional output from `make'.
3652 case `$am_make -s -f confmf 2> /dev/null` in #(
3653 *the\ am__doit\ target*)
3659 # Now try BSD make style include.
3660 if test "$am__include" = "#"; then
3661 echo '.include
"confinc"' > confmf
3662 case `$am_make -s -f confmf 2> /dev/null` in #(
3663 *the\ am__doit\ target*)
3664 am__include=.include
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3673 $as_echo "$_am_result" >&6; }
3674 rm -f confinc confmf
3676 # Check whether --enable-dependency-tracking was given.
3677 if test "${enable_dependency_tracking+set}" = set; then :
3678 enableval=$enable_dependency_tracking;
3681 if test "x$enable_dependency_tracking" != xno; then
3682 am_depcomp="$ac_aux_dir/depcomp"
3685 if test "x$enable_dependency_tracking" != xno
; then
3695 depcc
="$CC" am_compiler_list
=
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3698 $as_echo_n "checking dependency style of $depcc... " >&6; }
3699 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3700 $as_echo_n "(cached) " >&6
3702 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3703 # We make a subdir and do the tests there. Otherwise we can end up
3704 # making bogus files that we don't know about and never remove. For
3705 # instance it was reported that on HP-UX the gcc test will end up
3706 # making a dummy file named `D' -- because `-MD' means `put the output
3709 # Copy depcomp to subdir because otherwise we won't find it if we're
3710 # using a relative directory.
3711 cp "$am_depcomp" conftest.dir
3713 # We will build objects and dependencies in a subdirectory because
3714 # it helps to detect inapplicable dependency modes. For instance
3715 # both Tru64's cc and ICC support -MD to output dependencies as a
3716 # side effect of compilation, but ICC will put the dependencies in
3717 # the current directory while Tru64 will put them in the object
3721 am_cv_CC_dependencies_compiler_type
=none
3722 if test "$am_compiler_list" = ""; then
3723 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3726 case " $depcc " in #(
3727 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3730 for depmode
in $am_compiler_list; do
3731 # Setup a source with many dependencies, because some compilers
3732 # like to wrap large dependency lists on column 80 (with \), and
3733 # we should not choose a depcomp mode which is confused by this.
3735 # We need to recreate these files for each test, as the compiler may
3736 # overwrite some of them when testing with obscure command lines.
3737 # This happens at least with the AIX C compiler.
3739 for i
in 1 2 3 4 5 6; do
3740 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3741 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3742 # Solaris 8's {/usr,}/bin/sh.
3743 touch sub
/conftst
$i.h
3745 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3747 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3748 # mode. It turns out that the SunPro C++ compiler does not properly
3749 # handle `-M -o', and we need to detect this. Also, some Intel
3750 # versions had trouble with output in subdirs
3751 am__obj
=sub
/conftest.
${OBJEXT-o}
3752 am__minus_obj
="-o $am__obj"
3755 # This depmode causes a compiler race in universal mode.
3756 test "$am__universal" = false ||
continue
3759 # after this tag, mechanisms are not by side-effect, so they'll
3760 # only be used when explicitly requested
3761 if test "x$enable_dependency_tracking" = xyes
; then
3767 msvisualcpp | msvcmsys
)
3768 # This compiler won't grok `-c -o', but also, the minuso test has
3769 # not run yet. These depmodes are late enough in the game, and
3770 # so weak that their functioning should not be impacted.
3771 am__obj
=conftest.
${OBJEXT-o}
3776 if depmode
=$depmode \
3777 source=sub
/conftest.c object
=$am__obj \
3778 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3779 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3780 >/dev
/null
2>conftest.err
&&
3781 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3782 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3783 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3784 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3785 # icc doesn't choke on unknown options, it will just issue warnings
3786 # or remarks (even with -Werror). So we grep stderr for any message
3787 # that says an option was ignored or not supported.
3788 # When given -MP, icc 7.0 and 7.1 complain thusly:
3789 # icc: Command line warning: ignoring option '-M'; no argument required
3790 # The diagnosis changed in icc 8.0:
3791 # icc: Command line remark: option '-MP' not supported
3792 if (grep 'ignoring option' conftest.err ||
3793 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3794 am_cv_CC_dependencies_compiler_type
=$depmode
3803 am_cv_CC_dependencies_compiler_type
=none
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3808 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3809 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3812 test "x$enable_dependency_tracking" != xno \
3813 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3815 am__fastdepCC_FALSE
='#'
3817 am__fastdepCC_TRUE
='#'
3818 am__fastdepCC_FALSE
=
3823 ac_cpp
='$CXXCPP $CPPFLAGS'
3824 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3825 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3826 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3827 if test -z "$CXX"; then
3828 if test -n "$CCC"; then
3831 if test -n "$ac_tool_prefix"; then
3832 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3834 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3835 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3837 $as_echo_n "checking for $ac_word... " >&6; }
3838 if test "${ac_cv_prog_CXX+set}" = set; then :
3839 $as_echo_n "(cached) " >&6
3841 if test -n "$CXX"; then
3842 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3848 test -z "$as_dir" && as_dir
=.
3849 for ac_exec_ext
in '' $ac_executable_extensions; do
3850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3851 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3862 if test -n "$CXX"; then
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3864 $as_echo "$CXX" >&6; }
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3867 $as_echo "no" >&6; }
3871 test -n "$CXX" && break
3874 if test -z "$CXX"; then
3876 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3878 # Extract the first word of "$ac_prog", so it can be a program name with args.
3879 set dummy
$ac_prog; ac_word
=$2
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3881 $as_echo_n "checking for $ac_word... " >&6; }
3882 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3883 $as_echo_n "(cached) " >&6
3885 if test -n "$ac_ct_CXX"; then
3886 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3892 test -z "$as_dir" && as_dir
=.
3893 for ac_exec_ext
in '' $ac_executable_extensions; do
3894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3895 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3905 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3906 if test -n "$ac_ct_CXX"; then
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3908 $as_echo "$ac_ct_CXX" >&6; }
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3911 $as_echo "no" >&6; }
3915 test -n "$ac_ct_CXX" && break
3918 if test "x$ac_ct_CXX" = x
; then
3921 case $cross_compiling:$ac_tool_warned in
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3924 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3925 ac_tool_warned
=yes ;;
3933 # Provide some information about the compiler.
3934 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3937 for ac_option
in --version -v -V -qversion; do
3938 { { ac_try
="$ac_compiler $ac_option >&5"
3940 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3941 *) ac_try_echo=$ac_try;;
3943 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3944 $as_echo "$ac_try_echo"; } >&5
3945 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3947 if test -s conftest.err; then
3949 ... rest of stderr output deleted ...
3950 10q' conftest.err >conftest.er1
3951 cat conftest.er1 >&5
3952 rm -f conftest.er1 conftest.err
3954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3955 test $ac_status = 0; }
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3959 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3960 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3961 $as_echo_n "(cached) " >&6
3963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3964 /* end confdefs.h. */
3977 if ac_fn_cxx_try_compile "$LINENO"; then :
3982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3983 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3987 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3988 if test $ac_compiler_gnu = yes; then
3993 ac_test_CXXFLAGS=${CXXFLAGS+set}
3994 ac_save_CXXFLAGS=$CXXFLAGS
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3996 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3997 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3998 $as_echo_n "(cached) " >&6
4000 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4001 ac_cxx_werror_flag=yes
4004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4005 /* end confdefs.h. */
4015 if ac_fn_cxx_try_compile "$LINENO"; then :
4016 ac_cv_prog_cxx_g=yes
4019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4020 /* end confdefs.h. */
4030 if ac_fn_cxx_try_compile "$LINENO"; then :
4033 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4036 /* end confdefs.h. */
4046 if ac_fn_cxx_try_compile "$LINENO"; then :
4047 ac_cv_prog_cxx_g=yes
4049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4054 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4057 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4058 if test "$ac_test_CXXFLAGS" = set; then
4059 CXXFLAGS=$ac_save_CXXFLAGS
4060 elif test $ac_cv_prog_cxx_g = yes; then
4061 if test "$GXX" = yes; then
4067 if test "$GXX" = yes; then
4074 ac_cpp='$CPP $CPPFLAGS'
4075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4079 depcc="$CXX" am_compiler_list=
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4082 $as_echo_n "checking dependency style of $depcc... " >&6; }
4083 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4084 $as_echo_n "(cached) " >&6
4086 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4087 # We make a subdir and do the tests there. Otherwise we can end up
4088 # making bogus files that we don't know about and never remove. For
4089 # instance it was reported that on HP-UX the gcc test will end up
4090 # 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_CXX_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 8's
{/usr
,}/bin
/sh.
4127 touch 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 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_CXX_dependencies_compiler_type
=$depmode
4187 am_cv_CXX_dependencies_compiler_type
=none
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4192 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4193 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4196 test "x$enable_dependency_tracking" != xno \
4197 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4198 am__fastdepCXX_TRUE
=
4199 am__fastdepCXX_FALSE
='#'
4201 am__fastdepCXX_TRUE
='#'
4202 am__fastdepCXX_FALSE
=
4206 ac_config_files
="$ac_config_files Makefile"
4208 # Default to --enable-multilib
4209 # Check whether --enable-multilib was given.
4210 if test "${enable_multilib+set}" = set; then :
4211 enableval
=$enable_multilib; case "$enableval" in
4212 yes) multilib
=yes ;;
4214 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
4221 # We may get other options which we leave undocumented:
4222 # --with-target-subdir, --with-multisrctop, --with-multisubdir
4223 # See config-ml.in if you want the gory details.
4225 if test "$srcdir" = "."; then
4226 if test "$with_target_subdir" != "."; then
4227 multi_basedir
="$srcdir/$with_multisrctop../../.."
4229 multi_basedir
="$srcdir/$with_multisrctop../.."
4232 multi_basedir
="$srcdir/../.."
4236 # Even if the default multilib is not a cross compilation,
4237 # it may be that some of the other multilibs are.
4238 if test $cross_compiling = no
&& test $multilib = yes \
4239 && test "x${with_multisubdir}" != x
; then
4240 cross_compiling
=maybe
4243 ac_config_commands
="$ac_config_commands default-1"
4246 if test "${multilib}" = "yes"; then
4247 multilib_arg
="--enable-multilib"
4252 # Make sure liboffloadmic is enabled
4253 case "$enable_liboffloadmic" in
4257 as_fn_error
"Liboffloadmic is disabled" "$LINENO" 5 ;;
4259 if test x
"$enable_liboffloadmic" = xhost
; then
4261 PLUGIN_HOST_FALSE
='#'
4263 PLUGIN_HOST_TRUE
='#'
4268 # Get accel target and path to build or install tree of accel compiler
4271 if test x
"$enable_liboffloadmic" = xhost
; then
4272 for accel
in `echo $enable_offload_targets | sed -e 's#,# #g'`; do
4273 accel_name
=`echo $accel | sed 's/=.*//'`
4274 accel_dir
=`echo $accel | grep '=' | sed 's/.*=//'`
4275 case "$accel_name" in
4276 *-intelmic-* |
*-intelmicemul-*)
4277 accel_target
=$accel_name
4278 accel_search_dir
=$accel_dir
4282 if test x
"$accel_target" = x
; then
4283 as_fn_error
"--enable-offload-targets does not contain intelmic target" "$LINENO" 5
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
4290 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
4291 # Check whether --enable-version-specific-runtime-libs was given.
4292 if test "${enable_version_specific_runtime_libs+set}" = set; then :
4293 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
4294 yes) enable_version_specific_runtime_libs
=yes ;;
4295 no
) enable_version_specific_runtime_libs
=no
;;
4296 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
4299 enable_version_specific_runtime_libs
=no
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_version_specific_runtime_libs" >&5
4303 $as_echo "$enable_version_specific_runtime_libs" >&6; }
4306 # Calculate toolexeclibdir.
4307 # Also toolexecdir, though it's only used in toolexeclibdir.
4308 case ${enable_version_specific_runtime_libs} in
4310 # Need the gcc compiler version to know where to install libraries
4311 # and header files if --enable-version-specific-runtime-libs option
4313 toolexecdir
='$(libdir)/gcc/$(target_alias)'
4314 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4317 if test -n "$with_cross_host" &&
4318 test x
"$with_cross_host" != x
"no"; then
4319 # Install a library built with a cross compiler in tooldir, not libdir.
4320 toolexecdir
='$(exec_prefix)/$(target_alias)'
4321 toolexeclibdir
='$(toolexecdir)/lib'
4323 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
4324 toolexeclibdir
='$(libdir)'
4326 multi_os_directory
=`$CC -print-multi-os-directory`
4327 case $multi_os_directory in
4328 .
) ;; # Avoid trailing /.
4329 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4341 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4346 macro_version
='2.2.7a'
4347 macro_revision
='1.3134'
4361 ltmain
="$ac_aux_dir/ltmain.sh"
4363 # Backslashify metacharacters that are still active within
4364 # double-quoted strings.
4365 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4367 # Same as above, but do not quote variable references.
4368 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4370 # Sed substitution to delay expansion of an escaped shell variable in a
4371 # double_quote_subst'ed string.
4372 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4374 # Sed substitution to delay expansion of an escaped single quote.
4375 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4377 # Sed substitution to avoid accidental globbing in evaled expressions
4378 no_glob_subst
='s/\*/\\\*/g'
4380 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4381 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4382 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4385 $as_echo_n "checking how to print strings... " >&6; }
4386 # Test print first, because it will be a builtin if present.
4387 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4388 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4390 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4393 # Use this function as a fallback that always works.
4394 func_fallback_echo ()
4396 eval 'cat <<_LTECHO_EOF
4400 ECHO='func_fallback_echo
'
4403 # func_echo_all arg...
4404 # Invoke $ECHO with all args, space-separated.
4411 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4412 $as_echo "printf" >&6; } ;;
4413 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4414 $as_echo "print -r" >&6; } ;;
4415 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4416 $as_echo "cat" >&6; } ;;
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4433 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4434 if test "${ac_cv_path_SED+set}" = set; then :
4435 $as_echo_n "(cached) " >&6
4437 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4438 for ac_i in 1 2 3 4 5 6 7; do
4439 ac_script="$ac_script$as_nl$ac_script"
4441 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4442 { ac_script=; unset ac_script;}
4443 if test -z "$SED"; then
4444 ac_path_SED_found=false
4445 # Loop through the user's path and
test for each of PROGNAME-LIST
4446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4450 test -z "$as_dir" && as_dir
=.
4451 for ac_prog
in sed gsed
; do
4452 for ac_exec_ext
in '' $ac_executable_extensions; do
4453 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4454 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4455 # Check for GNU ac_path_SED and select it if it is found.
4456 # Check for GNU $ac_path_SED
4457 case `"$ac_path_SED" --version 2>&1` in
4459 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4462 $as_echo_n 0123456789 >"conftest.in"
4465 cat "conftest.in" "conftest.in" >"conftest.tmp"
4466 mv "conftest.tmp" "conftest.in"
4467 cp "conftest.in" "conftest.nl"
4468 $as_echo '' >> "conftest.nl"
4469 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4470 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4471 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4472 if test $ac_count -gt ${ac_path_SED_max-0}; then
4473 # Best one so far, save it but keep looking for a better one
4474 ac_cv_path_SED
="$ac_path_SED"
4475 ac_path_SED_max
=$ac_count
4477 # 10*(2^10) chars as input seems more than enough
4478 test $ac_count -gt 10 && break
4480 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4483 $ac_path_SED_found && break 3
4488 if test -z "$ac_cv_path_SED"; then
4489 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4497 $as_echo "$ac_cv_path_SED" >&6; }
4498 SED
="$ac_cv_path_SED"
4501 test -z "$SED" && SED
=sed
4502 Xsed
="$SED -e 1s/^X//"
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4515 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4516 if test "${ac_cv_path_GREP+set}" = set; then :
4517 $as_echo_n "(cached) " >&6
4519 if test -z "$GREP"; then
4520 ac_path_GREP_found
=false
4521 # Loop through the user's path and test for each of PROGNAME-LIST
4522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4523 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4526 test -z "$as_dir" && as_dir
=.
4527 for ac_prog
in grep ggrep
; do
4528 for ac_exec_ext
in '' $ac_executable_extensions; do
4529 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4530 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4531 # Check for GNU ac_path_GREP and select it if it is found.
4532 # Check for GNU $ac_path_GREP
4533 case `"$ac_path_GREP" --version 2>&1` in
4535 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4538 $as_echo_n 0123456789 >"conftest.in"
4541 cat "conftest.in" "conftest.in" >"conftest.tmp"
4542 mv "conftest.tmp" "conftest.in"
4543 cp "conftest.in" "conftest.nl"
4544 $as_echo 'GREP' >> "conftest.nl"
4545 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4546 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4547 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4548 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4549 # Best one so far, save it but keep looking for a better one
4550 ac_cv_path_GREP
="$ac_path_GREP"
4551 ac_path_GREP_max
=$ac_count
4553 # 10*(2^10) chars as input seems more than enough
4554 test $ac_count -gt 10 && break
4556 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4559 $ac_path_GREP_found && break 3
4564 if test -z "$ac_cv_path_GREP"; then
4565 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4568 ac_cv_path_GREP
=$GREP
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4573 $as_echo "$ac_cv_path_GREP" >&6; }
4574 GREP
="$ac_cv_path_GREP"
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4578 $as_echo_n "checking for egrep... " >&6; }
4579 if test "${ac_cv_path_EGREP+set}" = set; then :
4580 $as_echo_n "(cached) " >&6
4582 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4583 then ac_cv_path_EGREP
="$GREP -E"
4585 if test -z "$EGREP"; then
4586 ac_path_EGREP_found
=false
4587 # Loop through the user's path and test for each of PROGNAME-LIST
4588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4589 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4592 test -z "$as_dir" && as_dir
=.
4593 for ac_prog
in egrep; do
4594 for ac_exec_ext
in '' $ac_executable_extensions; do
4595 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4596 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4597 # Check for GNU ac_path_EGREP and select it if it is found.
4598 # Check for GNU $ac_path_EGREP
4599 case `"$ac_path_EGREP" --version 2>&1` in
4601 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4604 $as_echo_n 0123456789 >"conftest.in"
4607 cat "conftest.in" "conftest.in" >"conftest.tmp"
4608 mv "conftest.tmp" "conftest.in"
4609 cp "conftest.in" "conftest.nl"
4610 $as_echo 'EGREP' >> "conftest.nl"
4611 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4612 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4613 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4614 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4615 # Best one so far, save it but keep looking for a better one
4616 ac_cv_path_EGREP
="$ac_path_EGREP"
4617 ac_path_EGREP_max
=$ac_count
4619 # 10*(2^10) chars as input seems more than enough
4620 test $ac_count -gt 10 && break
4622 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4625 $ac_path_EGREP_found && break 3
4630 if test -z "$ac_cv_path_EGREP"; then
4631 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4634 ac_cv_path_EGREP
=$EGREP
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4640 $as_echo "$ac_cv_path_EGREP" >&6; }
4641 EGREP
="$ac_cv_path_EGREP"
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4645 $as_echo_n "checking for fgrep... " >&6; }
4646 if test "${ac_cv_path_FGREP+set}" = set; then :
4647 $as_echo_n "(cached) " >&6
4649 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4650 then ac_cv_path_FGREP
="$GREP -F"
4652 if test -z "$FGREP"; then
4653 ac_path_FGREP_found
=false
4654 # Loop through the user's path and test for each of PROGNAME-LIST
4655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4656 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4659 test -z "$as_dir" && as_dir
=.
4660 for ac_prog
in fgrep
; do
4661 for ac_exec_ext
in '' $ac_executable_extensions; do
4662 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4663 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4664 # Check for GNU ac_path_FGREP and select it if it is found.
4665 # Check for GNU $ac_path_FGREP
4666 case `"$ac_path_FGREP" --version 2>&1` in
4668 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4671 $as_echo_n 0123456789 >"conftest.in"
4674 cat "conftest.in" "conftest.in" >"conftest.tmp"
4675 mv "conftest.tmp" "conftest.in"
4676 cp "conftest.in" "conftest.nl"
4677 $as_echo 'FGREP' >> "conftest.nl"
4678 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4679 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4680 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4681 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4682 # Best one so far, save it but keep looking for a better one
4683 ac_cv_path_FGREP
="$ac_path_FGREP"
4684 ac_path_FGREP_max
=$ac_count
4686 # 10*(2^10) chars as input seems more than enough
4687 test $ac_count -gt 10 && break
4689 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4692 $ac_path_FGREP_found && break 3
4697 if test -z "$ac_cv_path_FGREP"; then
4698 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4701 ac_cv_path_FGREP
=$FGREP
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4707 $as_echo "$ac_cv_path_FGREP" >&6; }
4708 FGREP
="$ac_cv_path_FGREP"
4711 test -z "$GREP" && GREP
=grep
4731 # Check whether --with-gnu-ld was given.
4732 if test "${with_gnu_ld+set}" = set; then :
4733 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4739 if test "$GCC" = yes; then
4740 # Check if gcc -print-prog-name=ld gives a path.
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4742 $as_echo_n "checking for ld used by $CC... " >&6; }
4745 # gcc leaves a trailing carriage return which upsets mingw
4746 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4748 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4751 # Accept absolute paths.
4753 re_direlt
='/[^/][^/]*/\.\./'
4754 # Canonicalize the pathname of ld
4755 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4756 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4757 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4759 test -z "$LD" && LD
="$ac_prog"
4762 # If it fails, then pretend we aren't using GCC.
4766 # If it is relative, then search for the first ld in PATH.
4770 elif test "$with_gnu_ld" = yes; then
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4772 $as_echo_n "checking for GNU ld... " >&6; }
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4775 $as_echo_n "checking for non-GNU ld... " >&6; }
4777 if test "${lt_cv_path_LD+set}" = set; then :
4778 $as_echo_n "(cached) " >&6
4780 if test -z "$LD"; then
4781 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4782 for ac_dir
in $PATH; do
4784 test -z "$ac_dir" && ac_dir
=.
4785 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4786 lt_cv_path_LD
="$ac_dir/$ac_prog"
4787 # Check to see if the program is GNU ld. I'd rather use --version,
4788 # but apparently some variants of GNU ld only accept -v.
4789 # Break only if it was the GNU/non-GNU ld that we prefer.
4790 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4791 *GNU
* |
*'with BFD'*)
4792 test "$with_gnu_ld" != no
&& break
4795 test "$with_gnu_ld" != yes && break
4802 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4807 if test -n "$LD"; then
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4809 $as_echo "$LD" >&6; }
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4812 $as_echo "no" >&6; }
4814 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4816 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4817 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4818 $as_echo_n "(cached) " >&6
4820 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4821 case `$LD -v 2>&1 </dev/null` in
4822 *GNU
* |
*'with BFD'*)
4823 lt_cv_prog_gnu_ld
=yes
4826 lt_cv_prog_gnu_ld
=no
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4831 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4832 with_gnu_ld
=$lt_cv_prog_gnu_ld
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4843 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4844 if test "${lt_cv_path_NM+set}" = set; then :
4845 $as_echo_n "(cached) " >&6
4847 if test -n "$NM"; then
4848 # Let the user override the test.
4851 lt_nm_to_check
="${ac_tool_prefix}nm"
4852 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4853 lt_nm_to_check
="$lt_nm_to_check nm"
4855 for lt_tmp_nm
in $lt_nm_to_check; do
4856 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4857 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4859 test -z "$ac_dir" && ac_dir
=.
4860 tmp_nm
="$ac_dir/$lt_tmp_nm"
4861 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4862 # Check to see if the nm accepts a BSD-compat flag.
4863 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4864 # nm: unknown option "B" ignored
4865 # Tru64's nm complains that /dev/null is an invalid object file
4866 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4867 */dev
/null
* |
*'Invalid file or object type'*)
4868 lt_cv_path_NM
="$tmp_nm -B"
4872 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4874 lt_cv_path_NM
="$tmp_nm -p"
4878 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4879 continue # so that we can try to find one that supports BSD flags
4888 : ${lt_cv_path_NM=no}
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4892 $as_echo "$lt_cv_path_NM" >&6; }
4893 if test "$lt_cv_path_NM" != "no"; then
4896 # Didn't find any BSD compatible name lister, look for dumpbin.
4897 if test -n "$DUMPBIN"; then :
4898 # Let the user override the test.
4900 if test -n "$ac_tool_prefix"; then
4901 for ac_prog
in dumpbin
"link -dump"
4903 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4904 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4906 $as_echo_n "checking for $ac_word... " >&6; }
4907 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4908 $as_echo_n "(cached) " >&6
4910 if test -n "$DUMPBIN"; then
4911 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4917 test -z "$as_dir" && as_dir
=.
4918 for ac_exec_ext
in '' $ac_executable_extensions; do
4919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4920 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4930 DUMPBIN
=$ac_cv_prog_DUMPBIN
4931 if test -n "$DUMPBIN"; then
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4933 $as_echo "$DUMPBIN" >&6; }
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4936 $as_echo "no" >&6; }
4940 test -n "$DUMPBIN" && break
4943 if test -z "$DUMPBIN"; then
4944 ac_ct_DUMPBIN
=$DUMPBIN
4945 for ac_prog
in dumpbin
"link -dump"
4947 # Extract the first word of "$ac_prog", so it can be a program name with args.
4948 set dummy
$ac_prog; ac_word
=$2
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4950 $as_echo_n "checking for $ac_word... " >&6; }
4951 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4952 $as_echo_n "(cached) " >&6
4954 if test -n "$ac_ct_DUMPBIN"; then
4955 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4961 test -z "$as_dir" && as_dir
=.
4962 for ac_exec_ext
in '' $ac_executable_extensions; do
4963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4964 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4974 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4975 if test -n "$ac_ct_DUMPBIN"; then
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4977 $as_echo "$ac_ct_DUMPBIN" >&6; }
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4980 $as_echo "no" >&6; }
4984 test -n "$ac_ct_DUMPBIN" && break
4987 if test "x$ac_ct_DUMPBIN" = x
; then
4990 case $cross_compiling:$ac_tool_warned in
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4993 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4994 ac_tool_warned
=yes ;;
4996 DUMPBIN
=$ac_ct_DUMPBIN
5000 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5002 DUMPBIN
="$DUMPBIN -symbols"
5010 if test "$DUMPBIN" != ":"; then
5014 test -z "$NM" && NM
=nm
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5022 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5023 if test "${lt_cv_nm_interface+set}" = set; then :
5024 $as_echo_n "(cached) " >&6
5026 lt_cv_nm_interface
="BSD nm"
5027 echo "int some_variable = 0;" > conftest.
$ac_ext
5028 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5029 (eval "$ac_compile" 2>conftest.err
)
5030 cat conftest.err
>&5
5031 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5032 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5033 cat conftest.err
>&5
5034 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5035 cat conftest.out
>&5
5036 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5037 lt_cv_nm_interface
="MS dumpbin"
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5042 $as_echo "$lt_cv_nm_interface" >&6; }
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5045 $as_echo_n "checking whether ln -s works... " >&6; }
5047 if test "$LN_S" = "ln -s"; then
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5049 $as_echo "yes" >&6; }
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5052 $as_echo "no, using $LN_S" >&6; }
5055 # find the maximum length of command line arguments
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5057 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5058 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5059 $as_echo_n "(cached) " >&6
5066 # On DJGPP, this test can blow up pretty badly due to problems in libc
5067 # (any single argument exceeding 2000 bytes causes a buffer overrun
5068 # during glob expansion). Even if it were fixed, the result of this
5069 # check would be larger than it should be.
5070 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5074 # Under GNU Hurd, this test is not required because there is
5075 # no limit to the length of command line arguments.
5076 # Libtool will interpret -1 as no limit whatsoever
5077 lt_cv_sys_max_cmd_len
=-1;
5080 cygwin
* | mingw
* | cegcc
*)
5081 # On Win9x/ME, this test blows up -- it succeeds, but takes
5082 # about 5 minutes as the teststring grows exponentially.
5083 # Worse, since 9x/ME are not pre-emptively multitasking,
5084 # you end up with a "frozen" computer, even though with patience
5085 # the test eventually succeeds (with a max line length of 256k).
5086 # Instead, let's just punt: use the minimum linelength reported by
5087 # all of the supported platforms: 8192 (on NT/2K/XP).
5088 lt_cv_sys_max_cmd_len
=8192;
5092 # On MiNT this can take a long time and run out of memory.
5093 lt_cv_sys_max_cmd_len
=8192;
5097 # On AmigaOS with pdksh, this test takes hours, literally.
5098 # So we just punt and use a minimum line length of 8192.
5099 lt_cv_sys_max_cmd_len
=8192;
5102 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5103 # This has been around since 386BSD, at least. Likely further.
5104 if test -x /sbin
/sysctl
; then
5105 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5106 elif test -x /usr
/sbin
/sysctl
; then
5107 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5109 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5111 # And add a safety zone
5112 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5113 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5117 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5118 lt_cv_sys_max_cmd_len
=196608
5122 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5123 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5124 # nice to cause kernel panics so lets avoid the loop below.
5125 # First set a reasonable default.
5126 lt_cv_sys_max_cmd_len
=16384
5128 if test -x /sbin
/sysconfig
; then
5129 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5130 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5135 lt_cv_sys_max_cmd_len
=102400
5137 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5138 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5139 if test -n "$kargmax"; then
5140 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5142 lt_cv_sys_max_cmd_len
=32768
5146 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5147 if test -n "$lt_cv_sys_max_cmd_len"; then
5148 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5149 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5151 # Make teststring a little bigger before we do anything with it.
5152 # a 1K string should be a reasonable start.
5153 for i
in 1 2 3 4 5 6 7 8 ; do
5154 teststring
=$teststring$teststring
5156 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5157 # If test is not a shell built-in, we'll probably end up computing a
5158 # maximum length that is only half of the actual maximum length, but
5160 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5161 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5162 test $i != 17 # 1/2 MB should be enough
5165 teststring
=$teststring$teststring
5167 # Only check the string length outside the loop.
5168 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5170 # Add a significant safety factor because C++ compilers can tack on
5171 # massive amounts of additional arguments before passing them to the
5172 # linker. It appears as though 1/2 is a usable value.
5173 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5180 if test -n $lt_cv_sys_max_cmd_len ; then
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5182 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5185 $as_echo "none" >&6; }
5187 max_cmd_len
=$lt_cv_sys_max_cmd_len
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5199 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5200 # Try some XSI features
5203 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5205 && eval 'test $(( 1 + 1 )) -eq 2 \
5206 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5209 $as_echo "$xsi_shell" >&6; }
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5213 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5215 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5217 && lt_shell_append=yes
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5219 $as_echo "$lt_shell_append" >&6; }
5222 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5232 # test EBCDIC or ASCII
5233 case `echo X|tr X '\101'` in
5234 A) # ASCII based system
5235 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5236 lt_SP2NL='tr \040 \012'
5237 lt_NL2SP='tr \015\012 \040\040'
5239 *) # EBCDIC based system
5240 lt_SP2NL='tr \100 \n'
5241 lt_NL2SP='tr \r\n \100\100'
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5254 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5255 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5256 $as_echo_n "(cached
) " >&6
5258 lt_cv_ld_reload_flag='-r'
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5261 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5262 reload_flag=$lt_cv_ld_reload_flag
5263 case $reload_flag in
5265 *) reload_flag=" $reload_flag" ;;
5267 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5270 if test "$GCC" = yes; then
5271 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5273 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5286 if test -n "$ac_tool_prefix"; then
5287 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5288 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5290 $as_echo_n "checking
for $ac_word...
" >&6; }
5291 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5292 $as_echo_n "(cached
) " >&6
5294 if test -n "$OBJDUMP"; then
5295 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5301 test -z "$as_dir" && as_dir=.
5302 for ac_exec_ext in '' $ac_executable_extensions; do
5303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5304 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5305 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5314 OBJDUMP=$ac_cv_prog_OBJDUMP
5315 if test -n "$OBJDUMP"; then
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5317 $as_echo "$OBJDUMP" >&6; }
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5320 $as_echo "no
" >&6; }
5325 if test -z "$ac_cv_prog_OBJDUMP"; then
5326 ac_ct_OBJDUMP=$OBJDUMP
5327 # Extract the first word of "objdump
", so it can be a program name with args.
5328 set dummy objdump; ac_word=$2
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5330 $as_echo_n "checking
for $ac_word...
" >&6; }
5331 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5332 $as_echo_n "(cached
) " >&6
5334 if test -n "$ac_ct_OBJDUMP"; then
5335 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5341 test -z "$as_dir" && as_dir=.
5342 for ac_exec_ext in '' $ac_executable_extensions; do
5343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5344 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5345 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5354 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5355 if test -n "$ac_ct_OBJDUMP"; then
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5357 $as_echo "$ac_ct_OBJDUMP" >&6; }
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5360 $as_echo "no
" >&6; }
5363 if test "x
$ac_ct_OBJDUMP" = x; then
5366 case $cross_compiling:$ac_tool_warned in
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5369 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5370 ac_tool_warned=yes ;;
5372 OBJDUMP=$ac_ct_OBJDUMP
5375 OBJDUMP="$ac_cv_prog_OBJDUMP"
5378 test -z "$OBJDUMP" && OBJDUMP=objdump
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5389 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5390 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5391 $as_echo_n "(cached
) " >&6
5393 lt_cv_file_magic_cmd='$MAGIC_CMD'
5394 lt_cv_file_magic_test_file=
5395 lt_cv_deplibs_check_method='unknown'
5396 # Need to set the preceding variable on all platforms that support
5397 # interlibrary dependencies.
5398 # 'none' -- dependencies not supported.
5399 # `unknown' -- same as none, but documents that we really don't know.
5400 # 'pass_all' -- all dependencies passed with no checks.
5401 # 'test_compile' -- check by making test program.
5402 # 'file_magic [[regex]]' -- check by looking for files in library path
5403 # which responds to the $file_magic_cmd with a given extended regex.
5404 # If you have `file' or equivalent on your system and you're not sure
5405 # whether `pass_all' will *always* work, you probably want this one.
5409 lt_cv_deplibs_check_method=pass_all
5413 lt_cv_deplibs_check_method=pass_all
5417 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5418 lt_cv_file_magic_cmd='/usr/bin/file -L'
5419 lt_cv_file_magic_test_file=/shlib/libc.so
5423 # func_win32_libid is a shell function defined in ltmain.sh
5424 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5425 lt_cv_file_magic_cmd='func_win32_libid'
5429 # Base MSYS/MinGW do not provide the 'file' command needed by
5430 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5431 # unless we find 'file', for example because we are cross-compiling.
5432 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5433 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5434 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5435 lt_cv_file_magic_cmd='func_win32_libid'
5437 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5438 lt_cv_file_magic_cmd='$OBJDUMP -f'
5443 # use the weaker test based on 'objdump'. See mingw*.
5444 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5445 lt_cv_file_magic_cmd='$OBJDUMP -f'
5448 darwin* | rhapsody*)
5449 lt_cv_deplibs_check_method=pass_all
5452 freebsd* | dragonfly*)
5453 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5456 # Not sure whether the presence of OpenBSD here was a mistake.
5457 # Let's accept both of them until this is cleared up.
5458 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5459 lt_cv_file_magic_cmd=/usr/bin/file
5460 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5464 lt_cv_deplibs_check_method=pass_all
5469 lt_cv_deplibs_check_method=pass_all
5473 lt_cv_deplibs_check_method=pass_all
5476 hpux10.20* | hpux11*)
5477 lt_cv_file_magic_cmd=/usr/bin/file
5480 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5481 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5484 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]'
5485 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5488 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5489 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5495 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5496 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5499 irix5* | irix6* | nonstopux*)
5501 *-32|*"-32 ") libmagic=32-bit;;
5502 *-n32|*"-n32 ") libmagic=N32;;
5503 *-64|*"-64 ") libmagic=64-bit;;
5504 *) libmagic=never-match;;
5506 lt_cv_deplibs_check_method=pass_all
5509 # This must be Linux ELF.
5510 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5511 lt_cv_deplibs_check_method=pass_all
5515 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5516 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5518 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5523 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5524 lt_cv_file_magic_cmd=/usr/bin/file
5525 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5529 lt_cv_deplibs_check_method=pass_all
5533 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5534 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5536 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5540 osf3* | osf4* | osf5*)
5541 lt_cv_deplibs_check_method=pass_all
5545 lt_cv_deplibs_check_method=pass_all
5549 lt_cv_deplibs_check_method=pass_all
5552 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5553 lt_cv_deplibs_check_method=pass_all
5557 case $host_vendor in
5559 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]'
5560 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5563 lt_cv_deplibs_check_method=pass_all
5566 lt_cv_file_magic_cmd='/bin/file'
5567 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5570 lt_cv_file_magic_cmd='/bin/file'
5571 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5572 lt_cv_file_magic_test_file=/lib/libc.so
5575 lt_cv_deplibs_check_method=pass_all
5578 lt_cv_deplibs_check_method=pass_all
5584 lt_cv_deplibs_check_method=pass_all
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5590 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5591 file_magic_cmd=$lt_cv_file_magic_cmd
5592 deplibs_check_method=$lt_cv_deplibs_check_method
5593 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5606 if test -n "$ac_tool_prefix"; then
5607 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5608 set dummy ${ac_tool_prefix}ar; ac_word=$2
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5610 $as_echo_n "checking
for $ac_word...
" >&6; }
5611 if test "${ac_cv_prog_AR+set}" = set; then :
5612 $as_echo_n "(cached
) " >&6
5614 if test -n "$AR"; then
5615 ac_cv_prog_AR="$AR" # Let the user override the test.
5617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5621 test -z "$as_dir" && as_dir=.
5622 for ac_exec_ext in '' $ac_executable_extensions; do
5623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5624 ac_cv_prog_AR="${ac_tool_prefix}ar"
5625 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5635 if test -n "$AR"; then
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5637 $as_echo "$AR" >&6; }
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5640 $as_echo "no
" >&6; }
5645 if test -z "$ac_cv_prog_AR"; then
5647 # Extract the first word of "ar", so it can be a program name with args.
5648 set dummy ar; ac_word=$2
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5650 $as_echo_n "checking
for $ac_word...
" >&6; }
5651 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5652 $as_echo_n "(cached
) " >&6
5654 if test -n "$ac_ct_AR"; then
5655 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5661 test -z "$as_dir" && as_dir=.
5662 for ac_exec_ext in '' $ac_executable_extensions; do
5663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5664 ac_cv_prog_ac_ct_AR="ar"
5665 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5674 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5675 if test -n "$ac_ct_AR"; then
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5677 $as_echo "$ac_ct_AR" >&6; }
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5680 $as_echo "no
" >&6; }
5683 if test "x
$ac_ct_AR" = x; then
5686 case $cross_compiling:$ac_tool_warned in
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5689 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5690 ac_tool_warned=yes ;;
5698 test -z "$AR" && AR=ar
5699 test -z "$AR_FLAGS" && AR_FLAGS=cru
5711 if test -n "$ac_tool_prefix"; then
5712 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5713 set dummy ${ac_tool_prefix}strip; ac_word=$2
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5715 $as_echo_n "checking
for $ac_word...
" >&6; }
5716 if test "${ac_cv_prog_STRIP+set}" = set; then :
5717 $as_echo_n "(cached
) " >&6
5719 if test -n "$STRIP"; then
5720 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5726 test -z "$as_dir" && as_dir=.
5727 for ac_exec_ext in '' $ac_executable_extensions; do
5728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5729 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5730 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5739 STRIP=$ac_cv_prog_STRIP
5740 if test -n "$STRIP"; then
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5742 $as_echo "$STRIP" >&6; }
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5745 $as_echo "no
" >&6; }
5750 if test -z "$ac_cv_prog_STRIP"; then
5752 # Extract the first word of "strip
", so it can be a program name with args.
5753 set dummy strip; ac_word=$2
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5755 $as_echo_n "checking
for $ac_word...
" >&6; }
5756 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5757 $as_echo_n "(cached
) " >&6
5759 if test -n "$ac_ct_STRIP"; then
5760 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5766 test -z "$as_dir" && as_dir=.
5767 for ac_exec_ext in '' $ac_executable_extensions; do
5768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5769 ac_cv_prog_ac_ct_STRIP="strip
"
5770 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5779 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5780 if test -n "$ac_ct_STRIP"; then
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5782 $as_echo "$ac_ct_STRIP" >&6; }
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5785 $as_echo "no
" >&6; }
5788 if test "x
$ac_ct_STRIP" = x; then
5791 case $cross_compiling:$ac_tool_warned in
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5794 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5795 ac_tool_warned=yes ;;
5800 STRIP="$ac_cv_prog_STRIP"
5803 test -z "$STRIP" && STRIP=:
5810 if test -n "$ac_tool_prefix"; then
5811 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5812 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5814 $as_echo_n "checking
for $ac_word...
" >&6; }
5815 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5816 $as_echo_n "(cached
) " >&6
5818 if test -n "$RANLIB"; then
5819 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5825 test -z "$as_dir" && as_dir=.
5826 for ac_exec_ext in '' $ac_executable_extensions; do
5827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5828 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5829 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5838 RANLIB=$ac_cv_prog_RANLIB
5839 if test -n "$RANLIB"; then
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5841 $as_echo "$RANLIB" >&6; }
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5844 $as_echo "no
" >&6; }
5849 if test -z "$ac_cv_prog_RANLIB"; then
5850 ac_ct_RANLIB=$RANLIB
5851 # Extract the first word of "ranlib
", so it can be a program name with args.
5852 set dummy ranlib; ac_word=$2
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5854 $as_echo_n "checking
for $ac_word...
" >&6; }
5855 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5856 $as_echo_n "(cached
) " >&6
5858 if test -n "$ac_ct_RANLIB"; then
5859 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5865 test -z "$as_dir" && as_dir=.
5866 for ac_exec_ext in '' $ac_executable_extensions; do
5867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5868 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5869 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5878 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5879 if test -n "$ac_ct_RANLIB"; then
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5881 $as_echo "$ac_ct_RANLIB" >&6; }
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5884 $as_echo "no
" >&6; }
5887 if test "x
$ac_ct_RANLIB" = x; then
5890 case $cross_compiling:$ac_tool_warned in
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5893 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5894 ac_tool_warned=yes ;;
5896 RANLIB=$ac_ct_RANLIB
5899 RANLIB="$ac_cv_prog_RANLIB"
5902 test -z "$RANLIB" && RANLIB=:
5909 # Determine commands to create old-style static archives.
5910 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5911 old_postinstall_cmds='chmod 644 $oldlib'
5912 old_postuninstall_cmds=
5914 if test -n "$RANLIB"; then
5917 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5920 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5923 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5928 lock_old_archive_extraction=yes ;;
5930 lock_old_archive_extraction=no ;;
5971 # If no C compiler was specified, use CC.
5974 # If no C compiler flags were specified, use CFLAGS.
5975 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5977 # Allow CC to be a program name with arguments.
5981 # Check for command to grab the raw symbol name followed by C symbol from nm.
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
5983 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5984 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5985 $as_echo_n "(cached
) " >&6
5988 # These are sane defaults that work on at least a few old systems.
5989 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5991 # Character class describing NM global symbol codes.
5992 symcode='[BCDEGRST]'
5994 # Regexp to match symbols that can be accessed directly from C.
5995 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5997 # Define system-specific variables.
6002 cygwin* | mingw* | pw32* | cegcc*)
6003 symcode='[ABCDGISTW]'
6006 if test "$host_cpu" = ia64; then
6007 symcode='[ABCDEGRST]'
6011 symcode='[BCDEGRST]'
6014 symcode='[BCDEGQRST]'
6025 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6033 # If we're using GNU nm, then use its standard symbol codes.
6034 case `$NM -V 2>&1` in
6035 *GNU* | *'with BFD'*)
6036 symcode='[ABCDGIRSTW]' ;;
6039 # Transform an extracted symbol line into a proper C declaration.
6040 # Some systems (esp. on ia64) link data and code symbols differently,
6041 # so use this general approach.
6042 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6044 # Transform an extracted symbol line into symbol name and symbol address
6045 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6046 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'"
6048 # Handle CRLF in mingw tool chain
6052 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6056 # Try without a prefix underscore, then with it.
6057 for ac_symprfx in "" "_
"; do
6059 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6060 symxfrm="\\1 $ac_symprfx\\2 \\2"
6062 # Write the raw and C identifiers.
6063 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6064 # Fake it for dumpbin and say T for any non-static function
6065 # and D for any global variable.
6066 # Also find C++ and __fastcall symbols from MSVC++,
6067 # which start with @ or ?.
6068 lt_cv_sys_global_symbol_pipe="$AWK '"\
6069 " {last_section=section; section=\$ 3};"\
6070 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6071 " \$ 0!~/External *\|/{next};"\
6072 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6073 " {if(hide[section]) next};"\
6074 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6075 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6076 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6077 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6078 " ' prfx
=^
$ac_symprfx"
6080 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6083 # Check to see that the pipe works correctly.
6087 cat > conftest.$ac_ext <<_LT_EOF
6092 void nm_test_func(void);
6093 void nm_test_func(void){}
6097 int main(){nm_test_var='a';nm_test_func();return(0);}
6100 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6101 (eval $ac_compile) 2>&5
6103 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6104 test $ac_status = 0; }; then
6105 # Now try to grab the symbols.
6107 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6108 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6110 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6111 test $ac_status = 0; } && test -s "$nlist"; then
6112 # Try sorting and uniquifying the output.
6113 if sort "$nlist" | uniq > "$nlist"T; then
6114 mv -f "$nlist"T "$nlist"
6119 # Make sure that we snagged all the symbols we need.
6120 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6121 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6122 cat <<_LT_EOF > conftest.$ac_ext
6128 # Now generate the symbol file.
6129 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6131 cat <<_LT_EOF >> conftest.$ac_ext
6133 /* The mapping between symbol names and symbols. */
6138 lt__PROGRAM__LTX_preloaded_symbols[] =
6140 { "@PROGRAM@
", (void *) 0 },
6142 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6143 cat <<\_LT_EOF >> conftest.$ac_ext
6147 /* This works around a problem in FreeBSD linker */
6148 #ifdef FREEBSD_WORKAROUND
6149 static const void *lt_preloaded_setup() {
6150 return lt__PROGRAM__LTX_preloaded_symbols;
6158 # Now try linking the two files.
6159 mv conftest.$ac_objext conftstm.$ac_objext
6160 lt_save_LIBS="$LIBS"
6161 lt_save_CFLAGS="$CFLAGS"
6162 LIBS="conftstm.
$ac_objext"
6163 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6164 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6165 (eval $ac_link) 2>&5
6167 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6168 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6171 LIBS="$lt_save_LIBS"
6172 CFLAGS="$lt_save_CFLAGS"
6174 echo "cannot
find nm_test_func
in $nlist" >&5
6177 echo "cannot
find nm_test_var
in $nlist" >&5
6180 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6183 echo "$progname: failed program was
:" >&5
6184 cat conftest.$ac_ext >&5
6186 rm -rf conftest* conftst*
6188 # Do not use the global_symbol_pipe unless it works.
6189 if test "$pipe_works" = yes; then
6192 lt_cv_sys_global_symbol_pipe=
6198 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6199 lt_cv_sys_global_symbol_to_cdecl=
6201 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6203 $as_echo "failed
" >&6; }
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6206 $as_echo "ok
" >&6; }
6231 # Check whether --enable-libtool-lock was given.
6232 if test "${enable_libtool_lock+set}" = set; then :
6233 enableval=$enable_libtool_lock;
6236 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6238 # Some flags need to be propagated to the compiler or linker for good
6242 # Find out which ABI we are using.
6243 echo 'int i;' > conftest.$ac_ext
6244 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6245 (eval $ac_compile) 2>&5
6247 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6248 test $ac_status = 0; }; then
6249 case `/usr/bin/file conftest.$ac_objext` in
6261 # Find out which ABI we are using.
6262 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6263 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6264 (eval $ac_compile) 2>&5
6266 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6267 test $ac_status = 0; }; then
6268 if test "$lt_cv_prog_gnu_ld" = yes; then
6269 case `/usr/bin/file conftest.$ac_objext` in
6271 LD="${LD-ld} -melf32bsmip"
6274 LD="${LD-ld} -melf32bmipn32"
6277 LD="${LD-ld} -melf64bmip"
6281 case `/usr/bin/file conftest.$ac_objext` in
6297 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6298 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6299 # Find out which ABI we are using.
6300 echo 'int i;' > conftest.$ac_ext
6301 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6302 (eval $ac_compile) 2>&5
6304 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6305 test $ac_status = 0; }; then
6306 case `/usr/bin/file conftest.o` in
6309 x86_64-*kfreebsd*-gnu)
6310 LD="${LD-ld} -m elf_i386_fbsd
"
6313 case `/usr/bin/file conftest.o` in
6315 LD="${LD-ld} -m elf32_x86_64
"
6318 LD="${LD-ld} -m elf_i386
"
6322 powerpc64le-*linux*)
6323 LD="${LD-ld} -m elf32lppclinux
"
6326 LD="${LD-ld} -m elf32ppclinux
"
6329 LD="${LD-ld} -m elf_s390
"
6332 LD="${LD-ld} -m elf32_sparc
"
6338 x86_64-*kfreebsd*-gnu)
6339 LD="${LD-ld} -m elf_x86_64_fbsd
"
6342 LD="${LD-ld} -m elf_x86_64
"
6345 LD="${LD-ld} -m elf64lppc
"
6348 LD="${LD-ld} -m elf64ppc
"
6350 s390*-*linux*|s390*-*tpf*)
6351 LD="${LD-ld} -m elf64_s390
"
6354 LD="${LD-ld} -m elf64_sparc
"
6364 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6365 SAVE_CFLAGS="$CFLAGS"
6366 CFLAGS="$CFLAGS -belf"
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6368 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6369 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6370 $as_echo_n "(cached
) " >&6
6373 ac_cpp='$CPP $CPPFLAGS'
6374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6379 /* end confdefs.h. */
6389 if ac_fn_c_try_link "$LINENO"; then :
6390 lt_cv_cc_needs_belf=yes
6392 lt_cv_cc_needs_belf=no
6394 rm -f core conftest.err conftest.$ac_objext \
6395 conftest$ac_exeext conftest.$ac_ext
6397 ac_cpp='$CPP $CPPFLAGS'
6398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6404 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6405 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6406 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6407 CFLAGS="$SAVE_CFLAGS"
6411 # Find out which ABI we are using.
6412 echo 'int i;' > conftest.$ac_ext
6413 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6414 (eval $ac_compile) 2>&5
6416 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6417 test $ac_status = 0; }; then
6418 case `/usr/bin/file conftest.o` in
6420 case $lt_cv_prog_gnu_ld in
6421 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6423 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6435 need_locks="$enable_libtool_lock"
6439 rhapsody* | darwin*)
6440 if test -n "$ac_tool_prefix"; then
6441 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6442 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6444 $as_echo_n "checking
for $ac_word...
" >&6; }
6445 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6446 $as_echo_n "(cached
) " >&6
6448 if test -n "$DSYMUTIL"; then
6449 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6455 test -z "$as_dir" && as_dir=.
6456 for ac_exec_ext in '' $ac_executable_extensions; do
6457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6458 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6459 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6468 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6469 if test -n "$DSYMUTIL"; then
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6471 $as_echo "$DSYMUTIL" >&6; }
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6474 $as_echo "no
" >&6; }
6479 if test -z "$ac_cv_prog_DSYMUTIL"; then
6480 ac_ct_DSYMUTIL=$DSYMUTIL
6481 # Extract the first word of "dsymutil
", so it can be a program name with args.
6482 set dummy dsymutil; ac_word=$2
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6484 $as_echo_n "checking
for $ac_word...
" >&6; }
6485 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6486 $as_echo_n "(cached
) " >&6
6488 if test -n "$ac_ct_DSYMUTIL"; then
6489 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6495 test -z "$as_dir" && as_dir=.
6496 for ac_exec_ext in '' $ac_executable_extensions; do
6497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6498 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6499 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6508 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6509 if test -n "$ac_ct_DSYMUTIL"; then
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6511 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6514 $as_echo "no
" >&6; }
6517 if test "x
$ac_ct_DSYMUTIL" = x; then
6520 case $cross_compiling:$ac_tool_warned in
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6523 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6524 ac_tool_warned=yes ;;
6526 DSYMUTIL=$ac_ct_DSYMUTIL
6529 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6532 if test -n "$ac_tool_prefix"; then
6533 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6534 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6536 $as_echo_n "checking
for $ac_word...
" >&6; }
6537 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6538 $as_echo_n "(cached
) " >&6
6540 if test -n "$NMEDIT"; then
6541 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6547 test -z "$as_dir" && as_dir=.
6548 for ac_exec_ext in '' $ac_executable_extensions; do
6549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6550 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6551 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6560 NMEDIT=$ac_cv_prog_NMEDIT
6561 if test -n "$NMEDIT"; then
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6563 $as_echo "$NMEDIT" >&6; }
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6566 $as_echo "no
" >&6; }
6571 if test -z "$ac_cv_prog_NMEDIT"; then
6572 ac_ct_NMEDIT=$NMEDIT
6573 # Extract the first word of "nmedit
", so it can be a program name with args.
6574 set dummy nmedit; ac_word=$2
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6576 $as_echo_n "checking
for $ac_word...
" >&6; }
6577 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6578 $as_echo_n "(cached
) " >&6
6580 if test -n "$ac_ct_NMEDIT"; then
6581 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6587 test -z "$as_dir" && as_dir=.
6588 for ac_exec_ext in '' $ac_executable_extensions; do
6589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6590 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6591 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6600 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6601 if test -n "$ac_ct_NMEDIT"; then
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6603 $as_echo "$ac_ct_NMEDIT" >&6; }
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6606 $as_echo "no
" >&6; }
6609 if test "x
$ac_ct_NMEDIT" = x; then
6612 case $cross_compiling:$ac_tool_warned in
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6615 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6616 ac_tool_warned=yes ;;
6618 NMEDIT=$ac_ct_NMEDIT
6621 NMEDIT="$ac_cv_prog_NMEDIT"
6624 if test -n "$ac_tool_prefix"; then
6625 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6626 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6628 $as_echo_n "checking
for $ac_word...
" >&6; }
6629 if test "${ac_cv_prog_LIPO+set}" = set; then :
6630 $as_echo_n "(cached
) " >&6
6632 if test -n "$LIPO"; then
6633 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6639 test -z "$as_dir" && as_dir=.
6640 for ac_exec_ext in '' $ac_executable_extensions; do
6641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6642 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6643 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6652 LIPO=$ac_cv_prog_LIPO
6653 if test -n "$LIPO"; then
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6655 $as_echo "$LIPO" >&6; }
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6658 $as_echo "no
" >&6; }
6663 if test -z "$ac_cv_prog_LIPO"; then
6665 # Extract the first word of "lipo
", so it can be a program name with args.
6666 set dummy lipo; ac_word=$2
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6668 $as_echo_n "checking
for $ac_word...
" >&6; }
6669 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6670 $as_echo_n "(cached
) " >&6
6672 if test -n "$ac_ct_LIPO"; then
6673 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6679 test -z "$as_dir" && as_dir=.
6680 for ac_exec_ext in '' $ac_executable_extensions; do
6681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6682 ac_cv_prog_ac_ct_LIPO="lipo
"
6683 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6692 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6693 if test -n "$ac_ct_LIPO"; then
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6695 $as_echo "$ac_ct_LIPO" >&6; }
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6698 $as_echo "no
" >&6; }
6701 if test "x
$ac_ct_LIPO" = x; then
6704 case $cross_compiling:$ac_tool_warned in
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6707 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6708 ac_tool_warned=yes ;;
6713 LIPO="$ac_cv_prog_LIPO"
6716 if test -n "$ac_tool_prefix"; then
6717 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6718 set dummy ${ac_tool_prefix}otool; ac_word=$2
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6720 $as_echo_n "checking
for $ac_word...
" >&6; }
6721 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6722 $as_echo_n "(cached
) " >&6
6724 if test -n "$OTOOL"; then
6725 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6731 test -z "$as_dir" && as_dir=.
6732 for ac_exec_ext in '' $ac_executable_extensions; do
6733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6734 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6735 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6744 OTOOL=$ac_cv_prog_OTOOL
6745 if test -n "$OTOOL"; then
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6747 $as_echo "$OTOOL" >&6; }
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6750 $as_echo "no
" >&6; }
6755 if test -z "$ac_cv_prog_OTOOL"; then
6757 # Extract the first word of "otool
", so it can be a program name with args.
6758 set dummy otool; ac_word=$2
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6760 $as_echo_n "checking
for $ac_word...
" >&6; }
6761 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6762 $as_echo_n "(cached
) " >&6
6764 if test -n "$ac_ct_OTOOL"; then
6765 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6771 test -z "$as_dir" && as_dir=.
6772 for ac_exec_ext in '' $ac_executable_extensions; do
6773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6774 ac_cv_prog_ac_ct_OTOOL="otool
"
6775 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6784 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6785 if test -n "$ac_ct_OTOOL"; then
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6787 $as_echo "$ac_ct_OTOOL" >&6; }
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6790 $as_echo "no
" >&6; }
6793 if test "x
$ac_ct_OTOOL" = x; then
6796 case $cross_compiling:$ac_tool_warned in
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6799 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6800 ac_tool_warned=yes ;;
6805 OTOOL="$ac_cv_prog_OTOOL"
6808 if test -n "$ac_tool_prefix"; then
6809 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6810 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6812 $as_echo_n "checking
for $ac_word...
" >&6; }
6813 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6814 $as_echo_n "(cached
) " >&6
6816 if test -n "$OTOOL64"; then
6817 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6823 test -z "$as_dir" && as_dir=.
6824 for ac_exec_ext in '' $ac_executable_extensions; do
6825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6826 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6827 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6836 OTOOL64=$ac_cv_prog_OTOOL64
6837 if test -n "$OTOOL64"; then
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
6839 $as_echo "$OTOOL64" >&6; }
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6842 $as_echo "no
" >&6; }
6847 if test -z "$ac_cv_prog_OTOOL64"; then
6848 ac_ct_OTOOL64=$OTOOL64
6849 # Extract the first word of "otool64
", so it can be a program name with args.
6850 set dummy otool64; ac_word=$2
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6852 $as_echo_n "checking
for $ac_word...
" >&6; }
6853 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6854 $as_echo_n "(cached
) " >&6
6856 if test -n "$ac_ct_OTOOL64"; then
6857 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6863 test -z "$as_dir" && as_dir=.
6864 for ac_exec_ext in '' $ac_executable_extensions; do
6865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6866 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6867 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6876 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6877 if test -n "$ac_ct_OTOOL64"; then
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
6879 $as_echo "$ac_ct_OTOOL64" >&6; }
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6882 $as_echo "no
" >&6; }
6885 if test "x
$ac_ct_OTOOL64" = x; then
6888 case $cross_compiling:$ac_tool_warned in
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6891 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6892 ac_tool_warned=yes ;;
6894 OTOOL64=$ac_ct_OTOOL64
6897 OTOOL64="$ac_cv_prog_OTOOL64"
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
6927 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6928 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6929 $as_echo_n "(cached
) " >&6
6931 lt_cv_apple_cc_single_mod=no
6932 if test -z "${LT_MULTI_MODULE}"; then
6933 # By default we will add the -single_module flag. You can override
6934 # by either setting the environment variable LT_MULTI_MODULE
6935 # non-empty at configure time, or by adding -multi_module to the
6937 rm -rf libconftest.dylib*
6938 echo "int foo
(void
){return 1;}" > conftest.c
6939 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6940 -dynamiclib -Wl,-single_module conftest.c
" >&5
6941 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6942 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6944 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6945 lt_cv_apple_cc_single_mod=yes
6947 cat conftest.err >&5
6949 rm -rf libconftest.dylib*
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
6954 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
6956 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6957 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6958 $as_echo_n "(cached
) " >&6
6960 lt_cv_ld_exported_symbols_list=no
6961 save_LDFLAGS=$LDFLAGS
6962 echo "_main
" > conftest.sym
6963 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6965 /* end confdefs.h. */
6975 if ac_fn_c_try_link "$LINENO"; then :
6976 lt_cv_ld_exported_symbols_list=yes
6978 lt_cv_ld_exported_symbols_list=no
6980 rm -f core conftest.err conftest.$ac_objext \
6981 conftest$ac_exeext conftest.$ac_ext
6982 LDFLAGS="$save_LDFLAGS"
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
6986 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
6988 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
6989 if test "${lt_cv_ld_force_load+set}" = set; then :
6990 $as_echo_n "(cached
) " >&6
6992 lt_cv_ld_force_load=no
6993 cat > conftest.c << _LT_EOF
6994 int forced_loaded() { return 2;}
6996 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
6997 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6998 echo "$AR cru libconftest.a conftest.o
" >&5
6999 $AR cru libconftest.a conftest.o 2>&5
7000 cat > conftest.c << _LT_EOF
7001 int main() { return 0;}
7003 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7004 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7006 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7007 lt_cv_ld_force_load=yes
7009 cat conftest.err >&5
7011 rm -f conftest.err libconftest.a conftest conftest.c
7012 rm -rf conftest.dSYM
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7016 $as_echo "$lt_cv_ld_force_load" >&6; }
7018 rhapsody* | darwin1.[012])
7019 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7021 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7022 darwin*) # darwin 5.x on
7023 # if running on 10.5 or later, the deployment target defaults
7024 # to the OS version, if on x86, and 10.4, the deployment
7025 # target defaults to 10.4. Don't you love it?
7026 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7027 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7028 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7030 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7032 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7036 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7037 _lt_dar_single_mod='$single_module'
7039 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7040 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7042 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7044 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7045 _lt_dsymutil='~$DSYMUTIL $lib || :'
7053 ac_cpp='$CPP $CPPFLAGS'
7054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7058 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7059 # On Suns, sometimes $CPP names a directory.
7060 if test -n "$CPP" && test -d "$CPP"; then
7063 if test -z "$CPP"; then
7064 if test "${ac_cv_prog_CPP+set}" = set; then :
7065 $as_echo_n "(cached
) " >&6
7067 # Double quotes because CPP needs to be expanded
7068 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7071 for ac_c_preproc_warn_flag in '' yes
7073 # Use a header file that comes with gcc, so configuring glibc
7074 # with a fresh cross-compiler works.
7075 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7076 # <limits.h> exists even on freestanding compilers.
7077 # On the NeXT, cc -E runs the code through the compiler's parser,
7078 # not just through cpp. "Syntax error
" is here to catch this case.
7079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7080 /* end confdefs.h. */
7082 # include <limits.h>
7084 # include <assert.h>
7088 if ac_fn_c_try_cpp "$LINENO"; then :
7091 # Broken: fails on valid input.
7094 rm -f conftest.err conftest.$ac_ext
7096 # OK, works on sane cases. Now check whether nonexistent headers
7097 # can be detected and how.
7098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7099 /* end confdefs.h. */
7100 #include <ac_nonexistent.h>
7102 if ac_fn_c_try_cpp "$LINENO"; then :
7103 # Broken: success on invalid input.
7106 # Passes both tests.
7110 rm -f conftest.err conftest.$ac_ext
7113 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7114 rm -f conftest.err conftest.$ac_ext
7115 if $ac_preproc_ok; then :
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7128 $as_echo "$CPP" >&6; }
7130 for ac_c_preproc_warn_flag in '' yes
7132 # Use a header file that comes with gcc, so configuring glibc
7133 # with a fresh cross-compiler works.
7134 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7135 # <limits.h> exists even on freestanding compilers.
7136 # On the NeXT, cc -E runs the code through the compiler's parser,
7137 # not just through cpp. "Syntax error
" is here to catch this case.
7138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7139 /* end confdefs.h. */
7141 # include <limits.h>
7143 # include <assert.h>
7147 if ac_fn_c_try_cpp "$LINENO"; then :
7150 # Broken: fails on valid input.
7153 rm -f conftest.err conftest.$ac_ext
7155 # OK, works on sane cases. Now check whether nonexistent headers
7156 # can be detected and how.
7157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7158 /* end confdefs.h. */
7159 #include <ac_nonexistent.h>
7161 if ac_fn_c_try_cpp "$LINENO"; then :
7162 # Broken: success on invalid input.
7165 # Passes both tests.
7169 rm -f conftest.err conftest.$ac_ext
7172 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7173 rm -f conftest.err conftest.$ac_ext
7174 if $ac_preproc_ok; then :
7177 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7178 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7179 as_fn_error "C preprocessor \"$CPP\" fails sanity check
7180 See \`config.log' for more details.
" "$LINENO" 5; }
7184 ac_cpp='$CPP $CPPFLAGS'
7185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7191 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7192 if test "${ac_cv_header_stdc+set}" = set; then :
7193 $as_echo_n "(cached
) " >&6
7195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7196 /* end confdefs.h. */
7210 if ac_fn_c_try_compile "$LINENO"; then :
7211 ac_cv_header_stdc=yes
7213 ac_cv_header_stdc=no
7215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7217 if test $ac_cv_header_stdc = yes; then
7218 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7220 /* end confdefs.h. */
7224 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7225 $EGREP "memchr
" >/dev/null 2>&1; then :
7228 ac_cv_header_stdc=no
7234 if test $ac_cv_header_stdc = yes; then
7235 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7237 /* end confdefs.h. */
7241 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7242 $EGREP "free
" >/dev/null 2>&1; then :
7245 ac_cv_header_stdc=no
7251 if test $ac_cv_header_stdc = yes; then
7252 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7253 if test "$cross_compiling" = yes; then :
7256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7257 /* end confdefs.h. */
7260 #if ((' ' & 0x0FF) == 0x020)
7261 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7262 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7264 # define ISLOWER(c) \
7265 (('a' <= (c) && (c) <= 'i') \
7266 || ('j' <= (c) && (c) <= 'r') \
7267 || ('s' <= (c) && (c) <= 'z'))
7268 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7271 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7276 for (i = 0; i < 256; i++)
7277 if (XOR (islower (i), ISLOWER (i))
7278 || toupper (i) != TOUPPER (i))
7283 if ac_fn_c_try_run "$LINENO"; then :
7286 ac_cv_header_stdc=no
7288 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7289 conftest.$ac_objext conftest.beam conftest.$ac_ext
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7295 $as_echo "$ac_cv_header_stdc" >&6; }
7296 if test $ac_cv_header_stdc = yes; then
7298 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7302 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7303 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7304 inttypes.h stdint.h unistd.h
7306 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7307 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7309 eval as_val
=\$
$as_ac_Header
7310 if test "x$as_val" = x
""yes; then :
7311 cat >>confdefs.h
<<_ACEOF
7312 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7320 for ac_header
in dlfcn.h
7322 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7324 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7325 cat >>confdefs.h
<<_ACEOF
7326 #define HAVE_DLFCN_H 1
7346 # Check whether --enable-shared was given.
7347 if test "${enable_shared+set}" = set; then :
7348 enableval
=$enable_shared; p
=${PACKAGE-default}
7350 yes) enable_shared
=yes ;;
7351 no
) enable_shared
=no
;;
7354 # Look at the argument we got. We use all the common list separators.
7355 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7356 for pkg
in $enableval; do
7358 if test "X$pkg" = "X$p"; then
7377 # Check whether --enable-static was given.
7378 if test "${enable_static+set}" = set; then :
7379 enableval
=$enable_static; p
=${PACKAGE-default}
7381 yes) enable_static
=yes ;;
7382 no
) enable_static
=no
;;
7385 # Look at the argument we got. We use all the common list separators.
7386 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7387 for pkg
in $enableval; do
7389 if test "X$pkg" = "X$p"; then
7409 # Check whether --with-pic was given.
7410 if test "${with_pic+set}" = set; then :
7411 withval
=$with_pic; pic_mode
="$withval"
7417 test -z "$pic_mode" && pic_mode
=default
7425 # Check whether --enable-fast-install was given.
7426 if test "${enable_fast_install+set}" = set; then :
7427 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7429 yes) enable_fast_install
=yes ;;
7430 no
) enable_fast_install
=no
;;
7432 enable_fast_install
=no
7433 # Look at the argument we got. We use all the common list separators.
7434 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7435 for pkg
in $enableval; do
7437 if test "X$pkg" = "X$p"; then
7438 enable_fast_install
=yes
7445 enable_fast_install
=yes
7458 # This can be used to rebuild libtool when needed
7459 LIBTOOL_DEPS
="$ltmain"
7461 # Always use our own libtool.
7462 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7489 test -z "$LN_S" && LN_S
="ln -s"
7504 if test -n "${ZSH_VERSION+set}" ; then
7505 setopt NO_GLOB_SUBST
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7509 $as_echo_n "checking for objdir... " >&6; }
7510 if test "${lt_cv_objdir+set}" = set; then :
7511 $as_echo_n "(cached) " >&6
7513 rm -f .libs
2>/dev
/null
7514 mkdir .libs
2>/dev
/null
7515 if test -d .libs
; then
7518 # MS-DOS does not allow filenames that begin with a dot.
7521 rmdir .libs
2>/dev
/null
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7524 $as_echo "$lt_cv_objdir" >&6; }
7525 objdir
=$lt_cv_objdir
7531 cat >>confdefs.h
<<_ACEOF
7532 #define LT_OBJDIR "$lt_cv_objdir/"
7540 # AIX sometimes has problems with the GCC collect2 program. For some
7541 # reason, if we set the COLLECT_NAMES environment variable, the problems
7542 # vanish in a puff of smoke.
7543 if test "X${COLLECT_NAMES+set}" != Xset
; then
7545 export COLLECT_NAMES
7552 can_build_shared
=yes
7554 # All known linkers require a `.a' archive for static linking (except MSVC,
7555 # which needs '.lib').
7558 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7561 old_CFLAGS
="$CFLAGS"
7563 # Set sane defaults for various variables
7564 test -z "$CC" && CC
=cc
7565 test -z "$LTCC" && LTCC
=$CC
7566 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7567 test -z "$LD" && LD
=ld
7568 test -z "$ac_objext" && ac_objext
=o
7570 for cc_temp
in $compiler""; do
7572 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7573 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7578 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7581 # Only perform the check for file, if the check method requires it
7582 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7583 case $deplibs_check_method in
7585 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7587 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7588 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7589 $as_echo_n "(cached) " >&6
7593 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7596 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7597 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7598 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7599 for ac_dir
in $ac_dummy; do
7601 test -z "$ac_dir" && ac_dir
=.
7602 if test -f $ac_dir/${ac_tool_prefix}file; then
7603 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7604 if test -n "$file_magic_test_file"; then
7605 case $deplibs_check_method in
7607 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7608 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7609 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7610 $EGREP "$file_magic_regex" > /dev
/null
; then
7615 *** Warning: the command libtool uses to detect shared libraries,
7616 *** $file_magic_cmd, produces output that libtool cannot recognize.
7617 *** The result is that libtool may fail to recognize shared libraries
7618 *** as such. This will affect the creation of libtool libraries that
7619 *** depend on shared libraries, but programs linked with such libtool
7620 *** libraries will work regardless of this problem. Nevertheless, you
7621 *** may want to report the problem to your system manager and/or to
7622 *** bug-libtool@gnu.org
7632 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7637 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7638 if test -n "$MAGIC_CMD"; then
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7640 $as_echo "$MAGIC_CMD" >&6; }
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7643 $as_echo "no" >&6; }
7650 if test -z "$lt_cv_path_MAGIC_CMD"; then
7651 if test -n "$ac_tool_prefix"; then
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7653 $as_echo_n "checking for file... " >&6; }
7654 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7655 $as_echo_n "(cached) " >&6
7659 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7662 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7663 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7664 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7665 for ac_dir
in $ac_dummy; do
7667 test -z "$ac_dir" && ac_dir
=.
7668 if test -f $ac_dir/file; then
7669 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7670 if test -n "$file_magic_test_file"; then
7671 case $deplibs_check_method in
7673 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7674 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7675 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7676 $EGREP "$file_magic_regex" > /dev
/null
; then
7681 *** Warning: the command libtool uses to detect shared libraries,
7682 *** $file_magic_cmd, produces output that libtool cannot recognize.
7683 *** The result is that libtool may fail to recognize shared libraries
7684 *** as such. This will affect the creation of libtool libraries that
7685 *** depend on shared libraries, but programs linked with such libtool
7686 *** libraries will work regardless of this problem. Nevertheless, you
7687 *** may want to report the problem to your system manager and/or to
7688 *** bug-libtool@gnu.org
7698 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7703 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7704 if test -n "$MAGIC_CMD"; then
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7706 $as_echo "$MAGIC_CMD" >&6; }
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7709 $as_echo "no" >&6; }
7722 # Use C for the default configuration in the libtool script
7726 ac_cpp
='$CPP $CPPFLAGS'
7727 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7728 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7729 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7732 # Source file extension for C test sources.
7735 # Object file extension for compiled C test sources.
7739 # Code to be used in simple compile tests
7740 lt_simple_compile_test_code
="int some_variable = 0;"
7742 # Code to be used in simple link tests
7743 lt_simple_link_test_code
='int main(){return(0);}'
7751 # If no C compiler was specified, use CC.
7754 # If no C compiler flags were specified, use CFLAGS.
7755 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7757 # Allow CC to be a program name with arguments.
7760 # Save the default compiler, since it gets overwritten when the other
7761 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7762 compiler_DEFAULT
=$CC
7764 # save warnings/boilerplate of simple test code
7765 ac_outfile
=conftest.
$ac_objext
7766 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7767 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7768 _lt_compiler_boilerplate
=`cat conftest.err`
7771 ac_outfile
=conftest.
$ac_objext
7772 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7773 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7774 _lt_linker_boilerplate
=`cat conftest.err`
7779 ## There is no encapsulation within the following macros, do not change
7780 ## the running order or otherwise move them around unless you know exactly
7781 ## what you are doing...
7782 if test -n "$compiler"; then
7784 lt_prog_compiler_no_builtin_flag
=
7786 if test "$GCC" = yes; then
7787 case $cc_basename in
7789 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7791 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7795 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7796 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7797 $as_echo_n "(cached) " >&6
7799 lt_cv_prog_compiler_rtti_exceptions
=no
7800 ac_outfile
=conftest.
$ac_objext
7801 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7802 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7803 # Insert the option either (1) after the last *FLAGS variable, or
7804 # (2) before a word containing "conftest.", or (3) at the end.
7805 # Note that $ac_compile itself does not contain backslashes and begins
7806 # with a dollar sign (not a hyphen), so the echo should work correctly.
7807 # The option is referenced via a variable to avoid confusing sed.
7808 lt_compile
=`echo "$ac_compile" | $SED \
7809 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7810 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7811 -e 's:$: $lt_compiler_flag:'`
7812 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7813 (eval "$lt_compile" 2>conftest.err
)
7815 cat conftest.err
>&5
7816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7817 if (exit $ac_status) && test -s "$ac_outfile"; then
7818 # The compiler can only warn and ignore the option if not recognized
7819 # So say no if there are warnings other than the usual output.
7820 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7821 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7822 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7823 lt_cv_prog_compiler_rtti_exceptions
=yes
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7830 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7832 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7833 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7845 lt_prog_compiler_wl
=
7846 lt_prog_compiler_pic
=
7847 lt_prog_compiler_static
=
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7850 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7852 if test "$GCC" = yes; then
7853 lt_prog_compiler_wl
='-Wl,'
7854 lt_prog_compiler_static
='-static'
7858 # All AIX code is PIC.
7859 if test "$host_cpu" = ia64
; then
7860 # AIX 5 now supports IA64 processor
7861 lt_prog_compiler_static
='-Bstatic'
7863 lt_prog_compiler_pic
='-fPIC'
7869 # see comment about AmigaOS4 .so support
7870 lt_prog_compiler_pic
='-fPIC'
7873 # FIXME: we need at least 68020 code to build shared libraries, but
7874 # adding the `-m68020' flag to GCC prevents building anything better,
7876 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7881 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7882 # PIC is the default for these OSes.
7885 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7886 # This hack is so that the source file can tell whether it is being
7887 # built for inclusion in a dll (and should export symbols for example).
7888 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7889 # (--disable-auto-import) libraries
7890 lt_prog_compiler_pic
='-DDLL_EXPORT'
7893 darwin
* | rhapsody
*)
7894 # PIC is the default on this platform
7895 # Common symbols not allowed in MH_DYLIB files
7896 lt_prog_compiler_pic
='-fno-common'
7900 # PIC is the default for Haiku.
7901 # The "-static" flag exists, but is broken.
7902 lt_prog_compiler_static
=
7906 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7907 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7908 # sets the default TLS model and affects inlining.
7914 lt_prog_compiler_pic
='-fPIC'
7920 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7921 # Instead, we relocate shared libraries at runtime.
7925 # Just because we use GCC doesn't mean we suddenly get shared libraries
7926 # on systems that don't support them.
7927 lt_prog_compiler_can_build_shared
=no
7932 # QNX uses GNU C++, but need to define -shared option too, otherwise
7934 lt_prog_compiler_pic
='-fPIC -shared'
7938 if test -d /usr
/nec
; then
7939 lt_prog_compiler_pic
=-Kconform_pic
7944 lt_prog_compiler_pic
='-fPIC'
7948 case $cc_basename in
7949 nvcc
*) # Cuda Compiler Driver 2.2
7950 lt_prog_compiler_wl
='-Xlinker '
7951 lt_prog_compiler_pic
='-Xcompiler -fPIC'
7955 # PORTME Check for flag to pass linker flags through the system compiler.
7958 lt_prog_compiler_wl
='-Wl,'
7959 if test "$host_cpu" = ia64
; then
7960 # AIX 5 now supports IA64 processor
7961 lt_prog_compiler_static
='-Bstatic'
7963 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7967 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7968 # This hack is so that the source file can tell whether it is being
7969 # built for inclusion in a dll (and should export symbols for example).
7970 lt_prog_compiler_pic
='-DDLL_EXPORT'
7973 hpux9
* | hpux10
* | hpux11
*)
7974 lt_prog_compiler_wl
='-Wl,'
7975 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7982 lt_prog_compiler_pic
='+Z'
7985 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7986 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7989 irix5
* | irix6
* | nonstopux
*)
7990 lt_prog_compiler_wl
='-Wl,'
7991 # PIC (with -KPIC) is the default.
7992 lt_prog_compiler_static
='-non_shared'
7995 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7996 case $cc_basename in
7997 # old Intel for x86_64 which still supported -KPIC.
7999 lt_prog_compiler_wl
='-Wl,'
8000 lt_prog_compiler_pic
='-KPIC'
8001 lt_prog_compiler_static
='-static'
8003 # icc used to be incompatible with GCC.
8004 # ICC 10 doesn't accept -KPIC any more.
8006 lt_prog_compiler_wl
='-Wl,'
8007 lt_prog_compiler_pic
='-fPIC'
8008 lt_prog_compiler_static
='-static'
8010 # Lahey Fortran 8.1.
8012 lt_prog_compiler_wl
='-Wl,'
8013 lt_prog_compiler_pic
='--shared'
8014 lt_prog_compiler_static
='--static'
8016 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8017 # Portland Group compilers (*not* the Pentium gcc compiler,
8018 # which looks to be a dead project)
8019 lt_prog_compiler_wl
='-Wl,'
8020 lt_prog_compiler_pic
='-fpic'
8021 lt_prog_compiler_static
='-Bstatic'
8024 lt_prog_compiler_wl
='-Wl,'
8025 # All Alpha code is PIC.
8026 lt_prog_compiler_static
='-non_shared'
8028 xl
* | bgxl
* | bgf
* | mpixl
*)
8029 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8030 lt_prog_compiler_wl
='-Wl,'
8031 lt_prog_compiler_pic
='-qpic'
8032 lt_prog_compiler_static
='-qstaticlink'
8035 case `$CC -V 2>&1 | sed 5q` in
8036 *Sun\ F
* |
*Sun
*Fortran
*)
8037 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8038 lt_prog_compiler_pic
='-KPIC'
8039 lt_prog_compiler_static
='-Bstatic'
8040 lt_prog_compiler_wl
=''
8044 lt_prog_compiler_pic
='-KPIC'
8045 lt_prog_compiler_static
='-Bstatic'
8046 lt_prog_compiler_wl
='-Wl,'
8054 lt_prog_compiler_pic
='-KPIC'
8055 lt_prog_compiler_static
='-Bstatic'
8059 # QNX uses GNU C++, but need to define -shared option too, otherwise
8061 lt_prog_compiler_pic
='-fPIC -shared'
8064 osf3
* | osf4
* | osf5
*)
8065 lt_prog_compiler_wl
='-Wl,'
8066 # All OSF/1 code is PIC.
8067 lt_prog_compiler_static
='-non_shared'
8071 lt_prog_compiler_static
='-non_shared'
8075 lt_prog_compiler_pic
='-KPIC'
8076 lt_prog_compiler_static
='-Bstatic'
8077 case $cc_basename in
8079 lt_prog_compiler_wl
='-Qoption ld ';;
8081 lt_prog_compiler_wl
='-Wl,';;
8086 lt_prog_compiler_wl
='-Qoption ld '
8087 lt_prog_compiler_pic
='-PIC'
8088 lt_prog_compiler_static
='-Bstatic'
8091 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8092 lt_prog_compiler_wl
='-Wl,'
8093 lt_prog_compiler_pic
='-KPIC'
8094 lt_prog_compiler_static
='-Bstatic'
8098 if test -d /usr
/nec
;then
8099 lt_prog_compiler_pic
='-Kconform_pic'
8100 lt_prog_compiler_static
='-Bstatic'
8104 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8105 lt_prog_compiler_wl
='-Wl,'
8106 lt_prog_compiler_pic
='-KPIC'
8107 lt_prog_compiler_static
='-Bstatic'
8111 lt_prog_compiler_wl
='-Wl,'
8112 lt_prog_compiler_can_build_shared
=no
8116 lt_prog_compiler_pic
='-pic'
8117 lt_prog_compiler_static
='-Bstatic'
8121 lt_prog_compiler_can_build_shared
=no
8127 # For platforms which do not support PIC, -DPIC is meaningless:
8129 lt_prog_compiler_pic
=
8132 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8136 $as_echo "$lt_prog_compiler_pic" >&6; }
8144 # Check to make sure the PIC flag actually works.
8146 if test -n "$lt_prog_compiler_pic"; then
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8148 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8149 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8150 $as_echo_n "(cached) " >&6
8152 lt_cv_prog_compiler_pic_works
=no
8153 ac_outfile
=conftest.
$ac_objext
8154 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8155 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8156 # Insert the option either (1) after the last *FLAGS variable, or
8157 # (2) before a word containing "conftest.", or (3) at the end.
8158 # Note that $ac_compile itself does not contain backslashes and begins
8159 # with a dollar sign (not a hyphen), so the echo should work correctly.
8160 # The option is referenced via a variable to avoid confusing sed.
8161 lt_compile
=`echo "$ac_compile" | $SED \
8162 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8163 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8164 -e 's:$: $lt_compiler_flag:'`
8165 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8166 (eval "$lt_compile" 2>conftest.err
)
8168 cat conftest.err
>&5
8169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8170 if (exit $ac_status) && test -s "$ac_outfile"; then
8171 # The compiler can only warn and ignore the option if not recognized
8172 # So say no if there are warnings other than the usual output.
8173 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8174 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8175 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8176 lt_cv_prog_compiler_pic_works
=yes
8182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8183 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8185 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8186 case $lt_prog_compiler_pic in
8188 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8191 lt_prog_compiler_pic
=
8192 lt_prog_compiler_can_build_shared
=no
8203 # Check to make sure the static flag actually works.
8205 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8207 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8208 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8209 $as_echo_n "(cached) " >&6
8211 lt_cv_prog_compiler_static_works
=no
8212 save_LDFLAGS
="$LDFLAGS"
8213 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8214 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8215 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8216 # The linker can only warn and ignore the option if not recognized
8217 # So say no if there are warnings
8218 if test -s conftest.err
; then
8219 # Append any errors to the config.log.
8220 cat conftest.err
1>&5
8221 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8222 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8223 if diff conftest.exp conftest.er2
>/dev
/null
; then
8224 lt_cv_prog_compiler_static_works
=yes
8227 lt_cv_prog_compiler_static_works
=yes
8231 LDFLAGS
="$save_LDFLAGS"
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8235 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8237 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8240 lt_prog_compiler_static
=
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8250 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8251 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8252 $as_echo_n "(cached) " >&6
8254 lt_cv_prog_compiler_c_o
=no
8255 $RM -r conftest
2>/dev
/null
8259 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8261 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8262 # Insert the option either (1) after the last *FLAGS variable, or
8263 # (2) before a word containing "conftest.", or (3) at the end.
8264 # Note that $ac_compile itself does not contain backslashes and begins
8265 # with a dollar sign (not a hyphen), so the echo should work correctly.
8266 lt_compile
=`echo "$ac_compile" | $SED \
8267 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8268 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8269 -e 's:$: $lt_compiler_flag:'`
8270 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8271 (eval "$lt_compile" 2>out
/conftest.err
)
8273 cat out
/conftest.err
>&5
8274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8275 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8277 # The compiler can only warn and ignore the option if not recognized
8278 # So say no if there are warnings
8279 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8280 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8281 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8282 lt_cv_prog_compiler_c_o
=yes
8287 # SGI C++ compiler will create directory out/ii_files/ for
8288 # template instantiation
8289 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8290 $RM out
/* && rmdir out
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8297 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8305 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8306 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8307 $as_echo_n "(cached) " >&6
8309 lt_cv_prog_compiler_c_o
=no
8310 $RM -r conftest
2>/dev
/null
8314 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8316 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8317 # Insert the option either (1) after the last *FLAGS variable, or
8318 # (2) before a word containing "conftest.", or (3) at the end.
8319 # Note that $ac_compile itself does not contain backslashes and begins
8320 # with a dollar sign (not a hyphen), so the echo should work correctly.
8321 lt_compile
=`echo "$ac_compile" | $SED \
8322 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8323 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8324 -e 's:$: $lt_compiler_flag:'`
8325 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8326 (eval "$lt_compile" 2>out
/conftest.err
)
8328 cat out
/conftest.err
>&5
8329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8330 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8332 # The compiler can only warn and ignore the option if not recognized
8333 # So say no if there are warnings
8334 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8335 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8336 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8337 lt_cv_prog_compiler_c_o
=yes
8342 # SGI C++ compiler will create directory out/ii_files/ for
8343 # template instantiation
8344 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8345 $RM out
/* && rmdir out
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8352 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8357 hard_links
="nottested"
8358 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8359 # do not overwrite the value of need_locks provided by the user
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8361 $as_echo_n "checking if we can lock with hard links... " >&6; }
8364 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8366 ln conftest.a conftest.b
2>&5 || hard_links
=no
8367 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8369 $as_echo "$hard_links" >&6; }
8370 if test "$hard_links" = no
; then
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8372 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8385 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8388 allow_undefined_flag
=
8389 always_export_symbols
=no
8391 archive_expsym_cmds
=
8392 compiler_needs_object
=no
8393 enable_shared_with_static_runtimes
=no
8394 export_dynamic_flag_spec
=
8395 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8396 hardcode_automatic
=no
8398 hardcode_direct_absolute
=no
8399 hardcode_libdir_flag_spec
=
8400 hardcode_libdir_flag_spec_ld
=
8401 hardcode_libdir_separator
=
8403 hardcode_shlibpath_var
=unsupported
8405 link_all_deplibs
=unknown
8408 old_archive_from_new_cmds
=
8409 old_archive_from_expsyms_cmds
=
8410 thread_safe_flag_spec
=
8411 whole_archive_flag_spec
=
8412 # include_expsyms should be a list of space-separated symbols to be *always*
8413 # included in the symbol list
8415 # exclude_expsyms can be an extended regexp of symbols to exclude
8416 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8417 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8418 # as well as any symbol that contains `d'.
8419 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8420 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8421 # platforms (ab)use it in PIC code, but their linkers get confused if
8422 # the symbol is explicitly referenced. Since portable code cannot
8423 # rely on this symbol name, it's probably fine to never include it in
8424 # preloaded symbol tables.
8425 # Exclude shared library initialization/finalization symbols.
8426 extract_expsyms_cmds
=
8429 cygwin
* | mingw
* | pw32
* | cegcc
*)
8430 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8431 # When not using gcc, we currently assume that we are using
8432 # Microsoft Visual C++.
8433 if test "$GCC" != yes; then
8438 # we just hope/assume this is gcc and not c89 (= MSVC++)
8448 # On some targets, GNU ld is compatible enough with the native linker
8449 # that we're better off using the native interface for both.
8450 lt_use_gnu_ld_interface
=no
8451 if test "$with_gnu_ld" = yes; then
8454 # The AIX port of GNU ld has always aspired to compatibility
8455 # with the native linker. However, as the warning in the GNU ld
8456 # block says, versions before 2.19.5* couldn't really create working
8457 # shared libraries, regardless of the interface used.
8458 case `$LD -v 2>&1` in
8459 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8460 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8461 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8463 lt_use_gnu_ld_interface
=yes
8468 lt_use_gnu_ld_interface
=yes
8473 if test "$lt_use_gnu_ld_interface" = yes; then
8474 # If archive_cmds runs LD, not CC, wlarc should be empty
8477 # Set some defaults for GNU ld with shared library support. These
8478 # are reset later if shared libraries are not supported. Putting them
8479 # here allows them to be overridden if necessary.
8480 runpath_var
=LD_RUN_PATH
8481 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8482 export_dynamic_flag_spec
='${wl}--export-dynamic'
8483 # ancient GNU ld didn't support --whole-archive et. al.
8484 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8485 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8487 whole_archive_flag_spec
=
8489 supports_anon_versioning
=no
8490 case `$LD -v 2>&1` in
8491 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8492 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8493 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8494 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8495 *\
2.11.
*) ;; # other 2.11 versions
8496 *) supports_anon_versioning
=yes ;;
8499 # See if GNU ld supports shared libraries.
8502 # On AIX/PPC, the GNU linker is very broken
8503 if test "$host_cpu" != ia64
; then
8507 *** Warning: the GNU linker, at least up to release 2.19, is reported
8508 *** to be unable to reliably create shared libraries on AIX.
8509 *** Therefore, libtool is disabling shared libraries support. If you
8510 *** really care for shared libraries, you may want to install binutils
8511 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8512 *** You will then need to restart the configuration process.
8521 # see comment about AmigaOS4 .so support
8522 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8523 archive_expsym_cmds
=''
8526 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)'
8527 hardcode_libdir_flag_spec
='-L$libdir'
8528 hardcode_minus_L
=yes
8534 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8535 allow_undefined_flag
=unsupported
8536 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8537 # support --undefined. This deserves some investigation. FIXME
8538 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8544 cygwin
* | mingw
* | pw32
* | cegcc
*)
8545 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8546 # as there is no search path for DLLs.
8547 hardcode_libdir_flag_spec
='-L$libdir'
8548 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8549 allow_undefined_flag
=unsupported
8550 always_export_symbols
=no
8551 enable_shared_with_static_runtimes
=yes
8552 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8554 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8555 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8556 # If the export-symbols file already is a .def file (1st line
8557 # is EXPORTS), use it as is; otherwise, prepend...
8558 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8559 cp $export_symbols $output_objdir/$soname.def;
8561 echo EXPORTS > $output_objdir/$soname.def;
8562 cat $export_symbols >> $output_objdir/$soname.def;
8564 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8571 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8572 link_all_deplibs
=yes
8577 hardcode_shlibpath_var
=no
8578 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8579 export_dynamic_flag_spec
='${wl}-E'
8580 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8581 # Instead, shared libraries are loaded at an image base (0x10000000 by
8582 # default) and relocated if they conflict, which is a slow very memory
8583 # consuming and fragmenting process. To avoid this, we pick a random,
8584 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8585 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8586 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8587 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'
8590 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8592 if test "$host_os" = linux-dietlibc
; then
8593 case $cc_basename in
8594 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8597 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8598 && test "$tmp_diet" = no
8601 tmp_sharedflag
='-shared'
8602 case $cc_basename,$host_cpu in
8603 pgcc
*) # Portland Group C compiler
8604 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'
8605 tmp_addflag
=' $pic_flag'
8607 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8608 # Portland Group f77 and f90 compilers
8609 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'
8610 tmp_addflag
=' $pic_flag -Mnomain' ;;
8611 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8612 tmp_addflag
=' -i_dynamic' ;;
8613 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8614 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8615 ifc
* | ifort
*) # Intel Fortran compiler
8616 tmp_addflag
=' -nofor_main' ;;
8617 lf95
*) # Lahey Fortran 8.1
8618 whole_archive_flag_spec
=
8619 tmp_sharedflag
='--shared' ;;
8620 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8621 tmp_sharedflag
='-qmkshrobj'
8623 nvcc
*) # Cuda Compiler Driver 2.2
8624 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'
8625 compiler_needs_object
=yes
8628 case `$CC -V 2>&1 | sed 5q` in
8629 *Sun\ C
*) # Sun C 5.9
8630 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'
8631 compiler_needs_object
=yes
8632 tmp_sharedflag
='-G' ;;
8633 *Sun\ F
*) # Sun Fortran 8.3
8634 tmp_sharedflag
='-G' ;;
8636 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8638 if test "x$supports_anon_versioning" = xyes
; then
8639 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8640 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8641 echo "local: *; };" >> $output_objdir/$libname.ver~
8642 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8645 case $cc_basename in
8646 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8647 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8648 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8649 hardcode_libdir_flag_spec
=
8650 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8651 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8652 if test "x$supports_anon_versioning" = xyes
; then
8653 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8654 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8655 echo "local: *; };" >> $output_objdir/$libname.ver~
8656 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8666 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8667 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8670 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8671 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8676 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8680 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8681 *** create shared libraries on Solaris systems. Therefore, libtool
8682 *** is disabling shared libraries support. We urge you to upgrade GNU
8683 *** binutils to release 2.9.1 or newer. Another option is to modify
8684 *** your PATH or compiler configuration so that the native linker is
8685 *** used, and then restart.
8688 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8689 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8690 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8696 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8697 case `$LD -v 2>&1` in
8698 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8702 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8703 *** reliably create shared libraries on SCO systems. Therefore, libtool
8704 *** is disabling shared libraries support. We urge you to upgrade GNU
8705 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8706 *** your PATH or compiler configuration so that the native linker is
8707 *** used, and then restart.
8712 # For security reasons, it is highly recommended that you always
8713 # use absolute paths for naming shared libraries, and exclude the
8714 # DT_RUNPATH tag from executables and libraries. But doing so
8715 # requires that you compile everything twice, which is a pain.
8716 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8717 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8718 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8719 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8728 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8731 hardcode_shlibpath_var
=no
8735 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8736 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8737 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8744 if test "$ld_shlibs" = no
; then
8746 hardcode_libdir_flag_spec
=
8747 export_dynamic_flag_spec
=
8748 whole_archive_flag_spec
=
8751 # PORTME fill in a description of your system's linker (not GNU ld)
8754 allow_undefined_flag
=unsupported
8755 always_export_symbols
=yes
8756 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'
8757 # Note: this linker hardcodes the directories in LIBPATH if there
8758 # are no directories specified by -L.
8759 hardcode_minus_L
=yes
8760 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8761 # Neither direct hardcoding nor static linking is supported with a
8763 hardcode_direct
=unsupported
8768 if test "$host_cpu" = ia64
; then
8769 # On IA64, the linker does run time linking by default, so we don't
8770 # have to do anything special.
8771 aix_use_runtimelinking
=no
8772 exp_sym_flag
='-Bexport'
8775 # If we're using GNU nm, then we don't want the "-C" option.
8776 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8777 # Also, AIX nm treats weak defined symbols like other global
8778 # defined symbols, whereas GNU nm marks them as "W".
8779 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8780 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'
8782 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8784 aix_use_runtimelinking
=no
8786 # Test if we are trying to use run time linking or normal
8787 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8788 # need to do runtime linking.
8789 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8790 for ld_flag
in $LDFLAGS; do
8791 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8792 aix_use_runtimelinking
=yes
8799 exp_sym_flag
='-bexport'
8800 no_entry_flag
='-bnoentry'
8803 # When large executables or shared objects are built, AIX ld can
8804 # have problems creating the table of contents. If linking a library
8805 # or program results in "error TOC overflow" add -mminimal-toc to
8806 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8807 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8811 hardcode_direct_absolute
=yes
8812 hardcode_libdir_separator
=':'
8813 link_all_deplibs
=yes
8814 file_list_spec
='${wl}-f,'
8816 if test "$GCC" = yes; then
8817 case $host_os in aix4.
[012]|aix4.
[012].
*)
8818 # We only want to do this on AIX 4.2 and lower, the check
8819 # below for broken collect2 doesn't work under 4.3+
8820 collect2name
=`${CC} -print-prog-name=collect2`
8821 if test -f "$collect2name" &&
8822 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8824 # We have reworked collect2
8827 # We have old collect2
8828 hardcode_direct
=unsupported
8829 # It fails to find uninstalled libraries when the uninstalled
8830 # path is not listed in the libpath. Setting hardcode_minus_L
8831 # to unsupported forces relinking
8832 hardcode_minus_L
=yes
8833 hardcode_libdir_flag_spec
='-L$libdir'
8834 hardcode_libdir_separator
=
8838 shared_flag
='-shared'
8839 if test "$aix_use_runtimelinking" = yes; then
8840 shared_flag
="$shared_flag "'${wl}-G'
8844 if test "$host_cpu" = ia64
; then
8845 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8846 # chokes on -Wl,-G. The following line is correct:
8849 if test "$aix_use_runtimelinking" = yes; then
8850 shared_flag
='${wl}-G'
8852 shared_flag
='${wl}-bM:SRE'
8857 export_dynamic_flag_spec
='${wl}-bexpall'
8858 # It seems that -bexpall does not export symbols beginning with
8859 # underscore (_), so it is better to generate a list of symbols to export.
8860 always_export_symbols
=yes
8861 if test "$aix_use_runtimelinking" = yes; then
8862 # Warning - without using the other runtime loading flags (-brtl),
8863 # -berok will link without error, but may produce a broken library.
8864 allow_undefined_flag
='-berok'
8865 # Determine the default libpath from the value encoded in an
8867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8868 /* end confdefs.h. */
8878 if ac_fn_c_try_link
"$LINENO"; then :
8880 lt_aix_libpath_sed
='
8881 /Import File Strings/,/^$/ {
8887 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8888 # Check for a 64-bit object if we didn't find anything.
8889 if test -z "$aix_libpath"; then
8890 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8893 rm -f core conftest.err conftest.
$ac_objext \
8894 conftest
$ac_exeext conftest.
$ac_ext
8895 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8897 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8898 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"
8900 if test "$host_cpu" = ia64
; then
8901 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8902 allow_undefined_flag
="-z nodefs"
8903 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"
8905 # Determine the default libpath from the value encoded in an
8907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8908 /* end confdefs.h. */
8918 if ac_fn_c_try_link
"$LINENO"; then :
8920 lt_aix_libpath_sed
='
8921 /Import File Strings/,/^$/ {
8927 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8928 # Check for a 64-bit object if we didn't find anything.
8929 if test -z "$aix_libpath"; then
8930 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8933 rm -f core conftest.err conftest.
$ac_objext \
8934 conftest
$ac_exeext conftest.
$ac_ext
8935 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8937 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8938 # Warning - without using the other run time loading flags,
8939 # -berok will link without error, but may produce a broken library.
8940 no_undefined_flag
=' ${wl}-bernotok'
8941 allow_undefined_flag
=' ${wl}-berok'
8942 if test "$with_gnu_ld" = yes; then
8943 # We only use this code for GNU lds that support --whole-archive.
8944 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8946 # Exported symbols can be pulled into shared objects from archives
8947 whole_archive_flag_spec
='$convenience'
8949 archive_cmds_need_lc
=yes
8950 # This is similar to how AIX traditionally builds its shared libraries.
8951 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'
8959 # see comment about AmigaOS4 .so support
8960 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8961 archive_expsym_cmds
=''
8964 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)'
8965 hardcode_libdir_flag_spec
='-L$libdir'
8966 hardcode_minus_L
=yes
8972 export_dynamic_flag_spec
=-rdynamic
8975 cygwin
* | mingw
* | pw32
* | cegcc
*)
8976 # When not using gcc, we currently assume that we are using
8977 # Microsoft Visual C++.
8978 # hardcode_libdir_flag_spec is actually meaningless, as there is
8979 # no search path for DLLs.
8980 hardcode_libdir_flag_spec
=' '
8981 allow_undefined_flag
=unsupported
8982 # Tell ltmain to make .lib files, not .a files.
8984 # Tell ltmain to make .dll files, not .so files.
8986 # FIXME: Setting linknames here is a bad hack.
8987 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8988 # The linker will automatically build a .lib file if we build a DLL.
8989 old_archive_from_new_cmds
='true'
8990 # FIXME: Should let the user specify the lib program.
8991 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8992 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8993 enable_shared_with_static_runtimes
=yes
8996 darwin
* | rhapsody
*)
8999 archive_cmds_need_lc
=no
9001 hardcode_automatic
=yes
9002 hardcode_shlibpath_var
=unsupported
9003 if test "$lt_cv_ld_force_load" = "yes"; then
9004 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\"`'
9006 whole_archive_flag_spec
=''
9008 link_all_deplibs
=yes
9009 allow_undefined_flag
="$_lt_dar_allow_undefined"
9010 case $cc_basename in
9011 ifort
*) _lt_dar_can_shared
=yes ;;
9012 *) _lt_dar_can_shared
=$GCC ;;
9014 if test "$_lt_dar_can_shared" = "yes"; then
9015 output_verbose_link_cmd
=func_echo_all
9016 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9017 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9018 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}"
9019 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}"
9028 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9029 hardcode_libdir_flag_spec
='-L$libdir'
9030 hardcode_shlibpath_var
=no
9033 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9034 # support. Future versions do this automatically, but an explicit c++rt0.o
9035 # does not break anything, and helps significantly (at the cost of a little
9038 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9039 hardcode_libdir_flag_spec
='-R$libdir'
9041 hardcode_shlibpath_var
=no
9044 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9046 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9048 hardcode_minus_L
=yes
9049 hardcode_shlibpath_var
=no
9052 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9053 freebsd
* | dragonfly
*)
9054 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9055 hardcode_libdir_flag_spec
='-R$libdir'
9057 hardcode_shlibpath_var
=no
9061 if test "$GCC" = yes; then
9062 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'
9064 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'
9066 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9067 hardcode_libdir_separator
=:
9070 # hardcode_minus_L: Not really in the search PATH,
9071 # but as the default location of the library.
9072 hardcode_minus_L
=yes
9073 export_dynamic_flag_spec
='${wl}-E'
9077 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9078 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9080 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9082 if test "$with_gnu_ld" = no
; then
9083 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9084 hardcode_libdir_flag_spec_ld
='+b $libdir'
9085 hardcode_libdir_separator
=:
9087 hardcode_direct_absolute
=yes
9088 export_dynamic_flag_spec
='${wl}-E'
9089 # hardcode_minus_L: Not really in the search PATH,
9090 # but as the default location of the library.
9091 hardcode_minus_L
=yes
9096 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9099 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9102 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9105 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9111 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9114 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9118 # Older versions of the 11.00 compiler do not understand -b yet
9119 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9121 $as_echo_n "checking if $CC understands -b... " >&6; }
9122 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9123 $as_echo_n "(cached) " >&6
9125 lt_cv_prog_compiler__b
=no
9126 save_LDFLAGS
="$LDFLAGS"
9127 LDFLAGS
="$LDFLAGS -b"
9128 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9129 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9130 # The linker can only warn and ignore the option if not recognized
9131 # So say no if there are warnings
9132 if test -s conftest.err
; then
9133 # Append any errors to the config.log.
9134 cat conftest.err
1>&5
9135 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9136 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9137 if diff conftest.exp conftest.er2
>/dev
/null
; then
9138 lt_cv_prog_compiler__b
=yes
9141 lt_cv_prog_compiler__b
=yes
9145 LDFLAGS
="$save_LDFLAGS"
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9149 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9151 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9152 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9154 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9160 if test "$with_gnu_ld" = no
; then
9161 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9162 hardcode_libdir_separator
=:
9167 hardcode_shlibpath_var
=no
9171 hardcode_direct_absolute
=yes
9172 export_dynamic_flag_spec
='${wl}-E'
9174 # hardcode_minus_L: Not really in the search PATH,
9175 # but as the default location of the library.
9176 hardcode_minus_L
=yes
9182 irix5
* | irix6
* | nonstopux
*)
9183 if test "$GCC" = yes; then
9184 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'
9185 # Try to use the -exported_symbol ld option, if it does not
9186 # work, assume that -exports_file does not work either and
9187 # implicitly export all symbols.
9188 save_LDFLAGS
="$LDFLAGS"
9189 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9191 /* end confdefs.h. */
9194 if ac_fn_c_try_link
"$LINENO"; then :
9195 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'
9198 rm -f core conftest.err conftest.
$ac_objext \
9199 conftest
$ac_exeext conftest.
$ac_ext
9200 LDFLAGS
="$save_LDFLAGS"
9202 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'
9203 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'
9205 archive_cmds_need_lc
='no'
9206 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9207 hardcode_libdir_separator
=:
9209 link_all_deplibs
=yes
9213 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9214 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9216 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9218 hardcode_libdir_flag_spec
='-R$libdir'
9220 hardcode_shlibpath_var
=no
9224 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9226 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9227 hardcode_libdir_separator
=:
9228 hardcode_shlibpath_var
=no
9235 if test -f /usr
/libexec
/ld.so
; then
9237 hardcode_shlibpath_var
=no
9238 hardcode_direct_absolute
=yes
9239 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9240 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9241 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9242 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9243 export_dynamic_flag_spec
='${wl}-E'
9246 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9247 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9248 hardcode_libdir_flag_spec
='-R$libdir'
9251 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9252 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9262 hardcode_libdir_flag_spec
='-L$libdir'
9263 hardcode_minus_L
=yes
9264 allow_undefined_flag
=unsupported
9265 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'
9266 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9270 if test "$GCC" = yes; then
9271 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9272 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'
9274 allow_undefined_flag
=' -expect_unresolved \*'
9275 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'
9277 archive_cmds_need_lc
='no'
9278 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9279 hardcode_libdir_separator
=:
9282 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9283 if test "$GCC" = yes; then
9284 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9285 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'
9286 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9288 allow_undefined_flag
=' -expect_unresolved \*'
9289 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'
9290 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~
9291 $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'
9293 # Both c and cxx compiler support -rpath directly
9294 hardcode_libdir_flag_spec
='-rpath $libdir'
9296 archive_cmds_need_lc
='no'
9297 hardcode_libdir_separator
=:
9301 no_undefined_flag
=' -z defs'
9302 if test "$GCC" = yes; then
9304 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9305 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9306 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9308 case `$CC -V 2>&1` in
9311 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9312 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9313 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9317 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9318 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9319 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9323 hardcode_libdir_flag_spec
='-R$libdir'
9324 hardcode_shlibpath_var
=no
9326 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9328 # The compiler driver will combine and reorder linker options,
9329 # but understands `-z linker_flag'. GCC discards it without `$wl',
9330 # but is careful enough not to reorder.
9331 # Supported since Solaris 2.6 (maybe 2.5.1?)
9332 if test "$GCC" = yes; then
9333 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9335 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9339 link_all_deplibs
=yes
9343 if test "x$host_vendor" = xsequent
; then
9344 # Use $CC to link under sequent, because it throws in some extra .o
9345 # files that make .init and .fini sections work.
9346 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9348 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9350 hardcode_libdir_flag_spec
='-L$libdir'
9352 hardcode_minus_L
=yes
9353 hardcode_shlibpath_var
=no
9357 case $host_vendor in
9359 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9360 hardcode_direct
=yes # is this really true???
9363 ## LD is ld it makes a PLAMLIB
9364 ## CC just makes a GrossModule.
9365 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9366 reload_cmds
='$CC -r -o $output$reload_objs'
9370 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9371 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9374 runpath_var
='LD_RUN_PATH'
9375 hardcode_shlibpath_var
=no
9379 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9380 hardcode_shlibpath_var
=no
9381 export_dynamic_flag_spec
='-Bexport'
9385 if test -d /usr
/nec
; then
9386 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9387 hardcode_shlibpath_var
=no
9388 runpath_var
=LD_RUN_PATH
9389 hardcode_runpath_var
=yes
9394 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9395 no_undefined_flag
='${wl}-z,text'
9396 archive_cmds_need_lc
=no
9397 hardcode_shlibpath_var
=no
9398 runpath_var
='LD_RUN_PATH'
9400 if test "$GCC" = yes; then
9401 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9402 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9404 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9405 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9409 sysv5
* | sco3.2v5
* | sco5v6
*)
9410 # Note: We can NOT use -z defs as we might desire, because we do not
9411 # link with -lc, and that would cause any symbols used from libc to
9412 # always be unresolved, which means just about no library would
9413 # ever link correctly. If we're not using GNU ld we use -z text
9414 # though, which does catch some bad symbols but isn't as heavy-handed
9416 no_undefined_flag
='${wl}-z,text'
9417 allow_undefined_flag
='${wl}-z,nodefs'
9418 archive_cmds_need_lc
=no
9419 hardcode_shlibpath_var
=no
9420 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9421 hardcode_libdir_separator
=':'
9422 link_all_deplibs
=yes
9423 export_dynamic_flag_spec
='${wl}-Bexport'
9424 runpath_var
='LD_RUN_PATH'
9426 if test "$GCC" = yes; then
9427 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9428 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9430 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9431 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9436 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9437 hardcode_libdir_flag_spec
='-L$libdir'
9438 hardcode_shlibpath_var
=no
9446 if test x
$host_vendor = xsni
; then
9448 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9449 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9456 $as_echo "$ld_shlibs" >&6; }
9457 test "$ld_shlibs" = no
&& can_build_shared
=no
9459 with_gnu_ld
=$with_gnu_ld
9476 # Do we need to explicitly link libc?
9478 case "x$archive_cmds_need_lc" in
9480 # Assume -lc should be added
9481 archive_cmds_need_lc
=yes
9483 if test "$enable_shared" = yes && test "$GCC" = yes; then
9484 case $archive_cmds in
9486 # FIXME: we may have to deal with multi-command sequences.
9489 # Test whether the compiler implicitly links with -lc since on some
9490 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9491 # to ld, don't add -lc before -lgcc.
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9493 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9494 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9495 $as_echo_n "(cached) " >&6
9498 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9500 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9501 (eval $ac_compile) 2>&5
9503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9504 test $ac_status = 0; } 2>conftest.err
; then
9507 libobjs
=conftest.
$ac_objext
9509 wl
=$lt_prog_compiler_wl
9510 pic_flag
=$lt_prog_compiler_pic
9516 lt_save_allow_undefined_flag
=$allow_undefined_flag
9517 allow_undefined_flag
=
9518 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9519 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9522 test $ac_status = 0; }
9524 lt_cv_archive_cmds_need_lc
=no
9526 lt_cv_archive_cmds_need_lc
=yes
9528 allow_undefined_flag
=$lt_save_allow_undefined_flag
9530 cat conftest.err
1>&5
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9536 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9537 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9701 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9703 if test "$GCC" = yes; then
9705 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9706 *) lt_awk_arg
="/^libraries:/" ;;
9709 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9710 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9712 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9713 case $lt_search_path_spec in
9715 # if the path contains ";" then we assume it to be the separator
9716 # otherwise default to the standard path separator (i.e. ":") - it is
9717 # assumed that no part of a normal pathname contains ";" but that should
9718 # okay in the real world where ";" in dirpaths is itself problematic.
9719 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9722 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9725 # Ok, now we have the path, separated by spaces, we can step through it
9726 # and add multilib dir if necessary.
9727 lt_tmp_lt_search_path_spec
=
9728 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9729 for lt_sys_path
in $lt_search_path_spec; do
9730 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9731 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9733 test -d "$lt_sys_path" && \
9734 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9737 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9738 BEGIN {RS=" "; FS="/|\n";} {
9741 for (lt_i = NF; lt_i > 0; lt_i--) {
9742 if ($lt_i != "" && $lt_i != ".") {
9743 if ($lt_i == "..") {
9746 if (lt_count == 0) {
9747 lt_foo="/" $lt_i lt_foo;
9754 if (lt_foo != "") { lt_freq[lt_foo]++; }
9755 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9757 # AWK program above erroneously prepends '/' to C:/dos/paths
9760 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9761 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9763 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9765 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9768 libname_spec
='lib$name'
9776 shlibpath_overrides_runpath
=unknown
9778 dynamic_linker
="$host_os ld.so"
9779 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9780 need_lib_prefix
=unknown
9781 hardcode_into_libs
=no
9783 # when you set need_version to no, make sure it does not cause -set_version
9784 # flags to be left without arguments
9785 need_version
=unknown
9790 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9791 shlibpath_var
=LIBPATH
9793 # AIX 3 has no versioning support, so we append a major version to the name.
9794 soname_spec
='${libname}${release}${shared_ext}$major'
9801 hardcode_into_libs
=yes
9802 if test "$host_cpu" = ia64
; then
9803 # AIX 5 supports IA64
9804 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9805 shlibpath_var
=LD_LIBRARY_PATH
9807 # With GCC up to 2.95.x, collect2 would create an import file
9808 # for dependence libraries. The import file would start with
9809 # the line `#! .'. This would cause the generated library to
9810 # depend on `.', always an invalid library. This was fixed in
9811 # development snapshots of GCC prior to 3.0.
9813 aix4 | aix4.
[01] | aix4.
[01].
*)
9814 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9816 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9823 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9824 # soname into executable. Probably we can add versioning support to
9825 # collect2, so additional links can be useful in future.
9826 if test "$aix_use_runtimelinking" = yes; then
9827 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9828 # instead of lib<name>.a to let people know that these are not
9829 # typical AIX shared libraries.
9830 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9832 # We preserve .a as extension for shared libraries through AIX4.2
9833 # and later when we are not doing run time linking.
9834 library_names_spec
='${libname}${release}.a $libname.a'
9835 soname_spec
='${libname}${release}${shared_ext}$major'
9837 shlibpath_var
=LIBPATH
9844 # Since July 2007 AmigaOS4 officially supports .so libraries.
9845 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9846 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9849 library_names_spec
='$libname.ixlibrary $libname.a'
9850 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9851 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'
9857 library_names_spec
='${libname}${shared_ext}'
9858 dynamic_linker
="$host_os ld.so"
9859 shlibpath_var
=LIBRARY_PATH
9865 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9866 soname_spec
='${libname}${release}${shared_ext}$major'
9867 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9868 shlibpath_var
=LD_LIBRARY_PATH
9869 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9870 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9871 # the default ld.so.conf also contains /usr/contrib/lib and
9872 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9873 # libtool to hard-code these into programs
9876 cygwin
* | mingw
* | pw32
* | cegcc
*)
9877 version_type
=windows
9882 case $GCC,$host_os in
9883 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9884 library_names_spec
='$libname.dll.a'
9885 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9886 postinstall_cmds
='base_file=`basename \${file}`~
9887 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9888 dldir=$destdir/`dirname \$dlpath`~
9889 test -d \$dldir || mkdir -p \$dldir~
9890 $install_prog $dir/$dlname \$dldir/$dlname~
9891 chmod a+x \$dldir/$dlname~
9892 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9893 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9895 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9896 dlpath=$dir/\$dldll~
9898 shlibpath_overrides_runpath
=yes
9902 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9903 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9905 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9908 # MinGW DLLs use traditional 'lib' prefix
9909 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9912 # pw32 DLLs use 'pw' prefix rather than 'lib'
9913 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9919 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9922 dynamic_linker
='Win32 ld.exe'
9923 # FIXME: first we should search . and the directory the executable is in
9927 darwin
* | rhapsody
*)
9928 dynamic_linker
="$host_os dyld"
9932 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9933 soname_spec
='${libname}${release}${major}$shared_ext'
9934 shlibpath_overrides_runpath
=yes
9935 shlibpath_var
=DYLD_LIBRARY_PATH
9936 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9938 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9939 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9946 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9947 soname_spec
='${libname}${release}${shared_ext}$major'
9948 shlibpath_var
=LD_LIBRARY_PATH
9951 freebsd
* | dragonfly
*)
9952 # DragonFly does not have aout. When/if they implement a new
9953 # versioning mechanism, adjust this.
9954 if test -x /usr
/bin
/objformat
; then
9955 objformat
=`/usr/bin/objformat`
9958 freebsd
[23].
*) objformat
=aout
;;
9962 version_type
=freebsd-
$objformat
9963 case $version_type in
9965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9970 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9974 shlibpath_var
=LD_LIBRARY_PATH
9977 shlibpath_overrides_runpath
=yes
9979 freebsd3.
[01]* | freebsdelf3.
[01]*)
9980 shlibpath_overrides_runpath
=yes
9981 hardcode_into_libs
=yes
9983 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9984 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9985 shlibpath_overrides_runpath
=no
9986 hardcode_into_libs
=yes
9988 *) # from 4.6 on, and DragonFly
9989 shlibpath_overrides_runpath
=yes
9990 hardcode_into_libs
=yes
9999 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10000 soname_spec
='${libname}${release}${shared_ext}$major'
10001 shlibpath_var
=LD_LIBRARY_PATH
10002 hardcode_into_libs
=yes
10009 dynamic_linker
="$host_os runtime_loader"
10010 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10011 soname_spec
='${libname}${release}${shared_ext}$major'
10012 shlibpath_var
=LIBRARY_PATH
10013 shlibpath_overrides_runpath
=yes
10014 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10015 hardcode_into_libs
=yes
10018 hpux9
* | hpux10
* | hpux11
*)
10019 # Give a soname corresponding to the major version so that dld.sl refuses to
10020 # link against other versions.
10027 hardcode_into_libs
=yes
10028 dynamic_linker
="$host_os dld.so"
10029 shlibpath_var
=LD_LIBRARY_PATH
10030 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10031 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10032 soname_spec
='${libname}${release}${shared_ext}$major'
10033 if test "X$HPUX_IA64_MODE" = X32
; then
10034 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10036 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10038 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10042 hardcode_into_libs
=yes
10043 dynamic_linker
="$host_os dld.sl"
10044 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10045 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10046 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10047 soname_spec
='${libname}${release}${shared_ext}$major'
10048 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10049 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10053 dynamic_linker
="$host_os dld.sl"
10054 shlibpath_var
=SHLIB_PATH
10055 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10056 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10057 soname_spec
='${libname}${release}${shared_ext}$major'
10060 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10061 postinstall_cmds
='chmod 555 $lib'
10062 # or fails outright, so override atomically:
10063 install_override_mode
=555
10070 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10071 soname_spec
='${libname}${release}${shared_ext}$major'
10072 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10073 shlibpath_var
=LD_LIBRARY_PATH
10074 shlibpath_overrides_runpath
=no
10075 hardcode_into_libs
=yes
10078 irix5
* | irix6
* | nonstopux
*)
10080 nonstopux
*) version_type
=nonstopux
;;
10082 if test "$lt_cv_prog_gnu_ld" = yes; then
10090 soname_spec
='${libname}${release}${shared_ext}$major'
10091 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10093 irix5
* | nonstopux
*)
10094 libsuff
= shlibsuff
=
10097 case $LD in # libtool.m4 will add one of these switches to LD
10098 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10099 libsuff
= shlibsuff
= libmagic
=32-bit;;
10100 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10101 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10102 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10103 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10104 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10108 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10109 shlibpath_overrides_runpath
=no
10110 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10111 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10112 hardcode_into_libs
=yes
10115 # No shared lib support for Linux oldld, aout, or coff.
10116 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10120 # This must be Linux ELF.
10121 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10125 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10126 soname_spec
='${libname}${release}${shared_ext}$major'
10127 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10128 shlibpath_var
=LD_LIBRARY_PATH
10129 shlibpath_overrides_runpath
=no
10131 # Some binutils ld are patched to set DT_RUNPATH
10132 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10133 $as_echo_n "(cached) " >&6
10135 lt_cv_shlibpath_overrides_runpath
=no
10136 save_LDFLAGS
=$LDFLAGS
10137 save_libdir
=$libdir
10138 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10139 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10141 /* end confdefs.h. */
10151 if ac_fn_c_try_link
"$LINENO"; then :
10152 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10153 lt_cv_shlibpath_overrides_runpath
=yes
10156 rm -f core conftest.err conftest.
$ac_objext \
10157 conftest
$ac_exeext conftest.
$ac_ext
10158 LDFLAGS
=$save_LDFLAGS
10159 libdir
=$save_libdir
10163 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10165 # This implies no fast_install, which is unacceptable.
10166 # Some rework will be needed to allow for fast_install
10167 # before this can be enabled.
10168 hardcode_into_libs
=yes
10170 # Append ld.so.conf contents to the search path
10171 if test -f /etc
/ld.so.conf
; then
10172 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' ' '`
10173 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10176 # We used to test for /lib/ld.so.1 and disable shared libraries on
10177 # powerpc, because MkLinux only supported shared libraries with the
10178 # GNU dynamic linker. Since this was broken with cross compilers,
10179 # most powerpc-linux boxes support dynamic linking these days and
10180 # people can always --disable-shared, the test was removed, and we
10181 # assume the GNU/Linux dynamic linker is in use.
10182 dynamic_linker
='GNU/Linux ld.so'
10189 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10190 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10191 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10192 dynamic_linker
='NetBSD (a.out) ld.so'
10194 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10195 soname_spec
='${libname}${release}${shared_ext}$major'
10196 dynamic_linker
='NetBSD ld.elf_so'
10198 shlibpath_var
=LD_LIBRARY_PATH
10199 shlibpath_overrides_runpath
=yes
10200 hardcode_into_libs
=yes
10205 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10206 shlibpath_var
=LD_LIBRARY_PATH
10207 shlibpath_overrides_runpath
=yes
10214 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10215 soname_spec
='${libname}${release}${shared_ext}$major'
10216 shlibpath_var
=LD_LIBRARY_PATH
10217 shlibpath_overrides_runpath
=no
10218 hardcode_into_libs
=yes
10219 dynamic_linker
='ldqnx.so'
10224 sys_lib_dlsearch_path_spec
="/usr/lib"
10226 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10228 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10229 *) need_version
=no
;;
10231 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10232 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10233 shlibpath_var
=LD_LIBRARY_PATH
10234 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10236 openbsd2.
[89] | openbsd2.
[89].
*)
10237 shlibpath_overrides_runpath
=no
10240 shlibpath_overrides_runpath
=yes
10244 shlibpath_overrides_runpath
=yes
10249 libname_spec
='$name'
10252 library_names_spec
='$libname${shared_ext} $libname.a'
10253 dynamic_linker
='OS/2 ld.exe'
10254 shlibpath_var
=LIBPATH
10257 osf3
* | osf4
* | osf5
*)
10261 soname_spec
='${libname}${release}${shared_ext}$major'
10262 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10263 shlibpath_var
=LD_LIBRARY_PATH
10264 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10265 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10276 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10277 soname_spec
='${libname}${release}${shared_ext}$major'
10278 shlibpath_var
=LD_LIBRARY_PATH
10279 shlibpath_overrides_runpath
=yes
10280 hardcode_into_libs
=yes
10281 # ldd complains unless libraries are executable
10282 postinstall_cmds
='chmod +x $lib'
10287 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10288 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10289 shlibpath_var
=LD_LIBRARY_PATH
10290 shlibpath_overrides_runpath
=yes
10291 if test "$with_gnu_ld" = yes; then
10299 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10300 soname_spec
='${libname}${release}${shared_ext}$major'
10301 shlibpath_var
=LD_LIBRARY_PATH
10302 case $host_vendor in
10304 shlibpath_overrides_runpath
=no
10306 runpath_var
=LD_RUN_PATH
10314 shlibpath_overrides_runpath
=no
10315 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10321 if test -d /usr
/nec
;then
10323 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10324 soname_spec
='$libname${shared_ext}.$major'
10325 shlibpath_var
=LD_LIBRARY_PATH
10329 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10330 version_type
=freebsd-elf
10333 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10334 soname_spec
='${libname}${release}${shared_ext}$major'
10335 shlibpath_var
=LD_LIBRARY_PATH
10336 shlibpath_overrides_runpath
=yes
10337 hardcode_into_libs
=yes
10338 if test "$with_gnu_ld" = yes; then
10339 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10341 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10344 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10348 sys_lib_dlsearch_path_spec
='/usr/lib'
10352 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10356 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10357 shlibpath_var
=LD_LIBRARY_PATH
10358 shlibpath_overrides_runpath
=no
10359 hardcode_into_libs
=yes
10364 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10365 soname_spec
='${libname}${release}${shared_ext}$major'
10366 shlibpath_var
=LD_LIBRARY_PATH
10373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10374 $as_echo "$dynamic_linker" >&6; }
10375 test "$dynamic_linker" = no
&& can_build_shared
=no
10377 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10378 if test "$GCC" = yes; then
10379 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10382 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10383 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10385 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10386 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10481 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10483 if test -n "$hardcode_libdir_flag_spec" ||
10484 test -n "$runpath_var" ||
10485 test "X$hardcode_automatic" = "Xyes" ; then
10487 # We can hardcode non-existent directories.
10488 if test "$hardcode_direct" != no
&&
10489 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10490 # have to relink, otherwise we might link with an installed library
10491 # when we should be linking with a yet-to-be-installed one
10492 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10493 test "$hardcode_minus_L" != no
; then
10494 # Linking always hardcodes the temporary library directory.
10495 hardcode_action
=relink
10497 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10498 hardcode_action
=immediate
10501 # We cannot hardcode anything, or else we can only hardcode existing
10503 hardcode_action
=unsupported
10505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10506 $as_echo "$hardcode_action" >&6; }
10508 if test "$hardcode_action" = relink ||
10509 test "$inherit_rpath" = yes; then
10510 # Fast installation is not supported
10511 enable_fast_install
=no
10512 elif test "$shlibpath_overrides_runpath" = yes ||
10513 test "$enable_shared" = no
; then
10514 # Fast installation is not necessary
10515 enable_fast_install
=needless
10523 if test "x$enable_dlopen" != xyes
; then
10524 enable_dlopen
=unknown
10525 enable_dlopen_self
=unknown
10526 enable_dlopen_self_static
=unknown
10533 lt_cv_dlopen
="load_add_on"
10535 lt_cv_dlopen_self
=yes
10538 mingw
* | pw32
* | cegcc
*)
10539 lt_cv_dlopen
="LoadLibrary"
10544 lt_cv_dlopen
="dlopen"
10549 # if libdl is installed we need to link against it
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10551 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10552 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10553 $as_echo_n "(cached) " >&6
10555 ac_check_lib_save_LIBS
=$LIBS
10557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10558 /* end confdefs.h. */
10560 /* Override any GCC internal prototype to avoid an error.
10561 Use char because int might match the return type of a GCC
10562 builtin and then its argument prototype would still apply. */
10575 if ac_fn_c_try_link
"$LINENO"; then :
10576 ac_cv_lib_dl_dlopen
=yes
10578 ac_cv_lib_dl_dlopen
=no
10580 rm -f core conftest.err conftest.
$ac_objext \
10581 conftest
$ac_exeext conftest.
$ac_ext
10582 LIBS
=$ac_check_lib_save_LIBS
10584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10585 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10586 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10587 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10590 lt_cv_dlopen
="dyld"
10592 lt_cv_dlopen_self
=yes
10599 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10600 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10601 lt_cv_dlopen
="shl_load"
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10604 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10605 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10606 $as_echo_n "(cached) " >&6
10608 ac_check_lib_save_LIBS
=$LIBS
10610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10611 /* end confdefs.h. */
10613 /* Override any GCC internal prototype to avoid an error.
10614 Use char because int might match the return type of a GCC
10615 builtin and then its argument prototype would still apply. */
10623 return shl_load ();
10628 if ac_fn_c_try_link
"$LINENO"; then :
10629 ac_cv_lib_dld_shl_load
=yes
10631 ac_cv_lib_dld_shl_load
=no
10633 rm -f core conftest.err conftest.
$ac_objext \
10634 conftest
$ac_exeext conftest.
$ac_ext
10635 LIBS
=$ac_check_lib_save_LIBS
10637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10638 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10639 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10640 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10642 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10643 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10644 lt_cv_dlopen
="dlopen"
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10647 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10648 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10649 $as_echo_n "(cached) " >&6
10651 ac_check_lib_save_LIBS
=$LIBS
10653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10654 /* end confdefs.h. */
10656 /* Override any GCC internal prototype to avoid an error.
10657 Use char because int might match the return type of a GCC
10658 builtin and then its argument prototype would still apply. */
10671 if ac_fn_c_try_link
"$LINENO"; then :
10672 ac_cv_lib_dl_dlopen
=yes
10674 ac_cv_lib_dl_dlopen
=no
10676 rm -f core conftest.err conftest.
$ac_objext \
10677 conftest
$ac_exeext conftest.
$ac_ext
10678 LIBS
=$ac_check_lib_save_LIBS
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10681 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10682 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10683 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10686 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10687 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10688 $as_echo_n "(cached) " >&6
10690 ac_check_lib_save_LIBS
=$LIBS
10691 LIBS
="-lsvld $LIBS"
10692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10693 /* end confdefs.h. */
10695 /* Override any GCC internal prototype to avoid an error.
10696 Use char because int might match the return type of a GCC
10697 builtin and then its argument prototype would still apply. */
10710 if ac_fn_c_try_link
"$LINENO"; then :
10711 ac_cv_lib_svld_dlopen
=yes
10713 ac_cv_lib_svld_dlopen
=no
10715 rm -f core conftest.err conftest.
$ac_objext \
10716 conftest
$ac_exeext conftest.
$ac_ext
10717 LIBS
=$ac_check_lib_save_LIBS
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10720 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10721 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10722 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10725 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10726 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10727 $as_echo_n "(cached) " >&6
10729 ac_check_lib_save_LIBS
=$LIBS
10731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10732 /* end confdefs.h. */
10734 /* Override any GCC internal prototype to avoid an error.
10735 Use char because int might match the return type of a GCC
10736 builtin and then its argument prototype would still apply. */
10744 return dld_link ();
10749 if ac_fn_c_try_link
"$LINENO"; then :
10750 ac_cv_lib_dld_dld_link
=yes
10752 ac_cv_lib_dld_dld_link
=no
10754 rm -f core conftest.err conftest.
$ac_objext \
10755 conftest
$ac_exeext conftest.
$ac_ext
10756 LIBS
=$ac_check_lib_save_LIBS
10758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10759 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10760 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10761 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10782 if test "x$lt_cv_dlopen" != xno
; then
10788 case $lt_cv_dlopen in
10790 save_CPPFLAGS
="$CPPFLAGS"
10791 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10793 save_LDFLAGS
="$LDFLAGS"
10794 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10797 LIBS
="$lt_cv_dlopen_libs $LIBS"
10799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10800 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10801 if test "${lt_cv_dlopen_self+set}" = set; then :
10802 $as_echo_n "(cached) " >&6
10804 if test "$cross_compiling" = yes; then :
10805 lt_cv_dlopen_self
=cross
10807 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10808 lt_status
=$lt_dlunknown
10809 cat > conftest.
$ac_ext <<_LT_EOF
10810 #line 10810 "configure"
10811 #include "confdefs.h"
10820 # define LT_DLGLOBAL RTLD_GLOBAL
10823 # define LT_DLGLOBAL DL_GLOBAL
10825 # define LT_DLGLOBAL 0
10829 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10830 find out it does not work in some platform. */
10831 #ifndef LT_DLLAZY_OR_NOW
10833 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10836 # define LT_DLLAZY_OR_NOW DL_LAZY
10839 # define LT_DLLAZY_OR_NOW RTLD_NOW
10842 # define LT_DLLAZY_OR_NOW DL_NOW
10844 # define LT_DLLAZY_OR_NOW 0
10851 /* When -fvisbility=hidden is used, assume the code has been annotated
10852 correspondingly for the symbols needed. */
10853 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10854 void fnord () __attribute__((visibility("default")));
10857 void fnord () { int i=42; }
10860 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10861 int status = $lt_dlunknown;
10865 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10868 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10869 else puts (dlerror ());
10871 /* dlclose (self); */
10879 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10880 (eval $ac_link) 2>&5
10882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10883 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10884 (.
/conftest
; exit; ) >&5 2>/dev
/null
10886 case x
$lt_status in
10887 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10888 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10889 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10892 # compilation failed
10893 lt_cv_dlopen_self
=no
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10901 $as_echo "$lt_cv_dlopen_self" >&6; }
10903 if test "x$lt_cv_dlopen_self" = xyes
; then
10904 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10906 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10907 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10908 $as_echo_n "(cached) " >&6
10910 if test "$cross_compiling" = yes; then :
10911 lt_cv_dlopen_self_static
=cross
10913 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10914 lt_status
=$lt_dlunknown
10915 cat > conftest.
$ac_ext <<_LT_EOF
10916 #line 10916 "configure"
10917 #include "confdefs.h"
10926 # define LT_DLGLOBAL RTLD_GLOBAL
10929 # define LT_DLGLOBAL DL_GLOBAL
10931 # define LT_DLGLOBAL 0
10935 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10936 find out it does not work in some platform. */
10937 #ifndef LT_DLLAZY_OR_NOW
10939 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10942 # define LT_DLLAZY_OR_NOW DL_LAZY
10945 # define LT_DLLAZY_OR_NOW RTLD_NOW
10948 # define LT_DLLAZY_OR_NOW DL_NOW
10950 # define LT_DLLAZY_OR_NOW 0
10957 /* When -fvisbility=hidden is used, assume the code has been annotated
10958 correspondingly for the symbols needed. */
10959 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10960 void fnord () __attribute__((visibility("default")));
10963 void fnord () { int i=42; }
10966 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10967 int status = $lt_dlunknown;
10971 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10974 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10975 else puts (dlerror ());
10977 /* dlclose (self); */
10985 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10986 (eval $ac_link) 2>&5
10988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10989 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10990 (.
/conftest
; exit; ) >&5 2>/dev
/null
10992 case x
$lt_status in
10993 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10994 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10995 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10998 # compilation failed
10999 lt_cv_dlopen_self_static
=no
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11007 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11010 CPPFLAGS
="$save_CPPFLAGS"
11011 LDFLAGS
="$save_LDFLAGS"
11016 case $lt_cv_dlopen_self in
11017 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11018 *) enable_dlopen_self
=unknown
;;
11021 case $lt_cv_dlopen_self_static in
11022 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11023 *) enable_dlopen_self_static
=unknown
;;
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11046 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11047 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11048 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11049 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11051 $as_echo "yes" >&6; }
11053 # FIXME - insert some real tests, host_os isn't really good enough
11056 if test -n "$STRIP" ; then
11057 striplib
="$STRIP -x"
11058 old_striplib
="$STRIP -S"
11059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11060 $as_echo "yes" >&6; }
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11063 $as_echo "no" >&6; }
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11068 $as_echo "no" >&6; }
11084 # Report which library types will actually be built
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11086 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11088 $as_echo "$can_build_shared" >&6; }
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11091 $as_echo_n "checking whether to build shared libraries... " >&6; }
11092 test "$can_build_shared" = "no" && enable_shared
=no
11094 # On AIX, shared libraries and static libraries use the same namespace, and
11095 # are all built from PIC.
11098 test "$enable_shared" = yes && enable_static
=no
11099 if test -n "$RANLIB"; then
11100 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11101 postinstall_cmds
='$RANLIB $lib'
11106 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11107 test "$enable_shared" = yes && enable_static
=no
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11112 $as_echo "$enable_shared" >&6; }
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11115 $as_echo_n "checking whether to build static libraries... " >&6; }
11116 # Make sure either enable_shared or enable_static is yes.
11117 test "$enable_shared" = yes || enable_static
=yes
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11119 $as_echo "$enable_static" >&6; }
11126 ac_cpp
='$CPP $CPPFLAGS'
11127 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11128 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11129 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11133 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11134 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11135 (test "X$CXX" != "Xg++"))) ; then
11137 ac_cpp
='$CXXCPP $CPPFLAGS'
11138 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11139 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11140 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11142 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11143 if test -z "$CXXCPP"; then
11144 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11145 $as_echo_n "(cached) " >&6
11147 # Double quotes because CXXCPP needs to be expanded
11148 for CXXCPP
in "$CXX -E" "/lib/cpp"
11150 ac_preproc_ok
=false
11151 for ac_cxx_preproc_warn_flag
in '' yes
11153 # Use a header file that comes with gcc, so configuring glibc
11154 # with a fresh cross-compiler works.
11155 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11156 # <limits.h> exists even on freestanding compilers.
11157 # On the NeXT, cc -E runs the code through the compiler's parser,
11158 # not just through cpp. "Syntax error" is here to catch this case.
11159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11160 /* end confdefs.h. */
11162 # include <limits.h>
11164 # include <assert.h>
11168 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11171 # Broken: fails on valid input.
11174 rm -f conftest.err conftest.
$ac_ext
11176 # OK, works on sane cases. Now check whether nonexistent headers
11177 # can be detected and how.
11178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11179 /* end confdefs.h. */
11180 #include <ac_nonexistent.h>
11182 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11183 # Broken: success on invalid input.
11186 # Passes both tests.
11190 rm -f conftest.err conftest.
$ac_ext
11193 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11194 rm -f conftest.err conftest.
$ac_ext
11195 if $ac_preproc_ok; then :
11200 ac_cv_prog_CXXCPP
=$CXXCPP
11203 CXXCPP
=$ac_cv_prog_CXXCPP
11205 ac_cv_prog_CXXCPP
=$CXXCPP
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11208 $as_echo "$CXXCPP" >&6; }
11209 ac_preproc_ok
=false
11210 for ac_cxx_preproc_warn_flag
in '' yes
11212 # Use a header file that comes with gcc, so configuring glibc
11213 # with a fresh cross-compiler works.
11214 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11215 # <limits.h> exists even on freestanding compilers.
11216 # On the NeXT, cc -E runs the code through the compiler's parser,
11217 # not just through cpp. "Syntax error" is here to catch this case.
11218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11219 /* end confdefs.h. */
11221 # include <limits.h>
11223 # include <assert.h>
11227 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11230 # Broken: fails on valid input.
11233 rm -f conftest.err conftest.
$ac_ext
11235 # OK, works on sane cases. Now check whether nonexistent headers
11236 # can be detected and how.
11237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11238 /* end confdefs.h. */
11239 #include <ac_nonexistent.h>
11241 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11242 # Broken: success on invalid input.
11245 # Passes both tests.
11249 rm -f conftest.err conftest.
$ac_ext
11252 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11253 rm -f conftest.err conftest.
$ac_ext
11254 if $ac_preproc_ok; then :
11257 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11259 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
11260 See \`config.log' for more details." "$LINENO" 5; }
11264 ac_cpp
='$CPP $CPPFLAGS'
11265 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11266 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11267 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11270 _lt_caught_CXX_error
=yes
11274 ac_cpp
='$CXXCPP $CPPFLAGS'
11275 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11276 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11277 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11279 archive_cmds_need_lc_CXX
=no
11280 allow_undefined_flag_CXX
=
11281 always_export_symbols_CXX
=no
11282 archive_expsym_cmds_CXX
=
11283 compiler_needs_object_CXX
=no
11284 export_dynamic_flag_spec_CXX
=
11285 hardcode_direct_CXX
=no
11286 hardcode_direct_absolute_CXX
=no
11287 hardcode_libdir_flag_spec_CXX
=
11288 hardcode_libdir_flag_spec_ld_CXX
=
11289 hardcode_libdir_separator_CXX
=
11290 hardcode_minus_L_CXX
=no
11291 hardcode_shlibpath_var_CXX
=unsupported
11292 hardcode_automatic_CXX
=no
11293 inherit_rpath_CXX
=no
11295 module_expsym_cmds_CXX
=
11296 link_all_deplibs_CXX
=unknown
11297 old_archive_cmds_CXX
=$old_archive_cmds
11298 reload_flag_CXX
=$reload_flag
11299 reload_cmds_CXX
=$reload_cmds
11300 no_undefined_flag_CXX
=
11301 whole_archive_flag_spec_CXX
=
11302 enable_shared_with_static_runtimes_CXX
=no
11304 # Source file extension for C++ test sources.
11307 # Object file extension for compiled C++ test sources.
11311 # No sense in running all these tests if we already determined that
11312 # the CXX compiler isn't working. Some variables (like enable_shared)
11313 # are currently assumed to apply to all compilers on this platform,
11314 # and will be corrupted by setting them based on a non-working compiler.
11315 if test "$_lt_caught_CXX_error" != yes; then
11316 # Code to be used in simple compile tests
11317 lt_simple_compile_test_code
="int some_variable = 0;"
11319 # Code to be used in simple link tests
11320 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11322 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11329 # If no C compiler was specified, use CC.
11332 # If no C compiler flags were specified, use CFLAGS.
11333 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11335 # Allow CC to be a program name with arguments.
11339 # save warnings/boilerplate of simple test code
11340 ac_outfile
=conftest.
$ac_objext
11341 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11342 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11343 _lt_compiler_boilerplate
=`cat conftest.err`
11346 ac_outfile
=conftest.
$ac_objext
11347 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11348 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11349 _lt_linker_boilerplate
=`cat conftest.err`
11353 # Allow CC to be a program name with arguments.
11358 lt_save_with_gnu_ld
=$with_gnu_ld
11359 lt_save_path_LD
=$lt_cv_path_LD
11360 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11361 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11363 $as_unset lt_cv_prog_gnu_ld
11365 if test -n "${lt_cv_path_LDCXX+set}"; then
11366 lt_cv_path_LD
=$lt_cv_path_LDCXX
11368 $as_unset lt_cv_path_LD
11370 test -z "${LDCXX+set}" || LD
=$LDCXX
11374 for cc_temp
in $compiler""; do
11376 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11377 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11382 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11385 if test -n "$compiler"; then
11386 # We don't want -fno-exception when compiling C++ code, so set the
11387 # no_builtin_flag separately
11388 if test "$GXX" = yes; then
11389 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11391 lt_prog_compiler_no_builtin_flag_CXX
=
11394 if test "$GXX" = yes; then
11395 # Set up default GNU C++ configuration
11399 # Check whether --with-gnu-ld was given.
11400 if test "${with_gnu_ld+set}" = set; then :
11401 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
11407 if test "$GCC" = yes; then
11408 # Check if gcc -print-prog-name=ld gives a path.
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11410 $as_echo_n "checking for ld used by $CC... " >&6; }
11413 # gcc leaves a trailing carriage return which upsets mingw
11414 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11416 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11419 # Accept absolute paths.
11421 re_direlt
='/[^/][^/]*/\.\./'
11422 # Canonicalize the pathname of ld
11423 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11424 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
11425 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11427 test -z "$LD" && LD
="$ac_prog"
11430 # If it fails, then pretend we aren't using GCC.
11434 # If it is relative, then search for the first ld in PATH.
11435 with_gnu_ld
=unknown
11438 elif test "$with_gnu_ld" = yes; then
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11440 $as_echo_n "checking for GNU ld... " >&6; }
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11443 $as_echo_n "checking for non-GNU ld... " >&6; }
11445 if test "${lt_cv_path_LD+set}" = set; then :
11446 $as_echo_n "(cached) " >&6
11448 if test -z "$LD"; then
11449 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11450 for ac_dir
in $PATH; do
11452 test -z "$ac_dir" && ac_dir
=.
11453 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
11454 lt_cv_path_LD
="$ac_dir/$ac_prog"
11455 # Check to see if the program is GNU ld. I'd rather use --version,
11456 # but apparently some variants of GNU ld only accept -v.
11457 # Break only if it was the GNU/non-GNU ld that we prefer.
11458 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11459 *GNU
* |
*'with BFD'*)
11460 test "$with_gnu_ld" != no
&& break
11463 test "$with_gnu_ld" != yes && break
11470 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11474 LD
="$lt_cv_path_LD"
11475 if test -n "$LD"; then
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11477 $as_echo "$LD" >&6; }
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11480 $as_echo "no" >&6; }
11482 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11484 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11485 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11486 $as_echo_n "(cached) " >&6
11488 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11489 case `$LD -v 2>&1 </dev/null` in
11490 *GNU
* |
*'with BFD'*)
11491 lt_cv_prog_gnu_ld
=yes
11494 lt_cv_prog_gnu_ld
=no
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11499 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11500 with_gnu_ld
=$lt_cv_prog_gnu_ld
11508 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11509 # archiving commands below assume that GNU ld is being used.
11510 if test "$with_gnu_ld" = yes; then
11511 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11512 archive_expsym_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11514 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11515 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11517 # If archive_cmds runs LD, not CC, wlarc should be empty
11518 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11519 # investigate it a little bit more. (MM)
11522 # ancient GNU ld didn't support --whole-archive et. al.
11523 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11524 $GREP 'no-whole-archive' > /dev
/null
; then
11525 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11527 whole_archive_flag_spec_CXX
=
11533 # A generic and very simple default shared library creation
11534 # command for GNU C++ for the case where it uses the native
11535 # linker, instead of GNU ld. If possible, this setting should
11536 # overridden to take advantage of the native linker features on
11537 # the platform it is being used on.
11538 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11541 # Commands to make compiler produce verbose output that lists
11542 # what "hidden" libraries, object files and flags are used when
11543 # linking a shared library.
11544 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
11552 # PORTME: fill in a description of your system's C++ link characteristics
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11554 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11558 # FIXME: insert proper C++ library support
11562 if test "$host_cpu" = ia64
; then
11563 # On IA64, the linker does run time linking by default, so we don't
11564 # have to do anything special.
11565 aix_use_runtimelinking
=no
11566 exp_sym_flag
='-Bexport'
11569 aix_use_runtimelinking
=no
11571 # Test if we are trying to use run time linking or normal
11572 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11573 # need to do runtime linking.
11574 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11575 for ld_flag
in $LDFLAGS; do
11578 aix_use_runtimelinking
=yes
11586 exp_sym_flag
='-bexport'
11587 no_entry_flag
='-bnoentry'
11590 # When large executables or shared objects are built, AIX ld can
11591 # have problems creating the table of contents. If linking a library
11592 # or program results in "error TOC overflow" add -mminimal-toc to
11593 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11594 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11596 archive_cmds_CXX
=''
11597 hardcode_direct_CXX
=yes
11598 hardcode_direct_absolute_CXX
=yes
11599 hardcode_libdir_separator_CXX
=':'
11600 link_all_deplibs_CXX
=yes
11601 file_list_spec_CXX
='${wl}-f,'
11603 if test "$GXX" = yes; then
11604 case $host_os in aix4.
[012]|aix4.
[012].
*)
11605 # We only want to do this on AIX 4.2 and lower, the check
11606 # below for broken collect2 doesn't work under 4.3+
11607 collect2name
=`${CC} -print-prog-name=collect2`
11608 if test -f "$collect2name" &&
11609 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11611 # We have reworked collect2
11614 # We have old collect2
11615 hardcode_direct_CXX
=unsupported
11616 # It fails to find uninstalled libraries when the uninstalled
11617 # path is not listed in the libpath. Setting hardcode_minus_L
11618 # to unsupported forces relinking
11619 hardcode_minus_L_CXX
=yes
11620 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11621 hardcode_libdir_separator_CXX
=
11624 shared_flag
='-shared'
11625 if test "$aix_use_runtimelinking" = yes; then
11626 shared_flag
="$shared_flag "'${wl}-G'
11630 if test "$host_cpu" = ia64
; then
11631 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11632 # chokes on -Wl,-G. The following line is correct:
11635 if test "$aix_use_runtimelinking" = yes; then
11636 shared_flag
='${wl}-G'
11638 shared_flag
='${wl}-bM:SRE'
11643 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
11644 # It seems that -bexpall does not export symbols beginning with
11645 # underscore (_), so it is better to generate a list of symbols to
11647 always_export_symbols_CXX
=yes
11648 if test "$aix_use_runtimelinking" = yes; then
11649 # Warning - without using the other runtime loading flags (-brtl),
11650 # -berok will link without error, but may produce a broken library.
11651 allow_undefined_flag_CXX
='-berok'
11652 # Determine the default libpath from the value encoded in an empty
11654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11655 /* end confdefs.h. */
11665 if ac_fn_cxx_try_link
"$LINENO"; then :
11667 lt_aix_libpath_sed
='
11668 /Import File Strings/,/^$/ {
11674 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11675 # Check for a 64-bit object if we didn't find anything.
11676 if test -z "$aix_libpath"; then
11677 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11680 rm -f core conftest.err conftest.
$ac_objext \
11681 conftest
$ac_exeext conftest.
$ac_ext
11682 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11684 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11686 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"
11688 if test "$host_cpu" = ia64
; then
11689 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11690 allow_undefined_flag_CXX
="-z nodefs"
11691 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"
11693 # Determine the default libpath from the value encoded in an
11694 # empty executable.
11695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11696 /* end confdefs.h. */
11706 if ac_fn_cxx_try_link
"$LINENO"; then :
11708 lt_aix_libpath_sed
='
11709 /Import File Strings/,/^$/ {
11715 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11716 # Check for a 64-bit object if we didn't find anything.
11717 if test -z "$aix_libpath"; then
11718 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11721 rm -f core conftest.err conftest.
$ac_objext \
11722 conftest
$ac_exeext conftest.
$ac_ext
11723 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11725 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11726 # Warning - without using the other run time loading flags,
11727 # -berok will link without error, but may produce a broken library.
11728 no_undefined_flag_CXX
=' ${wl}-bernotok'
11729 allow_undefined_flag_CXX
=' ${wl}-berok'
11730 if test "$with_gnu_ld" = yes; then
11731 # We only use this code for GNU lds that support --whole-archive.
11732 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11734 # Exported symbols can be pulled into shared objects from archives
11735 whole_archive_flag_spec_CXX
='$convenience'
11737 archive_cmds_need_lc_CXX
=yes
11738 # This is similar to how AIX traditionally builds its shared
11740 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'
11746 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11747 allow_undefined_flag_CXX
=unsupported
11748 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11749 # support --undefined. This deserves some investigation. FIXME
11750 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11757 case $cc_basename in
11759 # FIXME: insert proper C++ library support
11765 cygwin
* | mingw
* | pw32
* | cegcc
*)
11766 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11767 # as there is no search path for DLLs.
11768 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11769 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
11770 allow_undefined_flag_CXX
=unsupported
11771 always_export_symbols_CXX
=no
11772 enable_shared_with_static_runtimes_CXX
=yes
11774 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
11775 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'
11776 # If the export-symbols file already is a .def file (1st line
11777 # is EXPORTS), use it as is; otherwise, prepend...
11778 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11779 cp $export_symbols $output_objdir/$soname.def;
11781 echo EXPORTS > $output_objdir/$soname.def;
11782 cat $export_symbols >> $output_objdir/$soname.def;
11784 $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'
11789 darwin
* | rhapsody
*)
11792 archive_cmds_need_lc_CXX
=no
11793 hardcode_direct_CXX
=no
11794 hardcode_automatic_CXX
=yes
11795 hardcode_shlibpath_var_CXX
=unsupported
11796 if test "$lt_cv_ld_force_load" = "yes"; then
11797 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\"`'
11799 whole_archive_flag_spec_CXX
=''
11801 link_all_deplibs_CXX
=yes
11802 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
11803 case $cc_basename in
11804 ifort
*) _lt_dar_can_shared
=yes ;;
11805 *) _lt_dar_can_shared
=$GCC ;;
11807 if test "$_lt_dar_can_shared" = "yes"; then
11808 output_verbose_link_cmd
=func_echo_all
11809 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}"
11810 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11811 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}"
11812 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}"
11813 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11814 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}"
11815 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}"
11825 case $cc_basename in
11827 # FIXME: insert proper C++ library support
11831 # Green Hills C++ Compiler
11832 # FIXME: insert proper C++ library support
11836 # FIXME: insert proper C++ library support
11843 # C++ shared libraries reported to be fairly broken before
11849 archive_cmds_need_lc_CXX
=no
11852 freebsd
* | dragonfly
*)
11853 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11862 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11863 link_all_deplibs_CXX
=yes
11867 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11868 hardcode_libdir_separator_CXX
=:
11869 export_dynamic_flag_spec_CXX
='${wl}-E'
11870 hardcode_direct_CXX
=yes
11871 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11872 # but as the default
11873 # location of the library.
11875 case $cc_basename in
11877 # FIXME: insert proper C++ library support
11881 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'
11882 # Commands to make compiler produce verbose output that lists
11883 # what "hidden" libraries, object files and flags are used when
11884 # linking a shared library.
11886 # There doesn't appear to be a way to prevent this compiler from
11887 # explicitly linking system object files so we need to strip them
11888 # from the output so that they don't get included in the library
11890 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"'
11893 if test "$GXX" = yes; then
11894 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'
11896 # FIXME: insert proper C++ library support
11904 if test $with_gnu_ld = no
; then
11905 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11906 hardcode_libdir_separator_CXX
=:
11912 export_dynamic_flag_spec_CXX
='${wl}-E'
11918 hardcode_direct_CXX
=no
11919 hardcode_shlibpath_var_CXX
=no
11922 hardcode_direct_CXX
=yes
11923 hardcode_direct_absolute_CXX
=yes
11924 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11925 # but as the default
11926 # location of the library.
11930 case $cc_basename in
11932 # FIXME: insert proper C++ library support
11938 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11941 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11944 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11947 # Commands to make compiler produce verbose output that lists
11948 # what "hidden" libraries, object files and flags are used when
11949 # linking a shared library.
11951 # There doesn't appear to be a way to prevent this compiler from
11952 # explicitly linking system object files so we need to strip them
11953 # from the output so that they don't get included in the library
11955 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"'
11958 if test "$GXX" = yes; then
11959 if test $with_gnu_ld = no
; then
11962 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11965 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11968 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'
11973 # FIXME: insert proper C++ library support
11981 hardcode_direct_CXX
=no
11982 hardcode_shlibpath_var_CXX
=no
11983 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11984 export_dynamic_flag_spec_CXX
='${wl}-E'
11985 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11986 # Instead, shared libraries are loaded at an image base (0x10000000 by
11987 # default) and relocated if they conflict, which is a slow very memory
11988 # consuming and fragmenting process. To avoid this, we pick a random,
11989 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11990 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11991 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'
11992 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'
11995 case $cc_basename in
11998 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'
12000 # Archives containing C++ object files must be created using
12001 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12002 # necessary to make sure instantiated templates are included
12004 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12007 if test "$GXX" = yes; then
12008 if test "$with_gnu_ld" = no
; then
12009 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'
12011 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'
12014 link_all_deplibs_CXX
=yes
12017 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12018 hardcode_libdir_separator_CXX
=:
12019 inherit_rpath_CXX
=yes
12022 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12023 case $cc_basename in
12025 # Kuck and Associates, Inc. (KAI) C++ Compiler
12027 # KCC will only create a shared library if the output file
12028 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12029 # to its proper name (with version) after linking.
12030 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'
12031 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'
12032 # Commands to make compiler produce verbose output that lists
12033 # what "hidden" libraries, object files and flags are used when
12034 # linking a shared library.
12036 # There doesn't appear to be a way to prevent this compiler from
12037 # explicitly linking system object files so we need to strip them
12038 # from the output so that they don't get included in the library
12040 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"'
12042 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12043 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12045 # Archives containing C++ object files must be created using
12046 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12047 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12052 # version 8.0 and above of icpc choke on multiply defined symbols
12053 # if we add $predep_objects and $postdep_objects, however 7.1 and
12054 # earlier do not add the objects themselves.
12055 case `$CC -V 2>&1` in
12057 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12058 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'
12060 *) # Version 8.0 or newer
12063 ia64
*) tmp_idyn
=' -i_dynamic';;
12065 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12066 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'
12069 archive_cmds_need_lc_CXX
=no
12070 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12071 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12072 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12075 # Portland Group C++ compiler
12077 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
12078 prelink_cmds_CXX
='tpldir=Template.dir~
12080 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12081 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12082 old_archive_cmds_CXX
='tpldir=Template.dir~
12084 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12085 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12087 archive_cmds_CXX
='tpldir=Template.dir~
12089 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12090 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12091 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12093 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12094 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12096 *) # Version 6 and above use weak symbols
12097 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12098 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'
12102 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12103 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12104 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'
12108 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12109 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'
12111 runpath_var
=LD_RUN_PATH
12112 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12113 hardcode_libdir_separator_CXX
=:
12115 # Commands to make compiler produce verbose output that lists
12116 # what "hidden" libraries, object files and flags are used when
12117 # linking a shared library.
12119 # There doesn't appear to be a way to prevent this compiler from
12120 # explicitly linking system object files so we need to strip them
12121 # from the output so that they don't get included in the library
12123 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'
12125 xl
* | mpixl
* | bgxl
*)
12126 # IBM XL 8.0 on PPC, with GNU ld
12127 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12128 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12129 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12130 if test "x$supports_anon_versioning" = xyes
; then
12131 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12132 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12133 echo "local: *; };" >> $output_objdir/$libname.ver~
12134 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12138 case `$CC -V 2>&1 | sed 5q` in
12141 no_undefined_flag_CXX
=' -zdefs'
12142 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12143 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'
12144 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12145 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'
12146 compiler_needs_object_CXX
=yes
12148 # Not sure whether something based on
12149 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12151 output_verbose_link_cmd
='func_echo_all'
12153 # Archives containing C++ object files must be created using
12154 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12155 # necessary to make sure instantiated templates are included
12157 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12165 # FIXME: insert proper C++ library support
12170 # FIXME: insert proper C++ library support
12175 case $cc_basename in
12177 # FIXME: insert proper C++ library support
12181 # FIXME: insert proper C++ library support
12188 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12189 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12191 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12192 hardcode_direct_CXX
=yes
12193 hardcode_shlibpath_var_CXX
=no
12195 # Workaround some broken pre-1.5 toolchains
12196 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12204 # C++ shared libraries are fairly broken
12209 if test -f /usr
/libexec
/ld.so
; then
12210 hardcode_direct_CXX
=yes
12211 hardcode_shlibpath_var_CXX
=no
12212 hardcode_direct_absolute_CXX
=yes
12213 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12214 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12215 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12216 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12217 export_dynamic_flag_spec_CXX
='${wl}-E'
12218 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12220 output_verbose_link_cmd
=func_echo_all
12226 osf3
* | osf4
* | osf5
*)
12227 case $cc_basename in
12229 # Kuck and Associates, Inc. (KAI) C++ Compiler
12231 # KCC will only create a shared library if the output file
12232 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12233 # to its proper name (with version) after linking.
12234 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'
12236 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12237 hardcode_libdir_separator_CXX
=:
12239 # Archives containing C++ object files must be created using
12240 # the KAI C++ compiler.
12242 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12243 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12247 # Rational C++ 2.4.1
12248 # FIXME: insert proper C++ library support
12254 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12255 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'
12256 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12259 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12260 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'
12261 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12262 echo "-hidden">> $lib.exp~
12263 $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~
12265 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12269 hardcode_libdir_separator_CXX
=:
12271 # Commands to make compiler produce verbose output that lists
12272 # what "hidden" libraries, object files and flags are used when
12273 # linking a shared library.
12275 # There doesn't appear to be a way to prevent this compiler from
12276 # explicitly linking system object files so we need to strip them
12277 # from the output so that they don't get included in the library
12279 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"'
12282 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12283 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12286 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'
12289 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'
12293 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12294 hardcode_libdir_separator_CXX
=:
12296 # Commands to make compiler produce verbose output that lists
12297 # what "hidden" libraries, object files and flags are used when
12298 # linking a shared library.
12299 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12302 # FIXME: insert proper C++ library support
12310 # FIXME: insert proper C++ library support
12315 case $cc_basename in
12318 # FIXME: insert proper C++ library support
12323 # FIXME: insert proper C++ library support
12327 # FIXME: insert proper C++ library support
12334 case $cc_basename in
12336 # Sun C++ 4.2, 5.x and Centerline C++
12337 archive_cmds_need_lc_CXX
=yes
12338 no_undefined_flag_CXX
=' -zdefs'
12339 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12340 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12341 $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'
12343 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12344 hardcode_shlibpath_var_CXX
=no
12346 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12348 # The compiler driver will combine and reorder linker options,
12349 # but understands `-z linker_flag'.
12350 # Supported since Solaris 2.6 (maybe 2.5.1?)
12351 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12354 link_all_deplibs_CXX
=yes
12356 output_verbose_link_cmd
='func_echo_all'
12358 # Archives containing C++ object files must be created using
12359 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12360 # necessary to make sure instantiated templates are included
12362 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12365 # Green Hills C++ Compiler
12366 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12368 # The C++ compiler must be used to create the archive.
12369 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12372 # GNU C++ compiler with Solaris linker
12373 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12374 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12375 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
12376 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12377 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12378 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12380 # Commands to make compiler produce verbose output that lists
12381 # what "hidden" libraries, object files and flags are used when
12382 # linking a shared library.
12383 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12385 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12387 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12388 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12389 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12391 # Commands to make compiler produce verbose output that lists
12392 # what "hidden" libraries, object files and flags are used when
12393 # linking a shared library.
12394 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12397 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12399 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12401 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12409 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12410 no_undefined_flag_CXX
='${wl}-z,text'
12411 archive_cmds_need_lc_CXX
=no
12412 hardcode_shlibpath_var_CXX
=no
12413 runpath_var
='LD_RUN_PATH'
12415 case $cc_basename in
12417 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12418 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12421 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12422 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12427 sysv5
* | sco3.2v5
* | sco5v6
*)
12428 # Note: We can NOT use -z defs as we might desire, because we do not
12429 # link with -lc, and that would cause any symbols used from libc to
12430 # always be unresolved, which means just about no library would
12431 # ever link correctly. If we're not using GNU ld we use -z text
12432 # though, which does catch some bad symbols but isn't as heavy-handed
12434 no_undefined_flag_CXX
='${wl}-z,text'
12435 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12436 archive_cmds_need_lc_CXX
=no
12437 hardcode_shlibpath_var_CXX
=no
12438 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
12439 hardcode_libdir_separator_CXX
=':'
12440 link_all_deplibs_CXX
=yes
12441 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12442 runpath_var
='LD_RUN_PATH'
12444 case $cc_basename in
12446 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12447 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12448 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
12449 '"$old_archive_cmds_CXX"
12450 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
12451 '"$reload_cmds_CXX"
12454 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12455 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12461 case $cc_basename in
12463 # NonStop-UX NCC 3.20
12464 # FIXME: insert proper C++ library support
12468 # FIXME: insert proper C++ library support
12475 # FIXME: insert proper C++ library support
12480 # FIXME: insert proper C++ library support
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12486 $as_echo "$ld_shlibs_CXX" >&6; }
12487 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12493 ## There is no encapsulation within the following macros, do not change
12494 ## the running order or otherwise move them around unless you know exactly
12495 ## what you are doing...
12496 # Dependencies to place before and after the object being linked:
12497 predep_objects_CXX
=
12498 postdep_objects_CXX
=
12501 compiler_lib_search_path_CXX
=
12503 cat > conftest.
$ac_ext <<_LT_EOF
12507 Foo (void) { a = 0; }
12513 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12514 (eval $ac_compile) 2>&5
12516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12517 test $ac_status = 0; }; then
12518 # Parse the compiler output and extract the necessary
12519 # objects, libraries and library flags.
12521 # Sentinel used to keep track of whether or not we are before
12522 # the conftest object file.
12523 pre_test_object_deps_done
=no
12525 for p
in `eval "$output_verbose_link_cmd"`; do
12529 # Some compilers place space between "-{L,R}" and the path.
12530 # Remove the space.
12531 if test $p = "-L" ||
12532 test $p = "-R"; then
12539 if test "$pre_test_object_deps_done" = no
; then
12542 # Internal compiler library paths should come after those
12543 # provided the user. The postdeps already come after the
12544 # user supplied libs so there is no need to process them.
12545 if test -z "$compiler_lib_search_path_CXX"; then
12546 compiler_lib_search_path_CXX
="${prev}${p}"
12548 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12551 # The "-l" case would never come before the object being
12552 # linked, so don't bother handling this case.
12555 if test -z "$postdeps_CXX"; then
12556 postdeps_CXX
="${prev}${p}"
12558 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12564 # This assumes that the test object file only shows up
12565 # once in the compiler output.
12566 if test "$p" = "conftest.$objext"; then
12567 pre_test_object_deps_done
=yes
12571 if test "$pre_test_object_deps_done" = no
; then
12572 if test -z "$predep_objects_CXX"; then
12573 predep_objects_CXX
="$p"
12575 predep_objects_CXX
="$predep_objects_CXX $p"
12578 if test -z "$postdep_objects_CXX"; then
12579 postdep_objects_CXX
="$p"
12581 postdep_objects_CXX
="$postdep_objects_CXX $p"
12586 *) ;; # Ignore the rest.
12594 echo "libtool.m4: error: problem compiling CXX test program"
12597 $RM -f confest.
$objext
12599 # PORTME: override above test on systems where it is broken
12602 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12603 # hack all around it, let's just trust "g++" to DTRT.
12604 predep_objects_CXX
=
12605 postdep_objects_CXX
=
12610 case `$CC -V 2>&1 | sed 5q` in
12614 # The more standards-conforming stlport4 library is
12615 # incompatible with the Cstd library. Avoid specifying
12616 # it if it's in CXXFLAGS. Ignore libCrun as
12617 # -library=stlport4 depends on it.
12618 case " $CXX $CXXFLAGS " in
12619 *" -library=stlport4 "*)
12620 solaris_use_stlport4
=yes
12624 if test "$solaris_use_stlport4" != yes; then
12625 postdeps_CXX
='-library=Cstd -library=Crun'
12632 case $cc_basename in
12634 # The more standards-conforming stlport4 library is
12635 # incompatible with the Cstd library. Avoid specifying
12636 # it if it's in CXXFLAGS. Ignore libCrun as
12637 # -library=stlport4 depends on it.
12638 case " $CXX $CXXFLAGS " in
12639 *" -library=stlport4 "*)
12640 solaris_use_stlport4
=yes
12644 # Adding this requires a known-good setup of shared libraries for
12645 # Sun compiler versions before 5.6, else PIC objects from an old
12646 # archive will be linked into the output, leading to subtle bugs.
12647 if test "$solaris_use_stlport4" != yes; then
12648 postdeps_CXX
='-library=Cstd -library=Crun'
12656 case " $postdeps_CXX " in
12657 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12659 compiler_lib_search_dirs_CXX
=
12660 if test -n "${compiler_lib_search_path_CXX}"; then
12661 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12694 lt_prog_compiler_wl_CXX
=
12695 lt_prog_compiler_pic_CXX
=
12696 lt_prog_compiler_static_CXX
=
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12699 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12701 # C++ specific cases for pic, static, wl, etc.
12702 if test "$GXX" = yes; then
12703 lt_prog_compiler_wl_CXX
='-Wl,'
12704 lt_prog_compiler_static_CXX
='-static'
12708 # All AIX code is PIC.
12709 if test "$host_cpu" = ia64
; then
12710 # AIX 5 now supports IA64 processor
12711 lt_prog_compiler_static_CXX
='-Bstatic'
12713 lt_prog_compiler_pic_CXX
='-fPIC'
12719 # see comment about AmigaOS4 .so support
12720 lt_prog_compiler_pic_CXX
='-fPIC'
12723 # FIXME: we need at least 68020 code to build shared libraries, but
12724 # adding the `-m68020' flag to GCC prevents building anything better,
12726 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12731 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12732 # PIC is the default for these OSes.
12734 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
12735 # This hack is so that the source file can tell whether it is being
12736 # built for inclusion in a dll (and should export symbols for example).
12737 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12738 # (--disable-auto-import) libraries
12739 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12741 darwin
* | rhapsody
*)
12742 # PIC is the default on this platform
12743 # Common symbols not allowed in MH_DYLIB files
12744 lt_prog_compiler_pic_CXX
='-fno-common'
12747 # DJGPP does not support shared libraries at all
12748 lt_prog_compiler_pic_CXX
=
12751 # PIC is the default for Haiku.
12752 # The "-static" flag exists, but is broken.
12753 lt_prog_compiler_static_CXX
=
12756 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12757 # Instead, we relocate shared libraries at runtime.
12760 if test -d /usr
/nec
; then
12761 lt_prog_compiler_pic_CXX
=-Kconform_pic
12765 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12766 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12767 # sets the default TLS model and affects inlining.
12772 lt_prog_compiler_pic_CXX
='-fPIC'
12777 # QNX uses GNU C++, but need to define -shared option too, otherwise
12778 # it will coredump.
12779 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12782 lt_prog_compiler_pic_CXX
='-fPIC'
12788 # All AIX code is PIC.
12789 if test "$host_cpu" = ia64
; then
12790 # AIX 5 now supports IA64 processor
12791 lt_prog_compiler_static_CXX
='-Bstatic'
12793 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12797 case $cc_basename in
12799 # Green Hills C++ Compiler
12800 # _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"
12805 case $cc_basename in
12807 lt_prog_compiler_pic_CXX
='-KPIC'
12810 # Green Hills C++ Compiler
12811 lt_prog_compiler_pic_CXX
='-pic'
12817 freebsd
* | dragonfly
*)
12818 # FreeBSD uses GNU C++
12820 hpux9
* | hpux10
* | hpux11
*)
12821 case $cc_basename in
12823 lt_prog_compiler_wl_CXX
='-Wl,'
12824 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12825 if test "$host_cpu" != ia64
; then
12826 lt_prog_compiler_pic_CXX
='+Z'
12830 lt_prog_compiler_wl_CXX
='-Wl,'
12831 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12837 lt_prog_compiler_pic_CXX
='+Z'
12846 # This is c89, which is MS Visual C++ (no shared libs)
12847 # Anyone wants to do a port?
12849 irix5
* | irix6
* | nonstopux
*)
12850 case $cc_basename in
12852 lt_prog_compiler_wl_CXX
='-Wl,'
12853 lt_prog_compiler_static_CXX
='-non_shared'
12854 # CC pic flag -KPIC is the default.
12860 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12861 case $cc_basename in
12864 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12865 lt_prog_compiler_pic_CXX
='-fPIC'
12868 # old Intel C++ for x86_64 which still supported -KPIC.
12869 lt_prog_compiler_wl_CXX
='-Wl,'
12870 lt_prog_compiler_pic_CXX
='-KPIC'
12871 lt_prog_compiler_static_CXX
='-static'
12874 # Intel C++, used to be incompatible with GCC.
12875 # ICC 10 doesn't accept -KPIC any more.
12876 lt_prog_compiler_wl_CXX
='-Wl,'
12877 lt_prog_compiler_pic_CXX
='-fPIC'
12878 lt_prog_compiler_static_CXX
='-static'
12881 # Portland Group C++ compiler
12882 lt_prog_compiler_wl_CXX
='-Wl,'
12883 lt_prog_compiler_pic_CXX
='-fpic'
12884 lt_prog_compiler_static_CXX
='-Bstatic'
12888 # Make sure the PIC flag is empty. It appears that all Alpha
12889 # Linux and Compaq Tru64 Unix objects are PIC.
12890 lt_prog_compiler_pic_CXX
=
12891 lt_prog_compiler_static_CXX
='-non_shared'
12893 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
12894 # IBM XL 8.0, 9.0 on PPC and BlueGene
12895 lt_prog_compiler_wl_CXX
='-Wl,'
12896 lt_prog_compiler_pic_CXX
='-qpic'
12897 lt_prog_compiler_static_CXX
='-qstaticlink'
12900 case `$CC -V 2>&1 | sed 5q` in
12903 lt_prog_compiler_pic_CXX
='-KPIC'
12904 lt_prog_compiler_static_CXX
='-Bstatic'
12905 lt_prog_compiler_wl_CXX
='-Qoption ld '
12916 case $cc_basename in
12918 lt_prog_compiler_pic_CXX
='-W c,exportall'
12927 # QNX uses GNU C++, but need to define -shared option too, otherwise
12928 # it will coredump.
12929 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12931 osf3
* | osf4
* | osf5
*)
12932 case $cc_basename in
12934 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12937 # Rational C++ 2.4.1
12938 lt_prog_compiler_pic_CXX
='-pic'
12941 # Digital/Compaq C++
12942 lt_prog_compiler_wl_CXX
='-Wl,'
12943 # Make sure the PIC flag is empty. It appears that all Alpha
12944 # Linux and Compaq Tru64 Unix objects are PIC.
12945 lt_prog_compiler_pic_CXX
=
12946 lt_prog_compiler_static_CXX
='-non_shared'
12955 case $cc_basename in
12957 # Sun C++ 4.2, 5.x and Centerline C++
12958 lt_prog_compiler_pic_CXX
='-KPIC'
12959 lt_prog_compiler_static_CXX
='-Bstatic'
12960 lt_prog_compiler_wl_CXX
='-Qoption ld '
12963 # Green Hills C++ Compiler
12964 lt_prog_compiler_pic_CXX
='-PIC'
12971 case $cc_basename in
12974 lt_prog_compiler_pic_CXX
='-pic'
12975 lt_prog_compiler_static_CXX
='-Bstatic'
12979 lt_prog_compiler_pic_CXX
='-pic'
12985 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12986 case $cc_basename in
12988 lt_prog_compiler_wl_CXX
='-Wl,'
12989 lt_prog_compiler_pic_CXX
='-KPIC'
12990 lt_prog_compiler_static_CXX
='-Bstatic'
12995 case $cc_basename in
12997 # NonStop-UX NCC 3.20
12998 lt_prog_compiler_pic_CXX
='-KPIC'
13007 lt_prog_compiler_can_build_shared_CXX
=no
13013 # For platforms which do not support PIC, -DPIC is meaningless:
13015 lt_prog_compiler_pic_CXX
=
13018 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13022 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13027 # Check to make sure the PIC flag actually works.
13029 if test -n "$lt_prog_compiler_pic_CXX"; then
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13031 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13032 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13033 $as_echo_n "(cached) " >&6
13035 lt_cv_prog_compiler_pic_works_CXX
=no
13036 ac_outfile
=conftest.
$ac_objext
13037 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13038 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13039 # Insert the option either (1) after the last *FLAGS variable, or
13040 # (2) before a word containing "conftest.", or (3) at the end.
13041 # Note that $ac_compile itself does not contain backslashes and begins
13042 # with a dollar sign (not a hyphen), so the echo should work correctly.
13043 # The option is referenced via a variable to avoid confusing sed.
13044 lt_compile
=`echo "$ac_compile" | $SED \
13045 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13046 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13047 -e 's:$: $lt_compiler_flag:'`
13048 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13049 (eval "$lt_compile" 2>conftest.err
)
13051 cat conftest.err
>&5
13052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13053 if (exit $ac_status) && test -s "$ac_outfile"; then
13054 # The compiler can only warn and ignore the option if not recognized
13055 # So say no if there are warnings other than the usual output.
13056 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13057 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13058 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13059 lt_cv_prog_compiler_pic_works_CXX
=yes
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13066 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13068 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13069 case $lt_prog_compiler_pic_CXX in
13071 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13074 lt_prog_compiler_pic_CXX
=
13075 lt_prog_compiler_can_build_shared_CXX
=no
13083 # Check to make sure the static flag actually works.
13085 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13087 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13088 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13089 $as_echo_n "(cached) " >&6
13091 lt_cv_prog_compiler_static_works_CXX
=no
13092 save_LDFLAGS
="$LDFLAGS"
13093 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13094 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13095 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13096 # The linker can only warn and ignore the option if not recognized
13097 # So say no if there are warnings
13098 if test -s conftest.err
; then
13099 # Append any errors to the config.log.
13100 cat conftest.err
1>&5
13101 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13102 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13103 if diff conftest.exp conftest.er2
>/dev
/null
; then
13104 lt_cv_prog_compiler_static_works_CXX
=yes
13107 lt_cv_prog_compiler_static_works_CXX
=yes
13111 LDFLAGS
="$save_LDFLAGS"
13114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13115 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13117 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13120 lt_prog_compiler_static_CXX
=
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13127 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13128 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13129 $as_echo_n "(cached) " >&6
13131 lt_cv_prog_compiler_c_o_CXX
=no
13132 $RM -r conftest
2>/dev
/null
13136 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13138 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13139 # Insert the option either (1) after the last *FLAGS variable, or
13140 # (2) before a word containing "conftest.", or (3) at the end.
13141 # Note that $ac_compile itself does not contain backslashes and begins
13142 # with a dollar sign (not a hyphen), so the echo should work correctly.
13143 lt_compile
=`echo "$ac_compile" | $SED \
13144 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13145 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13146 -e 's:$: $lt_compiler_flag:'`
13147 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13148 (eval "$lt_compile" 2>out
/conftest.err
)
13150 cat out
/conftest.err
>&5
13151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13152 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13154 # The compiler can only warn and ignore the option if not recognized
13155 # So say no if there are warnings
13156 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13157 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13158 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13159 lt_cv_prog_compiler_c_o_CXX
=yes
13164 # SGI C++ compiler will create directory out/ii_files/ for
13165 # template instantiation
13166 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13167 $RM out
/* && rmdir out
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13174 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13179 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13180 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13181 $as_echo_n "(cached) " >&6
13183 lt_cv_prog_compiler_c_o_CXX
=no
13184 $RM -r conftest
2>/dev
/null
13188 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13190 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13191 # Insert the option either (1) after the last *FLAGS variable, or
13192 # (2) before a word containing "conftest.", or (3) at the end.
13193 # Note that $ac_compile itself does not contain backslashes and begins
13194 # with a dollar sign (not a hyphen), so the echo should work correctly.
13195 lt_compile
=`echo "$ac_compile" | $SED \
13196 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13197 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13198 -e 's:$: $lt_compiler_flag:'`
13199 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13200 (eval "$lt_compile" 2>out
/conftest.err
)
13202 cat out
/conftest.err
>&5
13203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13204 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13206 # The compiler can only warn and ignore the option if not recognized
13207 # So say no if there are warnings
13208 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13209 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13210 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13211 lt_cv_prog_compiler_c_o_CXX
=yes
13216 # SGI C++ compiler will create directory out/ii_files/ for
13217 # template instantiation
13218 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13219 $RM out
/* && rmdir out
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13226 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13231 hard_links
="nottested"
13232 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13233 # do not overwrite the value of need_locks provided by the user
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13235 $as_echo_n "checking if we can lock with hard links... " >&6; }
13238 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13240 ln conftest.a conftest.b
2>&5 || hard_links
=no
13241 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13243 $as_echo "$hard_links" >&6; }
13244 if test "$hard_links" = no
; then
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13246 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13256 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13258 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13261 # If we're using GNU nm, then we don't want the "-C" option.
13262 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13263 # Also, AIX nm treats weak defined symbols like other global defined
13264 # symbols, whereas GNU nm marks them as "W".
13265 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13266 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'
13268 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13272 export_symbols_cmds_CXX
="$ltdll_cmds"
13274 cygwin
* | mingw
* | cegcc
*)
13275 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'
13278 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13281 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13284 $as_echo "$ld_shlibs_CXX" >&6; }
13285 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13287 with_gnu_ld_CXX
=$with_gnu_ld
13295 # Do we need to explicitly link libc?
13297 case "x$archive_cmds_need_lc_CXX" in
13299 # Assume -lc should be added
13300 archive_cmds_need_lc_CXX
=yes
13302 if test "$enable_shared" = yes && test "$GCC" = yes; then
13303 case $archive_cmds_CXX in
13305 # FIXME: we may have to deal with multi-command sequences.
13308 # Test whether the compiler implicitly links with -lc since on some
13309 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13310 # to ld, don't add -lc before -lgcc.
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13312 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13313 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13314 $as_echo_n "(cached) " >&6
13317 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13319 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13320 (eval $ac_compile) 2>&5
13322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13323 test $ac_status = 0; } 2>conftest.err
; then
13326 libobjs
=conftest.
$ac_objext
13328 wl
=$lt_prog_compiler_wl_CXX
13329 pic_flag
=$lt_prog_compiler_pic_CXX
13335 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13336 allow_undefined_flag_CXX
=
13337 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13338 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13341 test $ac_status = 0; }
13343 lt_cv_archive_cmds_need_lc_CXX
=no
13345 lt_cv_archive_cmds_need_lc_CXX
=yes
13347 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13349 cat conftest.err
1>&5
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
13355 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
13356 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13427 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13429 library_names_spec
=
13430 libname_spec
='lib$name'
13434 postuninstall_cmds
=
13438 shlibpath_overrides_runpath
=unknown
13440 dynamic_linker
="$host_os ld.so"
13441 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13442 need_lib_prefix
=unknown
13443 hardcode_into_libs
=no
13445 # when you set need_version to no, make sure it does not cause -set_version
13446 # flags to be left without arguments
13447 need_version
=unknown
13452 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13453 shlibpath_var
=LIBPATH
13455 # AIX 3 has no versioning support, so we append a major version to the name.
13456 soname_spec
='${libname}${release}${shared_ext}$major'
13463 hardcode_into_libs
=yes
13464 if test "$host_cpu" = ia64
; then
13465 # AIX 5 supports IA64
13466 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13467 shlibpath_var
=LD_LIBRARY_PATH
13469 # With GCC up to 2.95.x, collect2 would create an import file
13470 # for dependence libraries. The import file would start with
13471 # the line `#! .'. This would cause the generated library to
13472 # depend on `.', always an invalid library. This was fixed in
13473 # development snapshots of GCC prior to 3.0.
13475 aix4 | aix4.
[01] | aix4.
[01].
*)
13476 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13478 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
13481 can_build_shared
=no
13485 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13486 # soname into executable. Probably we can add versioning support to
13487 # collect2, so additional links can be useful in future.
13488 if test "$aix_use_runtimelinking" = yes; then
13489 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13490 # instead of lib<name>.a to let people know that these are not
13491 # typical AIX shared libraries.
13492 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13494 # We preserve .a as extension for shared libraries through AIX4.2
13495 # and later when we are not doing run time linking.
13496 library_names_spec
='${libname}${release}.a $libname.a'
13497 soname_spec
='${libname}${release}${shared_ext}$major'
13499 shlibpath_var
=LIBPATH
13506 # Since July 2007 AmigaOS4 officially supports .so libraries.
13507 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13508 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13511 library_names_spec
='$libname.ixlibrary $libname.a'
13512 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13513 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'
13519 library_names_spec
='${libname}${shared_ext}'
13520 dynamic_linker
="$host_os ld.so"
13521 shlibpath_var
=LIBRARY_PATH
13527 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13528 soname_spec
='${libname}${release}${shared_ext}$major'
13529 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13530 shlibpath_var
=LD_LIBRARY_PATH
13531 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13532 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13533 # the default ld.so.conf also contains /usr/contrib/lib and
13534 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13535 # libtool to hard-code these into programs
13538 cygwin
* | mingw
* | pw32
* | cegcc
*)
13539 version_type
=windows
13544 case $GCC,$host_os in
13545 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
13546 library_names_spec
='$libname.dll.a'
13547 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13548 postinstall_cmds
='base_file=`basename \${file}`~
13549 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13550 dldir=$destdir/`dirname \$dlpath`~
13551 test -d \$dldir || mkdir -p \$dldir~
13552 $install_prog $dir/$dlname \$dldir/$dlname~
13553 chmod a+x \$dldir/$dlname~
13554 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13555 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13557 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13558 dlpath=$dir/\$dldll~
13560 shlibpath_overrides_runpath
=yes
13564 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13565 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13569 # MinGW DLLs use traditional 'lib' prefix
13570 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13573 # pw32 DLLs use 'pw' prefix rather than 'lib'
13574 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13580 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13583 dynamic_linker
='Win32 ld.exe'
13584 # FIXME: first we should search . and the directory the executable is in
13588 darwin
* | rhapsody
*)
13589 dynamic_linker
="$host_os dyld"
13590 version_type
=darwin
13593 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13594 soname_spec
='${libname}${release}${major}$shared_ext'
13595 shlibpath_overrides_runpath
=yes
13596 shlibpath_var
=DYLD_LIBRARY_PATH
13597 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13599 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13606 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13607 soname_spec
='${libname}${release}${shared_ext}$major'
13608 shlibpath_var
=LD_LIBRARY_PATH
13611 freebsd
* | dragonfly
*)
13612 # DragonFly does not have aout. When/if they implement a new
13613 # versioning mechanism, adjust this.
13614 if test -x /usr
/bin
/objformat
; then
13615 objformat
=`/usr/bin/objformat`
13618 freebsd
[23].
*) objformat
=aout
;;
13619 *) objformat
=elf
;;
13622 version_type
=freebsd-
$objformat
13623 case $version_type in
13625 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13630 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13634 shlibpath_var
=LD_LIBRARY_PATH
13637 shlibpath_overrides_runpath
=yes
13639 freebsd3.
[01]* | freebsdelf3.
[01]*)
13640 shlibpath_overrides_runpath
=yes
13641 hardcode_into_libs
=yes
13643 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13644 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13645 shlibpath_overrides_runpath
=no
13646 hardcode_into_libs
=yes
13648 *) # from 4.6 on, and DragonFly
13649 shlibpath_overrides_runpath
=yes
13650 hardcode_into_libs
=yes
13659 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13660 soname_spec
='${libname}${release}${shared_ext}$major'
13661 shlibpath_var
=LD_LIBRARY_PATH
13662 hardcode_into_libs
=yes
13669 dynamic_linker
="$host_os runtime_loader"
13670 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13671 soname_spec
='${libname}${release}${shared_ext}$major'
13672 shlibpath_var
=LIBRARY_PATH
13673 shlibpath_overrides_runpath
=yes
13674 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
13675 hardcode_into_libs
=yes
13678 hpux9
* | hpux10
* | hpux11
*)
13679 # Give a soname corresponding to the major version so that dld.sl refuses to
13680 # link against other versions.
13687 hardcode_into_libs
=yes
13688 dynamic_linker
="$host_os dld.so"
13689 shlibpath_var
=LD_LIBRARY_PATH
13690 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13691 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13692 soname_spec
='${libname}${release}${shared_ext}$major'
13693 if test "X$HPUX_IA64_MODE" = X32
; then
13694 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13696 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13698 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13702 hardcode_into_libs
=yes
13703 dynamic_linker
="$host_os dld.sl"
13704 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13705 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13706 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13707 soname_spec
='${libname}${release}${shared_ext}$major'
13708 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13709 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13713 dynamic_linker
="$host_os dld.sl"
13714 shlibpath_var
=SHLIB_PATH
13715 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13716 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13717 soname_spec
='${libname}${release}${shared_ext}$major'
13720 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13721 postinstall_cmds
='chmod 555 $lib'
13722 # or fails outright, so override atomically:
13723 install_override_mode
=555
13730 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13731 soname_spec
='${libname}${release}${shared_ext}$major'
13732 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13733 shlibpath_var
=LD_LIBRARY_PATH
13734 shlibpath_overrides_runpath
=no
13735 hardcode_into_libs
=yes
13738 irix5
* | irix6
* | nonstopux
*)
13740 nonstopux
*) version_type
=nonstopux
;;
13742 if test "$lt_cv_prog_gnu_ld" = yes; then
13750 soname_spec
='${libname}${release}${shared_ext}$major'
13751 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13753 irix5
* | nonstopux
*)
13754 libsuff
= shlibsuff
=
13757 case $LD in # libtool.m4 will add one of these switches to LD
13758 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13759 libsuff
= shlibsuff
= libmagic
=32-bit;;
13760 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13761 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13762 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13763 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13764 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13768 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13769 shlibpath_overrides_runpath
=no
13770 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13771 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13772 hardcode_into_libs
=yes
13775 # No shared lib support for Linux oldld, aout, or coff.
13776 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13780 # This must be Linux ELF.
13781 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13785 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13786 soname_spec
='${libname}${release}${shared_ext}$major'
13787 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13788 shlibpath_var
=LD_LIBRARY_PATH
13789 shlibpath_overrides_runpath
=no
13791 # Some binutils ld are patched to set DT_RUNPATH
13792 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
13793 $as_echo_n "(cached) " >&6
13795 lt_cv_shlibpath_overrides_runpath
=no
13796 save_LDFLAGS
=$LDFLAGS
13797 save_libdir
=$libdir
13798 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13799 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13801 /* end confdefs.h. */
13811 if ac_fn_cxx_try_link
"$LINENO"; then :
13812 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
13813 lt_cv_shlibpath_overrides_runpath
=yes
13816 rm -f core conftest.err conftest.
$ac_objext \
13817 conftest
$ac_exeext conftest.
$ac_ext
13818 LDFLAGS
=$save_LDFLAGS
13819 libdir
=$save_libdir
13823 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
13825 # This implies no fast_install, which is unacceptable.
13826 # Some rework will be needed to allow for fast_install
13827 # before this can be enabled.
13828 hardcode_into_libs
=yes
13830 # Append ld.so.conf contents to the search path
13831 if test -f /etc
/ld.so.conf
; then
13832 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' ' '`
13833 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13836 # We used to test for /lib/ld.so.1 and disable shared libraries on
13837 # powerpc, because MkLinux only supported shared libraries with the
13838 # GNU dynamic linker. Since this was broken with cross compilers,
13839 # most powerpc-linux boxes support dynamic linking these days and
13840 # people can always --disable-shared, the test was removed, and we
13841 # assume the GNU/Linux dynamic linker is in use.
13842 dynamic_linker
='GNU/Linux ld.so'
13849 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13850 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13851 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13852 dynamic_linker
='NetBSD (a.out) ld.so'
13854 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13855 soname_spec
='${libname}${release}${shared_ext}$major'
13856 dynamic_linker
='NetBSD ld.elf_so'
13858 shlibpath_var
=LD_LIBRARY_PATH
13859 shlibpath_overrides_runpath
=yes
13860 hardcode_into_libs
=yes
13865 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13866 shlibpath_var
=LD_LIBRARY_PATH
13867 shlibpath_overrides_runpath
=yes
13874 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13875 soname_spec
='${libname}${release}${shared_ext}$major'
13876 shlibpath_var
=LD_LIBRARY_PATH
13877 shlibpath_overrides_runpath
=no
13878 hardcode_into_libs
=yes
13879 dynamic_linker
='ldqnx.so'
13884 sys_lib_dlsearch_path_spec
="/usr/lib"
13886 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13888 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13889 *) need_version
=no
;;
13891 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13892 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13893 shlibpath_var
=LD_LIBRARY_PATH
13894 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13896 openbsd2.
[89] | openbsd2.
[89].
*)
13897 shlibpath_overrides_runpath
=no
13900 shlibpath_overrides_runpath
=yes
13904 shlibpath_overrides_runpath
=yes
13909 libname_spec
='$name'
13912 library_names_spec
='$libname${shared_ext} $libname.a'
13913 dynamic_linker
='OS/2 ld.exe'
13914 shlibpath_var
=LIBPATH
13917 osf3
* | osf4
* | osf5
*)
13921 soname_spec
='${libname}${release}${shared_ext}$major'
13922 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13923 shlibpath_var
=LD_LIBRARY_PATH
13924 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13925 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13936 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13937 soname_spec
='${libname}${release}${shared_ext}$major'
13938 shlibpath_var
=LD_LIBRARY_PATH
13939 shlibpath_overrides_runpath
=yes
13940 hardcode_into_libs
=yes
13941 # ldd complains unless libraries are executable
13942 postinstall_cmds
='chmod +x $lib'
13947 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13948 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13949 shlibpath_var
=LD_LIBRARY_PATH
13950 shlibpath_overrides_runpath
=yes
13951 if test "$with_gnu_ld" = yes; then
13959 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13960 soname_spec
='${libname}${release}${shared_ext}$major'
13961 shlibpath_var
=LD_LIBRARY_PATH
13962 case $host_vendor in
13964 shlibpath_overrides_runpath
=no
13966 runpath_var
=LD_RUN_PATH
13974 shlibpath_overrides_runpath
=no
13975 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13981 if test -d /usr
/nec
;then
13983 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13984 soname_spec
='$libname${shared_ext}.$major'
13985 shlibpath_var
=LD_LIBRARY_PATH
13989 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13990 version_type
=freebsd-elf
13993 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13994 soname_spec
='${libname}${release}${shared_ext}$major'
13995 shlibpath_var
=LD_LIBRARY_PATH
13996 shlibpath_overrides_runpath
=yes
13997 hardcode_into_libs
=yes
13998 if test "$with_gnu_ld" = yes; then
13999 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14001 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14004 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14008 sys_lib_dlsearch_path_spec
='/usr/lib'
14012 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14016 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14017 shlibpath_var
=LD_LIBRARY_PATH
14018 shlibpath_overrides_runpath
=no
14019 hardcode_into_libs
=yes
14024 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14025 soname_spec
='${libname}${release}${shared_ext}$major'
14026 shlibpath_var
=LD_LIBRARY_PATH
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14034 $as_echo "$dynamic_linker" >&6; }
14035 test "$dynamic_linker" = no
&& can_build_shared
=no
14037 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14038 if test "$GCC" = yes; then
14039 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14042 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14043 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14045 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14046 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14087 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14088 hardcode_action_CXX
=
14089 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14090 test -n "$runpath_var_CXX" ||
14091 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14093 # We can hardcode non-existent directories.
14094 if test "$hardcode_direct_CXX" != no
&&
14095 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14096 # have to relink, otherwise we might link with an installed library
14097 # when we should be linking with a yet-to-be-installed one
14098 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14099 test "$hardcode_minus_L_CXX" != no
; then
14100 # Linking always hardcodes the temporary library directory.
14101 hardcode_action_CXX
=relink
14103 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14104 hardcode_action_CXX
=immediate
14107 # We cannot hardcode anything, or else we can only hardcode existing
14109 hardcode_action_CXX
=unsupported
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14112 $as_echo "$hardcode_action_CXX" >&6; }
14114 if test "$hardcode_action_CXX" = relink ||
14115 test "$inherit_rpath_CXX" = yes; then
14116 # Fast installation is not supported
14117 enable_fast_install
=no
14118 elif test "$shlibpath_overrides_runpath" = yes ||
14119 test "$enable_shared" = no
; then
14120 # Fast installation is not necessary
14121 enable_fast_install
=needless
14130 fi # test -n "$compiler"
14136 with_gnu_ld
=$lt_save_with_gnu_ld
14137 lt_cv_path_LDCXX
=$lt_cv_path_LD
14138 lt_cv_path_LD
=$lt_save_path_LD
14139 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14140 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14141 fi # test "$_lt_caught_CXX_error" != yes
14144 ac_cpp
='$CPP $CPPFLAGS'
14145 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14146 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14147 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14161 ac_config_commands
="$ac_config_commands libtool"
14166 # Only expand once:
14169 # Forbid libtool to hardcode RPATH, because we want to be able to specify
14170 # library search directory using LD_LIBRARY_PATH
14171 hardcode_into_libs
=no
14176 cat >confcache
<<\_ACEOF
14177 # This file is a shell script that caches the results of configure
14178 # tests run on this system so they can be shared between configure
14179 # scripts and configure runs, see configure's option --config-cache.
14180 # It is not useful on other systems. If it contains results you don't
14181 # want to keep, you may remove or edit it.
14183 # config.status only pays attention to the cache file if you give it
14184 # the --recheck option to rerun configure.
14186 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14187 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14188 # following values.
14192 # The following way of writing the cache mishandles newlines in values,
14193 # but we know of no workaround that is simple, portable, and efficient.
14194 # So, we kill variables containing newlines.
14195 # Ultrix sh set writes to stderr and can't be redirected directly,
14196 # and sets the high bit in the cache file unless we assign to the vars.
14198 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14199 eval ac_val
=\$
$ac_var
14203 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14204 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14207 _ | IFS | as_nl
) ;; #(
14208 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14209 *) { eval $ac_var=; unset $ac_var;} ;;
14215 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14216 *${as_nl}ac_space
=\
*)
14217 # `set' does not quote correctly, so add quotes: double-quote
14218 # substitution turns \\\\ into \\, and sed turns \\ into \.
14221 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14224 # `set' quotes correctly as required by POSIX, so do not add quotes.
14225 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14234 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14236 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14238 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14239 if test -w "$cache_file"; then
14240 test "x$cache_file" != "x/dev/null" &&
14241 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14242 $as_echo "$as_me: updating cache $cache_file" >&6;}
14243 cat confcache
>$cache_file
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14246 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14251 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14252 # Let make expand exec_prefix.
14253 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14255 # Transform confdefs.h into DEFS.
14256 # Protect against shell expansion while executing Makefile rules.
14257 # Protect against Makefile macro expansion.
14259 # If the first sed substitution is executed (which looks for macros that
14260 # take arguments), then branch to the quote section. Otherwise,
14261 # look for a macro that doesn't take arguments.
14271 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14273 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14277 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
14290 DEFS
=`sed -n "$ac_script" confdefs.h`
14295 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14296 # 1. Remove the extension, and $U if already installed.
14297 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14298 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14299 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14300 # will be set to the directory where LIBOBJS objects are built.
14301 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14302 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14304 LIBOBJS
=$ac_libobjs
14306 LTLIBOBJS
=$ac_ltlibobjs
14309 if test -n "$EXEEXT"; then
14311 am__EXEEXT_FALSE
='#'
14313 am__EXEEXT_TRUE
='#'
14317 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14318 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
14319 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14321 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14322 as_fn_error
"conditional \"AMDEP\" was never defined.
14323 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14325 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14326 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
14327 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14329 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
14330 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
14331 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14333 if test -z "${PLUGIN_HOST_TRUE}" && test -z "${PLUGIN_HOST_FALSE}"; then
14334 as_fn_error
"conditional \"PLUGIN_HOST\" was never defined.
14335 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14338 : ${CONFIG_STATUS=./config.status}
14340 ac_clean_files_save
=$ac_clean_files
14341 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14342 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14343 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14345 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14347 # Generated by $as_me.
14348 # Run this file to recreate the current configuration.
14349 # Compiler output produced by configure, useful for debugging
14350 # configure, is in config.log if it exists.
14353 ac_cs_recheck=false
14356 SHELL=\${CONFIG_SHELL-$SHELL}
14359 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14360 ## -------------------- ##
14361 ## M4sh Initialization. ##
14362 ## -------------------- ##
14364 # Be more Bourne compatible
14365 DUALCASE
=1; export DUALCASE
# for MKS sh
14366 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14369 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14370 # is contrary to our usage. Disable this feature.
14371 alias -g '${1+"$@"}'='"$@"'
14372 setopt NO_GLOB_SUBST
14374 case `(set -o) 2>/dev/null` in #(
14386 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14387 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14388 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14389 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14390 # Prefer a ksh shell builtin over an external printf program on Solaris,
14391 # but without wasting forks for bash or zsh.
14392 if test -z "$BASH_VERSION$ZSH_VERSION" \
14393 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14394 as_echo='print
-r --'
14395 as_echo_n='print
-rn --'
14396 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14397 as_echo='printf %s
\n'
14398 as_echo_n='printf %s
'
14400 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14401 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14402 as_echo_n='/usr
/ucb
/echo -n'
14404 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14405 as_echo_n_body='eval
14409 expr "X$arg" : "X\\(.*\\)$as_nl";
14410 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14412 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14414 export as_echo_n_body
14415 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14417 export as_echo_body
14418 as_echo='sh
-c $as_echo_body as_echo
'
14421 # The user is always right.
14422 if test "${PATH_SEPARATOR+set}" != set; then
14424 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14425 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14432 # We need space, tab and new line, in precisely that order. Quoting is
14433 # there to prevent editors from complaining about space-tab.
14434 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14435 # splitting by setting IFS to empty value.)
14438 # Find who we are. Look in the path if we contain no directory separator.
14440 *[\\/]* ) as_myself=$0 ;;
14441 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14442 for as_dir in $PATH
14445 test -z "$as_dir" && as_dir=.
14446 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14452 # We did not find ourselves, most probably we were run as `sh COMMAND'
14453 # in which case we are not to be found in the path.
14454 if test "x$as_myself" = x
; then
14457 if test ! -f "$as_myself"; then
14458 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14462 # Unset variables that we do not need and which cause bugs (e.g. in
14463 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14464 # suppresses any "Segmentation fault" message there. '((' could
14465 # trigger a bug in pdksh 5.2.14.
14466 for as_var
in BASH_ENV ENV MAIL MAILPATH
14467 do eval test x\
${$as_var+set} = xset \
14468 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14481 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14484 # as_fn_error ERROR [LINENO LOG_FD]
14485 # ---------------------------------
14486 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14487 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14488 # script with status $?, using 1 if that was 0.
14491 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14493 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14494 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14496 $as_echo "$as_me: error: $1" >&2
14497 as_fn_exit
$as_status
14501 # as_fn_set_status STATUS
14502 # -----------------------
14503 # Set $? to STATUS, without forking.
14504 as_fn_set_status
()
14507 } # as_fn_set_status
14509 # as_fn_exit STATUS
14510 # -----------------
14511 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14515 as_fn_set_status
$1
14521 # Portably unset VAR.
14524 { eval $1=; unset $1;}
14526 as_unset
=as_fn_unset
14527 # as_fn_append VAR VALUE
14528 # ----------------------
14529 # Append the text in VALUE to the end of the definition contained in VAR. Take
14530 # advantage of any shell optimizations that allow amortized linear growth over
14531 # repeated appends, instead of the typical quadratic growth present in naive
14533 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14534 eval 'as_fn_append ()
14545 # as_fn_arith ARG...
14546 # ------------------
14547 # Perform arithmetic evaluation on the ARGs, and store the result in the
14548 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14549 # must be portable across $(()) and expr.
14550 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14551 eval 'as_fn_arith ()
14558 as_val
=`expr "$@" || test $? -eq 1`
14563 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14564 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14570 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14571 as_basename
=basename
14576 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14582 as_me
=`$as_basename -- "$0" ||
14583 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14584 X"$0" : 'X\(//\)$' \| \
14585 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14587 sed '/^.*\/\([^/][^/]*\)\/*$/{
14601 # Avoid depending upon Character Ranges.
14602 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14603 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14604 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14605 as_cr_digits
='0123456789'
14606 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14608 ECHO_C
= ECHO_N
= ECHO_T
=
14609 case `echo -n x` in #(((((
14611 case `echo 'xy\c'` in
14612 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14614 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14621 rm -f conf$$ conf$$.exe conf$$.
file
14622 if test -d conf$$.dir
; then
14623 rm -f conf$$.dir
/conf$$.
file
14626 mkdir conf$$.dir
2>/dev
/null
14628 if (echo >conf$$.
file) 2>/dev
/null
; then
14629 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14631 # ... but there are two gotchas:
14632 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14633 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14634 # In both cases, we have to default to `cp -p'.
14635 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14637 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14645 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14646 rmdir conf$$.dir
2>/dev
/null
14651 # Create "$as_dir" as a directory, including parents if necessary.
14656 -*) as_dir
=.
/$as_dir;;
14658 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14662 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14663 *) as_qdir
=$as_dir;;
14665 as_dirs
="'$as_qdir' $as_dirs"
14666 as_dir
=`$as_dirname -- "$as_dir" ||
14667 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14668 X"$as_dir" : 'X\(//\)[^/]' \| \
14669 X"$as_dir" : 'X\(//\)$' \| \
14670 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14671 $as_echo X"$as_dir" |
14672 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14676 /^X\(\/\/\)[^/].*/{
14689 test -d "$as_dir" && break
14691 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14692 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14696 if mkdir
-p .
2>/dev
/null
; then
14697 as_mkdir_p
='mkdir -p "$as_dir"'
14699 test -d .
/-p && rmdir .
/-p
14703 if test -x / >/dev
/null
2>&1; then
14704 as_test_x
='test -x'
14706 if ls -dL / >/dev
/null
2>&1; then
14713 if test -d "$1"; then
14719 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14720 ???[sx]*):;;*)false;;esac;fi
14724 as_executable_p
=$as_test_x
14726 # Sed expression to map a string onto a valid CPP name.
14727 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14729 # Sed expression to map a string onto a valid variable name.
14730 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14734 ## ----------------------------------- ##
14735 ## Main body of $CONFIG_STATUS script. ##
14736 ## ----------------------------------- ##
14738 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14740 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14741 # Save the log message, to keep $0 and so on meaningful, and to
14742 # report actual input values of CONFIG_FILES etc. instead of their
14743 # values after options handling.
14745 This file was extended by Intel MIC Offload Plugin $as_me 1.0, which was
14746 generated by GNU Autoconf 2.64. Invocation command line was
14748 CONFIG_FILES = $CONFIG_FILES
14749 CONFIG_HEADERS = $CONFIG_HEADERS
14750 CONFIG_LINKS = $CONFIG_LINKS
14751 CONFIG_COMMANDS = $CONFIG_COMMANDS
14754 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14759 case $ac_config_files in *"
14760 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14765 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14766 # Files that config.status was made for.
14767 config_files="$ac_config_files"
14768 config_commands="$ac_config_commands"
14772 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14774 \`$as_me' instantiates files and other configuration actions
14775 from templates according to the current configuration. Unless the files
14776 and actions are specified as TAGs, all are instantiated by default.
14778 Usage: $0 [OPTION]... [TAG]...
14780 -h, --help print this help, then exit
14781 -V, --version print version number and configuration settings, then exit
14782 -q, --quiet, --silent
14783 do not print progress messages
14784 -d, --debug don't remove temporary files
14785 --recheck update $as_me by reconfiguring in the same conditions
14786 --file=FILE[:TEMPLATE]
14787 instantiate the configuration file FILE
14789 Configuration files:
14792 Configuration commands:
14795 Report bugs to the package provider."
14798 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14800 Intel MIC Offload Plugin config.status 1.0
14801 configured by $0, generated by GNU Autoconf 2.64,
14802 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14804 Copyright (C) 2009 Free Software Foundation, Inc.
14805 This config.status script is free software; the Free Software Foundation
14806 gives unlimited permission to copy, distribute and modify it."
14813 test -n "\$AWK" || AWK=awk
14816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14817 # The default lists apply if the user does not specify any file.
14823 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14824 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14835 # Handling of the options.
14836 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14838 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14839 $as_echo "$ac_cs_version"; exit ;;
14840 --debug |
--debu |
--deb |
--de |
--d |
-d )
14842 --file |
--fil |
--fi |
--f )
14845 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14847 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14848 ac_need_defaults
=false
;;
14849 --he |
--h |
--help |
--hel |
-h )
14850 $as_echo "$ac_cs_usage"; exit ;;
14851 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14852 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14855 # This is an error.
14856 -*) as_fn_error
"unrecognized option: \`$1'
14857 Try \`$0 --help' for more information." ;;
14859 *) as_fn_append ac_config_targets
" $1"
14860 ac_need_defaults
=false
;;
14866 ac_configure_extra_args
=
14868 if $ac_cs_silent; then
14870 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14874 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14875 if \$ac_cs_recheck; then
14876 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14878 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14879 CONFIG_SHELL='$SHELL'
14880 export CONFIG_SHELL
14885 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14889 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14890 ## Running $as_me. ##
14896 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14900 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14905 with_multisubdir="$with_multisubdir"
14906 with_multisrctop="$with_multisrctop"
14907 with_target_subdir="$with_target_subdir"
14908 ac_configure_args="${multilib_arg} ${ac_configure_args}"
14909 multi_basedir="$multi_basedir"
14910 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
14913 GFORTRAN="$GFORTRAN"
14917 # The HP-UX ksh and POSIX shell print the target directory to stdout
14918 # if CDPATH is set.
14919 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14921 sed_quote_subst='$sed_quote_subst'
14922 double_quote_subst='$double_quote_subst'
14923 delay_variable_subst='$delay_variable_subst'
14924 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14925 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14926 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14927 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14928 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14929 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14930 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14931 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14932 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14933 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14934 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14935 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14936 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14937 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14938 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14939 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14940 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14941 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14942 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14943 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14944 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14945 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14946 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14947 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14948 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14949 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14950 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14951 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14952 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14953 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14954 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14955 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14956 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14957 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14958 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14959 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14960 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14961 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14962 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14963 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14964 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14965 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14966 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14967 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14968 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14969 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14970 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14971 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14972 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"`'
14973 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14974 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14975 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14976 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14977 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14978 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14979 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14980 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14981 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14982 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14983 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14984 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14985 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14986 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14987 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14988 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14989 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14990 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14991 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14992 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14993 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14994 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14995 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14996 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14997 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14998 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14999 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15000 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15001 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15002 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15003 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15004 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15005 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15006 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15007 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15008 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15009 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15010 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15011 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15012 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15013 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15014 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15015 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15016 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15017 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15018 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15019 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15020 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15021 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15022 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15023 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15024 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15025 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15026 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15027 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15028 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15029 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15030 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15031 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15032 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15033 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15034 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15035 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15036 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15037 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15038 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15039 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15040 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15041 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15042 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15043 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15044 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
15045 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
15046 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
15047 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
15048 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
15049 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
15050 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
15051 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
15052 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15053 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15054 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
15055 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
15056 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
15057 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
15058 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
15059 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
15060 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
15061 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
15062 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
15063 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15064 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15065 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
15066 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15067 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15068 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15069 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15070 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15071 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15072 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
15073 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15074 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15075 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15076 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
15077 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
15078 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
15079 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
15080 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
15081 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
15082 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
15083 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
15084 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
15085 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
15086 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
15087 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15088 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15089 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15090 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15091 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
15092 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
15093 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
15094 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15095 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15096 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
15097 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
15098 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
15101 LTCFLAGS='$LTCFLAGS'
15102 compiler='$compiler_DEFAULT'
15104 # A function that is used when there is no print builtin or printf.
15105 func_fallback_echo ()
15107 eval 'cat <<_LTECHO_EOF
15112 # Quote evaled strings.
15126 deplibs_check_method \
15135 lt_cv_sys_global_symbol_pipe \
15136 lt_cv_sys_global_symbol_to_cdecl \
15137 lt_cv_sys_global_symbol_to_c_name_address \
15138 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15139 lt_prog_compiler_no_builtin_flag \
15140 lt_prog_compiler_wl \
15141 lt_prog_compiler_pic \
15142 lt_prog_compiler_static \
15143 lt_cv_prog_compiler_c_o \
15151 export_dynamic_flag_spec \
15152 whole_archive_flag_spec \
15153 compiler_needs_object \
15155 allow_undefined_flag \
15156 no_undefined_flag \
15157 hardcode_libdir_flag_spec \
15158 hardcode_libdir_flag_spec_ld \
15159 hardcode_libdir_separator \
15164 variables_saved_for_relink \
15166 library_names_spec \
15168 install_override_mode \
15172 compiler_lib_search_dirs \
15177 compiler_lib_search_path \
15181 lt_prog_compiler_no_builtin_flag_CXX \
15182 lt_prog_compiler_wl_CXX \
15183 lt_prog_compiler_pic_CXX \
15184 lt_prog_compiler_static_CXX \
15185 lt_cv_prog_compiler_c_o_CXX \
15186 export_dynamic_flag_spec_CXX \
15187 whole_archive_flag_spec_CXX \
15188 compiler_needs_object_CXX \
15190 allow_undefined_flag_CXX \
15191 no_undefined_flag_CXX \
15192 hardcode_libdir_flag_spec_CXX \
15193 hardcode_libdir_flag_spec_ld_CXX \
15194 hardcode_libdir_separator_CXX \
15195 fix_srcfile_path_CXX \
15196 exclude_expsyms_CXX \
15197 include_expsyms_CXX \
15198 file_list_spec_CXX \
15199 compiler_lib_search_dirs_CXX \
15200 predep_objects_CXX \
15201 postdep_objects_CXX \
15204 compiler_lib_search_path_CXX; do
15205 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15206 *[\\\\\\\`\\"\\\$]*)
15207 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15210 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15215 # Double-quote double-evaled strings.
15216 for var in reload_cmds \
15217 old_postinstall_cmds \
15218 old_postuninstall_cmds \
15220 extract_expsyms_cmds \
15221 old_archive_from_new_cmds \
15222 old_archive_from_expsyms_cmds \
15224 archive_expsym_cmds \
15226 module_expsym_cmds \
15227 export_symbols_cmds \
15230 postuninstall_cmds \
15232 sys_lib_search_path_spec \
15233 sys_lib_dlsearch_path_spec \
15235 old_archive_cmds_CXX \
15236 old_archive_from_new_cmds_CXX \
15237 old_archive_from_expsyms_cmds_CXX \
15239 archive_expsym_cmds_CXX \
15241 module_expsym_cmds_CXX \
15242 export_symbols_cmds_CXX \
15243 prelink_cmds_CXX; do
15244 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15245 *[\\\\\\\`\\"\\\$]*)
15246 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15249 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15254 ac_aux_dir='$ac_aux_dir'
15255 xsi_shell='$xsi_shell'
15256 lt_shell_append='$lt_shell_append'
15258 # See if we are running on zsh, and set the options which allow our
15259 # commands through without removal of \ escapes INIT.
15260 if test -n "\${ZSH_VERSION+set}" ; then
15261 setopt NO_GLOB_SUBST
15267 TIMESTAMP='$TIMESTAMP'
15278 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15280 # Handling of arguments.
15281 for ac_config_target
in $ac_config_targets
15283 case $ac_config_target in
15284 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15285 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15286 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
15287 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15289 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15294 # If the user did not use the arguments to specify the items to instantiate,
15295 # then the envvar interface is used. Set only those that are not.
15296 # We use the long form for the default assignment because of an extremely
15297 # bizarre bug on SunOS 4.1.3.
15298 if $ac_need_defaults; then
15299 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15300 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15303 # Have a temporary directory for convenience. Make it in the build tree
15304 # simply because there is no reason against having it here, and in addition,
15305 # creating and moving files from /tmp can sometimes cause problems.
15306 # Hook for its removal unless debugging.
15307 # Note that there is a small window in which the directory will not be cleaned:
15308 # after its creation but before its name has been assigned to `$tmp'.
15312 trap 'exit_status=$?
15313 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15315 trap 'as_fn_exit 1' 1 2 13 15
15317 # Create a (secure) tmp directory for tmp files.
15320 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15321 test -n "$tmp" && test -d "$tmp"
15324 tmp
=.
/conf$$
-$RANDOM
15325 (umask 077 && mkdir
"$tmp")
15326 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15328 # Set up the scripts for CONFIG_FILES section.
15329 # No need to generate them if there are no CONFIG_FILES.
15330 # This happens for instance with `./config.status config.h'.
15331 if test -n "$CONFIG_FILES"; then
15334 ac_cr
=`echo X | tr X '\015'`
15335 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15336 # But we know of no other shell where ac_cr would be empty at this
15337 # point, so we can use a bashism as a fallback.
15338 if test "x$ac_cr" = x
; then
15339 eval ac_cr
=\$
\'\\r
\'
15341 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15342 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15345 ac_cs_awk_cr
=$ac_cr
15348 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15353 echo "cat >conf$$subs.awk <<_ACEOF" &&
15354 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15356 } >conf$$subs.sh ||
15357 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15358 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15360 for ac_last_try in false false false false false :; do
15361 . ./conf$$subs.sh ||
15362 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15364 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15365 if test $ac_delim_n = $ac_delim_num; then
15367 elif $ac_last_try; then
15368 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15370 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15373 rm -f conf$$subs.sh
15375 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15376 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15380 s/^/S["/; s
/!.
*/"]=/
15390 s/\(.\{148\}\).*/\1/
15392 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15397 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15404 s/\(.\{148\}\).*/\1/
15406 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15410 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15415 ' <conf$$subs.awk | sed '
15420 ' >>$CONFIG_STATUS || ac_write_fail=1
15421 rm -f conf$$subs.awk
15422 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15424 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15425 for (key in S) S_is_set[key] = 1
15431 nfields = split(line, field, "@
")
15433 len = length(field[1])
15434 for (i = 2; i < nfields; i++) {
15436 keylen = length(key)
15437 if (S_is_set[key]) {
15439 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15440 len += length(value) + length(field[++i])
15451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15452 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15453 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15456 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15457 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15460 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15461 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15462 # trailing colons and then remove the whole line if VPATH becomes empty
15463 # (actually we leave an empty line to preserve line numbers).
15464 if test "x
$srcdir" = x.; then
15465 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15466 s/:*\$(srcdir):*/:/
15467 s/:*\${srcdir}:*/:/
15469 s/^\([^=]*=[ ]*\):*/\1/
15475 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15476 fi # test -n "$CONFIG_FILES"
15479 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
15484 :[FHLC]) ac_mode=$ac_tag; continue;;
15486 case $ac_mode$ac_tag in
15488 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15489 :[FH]-) ac_tag=-:-;;
15490 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15507 -) ac_f="$tmp/stdin";;
15508 *) # Look for the file first in the build tree, then in the source tree
15509 # (if the path is not absolute). The absolute path cannot be DOS-style,
15510 # because $ac_f cannot contain `:'.
15514 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15516 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15518 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15519 as_fn_append ac_file_inputs " '$ac_f'"
15522 # Let's still pretend it is `configure' which instantiates (i.e., don't
15523 # use $as_me), people would be surprised to read:
15524 # /* config.h. Generated by config.status. */
15525 configure_input='Generated from '`
15526 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15528 if test x"$ac_file" != x-; then
15529 configure_input="$ac_file.
$configure_input"
15530 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15531 $as_echo "$as_me: creating
$ac_file" >&6;}
15533 # Neutralize special characters interpreted by sed in replacement strings.
15534 case $configure_input in #(
15535 *\&* | *\|* | *\\* )
15536 ac_sed_conf_input=`$as_echo "$configure_input" |
15537 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15538 *) ac_sed_conf_input=$configure_input;;
15542 *:-:* | *:-) cat >"$tmp/stdin
" \
15543 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15548 ac_dir=`$as_dirname -- "$ac_file" ||
15549 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15550 X"$ac_file" : 'X\(//\)[^/]' \| \
15551 X"$ac_file" : 'X\(//\)$' \| \
15552 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15553 $as_echo X"$ac_file" |
15554 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15558 /^X\(\/\/\)[^/].*/{
15571 as_dir="$ac_dir"; as_fn_mkdir_p
15575 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15577 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15578 # A "..
" for each directory in $ac_dir_suffix.
15579 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15580 case $ac_top_builddir_sub in
15581 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15582 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15585 ac_abs_top_builddir=$ac_pwd
15586 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15587 # for backward compatibility:
15588 ac_top_builddir=$ac_top_build_prefix
15591 .) # We are building in place.
15593 ac_top_srcdir=$ac_top_builddir_sub
15594 ac_abs_top_srcdir=$ac_pwd ;;
15595 [\\/]* | ?:[\\/]* ) # Absolute name.
15596 ac_srcdir=$srcdir$ac_dir_suffix;
15597 ac_top_srcdir=$srcdir
15598 ac_abs_top_srcdir=$srcdir ;;
15599 *) # Relative name.
15600 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15601 ac_top_srcdir=$ac_top_build_prefix$srcdir
15602 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15604 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15614 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15615 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15617 ac_MKDIR_P=$MKDIR_P
15619 [\\/$]* | ?:[\\/]* ) ;;
15620 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15625 # If the template does not know about datarootdir, expand it.
15626 # FIXME: This hack should be removed a few years after 2.60.
15627 ac_datarootdir_hack=; ac_datarootdir_seen=
15638 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15639 *datarootdir*) ac_datarootdir_seen=yes;;
15640 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15642 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15644 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15645 ac_datarootdir_hack='
15646 s&@datadir@&$datadir&g
15647 s&@docdir@&$docdir&g
15648 s&@infodir@&$infodir&g
15649 s&@localedir@&$localedir&g
15650 s&@mandir@&$mandir&g
15651 s&\\\${datarootdir}&$datarootdir&g' ;;
15655 # Neutralize VPATH when `$srcdir' = `.'.
15656 # Shell code in configure.ac might set extrasub.
15657 # FIXME: do we really want to maintain this feature?
15658 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15659 ac_sed_extra="$ac_vpsub
15662 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15664 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15665 s|@configure_input@|
$ac_sed_conf_input|
;t t
15666 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15667 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15668 s
&@srcdir@
&$ac_srcdir&;t t
15669 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15670 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15671 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15672 s
&@builddir@
&$ac_builddir&;t t
15673 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15674 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15675 s
&@INSTALL@
&$ac_INSTALL&;t t
15676 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15677 $ac_datarootdir_hack
15679 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
15680 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15682 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15683 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15684 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15686 which seems to be undefined. Please make sure it is defined." >&5
15687 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15688 which seems to be undefined. Please make sure it is defined." >&2;}
15692 -) cat "$tmp/out" && rm -f "$tmp/out";;
15693 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15695 || as_fn_error "could not create $ac_file" "$LINENO" 5
15699 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15700 $as_echo "$as_me: executing $ac_file commands" >&6;}
15705 case $ac_file$ac_mode in
15706 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15707 # Autoconf 2.62 quotes --file arguments for eval, but not when files
15708 # are listed without --file. Let's play safe and only
enable the
eval
15709 # if we detect the quoting.
15710 case $CONFIG_FILES in
15711 *\'*) eval set x
"$CONFIG_FILES" ;;
15712 *) set x
$CONFIG_FILES ;;
15717 # Strip MF so we end up with the name of the file.
15718 mf
=`echo "$mf" | sed -e 's/:.*$//'`
15719 # Check whether this is an Automake generated Makefile or not.
15720 # We used to match only the files named `Makefile.in', but
15721 # some people rename them; so instead we look at the file content.
15722 # Grep'ing the first line is not enough: some people post-process
15723 # each Makefile.in and add a new line on top of each file to say so.
15724 # Grep'ing the whole file is not good either: AIX grep has a line
15725 # limit of 2048, but all sed's we know have understand at least 4000.
15726 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
15727 dirpart
=`$as_dirname -- "$mf" ||
15728 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15729 X"$mf" : 'X\(//\)[^/]' \| \
15730 X"$mf" : 'X\(//\)$' \| \
15731 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15733 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15737 /^X\(\/\/\)[^/].*/{
15753 # Extract the definition of DEPDIR, am__include, and am__quote
15754 # from the Makefile without running `make'.
15755 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
15756 test -z "$DEPDIR" && continue
15757 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
15758 test -z "am__include" && continue
15759 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
15760 # When using ansi2knr, U may be empty or an underscore; expand it
15761 U
=`sed -n 's/^U = //p' < "$mf"`
15762 # Find all dependency output files, they are included files with
15763 # $(DEPDIR) in their names. We invoke sed twice because it is the
15764 # simplest approach to changing $(DEPDIR) to its actual value in the
15766 for file in `sed -n "
15767 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15768 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15769 # Make sure the directory exists.
15770 test -f "$dirpart/$file" && continue
15771 fdir
=`$as_dirname -- "$file" ||
15772 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15773 X"$file" : 'X\(//\)[^/]' \| \
15774 X"$file" : 'X\(//\)$' \| \
15775 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15776 $as_echo X"$file" |
15777 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15781 /^X\(\/\/\)[^/].*/{
15794 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
15795 # echo "creating $dirpart/$file"
15796 echo '# dummy' > "$dirpart/$file"
15802 # Only add multilib support code if we just rebuilt the top-level
15804 case " $CONFIG_FILES " in
15806 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
15811 # See if we are running on zsh, and set the options which allow our
15812 # commands through without removal of \ escapes.
15813 if test -n "${ZSH_VERSION+set}" ; then
15814 setopt NO_GLOB_SUBST
15817 cfgfile
="${ofile}T"
15818 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15821 cat <<_LT_EOF >> "$cfgfile"
15824 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15825 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15826 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15827 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15829 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15830 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
15831 # Written by Gordon Matzigkeit, 1996
15833 # This file is part of GNU Libtool.
15835 # GNU Libtool is free software; you can redistribute it and/or
15836 # modify it under the terms of the GNU General Public License as
15837 # published by the Free Software Foundation; either version 2 of
15838 # the License, or (at your option) any later version.
15840 # As a special exception to the GNU General Public License,
15841 # if you distribute this file as part of a program or library that
15842 # is built using GNU Libtool, you may include this file under the
15843 # same distribution terms that you use for the rest of that program.
15845 # GNU Libtool is distributed in the hope that it will be useful,
15846 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15847 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15848 # GNU General Public License for more details.
15850 # You should have received a copy of the GNU General Public License
15851 # along with GNU Libtool; see the file COPYING. If not, a copy
15852 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15853 # obtained by writing to the Free Software Foundation, Inc.,
15854 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15857 # The names of the tagged configurations supported by this script.
15858 available_tags="CXX "
15860 # ### BEGIN LIBTOOL CONFIG
15862 # Which release of libtool.m4 was used?
15863 macro_version=$macro_version
15864 macro_revision=$macro_revision
15866 # Whether or not to build shared libraries.
15867 build_libtool_libs=$enable_shared
15869 # Whether or not to build static libraries.
15870 build_old_libs=$enable_static
15872 # What type of objects to build.
15875 # Whether or not to optimize for fast installation.
15876 fast_install=$enable_fast_install
15878 # Shell to use when invoking shell scripts.
15881 # An echo program that protects backslashes.
15885 host_alias=$host_alias
15889 # The build system.
15890 build_alias=$build_alias
15894 # A sed program that does not truncate output.
15897 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15898 Xsed="\$SED -e 1s/^X//"
15900 # A grep program that handles long lines.
15906 # A literal string matcher.
15909 # A BSD- or MS-compatible name lister.
15912 # Whether we need soft or hard links.
15915 # What is the maximum length of a command?
15916 max_cmd_len=$max_cmd_len
15918 # Object file suffix (normally "o").
15921 # Executable file suffix (normally "").
15924 # whether the shell understands "unset".
15927 # turn spaces into newlines.
15930 # turn newlines into spaces.
15933 # An object symbol dumper.
15934 OBJDUMP=$lt_OBJDUMP
15936 # Method to check whether dependent libraries are shared objects.
15937 deplibs_check_method=$lt_deplibs_check_method
15939 # Command to use when deplibs_check_method == "file_magic".
15940 file_magic_cmd=$lt_file_magic_cmd
15944 AR_FLAGS=$lt_AR_FLAGS
15946 # A symbol stripping program.
15949 # Commands used to install an old-style archive.
15951 old_postinstall_cmds=$lt_old_postinstall_cmds
15952 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15954 # Whether to use a lock for old archive extraction.
15955 lock_old_archive_extraction=$lock_old_archive_extraction
15960 # LTCC compiler flags.
15961 LTCFLAGS=$lt_CFLAGS
15963 # Take the output of nm and produce a listing of raw symbols and C names.
15964 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15966 # Transform the output of nm in a proper C declaration.
15967 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15969 # Transform the output of nm in a C name address pair.
15970 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15972 # Transform the output of nm in a C name address pair when lib prefix is needed.
15973 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15975 # The name of the directory that contains temporary libtool files.
15978 # Used to examine libraries when file_magic_cmd begins with "file".
15979 MAGIC_CMD=$MAGIC_CMD
15981 # Must we lock files when doing compilation?
15982 need_locks=$lt_need_locks
15984 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15985 DSYMUTIL=$lt_DSYMUTIL
15987 # Tool to change global to local symbols on Mac OS X.
15990 # Tool to manipulate fat objects and archives on Mac OS X.
15993 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15996 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15997 OTOOL64=$lt_OTOOL64
15999 # Old archive suffix (normally "a").
16002 # Shared library suffix (normally ".so").
16003 shrext_cmds=$lt_shrext_cmds
16005 # The commands to extract the exported symbol list from a shared archive.
16006 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16008 # Variables whose values should be saved in libtool wrapper scripts and
16009 # restored at link time.
16010 variables_saved_for_relink=$lt_variables_saved_for_relink
16012 # Do we need the "lib" prefix for modules?
16013 need_lib_prefix=$need_lib_prefix
16015 # Do we need a version for libraries?
16016 need_version=$need_version
16018 # Library versioning type.
16019 version_type=$version_type
16021 # Shared library runtime path variable.
16022 runpath_var=$runpath_var
16024 # Shared library path variable.
16025 shlibpath_var=$shlibpath_var
16027 # Is shlibpath searched before the hard-coded library search path?
16028 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16030 # Format of library name prefix.
16031 libname_spec=$lt_libname_spec
16033 # List of archive names. First name is the real one, the rest are links.
16034 # The last name is the one that the linker finds with -lNAME
16035 library_names_spec=$lt_library_names_spec
16037 # The coded name of the library, if different from the real name.
16038 soname_spec=$lt_soname_spec
16040 # Permission mode override for installation of shared libraries.
16041 install_override_mode=$lt_install_override_mode
16043 # Command to use after installation of a shared archive.
16044 postinstall_cmds=$lt_postinstall_cmds
16046 # Command to use after uninstallation of a shared archive.
16047 postuninstall_cmds=$lt_postuninstall_cmds
16049 # Commands used to finish a libtool library installation in a directory.
16050 finish_cmds=$lt_finish_cmds
16052 # As "finish_cmds", except a single script fragment to be evaled but
16054 finish_eval=$lt_finish_eval
16056 # Whether we should hardcode library paths into libraries.
16057 hardcode_into_libs=$hardcode_into_libs
16059 # Compile-time system search path for libraries.
16060 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16062 # Run-time system search path for libraries.
16063 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16065 # Whether dlopen is supported.
16066 dlopen_support=$enable_dlopen
16068 # Whether dlopen of programs is supported.
16069 dlopen_self=$enable_dlopen_self
16071 # Whether dlopen of statically linked programs is supported.
16072 dlopen_self_static=$enable_dlopen_self_static
16074 # Commands to strip libraries.
16075 old_striplib=$lt_old_striplib
16076 striplib=$lt_striplib
16079 # The linker used to build libraries.
16082 # How to create reloadable object files.
16083 reload_flag=$lt_reload_flag
16084 reload_cmds=$lt_reload_cmds
16086 # Commands used to build an old-style archive.
16087 old_archive_cmds=$lt_old_archive_cmds
16089 # A language specific compiler.
16092 # Is the compiler the GNU compiler?
16095 # Compiler flag to turn off builtin functions.
16096 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16098 # How to pass a linker flag through the compiler.
16099 wl=$lt_lt_prog_compiler_wl
16101 # Additional compiler flags for building library objects.
16102 pic_flag=$lt_lt_prog_compiler_pic
16104 # Compiler flag to prevent dynamic linking.
16105 link_static_flag=$lt_lt_prog_compiler_static
16107 # Does compiler simultaneously support -c and -o options?
16108 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16110 # Whether or not to add -lc for building shared libraries.
16111 build_libtool_need_lc=$archive_cmds_need_lc
16113 # Whether or not to disallow shared libs when runtime libs are static.
16114 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16116 # Compiler flag to allow reflexive dlopens.
16117 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16119 # Compiler flag to generate shared objects directly from archives.
16120 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16122 # Whether the compiler copes with passing no objects directly.
16123 compiler_needs_object=$lt_compiler_needs_object
16125 # Create an old-style archive from a shared archive.
16126 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16128 # Create a temporary old-style archive to link instead of a shared archive.
16129 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16131 # Commands used to build a shared archive.
16132 archive_cmds=$lt_archive_cmds
16133 archive_expsym_cmds=$lt_archive_expsym_cmds
16135 # Commands used to build a loadable module if different from building
16136 # a shared archive.
16137 module_cmds=$lt_module_cmds
16138 module_expsym_cmds=$lt_module_expsym_cmds
16140 # Whether we are building with GNU ld or not.
16141 with_gnu_ld=$lt_with_gnu_ld
16143 # Flag that allows shared libraries with undefined symbols to be built.
16144 allow_undefined_flag=$lt_allow_undefined_flag
16146 # Flag that enforces no undefined symbols.
16147 no_undefined_flag=$lt_no_undefined_flag
16149 # Flag to hardcode \$libdir into a binary during linking.
16150 # This must work even if \$libdir does not exist
16151 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16153 # If ld is used when linking, flag to hardcode \$libdir into a binary
16154 # during linking. This must work even if \$libdir does not exist.
16155 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16157 # Whether we need a single "-rpath" flag with a separated argument.
16158 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16160 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16161 # DIR into the resulting binary.
16162 hardcode_direct=$hardcode_direct
16164 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16165 # DIR into the resulting binary and the resulting library dependency is
16166 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16167 # library is relocated.
16168 hardcode_direct_absolute=$hardcode_direct_absolute
16170 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16171 # into the resulting binary.
16172 hardcode_minus_L=$hardcode_minus_L
16174 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16175 # into the resulting binary.
16176 hardcode_shlibpath_var=$hardcode_shlibpath_var
16178 # Set to "yes" if building a shared library automatically hardcodes DIR
16179 # into the library and all subsequent libraries and executables linked
16181 hardcode_automatic=$hardcode_automatic
16183 # Set to yes if linker adds runtime paths of dependent libraries
16184 # to runtime path list.
16185 inherit_rpath=$inherit_rpath
16187 # Whether libtool must link a program against all its dependency libraries.
16188 link_all_deplibs=$link_all_deplibs
16190 # Fix the shell variable \$srcfile for the compiler.
16191 fix_srcfile_path=$lt_fix_srcfile_path
16193 # Set to "yes" if exported symbols are required.
16194 always_export_symbols=$always_export_symbols
16196 # The commands to list exported symbols.
16197 export_symbols_cmds=$lt_export_symbols_cmds
16199 # Symbols that should not be listed in the preloaded symbols.
16200 exclude_expsyms=$lt_exclude_expsyms
16202 # Symbols that must always be exported.
16203 include_expsyms=$lt_include_expsyms
16205 # Commands necessary for linking programs (against libraries) with templates.
16206 prelink_cmds=$lt_prelink_cmds
16208 # Specify filename containing input files.
16209 file_list_spec=$lt_file_list_spec
16211 # How to hardcode a shared library path into an executable.
16212 hardcode_action=$hardcode_action
16214 # The directories searched by this compiler when creating a shared library.
16215 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
16217 # Dependencies to place before and after the objects being linked to
16218 # create a shared library.
16219 predep_objects=$lt_predep_objects
16220 postdep_objects=$lt_postdep_objects
16221 predeps=$lt_predeps
16222 postdeps=$lt_postdeps
16224 # The library search path used internally by the compiler when linking
16225 # a shared library.
16226 compiler_lib_search_path=$lt_compiler_lib_search_path
16228 # ### END LIBTOOL CONFIG
16234 cat <<\_LT_EOF
>> "$cfgfile"
16235 # AIX sometimes has problems with the GCC collect2 program. For some
16236 # reason, if we set the COLLECT_NAMES environment variable, the problems
16237 # vanish in a puff of smoke.
16238 if test "X${COLLECT_NAMES+set}" != Xset
; then
16240 export COLLECT_NAMES
16247 ltmain
="$ac_aux_dir/ltmain.sh"
16250 # We use sed instead of cat because bash on DJGPP gets confused if
16251 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16252 # text mode, it properly converts lines to CR/LF. This bash problem
16253 # is reportedly fixed, but why not run on old versions too?
16254 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16255 ||
(rm -f "$cfgfile"; exit 1)
16259 cat << \_LT_EOF
>> "$cfgfile"
16261 # func_dirname file append nondir_replacement
16262 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16263 # otherwise set result to NONDIR_REPLACEMENT.
16267 */*) func_dirname_result
="${1%/*}${2}" ;;
16268 * ) func_dirname_result
="${3}" ;;
16272 # func_basename file
16275 func_basename_result
="${1##*/}"
16278 # func_dirname_and_basename file append nondir_replacement
16279 # perform func_basename and func_dirname in a single function
16281 # dirname: Compute the dirname of FILE. If nonempty,
16282 # add APPEND to the result, otherwise set result
16283 # to NONDIR_REPLACEMENT.
16284 # value returned in "$func_dirname_result"
16285 # basename: Compute filename of FILE.
16286 # value retuned in "$func_basename_result"
16287 # Implementation must be kept synchronized with func_dirname
16288 # and func_basename. For efficiency, we do not delegate to
16289 # those functions but instead duplicate the functionality here.
16290 func_dirname_and_basename
()
16293 */*) func_dirname_result
="${1%/*}${2}" ;;
16294 * ) func_dirname_result
="${3}" ;;
16296 func_basename_result
="${1##*/}"
16299 # func_stripname prefix suffix name
16300 # strip PREFIX and SUFFIX off of NAME.
16301 # PREFIX and SUFFIX must not contain globbing or regex special
16302 # characters, hashes, percent signs, but SUFFIX may contain a leading
16303 # dot (in which case that matches only a dot).
16306 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16307 # positional parameters, so assign one to ordinary parameter first.
16308 func_stripname_result
=${3}
16309 func_stripname_result
=${func_stripname_result#"${1}"}
16310 func_stripname_result
=${func_stripname_result%"${2}"}
16316 func_opt_split_opt
=${1%%=*}
16317 func_opt_split_arg
=${1#*=}
16324 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16325 *) func_lo2o_result
=${1} ;;
16329 # func_xform libobj-or-source
16332 func_xform_result
=${1%.*}.lo
16335 # func_arith arithmetic-term...
16338 func_arith_result
=$
(( $
* ))
16342 # STRING may not start with a hyphen.
16345 func_len_result
=${#1}
16350 *) # Bourne compatible functions.
16351 cat << \_LT_EOF
>> "$cfgfile"
16353 # func_dirname file append nondir_replacement
16354 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16355 # otherwise set result to NONDIR_REPLACEMENT.
16358 # Extract subdirectory from the argument.
16359 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
16360 if test "X$func_dirname_result" = "X${1}"; then
16361 func_dirname_result
="${3}"
16363 func_dirname_result
="$func_dirname_result${2}"
16367 # func_basename file
16370 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
16374 # func_stripname prefix suffix name
16375 # strip PREFIX and SUFFIX off of NAME.
16376 # PREFIX and SUFFIX must not contain globbing or regex special
16377 # characters, hashes, percent signs, but SUFFIX may contain a leading
16378 # dot (in which case that matches only a dot).
16379 # func_strip_suffix prefix name
16383 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16384 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16389 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16390 my_sed_long_arg
='1s/^-[^=]*=//'
16395 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16396 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16402 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
16405 # func_xform libobj-or-source
16408 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16411 # func_arith arithmetic-term...
16414 func_arith_result
=`expr "$@"`
16418 # STRING may not start with a hyphen.
16421 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16427 case $lt_shell_append in
16429 cat << \_LT_EOF
>> "$cfgfile"
16431 # func_append var value
16432 # Append VALUE to the end of shell variable VAR.
16440 cat << \_LT_EOF
>> "$cfgfile"
16442 # func_append var value
16443 # Append VALUE to the end of shell variable VAR.
16454 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16455 ||
(rm -f "$cfgfile"; exit 1)
16457 mv -f "$cfgfile" "$ofile" ||
16458 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16462 cat <<_LT_EOF >> "$ofile"
16464 # ### BEGIN LIBTOOL TAG CONFIG: CXX
16466 # The linker used to build libraries.
16469 # How to create reloadable object files.
16470 reload_flag=$lt_reload_flag_CXX
16471 reload_cmds=$lt_reload_cmds_CXX
16473 # Commands used to build an old-style archive.
16474 old_archive_cmds=$lt_old_archive_cmds_CXX
16476 # A language specific compiler.
16477 CC=$lt_compiler_CXX
16479 # Is the compiler the GNU compiler?
16482 # Compiler flag to turn off builtin functions.
16483 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
16485 # How to pass a linker flag through the compiler.
16486 wl=$lt_lt_prog_compiler_wl_CXX
16488 # Additional compiler flags for building library objects.
16489 pic_flag=$lt_lt_prog_compiler_pic_CXX
16491 # Compiler flag to prevent dynamic linking.
16492 link_static_flag=$lt_lt_prog_compiler_static_CXX
16494 # Does compiler simultaneously support -c and -o options?
16495 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
16497 # Whether or not to add -lc for building shared libraries.
16498 build_libtool_need_lc=$archive_cmds_need_lc_CXX
16500 # Whether or not to disallow shared libs when runtime libs are static.
16501 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
16503 # Compiler flag to allow reflexive dlopens.
16504 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
16506 # Compiler flag to generate shared objects directly from archives.
16507 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
16509 # Whether the compiler copes with passing no objects directly.
16510 compiler_needs_object=$lt_compiler_needs_object_CXX
16512 # Create an old-style archive from a shared archive.
16513 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
16515 # Create a temporary old-style archive to link instead of a shared archive.
16516 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
16518 # Commands used to build a shared archive.
16519 archive_cmds=$lt_archive_cmds_CXX
16520 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
16522 # Commands used to build a loadable module if different from building
16523 # a shared archive.
16524 module_cmds=$lt_module_cmds_CXX
16525 module_expsym_cmds=$lt_module_expsym_cmds_CXX
16527 # Whether we are building with GNU ld or not.
16528 with_gnu_ld=$lt_with_gnu_ld_CXX
16530 # Flag that allows shared libraries with undefined symbols to be built.
16531 allow_undefined_flag=$lt_allow_undefined_flag_CXX
16533 # Flag that enforces no undefined symbols.
16534 no_undefined_flag=$lt_no_undefined_flag_CXX
16536 # Flag to hardcode \$libdir into a binary during linking.
16537 # This must work even if \$libdir does not exist
16538 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
16540 # If ld is used when linking, flag to hardcode \$libdir into a binary
16541 # during linking. This must work even if \$libdir does not exist.
16542 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
16544 # Whether we need a single "-rpath" flag with a separated argument.
16545 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
16547 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16548 # DIR into the resulting binary.
16549 hardcode_direct=$hardcode_direct_CXX
16551 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16552 # DIR into the resulting binary and the resulting library dependency is
16553 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16554 # library is relocated.
16555 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
16557 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16558 # into the resulting binary.
16559 hardcode_minus_L=$hardcode_minus_L_CXX
16561 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16562 # into the resulting binary.
16563 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
16565 # Set to "yes" if building a shared library automatically hardcodes DIR
16566 # into the library and all subsequent libraries and executables linked
16568 hardcode_automatic=$hardcode_automatic_CXX
16570 # Set to yes if linker adds runtime paths of dependent libraries
16571 # to runtime path list.
16572 inherit_rpath=$inherit_rpath_CXX
16574 # Whether libtool must link a program against all its dependency libraries.
16575 link_all_deplibs=$link_all_deplibs_CXX
16577 # Fix the shell variable \$srcfile for the compiler.
16578 fix_srcfile_path=$lt_fix_srcfile_path_CXX
16580 # Set to "yes" if exported symbols are required.
16581 always_export_symbols=$always_export_symbols_CXX
16583 # The commands to list exported symbols.
16584 export_symbols_cmds=$lt_export_symbols_cmds_CXX
16586 # Symbols that should not be listed in the preloaded symbols.
16587 exclude_expsyms=$lt_exclude_expsyms_CXX
16589 # Symbols that must always be exported.
16590 include_expsyms=$lt_include_expsyms_CXX
16592 # Commands necessary for linking programs (against libraries) with templates.
16593 prelink_cmds=$lt_prelink_cmds_CXX
16595 # Specify filename containing input files.
16596 file_list_spec=$lt_file_list_spec_CXX
16598 # How to hardcode a shared library path into an executable.
16599 hardcode_action=$hardcode_action_CXX
16601 # The directories searched by this compiler when creating a shared library.
16602 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
16604 # Dependencies to place before and after the objects being linked to
16605 # create a shared library.
16606 predep_objects=$lt_predep_objects_CXX
16607 postdep_objects=$lt_postdep_objects_CXX
16608 predeps=$lt_predeps_CXX
16609 postdeps=$lt_postdeps_CXX
16611 # The library search path used internally by the compiler when linking
16612 # a shared library.
16613 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
16615 # ### END LIBTOOL TAG CONFIG: CXX
16626 ac_clean_files
=$ac_clean_files_save
16628 test $ac_write_fail = 0 ||
16629 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16632 # configure is writing to config.log, and then calls config.status.
16633 # config.status does its own redirection, appending to config.log.
16634 # Unfortunately, on DOS this fails, as config.log is still kept open
16635 # by configure, so config.status won't be able to write to it; its
16636 # output is simply discarded. So we exec the FD to /dev/null,
16637 # effectively closing config.log, so it can be properly (re)opened and
16638 # appended to by config.status. When coming back to configure, we
16639 # need to make the FD available again.
16640 if test "$no_create" != yes; then
16642 ac_config_status_args
=
16643 test "$silent" = yes &&
16644 ac_config_status_args
="$ac_config_status_args --quiet"
16646 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16648 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16649 # would make configure fail if this is the last instruction.
16650 $ac_cs_success || as_fn_exit $?
16652 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16654 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}