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
655 MAINTAINER_MODE_FALSE
665 INSTALL_STRIP_PROGRAM
719 program_transform_name
732 enable_option_checking
733 enable_maintainer_mode
734 enable_dependency_tracking
736 enable_version_specific_runtime_libs
744 ac_precious_vars
='build_alias
759 # Initialize some variables set by options.
761 ac_init_version
=false
762 ac_unrecognized_opts
=
764 # The variables have the same names as the options, with
765 # dashes changed to underlines.
773 program_transform_name
=s
,x
,x
,
781 # Installation directory options.
782 # These are left unexpanded so users can "make install exec_prefix=/foo"
783 # and all the variables that are supposed to be based on exec_prefix
784 # by default will actually change.
785 # Use braces instead of parens because sh, perl, etc. also accept them.
786 # (The list follows the same order as the GNU Coding Standards.)
787 bindir
='${exec_prefix}/bin'
788 sbindir
='${exec_prefix}/sbin'
789 libexecdir
='${exec_prefix}/libexec'
790 datarootdir
='${prefix}/share'
791 datadir
='${datarootdir}'
792 sysconfdir
='${prefix}/etc'
793 sharedstatedir
='${prefix}/com'
794 localstatedir
='${prefix}/var'
795 includedir
='${prefix}/include'
796 oldincludedir
='/usr/include'
797 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
798 infodir
='${datarootdir}/info'
803 libdir
='${exec_prefix}/lib'
804 localedir
='${datarootdir}/locale'
805 mandir
='${datarootdir}/man'
811 # If the previous option needs an argument, assign it.
812 if test -n "$ac_prev"; then
813 eval $ac_prev=\
$ac_option
819 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
823 # Accept the important Cygnus configure options, so we can diagnose typos.
825 case $ac_dashdash$ac_option in
829 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
831 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
834 -build |
--build |
--buil |
--bui |
--bu)
835 ac_prev
=build_alias
;;
836 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
837 build_alias
=$ac_optarg ;;
839 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
840 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
841 ac_prev
=cache_file
;;
842 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
843 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
844 cache_file
=$ac_optarg ;;
847 cache_file
=config.cache
;;
849 -datadir |
--datadir |
--datadi |
--datad)
851 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
852 datadir
=$ac_optarg ;;
854 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
855 |
--dataroo |
--dataro |
--datar)
856 ac_prev
=datarootdir
;;
857 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
858 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
859 datarootdir
=$ac_optarg ;;
861 -disable-* |
--disable-*)
862 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
863 # Reject names that are not valid shell variable names.
864 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
865 as_fn_error
"invalid feature name: $ac_useropt"
866 ac_useropt_orig
=$ac_useropt
867 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
868 case $ac_user_opts in
872 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
873 ac_unrecognized_sep
=', ';;
875 eval enable_
$ac_useropt=no
;;
877 -docdir |
--docdir |
--docdi |
--doc |
--do)
879 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
882 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
884 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
887 -enable-* |
--enable-*)
888 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
889 # Reject names that are not valid shell variable names.
890 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
891 as_fn_error
"invalid feature name: $ac_useropt"
892 ac_useropt_orig
=$ac_useropt
893 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
894 case $ac_user_opts in
898 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
899 ac_unrecognized_sep
=', ';;
901 eval enable_
$ac_useropt=\
$ac_optarg ;;
903 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
904 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
905 |
--exec |
--exe |
--ex)
906 ac_prev
=exec_prefix
;;
907 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
908 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
909 |
--exec=* |
--exe=* |
--ex=*)
910 exec_prefix
=$ac_optarg ;;
912 -gas |
--gas |
--ga |
--g)
913 # Obsolete; use --with-gas.
916 -help |
--help |
--hel |
--he |
-h)
918 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
919 ac_init_help
=recursive
;;
920 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
921 ac_init_help
=short
;;
923 -host |
--host |
--hos |
--ho)
924 ac_prev
=host_alias
;;
925 -host=* |
--host=* |
--hos=* |
--ho=*)
926 host_alias
=$ac_optarg ;;
928 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
930 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
932 htmldir
=$ac_optarg ;;
934 -includedir |
--includedir |
--includedi |
--included |
--include \
935 |
--includ |
--inclu |
--incl |
--inc)
936 ac_prev
=includedir
;;
937 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
938 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
939 includedir
=$ac_optarg ;;
941 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
943 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
944 infodir
=$ac_optarg ;;
946 -libdir |
--libdir |
--libdi |
--libd)
948 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
951 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
952 |
--libexe |
--libex |
--libe)
953 ac_prev
=libexecdir
;;
954 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
955 |
--libexe=* |
--libex=* |
--libe=*)
956 libexecdir
=$ac_optarg ;;
958 -localedir |
--localedir |
--localedi |
--localed |
--locale)
960 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
961 localedir
=$ac_optarg ;;
963 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
964 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
965 ac_prev
=localstatedir
;;
966 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
967 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
968 localstatedir
=$ac_optarg ;;
970 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
972 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
976 # Obsolete; use --without-fp.
979 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
980 |
--no-cr |
--no-c |
-n)
983 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
984 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
987 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
988 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
989 |
--oldin |
--oldi |
--old |
--ol |
--o)
990 ac_prev
=oldincludedir
;;
991 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
992 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
993 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
994 oldincludedir
=$ac_optarg ;;
996 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
998 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1001 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1002 |
--program-pre |
--program-pr |
--program-p)
1003 ac_prev
=program_prefix
;;
1004 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1005 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1006 program_prefix
=$ac_optarg ;;
1008 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1009 |
--program-suf |
--program-su |
--program-s)
1010 ac_prev
=program_suffix
;;
1011 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1012 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1013 program_suffix
=$ac_optarg ;;
1015 -program-transform-name |
--program-transform-name \
1016 |
--program-transform-nam |
--program-transform-na \
1017 |
--program-transform-n |
--program-transform- \
1018 |
--program-transform |
--program-transfor \
1019 |
--program-transfo |
--program-transf \
1020 |
--program-trans |
--program-tran \
1021 |
--progr-tra |
--program-tr |
--program-t)
1022 ac_prev
=program_transform_name
;;
1023 -program-transform-name=* |
--program-transform-name=* \
1024 |
--program-transform-nam=* |
--program-transform-na=* \
1025 |
--program-transform-n=* |
--program-transform-=* \
1026 |
--program-transform=* |
--program-transfor=* \
1027 |
--program-transfo=* |
--program-transf=* \
1028 |
--program-trans=* |
--program-tran=* \
1029 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1030 program_transform_name
=$ac_optarg ;;
1032 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1034 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1035 pdfdir
=$ac_optarg ;;
1037 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1039 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1042 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1043 |
-silent |
--silent |
--silen |
--sile |
--sil)
1046 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1048 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1050 sbindir
=$ac_optarg ;;
1052 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1053 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1054 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1056 ac_prev
=sharedstatedir
;;
1057 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1058 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1059 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1061 sharedstatedir
=$ac_optarg ;;
1063 -site |
--site |
--sit)
1065 -site=* |
--site=* |
--sit=*)
1068 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1070 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1071 srcdir
=$ac_optarg ;;
1073 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1074 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1075 ac_prev
=sysconfdir
;;
1076 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1077 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1078 sysconfdir
=$ac_optarg ;;
1080 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1081 ac_prev
=target_alias
;;
1082 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1083 target_alias
=$ac_optarg ;;
1085 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1088 -version |
--version |
--versio |
--versi |
--vers |
-V)
1089 ac_init_version
=: ;;
1092 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1093 # Reject names that are not valid shell variable names.
1094 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1095 as_fn_error
"invalid package name: $ac_useropt"
1096 ac_useropt_orig
=$ac_useropt
1097 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1098 case $ac_user_opts in
1102 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1103 ac_unrecognized_sep
=', ';;
1105 eval with_
$ac_useropt=\
$ac_optarg ;;
1107 -without-* |
--without-*)
1108 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1109 # Reject names that are not valid shell variable names.
1110 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1111 as_fn_error
"invalid package name: $ac_useropt"
1112 ac_useropt_orig
=$ac_useropt
1113 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1114 case $ac_user_opts in
1118 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1119 ac_unrecognized_sep
=', ';;
1121 eval with_
$ac_useropt=no
;;
1124 # Obsolete; use --with-x.
1127 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1128 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1129 ac_prev
=x_includes
;;
1130 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1131 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1132 x_includes
=$ac_optarg ;;
1134 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1135 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1136 ac_prev
=x_libraries
;;
1137 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1138 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1139 x_libraries
=$ac_optarg ;;
1141 -*) as_fn_error
"unrecognized option: \`$ac_option'
1142 Try \`$0 --help' for more information."
1146 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1147 # Reject names that are not valid shell variable names.
1148 case $ac_envvar in #(
1149 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1150 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1152 eval $ac_envvar=\
$ac_optarg
1153 export $ac_envvar ;;
1156 # FIXME: should be removed in autoconf 3.0.
1157 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1158 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1159 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1160 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1166 if test -n "$ac_prev"; then
1167 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1168 as_fn_error
"missing argument to $ac_option"
1171 if test -n "$ac_unrecognized_opts"; then
1172 case $enable_option_checking in
1174 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1175 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1179 # Check all directory arguments for consistency.
1180 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1181 datadir sysconfdir sharedstatedir localstatedir includedir \
1182 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1183 libdir localedir mandir
1185 eval ac_val
=\$
$ac_var
1186 # Remove trailing slashes.
1189 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1190 eval $ac_var=\
$ac_val;;
1192 # Be sure to have absolute directory names.
1194 [\\/$
]* | ?
:[\\/]* ) continue;;
1195 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1197 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1200 # There might be people who depend on the old broken behavior: `$host'
1201 # used to hold the argument of --host etc.
1202 # FIXME: To remove some day.
1205 target
=$target_alias
1207 # FIXME: To remove some day.
1208 if test "x$host_alias" != x
; then
1209 if test "x$build_alias" = x
; then
1210 cross_compiling
=maybe
1211 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1212 If a cross compiler is detected then cross compile mode will be used." >&2
1213 elif test "x$build_alias" != "x$host_alias"; then
1219 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1221 test "$silent" = yes && exec 6>/dev
/null
1224 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1225 ac_ls_di
=`ls -di .` &&
1226 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1227 as_fn_error
"working directory cannot be determined"
1228 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1229 as_fn_error
"pwd does not report name of working directory"
1232 # Find the source files, if location was not specified.
1233 if test -z "$srcdir"; then
1234 ac_srcdir_defaulted
=yes
1235 # Try the directory containing this script, then the parent directory.
1236 ac_confdir
=`$as_dirname -- "$as_myself" ||
1237 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1238 X"$as_myself" : 'X\(//\)[^/]' \| \
1239 X"$as_myself" : 'X\(//\)$' \| \
1240 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1241 $as_echo X"$as_myself" |
1242 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1260 if test ! -r "$srcdir/$ac_unique_file"; then
1264 ac_srcdir_defaulted
=no
1266 if test ! -r "$srcdir/$ac_unique_file"; then
1267 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1268 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1270 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1272 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1274 # When building in place, set srcdir=.
1275 if test "$ac_abs_confdir" = "$ac_pwd"; then
1278 # Remove unnecessary trailing slashes from srcdir.
1279 # Double slashes in file names in object file debugging info
1280 # mess up M-x gdb in Emacs.
1282 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1284 for ac_var
in $ac_precious_vars; do
1285 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1286 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1287 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1288 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1292 # Report the --help message.
1294 if test "$ac_init_help" = "long"; then
1295 # Omit some internal or obsolete options to make the list less imposing.
1296 # This message is too long to be a string in the A/UX 3.1 sh.
1298 \`configure' configures Intel MIC Offload Plugin 1.0 to adapt to many kinds of systems.
1300 Usage: $0 [OPTION]... [VAR=VALUE]...
1302 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1303 VAR=VALUE. See below for descriptions of some of the useful variables.
1305 Defaults for the options are specified in brackets.
1308 -h, --help display this help and exit
1309 --help=short display options specific to this package
1310 --help=recursive display the short help of all the included packages
1311 -V, --version display version information and exit
1312 -q, --quiet, --silent do not print \`checking...' messages
1313 --cache-file=FILE cache test results in FILE [disabled]
1314 -C, --config-cache alias for \`--cache-file=config.cache'
1315 -n, --no-create do not create output files
1316 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1318 Installation directories:
1319 --prefix=PREFIX install architecture-independent files in PREFIX
1320 [$ac_default_prefix]
1321 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1324 By default, \`make install' will install all the files in
1325 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1326 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1327 for instance \`--prefix=\$HOME'.
1329 For better control, use the options below.
1331 Fine tuning of the installation directories:
1332 --bindir=DIR user executables [EPREFIX/bin]
1333 --sbindir=DIR system admin executables [EPREFIX/sbin]
1334 --libexecdir=DIR program executables [EPREFIX/libexec]
1335 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1336 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1337 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1338 --libdir=DIR object code libraries [EPREFIX/lib]
1339 --includedir=DIR C header files [PREFIX/include]
1340 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1341 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1342 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1343 --infodir=DIR info documentation [DATAROOTDIR/info]
1344 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1345 --mandir=DIR man documentation [DATAROOTDIR/man]
1346 --docdir=DIR documentation root
1347 [DATAROOTDIR/doc/libgomp-plugin-intelmic]
1348 --htmldir=DIR html documentation [DOCDIR]
1349 --dvidir=DIR dvi documentation [DOCDIR]
1350 --pdfdir=DIR pdf documentation [DOCDIR]
1351 --psdir=DIR ps documentation [DOCDIR]
1357 --program-prefix=PREFIX prepend PREFIX to installed program names
1358 --program-suffix=SUFFIX append SUFFIX to installed program names
1359 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1362 --build=BUILD configure
for building on BUILD
[guessed
]
1363 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1364 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1368 if test -n "$ac_init_help"; then
1369 case $ac_init_help in
1370 short | recursive
) echo "Configuration of Intel MIC Offload Plugin 1.0:";;
1375 --disable-option-checking ignore unrecognized
--enable/--with options
1376 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1377 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1378 --enable-maintainer-mode enable make rules and dependencies not useful
1379 (and sometimes confusing
) to the casual installer
1380 --disable-dependency-tracking speeds up one-time build
1381 --enable-dependency-tracking do not reject slow dependency extractors
1382 --enable-multilib build many library versions
(default
)
1383 --enable-version-specific-runtime-libs
1384 Specify that runtime libraries should be installed
1385 in a compiler-specific directory
1386 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1387 --enable-static[=PKGS
] build static libraries
[default
=yes]
1388 --enable-fast-install[=PKGS
]
1389 optimize
for fast installation
[default
=yes]
1390 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1393 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1394 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1395 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1397 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1399 Some influential environment variables
:
1400 CC C compiler
command
1401 CFLAGS C compiler flags
1402 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1403 nonstandard directory
<lib dir
>
1404 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1405 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1406 you have headers
in a nonstandard directory
<include dir
>
1407 CXX C
++ compiler
command
1408 CXXFLAGS C
++ compiler flags
1410 CXXCPP C
++ preprocessor
1412 Use these variables to override the choices made by
`configure' or to help
1413 it to find libraries and programs with nonstandard names/locations.
1415 Report bugs to the package provider.
1420 if test "$ac_init_help" = "recursive"; then
1421 # If there are subdirs, report their specific --help.
1422 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1423 test -d "$ac_dir" ||
1424 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1429 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1431 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1432 # A ".." for each directory in $ac_dir_suffix.
1433 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1434 case $ac_top_builddir_sub in
1435 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1436 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1439 ac_abs_top_builddir=$ac_pwd
1440 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1441 # for backward compatibility:
1442 ac_top_builddir=$ac_top_build_prefix
1445 .) # We are building in place.
1447 ac_top_srcdir=$ac_top_builddir_sub
1448 ac_abs_top_srcdir=$ac_pwd ;;
1449 [\\/]* | ?:[\\/]* ) # Absolute name.
1450 ac_srcdir=$srcdir$ac_dir_suffix;
1451 ac_top_srcdir=$srcdir
1452 ac_abs_top_srcdir=$srcdir ;;
1454 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1455 ac_top_srcdir=$ac_top_build_prefix$srcdir
1456 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1458 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1460 cd "$ac_dir" || { ac_status=$?; continue; }
1461 # Check for guested configure.
1462 if test -f "$ac_srcdir/configure.gnu"; then
1464 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1465 elif test -f "$ac_srcdir/configure"; then
1467 $SHELL "$ac_srcdir/configure" --help=recursive
1469 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1471 cd "$ac_pwd" || { ac_status=$?; break; }
1475 test -n "$ac_init_help" && exit $ac_status
1476 if $ac_init_version; then
1478 Intel MIC Offload Plugin configure 1.0
1479 generated by GNU Autoconf 2.64
1481 Copyright (C) 2009 Free Software Foundation, Inc.
1482 This configure script is free software; the Free Software Foundation
1483 gives unlimited permission to copy, distribute and modify it.
1488 ## ------------------------ ##
1489 ## Autoconf initialization. ##
1490 ## ------------------------ ##
1492 # ac_fn_c_try_compile LINENO
1493 # --------------------------
1494 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1495 ac_fn_c_try_compile ()
1497 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1498 rm -f conftest.$ac_objext
1499 if { { ac_try="$ac_compile"
1501 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1502 *) ac_try_echo
=$ac_try;;
1504 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1505 $as_echo "$ac_try_echo"; } >&5
1506 (eval "$ac_compile") 2>conftest.err
1508 if test -s conftest.err
; then
1509 grep -v '^ *+' conftest.err
>conftest.er1
1510 cat conftest.er1
>&5
1511 mv -f conftest.er1 conftest.err
1513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1514 test $ac_status = 0; } && {
1515 test -z "$ac_c_werror_flag" ||
1516 test ! -s conftest.err
1517 } && test -s conftest.
$ac_objext; then :
1520 $as_echo "$as_me: failed program was:" >&5
1521 sed 's/^/| /' conftest.
$ac_ext >&5
1525 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1528 } # ac_fn_c_try_compile
1530 # ac_fn_cxx_try_compile LINENO
1531 # ----------------------------
1532 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1533 ac_fn_cxx_try_compile
()
1535 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1536 rm -f conftest.
$ac_objext
1537 if { { ac_try
="$ac_compile"
1539 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1540 *) ac_try_echo=$ac_try;;
1542 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1543 $as_echo "$ac_try_echo"; } >&5
1544 (eval "$ac_compile") 2>conftest.err
1546 if test -s conftest.err; then
1547 grep -v '^ *+' conftest.err >conftest.er1
1548 cat conftest.er1 >&5
1549 mv -f conftest.er1 conftest.err
1551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1552 test $ac_status = 0; } && {
1553 test -z "$ac_cxx_werror_flag" ||
1554 test ! -s conftest.err
1555 } && test -s conftest.$ac_objext; then :
1558 $as_echo "$as_me: failed program was:" >&5
1559 sed 's/^/| /' conftest.$ac_ext >&5
1563 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1566 } # ac_fn_cxx_try_compile
1568 # ac_fn_c_try_link LINENO
1569 # -----------------------
1570 # Try to link conftest.$ac_ext, and return whether this succeeded.
1573 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1574 rm -f conftest.$ac_objext conftest$ac_exeext
1575 if { { ac_try="$ac_link"
1577 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1578 *) ac_try_echo
=$ac_try;;
1580 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1581 $as_echo "$ac_try_echo"; } >&5
1582 (eval "$ac_link") 2>conftest.err
1584 if test -s conftest.err
; then
1585 grep -v '^ *+' conftest.err
>conftest.er1
1586 cat conftest.er1
>&5
1587 mv -f conftest.er1 conftest.err
1589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1590 test $ac_status = 0; } && {
1591 test -z "$ac_c_werror_flag" ||
1592 test ! -s conftest.err
1593 } && test -s conftest
$ac_exeext && {
1594 test "$cross_compiling" = yes ||
1595 $as_test_x conftest
$ac_exeext
1599 $as_echo "$as_me: failed program was:" >&5
1600 sed 's/^/| /' conftest.
$ac_ext >&5
1604 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1605 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1606 # interfere with the next link command; also delete a directory that is
1607 # left behind by Apple's compiler. We do this before executing the actions.
1608 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1609 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1612 } # ac_fn_c_try_link
1614 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1615 # -------------------------------------------------------
1616 # Tests whether HEADER exists and can be compiled using the include files in
1617 # INCLUDES, setting the cache variable VAR accordingly.
1618 ac_fn_c_check_header_compile
()
1620 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1622 $as_echo_n "checking for $2... " >&6; }
1623 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1624 $as_echo_n "(cached) " >&6
1626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1627 /* end confdefs.h. */
1631 if ac_fn_c_try_compile
"$LINENO"; then :
1636 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1640 $as_echo "$ac_res" >&6; }
1641 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1643 } # ac_fn_c_check_header_compile
1645 # ac_fn_c_try_cpp LINENO
1646 # ----------------------
1647 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1650 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1651 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1653 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1654 *) ac_try_echo=$ac_try;;
1656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1657 $as_echo "$ac_try_echo"; } >&5
1658 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1660 if test -s conftest.err; then
1661 grep -v '^ *+' conftest.err >conftest.er1
1662 cat conftest.er1 >&5
1663 mv -f conftest.er1 conftest.err
1665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1666 test $ac_status = 0; } >/dev/null && {
1667 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1668 test ! -s conftest.err
1672 $as_echo "$as_me: failed program was:" >&5
1673 sed 's/^/| /' conftest.$ac_ext >&5
1677 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1682 # ac_fn_c_try_run LINENO
1683 # ----------------------
1684 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1685 # that executables *can* be run.
1688 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1689 if { { ac_try="$ac_link"
1691 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1692 *) ac_try_echo
=$ac_try;;
1694 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1695 $as_echo "$ac_try_echo"; } >&5
1696 (eval "$ac_link") 2>&5
1698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1699 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1700 { { case "(($ac_try" in
1701 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1702 *) ac_try_echo=$ac_try;;
1704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1705 $as_echo "$ac_try_echo"; } >&5
1706 (eval "$ac_try") 2>&5
1708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1709 test $ac_status = 0; }; }; then :
1712 $as_echo "$as_me: program exited with status $ac_status" >&5
1713 $as_echo "$as_me: failed program was:" >&5
1714 sed 's/^/| /' conftest.$ac_ext >&5
1716 ac_retval=$ac_status
1718 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1719 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1724 # ac_fn_c_check_func LINENO FUNC VAR
1725 # ----------------------------------
1726 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1727 ac_fn_c_check_func ()
1729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1731 $as_echo_n "checking for $2... " >&6; }
1732 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1733 $as_echo_n "(cached) " >&6
1735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1736 /* end confdefs.h. */
1737 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1739 #define $2 innocuous_$2
1741 /* System header to define __stub macros and hopefully few prototypes,
1742 which can conflict with char $2 (); below.
1743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1744 <limits.h> exists even on freestanding compilers. */
1747 # include <limits.h>
1749 # include <assert.h>
1754 /* Override any GCC internal prototype to avoid an error.
1755 Use char because int might match the return type of a GCC
1756 builtin and then its argument prototype would still apply. */
1761 /* The GNU C library defines this for functions which it implements
1762 to always fail with ENOSYS. Some functions are actually named
1763 something starting with __ and the normal name is an alias. */
1764 #if defined __stub_$2 || defined __stub___$2
1776 if ac_fn_c_try_link "$LINENO"; then :
1781 rm -f core conftest.err conftest.$ac_objext \
1782 conftest$ac_exeext conftest.$ac_ext
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1786 $as_echo "$ac_res" >&6; }
1787 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1789 } # ac_fn_c_check_func
1791 # ac_fn_cxx_try_cpp LINENO
1792 # ------------------------
1793 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1794 ac_fn_cxx_try_cpp ()
1796 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1797 if { { ac_try="$ac_cpp conftest.$ac_ext"
1799 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1800 *) ac_try_echo
=$ac_try;;
1802 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1803 $as_echo "$ac_try_echo"; } >&5
1804 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1806 if test -s conftest.err
; then
1807 grep -v '^ *+' conftest.err
>conftest.er1
1808 cat conftest.er1
>&5
1809 mv -f conftest.er1 conftest.err
1811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1812 test $ac_status = 0; } >/dev
/null
&& {
1813 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1814 test ! -s conftest.err
1818 $as_echo "$as_me: failed program was:" >&5
1819 sed 's/^/| /' conftest.
$ac_ext >&5
1823 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1826 } # ac_fn_cxx_try_cpp
1828 # ac_fn_cxx_try_link LINENO
1829 # -------------------------
1830 # Try to link conftest.$ac_ext, and return whether this succeeded.
1831 ac_fn_cxx_try_link
()
1833 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1834 rm -f conftest.
$ac_objext conftest
$ac_exeext
1835 if { { ac_try
="$ac_link"
1837 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1838 *) ac_try_echo=$ac_try;;
1840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1841 $as_echo "$ac_try_echo"; } >&5
1842 (eval "$ac_link") 2>conftest.err
1844 if test -s conftest.err; then
1845 grep -v '^ *+' conftest.err >conftest.er1
1846 cat conftest.er1 >&5
1847 mv -f conftest.er1 conftest.err
1849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1850 test $ac_status = 0; } && {
1851 test -z "$ac_cxx_werror_flag" ||
1852 test ! -s conftest.err
1853 } && test -s conftest$ac_exeext && {
1854 test "$cross_compiling" = yes ||
1855 $as_test_x conftest$ac_exeext
1859 $as_echo "$as_me: failed program was:" >&5
1860 sed 's/^/| /' conftest.$ac_ext >&5
1864 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1865 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1866 # interfere with the next link command; also delete a directory that is
1867 # left behind by Apple's compiler. We do this before executing the actions.
1868 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1869 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1872 } # ac_fn_cxx_try_link
1873 cat >config.log <<_ACEOF
1874 This file contains any messages produced by compilers while
1875 running configure, to aid debugging if configure makes a mistake.
1877 It was created by Intel MIC Offload Plugin $as_me 1.0, which was
1878 generated by GNU Autoconf 2.64. Invocation command line was
1890 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1891 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1892 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1893 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1894 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1896 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1897 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1899 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1900 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1901 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1902 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1903 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1904 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1905 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1913 test -z "$as_dir" && as_dir=.
1914 $as_echo "PATH: $as_dir"
1930 # Keep a trace of the command line.
1931 # Strip out --no-create and --no-recursion so they do not pile up.
1932 # Strip out --silent because we don't want to record it for future runs.
1933 # Also quote any args containing shell meta-characters.
1934 # Make two passes to allow for proper duplicate-argument suppression.
1938 ac_must_keep_next=false
1944 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1945 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1946 | -silent | --silent | --silen | --sile | --sil)
1949 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1952 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1954 as_fn_append ac_configure_args1 " '$ac_arg'"
1955 if test $ac_must_keep_next = true; then
1956 ac_must_keep_next=false # Got value, back to normal.
1959 *=* | --config-cache | -C | -disable-* | --disable-* \
1960 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1961 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1962 | -with-* | --with-* | -without-* | --without-* | --x)
1963 case "$ac_configure_args0 " in
1964 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1967 -* ) ac_must_keep_next=true ;;
1970 as_fn_append ac_configure_args " '$ac_arg'"
1975 { ac_configure_args0=; unset ac_configure_args0;}
1976 { ac_configure_args1=; unset ac_configure_args1;}
1978 # When interrupted or exit'd, cleanup temporary files, and complete
1979 # config.log. We remove comments because anyway the quotes in there
1980 # would cause problems or look ugly.
1981 # WARNING: Use '\'' to represent an apostrophe within the trap.
1982 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1983 trap 'exit_status=$?
1984 # Save into config.log some information that might help in debugging.
1989 ## ---------------- ##
1990 ## Cache variables. ##
1991 ## ---------------- ##
1994 # The following way of writing the cache mishandles newlines in values,
1996 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1997 eval ac_val=\$$ac_var
2001 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2002 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2005 _ | IFS | as_nl) ;; #(
2006 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2007 *) { eval $ac_var=; unset $ac_var;} ;;
2012 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2013 *${as_nl}ac_space=\ *)
2015 "s/'\''/'\''\\\\'\'''\''/g;
2016 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2019 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2027 ## ----------------- ##
2028 ## Output variables. ##
2029 ## ----------------- ##
2032 for ac_var in $ac_subst_vars
2034 eval ac_val=\$$ac_var
2036 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2038 $as_echo "$ac_var='\''$ac_val'\''"
2042 if test -n "$ac_subst_files"; then
2044 ## ------------------- ##
2045 ## File substitutions. ##
2046 ## ------------------- ##
2049 for ac_var in $ac_subst_files
2051 eval ac_val=\$$ac_var
2053 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2055 $as_echo "$ac_var='\''$ac_val'\''"
2060 if test -s confdefs.h; then
2070 test "$ac_signal" != 0 &&
2071 $as_echo "$as_me: caught signal $ac_signal"
2072 $as_echo "$as_me: exit $exit_status"
2074 rm -f core *.core core.conftest.* &&
2075 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2078 for ac_signal in 1 2 13 15; do
2079 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2083 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2084 rm -f -r conftest* confdefs.h
2086 $as_echo "/* confdefs.h */" > confdefs.h
2088 # Predefined preprocessor variables.
2090 cat >>confdefs.h <<_ACEOF
2091 #define PACKAGE_NAME "$PACKAGE_NAME"
2094 cat >>confdefs.h <<_ACEOF
2095 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2098 cat >>confdefs.h <<_ACEOF
2099 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2102 cat >>confdefs.h <<_ACEOF
2103 #define PACKAGE_STRING "$PACKAGE_STRING"
2106 cat >>confdefs.h <<_ACEOF
2107 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2110 cat >>confdefs.h <<_ACEOF
2111 #define PACKAGE_URL "$PACKAGE_URL"
2115 # Let the site file select an alternate cache file if it wants to.
2116 # Prefer an explicitly selected file to automatically selected ones.
2119 if test -n "$CONFIG_SITE"; then
2120 ac_site_file1=$CONFIG_SITE
2121 elif test "x$prefix" != xNONE; then
2122 ac_site_file1=$prefix/share/config.site
2123 ac_site_file2=$prefix/etc/config.site
2125 ac_site_file1=$ac_default_prefix/share/config.site
2126 ac_site_file2=$ac_default_prefix/etc/config.site
2128 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2130 test "x$ac_site_file" = xNONE && continue
2131 if test -r "$ac_site_file"; then
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2133 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2134 sed 's/^/| /' "$ac_site_file" >&5
2139 if test -r "$cache_file"; then
2140 # Some versions of bash will fail to source /dev/null (special
2141 # files actually), so we avoid doing that.
2142 if test -f "$cache_file"; then
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2144 $as_echo "$as_me: loading cache $cache_file" >&6;}
2146 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2147 *) . "./$cache_file";;
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2152 $as_echo "$as_me: creating cache $cache_file" >&6;}
2156 # Check that the precious variables saved in the cache have kept the same
2158 ac_cache_corrupted=false
2159 for ac_var in $ac_precious_vars; do
2160 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2161 eval ac_new_set=\$ac_env_${ac_var}_set
2162 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2163 eval ac_new_val=\$ac_env_${ac_var}_value
2164 case $ac_old_set,$ac_new_set in
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2167 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2168 ac_cache_corrupted=: ;;
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2171 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2172 ac_cache_corrupted=: ;;
2175 if test "x$ac_old_val" != "x$ac_new_val"; then
2176 # differences in whitespace do not lead to failure.
2177 ac_old_val_w=`echo x
$ac_old_val`
2178 ac_new_val_w=`echo x
$ac_new_val`
2179 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2181 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2182 ac_cache_corrupted=:
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2185 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2186 eval $ac_var=\$ac_old_val
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2189 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2191 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2194 # Pass precious variables to config.status.
2195 if test "$ac_new_set" = set; then
2197 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2198 *) ac_arg=$ac_var=$ac_new_val ;;
2200 case " $ac_configure_args " in
2201 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2202 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2206 if $ac_cache_corrupted; then
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2210 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2211 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2213 ## -------------------- ##
2214 ## Main body of script. ##
2215 ## -------------------- ##
2218 ac_cpp='$CPP $CPPFLAGS'
2219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2229 for ac_dir in ../.. "$srcdir"/../..; do
2230 for ac_t in install-sh install.sh shtool; do
2231 if test -f "$ac_dir/$ac_t"; then
2233 ac_install_sh="$ac_aux_dir/$ac_t -c"
2238 if test -z "$ac_aux_dir"; then
2239 as_fn_error "cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5
2242 # These three variables are undocumented and unsupported,
2243 # and are intended to be withdrawn in a future Autoconf release.
2244 # They can cause serious problems if a builder's source tree is in a directory
2245 # whose full name contains unusual characters.
2246 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2247 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2248 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2252 # Make sure we can run config.sub.
2253 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2254 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2257 $as_echo_n "checking build system type... " >&6; }
2258 if test "${ac_cv_build+set}" = set; then :
2259 $as_echo_n "(cached) " >&6
2261 ac_build_alias=$build_alias
2262 test "x$ac_build_alias" = x &&
2263 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2264 test "x$ac_build_alias" = x &&
2265 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2266 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2267 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2271 $as_echo "$ac_cv_build" >&6; }
2272 case $ac_cv_build in
2274 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2277 ac_save_IFS=$IFS; IFS='-'
2283 # Remember, the first character of IFS is used to create $*,
2284 # except with old shells:
2287 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2291 $as_echo_n "checking host system type... " >&6; }
2292 if test "${ac_cv_host+set}" = set; then :
2293 $as_echo_n "(cached) " >&6
2295 if test "x$host_alias" = x; then
2296 ac_cv_host=$ac_cv_build
2298 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2299 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2304 $as_echo "$ac_cv_host" >&6; }
2307 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2310 ac_save_IFS=$IFS; IFS='-'
2316 # Remember, the first character of IFS is used to create $*,
2317 # except with old shells:
2320 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2324 $as_echo_n "checking target system type... " >&6; }
2325 if test "${ac_cv_target+set}" = set; then :
2326 $as_echo_n "(cached) " >&6
2328 if test "x$target_alias" = x; then
2329 ac_cv_target=$ac_cv_host
2331 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2332 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2337 $as_echo "$ac_cv_target" >&6; }
2338 case $ac_cv_target in
2340 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2342 target=$ac_cv_target
2343 ac_save_IFS=$IFS; IFS='-'
2349 # Remember, the first character of IFS is used to create $*,
2350 # except with old shells:
2353 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2356 # The aliases save the names the user supplied, while $host etc.
2357 # will get canonicalized.
2358 test -n "$target_alias" &&
2359 test "$program_prefix$program_suffix$program_transform_name" = \
2361 program_prefix=${target_alias}-
2363 target_alias=${target_alias-$host_alias}
2366 am__api_version='1.11'
2368 # Find a good install program. We prefer a C program (faster),
2369 # so one script is as good as another. But avoid the broken or
2370 # incompatible versions:
2371 # SysV /etc/install, /usr/sbin/install
2372 # SunOS /usr/etc/install
2373 # IRIX /sbin/install
2375 # AmigaOS /C/install, which installs bootblocks on floppy discs
2376 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2377 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2378 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2379 # OS/2's system install, which has a completely different semantic
2380 # ./install, which can be erroneously created by make from ./install.sh.
2381 # Reject install programs that cannot install multiple files.
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2383 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2384 if test -z "$INSTALL"; then
2385 if test "${ac_cv_path_install+set}" = set; then :
2386 $as_echo_n "(cached) " >&6
2388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2392 test -z "$as_dir" && as_dir=.
2393 # Account for people who put trailing slashes in PATH elements.
2394 case $as_dir/ in #((
2395 ./ | .// | /[cC]/* | \
2396 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2397 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2400 # OSF1 and SCO ODT 3.0 have their own names for install.
2401 # Don't use installbsd from OSF since it installs stuff as root
2403 for ac_prog in ginstall scoinst install; do
2404 for ac_exec_ext in '' $ac_executable_extensions; do
2405 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2406 if test $ac_prog = install &&
2407 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2408 # AIX install. It has an incompatible calling convention.
2410 elif test $ac_prog = install &&
2411 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2412 # program-specific install script used by HP pwplus--don't use.
2415 rm -rf conftest.one conftest.two conftest.dir
2416 echo one > conftest.one
2417 echo two > conftest.two
2419 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2420 test -s conftest.one && test -s conftest.two &&
2421 test -s conftest.dir/conftest.one &&
2422 test -s conftest.dir/conftest.two
2424 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2437 rm -rf conftest.one conftest.two conftest.dir
2440 if test "${ac_cv_path_install+set}" = set; then
2441 INSTALL=$ac_cv_path_install
2443 # As a last resort, use the slow shell script. Don't cache a
2444 # value for INSTALL within a source directory, because that will
2445 # break other packages using the cache if that directory is
2446 # removed, or if the value is a relative name.
2447 INSTALL=$ac_install_sh
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2451 $as_echo "$INSTALL" >&6; }
2453 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2454 # It thinks the first close brace ends the variable substitution.
2455 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2457 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2459 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2462 $as_echo_n "checking whether build environment is sane... " >&6; }
2465 echo timestamp > conftest.file
2466 # Reject unsafe characters in $srcdir or the absolute working directory
2467 # name. Accept space and tab only in the latter.
2471 *[\\\"\#\$\&\'\`$am_lf]*)
2472 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2475 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2476 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2479 # Do `set' in a subshell so we don't clobber the current shell's
2480 # arguments. Must try -L first in case configure is actually a
2481 # symlink; some systems play weird games with the mod time of symlinks
2482 # (eg FreeBSD returns the mod time of the symlink's containing
2485 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2486 if test "$*" = "X"; then
2488 set X
`ls -t "$srcdir/configure" conftest.file`
2491 if test "$*" != "X $srcdir/configure conftest.file" \
2492 && test "$*" != "X conftest.file $srcdir/configure"; then
2494 # If neither matched, then we have a broken ls. This can happen
2495 # if, for instance, CONFIG_SHELL is bash and it inherits a
2496 # broken ls alias from the environment. This has actually
2497 # happened. Such a system could not be considered "sane".
2498 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2499 alias in your environment" "$LINENO" 5
2502 test "$2" = conftest.
file
2508 as_fn_error
"newly created file is older than distributed files!
2509 Check your system clock" "$LINENO" 5
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2512 $as_echo "yes" >&6; }
2513 test "$program_prefix" != NONE
&&
2514 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2515 # Use a double $ so make ignores it.
2516 test "$program_suffix" != NONE
&&
2517 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2518 # Double any \ or $.
2519 # By default was `s,x,x', remove it if useless.
2520 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2521 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2523 # expand $ac_aux_dir to an absolute path
2524 am_aux_dir
=`cd $ac_aux_dir && pwd`
2526 if test x
"${MISSING+set}" != xset
; then
2529 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2531 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2534 # Use eval to expand $SHELL
2535 if eval "$MISSING --run true"; then
2536 am_missing_run
="$MISSING --run "
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2540 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2543 if test x
"${install_sh}" != xset
; then
2546 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2548 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2552 # Installed binaries are usually stripped using `strip' when the user
2553 # run `make install-strip'. However `strip' might not be the right
2554 # tool to use in cross-compilation environments, therefore Automake
2555 # will honor the `STRIP' environment variable to overrule this program.
2556 if test "$cross_compiling" != no
; then
2557 if test -n "$ac_tool_prefix"; then
2558 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2559 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2561 $as_echo_n "checking for $ac_word... " >&6; }
2562 if test "${ac_cv_prog_STRIP+set}" = set; then :
2563 $as_echo_n "(cached) " >&6
2565 if test -n "$STRIP"; then
2566 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2572 test -z "$as_dir" && as_dir
=.
2573 for ac_exec_ext
in '' $ac_executable_extensions; do
2574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2575 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2585 STRIP
=$ac_cv_prog_STRIP
2586 if test -n "$STRIP"; then
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2588 $as_echo "$STRIP" >&6; }
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2591 $as_echo "no" >&6; }
2596 if test -z "$ac_cv_prog_STRIP"; then
2598 # Extract the first word of "strip", so it can be a program name with args.
2599 set dummy strip
; ac_word
=$2
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2601 $as_echo_n "checking for $ac_word... " >&6; }
2602 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2603 $as_echo_n "(cached) " >&6
2605 if test -n "$ac_ct_STRIP"; then
2606 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2612 test -z "$as_dir" && as_dir
=.
2613 for ac_exec_ext
in '' $ac_executable_extensions; do
2614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2615 ac_cv_prog_ac_ct_STRIP
="strip"
2616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2625 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2626 if test -n "$ac_ct_STRIP"; then
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2628 $as_echo "$ac_ct_STRIP" >&6; }
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2631 $as_echo "no" >&6; }
2634 if test "x$ac_ct_STRIP" = x
; then
2637 case $cross_compiling:$ac_tool_warned in
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2640 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2641 ac_tool_warned
=yes ;;
2646 STRIP
="$ac_cv_prog_STRIP"
2650 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2653 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2654 if test -z "$MKDIR_P"; then
2655 if test "${ac_cv_path_mkdir+set}" = set; then :
2656 $as_echo_n "(cached) " >&6
2658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2659 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2662 test -z "$as_dir" && as_dir
=.
2663 for ac_prog
in mkdir gmkdir
; do
2664 for ac_exec_ext
in '' $ac_executable_extensions; do
2665 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2666 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2667 'mkdir (GNU coreutils) '* | \
2668 'mkdir (coreutils) '* | \
2669 'mkdir (fileutils) '4.1*)
2670 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2680 if test "${ac_cv_path_mkdir+set}" = set; then
2681 MKDIR_P
="$ac_cv_path_mkdir -p"
2683 # As a last resort, use the slow shell script. Don't cache a
2684 # value for MKDIR_P within a source directory, because that will
2685 # break other packages using the cache if that directory is
2686 # removed, or if the value is a relative name.
2687 test -d .
/--version && rmdir .
/--version
2688 MKDIR_P
="$ac_install_sh -d"
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2692 $as_echo "$MKDIR_P" >&6; }
2696 [\\/$
]* | ?
:[\\/]*) ;;
2697 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2700 for ac_prog
in gawk mawk nawk
awk
2702 # Extract the first word of "$ac_prog", so it can be a program name with args.
2703 set dummy
$ac_prog; ac_word
=$2
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2705 $as_echo_n "checking for $ac_word... " >&6; }
2706 if test "${ac_cv_prog_AWK+set}" = set; then :
2707 $as_echo_n "(cached) " >&6
2709 if test -n "$AWK"; then
2710 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2716 test -z "$as_dir" && as_dir
=.
2717 for ac_exec_ext
in '' $ac_executable_extensions; do
2718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2719 ac_cv_prog_AWK
="$ac_prog"
2720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2730 if test -n "$AWK"; then
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2732 $as_echo "$AWK" >&6; }
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2735 $as_echo "no" >&6; }
2739 test -n "$AWK" && break
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2743 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2745 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2746 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2747 $as_echo_n "(cached) " >&6
2749 cat >conftest.
make <<\_ACEOF
2752 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2754 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2755 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2757 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2759 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2763 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2765 $as_echo "yes" >&6; }
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2769 $as_echo "no" >&6; }
2770 SET_MAKE
="MAKE=${MAKE-make}"
2773 rm -rf .tst
2>/dev
/null
2774 mkdir .tst
2>/dev
/null
2775 if test -d .tst
; then
2780 rmdir .tst
2>/dev
/null
2782 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2783 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2784 # is not polluted with repeated "-I."
2785 am__isrc
=' -I$(srcdir)'
2786 # test to see if srcdir already configured
2787 if test -f $srcdir/config.status
; then
2788 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2792 # test whether we have cygpath
2793 if test -z "$CYGPATH_W"; then
2794 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2795 CYGPATH_W
='cygpath -w'
2802 # Define the identity of the package.
2803 PACKAGE
='libgomp-plugin-intelmic'
2807 cat >>confdefs.h
<<_ACEOF
2808 #define PACKAGE "$PACKAGE"
2812 cat >>confdefs.h
<<_ACEOF
2813 #define VERSION "$VERSION"
2816 # Some tools Automake needs.
2818 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2821 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2824 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2827 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2830 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2832 # We need awk for the "check" target. The system "awk" is bad on
2834 # Always define AMTAR for backward compatibility. Yes, it's still used
2835 # in the wild :-( We should find a proper way to deprecate it ...
2838 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2847 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2848 # Check whether --enable-maintainer-mode was given.
2849 if test "${enable_maintainer_mode+set}" = set; then :
2850 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2852 USE_MAINTAINER_MODE
=no
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2856 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2857 if test $USE_MAINTAINER_MODE = yes; then
2858 MAINTAINER_MODE_TRUE
=
2859 MAINTAINER_MODE_FALSE
='#'
2861 MAINTAINER_MODE_TRUE
='#'
2862 MAINTAINER_MODE_FALSE
=
2865 MAINT
=$MAINTAINER_MODE_TRUE
2870 ac_cpp
='$CPP $CPPFLAGS'
2871 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2872 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2873 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2874 if test -n "$ac_tool_prefix"; then
2875 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2876 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2878 $as_echo_n "checking for $ac_word... " >&6; }
2879 if test "${ac_cv_prog_CC+set}" = set; then :
2880 $as_echo_n "(cached) " >&6
2882 if test -n "$CC"; then
2883 ac_cv_prog_CC
="$CC" # Let the user override the test.
2885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2889 test -z "$as_dir" && as_dir
=.
2890 for ac_exec_ext
in '' $ac_executable_extensions; do
2891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2892 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2903 if test -n "$CC"; then
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2905 $as_echo "$CC" >&6; }
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2908 $as_echo "no" >&6; }
2913 if test -z "$ac_cv_prog_CC"; then
2915 # Extract the first word of "gcc", so it can be a program name with args.
2916 set dummy gcc
; ac_word
=$2
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2918 $as_echo_n "checking for $ac_word... " >&6; }
2919 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2920 $as_echo_n "(cached) " >&6
2922 if test -n "$ac_ct_CC"; then
2923 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2929 test -z "$as_dir" && as_dir
=.
2930 for ac_exec_ext
in '' $ac_executable_extensions; do
2931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2932 ac_cv_prog_ac_ct_CC
="gcc"
2933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2942 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2943 if test -n "$ac_ct_CC"; then
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2945 $as_echo "$ac_ct_CC" >&6; }
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2948 $as_echo "no" >&6; }
2951 if test "x$ac_ct_CC" = x
; then
2954 case $cross_compiling:$ac_tool_warned in
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2957 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2958 ac_tool_warned
=yes ;;
2966 if test -z "$CC"; then
2967 if test -n "$ac_tool_prefix"; then
2968 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2969 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2971 $as_echo_n "checking for $ac_word... " >&6; }
2972 if test "${ac_cv_prog_CC+set}" = set; then :
2973 $as_echo_n "(cached) " >&6
2975 if test -n "$CC"; then
2976 ac_cv_prog_CC
="$CC" # Let the user override the test.
2978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2982 test -z "$as_dir" && as_dir
=.
2983 for ac_exec_ext
in '' $ac_executable_extensions; do
2984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2985 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2996 if test -n "$CC"; then
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2998 $as_echo "$CC" >&6; }
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3001 $as_echo "no" >&6; }
3007 if test -z "$CC"; then
3008 # Extract the first word of "cc", so it can be a program name with args.
3009 set dummy cc
; ac_word
=$2
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3011 $as_echo_n "checking for $ac_word... " >&6; }
3012 if test "${ac_cv_prog_CC+set}" = set; then :
3013 $as_echo_n "(cached) " >&6
3015 if test -n "$CC"; then
3016 ac_cv_prog_CC
="$CC" # Let the user override the test.
3019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3023 test -z "$as_dir" && as_dir
=.
3024 for ac_exec_ext
in '' $ac_executable_extensions; do
3025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3026 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3027 ac_prog_rejected
=yes
3031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3038 if test $ac_prog_rejected = yes; then
3039 # We found a bogon in the path, so make sure we never use it.
3040 set dummy
$ac_cv_prog_CC
3042 if test $# != 0; then
3043 # We chose a different compiler from the bogus one.
3044 # However, it has the same basename, so the bogon will be chosen
3045 # first if we set CC to just the basename; use the full file name.
3047 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3053 if test -n "$CC"; then
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3055 $as_echo "$CC" >&6; }
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3058 $as_echo "no" >&6; }
3063 if test -z "$CC"; then
3064 if test -n "$ac_tool_prefix"; then
3065 for ac_prog
in cl.exe
3067 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3068 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3070 $as_echo_n "checking for $ac_word... " >&6; }
3071 if test "${ac_cv_prog_CC+set}" = set; then :
3072 $as_echo_n "(cached) " >&6
3074 if test -n "$CC"; then
3075 ac_cv_prog_CC
="$CC" # Let the user override the test.
3077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3081 test -z "$as_dir" && as_dir
=.
3082 for ac_exec_ext
in '' $ac_executable_extensions; do
3083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3084 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3095 if test -n "$CC"; then
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3097 $as_echo "$CC" >&6; }
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3100 $as_echo "no" >&6; }
3104 test -n "$CC" && break
3107 if test -z "$CC"; then
3109 for ac_prog
in cl.exe
3111 # Extract the first word of "$ac_prog", so it can be a program name with args.
3112 set dummy
$ac_prog; ac_word
=$2
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3114 $as_echo_n "checking for $ac_word... " >&6; }
3115 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3116 $as_echo_n "(cached) " >&6
3118 if test -n "$ac_ct_CC"; then
3119 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3125 test -z "$as_dir" && as_dir
=.
3126 for ac_exec_ext
in '' $ac_executable_extensions; do
3127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3128 ac_cv_prog_ac_ct_CC
="$ac_prog"
3129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3138 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3139 if test -n "$ac_ct_CC"; then
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3141 $as_echo "$ac_ct_CC" >&6; }
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3144 $as_echo "no" >&6; }
3148 test -n "$ac_ct_CC" && break
3151 if test "x$ac_ct_CC" = x
; then
3154 case $cross_compiling:$ac_tool_warned in
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3157 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3158 ac_tool_warned
=yes ;;
3167 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3168 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3169 as_fn_error
"no acceptable C compiler found in \$PATH
3170 See \`config.log' for more details." "$LINENO" 5; }
3172 # Provide some information about the compiler.
3173 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3176 for ac_option
in --version -v -V -qversion; do
3177 { { ac_try
="$ac_compiler $ac_option >&5"
3179 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3180 *) ac_try_echo=$ac_try;;
3182 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3183 $as_echo "$ac_try_echo"; } >&5
3184 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3186 if test -s conftest.err; then
3188 ... rest of stderr output deleted ...
3189 10q' conftest.err >conftest.er1
3190 cat conftest.er1 >&5
3191 rm -f conftest.er1 conftest.err
3193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3194 test $ac_status = 0; }
3197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3198 /* end confdefs.h. */
3208 ac_clean_files_save=$ac_clean_files
3209 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3210 # Try to create an executable without -o first, disregard a.out.
3211 # It will help us diagnose broken compilers, and finding out an intuition
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3214 $as_echo_n "checking for C compiler default output file name... " >&6; }
3215 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3217 # The possible output files:
3218 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3221 for ac_file in $ac_files
3224 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3225 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3230 if { { ac_try="$ac_link_default"
3232 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3233 *) ac_try_echo
=$ac_try;;
3235 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3236 $as_echo "$ac_try_echo"; } >&5
3237 (eval "$ac_link_default") 2>&5
3239 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3240 test $ac_status = 0; }; then :
3241 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3242 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3243 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3244 # so that the user can short-circuit this test for compilers unknown to
3246 for ac_file
in $ac_files ''
3248 test -f "$ac_file" ||
continue
3250 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3253 # We found the default executable, but exeext='' is most
3257 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3259 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3261 # We set ac_cv_exeext here because the later test for it is not
3262 # safe: cross compilers may not add the suffix if given an `-o'
3263 # argument, so we may need to know it at that point already.
3264 # Even if this section looks crufty: it has the advantage of
3271 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3277 $as_echo "$ac_file" >&6; }
3278 if test -z "$ac_file"; then :
3279 $as_echo "$as_me: failed program was:" >&5
3280 sed 's/^/| /' conftest.
$ac_ext >&5
3282 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3283 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3284 { as_fn_set_status
77
3285 as_fn_error
"C compiler cannot create executables
3286 See \`config.log' for more details." "$LINENO" 5; }; }
3288 ac_exeext
=$ac_cv_exeext
3290 # Check that the compiler produces executables we can run. If not, either
3291 # the compiler is broken, or we cross compile.
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3293 $as_echo_n "checking whether the C compiler works... " >&6; }
3294 # If not cross compiling, check that we can run a simple program.
3295 if test "$cross_compiling" != yes; then
3296 if { ac_try
='./$ac_file'
3297 { { case "(($ac_try" in
3298 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3299 *) ac_try_echo=$ac_try;;
3301 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3302 $as_echo "$ac_try_echo"; } >&5
3303 (eval "$ac_try") 2>&5
3305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3306 test $ac_status = 0; }; }; then
3309 if test "$cross_compiling" = maybe; then
3312 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3313 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3314 as_fn_error "cannot run C compiled programs.
3315 If you meant to cross compile
, use \
`--host'.
3316 See \`config.log
' for more details." "$LINENO" 5; }
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3321 $as_echo "yes" >&6; }
3323 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3324 ac_clean_files=$ac_clean_files_save
3325 # Check that the compiler produces executables we can run. If not, either
3326 # the compiler is broken, or we cross compile.
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3328 $as_echo_n "checking whether we are cross compiling... " >&6; }
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3330 $as_echo "$cross_compiling" >&6; }
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3333 $as_echo_n "checking for suffix of executables... " >&6; }
3334 if { { ac_try="$ac_link"
3336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3337 *) ac_try_echo=$ac_try;;
3339 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3340 $as_echo "$ac_try_echo"; } >&5
3341 (eval "$ac_link") 2>&5
3343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3344 test $ac_status = 0; }; then :
3345 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3346 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3347 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3349 for ac_file
in conftest.exe conftest conftest.
*; do
3350 test -f "$ac_file" ||
continue
3352 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3353 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3359 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3360 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3361 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3362 See \`config.log' for more details." "$LINENO" 5; }
3364 rm -f conftest
$ac_cv_exeext
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3366 $as_echo "$ac_cv_exeext" >&6; }
3368 rm -f conftest.
$ac_ext
3369 EXEEXT
=$ac_cv_exeext
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3372 $as_echo_n "checking for suffix of object files... " >&6; }
3373 if test "${ac_cv_objext+set}" = set; then :
3374 $as_echo_n "(cached) " >&6
3376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3377 /* end confdefs.h. */
3387 rm -f conftest.o conftest.obj
3388 if { { ac_try
="$ac_compile"
3390 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3391 *) ac_try_echo=$ac_try;;
3393 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3394 $as_echo "$ac_try_echo"; } >&5
3395 (eval "$ac_compile") 2>&5
3397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3398 test $ac_status = 0; }; then :
3399 for ac_file in conftest.o conftest.obj conftest.*; do
3400 test -f "$ac_file" || continue;
3402 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3403 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3408 $as_echo "$as_me: failed program was:" >&5
3409 sed 's/^/| /' conftest.$ac_ext >&5
3411 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3412 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3413 as_fn_error "cannot compute suffix of object files
: cannot compile
3414 See \
`config.log' for more details." "$LINENO" 5; }
3416 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3419 $as_echo "$ac_cv_objext" >&6; }
3420 OBJEXT=$ac_cv_objext
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3423 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3424 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3425 $as_echo_n "(cached) " >&6
3427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3428 /* end confdefs.h. */
3441 if ac_fn_c_try_compile "$LINENO"; then :
3446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3447 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3451 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3452 if test $ac_compiler_gnu = yes; then
3457 ac_test_CFLAGS=${CFLAGS+set}
3458 ac_save_CFLAGS=$CFLAGS
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3460 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3461 if test "${ac_cv_prog_cc_g+set}" = set; then :
3462 $as_echo_n "(cached) " >&6
3464 ac_save_c_werror_flag=$ac_c_werror_flag
3465 ac_c_werror_flag=yes
3468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3469 /* end confdefs.h. */
3479 if ac_fn_c_try_compile "$LINENO"; then :
3483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3484 /* end confdefs.h. */
3494 if ac_fn_c_try_compile "$LINENO"; then :
3497 ac_c_werror_flag=$ac_save_c_werror_flag
3499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3500 /* end confdefs.h. */
3510 if ac_fn_c_try_compile "$LINENO"; then :
3513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3518 ac_c_werror_flag=$ac_save_c_werror_flag
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3521 $as_echo "$ac_cv_prog_cc_g" >&6; }
3522 if test "$ac_test_CFLAGS" = set; then
3523 CFLAGS=$ac_save_CFLAGS
3524 elif test $ac_cv_prog_cc_g = yes; then
3525 if test "$GCC" = yes; then
3531 if test "$GCC" = yes; then
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3538 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3539 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3540 $as_echo_n "(cached) " >&6
3542 ac_cv_prog_cc_c89=no
3544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3545 /* end confdefs.h. */
3548 #include <sys/types.h>
3549 #include <sys/stat.h>
3550 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3551 struct buf { int x; };
3552 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3553 static char *e (p, i)
3559 static char *f (char * (*g) (char **, int), char **p, ...)
3564 s = g (p, va_arg (v,int));
3569 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3570 function prototypes and stuff, but not '\xHH' hex character constants.
3571 These don't provoke an error unfortunately, instead are silently treated
3572 as 'x'. The following induces an error, until -std is added to get
3573 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3574 array size at least. It's necessary to write '\x00'==0 to get something
3575 that's true only with -std. */
3576 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3578 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3579 inside strings and character constants. */
3581 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3583 int test (int i, double x);
3584 struct s1 {int (*f) (int a);};
3585 struct s2 {int (*f) (double a);};
3586 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3592 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3597 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3598 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3600 CC="$ac_save_CC $ac_arg"
3601 if ac_fn_c_try_compile "$LINENO"; then :
3602 ac_cv_prog_cc_c89=$ac_arg
3604 rm -f core conftest.err conftest.$ac_objext
3605 test "x$ac_cv_prog_cc_c89" != "xno" && break
3607 rm -f conftest.$ac_ext
3612 case "x$ac_cv_prog_cc_c89" in
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3615 $as_echo "none needed" >&6; } ;;
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3618 $as_echo "unsupported" >&6; } ;;
3620 CC="$CC $ac_cv_prog_cc_c89"
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3622 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3624 if test "x$ac_cv_prog_cc_c89" != xno; then :
3629 ac_cpp='$CPP $CPPFLAGS'
3630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3633 DEPDIR="${am__leading_dot}deps"
3635 ac_config_commands="$ac_config_commands depfiles"
3638 am_make=${MAKE-make}
3639 cat > confinc << 'END'
3641 @echo this is the am__doit target
3644 # If we don't find an include directive, just comment out the code.
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3646 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3650 # First try GNU make style include.
3651 echo "include confinc" > confmf
3652 # Ignore all kinds of additional output from `make'.
3653 case `$am_make -s -f confmf 2> /dev/null` in #(
3654 *the\ am__doit\ target*)
3660 # Now try BSD make style include.
3661 if test "$am__include" = "#"; then
3662 echo '.include
"confinc"' > confmf
3663 case `$am_make -s -f confmf 2> /dev/null` in #(
3664 *the\ am__doit\ target*)
3665 am__include=.include
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3674 $as_echo "$_am_result" >&6; }
3675 rm -f confinc confmf
3677 # Check whether --enable-dependency-tracking was given.
3678 if test "${enable_dependency_tracking+set}" = set; then :
3679 enableval=$enable_dependency_tracking;
3682 if test "x$enable_dependency_tracking" != xno; then
3683 am_depcomp="$ac_aux_dir/depcomp"
3687 if test "x$enable_dependency_tracking" != xno
; then
3697 depcc
="$CC" am_compiler_list
=
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3700 $as_echo_n "checking dependency style of $depcc... " >&6; }
3701 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3702 $as_echo_n "(cached) " >&6
3704 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3705 # We make a subdir and do the tests there. Otherwise we can end up
3706 # making bogus files that we don't know about and never remove. For
3707 # instance it was reported that on HP-UX the gcc test will end up
3708 # making a dummy file named `D' -- because `-MD' means `put the output
3712 # Copy depcomp to subdir because otherwise we won't find it if we're
3713 # using a relative directory.
3714 cp "$am_depcomp" conftest.dir
3716 # We will build objects and dependencies in a subdirectory because
3717 # it helps to detect inapplicable dependency modes. For instance
3718 # both Tru64's cc and ICC support -MD to output dependencies as a
3719 # side effect of compilation, but ICC will put the dependencies in
3720 # the current directory while Tru64 will put them in the object
3724 am_cv_CC_dependencies_compiler_type
=none
3725 if test "$am_compiler_list" = ""; then
3726 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3729 case " $depcc " in #(
3730 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3733 for depmode
in $am_compiler_list; do
3734 # Setup a source with many dependencies, because some compilers
3735 # like to wrap large dependency lists on column 80 (with \), and
3736 # we should not choose a depcomp mode which is confused by this.
3738 # We need to recreate these files for each test, as the compiler may
3739 # overwrite some of them when testing with obscure command lines.
3740 # This happens at least with the AIX C compiler.
3742 for i
in 1 2 3 4 5 6; do
3743 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3744 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3745 # Solaris 8's {/usr,}/bin/sh.
3746 touch sub
/conftst
$i.h
3748 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3750 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3751 # mode. It turns out that the SunPro C++ compiler does not properly
3752 # handle `-M -o', and we need to detect this. Also, some Intel
3753 # versions had trouble with output in subdirs
3754 am__obj
=sub
/conftest.
${OBJEXT-o}
3755 am__minus_obj
="-o $am__obj"
3758 # This depmode causes a compiler race in universal mode.
3759 test "$am__universal" = false ||
continue
3762 # after this tag, mechanisms are not by side-effect, so they'll
3763 # only be used when explicitly requested
3764 if test "x$enable_dependency_tracking" = xyes
; then
3770 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
3771 # This compiler won't grok `-c -o', but also, the minuso test has
3772 # not run yet. These depmodes are late enough in the game, and
3773 # so weak that their functioning should not be impacted.
3774 am__obj
=conftest.
${OBJEXT-o}
3779 if depmode
=$depmode \
3780 source=sub
/conftest.c object
=$am__obj \
3781 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3782 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3783 >/dev
/null
2>conftest.err
&&
3784 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3785 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3786 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3787 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3788 # icc doesn't choke on unknown options, it will just issue warnings
3789 # or remarks (even with -Werror). So we grep stderr for any message
3790 # that says an option was ignored or not supported.
3791 # When given -MP, icc 7.0 and 7.1 complain thusly:
3792 # icc: Command line warning: ignoring option '-M'; no argument required
3793 # The diagnosis changed in icc 8.0:
3794 # icc: Command line remark: option '-MP' not supported
3795 if (grep 'ignoring option' conftest.err ||
3796 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3797 am_cv_CC_dependencies_compiler_type
=$depmode
3806 am_cv_CC_dependencies_compiler_type
=none
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3811 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3812 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3815 test "x$enable_dependency_tracking" != xno \
3816 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3818 am__fastdepCC_FALSE
='#'
3820 am__fastdepCC_TRUE
='#'
3821 am__fastdepCC_FALSE
=
3826 ac_cpp
='$CXXCPP $CPPFLAGS'
3827 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3828 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3829 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3830 if test -z "$CXX"; then
3831 if test -n "$CCC"; then
3834 if test -n "$ac_tool_prefix"; then
3835 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3837 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3838 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3840 $as_echo_n "checking for $ac_word... " >&6; }
3841 if test "${ac_cv_prog_CXX+set}" = set; then :
3842 $as_echo_n "(cached) " >&6
3844 if test -n "$CXX"; then
3845 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3851 test -z "$as_dir" && as_dir
=.
3852 for ac_exec_ext
in '' $ac_executable_extensions; do
3853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3854 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3865 if test -n "$CXX"; then
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3867 $as_echo "$CXX" >&6; }
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3870 $as_echo "no" >&6; }
3874 test -n "$CXX" && break
3877 if test -z "$CXX"; then
3879 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3881 # Extract the first word of "$ac_prog", so it can be a program name with args.
3882 set dummy
$ac_prog; ac_word
=$2
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3884 $as_echo_n "checking for $ac_word... " >&6; }
3885 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3886 $as_echo_n "(cached) " >&6
3888 if test -n "$ac_ct_CXX"; then
3889 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3895 test -z "$as_dir" && as_dir
=.
3896 for ac_exec_ext
in '' $ac_executable_extensions; do
3897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3898 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3908 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3909 if test -n "$ac_ct_CXX"; then
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3911 $as_echo "$ac_ct_CXX" >&6; }
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3914 $as_echo "no" >&6; }
3918 test -n "$ac_ct_CXX" && break
3921 if test "x$ac_ct_CXX" = x
; then
3924 case $cross_compiling:$ac_tool_warned in
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3927 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3928 ac_tool_warned
=yes ;;
3936 # Provide some information about the compiler.
3937 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3940 for ac_option
in --version -v -V -qversion; do
3941 { { ac_try
="$ac_compiler $ac_option >&5"
3943 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3944 *) ac_try_echo=$ac_try;;
3946 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3947 $as_echo "$ac_try_echo"; } >&5
3948 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3950 if test -s conftest.err; then
3952 ... rest of stderr output deleted ...
3953 10q' conftest.err >conftest.er1
3954 cat conftest.er1 >&5
3955 rm -f conftest.er1 conftest.err
3957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3958 test $ac_status = 0; }
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3962 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3963 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3964 $as_echo_n "(cached) " >&6
3966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3967 /* end confdefs.h. */
3980 if ac_fn_cxx_try_compile "$LINENO"; then :
3985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3986 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3990 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3991 if test $ac_compiler_gnu = yes; then
3996 ac_test_CXXFLAGS=${CXXFLAGS+set}
3997 ac_save_CXXFLAGS=$CXXFLAGS
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3999 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4000 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4001 $as_echo_n "(cached) " >&6
4003 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4004 ac_cxx_werror_flag=yes
4007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4008 /* end confdefs.h. */
4018 if ac_fn_cxx_try_compile "$LINENO"; then :
4019 ac_cv_prog_cxx_g=yes
4022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4023 /* end confdefs.h. */
4033 if ac_fn_cxx_try_compile "$LINENO"; then :
4036 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4039 /* end confdefs.h. */
4049 if ac_fn_cxx_try_compile "$LINENO"; then :
4050 ac_cv_prog_cxx_g=yes
4052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4057 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4060 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4061 if test "$ac_test_CXXFLAGS" = set; then
4062 CXXFLAGS=$ac_save_CXXFLAGS
4063 elif test $ac_cv_prog_cxx_g = yes; then
4064 if test "$GXX" = yes; then
4070 if test "$GXX" = yes; then
4077 ac_cpp='$CPP $CPPFLAGS'
4078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4082 depcc="$CXX" am_compiler_list=
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4085 $as_echo_n "checking dependency style of $depcc... " >&6; }
4086 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4087 $as_echo_n "(cached) " >&6
4089 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4090 # We make a subdir and do the tests there. Otherwise we can end up
4091 # making bogus files that we don't know about and never remove. For
4092 # instance it was reported that on HP-UX the gcc test will end up
4093 # making a dummy file named `D
' -- because `-MD' means
`put the output
4097 # Copy depcomp to subdir because otherwise we won't find it if we're
4098 # using a relative directory.
4099 cp "$am_depcomp" conftest.dir
4101 # We will build objects and dependencies in a subdirectory because
4102 # it helps to detect inapplicable dependency modes. For instance
4103 # both Tru64's cc and ICC support -MD to output dependencies as a
4104 # side effect of compilation, but ICC will put the dependencies in
4105 # the current directory while Tru64 will put them in the object
4109 am_cv_CXX_dependencies_compiler_type=none
4110 if test "$am_compiler_list" = ""; then
4111 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4114 case " $depcc " in #(
4115 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4118 for depmode in $am_compiler_list; do
4119 # Setup a source with many dependencies, because some compilers
4120 # like to wrap large dependency lists on column 80 (with \), and
4121 # we should not choose a depcomp mode which is confused by this.
4123 # We need to recreate these files for each test, as the compiler may
4124 # overwrite some of them when testing with obscure command lines.
4125 # This happens at least with the AIX C compiler.
4127 for i in 1 2 3 4 5 6; do
4128 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4129 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4130 # Solaris 8's
{/usr
,}/bin
/sh.
4131 touch sub
/conftst
$i.h
4133 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4135 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4136 # mode. It turns out that the SunPro C++ compiler does not properly
4137 # handle `-M -o', and we need to detect this. Also, some Intel
4138 # versions had trouble with output in subdirs
4139 am__obj
=sub
/conftest.
${OBJEXT-o}
4140 am__minus_obj
="-o $am__obj"
4143 # This depmode causes a compiler race in universal mode.
4144 test "$am__universal" = false ||
continue
4147 # after this tag, mechanisms are not by side-effect, so they'll
4148 # only be used when explicitly requested
4149 if test "x$enable_dependency_tracking" = xyes
; then
4155 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4156 # This compiler won't grok `-c -o', but also, the minuso test has
4157 # not run yet. These depmodes are late enough in the game, and
4158 # so weak that their functioning should not be impacted.
4159 am__obj
=conftest.
${OBJEXT-o}
4164 if depmode
=$depmode \
4165 source=sub
/conftest.c object
=$am__obj \
4166 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4167 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4168 >/dev
/null
2>conftest.err
&&
4169 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4170 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4171 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4172 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4173 # icc doesn't choke on unknown options, it will just issue warnings
4174 # or remarks (even with -Werror). So we grep stderr for any message
4175 # that says an option was ignored or not supported.
4176 # When given -MP, icc 7.0 and 7.1 complain thusly:
4177 # icc: Command line warning: ignoring option '-M'; no argument required
4178 # The diagnosis changed in icc 8.0:
4179 # icc: Command line remark: option '-MP' not supported
4180 if (grep 'ignoring option' conftest.err ||
4181 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4182 am_cv_CXX_dependencies_compiler_type
=$depmode
4191 am_cv_CXX_dependencies_compiler_type
=none
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4196 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4197 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4200 test "x$enable_dependency_tracking" != xno \
4201 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4202 am__fastdepCXX_TRUE
=
4203 am__fastdepCXX_FALSE
='#'
4205 am__fastdepCXX_TRUE
='#'
4206 am__fastdepCXX_FALSE
=
4210 ac_config_files
="$ac_config_files Makefile"
4212 # Default to --enable-multilib
4213 # Check whether --enable-multilib was given.
4214 if test "${enable_multilib+set}" = set; then :
4215 enableval
=$enable_multilib; case "$enableval" in
4216 yes) multilib
=yes ;;
4218 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
4225 # We may get other options which we leave undocumented:
4226 # --with-target-subdir, --with-multisrctop, --with-multisubdir
4227 # See config-ml.in if you want the gory details.
4229 if test "$srcdir" = "."; then
4230 if test "$with_target_subdir" != "."; then
4231 multi_basedir
="$srcdir/$with_multisrctop../../.."
4233 multi_basedir
="$srcdir/$with_multisrctop../.."
4236 multi_basedir
="$srcdir/../.."
4240 # Even if the default multilib is not a cross compilation,
4241 # it may be that some of the other multilibs are.
4242 if test $cross_compiling = no
&& test $multilib = yes \
4243 && test "x${with_multisubdir}" != x
; then
4244 cross_compiling
=maybe
4247 ac_config_commands
="$ac_config_commands default-1"
4250 if test "${multilib}" = "yes"; then
4251 multilib_arg
="--enable-multilib"
4256 # Make sure liboffloadmic is enabled
4257 case "$enable_liboffloadmic" in
4261 as_fn_error
"Liboffloadmic is disabled" "$LINENO" 5 ;;
4263 if test x
"$enable_liboffloadmic" = xhost
; then
4265 PLUGIN_HOST_FALSE
='#'
4267 PLUGIN_HOST_TRUE
='#'
4272 # Get accel target and path to build or install tree of accel compiler
4275 if test x
"$enable_liboffloadmic" = xhost
; then
4276 for accel
in `echo $enable_offload_targets | sed -e 's#,# #g'`; do
4277 accel_name
=`echo $accel | sed 's/=.*//'`
4278 accel_dir
=`echo $accel | grep '=' | sed 's/.*=//'`
4279 case "$accel_name" in
4280 *-intelmic-* |
*-intelmicemul-*)
4281 accel_target
=$accel_name
4282 accel_search_dir
=$accel_dir
4286 if test x
"$accel_target" = x
; then
4287 as_fn_error
"--enable-offload-targets does not contain intelmic target" "$LINENO" 5
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
4294 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
4295 # Check whether --enable-version-specific-runtime-libs was given.
4296 if test "${enable_version_specific_runtime_libs+set}" = set; then :
4297 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
4298 yes) enable_version_specific_runtime_libs
=yes ;;
4299 no
) enable_version_specific_runtime_libs
=no
;;
4300 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
4303 enable_version_specific_runtime_libs
=no
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_version_specific_runtime_libs" >&5
4307 $as_echo "$enable_version_specific_runtime_libs" >&6; }
4310 # Calculate toolexeclibdir.
4311 # Also toolexecdir, though it's only used in toolexeclibdir.
4312 case ${enable_version_specific_runtime_libs} in
4314 # Need the gcc compiler version to know where to install libraries
4315 # and header files if --enable-version-specific-runtime-libs option
4317 toolexecdir
='$(libdir)/gcc/$(target_alias)'
4318 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4321 if test -n "$with_cross_host" &&
4322 test x
"$with_cross_host" != x
"no"; then
4323 # Install a library built with a cross compiler in tooldir, not libdir.
4324 toolexecdir
='$(exec_prefix)/$(target_alias)'
4325 toolexeclibdir
='$(toolexecdir)/lib'
4327 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
4328 toolexeclibdir
='$(libdir)'
4330 multi_os_directory
=`$CC -print-multi-os-directory`
4331 case $multi_os_directory in
4332 .
) ;; # Avoid trailing /.
4333 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4345 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4350 macro_version
='2.2.7a'
4351 macro_revision
='1.3134'
4365 ltmain
="$ac_aux_dir/ltmain.sh"
4367 # Backslashify metacharacters that are still active within
4368 # double-quoted strings.
4369 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4371 # Same as above, but do not quote variable references.
4372 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4374 # Sed substitution to delay expansion of an escaped shell variable in a
4375 # double_quote_subst'ed string.
4376 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4378 # Sed substitution to delay expansion of an escaped single quote.
4379 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4381 # Sed substitution to avoid accidental globbing in evaled expressions
4382 no_glob_subst
='s/\*/\\\*/g'
4384 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4385 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4386 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4389 $as_echo_n "checking how to print strings... " >&6; }
4390 # Test print first, because it will be a builtin if present.
4391 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4392 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4394 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4397 # Use this function as a fallback that always works.
4398 func_fallback_echo ()
4400 eval 'cat <<_LTECHO_EOF
4404 ECHO='func_fallback_echo
'
4407 # func_echo_all arg...
4408 # Invoke $ECHO with all args, space-separated.
4415 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4416 $as_echo "printf" >&6; } ;;
4417 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4418 $as_echo "print -r" >&6; } ;;
4419 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4420 $as_echo "cat" >&6; } ;;
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4437 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4438 if test "${ac_cv_path_SED+set}" = set; then :
4439 $as_echo_n "(cached) " >&6
4441 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4442 for ac_i in 1 2 3 4 5 6 7; do
4443 ac_script="$ac_script$as_nl$ac_script"
4445 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4446 { ac_script=; unset ac_script;}
4447 if test -z "$SED"; then
4448 ac_path_SED_found=false
4449 # Loop through the user's path and
test for each of PROGNAME-LIST
4450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4454 test -z "$as_dir" && as_dir
=.
4455 for ac_prog
in sed gsed
; do
4456 for ac_exec_ext
in '' $ac_executable_extensions; do
4457 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4458 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4459 # Check for GNU ac_path_SED and select it if it is found.
4460 # Check for GNU $ac_path_SED
4461 case `"$ac_path_SED" --version 2>&1` in
4463 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4466 $as_echo_n 0123456789 >"conftest.in"
4469 cat "conftest.in" "conftest.in" >"conftest.tmp"
4470 mv "conftest.tmp" "conftest.in"
4471 cp "conftest.in" "conftest.nl"
4472 $as_echo '' >> "conftest.nl"
4473 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4474 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4475 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4476 if test $ac_count -gt ${ac_path_SED_max-0}; then
4477 # Best one so far, save it but keep looking for a better one
4478 ac_cv_path_SED
="$ac_path_SED"
4479 ac_path_SED_max
=$ac_count
4481 # 10*(2^10) chars as input seems more than enough
4482 test $ac_count -gt 10 && break
4484 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4487 $ac_path_SED_found && break 3
4492 if test -z "$ac_cv_path_SED"; then
4493 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4501 $as_echo "$ac_cv_path_SED" >&6; }
4502 SED
="$ac_cv_path_SED"
4505 test -z "$SED" && SED
=sed
4506 Xsed
="$SED -e 1s/^X//"
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4519 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4520 if test "${ac_cv_path_GREP+set}" = set; then :
4521 $as_echo_n "(cached) " >&6
4523 if test -z "$GREP"; then
4524 ac_path_GREP_found
=false
4525 # Loop through the user's path and test for each of PROGNAME-LIST
4526 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4527 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4530 test -z "$as_dir" && as_dir
=.
4531 for ac_prog
in grep ggrep
; do
4532 for ac_exec_ext
in '' $ac_executable_extensions; do
4533 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4534 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4535 # Check for GNU ac_path_GREP and select it if it is found.
4536 # Check for GNU $ac_path_GREP
4537 case `"$ac_path_GREP" --version 2>&1` in
4539 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4542 $as_echo_n 0123456789 >"conftest.in"
4545 cat "conftest.in" "conftest.in" >"conftest.tmp"
4546 mv "conftest.tmp" "conftest.in"
4547 cp "conftest.in" "conftest.nl"
4548 $as_echo 'GREP' >> "conftest.nl"
4549 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4550 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4551 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4552 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4553 # Best one so far, save it but keep looking for a better one
4554 ac_cv_path_GREP
="$ac_path_GREP"
4555 ac_path_GREP_max
=$ac_count
4557 # 10*(2^10) chars as input seems more than enough
4558 test $ac_count -gt 10 && break
4560 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4563 $ac_path_GREP_found && break 3
4568 if test -z "$ac_cv_path_GREP"; then
4569 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4572 ac_cv_path_GREP
=$GREP
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4577 $as_echo "$ac_cv_path_GREP" >&6; }
4578 GREP
="$ac_cv_path_GREP"
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4582 $as_echo_n "checking for egrep... " >&6; }
4583 if test "${ac_cv_path_EGREP+set}" = set; then :
4584 $as_echo_n "(cached) " >&6
4586 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4587 then ac_cv_path_EGREP
="$GREP -E"
4589 if test -z "$EGREP"; then
4590 ac_path_EGREP_found
=false
4591 # Loop through the user's path and test for each of PROGNAME-LIST
4592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4593 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4596 test -z "$as_dir" && as_dir
=.
4597 for ac_prog
in egrep; do
4598 for ac_exec_ext
in '' $ac_executable_extensions; do
4599 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4600 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4601 # Check for GNU ac_path_EGREP and select it if it is found.
4602 # Check for GNU $ac_path_EGREP
4603 case `"$ac_path_EGREP" --version 2>&1` in
4605 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4608 $as_echo_n 0123456789 >"conftest.in"
4611 cat "conftest.in" "conftest.in" >"conftest.tmp"
4612 mv "conftest.tmp" "conftest.in"
4613 cp "conftest.in" "conftest.nl"
4614 $as_echo 'EGREP' >> "conftest.nl"
4615 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4616 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4617 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4618 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4619 # Best one so far, save it but keep looking for a better one
4620 ac_cv_path_EGREP
="$ac_path_EGREP"
4621 ac_path_EGREP_max
=$ac_count
4623 # 10*(2^10) chars as input seems more than enough
4624 test $ac_count -gt 10 && break
4626 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4629 $ac_path_EGREP_found && break 3
4634 if test -z "$ac_cv_path_EGREP"; then
4635 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4638 ac_cv_path_EGREP
=$EGREP
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4644 $as_echo "$ac_cv_path_EGREP" >&6; }
4645 EGREP
="$ac_cv_path_EGREP"
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4649 $as_echo_n "checking for fgrep... " >&6; }
4650 if test "${ac_cv_path_FGREP+set}" = set; then :
4651 $as_echo_n "(cached) " >&6
4653 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4654 then ac_cv_path_FGREP
="$GREP -F"
4656 if test -z "$FGREP"; then
4657 ac_path_FGREP_found
=false
4658 # Loop through the user's path and test for each of PROGNAME-LIST
4659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4660 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4663 test -z "$as_dir" && as_dir
=.
4664 for ac_prog
in fgrep
; do
4665 for ac_exec_ext
in '' $ac_executable_extensions; do
4666 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4667 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4668 # Check for GNU ac_path_FGREP and select it if it is found.
4669 # Check for GNU $ac_path_FGREP
4670 case `"$ac_path_FGREP" --version 2>&1` in
4672 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4675 $as_echo_n 0123456789 >"conftest.in"
4678 cat "conftest.in" "conftest.in" >"conftest.tmp"
4679 mv "conftest.tmp" "conftest.in"
4680 cp "conftest.in" "conftest.nl"
4681 $as_echo 'FGREP' >> "conftest.nl"
4682 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4683 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4684 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4685 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4686 # Best one so far, save it but keep looking for a better one
4687 ac_cv_path_FGREP
="$ac_path_FGREP"
4688 ac_path_FGREP_max
=$ac_count
4690 # 10*(2^10) chars as input seems more than enough
4691 test $ac_count -gt 10 && break
4693 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4696 $ac_path_FGREP_found && break 3
4701 if test -z "$ac_cv_path_FGREP"; then
4702 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4705 ac_cv_path_FGREP
=$FGREP
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4711 $as_echo "$ac_cv_path_FGREP" >&6; }
4712 FGREP
="$ac_cv_path_FGREP"
4715 test -z "$GREP" && GREP
=grep
4735 # Check whether --with-gnu-ld was given.
4736 if test "${with_gnu_ld+set}" = set; then :
4737 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4743 if test "$GCC" = yes; then
4744 # Check if gcc -print-prog-name=ld gives a path.
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4746 $as_echo_n "checking for ld used by $CC... " >&6; }
4749 # gcc leaves a trailing carriage return which upsets mingw
4750 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4752 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4755 # Accept absolute paths.
4757 re_direlt
='/[^/][^/]*/\.\./'
4758 # Canonicalize the pathname of ld
4759 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4760 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4761 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4763 test -z "$LD" && LD
="$ac_prog"
4766 # If it fails, then pretend we aren't using GCC.
4770 # If it is relative, then search for the first ld in PATH.
4774 elif test "$with_gnu_ld" = yes; then
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4776 $as_echo_n "checking for GNU ld... " >&6; }
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4779 $as_echo_n "checking for non-GNU ld... " >&6; }
4781 if test "${lt_cv_path_LD+set}" = set; then :
4782 $as_echo_n "(cached) " >&6
4784 if test -z "$LD"; then
4785 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4786 for ac_dir
in $PATH; do
4788 test -z "$ac_dir" && ac_dir
=.
4789 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4790 lt_cv_path_LD
="$ac_dir/$ac_prog"
4791 # Check to see if the program is GNU ld. I'd rather use --version,
4792 # but apparently some variants of GNU ld only accept -v.
4793 # Break only if it was the GNU/non-GNU ld that we prefer.
4794 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4795 *GNU
* |
*'with BFD'*)
4796 test "$with_gnu_ld" != no
&& break
4799 test "$with_gnu_ld" != yes && break
4806 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4811 if test -n "$LD"; then
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4813 $as_echo "$LD" >&6; }
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4816 $as_echo "no" >&6; }
4818 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4820 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4821 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4822 $as_echo_n "(cached) " >&6
4824 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4825 case `$LD -v 2>&1 </dev/null` in
4826 *GNU
* |
*'with BFD'*)
4827 lt_cv_prog_gnu_ld
=yes
4830 lt_cv_prog_gnu_ld
=no
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4835 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4836 with_gnu_ld
=$lt_cv_prog_gnu_ld
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4847 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4848 if test "${lt_cv_path_NM+set}" = set; then :
4849 $as_echo_n "(cached) " >&6
4851 if test -n "$NM"; then
4852 # Let the user override the test.
4855 lt_nm_to_check
="${ac_tool_prefix}nm"
4856 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4857 lt_nm_to_check
="$lt_nm_to_check nm"
4859 for lt_tmp_nm
in $lt_nm_to_check; do
4860 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4861 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4863 test -z "$ac_dir" && ac_dir
=.
4864 tmp_nm
="$ac_dir/$lt_tmp_nm"
4865 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4866 # Check to see if the nm accepts a BSD-compat flag.
4867 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4868 # nm: unknown option "B" ignored
4869 # Tru64's nm complains that /dev/null is an invalid object file
4870 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4871 */dev
/null
* |
*'Invalid file or object type'*)
4872 lt_cv_path_NM
="$tmp_nm -B"
4876 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4878 lt_cv_path_NM
="$tmp_nm -p"
4882 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4883 continue # so that we can try to find one that supports BSD flags
4892 : ${lt_cv_path_NM=no}
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4896 $as_echo "$lt_cv_path_NM" >&6; }
4897 if test "$lt_cv_path_NM" != "no"; then
4900 # Didn't find any BSD compatible name lister, look for dumpbin.
4901 if test -n "$DUMPBIN"; then :
4902 # Let the user override the test.
4904 if test -n "$ac_tool_prefix"; then
4905 for ac_prog
in dumpbin
"link -dump"
4907 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4908 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4910 $as_echo_n "checking for $ac_word... " >&6; }
4911 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4912 $as_echo_n "(cached) " >&6
4914 if test -n "$DUMPBIN"; then
4915 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4921 test -z "$as_dir" && as_dir
=.
4922 for ac_exec_ext
in '' $ac_executable_extensions; do
4923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4924 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4934 DUMPBIN
=$ac_cv_prog_DUMPBIN
4935 if test -n "$DUMPBIN"; then
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4937 $as_echo "$DUMPBIN" >&6; }
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4940 $as_echo "no" >&6; }
4944 test -n "$DUMPBIN" && break
4947 if test -z "$DUMPBIN"; then
4948 ac_ct_DUMPBIN
=$DUMPBIN
4949 for ac_prog
in dumpbin
"link -dump"
4951 # Extract the first word of "$ac_prog", so it can be a program name with args.
4952 set dummy
$ac_prog; ac_word
=$2
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4954 $as_echo_n "checking for $ac_word... " >&6; }
4955 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4956 $as_echo_n "(cached) " >&6
4958 if test -n "$ac_ct_DUMPBIN"; then
4959 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4965 test -z "$as_dir" && as_dir
=.
4966 for ac_exec_ext
in '' $ac_executable_extensions; do
4967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4968 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4978 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4979 if test -n "$ac_ct_DUMPBIN"; then
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4981 $as_echo "$ac_ct_DUMPBIN" >&6; }
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4984 $as_echo "no" >&6; }
4988 test -n "$ac_ct_DUMPBIN" && break
4991 if test "x$ac_ct_DUMPBIN" = x
; then
4994 case $cross_compiling:$ac_tool_warned in
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4997 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4998 ac_tool_warned
=yes ;;
5000 DUMPBIN
=$ac_ct_DUMPBIN
5004 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5006 DUMPBIN
="$DUMPBIN -symbols"
5014 if test "$DUMPBIN" != ":"; then
5018 test -z "$NM" && NM
=nm
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5026 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5027 if test "${lt_cv_nm_interface+set}" = set; then :
5028 $as_echo_n "(cached) " >&6
5030 lt_cv_nm_interface
="BSD nm"
5031 echo "int some_variable = 0;" > conftest.
$ac_ext
5032 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5033 (eval "$ac_compile" 2>conftest.err
)
5034 cat conftest.err
>&5
5035 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5036 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5037 cat conftest.err
>&5
5038 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5039 cat conftest.out
>&5
5040 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5041 lt_cv_nm_interface
="MS dumpbin"
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5046 $as_echo "$lt_cv_nm_interface" >&6; }
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5049 $as_echo_n "checking whether ln -s works... " >&6; }
5051 if test "$LN_S" = "ln -s"; then
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5053 $as_echo "yes" >&6; }
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5056 $as_echo "no, using $LN_S" >&6; }
5059 # find the maximum length of command line arguments
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5061 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5062 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5063 $as_echo_n "(cached) " >&6
5070 # On DJGPP, this test can blow up pretty badly due to problems in libc
5071 # (any single argument exceeding 2000 bytes causes a buffer overrun
5072 # during glob expansion). Even if it were fixed, the result of this
5073 # check would be larger than it should be.
5074 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5078 # Under GNU Hurd, this test is not required because there is
5079 # no limit to the length of command line arguments.
5080 # Libtool will interpret -1 as no limit whatsoever
5081 lt_cv_sys_max_cmd_len
=-1;
5084 cygwin
* | mingw
* | cegcc
*)
5085 # On Win9x/ME, this test blows up -- it succeeds, but takes
5086 # about 5 minutes as the teststring grows exponentially.
5087 # Worse, since 9x/ME are not pre-emptively multitasking,
5088 # you end up with a "frozen" computer, even though with patience
5089 # the test eventually succeeds (with a max line length of 256k).
5090 # Instead, let's just punt: use the minimum linelength reported by
5091 # all of the supported platforms: 8192 (on NT/2K/XP).
5092 lt_cv_sys_max_cmd_len
=8192;
5096 # On MiNT this can take a long time and run out of memory.
5097 lt_cv_sys_max_cmd_len
=8192;
5101 # On AmigaOS with pdksh, this test takes hours, literally.
5102 # So we just punt and use a minimum line length of 8192.
5103 lt_cv_sys_max_cmd_len
=8192;
5106 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5107 # This has been around since 386BSD, at least. Likely further.
5108 if test -x /sbin
/sysctl
; then
5109 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5110 elif test -x /usr
/sbin
/sysctl
; then
5111 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5113 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5115 # And add a safety zone
5116 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5117 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5121 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5122 lt_cv_sys_max_cmd_len
=196608
5126 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5127 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5128 # nice to cause kernel panics so lets avoid the loop below.
5129 # First set a reasonable default.
5130 lt_cv_sys_max_cmd_len
=16384
5132 if test -x /sbin
/sysconfig
; then
5133 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5134 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5139 lt_cv_sys_max_cmd_len
=102400
5141 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5142 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5143 if test -n "$kargmax"; then
5144 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5146 lt_cv_sys_max_cmd_len
=32768
5150 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5151 if test -n "$lt_cv_sys_max_cmd_len"; then
5152 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5153 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5155 # Make teststring a little bigger before we do anything with it.
5156 # a 1K string should be a reasonable start.
5157 for i
in 1 2 3 4 5 6 7 8 ; do
5158 teststring
=$teststring$teststring
5160 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5161 # If test is not a shell built-in, we'll probably end up computing a
5162 # maximum length that is only half of the actual maximum length, but
5164 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5165 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5166 test $i != 17 # 1/2 MB should be enough
5169 teststring
=$teststring$teststring
5171 # Only check the string length outside the loop.
5172 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5174 # Add a significant safety factor because C++ compilers can tack on
5175 # massive amounts of additional arguments before passing them to the
5176 # linker. It appears as though 1/2 is a usable value.
5177 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5184 if test -n $lt_cv_sys_max_cmd_len ; then
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5186 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5189 $as_echo "none" >&6; }
5191 max_cmd_len
=$lt_cv_sys_max_cmd_len
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5203 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5204 # Try some XSI features
5207 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5209 && eval 'test $(( 1 + 1 )) -eq 2 \
5210 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5213 $as_echo "$xsi_shell" >&6; }
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5217 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5219 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5221 && lt_shell_append=yes
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5223 $as_echo "$lt_shell_append" >&6; }
5226 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5236 # test EBCDIC or ASCII
5237 case `echo X|tr X '\101'` in
5238 A) # ASCII based system
5239 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5240 lt_SP2NL='tr \040 \012'
5241 lt_NL2SP='tr \015\012 \040\040'
5243 *) # EBCDIC based system
5244 lt_SP2NL='tr \100 \n'
5245 lt_NL2SP='tr \r\n \100\100'
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5258 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5259 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5260 $as_echo_n "(cached
) " >&6
5262 lt_cv_ld_reload_flag='-r'
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5265 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5266 reload_flag=$lt_cv_ld_reload_flag
5267 case $reload_flag in
5269 *) reload_flag=" $reload_flag" ;;
5271 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5274 if test "$GCC" = yes; then
5275 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5277 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5290 if test -n "$ac_tool_prefix"; then
5291 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5292 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5294 $as_echo_n "checking
for $ac_word...
" >&6; }
5295 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5296 $as_echo_n "(cached
) " >&6
5298 if test -n "$OBJDUMP"; then
5299 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5305 test -z "$as_dir" && as_dir=.
5306 for ac_exec_ext in '' $ac_executable_extensions; do
5307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5308 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5309 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5318 OBJDUMP=$ac_cv_prog_OBJDUMP
5319 if test -n "$OBJDUMP"; then
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5321 $as_echo "$OBJDUMP" >&6; }
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5324 $as_echo "no
" >&6; }
5329 if test -z "$ac_cv_prog_OBJDUMP"; then
5330 ac_ct_OBJDUMP=$OBJDUMP
5331 # Extract the first word of "objdump
", so it can be a program name with args.
5332 set dummy objdump; ac_word=$2
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5334 $as_echo_n "checking
for $ac_word...
" >&6; }
5335 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5336 $as_echo_n "(cached
) " >&6
5338 if test -n "$ac_ct_OBJDUMP"; then
5339 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5345 test -z "$as_dir" && as_dir=.
5346 for ac_exec_ext in '' $ac_executable_extensions; do
5347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5348 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5349 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5358 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5359 if test -n "$ac_ct_OBJDUMP"; then
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5361 $as_echo "$ac_ct_OBJDUMP" >&6; }
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5364 $as_echo "no
" >&6; }
5367 if test "x
$ac_ct_OBJDUMP" = x; then
5370 case $cross_compiling:$ac_tool_warned in
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5373 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5374 ac_tool_warned=yes ;;
5376 OBJDUMP=$ac_ct_OBJDUMP
5379 OBJDUMP="$ac_cv_prog_OBJDUMP"
5382 test -z "$OBJDUMP" && OBJDUMP=objdump
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5393 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5394 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5395 $as_echo_n "(cached
) " >&6
5397 lt_cv_file_magic_cmd='$MAGIC_CMD'
5398 lt_cv_file_magic_test_file=
5399 lt_cv_deplibs_check_method='unknown'
5400 # Need to set the preceding variable on all platforms that support
5401 # interlibrary dependencies.
5402 # 'none' -- dependencies not supported.
5403 # `unknown' -- same as none, but documents that we really don't know.
5404 # 'pass_all' -- all dependencies passed with no checks.
5405 # 'test_compile' -- check by making test program.
5406 # 'file_magic [[regex]]' -- check by looking for files in library path
5407 # which responds to the $file_magic_cmd with a given extended regex.
5408 # If you have `file' or equivalent on your system and you're not sure
5409 # whether `pass_all' will *always* work, you probably want this one.
5413 lt_cv_deplibs_check_method=pass_all
5417 lt_cv_deplibs_check_method=pass_all
5421 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5422 lt_cv_file_magic_cmd='/usr/bin/file -L'
5423 lt_cv_file_magic_test_file=/shlib/libc.so
5427 # func_win32_libid is a shell function defined in ltmain.sh
5428 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5429 lt_cv_file_magic_cmd='func_win32_libid'
5433 # Base MSYS/MinGW do not provide the 'file' command needed by
5434 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5435 # unless we find 'file', for example because we are cross-compiling.
5436 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5437 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5438 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5439 lt_cv_file_magic_cmd='func_win32_libid'
5441 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5442 lt_cv_file_magic_cmd='$OBJDUMP -f'
5447 # use the weaker test based on 'objdump'. See mingw*.
5448 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5449 lt_cv_file_magic_cmd='$OBJDUMP -f'
5452 darwin* | rhapsody*)
5453 lt_cv_deplibs_check_method=pass_all
5456 freebsd* | dragonfly*)
5457 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5460 # Not sure whether the presence of OpenBSD here was a mistake.
5461 # Let's accept both of them until this is cleared up.
5462 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5463 lt_cv_file_magic_cmd=/usr/bin/file
5464 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5468 lt_cv_deplibs_check_method=pass_all
5473 lt_cv_deplibs_check_method=pass_all
5477 lt_cv_deplibs_check_method=pass_all
5480 hpux10.20* | hpux11*)
5481 lt_cv_file_magic_cmd=/usr/bin/file
5484 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5485 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5488 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]'
5489 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5492 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5493 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5499 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5500 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5503 irix5* | irix6* | nonstopux*)
5505 *-32|*"-32 ") libmagic=32-bit;;
5506 *-n32|*"-n32 ") libmagic=N32;;
5507 *-64|*"-64 ") libmagic=64-bit;;
5508 *) libmagic=never-match;;
5510 lt_cv_deplibs_check_method=pass_all
5513 # This must be Linux ELF.
5514 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5515 lt_cv_deplibs_check_method=pass_all
5519 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5520 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5522 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5527 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5528 lt_cv_file_magic_cmd=/usr/bin/file
5529 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5533 lt_cv_deplibs_check_method=pass_all
5537 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5538 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5540 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5544 osf3* | osf4* | osf5*)
5545 lt_cv_deplibs_check_method=pass_all
5549 lt_cv_deplibs_check_method=pass_all
5553 lt_cv_deplibs_check_method=pass_all
5556 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5557 lt_cv_deplibs_check_method=pass_all
5561 case $host_vendor in
5563 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]'
5564 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5567 lt_cv_deplibs_check_method=pass_all
5570 lt_cv_file_magic_cmd='/bin/file'
5571 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5574 lt_cv_file_magic_cmd='/bin/file'
5575 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5576 lt_cv_file_magic_test_file=/lib/libc.so
5579 lt_cv_deplibs_check_method=pass_all
5582 lt_cv_deplibs_check_method=pass_all
5588 lt_cv_deplibs_check_method=pass_all
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5594 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5595 file_magic_cmd=$lt_cv_file_magic_cmd
5596 deplibs_check_method=$lt_cv_deplibs_check_method
5597 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5610 if test -n "$ac_tool_prefix"; then
5611 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5612 set dummy ${ac_tool_prefix}ar; ac_word=$2
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5614 $as_echo_n "checking
for $ac_word...
" >&6; }
5615 if test "${ac_cv_prog_AR+set}" = set; then :
5616 $as_echo_n "(cached
) " >&6
5618 if test -n "$AR"; then
5619 ac_cv_prog_AR="$AR" # Let the user override the test.
5621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5625 test -z "$as_dir" && as_dir=.
5626 for ac_exec_ext in '' $ac_executable_extensions; do
5627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5628 ac_cv_prog_AR="${ac_tool_prefix}ar"
5629 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5639 if test -n "$AR"; then
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5641 $as_echo "$AR" >&6; }
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5644 $as_echo "no
" >&6; }
5649 if test -z "$ac_cv_prog_AR"; then
5651 # Extract the first word of "ar", so it can be a program name with args.
5652 set dummy ar; ac_word=$2
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5654 $as_echo_n "checking
for $ac_word...
" >&6; }
5655 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5656 $as_echo_n "(cached
) " >&6
5658 if test -n "$ac_ct_AR"; then
5659 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5665 test -z "$as_dir" && as_dir=.
5666 for ac_exec_ext in '' $ac_executable_extensions; do
5667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5668 ac_cv_prog_ac_ct_AR="ar"
5669 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5678 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5679 if test -n "$ac_ct_AR"; then
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5681 $as_echo "$ac_ct_AR" >&6; }
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5684 $as_echo "no
" >&6; }
5687 if test "x
$ac_ct_AR" = x; then
5690 case $cross_compiling:$ac_tool_warned in
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5693 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5694 ac_tool_warned=yes ;;
5702 test -z "$AR" && AR=ar
5703 test -z "$AR_FLAGS" && AR_FLAGS=cru
5715 if test -n "$ac_tool_prefix"; then
5716 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5717 set dummy ${ac_tool_prefix}strip; ac_word=$2
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5719 $as_echo_n "checking
for $ac_word...
" >&6; }
5720 if test "${ac_cv_prog_STRIP+set}" = set; then :
5721 $as_echo_n "(cached
) " >&6
5723 if test -n "$STRIP"; then
5724 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5730 test -z "$as_dir" && as_dir=.
5731 for ac_exec_ext in '' $ac_executable_extensions; do
5732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5733 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5734 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5743 STRIP=$ac_cv_prog_STRIP
5744 if test -n "$STRIP"; then
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5746 $as_echo "$STRIP" >&6; }
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5749 $as_echo "no
" >&6; }
5754 if test -z "$ac_cv_prog_STRIP"; then
5756 # Extract the first word of "strip
", so it can be a program name with args.
5757 set dummy strip; ac_word=$2
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5759 $as_echo_n "checking
for $ac_word...
" >&6; }
5760 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5761 $as_echo_n "(cached
) " >&6
5763 if test -n "$ac_ct_STRIP"; then
5764 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5770 test -z "$as_dir" && as_dir=.
5771 for ac_exec_ext in '' $ac_executable_extensions; do
5772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5773 ac_cv_prog_ac_ct_STRIP="strip
"
5774 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5783 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5784 if test -n "$ac_ct_STRIP"; then
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5786 $as_echo "$ac_ct_STRIP" >&6; }
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5789 $as_echo "no
" >&6; }
5792 if test "x
$ac_ct_STRIP" = x; then
5795 case $cross_compiling:$ac_tool_warned in
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5798 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5799 ac_tool_warned=yes ;;
5804 STRIP="$ac_cv_prog_STRIP"
5807 test -z "$STRIP" && STRIP=:
5814 if test -n "$ac_tool_prefix"; then
5815 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5816 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5818 $as_echo_n "checking
for $ac_word...
" >&6; }
5819 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5820 $as_echo_n "(cached
) " >&6
5822 if test -n "$RANLIB"; then
5823 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5829 test -z "$as_dir" && as_dir=.
5830 for ac_exec_ext in '' $ac_executable_extensions; do
5831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5832 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5833 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5842 RANLIB=$ac_cv_prog_RANLIB
5843 if test -n "$RANLIB"; then
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5845 $as_echo "$RANLIB" >&6; }
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5848 $as_echo "no
" >&6; }
5853 if test -z "$ac_cv_prog_RANLIB"; then
5854 ac_ct_RANLIB=$RANLIB
5855 # Extract the first word of "ranlib
", so it can be a program name with args.
5856 set dummy ranlib; ac_word=$2
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5858 $as_echo_n "checking
for $ac_word...
" >&6; }
5859 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5860 $as_echo_n "(cached
) " >&6
5862 if test -n "$ac_ct_RANLIB"; then
5863 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5869 test -z "$as_dir" && as_dir=.
5870 for ac_exec_ext in '' $ac_executable_extensions; do
5871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5872 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5873 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5882 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5883 if test -n "$ac_ct_RANLIB"; then
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5885 $as_echo "$ac_ct_RANLIB" >&6; }
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5888 $as_echo "no
" >&6; }
5891 if test "x
$ac_ct_RANLIB" = x; then
5894 case $cross_compiling:$ac_tool_warned in
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5897 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5898 ac_tool_warned=yes ;;
5900 RANLIB=$ac_ct_RANLIB
5903 RANLIB="$ac_cv_prog_RANLIB"
5906 test -z "$RANLIB" && RANLIB=:
5913 # Determine commands to create old-style static archives.
5914 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5915 old_postinstall_cmds='chmod 644 $oldlib'
5916 old_postuninstall_cmds=
5918 if test -n "$RANLIB"; then
5921 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5924 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5927 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5932 lock_old_archive_extraction=yes ;;
5934 lock_old_archive_extraction=no ;;
5975 # If no C compiler was specified, use CC.
5978 # If no C compiler flags were specified, use CFLAGS.
5979 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5981 # Allow CC to be a program name with arguments.
5985 # Check for command to grab the raw symbol name followed by C symbol from nm.
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
5987 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5988 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5989 $as_echo_n "(cached
) " >&6
5992 # These are sane defaults that work on at least a few old systems.
5993 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5995 # Character class describing NM global symbol codes.
5996 symcode='[BCDEGRST]'
5998 # Regexp to match symbols that can be accessed directly from C.
5999 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6001 # Define system-specific variables.
6006 cygwin* | mingw* | pw32* | cegcc*)
6007 symcode='[ABCDGISTW]'
6010 if test "$host_cpu" = ia64; then
6011 symcode='[ABCDEGRST]'
6015 symcode='[BCDEGRST]'
6018 symcode='[BCDEGQRST]'
6029 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6037 # If we're using GNU nm, then use its standard symbol codes.
6038 case `$NM -V 2>&1` in
6039 *GNU* | *'with BFD'*)
6040 symcode='[ABCDGIRSTW]' ;;
6043 # Transform an extracted symbol line into a proper C declaration.
6044 # Some systems (esp. on ia64) link data and code symbols differently,
6045 # so use this general approach.
6046 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6048 # Transform an extracted symbol line into symbol name and symbol address
6049 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6050 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'"
6052 # Handle CRLF in mingw tool chain
6056 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6060 # Try without a prefix underscore, then with it.
6061 for ac_symprfx in "" "_
"; do
6063 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6064 symxfrm="\\1 $ac_symprfx\\2 \\2"
6066 # Write the raw and C identifiers.
6067 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6068 # Fake it for dumpbin and say T for any non-static function
6069 # and D for any global variable.
6070 # Also find C++ and __fastcall symbols from MSVC++,
6071 # which start with @ or ?.
6072 lt_cv_sys_global_symbol_pipe="$AWK '"\
6073 " {last_section=section; section=\$ 3};"\
6074 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6075 " \$ 0!~/External *\|/{next};"\
6076 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6077 " {if(hide[section]) next};"\
6078 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6079 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6080 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6081 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6082 " ' prfx
=^
$ac_symprfx"
6084 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6087 # Check to see that the pipe works correctly.
6091 cat > conftest.$ac_ext <<_LT_EOF
6096 void nm_test_func(void);
6097 void nm_test_func(void){}
6101 int main(){nm_test_var='a';nm_test_func();return(0);}
6104 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6105 (eval $ac_compile) 2>&5
6107 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6108 test $ac_status = 0; }; then
6109 # Now try to grab the symbols.
6111 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6112 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6114 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6115 test $ac_status = 0; } && test -s "$nlist"; then
6116 # Try sorting and uniquifying the output.
6117 if sort "$nlist" | uniq > "$nlist"T; then
6118 mv -f "$nlist"T "$nlist"
6123 # Make sure that we snagged all the symbols we need.
6124 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6125 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6126 cat <<_LT_EOF > conftest.$ac_ext
6132 # Now generate the symbol file.
6133 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6135 cat <<_LT_EOF >> conftest.$ac_ext
6137 /* The mapping between symbol names and symbols. */
6142 lt__PROGRAM__LTX_preloaded_symbols[] =
6144 { "@PROGRAM@
", (void *) 0 },
6146 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6147 cat <<\_LT_EOF >> conftest.$ac_ext
6151 /* This works around a problem in FreeBSD linker */
6152 #ifdef FREEBSD_WORKAROUND
6153 static const void *lt_preloaded_setup() {
6154 return lt__PROGRAM__LTX_preloaded_symbols;
6162 # Now try linking the two files.
6163 mv conftest.$ac_objext conftstm.$ac_objext
6164 lt_save_LIBS="$LIBS"
6165 lt_save_CFLAGS="$CFLAGS"
6166 LIBS="conftstm.
$ac_objext"
6167 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6168 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6169 (eval $ac_link) 2>&5
6171 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6172 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6175 LIBS="$lt_save_LIBS"
6176 CFLAGS="$lt_save_CFLAGS"
6178 echo "cannot
find nm_test_func
in $nlist" >&5
6181 echo "cannot
find nm_test_var
in $nlist" >&5
6184 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6187 echo "$progname: failed program was
:" >&5
6188 cat conftest.$ac_ext >&5
6190 rm -rf conftest* conftst*
6192 # Do not use the global_symbol_pipe unless it works.
6193 if test "$pipe_works" = yes; then
6196 lt_cv_sys_global_symbol_pipe=
6202 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6203 lt_cv_sys_global_symbol_to_cdecl=
6205 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6207 $as_echo "failed
" >&6; }
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6210 $as_echo "ok
" >&6; }
6235 # Check whether --enable-libtool-lock was given.
6236 if test "${enable_libtool_lock+set}" = set; then :
6237 enableval=$enable_libtool_lock;
6240 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6242 # Some flags need to be propagated to the compiler or linker for good
6246 # Find out which ABI we are using.
6247 echo 'int i;' > conftest.$ac_ext
6248 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6249 (eval $ac_compile) 2>&5
6251 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6252 test $ac_status = 0; }; then
6253 case `/usr/bin/file conftest.$ac_objext` in
6265 # Find out which ABI we are using.
6266 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6267 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6268 (eval $ac_compile) 2>&5
6270 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6271 test $ac_status = 0; }; then
6272 if test "$lt_cv_prog_gnu_ld" = yes; then
6273 case `/usr/bin/file conftest.$ac_objext` in
6275 LD="${LD-ld} -melf32bsmip"
6278 LD="${LD-ld} -melf32bmipn32"
6281 LD="${LD-ld} -melf64bmip"
6285 case `/usr/bin/file conftest.$ac_objext` in
6301 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6302 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6303 # Find out which ABI we are using.
6304 echo 'int i;' > conftest.$ac_ext
6305 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6306 (eval $ac_compile) 2>&5
6308 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6309 test $ac_status = 0; }; then
6310 case `/usr/bin/file conftest.o` in
6313 x86_64-*kfreebsd*-gnu)
6314 LD="${LD-ld} -m elf_i386_fbsd
"
6317 case `/usr/bin/file conftest.o` in
6319 LD="${LD-ld} -m elf32_x86_64
"
6322 LD="${LD-ld} -m elf_i386
"
6326 powerpc64le-*linux*)
6327 LD="${LD-ld} -m elf32lppclinux
"
6330 LD="${LD-ld} -m elf32ppclinux
"
6333 LD="${LD-ld} -m elf_s390
"
6336 LD="${LD-ld} -m elf32_sparc
"
6342 x86_64-*kfreebsd*-gnu)
6343 LD="${LD-ld} -m elf_x86_64_fbsd
"
6346 LD="${LD-ld} -m elf_x86_64
"
6349 LD="${LD-ld} -m elf64lppc
"
6352 LD="${LD-ld} -m elf64ppc
"
6354 s390*-*linux*|s390*-*tpf*)
6355 LD="${LD-ld} -m elf64_s390
"
6358 LD="${LD-ld} -m elf64_sparc
"
6368 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6369 SAVE_CFLAGS="$CFLAGS"
6370 CFLAGS="$CFLAGS -belf"
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6372 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6373 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6374 $as_echo_n "(cached
) " >&6
6377 ac_cpp='$CPP $CPPFLAGS'
6378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6383 /* end confdefs.h. */
6393 if ac_fn_c_try_link "$LINENO"; then :
6394 lt_cv_cc_needs_belf=yes
6396 lt_cv_cc_needs_belf=no
6398 rm -f core conftest.err conftest.$ac_objext \
6399 conftest$ac_exeext conftest.$ac_ext
6401 ac_cpp='$CPP $CPPFLAGS'
6402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6408 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6409 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6410 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6411 CFLAGS="$SAVE_CFLAGS"
6415 # Find out which ABI we are using.
6416 echo 'int i;' > conftest.$ac_ext
6417 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6418 (eval $ac_compile) 2>&5
6420 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6421 test $ac_status = 0; }; then
6422 case `/usr/bin/file conftest.o` in
6424 case $lt_cv_prog_gnu_ld in
6425 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6427 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6439 need_locks="$enable_libtool_lock"
6443 rhapsody* | darwin*)
6444 if test -n "$ac_tool_prefix"; then
6445 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6446 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6448 $as_echo_n "checking
for $ac_word...
" >&6; }
6449 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6450 $as_echo_n "(cached
) " >&6
6452 if test -n "$DSYMUTIL"; then
6453 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6459 test -z "$as_dir" && as_dir=.
6460 for ac_exec_ext in '' $ac_executable_extensions; do
6461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6462 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6463 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6472 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6473 if test -n "$DSYMUTIL"; then
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6475 $as_echo "$DSYMUTIL" >&6; }
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6478 $as_echo "no
" >&6; }
6483 if test -z "$ac_cv_prog_DSYMUTIL"; then
6484 ac_ct_DSYMUTIL=$DSYMUTIL
6485 # Extract the first word of "dsymutil
", so it can be a program name with args.
6486 set dummy dsymutil; ac_word=$2
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6488 $as_echo_n "checking
for $ac_word...
" >&6; }
6489 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6490 $as_echo_n "(cached
) " >&6
6492 if test -n "$ac_ct_DSYMUTIL"; then
6493 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6499 test -z "$as_dir" && as_dir=.
6500 for ac_exec_ext in '' $ac_executable_extensions; do
6501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6502 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6503 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6512 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6513 if test -n "$ac_ct_DSYMUTIL"; then
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6515 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6518 $as_echo "no
" >&6; }
6521 if test "x
$ac_ct_DSYMUTIL" = x; then
6524 case $cross_compiling:$ac_tool_warned in
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6527 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6528 ac_tool_warned=yes ;;
6530 DSYMUTIL=$ac_ct_DSYMUTIL
6533 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6536 if test -n "$ac_tool_prefix"; then
6537 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6538 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6540 $as_echo_n "checking
for $ac_word...
" >&6; }
6541 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6542 $as_echo_n "(cached
) " >&6
6544 if test -n "$NMEDIT"; then
6545 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6551 test -z "$as_dir" && as_dir=.
6552 for ac_exec_ext in '' $ac_executable_extensions; do
6553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6554 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6555 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6564 NMEDIT=$ac_cv_prog_NMEDIT
6565 if test -n "$NMEDIT"; then
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6567 $as_echo "$NMEDIT" >&6; }
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6570 $as_echo "no
" >&6; }
6575 if test -z "$ac_cv_prog_NMEDIT"; then
6576 ac_ct_NMEDIT=$NMEDIT
6577 # Extract the first word of "nmedit
", so it can be a program name with args.
6578 set dummy nmedit; ac_word=$2
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6580 $as_echo_n "checking
for $ac_word...
" >&6; }
6581 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6582 $as_echo_n "(cached
) " >&6
6584 if test -n "$ac_ct_NMEDIT"; then
6585 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6591 test -z "$as_dir" && as_dir=.
6592 for ac_exec_ext in '' $ac_executable_extensions; do
6593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6594 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6595 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6604 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6605 if test -n "$ac_ct_NMEDIT"; then
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6607 $as_echo "$ac_ct_NMEDIT" >&6; }
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6610 $as_echo "no
" >&6; }
6613 if test "x
$ac_ct_NMEDIT" = x; then
6616 case $cross_compiling:$ac_tool_warned in
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6619 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6620 ac_tool_warned=yes ;;
6622 NMEDIT=$ac_ct_NMEDIT
6625 NMEDIT="$ac_cv_prog_NMEDIT"
6628 if test -n "$ac_tool_prefix"; then
6629 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6630 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6632 $as_echo_n "checking
for $ac_word...
" >&6; }
6633 if test "${ac_cv_prog_LIPO+set}" = set; then :
6634 $as_echo_n "(cached
) " >&6
6636 if test -n "$LIPO"; then
6637 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6643 test -z "$as_dir" && as_dir=.
6644 for ac_exec_ext in '' $ac_executable_extensions; do
6645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6646 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6647 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6656 LIPO=$ac_cv_prog_LIPO
6657 if test -n "$LIPO"; then
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6659 $as_echo "$LIPO" >&6; }
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6662 $as_echo "no
" >&6; }
6667 if test -z "$ac_cv_prog_LIPO"; then
6669 # Extract the first word of "lipo
", so it can be a program name with args.
6670 set dummy lipo; ac_word=$2
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6672 $as_echo_n "checking
for $ac_word...
" >&6; }
6673 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6674 $as_echo_n "(cached
) " >&6
6676 if test -n "$ac_ct_LIPO"; then
6677 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6683 test -z "$as_dir" && as_dir=.
6684 for ac_exec_ext in '' $ac_executable_extensions; do
6685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6686 ac_cv_prog_ac_ct_LIPO="lipo
"
6687 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6696 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6697 if test -n "$ac_ct_LIPO"; then
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6699 $as_echo "$ac_ct_LIPO" >&6; }
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6702 $as_echo "no
" >&6; }
6705 if test "x
$ac_ct_LIPO" = x; then
6708 case $cross_compiling:$ac_tool_warned in
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6711 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6712 ac_tool_warned=yes ;;
6717 LIPO="$ac_cv_prog_LIPO"
6720 if test -n "$ac_tool_prefix"; then
6721 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6722 set dummy ${ac_tool_prefix}otool; ac_word=$2
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6724 $as_echo_n "checking
for $ac_word...
" >&6; }
6725 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6726 $as_echo_n "(cached
) " >&6
6728 if test -n "$OTOOL"; then
6729 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6735 test -z "$as_dir" && as_dir=.
6736 for ac_exec_ext in '' $ac_executable_extensions; do
6737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6738 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6739 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6748 OTOOL=$ac_cv_prog_OTOOL
6749 if test -n "$OTOOL"; then
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6751 $as_echo "$OTOOL" >&6; }
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6754 $as_echo "no
" >&6; }
6759 if test -z "$ac_cv_prog_OTOOL"; then
6761 # Extract the first word of "otool
", so it can be a program name with args.
6762 set dummy otool; ac_word=$2
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6764 $as_echo_n "checking
for $ac_word...
" >&6; }
6765 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6766 $as_echo_n "(cached
) " >&6
6768 if test -n "$ac_ct_OTOOL"; then
6769 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6775 test -z "$as_dir" && as_dir=.
6776 for ac_exec_ext in '' $ac_executable_extensions; do
6777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6778 ac_cv_prog_ac_ct_OTOOL="otool
"
6779 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6788 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6789 if test -n "$ac_ct_OTOOL"; then
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6791 $as_echo "$ac_ct_OTOOL" >&6; }
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6794 $as_echo "no
" >&6; }
6797 if test "x
$ac_ct_OTOOL" = x; then
6800 case $cross_compiling:$ac_tool_warned in
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6803 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6804 ac_tool_warned=yes ;;
6809 OTOOL="$ac_cv_prog_OTOOL"
6812 if test -n "$ac_tool_prefix"; then
6813 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6814 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6816 $as_echo_n "checking
for $ac_word...
" >&6; }
6817 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6818 $as_echo_n "(cached
) " >&6
6820 if test -n "$OTOOL64"; then
6821 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6827 test -z "$as_dir" && as_dir=.
6828 for ac_exec_ext in '' $ac_executable_extensions; do
6829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6830 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6831 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6840 OTOOL64=$ac_cv_prog_OTOOL64
6841 if test -n "$OTOOL64"; then
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
6843 $as_echo "$OTOOL64" >&6; }
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6846 $as_echo "no
" >&6; }
6851 if test -z "$ac_cv_prog_OTOOL64"; then
6852 ac_ct_OTOOL64=$OTOOL64
6853 # Extract the first word of "otool64
", so it can be a program name with args.
6854 set dummy otool64; ac_word=$2
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6856 $as_echo_n "checking
for $ac_word...
" >&6; }
6857 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6858 $as_echo_n "(cached
) " >&6
6860 if test -n "$ac_ct_OTOOL64"; then
6861 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6867 test -z "$as_dir" && as_dir=.
6868 for ac_exec_ext in '' $ac_executable_extensions; do
6869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6870 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6871 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6880 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6881 if test -n "$ac_ct_OTOOL64"; then
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
6883 $as_echo "$ac_ct_OTOOL64" >&6; }
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6886 $as_echo "no
" >&6; }
6889 if test "x
$ac_ct_OTOOL64" = x; then
6892 case $cross_compiling:$ac_tool_warned in
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6895 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6896 ac_tool_warned=yes ;;
6898 OTOOL64=$ac_ct_OTOOL64
6901 OTOOL64="$ac_cv_prog_OTOOL64"
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
6931 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6932 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6933 $as_echo_n "(cached
) " >&6
6935 lt_cv_apple_cc_single_mod=no
6936 if test -z "${LT_MULTI_MODULE}"; then
6937 # By default we will add the -single_module flag. You can override
6938 # by either setting the environment variable LT_MULTI_MODULE
6939 # non-empty at configure time, or by adding -multi_module to the
6941 rm -rf libconftest.dylib*
6942 echo "int foo
(void
){return 1;}" > conftest.c
6943 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6944 -dynamiclib -Wl,-single_module conftest.c
" >&5
6945 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6946 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6948 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6949 lt_cv_apple_cc_single_mod=yes
6951 cat conftest.err >&5
6953 rm -rf libconftest.dylib*
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
6958 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
6960 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6961 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6962 $as_echo_n "(cached
) " >&6
6964 lt_cv_ld_exported_symbols_list=no
6965 save_LDFLAGS=$LDFLAGS
6966 echo "_main
" > conftest.sym
6967 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6969 /* end confdefs.h. */
6979 if ac_fn_c_try_link "$LINENO"; then :
6980 lt_cv_ld_exported_symbols_list=yes
6982 lt_cv_ld_exported_symbols_list=no
6984 rm -f core conftest.err conftest.$ac_objext \
6985 conftest$ac_exeext conftest.$ac_ext
6986 LDFLAGS="$save_LDFLAGS"
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
6990 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
6992 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
6993 if test "${lt_cv_ld_force_load+set}" = set; then :
6994 $as_echo_n "(cached
) " >&6
6996 lt_cv_ld_force_load=no
6997 cat > conftest.c << _LT_EOF
6998 int forced_loaded() { return 2;}
7000 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7001 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7002 echo "$AR cru libconftest.a conftest.o
" >&5
7003 $AR cru libconftest.a conftest.o 2>&5
7004 cat > conftest.c << _LT_EOF
7005 int main() { return 0;}
7007 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7008 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7010 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7011 lt_cv_ld_force_load=yes
7013 cat conftest.err >&5
7015 rm -f conftest.err libconftest.a conftest conftest.c
7016 rm -rf conftest.dSYM
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7020 $as_echo "$lt_cv_ld_force_load" >&6; }
7022 rhapsody* | darwin1.[012])
7023 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7025 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7026 darwin*) # darwin 5.x on
7027 # if running on 10.5 or later, the deployment target defaults
7028 # to the OS version, if on x86, and 10.4, the deployment
7029 # target defaults to 10.4. Don't you love it?
7030 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7031 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7032 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7034 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7036 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7040 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7041 _lt_dar_single_mod='$single_module'
7043 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7044 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7046 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7048 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7049 _lt_dsymutil='~$DSYMUTIL $lib || :'
7057 ac_cpp='$CPP $CPPFLAGS'
7058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7062 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7063 # On Suns, sometimes $CPP names a directory.
7064 if test -n "$CPP" && test -d "$CPP"; then
7067 if test -z "$CPP"; then
7068 if test "${ac_cv_prog_CPP+set}" = set; then :
7069 $as_echo_n "(cached
) " >&6
7071 # Double quotes because CPP needs to be expanded
7072 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7075 for ac_c_preproc_warn_flag in '' yes
7077 # Use a header file that comes with gcc, so configuring glibc
7078 # with a fresh cross-compiler works.
7079 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7080 # <limits.h> exists even on freestanding compilers.
7081 # On the NeXT, cc -E runs the code through the compiler's parser,
7082 # not just through cpp. "Syntax error
" is here to catch this case.
7083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7084 /* end confdefs.h. */
7086 # include <limits.h>
7088 # include <assert.h>
7092 if ac_fn_c_try_cpp "$LINENO"; then :
7095 # Broken: fails on valid input.
7098 rm -f conftest.err conftest.$ac_ext
7100 # OK, works on sane cases. Now check whether nonexistent headers
7101 # can be detected and how.
7102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7103 /* end confdefs.h. */
7104 #include <ac_nonexistent.h>
7106 if ac_fn_c_try_cpp "$LINENO"; then :
7107 # Broken: success on invalid input.
7110 # Passes both tests.
7114 rm -f conftest.err conftest.$ac_ext
7117 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7118 rm -f conftest.err conftest.$ac_ext
7119 if $ac_preproc_ok; then :
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7132 $as_echo "$CPP" >&6; }
7134 for ac_c_preproc_warn_flag in '' yes
7136 # Use a header file that comes with gcc, so configuring glibc
7137 # with a fresh cross-compiler works.
7138 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7139 # <limits.h> exists even on freestanding compilers.
7140 # On the NeXT, cc -E runs the code through the compiler's parser,
7141 # not just through cpp. "Syntax error
" is here to catch this case.
7142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7143 /* end confdefs.h. */
7145 # include <limits.h>
7147 # include <assert.h>
7151 if ac_fn_c_try_cpp "$LINENO"; then :
7154 # Broken: fails on valid input.
7157 rm -f conftest.err conftest.$ac_ext
7159 # OK, works on sane cases. Now check whether nonexistent headers
7160 # can be detected and how.
7161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7162 /* end confdefs.h. */
7163 #include <ac_nonexistent.h>
7165 if ac_fn_c_try_cpp "$LINENO"; then :
7166 # Broken: success on invalid input.
7169 # Passes both tests.
7173 rm -f conftest.err conftest.$ac_ext
7176 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7177 rm -f conftest.err conftest.$ac_ext
7178 if $ac_preproc_ok; then :
7181 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7182 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7183 as_fn_error "C preprocessor \"$CPP\" fails sanity check
7184 See \`config.log' for more details.
" "$LINENO" 5; }
7188 ac_cpp='$CPP $CPPFLAGS'
7189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7195 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7196 if test "${ac_cv_header_stdc+set}" = set; then :
7197 $as_echo_n "(cached
) " >&6
7199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7200 /* end confdefs.h. */
7214 if ac_fn_c_try_compile "$LINENO"; then :
7215 ac_cv_header_stdc=yes
7217 ac_cv_header_stdc=no
7219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7221 if test $ac_cv_header_stdc = yes; then
7222 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7224 /* end confdefs.h. */
7228 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7229 $EGREP "memchr
" >/dev/null 2>&1; then :
7232 ac_cv_header_stdc=no
7238 if test $ac_cv_header_stdc = yes; then
7239 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7241 /* end confdefs.h. */
7245 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7246 $EGREP "free
" >/dev/null 2>&1; then :
7249 ac_cv_header_stdc=no
7255 if test $ac_cv_header_stdc = yes; then
7256 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7257 if test "$cross_compiling" = yes; then :
7260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7261 /* end confdefs.h. */
7264 #if ((' ' & 0x0FF) == 0x020)
7265 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7266 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7268 # define ISLOWER(c) \
7269 (('a' <= (c) && (c) <= 'i') \
7270 || ('j' <= (c) && (c) <= 'r') \
7271 || ('s' <= (c) && (c) <= 'z'))
7272 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7275 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7280 for (i = 0; i < 256; i++)
7281 if (XOR (islower (i), ISLOWER (i))
7282 || toupper (i) != TOUPPER (i))
7287 if ac_fn_c_try_run "$LINENO"; then :
7290 ac_cv_header_stdc=no
7292 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7293 conftest.$ac_objext conftest.beam conftest.$ac_ext
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7299 $as_echo "$ac_cv_header_stdc" >&6; }
7300 if test $ac_cv_header_stdc = yes; then
7302 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7306 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7307 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7308 inttypes.h stdint.h unistd.h
7310 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7311 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7313 eval as_val
=\$
$as_ac_Header
7314 if test "x$as_val" = x
""yes; then :
7315 cat >>confdefs.h
<<_ACEOF
7316 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7324 for ac_header
in dlfcn.h
7326 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7328 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7329 cat >>confdefs.h
<<_ACEOF
7330 #define HAVE_DLFCN_H 1
7350 # Check whether --enable-shared was given.
7351 if test "${enable_shared+set}" = set; then :
7352 enableval
=$enable_shared; p
=${PACKAGE-default}
7354 yes) enable_shared
=yes ;;
7355 no
) enable_shared
=no
;;
7358 # Look at the argument we got. We use all the common list separators.
7359 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7360 for pkg
in $enableval; do
7362 if test "X$pkg" = "X$p"; then
7381 # Check whether --enable-static was given.
7382 if test "${enable_static+set}" = set; then :
7383 enableval
=$enable_static; p
=${PACKAGE-default}
7385 yes) enable_static
=yes ;;
7386 no
) enable_static
=no
;;
7389 # Look at the argument we got. We use all the common list separators.
7390 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7391 for pkg
in $enableval; do
7393 if test "X$pkg" = "X$p"; then
7413 # Check whether --with-pic was given.
7414 if test "${with_pic+set}" = set; then :
7415 withval
=$with_pic; pic_mode
="$withval"
7421 test -z "$pic_mode" && pic_mode
=default
7429 # Check whether --enable-fast-install was given.
7430 if test "${enable_fast_install+set}" = set; then :
7431 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7433 yes) enable_fast_install
=yes ;;
7434 no
) enable_fast_install
=no
;;
7436 enable_fast_install
=no
7437 # Look at the argument we got. We use all the common list separators.
7438 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7439 for pkg
in $enableval; do
7441 if test "X$pkg" = "X$p"; then
7442 enable_fast_install
=yes
7449 enable_fast_install
=yes
7462 # This can be used to rebuild libtool when needed
7463 LIBTOOL_DEPS
="$ltmain"
7465 # Always use our own libtool.
7466 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7493 test -z "$LN_S" && LN_S
="ln -s"
7508 if test -n "${ZSH_VERSION+set}" ; then
7509 setopt NO_GLOB_SUBST
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7513 $as_echo_n "checking for objdir... " >&6; }
7514 if test "${lt_cv_objdir+set}" = set; then :
7515 $as_echo_n "(cached) " >&6
7517 rm -f .libs
2>/dev
/null
7518 mkdir .libs
2>/dev
/null
7519 if test -d .libs
; then
7522 # MS-DOS does not allow filenames that begin with a dot.
7525 rmdir .libs
2>/dev
/null
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7528 $as_echo "$lt_cv_objdir" >&6; }
7529 objdir
=$lt_cv_objdir
7535 cat >>confdefs.h
<<_ACEOF
7536 #define LT_OBJDIR "$lt_cv_objdir/"
7544 # AIX sometimes has problems with the GCC collect2 program. For some
7545 # reason, if we set the COLLECT_NAMES environment variable, the problems
7546 # vanish in a puff of smoke.
7547 if test "X${COLLECT_NAMES+set}" != Xset
; then
7549 export COLLECT_NAMES
7556 can_build_shared
=yes
7558 # All known linkers require a `.a' archive for static linking (except MSVC,
7559 # which needs '.lib').
7562 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7565 old_CFLAGS
="$CFLAGS"
7567 # Set sane defaults for various variables
7568 test -z "$CC" && CC
=cc
7569 test -z "$LTCC" && LTCC
=$CC
7570 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7571 test -z "$LD" && LD
=ld
7572 test -z "$ac_objext" && ac_objext
=o
7574 for cc_temp
in $compiler""; do
7576 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7577 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7582 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7585 # Only perform the check for file, if the check method requires it
7586 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7587 case $deplibs_check_method in
7589 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7591 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7592 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7593 $as_echo_n "(cached) " >&6
7597 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7600 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7601 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7602 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7603 for ac_dir
in $ac_dummy; do
7605 test -z "$ac_dir" && ac_dir
=.
7606 if test -f $ac_dir/${ac_tool_prefix}file; then
7607 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7608 if test -n "$file_magic_test_file"; then
7609 case $deplibs_check_method in
7611 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7612 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7613 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7614 $EGREP "$file_magic_regex" > /dev
/null
; then
7619 *** Warning: the command libtool uses to detect shared libraries,
7620 *** $file_magic_cmd, produces output that libtool cannot recognize.
7621 *** The result is that libtool may fail to recognize shared libraries
7622 *** as such. This will affect the creation of libtool libraries that
7623 *** depend on shared libraries, but programs linked with such libtool
7624 *** libraries will work regardless of this problem. Nevertheless, you
7625 *** may want to report the problem to your system manager and/or to
7626 *** bug-libtool@gnu.org
7636 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7641 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7642 if test -n "$MAGIC_CMD"; then
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7644 $as_echo "$MAGIC_CMD" >&6; }
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7647 $as_echo "no" >&6; }
7654 if test -z "$lt_cv_path_MAGIC_CMD"; then
7655 if test -n "$ac_tool_prefix"; then
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7657 $as_echo_n "checking for file... " >&6; }
7658 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7659 $as_echo_n "(cached) " >&6
7663 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7666 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7667 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7668 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7669 for ac_dir
in $ac_dummy; do
7671 test -z "$ac_dir" && ac_dir
=.
7672 if test -f $ac_dir/file; then
7673 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7674 if test -n "$file_magic_test_file"; then
7675 case $deplibs_check_method in
7677 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7678 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7679 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7680 $EGREP "$file_magic_regex" > /dev
/null
; then
7685 *** Warning: the command libtool uses to detect shared libraries,
7686 *** $file_magic_cmd, produces output that libtool cannot recognize.
7687 *** The result is that libtool may fail to recognize shared libraries
7688 *** as such. This will affect the creation of libtool libraries that
7689 *** depend on shared libraries, but programs linked with such libtool
7690 *** libraries will work regardless of this problem. Nevertheless, you
7691 *** may want to report the problem to your system manager and/or to
7692 *** bug-libtool@gnu.org
7702 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7707 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7708 if test -n "$MAGIC_CMD"; then
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7710 $as_echo "$MAGIC_CMD" >&6; }
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7713 $as_echo "no" >&6; }
7726 # Use C for the default configuration in the libtool script
7730 ac_cpp
='$CPP $CPPFLAGS'
7731 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7732 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7733 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7736 # Source file extension for C test sources.
7739 # Object file extension for compiled C test sources.
7743 # Code to be used in simple compile tests
7744 lt_simple_compile_test_code
="int some_variable = 0;"
7746 # Code to be used in simple link tests
7747 lt_simple_link_test_code
='int main(){return(0);}'
7755 # If no C compiler was specified, use CC.
7758 # If no C compiler flags were specified, use CFLAGS.
7759 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7761 # Allow CC to be a program name with arguments.
7764 # Save the default compiler, since it gets overwritten when the other
7765 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7766 compiler_DEFAULT
=$CC
7768 # save warnings/boilerplate of simple test code
7769 ac_outfile
=conftest.
$ac_objext
7770 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7771 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7772 _lt_compiler_boilerplate
=`cat conftest.err`
7775 ac_outfile
=conftest.
$ac_objext
7776 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7777 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7778 _lt_linker_boilerplate
=`cat conftest.err`
7783 ## There is no encapsulation within the following macros, do not change
7784 ## the running order or otherwise move them around unless you know exactly
7785 ## what you are doing...
7786 if test -n "$compiler"; then
7788 lt_prog_compiler_no_builtin_flag
=
7790 if test "$GCC" = yes; then
7791 case $cc_basename in
7793 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7795 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7799 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7800 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7801 $as_echo_n "(cached) " >&6
7803 lt_cv_prog_compiler_rtti_exceptions
=no
7804 ac_outfile
=conftest.
$ac_objext
7805 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7806 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7807 # Insert the option either (1) after the last *FLAGS variable, or
7808 # (2) before a word containing "conftest.", or (3) at the end.
7809 # Note that $ac_compile itself does not contain backslashes and begins
7810 # with a dollar sign (not a hyphen), so the echo should work correctly.
7811 # The option is referenced via a variable to avoid confusing sed.
7812 lt_compile
=`echo "$ac_compile" | $SED \
7813 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7814 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7815 -e 's:$: $lt_compiler_flag:'`
7816 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7817 (eval "$lt_compile" 2>conftest.err
)
7819 cat conftest.err
>&5
7820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7821 if (exit $ac_status) && test -s "$ac_outfile"; then
7822 # The compiler can only warn and ignore the option if not recognized
7823 # So say no if there are warnings other than the usual output.
7824 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7825 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7826 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7827 lt_cv_prog_compiler_rtti_exceptions
=yes
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7834 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7836 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7837 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7849 lt_prog_compiler_wl
=
7850 lt_prog_compiler_pic
=
7851 lt_prog_compiler_static
=
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7854 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7856 if test "$GCC" = yes; then
7857 lt_prog_compiler_wl
='-Wl,'
7858 lt_prog_compiler_static
='-static'
7862 # All AIX code is PIC.
7863 if test "$host_cpu" = ia64
; then
7864 # AIX 5 now supports IA64 processor
7865 lt_prog_compiler_static
='-Bstatic'
7867 lt_prog_compiler_pic
='-fPIC'
7873 # see comment about AmigaOS4 .so support
7874 lt_prog_compiler_pic
='-fPIC'
7877 # FIXME: we need at least 68020 code to build shared libraries, but
7878 # adding the `-m68020' flag to GCC prevents building anything better,
7880 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7885 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7886 # PIC is the default for these OSes.
7889 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7890 # This hack is so that the source file can tell whether it is being
7891 # built for inclusion in a dll (and should export symbols for example).
7892 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7893 # (--disable-auto-import) libraries
7894 lt_prog_compiler_pic
='-DDLL_EXPORT'
7897 darwin
* | rhapsody
*)
7898 # PIC is the default on this platform
7899 # Common symbols not allowed in MH_DYLIB files
7900 lt_prog_compiler_pic
='-fno-common'
7904 # PIC is the default for Haiku.
7905 # The "-static" flag exists, but is broken.
7906 lt_prog_compiler_static
=
7910 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7911 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7912 # sets the default TLS model and affects inlining.
7918 lt_prog_compiler_pic
='-fPIC'
7924 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7925 # Instead, we relocate shared libraries at runtime.
7929 # Just because we use GCC doesn't mean we suddenly get shared libraries
7930 # on systems that don't support them.
7931 lt_prog_compiler_can_build_shared
=no
7936 # QNX uses GNU C++, but need to define -shared option too, otherwise
7938 lt_prog_compiler_pic
='-fPIC -shared'
7942 if test -d /usr
/nec
; then
7943 lt_prog_compiler_pic
=-Kconform_pic
7948 lt_prog_compiler_pic
='-fPIC'
7952 case $cc_basename in
7953 nvcc
*) # Cuda Compiler Driver 2.2
7954 lt_prog_compiler_wl
='-Xlinker '
7955 lt_prog_compiler_pic
='-Xcompiler -fPIC'
7959 # PORTME Check for flag to pass linker flags through the system compiler.
7962 lt_prog_compiler_wl
='-Wl,'
7963 if test "$host_cpu" = ia64
; then
7964 # AIX 5 now supports IA64 processor
7965 lt_prog_compiler_static
='-Bstatic'
7967 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7971 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7972 # This hack is so that the source file can tell whether it is being
7973 # built for inclusion in a dll (and should export symbols for example).
7974 lt_prog_compiler_pic
='-DDLL_EXPORT'
7977 hpux9
* | hpux10
* | hpux11
*)
7978 lt_prog_compiler_wl
='-Wl,'
7979 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7986 lt_prog_compiler_pic
='+Z'
7989 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7990 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7993 irix5
* | irix6
* | nonstopux
*)
7994 lt_prog_compiler_wl
='-Wl,'
7995 # PIC (with -KPIC) is the default.
7996 lt_prog_compiler_static
='-non_shared'
7999 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8000 case $cc_basename in
8001 # old Intel for x86_64 which still supported -KPIC.
8003 lt_prog_compiler_wl
='-Wl,'
8004 lt_prog_compiler_pic
='-KPIC'
8005 lt_prog_compiler_static
='-static'
8007 # icc used to be incompatible with GCC.
8008 # ICC 10 doesn't accept -KPIC any more.
8010 lt_prog_compiler_wl
='-Wl,'
8011 lt_prog_compiler_pic
='-fPIC'
8012 lt_prog_compiler_static
='-static'
8014 # Lahey Fortran 8.1.
8016 lt_prog_compiler_wl
='-Wl,'
8017 lt_prog_compiler_pic
='--shared'
8018 lt_prog_compiler_static
='--static'
8020 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8021 # Portland Group compilers (*not* the Pentium gcc compiler,
8022 # which looks to be a dead project)
8023 lt_prog_compiler_wl
='-Wl,'
8024 lt_prog_compiler_pic
='-fpic'
8025 lt_prog_compiler_static
='-Bstatic'
8028 lt_prog_compiler_wl
='-Wl,'
8029 # All Alpha code is PIC.
8030 lt_prog_compiler_static
='-non_shared'
8032 xl
* | bgxl
* | bgf
* | mpixl
*)
8033 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8034 lt_prog_compiler_wl
='-Wl,'
8035 lt_prog_compiler_pic
='-qpic'
8036 lt_prog_compiler_static
='-qstaticlink'
8039 case `$CC -V 2>&1 | sed 5q` in
8040 *Sun\ F
* |
*Sun
*Fortran
*)
8041 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8042 lt_prog_compiler_pic
='-KPIC'
8043 lt_prog_compiler_static
='-Bstatic'
8044 lt_prog_compiler_wl
=''
8048 lt_prog_compiler_pic
='-KPIC'
8049 lt_prog_compiler_static
='-Bstatic'
8050 lt_prog_compiler_wl
='-Wl,'
8058 lt_prog_compiler_pic
='-KPIC'
8059 lt_prog_compiler_static
='-Bstatic'
8063 # QNX uses GNU C++, but need to define -shared option too, otherwise
8065 lt_prog_compiler_pic
='-fPIC -shared'
8068 osf3
* | osf4
* | osf5
*)
8069 lt_prog_compiler_wl
='-Wl,'
8070 # All OSF/1 code is PIC.
8071 lt_prog_compiler_static
='-non_shared'
8075 lt_prog_compiler_static
='-non_shared'
8079 lt_prog_compiler_pic
='-KPIC'
8080 lt_prog_compiler_static
='-Bstatic'
8081 case $cc_basename in
8083 lt_prog_compiler_wl
='-Qoption ld ';;
8085 lt_prog_compiler_wl
='-Wl,';;
8090 lt_prog_compiler_wl
='-Qoption ld '
8091 lt_prog_compiler_pic
='-PIC'
8092 lt_prog_compiler_static
='-Bstatic'
8095 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8096 lt_prog_compiler_wl
='-Wl,'
8097 lt_prog_compiler_pic
='-KPIC'
8098 lt_prog_compiler_static
='-Bstatic'
8102 if test -d /usr
/nec
;then
8103 lt_prog_compiler_pic
='-Kconform_pic'
8104 lt_prog_compiler_static
='-Bstatic'
8108 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8109 lt_prog_compiler_wl
='-Wl,'
8110 lt_prog_compiler_pic
='-KPIC'
8111 lt_prog_compiler_static
='-Bstatic'
8115 lt_prog_compiler_wl
='-Wl,'
8116 lt_prog_compiler_can_build_shared
=no
8120 lt_prog_compiler_pic
='-pic'
8121 lt_prog_compiler_static
='-Bstatic'
8125 lt_prog_compiler_can_build_shared
=no
8131 # For platforms which do not support PIC, -DPIC is meaningless:
8133 lt_prog_compiler_pic
=
8136 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8140 $as_echo "$lt_prog_compiler_pic" >&6; }
8148 # Check to make sure the PIC flag actually works.
8150 if test -n "$lt_prog_compiler_pic"; then
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8152 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8153 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8154 $as_echo_n "(cached) " >&6
8156 lt_cv_prog_compiler_pic_works
=no
8157 ac_outfile
=conftest.
$ac_objext
8158 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8159 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8160 # Insert the option either (1) after the last *FLAGS variable, or
8161 # (2) before a word containing "conftest.", or (3) at the end.
8162 # Note that $ac_compile itself does not contain backslashes and begins
8163 # with a dollar sign (not a hyphen), so the echo should work correctly.
8164 # The option is referenced via a variable to avoid confusing sed.
8165 lt_compile
=`echo "$ac_compile" | $SED \
8166 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8167 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8168 -e 's:$: $lt_compiler_flag:'`
8169 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8170 (eval "$lt_compile" 2>conftest.err
)
8172 cat conftest.err
>&5
8173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8174 if (exit $ac_status) && test -s "$ac_outfile"; then
8175 # The compiler can only warn and ignore the option if not recognized
8176 # So say no if there are warnings other than the usual output.
8177 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8178 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8179 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8180 lt_cv_prog_compiler_pic_works
=yes
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8187 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8189 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8190 case $lt_prog_compiler_pic in
8192 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8195 lt_prog_compiler_pic
=
8196 lt_prog_compiler_can_build_shared
=no
8207 # Check to make sure the static flag actually works.
8209 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8211 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8212 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8213 $as_echo_n "(cached) " >&6
8215 lt_cv_prog_compiler_static_works
=no
8216 save_LDFLAGS
="$LDFLAGS"
8217 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8218 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8219 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8220 # The linker can only warn and ignore the option if not recognized
8221 # So say no if there are warnings
8222 if test -s conftest.err
; then
8223 # Append any errors to the config.log.
8224 cat conftest.err
1>&5
8225 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8226 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8227 if diff conftest.exp conftest.er2
>/dev
/null
; then
8228 lt_cv_prog_compiler_static_works
=yes
8231 lt_cv_prog_compiler_static_works
=yes
8235 LDFLAGS
="$save_LDFLAGS"
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8239 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8241 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8244 lt_prog_compiler_static
=
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8254 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8255 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8256 $as_echo_n "(cached) " >&6
8258 lt_cv_prog_compiler_c_o
=no
8259 $RM -r conftest
2>/dev
/null
8263 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8265 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8266 # Insert the option either (1) after the last *FLAGS variable, or
8267 # (2) before a word containing "conftest.", or (3) at the end.
8268 # Note that $ac_compile itself does not contain backslashes and begins
8269 # with a dollar sign (not a hyphen), so the echo should work correctly.
8270 lt_compile
=`echo "$ac_compile" | $SED \
8271 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8272 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8273 -e 's:$: $lt_compiler_flag:'`
8274 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8275 (eval "$lt_compile" 2>out
/conftest.err
)
8277 cat out
/conftest.err
>&5
8278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8279 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8281 # The compiler can only warn and ignore the option if not recognized
8282 # So say no if there are warnings
8283 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8284 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8285 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8286 lt_cv_prog_compiler_c_o
=yes
8291 # SGI C++ compiler will create directory out/ii_files/ for
8292 # template instantiation
8293 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8294 $RM out
/* && rmdir out
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8301 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8309 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8310 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8311 $as_echo_n "(cached) " >&6
8313 lt_cv_prog_compiler_c_o
=no
8314 $RM -r conftest
2>/dev
/null
8318 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8320 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8321 # Insert the option either (1) after the last *FLAGS variable, or
8322 # (2) before a word containing "conftest.", or (3) at the end.
8323 # Note that $ac_compile itself does not contain backslashes and begins
8324 # with a dollar sign (not a hyphen), so the echo should work correctly.
8325 lt_compile
=`echo "$ac_compile" | $SED \
8326 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8327 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8328 -e 's:$: $lt_compiler_flag:'`
8329 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8330 (eval "$lt_compile" 2>out
/conftest.err
)
8332 cat out
/conftest.err
>&5
8333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8334 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8336 # The compiler can only warn and ignore the option if not recognized
8337 # So say no if there are warnings
8338 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8339 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8340 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8341 lt_cv_prog_compiler_c_o
=yes
8346 # SGI C++ compiler will create directory out/ii_files/ for
8347 # template instantiation
8348 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8349 $RM out
/* && rmdir out
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8356 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8361 hard_links
="nottested"
8362 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8363 # do not overwrite the value of need_locks provided by the user
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8365 $as_echo_n "checking if we can lock with hard links... " >&6; }
8368 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8370 ln conftest.a conftest.b
2>&5 || hard_links
=no
8371 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8373 $as_echo "$hard_links" >&6; }
8374 if test "$hard_links" = no
; then
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8376 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8389 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8392 allow_undefined_flag
=
8393 always_export_symbols
=no
8395 archive_expsym_cmds
=
8396 compiler_needs_object
=no
8397 enable_shared_with_static_runtimes
=no
8398 export_dynamic_flag_spec
=
8399 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8400 hardcode_automatic
=no
8402 hardcode_direct_absolute
=no
8403 hardcode_libdir_flag_spec
=
8404 hardcode_libdir_flag_spec_ld
=
8405 hardcode_libdir_separator
=
8407 hardcode_shlibpath_var
=unsupported
8409 link_all_deplibs
=unknown
8412 old_archive_from_new_cmds
=
8413 old_archive_from_expsyms_cmds
=
8414 thread_safe_flag_spec
=
8415 whole_archive_flag_spec
=
8416 # include_expsyms should be a list of space-separated symbols to be *always*
8417 # included in the symbol list
8419 # exclude_expsyms can be an extended regexp of symbols to exclude
8420 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8421 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8422 # as well as any symbol that contains `d'.
8423 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8424 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8425 # platforms (ab)use it in PIC code, but their linkers get confused if
8426 # the symbol is explicitly referenced. Since portable code cannot
8427 # rely on this symbol name, it's probably fine to never include it in
8428 # preloaded symbol tables.
8429 # Exclude shared library initialization/finalization symbols.
8430 extract_expsyms_cmds
=
8433 cygwin
* | mingw
* | pw32
* | cegcc
*)
8434 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8435 # When not using gcc, we currently assume that we are using
8436 # Microsoft Visual C++.
8437 if test "$GCC" != yes; then
8442 # we just hope/assume this is gcc and not c89 (= MSVC++)
8452 # On some targets, GNU ld is compatible enough with the native linker
8453 # that we're better off using the native interface for both.
8454 lt_use_gnu_ld_interface
=no
8455 if test "$with_gnu_ld" = yes; then
8458 # The AIX port of GNU ld has always aspired to compatibility
8459 # with the native linker. However, as the warning in the GNU ld
8460 # block says, versions before 2.19.5* couldn't really create working
8461 # shared libraries, regardless of the interface used.
8462 case `$LD -v 2>&1` in
8463 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8464 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8465 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8467 lt_use_gnu_ld_interface
=yes
8472 lt_use_gnu_ld_interface
=yes
8477 if test "$lt_use_gnu_ld_interface" = yes; then
8478 # If archive_cmds runs LD, not CC, wlarc should be empty
8481 # Set some defaults for GNU ld with shared library support. These
8482 # are reset later if shared libraries are not supported. Putting them
8483 # here allows them to be overridden if necessary.
8484 runpath_var
=LD_RUN_PATH
8485 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8486 export_dynamic_flag_spec
='${wl}--export-dynamic'
8487 # ancient GNU ld didn't support --whole-archive et. al.
8488 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8489 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8491 whole_archive_flag_spec
=
8493 supports_anon_versioning
=no
8494 case `$LD -v 2>&1` in
8495 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8496 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8497 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8498 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8499 *\
2.11.
*) ;; # other 2.11 versions
8500 *) supports_anon_versioning
=yes ;;
8503 # See if GNU ld supports shared libraries.
8506 # On AIX/PPC, the GNU linker is very broken
8507 if test "$host_cpu" != ia64
; then
8511 *** Warning: the GNU linker, at least up to release 2.19, is reported
8512 *** to be unable to reliably create shared libraries on AIX.
8513 *** Therefore, libtool is disabling shared libraries support. If you
8514 *** really care for shared libraries, you may want to install binutils
8515 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8516 *** You will then need to restart the configuration process.
8525 # see comment about AmigaOS4 .so support
8526 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8527 archive_expsym_cmds
=''
8530 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)'
8531 hardcode_libdir_flag_spec
='-L$libdir'
8532 hardcode_minus_L
=yes
8538 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8539 allow_undefined_flag
=unsupported
8540 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8541 # support --undefined. This deserves some investigation. FIXME
8542 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8548 cygwin
* | mingw
* | pw32
* | cegcc
*)
8549 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8550 # as there is no search path for DLLs.
8551 hardcode_libdir_flag_spec
='-L$libdir'
8552 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8553 allow_undefined_flag
=unsupported
8554 always_export_symbols
=no
8555 enable_shared_with_static_runtimes
=yes
8556 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8558 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8559 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8560 # If the export-symbols file already is a .def file (1st line
8561 # is EXPORTS), use it as is; otherwise, prepend...
8562 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8563 cp $export_symbols $output_objdir/$soname.def;
8565 echo EXPORTS > $output_objdir/$soname.def;
8566 cat $export_symbols >> $output_objdir/$soname.def;
8568 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8575 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8576 link_all_deplibs
=yes
8581 hardcode_shlibpath_var
=no
8582 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8583 export_dynamic_flag_spec
='${wl}-E'
8584 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8585 # Instead, shared libraries are loaded at an image base (0x10000000 by
8586 # default) and relocated if they conflict, which is a slow very memory
8587 # consuming and fragmenting process. To avoid this, we pick a random,
8588 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8589 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8590 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8591 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'
8594 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8596 if test "$host_os" = linux-dietlibc
; then
8597 case $cc_basename in
8598 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8601 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8602 && test "$tmp_diet" = no
8604 tmp_addflag
=' $pic_flag'
8605 tmp_sharedflag
='-shared'
8606 case $cc_basename,$host_cpu in
8607 pgcc
*) # Portland Group C compiler
8608 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'
8609 tmp_addflag
=' $pic_flag'
8611 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8612 # Portland Group f77 and f90 compilers
8613 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'
8614 tmp_addflag
=' $pic_flag -Mnomain' ;;
8615 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8616 tmp_addflag
=' -i_dynamic' ;;
8617 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8618 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8619 ifc
* | ifort
*) # Intel Fortran compiler
8620 tmp_addflag
=' -nofor_main' ;;
8621 lf95
*) # Lahey Fortran 8.1
8622 whole_archive_flag_spec
=
8623 tmp_sharedflag
='--shared' ;;
8624 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8625 tmp_sharedflag
='-qmkshrobj'
8627 nvcc
*) # Cuda Compiler Driver 2.2
8628 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'
8629 compiler_needs_object
=yes
8632 case `$CC -V 2>&1 | sed 5q` in
8633 *Sun\ C
*) # Sun C 5.9
8634 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'
8635 compiler_needs_object
=yes
8636 tmp_sharedflag
='-G' ;;
8637 *Sun\ F
*) # Sun Fortran 8.3
8638 tmp_sharedflag
='-G' ;;
8640 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8642 if test "x$supports_anon_versioning" = xyes
; then
8643 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8644 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8645 echo "local: *; };" >> $output_objdir/$libname.ver~
8646 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8649 case $cc_basename in
8650 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8651 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8652 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8653 hardcode_libdir_flag_spec
=
8654 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8655 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8656 if test "x$supports_anon_versioning" = xyes
; then
8657 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8658 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8659 echo "local: *; };" >> $output_objdir/$libname.ver~
8660 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8670 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8671 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8674 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8675 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8680 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8684 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8685 *** create shared libraries on Solaris systems. Therefore, libtool
8686 *** is disabling shared libraries support. We urge you to upgrade GNU
8687 *** binutils to release 2.9.1 or newer. Another option is to modify
8688 *** your PATH or compiler configuration so that the native linker is
8689 *** used, and then restart.
8692 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8693 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8694 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8700 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8701 case `$LD -v 2>&1` in
8702 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8706 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8707 *** reliably create shared libraries on SCO systems. Therefore, libtool
8708 *** is disabling shared libraries support. We urge you to upgrade GNU
8709 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8710 *** your PATH or compiler configuration so that the native linker is
8711 *** used, and then restart.
8716 # For security reasons, it is highly recommended that you always
8717 # use absolute paths for naming shared libraries, and exclude the
8718 # DT_RUNPATH tag from executables and libraries. But doing so
8719 # requires that you compile everything twice, which is a pain.
8720 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8721 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8722 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8723 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8732 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8735 hardcode_shlibpath_var
=no
8739 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8740 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8741 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8748 if test "$ld_shlibs" = no
; then
8750 hardcode_libdir_flag_spec
=
8751 export_dynamic_flag_spec
=
8752 whole_archive_flag_spec
=
8755 # PORTME fill in a description of your system's linker (not GNU ld)
8758 allow_undefined_flag
=unsupported
8759 always_export_symbols
=yes
8760 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'
8761 # Note: this linker hardcodes the directories in LIBPATH if there
8762 # are no directories specified by -L.
8763 hardcode_minus_L
=yes
8764 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8765 # Neither direct hardcoding nor static linking is supported with a
8767 hardcode_direct
=unsupported
8772 if test "$host_cpu" = ia64
; then
8773 # On IA64, the linker does run time linking by default, so we don't
8774 # have to do anything special.
8775 aix_use_runtimelinking
=no
8776 exp_sym_flag
='-Bexport'
8779 # If we're using GNU nm, then we don't want the "-C" option.
8780 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8781 # Also, AIX nm treats weak defined symbols like other global
8782 # defined symbols, whereas GNU nm marks them as "W".
8783 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8784 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'
8786 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'
8788 aix_use_runtimelinking
=no
8790 # Test if we are trying to use run time linking or normal
8791 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8792 # need to do runtime linking.
8793 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8794 for ld_flag
in $LDFLAGS; do
8795 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8796 aix_use_runtimelinking
=yes
8803 exp_sym_flag
='-bexport'
8804 no_entry_flag
='-bnoentry'
8807 # When large executables or shared objects are built, AIX ld can
8808 # have problems creating the table of contents. If linking a library
8809 # or program results in "error TOC overflow" add -mminimal-toc to
8810 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8811 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8815 hardcode_direct_absolute
=yes
8816 hardcode_libdir_separator
=':'
8817 link_all_deplibs
=yes
8818 file_list_spec
='${wl}-f,'
8820 if test "$GCC" = yes; then
8821 case $host_os in aix4.
[012]|aix4.
[012].
*)
8822 # We only want to do this on AIX 4.2 and lower, the check
8823 # below for broken collect2 doesn't work under 4.3+
8824 collect2name
=`${CC} -print-prog-name=collect2`
8825 if test -f "$collect2name" &&
8826 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8828 # We have reworked collect2
8831 # We have old collect2
8832 hardcode_direct
=unsupported
8833 # It fails to find uninstalled libraries when the uninstalled
8834 # path is not listed in the libpath. Setting hardcode_minus_L
8835 # to unsupported forces relinking
8836 hardcode_minus_L
=yes
8837 hardcode_libdir_flag_spec
='-L$libdir'
8838 hardcode_libdir_separator
=
8842 shared_flag
='-shared'
8843 if test "$aix_use_runtimelinking" = yes; then
8844 shared_flag
="$shared_flag "'${wl}-G'
8848 if test "$host_cpu" = ia64
; then
8849 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8850 # chokes on -Wl,-G. The following line is correct:
8853 if test "$aix_use_runtimelinking" = yes; then
8854 shared_flag
='${wl}-G'
8856 shared_flag
='${wl}-bM:SRE'
8861 export_dynamic_flag_spec
='${wl}-bexpall'
8862 # It seems that -bexpall does not export symbols beginning with
8863 # underscore (_), so it is better to generate a list of symbols to export.
8864 always_export_symbols
=yes
8865 if test "$aix_use_runtimelinking" = yes; then
8866 # Warning - without using the other runtime loading flags (-brtl),
8867 # -berok will link without error, but may produce a broken library.
8868 allow_undefined_flag
='-berok'
8869 # Determine the default libpath from the value encoded in an
8871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8872 /* end confdefs.h. */
8882 if ac_fn_c_try_link
"$LINENO"; then :
8884 lt_aix_libpath_sed
='
8885 /Import File Strings/,/^$/ {
8891 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8892 # Check for a 64-bit object if we didn't find anything.
8893 if test -z "$aix_libpath"; then
8894 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8897 rm -f core conftest.err conftest.
$ac_objext \
8898 conftest
$ac_exeext conftest.
$ac_ext
8899 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8901 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8902 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"
8904 if test "$host_cpu" = ia64
; then
8905 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8906 allow_undefined_flag
="-z nodefs"
8907 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"
8909 # Determine the default libpath from the value encoded in an
8911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8912 /* end confdefs.h. */
8922 if ac_fn_c_try_link
"$LINENO"; then :
8924 lt_aix_libpath_sed
='
8925 /Import File Strings/,/^$/ {
8931 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8932 # Check for a 64-bit object if we didn't find anything.
8933 if test -z "$aix_libpath"; then
8934 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8937 rm -f core conftest.err conftest.
$ac_objext \
8938 conftest
$ac_exeext conftest.
$ac_ext
8939 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8941 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8942 # Warning - without using the other run time loading flags,
8943 # -berok will link without error, but may produce a broken library.
8944 no_undefined_flag
=' ${wl}-bernotok'
8945 allow_undefined_flag
=' ${wl}-berok'
8946 if test "$with_gnu_ld" = yes; then
8947 # We only use this code for GNU lds that support --whole-archive.
8948 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8950 # Exported symbols can be pulled into shared objects from archives
8951 whole_archive_flag_spec
='$convenience'
8953 archive_cmds_need_lc
=yes
8954 # This is similar to how AIX traditionally builds its shared libraries.
8955 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'
8963 # see comment about AmigaOS4 .so support
8964 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8965 archive_expsym_cmds
=''
8968 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)'
8969 hardcode_libdir_flag_spec
='-L$libdir'
8970 hardcode_minus_L
=yes
8976 export_dynamic_flag_spec
=-rdynamic
8979 cygwin
* | mingw
* | pw32
* | cegcc
*)
8980 # When not using gcc, we currently assume that we are using
8981 # Microsoft Visual C++.
8982 # hardcode_libdir_flag_spec is actually meaningless, as there is
8983 # no search path for DLLs.
8984 hardcode_libdir_flag_spec
=' '
8985 allow_undefined_flag
=unsupported
8986 # Tell ltmain to make .lib files, not .a files.
8988 # Tell ltmain to make .dll files, not .so files.
8990 # FIXME: Setting linknames here is a bad hack.
8991 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8992 # The linker will automatically build a .lib file if we build a DLL.
8993 old_archive_from_new_cmds
='true'
8994 # FIXME: Should let the user specify the lib program.
8995 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8996 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8997 enable_shared_with_static_runtimes
=yes
9000 darwin
* | rhapsody
*)
9003 archive_cmds_need_lc
=no
9005 hardcode_automatic
=yes
9006 hardcode_shlibpath_var
=unsupported
9007 if test "$lt_cv_ld_force_load" = "yes"; then
9008 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\"`'
9010 whole_archive_flag_spec
=''
9012 link_all_deplibs
=yes
9013 allow_undefined_flag
="$_lt_dar_allow_undefined"
9014 case $cc_basename in
9015 ifort
*) _lt_dar_can_shared
=yes ;;
9016 *) _lt_dar_can_shared
=$GCC ;;
9018 if test "$_lt_dar_can_shared" = "yes"; then
9019 output_verbose_link_cmd
=func_echo_all
9020 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9021 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9022 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}"
9023 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}"
9032 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9033 hardcode_libdir_flag_spec
='-L$libdir'
9034 hardcode_shlibpath_var
=no
9037 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9038 # support. Future versions do this automatically, but an explicit c++rt0.o
9039 # does not break anything, and helps significantly (at the cost of a little
9042 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9043 hardcode_libdir_flag_spec
='-R$libdir'
9045 hardcode_shlibpath_var
=no
9048 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9050 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9052 hardcode_minus_L
=yes
9053 hardcode_shlibpath_var
=no
9056 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9057 freebsd
* | dragonfly
*)
9058 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9059 hardcode_libdir_flag_spec
='-R$libdir'
9061 hardcode_shlibpath_var
=no
9065 if test "$GCC" = yes; then
9066 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'
9068 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'
9070 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9071 hardcode_libdir_separator
=:
9074 # hardcode_minus_L: Not really in the search PATH,
9075 # but as the default location of the library.
9076 hardcode_minus_L
=yes
9077 export_dynamic_flag_spec
='${wl}-E'
9081 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9082 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9084 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9086 if test "$with_gnu_ld" = no
; then
9087 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9088 hardcode_libdir_flag_spec_ld
='+b $libdir'
9089 hardcode_libdir_separator
=:
9091 hardcode_direct_absolute
=yes
9092 export_dynamic_flag_spec
='${wl}-E'
9093 # hardcode_minus_L: Not really in the search PATH,
9094 # but as the default location of the library.
9095 hardcode_minus_L
=yes
9100 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9103 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9106 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9109 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9115 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9118 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9122 # Older versions of the 11.00 compiler do not understand -b yet
9123 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9125 $as_echo_n "checking if $CC understands -b... " >&6; }
9126 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9127 $as_echo_n "(cached) " >&6
9129 lt_cv_prog_compiler__b
=no
9130 save_LDFLAGS
="$LDFLAGS"
9131 LDFLAGS
="$LDFLAGS -b"
9132 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9133 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9134 # The linker can only warn and ignore the option if not recognized
9135 # So say no if there are warnings
9136 if test -s conftest.err
; then
9137 # Append any errors to the config.log.
9138 cat conftest.err
1>&5
9139 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9140 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9141 if diff conftest.exp conftest.er2
>/dev
/null
; then
9142 lt_cv_prog_compiler__b
=yes
9145 lt_cv_prog_compiler__b
=yes
9149 LDFLAGS
="$save_LDFLAGS"
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9153 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9155 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9156 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9158 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9164 if test "$with_gnu_ld" = no
; then
9165 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9166 hardcode_libdir_separator
=:
9171 hardcode_shlibpath_var
=no
9175 hardcode_direct_absolute
=yes
9176 export_dynamic_flag_spec
='${wl}-E'
9178 # hardcode_minus_L: Not really in the search PATH,
9179 # but as the default location of the library.
9180 hardcode_minus_L
=yes
9186 irix5
* | irix6
* | nonstopux
*)
9187 if test "$GCC" = yes; then
9188 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'
9189 # Try to use the -exported_symbol ld option, if it does not
9190 # work, assume that -exports_file does not work either and
9191 # implicitly export all symbols.
9192 save_LDFLAGS
="$LDFLAGS"
9193 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9195 /* end confdefs.h. */
9198 if ac_fn_c_try_link
"$LINENO"; then :
9199 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'
9202 rm -f core conftest.err conftest.
$ac_objext \
9203 conftest
$ac_exeext conftest.
$ac_ext
9204 LDFLAGS
="$save_LDFLAGS"
9206 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'
9207 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'
9209 archive_cmds_need_lc
='no'
9210 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9211 hardcode_libdir_separator
=:
9213 link_all_deplibs
=yes
9217 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9218 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9220 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9222 hardcode_libdir_flag_spec
='-R$libdir'
9224 hardcode_shlibpath_var
=no
9228 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9230 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9231 hardcode_libdir_separator
=:
9232 hardcode_shlibpath_var
=no
9239 if test -f /usr
/libexec
/ld.so
; then
9241 hardcode_shlibpath_var
=no
9242 hardcode_direct_absolute
=yes
9243 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9244 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9245 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9246 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9247 export_dynamic_flag_spec
='${wl}-E'
9250 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9251 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9252 hardcode_libdir_flag_spec
='-R$libdir'
9255 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9256 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9266 hardcode_libdir_flag_spec
='-L$libdir'
9267 hardcode_minus_L
=yes
9268 allow_undefined_flag
=unsupported
9269 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'
9270 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9274 if test "$GCC" = yes; then
9275 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9276 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'
9278 allow_undefined_flag
=' -expect_unresolved \*'
9279 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'
9281 archive_cmds_need_lc
='no'
9282 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9283 hardcode_libdir_separator
=:
9286 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9287 if test "$GCC" = yes; then
9288 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9289 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'
9290 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9292 allow_undefined_flag
=' -expect_unresolved \*'
9293 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'
9294 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~
9295 $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'
9297 # Both c and cxx compiler support -rpath directly
9298 hardcode_libdir_flag_spec
='-rpath $libdir'
9300 archive_cmds_need_lc
='no'
9301 hardcode_libdir_separator
=:
9305 no_undefined_flag
=' -z defs'
9306 if test "$GCC" = yes; then
9308 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9309 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9310 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9312 case `$CC -V 2>&1` in
9315 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9316 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9317 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9321 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9322 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9323 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9327 hardcode_libdir_flag_spec
='-R$libdir'
9328 hardcode_shlibpath_var
=no
9330 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9332 # The compiler driver will combine and reorder linker options,
9333 # but understands `-z linker_flag'. GCC discards it without `$wl',
9334 # but is careful enough not to reorder.
9335 # Supported since Solaris 2.6 (maybe 2.5.1?)
9336 if test "$GCC" = yes; then
9337 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9339 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9343 link_all_deplibs
=yes
9347 if test "x$host_vendor" = xsequent
; then
9348 # Use $CC to link under sequent, because it throws in some extra .o
9349 # files that make .init and .fini sections work.
9350 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9352 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9354 hardcode_libdir_flag_spec
='-L$libdir'
9356 hardcode_minus_L
=yes
9357 hardcode_shlibpath_var
=no
9361 case $host_vendor in
9363 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9364 hardcode_direct
=yes # is this really true???
9367 ## LD is ld it makes a PLAMLIB
9368 ## CC just makes a GrossModule.
9369 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9370 reload_cmds
='$CC -r -o $output$reload_objs'
9374 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9375 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9378 runpath_var
='LD_RUN_PATH'
9379 hardcode_shlibpath_var
=no
9383 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9384 hardcode_shlibpath_var
=no
9385 export_dynamic_flag_spec
='-Bexport'
9389 if test -d /usr
/nec
; then
9390 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9391 hardcode_shlibpath_var
=no
9392 runpath_var
=LD_RUN_PATH
9393 hardcode_runpath_var
=yes
9398 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9399 no_undefined_flag
='${wl}-z,text'
9400 archive_cmds_need_lc
=no
9401 hardcode_shlibpath_var
=no
9402 runpath_var
='LD_RUN_PATH'
9404 if test "$GCC" = yes; then
9405 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9406 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9408 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9409 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9413 sysv5
* | sco3.2v5
* | sco5v6
*)
9414 # Note: We can NOT use -z defs as we might desire, because we do not
9415 # link with -lc, and that would cause any symbols used from libc to
9416 # always be unresolved, which means just about no library would
9417 # ever link correctly. If we're not using GNU ld we use -z text
9418 # though, which does catch some bad symbols but isn't as heavy-handed
9420 no_undefined_flag
='${wl}-z,text'
9421 allow_undefined_flag
='${wl}-z,nodefs'
9422 archive_cmds_need_lc
=no
9423 hardcode_shlibpath_var
=no
9424 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9425 hardcode_libdir_separator
=':'
9426 link_all_deplibs
=yes
9427 export_dynamic_flag_spec
='${wl}-Bexport'
9428 runpath_var
='LD_RUN_PATH'
9430 if test "$GCC" = yes; then
9431 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9432 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9434 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9435 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9440 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9441 hardcode_libdir_flag_spec
='-L$libdir'
9442 hardcode_shlibpath_var
=no
9450 if test x
$host_vendor = xsni
; then
9452 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9453 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9460 $as_echo "$ld_shlibs" >&6; }
9461 test "$ld_shlibs" = no
&& can_build_shared
=no
9463 with_gnu_ld
=$with_gnu_ld
9480 # Do we need to explicitly link libc?
9482 case "x$archive_cmds_need_lc" in
9484 # Assume -lc should be added
9485 archive_cmds_need_lc
=yes
9487 if test "$enable_shared" = yes && test "$GCC" = yes; then
9488 case $archive_cmds in
9490 # FIXME: we may have to deal with multi-command sequences.
9493 # Test whether the compiler implicitly links with -lc since on some
9494 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9495 # to ld, don't add -lc before -lgcc.
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9497 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9498 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9499 $as_echo_n "(cached) " >&6
9502 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9504 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9505 (eval $ac_compile) 2>&5
9507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9508 test $ac_status = 0; } 2>conftest.err
; then
9511 libobjs
=conftest.
$ac_objext
9513 wl
=$lt_prog_compiler_wl
9514 pic_flag
=$lt_prog_compiler_pic
9520 lt_save_allow_undefined_flag
=$allow_undefined_flag
9521 allow_undefined_flag
=
9522 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9523 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9526 test $ac_status = 0; }
9528 lt_cv_archive_cmds_need_lc
=no
9530 lt_cv_archive_cmds_need_lc
=yes
9532 allow_undefined_flag
=$lt_save_allow_undefined_flag
9534 cat conftest.err
1>&5
9539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9540 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9541 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9705 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9707 if test "$GCC" = yes; then
9709 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9710 *) lt_awk_arg
="/^libraries:/" ;;
9713 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9714 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9716 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9717 case $lt_search_path_spec in
9719 # if the path contains ";" then we assume it to be the separator
9720 # otherwise default to the standard path separator (i.e. ":") - it is
9721 # assumed that no part of a normal pathname contains ";" but that should
9722 # okay in the real world where ";" in dirpaths is itself problematic.
9723 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9726 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9729 # Ok, now we have the path, separated by spaces, we can step through it
9730 # and add multilib dir if necessary.
9731 lt_tmp_lt_search_path_spec
=
9732 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9733 for lt_sys_path
in $lt_search_path_spec; do
9734 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9735 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9737 test -d "$lt_sys_path" && \
9738 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9741 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9742 BEGIN {RS=" "; FS="/|\n";} {
9745 for (lt_i = NF; lt_i > 0; lt_i--) {
9746 if ($lt_i != "" && $lt_i != ".") {
9747 if ($lt_i == "..") {
9750 if (lt_count == 0) {
9751 lt_foo="/" $lt_i lt_foo;
9758 if (lt_foo != "") { lt_freq[lt_foo]++; }
9759 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9761 # AWK program above erroneously prepends '/' to C:/dos/paths
9764 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9765 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9767 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9769 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9772 libname_spec
='lib$name'
9780 shlibpath_overrides_runpath
=unknown
9782 dynamic_linker
="$host_os ld.so"
9783 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9784 need_lib_prefix
=unknown
9785 hardcode_into_libs
=no
9787 # when you set need_version to no, make sure it does not cause -set_version
9788 # flags to be left without arguments
9789 need_version
=unknown
9794 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9795 shlibpath_var
=LIBPATH
9797 # AIX 3 has no versioning support, so we append a major version to the name.
9798 soname_spec
='${libname}${release}${shared_ext}$major'
9805 hardcode_into_libs
=yes
9806 if test "$host_cpu" = ia64
; then
9807 # AIX 5 supports IA64
9808 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9809 shlibpath_var
=LD_LIBRARY_PATH
9811 # With GCC up to 2.95.x, collect2 would create an import file
9812 # for dependence libraries. The import file would start with
9813 # the line `#! .'. This would cause the generated library to
9814 # depend on `.', always an invalid library. This was fixed in
9815 # development snapshots of GCC prior to 3.0.
9817 aix4 | aix4.
[01] | aix4.
[01].
*)
9818 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9820 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9827 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9828 # soname into executable. Probably we can add versioning support to
9829 # collect2, so additional links can be useful in future.
9830 if test "$aix_use_runtimelinking" = yes; then
9831 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9832 # instead of lib<name>.a to let people know that these are not
9833 # typical AIX shared libraries.
9834 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9836 # We preserve .a as extension for shared libraries through AIX4.2
9837 # and later when we are not doing run time linking.
9838 library_names_spec
='${libname}${release}.a $libname.a'
9839 soname_spec
='${libname}${release}${shared_ext}$major'
9841 shlibpath_var
=LIBPATH
9848 # Since July 2007 AmigaOS4 officially supports .so libraries.
9849 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9850 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9853 library_names_spec
='$libname.ixlibrary $libname.a'
9854 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9855 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'
9861 library_names_spec
='${libname}${shared_ext}'
9862 dynamic_linker
="$host_os ld.so"
9863 shlibpath_var
=LIBRARY_PATH
9869 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9870 soname_spec
='${libname}${release}${shared_ext}$major'
9871 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9872 shlibpath_var
=LD_LIBRARY_PATH
9873 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9874 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9875 # the default ld.so.conf also contains /usr/contrib/lib and
9876 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9877 # libtool to hard-code these into programs
9880 cygwin
* | mingw
* | pw32
* | cegcc
*)
9881 version_type
=windows
9886 case $GCC,$host_os in
9887 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9888 library_names_spec
='$libname.dll.a'
9889 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9890 postinstall_cmds
='base_file=`basename \${file}`~
9891 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9892 dldir=$destdir/`dirname \$dlpath`~
9893 test -d \$dldir || mkdir -p \$dldir~
9894 $install_prog $dir/$dlname \$dldir/$dlname~
9895 chmod a+x \$dldir/$dlname~
9896 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9897 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9899 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9900 dlpath=$dir/\$dldll~
9902 shlibpath_overrides_runpath
=yes
9906 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9907 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9909 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9912 # MinGW DLLs use traditional 'lib' prefix
9913 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9916 # pw32 DLLs use 'pw' prefix rather than 'lib'
9917 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9923 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9926 dynamic_linker
='Win32 ld.exe'
9927 # FIXME: first we should search . and the directory the executable is in
9931 darwin
* | rhapsody
*)
9932 dynamic_linker
="$host_os dyld"
9936 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9937 soname_spec
='${libname}${release}${major}$shared_ext'
9938 shlibpath_overrides_runpath
=yes
9939 shlibpath_var
=DYLD_LIBRARY_PATH
9940 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9942 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9943 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9950 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9951 soname_spec
='${libname}${release}${shared_ext}$major'
9952 shlibpath_var
=LD_LIBRARY_PATH
9955 freebsd
* | dragonfly
*)
9956 # DragonFly does not have aout. When/if they implement a new
9957 # versioning mechanism, adjust this.
9958 if test -x /usr
/bin
/objformat
; then
9959 objformat
=`/usr/bin/objformat`
9962 freebsd
[23].
*) objformat
=aout
;;
9966 version_type
=freebsd-
$objformat
9967 case $version_type in
9969 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9974 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9978 shlibpath_var
=LD_LIBRARY_PATH
9981 shlibpath_overrides_runpath
=yes
9983 freebsd3.
[01]* | freebsdelf3.
[01]*)
9984 shlibpath_overrides_runpath
=yes
9985 hardcode_into_libs
=yes
9987 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9988 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9989 shlibpath_overrides_runpath
=no
9990 hardcode_into_libs
=yes
9992 *) # from 4.6 on, and DragonFly
9993 shlibpath_overrides_runpath
=yes
9994 hardcode_into_libs
=yes
10003 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10004 soname_spec
='${libname}${release}${shared_ext}$major'
10005 shlibpath_var
=LD_LIBRARY_PATH
10006 hardcode_into_libs
=yes
10013 dynamic_linker
="$host_os runtime_loader"
10014 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10015 soname_spec
='${libname}${release}${shared_ext}$major'
10016 shlibpath_var
=LIBRARY_PATH
10017 shlibpath_overrides_runpath
=yes
10018 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10019 hardcode_into_libs
=yes
10022 hpux9
* | hpux10
* | hpux11
*)
10023 # Give a soname corresponding to the major version so that dld.sl refuses to
10024 # link against other versions.
10031 hardcode_into_libs
=yes
10032 dynamic_linker
="$host_os dld.so"
10033 shlibpath_var
=LD_LIBRARY_PATH
10034 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10035 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10036 soname_spec
='${libname}${release}${shared_ext}$major'
10037 if test "X$HPUX_IA64_MODE" = X32
; then
10038 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10040 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10042 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10046 hardcode_into_libs
=yes
10047 dynamic_linker
="$host_os dld.sl"
10048 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10049 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10050 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10051 soname_spec
='${libname}${release}${shared_ext}$major'
10052 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10053 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10057 dynamic_linker
="$host_os dld.sl"
10058 shlibpath_var
=SHLIB_PATH
10059 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10060 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10061 soname_spec
='${libname}${release}${shared_ext}$major'
10064 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10065 postinstall_cmds
='chmod 555 $lib'
10066 # or fails outright, so override atomically:
10067 install_override_mode
=555
10074 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10075 soname_spec
='${libname}${release}${shared_ext}$major'
10076 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10077 shlibpath_var
=LD_LIBRARY_PATH
10078 shlibpath_overrides_runpath
=no
10079 hardcode_into_libs
=yes
10082 irix5
* | irix6
* | nonstopux
*)
10084 nonstopux
*) version_type
=nonstopux
;;
10086 if test "$lt_cv_prog_gnu_ld" = yes; then
10094 soname_spec
='${libname}${release}${shared_ext}$major'
10095 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10097 irix5
* | nonstopux
*)
10098 libsuff
= shlibsuff
=
10101 case $LD in # libtool.m4 will add one of these switches to LD
10102 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10103 libsuff
= shlibsuff
= libmagic
=32-bit;;
10104 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10105 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10106 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10107 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10108 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10112 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10113 shlibpath_overrides_runpath
=no
10114 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10115 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10116 hardcode_into_libs
=yes
10119 # No shared lib support for Linux oldld, aout, or coff.
10120 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10124 # This must be Linux ELF.
10125 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10129 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10130 soname_spec
='${libname}${release}${shared_ext}$major'
10131 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10132 shlibpath_var
=LD_LIBRARY_PATH
10133 shlibpath_overrides_runpath
=no
10135 # Some binutils ld are patched to set DT_RUNPATH
10136 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10137 $as_echo_n "(cached) " >&6
10139 lt_cv_shlibpath_overrides_runpath
=no
10140 save_LDFLAGS
=$LDFLAGS
10141 save_libdir
=$libdir
10142 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10143 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10145 /* end confdefs.h. */
10155 if ac_fn_c_try_link
"$LINENO"; then :
10156 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10157 lt_cv_shlibpath_overrides_runpath
=yes
10160 rm -f core conftest.err conftest.
$ac_objext \
10161 conftest
$ac_exeext conftest.
$ac_ext
10162 LDFLAGS
=$save_LDFLAGS
10163 libdir
=$save_libdir
10167 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10169 # This implies no fast_install, which is unacceptable.
10170 # Some rework will be needed to allow for fast_install
10171 # before this can be enabled.
10172 hardcode_into_libs
=yes
10174 # Append ld.so.conf contents to the search path
10175 if test -f /etc
/ld.so.conf
; then
10176 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' ' '`
10177 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10180 # We used to test for /lib/ld.so.1 and disable shared libraries on
10181 # powerpc, because MkLinux only supported shared libraries with the
10182 # GNU dynamic linker. Since this was broken with cross compilers,
10183 # most powerpc-linux boxes support dynamic linking these days and
10184 # people can always --disable-shared, the test was removed, and we
10185 # assume the GNU/Linux dynamic linker is in use.
10186 dynamic_linker
='GNU/Linux ld.so'
10193 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10194 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10195 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10196 dynamic_linker
='NetBSD (a.out) ld.so'
10198 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10199 soname_spec
='${libname}${release}${shared_ext}$major'
10200 dynamic_linker
='NetBSD ld.elf_so'
10202 shlibpath_var
=LD_LIBRARY_PATH
10203 shlibpath_overrides_runpath
=yes
10204 hardcode_into_libs
=yes
10209 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10210 shlibpath_var
=LD_LIBRARY_PATH
10211 shlibpath_overrides_runpath
=yes
10218 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10219 soname_spec
='${libname}${release}${shared_ext}$major'
10220 shlibpath_var
=LD_LIBRARY_PATH
10221 shlibpath_overrides_runpath
=no
10222 hardcode_into_libs
=yes
10223 dynamic_linker
='ldqnx.so'
10228 sys_lib_dlsearch_path_spec
="/usr/lib"
10230 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10232 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10233 *) need_version
=no
;;
10235 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10236 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10237 shlibpath_var
=LD_LIBRARY_PATH
10238 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10240 openbsd2.
[89] | openbsd2.
[89].
*)
10241 shlibpath_overrides_runpath
=no
10244 shlibpath_overrides_runpath
=yes
10248 shlibpath_overrides_runpath
=yes
10253 libname_spec
='$name'
10256 library_names_spec
='$libname${shared_ext} $libname.a'
10257 dynamic_linker
='OS/2 ld.exe'
10258 shlibpath_var
=LIBPATH
10261 osf3
* | osf4
* | osf5
*)
10265 soname_spec
='${libname}${release}${shared_ext}$major'
10266 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10267 shlibpath_var
=LD_LIBRARY_PATH
10268 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10269 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10280 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10281 soname_spec
='${libname}${release}${shared_ext}$major'
10282 shlibpath_var
=LD_LIBRARY_PATH
10283 shlibpath_overrides_runpath
=yes
10284 hardcode_into_libs
=yes
10285 # ldd complains unless libraries are executable
10286 postinstall_cmds
='chmod +x $lib'
10291 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10292 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10293 shlibpath_var
=LD_LIBRARY_PATH
10294 shlibpath_overrides_runpath
=yes
10295 if test "$with_gnu_ld" = yes; then
10303 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10304 soname_spec
='${libname}${release}${shared_ext}$major'
10305 shlibpath_var
=LD_LIBRARY_PATH
10306 case $host_vendor in
10308 shlibpath_overrides_runpath
=no
10310 runpath_var
=LD_RUN_PATH
10318 shlibpath_overrides_runpath
=no
10319 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10325 if test -d /usr
/nec
;then
10327 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10328 soname_spec
='$libname${shared_ext}.$major'
10329 shlibpath_var
=LD_LIBRARY_PATH
10333 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10334 version_type
=freebsd-elf
10337 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10338 soname_spec
='${libname}${release}${shared_ext}$major'
10339 shlibpath_var
=LD_LIBRARY_PATH
10340 shlibpath_overrides_runpath
=yes
10341 hardcode_into_libs
=yes
10342 if test "$with_gnu_ld" = yes; then
10343 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10345 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10348 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10352 sys_lib_dlsearch_path_spec
='/usr/lib'
10356 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10360 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10361 shlibpath_var
=LD_LIBRARY_PATH
10362 shlibpath_overrides_runpath
=no
10363 hardcode_into_libs
=yes
10368 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10369 soname_spec
='${libname}${release}${shared_ext}$major'
10370 shlibpath_var
=LD_LIBRARY_PATH
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10378 $as_echo "$dynamic_linker" >&6; }
10379 test "$dynamic_linker" = no
&& can_build_shared
=no
10381 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10382 if test "$GCC" = yes; then
10383 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10386 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10387 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10389 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10390 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10485 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10487 if test -n "$hardcode_libdir_flag_spec" ||
10488 test -n "$runpath_var" ||
10489 test "X$hardcode_automatic" = "Xyes" ; then
10491 # We can hardcode non-existent directories.
10492 if test "$hardcode_direct" != no
&&
10493 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10494 # have to relink, otherwise we might link with an installed library
10495 # when we should be linking with a yet-to-be-installed one
10496 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10497 test "$hardcode_minus_L" != no
; then
10498 # Linking always hardcodes the temporary library directory.
10499 hardcode_action
=relink
10501 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10502 hardcode_action
=immediate
10505 # We cannot hardcode anything, or else we can only hardcode existing
10507 hardcode_action
=unsupported
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10510 $as_echo "$hardcode_action" >&6; }
10512 if test "$hardcode_action" = relink ||
10513 test "$inherit_rpath" = yes; then
10514 # Fast installation is not supported
10515 enable_fast_install
=no
10516 elif test "$shlibpath_overrides_runpath" = yes ||
10517 test "$enable_shared" = no
; then
10518 # Fast installation is not necessary
10519 enable_fast_install
=needless
10527 if test "x$enable_dlopen" != xyes
; then
10528 enable_dlopen
=unknown
10529 enable_dlopen_self
=unknown
10530 enable_dlopen_self_static
=unknown
10537 lt_cv_dlopen
="load_add_on"
10539 lt_cv_dlopen_self
=yes
10542 mingw
* | pw32
* | cegcc
*)
10543 lt_cv_dlopen
="LoadLibrary"
10548 lt_cv_dlopen
="dlopen"
10553 # if libdl is installed we need to link against it
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10555 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10556 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10557 $as_echo_n "(cached) " >&6
10559 ac_check_lib_save_LIBS
=$LIBS
10561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10562 /* end confdefs.h. */
10564 /* Override any GCC internal prototype to avoid an error.
10565 Use char because int might match the return type of a GCC
10566 builtin and then its argument prototype would still apply. */
10579 if ac_fn_c_try_link
"$LINENO"; then :
10580 ac_cv_lib_dl_dlopen
=yes
10582 ac_cv_lib_dl_dlopen
=no
10584 rm -f core conftest.err conftest.
$ac_objext \
10585 conftest
$ac_exeext conftest.
$ac_ext
10586 LIBS
=$ac_check_lib_save_LIBS
10588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10589 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10590 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10591 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10594 lt_cv_dlopen
="dyld"
10596 lt_cv_dlopen_self
=yes
10603 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10604 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10605 lt_cv_dlopen
="shl_load"
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10608 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10609 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10610 $as_echo_n "(cached) " >&6
10612 ac_check_lib_save_LIBS
=$LIBS
10614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10615 /* end confdefs.h. */
10617 /* Override any GCC internal prototype to avoid an error.
10618 Use char because int might match the return type of a GCC
10619 builtin and then its argument prototype would still apply. */
10627 return shl_load ();
10632 if ac_fn_c_try_link
"$LINENO"; then :
10633 ac_cv_lib_dld_shl_load
=yes
10635 ac_cv_lib_dld_shl_load
=no
10637 rm -f core conftest.err conftest.
$ac_objext \
10638 conftest
$ac_exeext conftest.
$ac_ext
10639 LIBS
=$ac_check_lib_save_LIBS
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10642 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10643 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10644 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10646 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10647 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10648 lt_cv_dlopen
="dlopen"
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10651 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10652 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10653 $as_echo_n "(cached) " >&6
10655 ac_check_lib_save_LIBS
=$LIBS
10657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10658 /* end confdefs.h. */
10660 /* Override any GCC internal prototype to avoid an error.
10661 Use char because int might match the return type of a GCC
10662 builtin and then its argument prototype would still apply. */
10675 if ac_fn_c_try_link
"$LINENO"; then :
10676 ac_cv_lib_dl_dlopen
=yes
10678 ac_cv_lib_dl_dlopen
=no
10680 rm -f core conftest.err conftest.
$ac_objext \
10681 conftest
$ac_exeext conftest.
$ac_ext
10682 LIBS
=$ac_check_lib_save_LIBS
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10685 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10686 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10687 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10690 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10691 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10692 $as_echo_n "(cached) " >&6
10694 ac_check_lib_save_LIBS
=$LIBS
10695 LIBS
="-lsvld $LIBS"
10696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10697 /* end confdefs.h. */
10699 /* Override any GCC internal prototype to avoid an error.
10700 Use char because int might match the return type of a GCC
10701 builtin and then its argument prototype would still apply. */
10714 if ac_fn_c_try_link
"$LINENO"; then :
10715 ac_cv_lib_svld_dlopen
=yes
10717 ac_cv_lib_svld_dlopen
=no
10719 rm -f core conftest.err conftest.
$ac_objext \
10720 conftest
$ac_exeext conftest.
$ac_ext
10721 LIBS
=$ac_check_lib_save_LIBS
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10724 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10725 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10726 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10729 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10730 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10731 $as_echo_n "(cached) " >&6
10733 ac_check_lib_save_LIBS
=$LIBS
10735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10736 /* end confdefs.h. */
10738 /* Override any GCC internal prototype to avoid an error.
10739 Use char because int might match the return type of a GCC
10740 builtin and then its argument prototype would still apply. */
10748 return dld_link ();
10753 if ac_fn_c_try_link
"$LINENO"; then :
10754 ac_cv_lib_dld_dld_link
=yes
10756 ac_cv_lib_dld_dld_link
=no
10758 rm -f core conftest.err conftest.
$ac_objext \
10759 conftest
$ac_exeext conftest.
$ac_ext
10760 LIBS
=$ac_check_lib_save_LIBS
10762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10763 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10764 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10765 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10786 if test "x$lt_cv_dlopen" != xno
; then
10792 case $lt_cv_dlopen in
10794 save_CPPFLAGS
="$CPPFLAGS"
10795 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10797 save_LDFLAGS
="$LDFLAGS"
10798 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10801 LIBS
="$lt_cv_dlopen_libs $LIBS"
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10804 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10805 if test "${lt_cv_dlopen_self+set}" = set; then :
10806 $as_echo_n "(cached) " >&6
10808 if test "$cross_compiling" = yes; then :
10809 lt_cv_dlopen_self
=cross
10811 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10812 lt_status
=$lt_dlunknown
10813 cat > conftest.
$ac_ext <<_LT_EOF
10814 #line 10814 "configure"
10815 #include "confdefs.h"
10824 # define LT_DLGLOBAL RTLD_GLOBAL
10827 # define LT_DLGLOBAL DL_GLOBAL
10829 # define LT_DLGLOBAL 0
10833 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10834 find out it does not work in some platform. */
10835 #ifndef LT_DLLAZY_OR_NOW
10837 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10840 # define LT_DLLAZY_OR_NOW DL_LAZY
10843 # define LT_DLLAZY_OR_NOW RTLD_NOW
10846 # define LT_DLLAZY_OR_NOW DL_NOW
10848 # define LT_DLLAZY_OR_NOW 0
10855 /* When -fvisbility=hidden is used, assume the code has been annotated
10856 correspondingly for the symbols needed. */
10857 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10858 void fnord () __attribute__((visibility("default")));
10861 void fnord () { int i=42; }
10864 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10865 int status = $lt_dlunknown;
10869 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10872 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10873 else puts (dlerror ());
10875 /* dlclose (self); */
10883 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10884 (eval $ac_link) 2>&5
10886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10887 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10888 (.
/conftest
; exit; ) >&5 2>/dev
/null
10890 case x
$lt_status in
10891 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10892 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10893 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10896 # compilation failed
10897 lt_cv_dlopen_self
=no
10904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10905 $as_echo "$lt_cv_dlopen_self" >&6; }
10907 if test "x$lt_cv_dlopen_self" = xyes
; then
10908 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10910 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10911 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10912 $as_echo_n "(cached) " >&6
10914 if test "$cross_compiling" = yes; then :
10915 lt_cv_dlopen_self_static
=cross
10917 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10918 lt_status
=$lt_dlunknown
10919 cat > conftest.
$ac_ext <<_LT_EOF
10920 #line 10920 "configure"
10921 #include "confdefs.h"
10930 # define LT_DLGLOBAL RTLD_GLOBAL
10933 # define LT_DLGLOBAL DL_GLOBAL
10935 # define LT_DLGLOBAL 0
10939 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10940 find out it does not work in some platform. */
10941 #ifndef LT_DLLAZY_OR_NOW
10943 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10946 # define LT_DLLAZY_OR_NOW DL_LAZY
10949 # define LT_DLLAZY_OR_NOW RTLD_NOW
10952 # define LT_DLLAZY_OR_NOW DL_NOW
10954 # define LT_DLLAZY_OR_NOW 0
10961 /* When -fvisbility=hidden is used, assume the code has been annotated
10962 correspondingly for the symbols needed. */
10963 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10964 void fnord () __attribute__((visibility("default")));
10967 void fnord () { int i=42; }
10970 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10971 int status = $lt_dlunknown;
10975 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10978 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10979 else puts (dlerror ());
10981 /* dlclose (self); */
10989 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10990 (eval $ac_link) 2>&5
10992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10993 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10994 (.
/conftest
; exit; ) >&5 2>/dev
/null
10996 case x
$lt_status in
10997 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10998 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10999 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11002 # compilation failed
11003 lt_cv_dlopen_self_static
=no
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11011 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11014 CPPFLAGS
="$save_CPPFLAGS"
11015 LDFLAGS
="$save_LDFLAGS"
11020 case $lt_cv_dlopen_self in
11021 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11022 *) enable_dlopen_self
=unknown
;;
11025 case $lt_cv_dlopen_self_static in
11026 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11027 *) enable_dlopen_self_static
=unknown
;;
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11050 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11051 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11052 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11053 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11055 $as_echo "yes" >&6; }
11057 # FIXME - insert some real tests, host_os isn't really good enough
11060 if test -n "$STRIP" ; then
11061 striplib
="$STRIP -x"
11062 old_striplib
="$STRIP -S"
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11064 $as_echo "yes" >&6; }
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11067 $as_echo "no" >&6; }
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11072 $as_echo "no" >&6; }
11088 # Report which library types will actually be built
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11090 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11092 $as_echo "$can_build_shared" >&6; }
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11095 $as_echo_n "checking whether to build shared libraries... " >&6; }
11096 test "$can_build_shared" = "no" && enable_shared
=no
11098 # On AIX, shared libraries and static libraries use the same namespace, and
11099 # are all built from PIC.
11102 test "$enable_shared" = yes && enable_static
=no
11103 if test -n "$RANLIB"; then
11104 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11105 postinstall_cmds
='$RANLIB $lib'
11110 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11111 test "$enable_shared" = yes && enable_static
=no
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11116 $as_echo "$enable_shared" >&6; }
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11119 $as_echo_n "checking whether to build static libraries... " >&6; }
11120 # Make sure either enable_shared or enable_static is yes.
11121 test "$enable_shared" = yes || enable_static
=yes
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11123 $as_echo "$enable_static" >&6; }
11130 ac_cpp
='$CPP $CPPFLAGS'
11131 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11132 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11133 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11137 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11138 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11139 (test "X$CXX" != "Xg++"))) ; then
11141 ac_cpp
='$CXXCPP $CPPFLAGS'
11142 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11143 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11144 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11146 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11147 if test -z "$CXXCPP"; then
11148 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11149 $as_echo_n "(cached) " >&6
11151 # Double quotes because CXXCPP needs to be expanded
11152 for CXXCPP
in "$CXX -E" "/lib/cpp"
11154 ac_preproc_ok
=false
11155 for ac_cxx_preproc_warn_flag
in '' yes
11157 # Use a header file that comes with gcc, so configuring glibc
11158 # with a fresh cross-compiler works.
11159 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11160 # <limits.h> exists even on freestanding compilers.
11161 # On the NeXT, cc -E runs the code through the compiler's parser,
11162 # not just through cpp. "Syntax error" is here to catch this case.
11163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11164 /* end confdefs.h. */
11166 # include <limits.h>
11168 # include <assert.h>
11172 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11175 # Broken: fails on valid input.
11178 rm -f conftest.err conftest.
$ac_ext
11180 # OK, works on sane cases. Now check whether nonexistent headers
11181 # can be detected and how.
11182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11183 /* end confdefs.h. */
11184 #include <ac_nonexistent.h>
11186 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11187 # Broken: success on invalid input.
11190 # Passes both tests.
11194 rm -f conftest.err conftest.
$ac_ext
11197 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11198 rm -f conftest.err conftest.
$ac_ext
11199 if $ac_preproc_ok; then :
11204 ac_cv_prog_CXXCPP
=$CXXCPP
11207 CXXCPP
=$ac_cv_prog_CXXCPP
11209 ac_cv_prog_CXXCPP
=$CXXCPP
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11212 $as_echo "$CXXCPP" >&6; }
11213 ac_preproc_ok
=false
11214 for ac_cxx_preproc_warn_flag
in '' yes
11216 # Use a header file that comes with gcc, so configuring glibc
11217 # with a fresh cross-compiler works.
11218 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11219 # <limits.h> exists even on freestanding compilers.
11220 # On the NeXT, cc -E runs the code through the compiler's parser,
11221 # not just through cpp. "Syntax error" is here to catch this case.
11222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11223 /* end confdefs.h. */
11225 # include <limits.h>
11227 # include <assert.h>
11231 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11234 # Broken: fails on valid input.
11237 rm -f conftest.err conftest.
$ac_ext
11239 # OK, works on sane cases. Now check whether nonexistent headers
11240 # can be detected and how.
11241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11242 /* end confdefs.h. */
11243 #include <ac_nonexistent.h>
11245 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11246 # Broken: success on invalid input.
11249 # Passes both tests.
11253 rm -f conftest.err conftest.
$ac_ext
11256 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11257 rm -f conftest.err conftest.
$ac_ext
11258 if $ac_preproc_ok; then :
11261 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11262 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11263 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
11264 See \`config.log' for more details." "$LINENO" 5; }
11268 ac_cpp
='$CPP $CPPFLAGS'
11269 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11270 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11271 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11274 _lt_caught_CXX_error
=yes
11278 ac_cpp
='$CXXCPP $CPPFLAGS'
11279 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11280 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11281 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11283 archive_cmds_need_lc_CXX
=no
11284 allow_undefined_flag_CXX
=
11285 always_export_symbols_CXX
=no
11286 archive_expsym_cmds_CXX
=
11287 compiler_needs_object_CXX
=no
11288 export_dynamic_flag_spec_CXX
=
11289 hardcode_direct_CXX
=no
11290 hardcode_direct_absolute_CXX
=no
11291 hardcode_libdir_flag_spec_CXX
=
11292 hardcode_libdir_flag_spec_ld_CXX
=
11293 hardcode_libdir_separator_CXX
=
11294 hardcode_minus_L_CXX
=no
11295 hardcode_shlibpath_var_CXX
=unsupported
11296 hardcode_automatic_CXX
=no
11297 inherit_rpath_CXX
=no
11299 module_expsym_cmds_CXX
=
11300 link_all_deplibs_CXX
=unknown
11301 old_archive_cmds_CXX
=$old_archive_cmds
11302 reload_flag_CXX
=$reload_flag
11303 reload_cmds_CXX
=$reload_cmds
11304 no_undefined_flag_CXX
=
11305 whole_archive_flag_spec_CXX
=
11306 enable_shared_with_static_runtimes_CXX
=no
11308 # Source file extension for C++ test sources.
11311 # Object file extension for compiled C++ test sources.
11315 # No sense in running all these tests if we already determined that
11316 # the CXX compiler isn't working. Some variables (like enable_shared)
11317 # are currently assumed to apply to all compilers on this platform,
11318 # and will be corrupted by setting them based on a non-working compiler.
11319 if test "$_lt_caught_CXX_error" != yes; then
11320 # Code to be used in simple compile tests
11321 lt_simple_compile_test_code
="int some_variable = 0;"
11323 # Code to be used in simple link tests
11324 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11326 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11333 # If no C compiler was specified, use CC.
11336 # If no C compiler flags were specified, use CFLAGS.
11337 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11339 # Allow CC to be a program name with arguments.
11343 # save warnings/boilerplate of simple test code
11344 ac_outfile
=conftest.
$ac_objext
11345 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11346 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11347 _lt_compiler_boilerplate
=`cat conftest.err`
11350 ac_outfile
=conftest.
$ac_objext
11351 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11352 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11353 _lt_linker_boilerplate
=`cat conftest.err`
11357 # Allow CC to be a program name with arguments.
11362 lt_save_with_gnu_ld
=$with_gnu_ld
11363 lt_save_path_LD
=$lt_cv_path_LD
11364 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11365 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11367 $as_unset lt_cv_prog_gnu_ld
11369 if test -n "${lt_cv_path_LDCXX+set}"; then
11370 lt_cv_path_LD
=$lt_cv_path_LDCXX
11372 $as_unset lt_cv_path_LD
11374 test -z "${LDCXX+set}" || LD
=$LDCXX
11378 for cc_temp
in $compiler""; do
11380 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11381 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11386 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11389 if test -n "$compiler"; then
11390 # We don't want -fno-exception when compiling C++ code, so set the
11391 # no_builtin_flag separately
11392 if test "$GXX" = yes; then
11393 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11395 lt_prog_compiler_no_builtin_flag_CXX
=
11398 if test "$GXX" = yes; then
11399 # Set up default GNU C++ configuration
11403 # Check whether --with-gnu-ld was given.
11404 if test "${with_gnu_ld+set}" = set; then :
11405 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
11411 if test "$GCC" = yes; then
11412 # Check if gcc -print-prog-name=ld gives a path.
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11414 $as_echo_n "checking for ld used by $CC... " >&6; }
11417 # gcc leaves a trailing carriage return which upsets mingw
11418 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11420 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11423 # Accept absolute paths.
11425 re_direlt
='/[^/][^/]*/\.\./'
11426 # Canonicalize the pathname of ld
11427 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11428 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
11429 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11431 test -z "$LD" && LD
="$ac_prog"
11434 # If it fails, then pretend we aren't using GCC.
11438 # If it is relative, then search for the first ld in PATH.
11439 with_gnu_ld
=unknown
11442 elif test "$with_gnu_ld" = yes; then
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11444 $as_echo_n "checking for GNU ld... " >&6; }
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11447 $as_echo_n "checking for non-GNU ld... " >&6; }
11449 if test "${lt_cv_path_LD+set}" = set; then :
11450 $as_echo_n "(cached) " >&6
11452 if test -z "$LD"; then
11453 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11454 for ac_dir
in $PATH; do
11456 test -z "$ac_dir" && ac_dir
=.
11457 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
11458 lt_cv_path_LD
="$ac_dir/$ac_prog"
11459 # Check to see if the program is GNU ld. I'd rather use --version,
11460 # but apparently some variants of GNU ld only accept -v.
11461 # Break only if it was the GNU/non-GNU ld that we prefer.
11462 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11463 *GNU
* |
*'with BFD'*)
11464 test "$with_gnu_ld" != no
&& break
11467 test "$with_gnu_ld" != yes && break
11474 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11478 LD
="$lt_cv_path_LD"
11479 if test -n "$LD"; then
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11481 $as_echo "$LD" >&6; }
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11484 $as_echo "no" >&6; }
11486 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11488 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11489 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11490 $as_echo_n "(cached) " >&6
11492 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11493 case `$LD -v 2>&1 </dev/null` in
11494 *GNU
* |
*'with BFD'*)
11495 lt_cv_prog_gnu_ld
=yes
11498 lt_cv_prog_gnu_ld
=no
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11503 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11504 with_gnu_ld
=$lt_cv_prog_gnu_ld
11512 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11513 # archiving commands below assume that GNU ld is being used.
11514 if test "$with_gnu_ld" = yes; then
11515 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11516 archive_expsym_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11518 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11519 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11521 # If archive_cmds runs LD, not CC, wlarc should be empty
11522 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11523 # investigate it a little bit more. (MM)
11526 # ancient GNU ld didn't support --whole-archive et. al.
11527 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11528 $GREP 'no-whole-archive' > /dev
/null
; then
11529 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11531 whole_archive_flag_spec_CXX
=
11537 # A generic and very simple default shared library creation
11538 # command for GNU C++ for the case where it uses the native
11539 # linker, instead of GNU ld. If possible, this setting should
11540 # overridden to take advantage of the native linker features on
11541 # the platform it is being used on.
11542 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11545 # Commands to make compiler produce verbose output that lists
11546 # what "hidden" libraries, object files and flags are used when
11547 # linking a shared library.
11548 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
11556 # PORTME: fill in a description of your system's C++ link characteristics
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11558 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11562 # FIXME: insert proper C++ library support
11566 if test "$host_cpu" = ia64
; then
11567 # On IA64, the linker does run time linking by default, so we don't
11568 # have to do anything special.
11569 aix_use_runtimelinking
=no
11570 exp_sym_flag
='-Bexport'
11573 aix_use_runtimelinking
=no
11575 # Test if we are trying to use run time linking or normal
11576 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11577 # need to do runtime linking.
11578 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11579 for ld_flag
in $LDFLAGS; do
11582 aix_use_runtimelinking
=yes
11590 exp_sym_flag
='-bexport'
11591 no_entry_flag
='-bnoentry'
11594 # When large executables or shared objects are built, AIX ld can
11595 # have problems creating the table of contents. If linking a library
11596 # or program results in "error TOC overflow" add -mminimal-toc to
11597 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11598 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11600 archive_cmds_CXX
=''
11601 hardcode_direct_CXX
=yes
11602 hardcode_direct_absolute_CXX
=yes
11603 hardcode_libdir_separator_CXX
=':'
11604 link_all_deplibs_CXX
=yes
11605 file_list_spec_CXX
='${wl}-f,'
11607 if test "$GXX" = yes; then
11608 case $host_os in aix4.
[012]|aix4.
[012].
*)
11609 # We only want to do this on AIX 4.2 and lower, the check
11610 # below for broken collect2 doesn't work under 4.3+
11611 collect2name
=`${CC} -print-prog-name=collect2`
11612 if test -f "$collect2name" &&
11613 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11615 # We have reworked collect2
11618 # We have old collect2
11619 hardcode_direct_CXX
=unsupported
11620 # It fails to find uninstalled libraries when the uninstalled
11621 # path is not listed in the libpath. Setting hardcode_minus_L
11622 # to unsupported forces relinking
11623 hardcode_minus_L_CXX
=yes
11624 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11625 hardcode_libdir_separator_CXX
=
11628 shared_flag
='-shared'
11629 if test "$aix_use_runtimelinking" = yes; then
11630 shared_flag
="$shared_flag "'${wl}-G'
11634 if test "$host_cpu" = ia64
; then
11635 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11636 # chokes on -Wl,-G. The following line is correct:
11639 if test "$aix_use_runtimelinking" = yes; then
11640 shared_flag
='${wl}-G'
11642 shared_flag
='${wl}-bM:SRE'
11647 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
11648 # It seems that -bexpall does not export symbols beginning with
11649 # underscore (_), so it is better to generate a list of symbols to
11651 always_export_symbols_CXX
=yes
11652 if test "$aix_use_runtimelinking" = yes; then
11653 # Warning - without using the other runtime loading flags (-brtl),
11654 # -berok will link without error, but may produce a broken library.
11655 allow_undefined_flag_CXX
='-berok'
11656 # Determine the default libpath from the value encoded in an empty
11658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11659 /* end confdefs.h. */
11669 if ac_fn_cxx_try_link
"$LINENO"; then :
11671 lt_aix_libpath_sed
='
11672 /Import File Strings/,/^$/ {
11678 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11679 # Check for a 64-bit object if we didn't find anything.
11680 if test -z "$aix_libpath"; then
11681 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11684 rm -f core conftest.err conftest.
$ac_objext \
11685 conftest
$ac_exeext conftest.
$ac_ext
11686 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11688 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11690 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"
11692 if test "$host_cpu" = ia64
; then
11693 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11694 allow_undefined_flag_CXX
="-z nodefs"
11695 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"
11697 # Determine the default libpath from the value encoded in an
11698 # empty executable.
11699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11700 /* end confdefs.h. */
11710 if ac_fn_cxx_try_link
"$LINENO"; then :
11712 lt_aix_libpath_sed
='
11713 /Import File Strings/,/^$/ {
11719 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11720 # Check for a 64-bit object if we didn't find anything.
11721 if test -z "$aix_libpath"; then
11722 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11725 rm -f core conftest.err conftest.
$ac_objext \
11726 conftest
$ac_exeext conftest.
$ac_ext
11727 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11729 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11730 # Warning - without using the other run time loading flags,
11731 # -berok will link without error, but may produce a broken library.
11732 no_undefined_flag_CXX
=' ${wl}-bernotok'
11733 allow_undefined_flag_CXX
=' ${wl}-berok'
11734 if test "$with_gnu_ld" = yes; then
11735 # We only use this code for GNU lds that support --whole-archive.
11736 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11738 # Exported symbols can be pulled into shared objects from archives
11739 whole_archive_flag_spec_CXX
='$convenience'
11741 archive_cmds_need_lc_CXX
=yes
11742 # This is similar to how AIX traditionally builds its shared
11744 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'
11750 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11751 allow_undefined_flag_CXX
=unsupported
11752 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11753 # support --undefined. This deserves some investigation. FIXME
11754 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11761 case $cc_basename in
11763 # FIXME: insert proper C++ library support
11769 cygwin
* | mingw
* | pw32
* | cegcc
*)
11770 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11771 # as there is no search path for DLLs.
11772 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11773 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
11774 allow_undefined_flag_CXX
=unsupported
11775 always_export_symbols_CXX
=no
11776 enable_shared_with_static_runtimes_CXX
=yes
11778 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
11779 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'
11780 # If the export-symbols file already is a .def file (1st line
11781 # is EXPORTS), use it as is; otherwise, prepend...
11782 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11783 cp $export_symbols $output_objdir/$soname.def;
11785 echo EXPORTS > $output_objdir/$soname.def;
11786 cat $export_symbols >> $output_objdir/$soname.def;
11788 $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'
11793 darwin
* | rhapsody
*)
11796 archive_cmds_need_lc_CXX
=no
11797 hardcode_direct_CXX
=no
11798 hardcode_automatic_CXX
=yes
11799 hardcode_shlibpath_var_CXX
=unsupported
11800 if test "$lt_cv_ld_force_load" = "yes"; then
11801 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\"`'
11803 whole_archive_flag_spec_CXX
=''
11805 link_all_deplibs_CXX
=yes
11806 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
11807 case $cc_basename in
11808 ifort
*) _lt_dar_can_shared
=yes ;;
11809 *) _lt_dar_can_shared
=$GCC ;;
11811 if test "$_lt_dar_can_shared" = "yes"; then
11812 output_verbose_link_cmd
=func_echo_all
11813 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}"
11814 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11815 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}"
11816 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}"
11817 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11818 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}"
11819 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}"
11829 case $cc_basename in
11831 # FIXME: insert proper C++ library support
11835 # Green Hills C++ Compiler
11836 # FIXME: insert proper C++ library support
11840 # FIXME: insert proper C++ library support
11847 # C++ shared libraries reported to be fairly broken before
11853 archive_cmds_need_lc_CXX
=no
11856 freebsd
* | dragonfly
*)
11857 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11866 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11867 link_all_deplibs_CXX
=yes
11871 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11872 hardcode_libdir_separator_CXX
=:
11873 export_dynamic_flag_spec_CXX
='${wl}-E'
11874 hardcode_direct_CXX
=yes
11875 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11876 # but as the default
11877 # location of the library.
11879 case $cc_basename in
11881 # FIXME: insert proper C++ library support
11885 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'
11886 # Commands to make compiler produce verbose output that lists
11887 # what "hidden" libraries, object files and flags are used when
11888 # linking a shared library.
11890 # There doesn't appear to be a way to prevent this compiler from
11891 # explicitly linking system object files so we need to strip them
11892 # from the output so that they don't get included in the library
11894 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"'
11897 if test "$GXX" = yes; then
11898 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'
11900 # FIXME: insert proper C++ library support
11908 if test $with_gnu_ld = no
; then
11909 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11910 hardcode_libdir_separator_CXX
=:
11916 export_dynamic_flag_spec_CXX
='${wl}-E'
11922 hardcode_direct_CXX
=no
11923 hardcode_shlibpath_var_CXX
=no
11926 hardcode_direct_CXX
=yes
11927 hardcode_direct_absolute_CXX
=yes
11928 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11929 # but as the default
11930 # location of the library.
11934 case $cc_basename in
11936 # FIXME: insert proper C++ library support
11942 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11945 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11948 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11951 # Commands to make compiler produce verbose output that lists
11952 # what "hidden" libraries, object files and flags are used when
11953 # linking a shared library.
11955 # There doesn't appear to be a way to prevent this compiler from
11956 # explicitly linking system object files so we need to strip them
11957 # from the output so that they don't get included in the library
11959 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"'
11962 if test "$GXX" = yes; then
11963 if test $with_gnu_ld = no
; then
11966 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11969 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11972 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'
11977 # FIXME: insert proper C++ library support
11985 hardcode_direct_CXX
=no
11986 hardcode_shlibpath_var_CXX
=no
11987 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11988 export_dynamic_flag_spec_CXX
='${wl}-E'
11989 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11990 # Instead, shared libraries are loaded at an image base (0x10000000 by
11991 # default) and relocated if they conflict, which is a slow very memory
11992 # consuming and fragmenting process. To avoid this, we pick a random,
11993 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11994 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11995 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'
11996 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'
11999 case $cc_basename in
12002 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'
12004 # Archives containing C++ object files must be created using
12005 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12006 # necessary to make sure instantiated templates are included
12008 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12011 if test "$GXX" = yes; then
12012 if test "$with_gnu_ld" = no
; then
12013 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'
12015 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'
12018 link_all_deplibs_CXX
=yes
12021 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12022 hardcode_libdir_separator_CXX
=:
12023 inherit_rpath_CXX
=yes
12026 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12027 case $cc_basename in
12029 # Kuck and Associates, Inc. (KAI) C++ Compiler
12031 # KCC will only create a shared library if the output file
12032 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12033 # to its proper name (with version) after linking.
12034 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'
12035 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'
12036 # Commands to make compiler produce verbose output that lists
12037 # what "hidden" libraries, object files and flags are used when
12038 # linking a shared library.
12040 # There doesn't appear to be a way to prevent this compiler from
12041 # explicitly linking system object files so we need to strip them
12042 # from the output so that they don't get included in the library
12044 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"'
12046 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12047 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12049 # Archives containing C++ object files must be created using
12050 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12051 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12056 # version 8.0 and above of icpc choke on multiply defined symbols
12057 # if we add $predep_objects and $postdep_objects, however 7.1 and
12058 # earlier do not add the objects themselves.
12059 case `$CC -V 2>&1` in
12061 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12062 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'
12064 *) # Version 8.0 or newer
12067 ia64
*) tmp_idyn
=' -i_dynamic';;
12069 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12070 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'
12073 archive_cmds_need_lc_CXX
=no
12074 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12075 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12076 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12079 # Portland Group C++ compiler
12081 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
12082 prelink_cmds_CXX
='tpldir=Template.dir~
12084 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12085 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12086 old_archive_cmds_CXX
='tpldir=Template.dir~
12088 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12089 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12091 archive_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 -o $lib'
12095 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12097 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12098 $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'
12100 *) # Version 6 and above use weak symbols
12101 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12102 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'
12106 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12107 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12108 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'
12112 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12113 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'
12115 runpath_var
=LD_RUN_PATH
12116 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12117 hardcode_libdir_separator_CXX
=:
12119 # Commands to make compiler produce verbose output that lists
12120 # what "hidden" libraries, object files and flags are used when
12121 # linking a shared library.
12123 # There doesn't appear to be a way to prevent this compiler from
12124 # explicitly linking system object files so we need to strip them
12125 # from the output so that they don't get included in the library
12127 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'
12129 xl
* | mpixl
* | bgxl
*)
12130 # IBM XL 8.0 on PPC, with GNU ld
12131 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12132 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12133 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12134 if test "x$supports_anon_versioning" = xyes
; then
12135 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12136 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12137 echo "local: *; };" >> $output_objdir/$libname.ver~
12138 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12142 case `$CC -V 2>&1 | sed 5q` in
12145 no_undefined_flag_CXX
=' -zdefs'
12146 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12147 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'
12148 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12149 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'
12150 compiler_needs_object_CXX
=yes
12152 # Not sure whether something based on
12153 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12155 output_verbose_link_cmd
='func_echo_all'
12157 # Archives containing C++ object files must be created using
12158 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12159 # necessary to make sure instantiated templates are included
12161 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12169 # FIXME: insert proper C++ library support
12174 # FIXME: insert proper C++ library support
12179 case $cc_basename in
12181 # FIXME: insert proper C++ library support
12185 # FIXME: insert proper C++ library support
12192 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12193 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12195 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12196 hardcode_direct_CXX
=yes
12197 hardcode_shlibpath_var_CXX
=no
12199 # Workaround some broken pre-1.5 toolchains
12200 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12208 # C++ shared libraries are fairly broken
12213 if test -f /usr
/libexec
/ld.so
; then
12214 hardcode_direct_CXX
=yes
12215 hardcode_shlibpath_var_CXX
=no
12216 hardcode_direct_absolute_CXX
=yes
12217 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12218 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12219 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12220 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12221 export_dynamic_flag_spec_CXX
='${wl}-E'
12222 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12224 output_verbose_link_cmd
=func_echo_all
12230 osf3
* | osf4
* | osf5
*)
12231 case $cc_basename in
12233 # Kuck and Associates, Inc. (KAI) C++ Compiler
12235 # KCC will only create a shared library if the output file
12236 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12237 # to its proper name (with version) after linking.
12238 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'
12240 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12241 hardcode_libdir_separator_CXX
=:
12243 # Archives containing C++ object files must be created using
12244 # the KAI C++ compiler.
12246 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12247 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12251 # Rational C++ 2.4.1
12252 # FIXME: insert proper C++ library support
12258 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12259 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'
12260 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12263 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12264 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'
12265 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12266 echo "-hidden">> $lib.exp~
12267 $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~
12269 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12273 hardcode_libdir_separator_CXX
=:
12275 # Commands to make compiler produce verbose output that lists
12276 # what "hidden" libraries, object files and flags are used when
12277 # linking a shared library.
12279 # There doesn't appear to be a way to prevent this compiler from
12280 # explicitly linking system object files so we need to strip them
12281 # from the output so that they don't get included in the library
12283 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"'
12286 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12287 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12290 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'
12293 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'
12297 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12298 hardcode_libdir_separator_CXX
=:
12300 # Commands to make compiler produce verbose output that lists
12301 # what "hidden" libraries, object files and flags are used when
12302 # linking a shared library.
12303 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12306 # FIXME: insert proper C++ library support
12314 # FIXME: insert proper C++ library support
12319 case $cc_basename in
12322 # FIXME: insert proper C++ library support
12327 # FIXME: insert proper C++ library support
12331 # FIXME: insert proper C++ library support
12338 case $cc_basename in
12340 # Sun C++ 4.2, 5.x and Centerline C++
12341 archive_cmds_need_lc_CXX
=yes
12342 no_undefined_flag_CXX
=' -zdefs'
12343 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12344 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12345 $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'
12347 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12348 hardcode_shlibpath_var_CXX
=no
12350 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12352 # The compiler driver will combine and reorder linker options,
12353 # but understands `-z linker_flag'.
12354 # Supported since Solaris 2.6 (maybe 2.5.1?)
12355 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12358 link_all_deplibs_CXX
=yes
12360 output_verbose_link_cmd
='func_echo_all'
12362 # Archives containing C++ object files must be created using
12363 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12364 # necessary to make sure instantiated templates are included
12366 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12369 # Green Hills C++ Compiler
12370 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12372 # The C++ compiler must be used to create the archive.
12373 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12376 # GNU C++ compiler with Solaris linker
12377 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12378 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12379 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
12380 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12381 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12382 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12384 # Commands to make compiler produce verbose output that lists
12385 # what "hidden" libraries, object files and flags are used when
12386 # linking a shared library.
12387 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12389 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12391 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12392 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12393 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12395 # Commands to make compiler produce verbose output that lists
12396 # what "hidden" libraries, object files and flags are used when
12397 # linking a shared library.
12398 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12401 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12403 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12405 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12413 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12414 no_undefined_flag_CXX
='${wl}-z,text'
12415 archive_cmds_need_lc_CXX
=no
12416 hardcode_shlibpath_var_CXX
=no
12417 runpath_var
='LD_RUN_PATH'
12419 case $cc_basename in
12421 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12422 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12425 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12426 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12431 sysv5
* | sco3.2v5
* | sco5v6
*)
12432 # Note: We can NOT use -z defs as we might desire, because we do not
12433 # link with -lc, and that would cause any symbols used from libc to
12434 # always be unresolved, which means just about no library would
12435 # ever link correctly. If we're not using GNU ld we use -z text
12436 # though, which does catch some bad symbols but isn't as heavy-handed
12438 no_undefined_flag_CXX
='${wl}-z,text'
12439 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12440 archive_cmds_need_lc_CXX
=no
12441 hardcode_shlibpath_var_CXX
=no
12442 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
12443 hardcode_libdir_separator_CXX
=':'
12444 link_all_deplibs_CXX
=yes
12445 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12446 runpath_var
='LD_RUN_PATH'
12448 case $cc_basename in
12450 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12451 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12452 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
12453 '"$old_archive_cmds_CXX"
12454 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
12455 '"$reload_cmds_CXX"
12458 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12459 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12465 case $cc_basename in
12467 # NonStop-UX NCC 3.20
12468 # FIXME: insert proper C++ library support
12472 # FIXME: insert proper C++ library support
12479 # FIXME: insert proper C++ library support
12484 # FIXME: insert proper C++ library support
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12490 $as_echo "$ld_shlibs_CXX" >&6; }
12491 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12497 ## There is no encapsulation within the following macros, do not change
12498 ## the running order or otherwise move them around unless you know exactly
12499 ## what you are doing...
12500 # Dependencies to place before and after the object being linked:
12501 predep_objects_CXX
=
12502 postdep_objects_CXX
=
12505 compiler_lib_search_path_CXX
=
12507 cat > conftest.
$ac_ext <<_LT_EOF
12511 Foo (void) { a = 0; }
12517 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12518 (eval $ac_compile) 2>&5
12520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12521 test $ac_status = 0; }; then
12522 # Parse the compiler output and extract the necessary
12523 # objects, libraries and library flags.
12525 # Sentinel used to keep track of whether or not we are before
12526 # the conftest object file.
12527 pre_test_object_deps_done
=no
12529 for p
in `eval "$output_verbose_link_cmd"`; do
12533 # Some compilers place space between "-{L,R}" and the path.
12534 # Remove the space.
12535 if test $p = "-L" ||
12536 test $p = "-R"; then
12543 if test "$pre_test_object_deps_done" = no
; then
12546 # Internal compiler library paths should come after those
12547 # provided the user. The postdeps already come after the
12548 # user supplied libs so there is no need to process them.
12549 if test -z "$compiler_lib_search_path_CXX"; then
12550 compiler_lib_search_path_CXX
="${prev}${p}"
12552 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12555 # The "-l" case would never come before the object being
12556 # linked, so don't bother handling this case.
12559 if test -z "$postdeps_CXX"; then
12560 postdeps_CXX
="${prev}${p}"
12562 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12568 # This assumes that the test object file only shows up
12569 # once in the compiler output.
12570 if test "$p" = "conftest.$objext"; then
12571 pre_test_object_deps_done
=yes
12575 if test "$pre_test_object_deps_done" = no
; then
12576 if test -z "$predep_objects_CXX"; then
12577 predep_objects_CXX
="$p"
12579 predep_objects_CXX
="$predep_objects_CXX $p"
12582 if test -z "$postdep_objects_CXX"; then
12583 postdep_objects_CXX
="$p"
12585 postdep_objects_CXX
="$postdep_objects_CXX $p"
12590 *) ;; # Ignore the rest.
12598 echo "libtool.m4: error: problem compiling CXX test program"
12601 $RM -f confest.
$objext
12603 # PORTME: override above test on systems where it is broken
12606 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12607 # hack all around it, let's just trust "g++" to DTRT.
12608 predep_objects_CXX
=
12609 postdep_objects_CXX
=
12614 case `$CC -V 2>&1 | sed 5q` in
12618 # The more standards-conforming stlport4 library is
12619 # incompatible with the Cstd library. Avoid specifying
12620 # it if it's in CXXFLAGS. Ignore libCrun as
12621 # -library=stlport4 depends on it.
12622 case " $CXX $CXXFLAGS " in
12623 *" -library=stlport4 "*)
12624 solaris_use_stlport4
=yes
12628 if test "$solaris_use_stlport4" != yes; then
12629 postdeps_CXX
='-library=Cstd -library=Crun'
12636 case $cc_basename in
12638 # The more standards-conforming stlport4 library is
12639 # incompatible with the Cstd library. Avoid specifying
12640 # it if it's in CXXFLAGS. Ignore libCrun as
12641 # -library=stlport4 depends on it.
12642 case " $CXX $CXXFLAGS " in
12643 *" -library=stlport4 "*)
12644 solaris_use_stlport4
=yes
12648 # Adding this requires a known-good setup of shared libraries for
12649 # Sun compiler versions before 5.6, else PIC objects from an old
12650 # archive will be linked into the output, leading to subtle bugs.
12651 if test "$solaris_use_stlport4" != yes; then
12652 postdeps_CXX
='-library=Cstd -library=Crun'
12660 case " $postdeps_CXX " in
12661 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12663 compiler_lib_search_dirs_CXX
=
12664 if test -n "${compiler_lib_search_path_CXX}"; then
12665 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12698 lt_prog_compiler_wl_CXX
=
12699 lt_prog_compiler_pic_CXX
=
12700 lt_prog_compiler_static_CXX
=
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12703 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12705 # C++ specific cases for pic, static, wl, etc.
12706 if test "$GXX" = yes; then
12707 lt_prog_compiler_wl_CXX
='-Wl,'
12708 lt_prog_compiler_static_CXX
='-static'
12712 # All AIX code is PIC.
12713 if test "$host_cpu" = ia64
; then
12714 # AIX 5 now supports IA64 processor
12715 lt_prog_compiler_static_CXX
='-Bstatic'
12717 lt_prog_compiler_pic_CXX
='-fPIC'
12723 # see comment about AmigaOS4 .so support
12724 lt_prog_compiler_pic_CXX
='-fPIC'
12727 # FIXME: we need at least 68020 code to build shared libraries, but
12728 # adding the `-m68020' flag to GCC prevents building anything better,
12730 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12735 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12736 # PIC is the default for these OSes.
12738 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
12739 # This hack is so that the source file can tell whether it is being
12740 # built for inclusion in a dll (and should export symbols for example).
12741 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12742 # (--disable-auto-import) libraries
12743 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12745 darwin
* | rhapsody
*)
12746 # PIC is the default on this platform
12747 # Common symbols not allowed in MH_DYLIB files
12748 lt_prog_compiler_pic_CXX
='-fno-common'
12751 # DJGPP does not support shared libraries at all
12752 lt_prog_compiler_pic_CXX
=
12755 # PIC is the default for Haiku.
12756 # The "-static" flag exists, but is broken.
12757 lt_prog_compiler_static_CXX
=
12760 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12761 # Instead, we relocate shared libraries at runtime.
12764 if test -d /usr
/nec
; then
12765 lt_prog_compiler_pic_CXX
=-Kconform_pic
12769 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12770 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12771 # sets the default TLS model and affects inlining.
12776 lt_prog_compiler_pic_CXX
='-fPIC'
12781 # QNX uses GNU C++, but need to define -shared option too, otherwise
12782 # it will coredump.
12783 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12786 lt_prog_compiler_pic_CXX
='-fPIC'
12792 # All AIX code is PIC.
12793 if test "$host_cpu" = ia64
; then
12794 # AIX 5 now supports IA64 processor
12795 lt_prog_compiler_static_CXX
='-Bstatic'
12797 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12801 case $cc_basename in
12803 # Green Hills C++ Compiler
12804 # _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"
12809 case $cc_basename in
12811 lt_prog_compiler_pic_CXX
='-KPIC'
12814 # Green Hills C++ Compiler
12815 lt_prog_compiler_pic_CXX
='-pic'
12821 freebsd
* | dragonfly
*)
12822 # FreeBSD uses GNU C++
12824 hpux9
* | hpux10
* | hpux11
*)
12825 case $cc_basename in
12827 lt_prog_compiler_wl_CXX
='-Wl,'
12828 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12829 if test "$host_cpu" != ia64
; then
12830 lt_prog_compiler_pic_CXX
='+Z'
12834 lt_prog_compiler_wl_CXX
='-Wl,'
12835 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12841 lt_prog_compiler_pic_CXX
='+Z'
12850 # This is c89, which is MS Visual C++ (no shared libs)
12851 # Anyone wants to do a port?
12853 irix5
* | irix6
* | nonstopux
*)
12854 case $cc_basename in
12856 lt_prog_compiler_wl_CXX
='-Wl,'
12857 lt_prog_compiler_static_CXX
='-non_shared'
12858 # CC pic flag -KPIC is the default.
12864 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12865 case $cc_basename in
12868 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12869 lt_prog_compiler_pic_CXX
='-fPIC'
12872 # old Intel C++ for x86_64 which still supported -KPIC.
12873 lt_prog_compiler_wl_CXX
='-Wl,'
12874 lt_prog_compiler_pic_CXX
='-KPIC'
12875 lt_prog_compiler_static_CXX
='-static'
12878 # Intel C++, used to be incompatible with GCC.
12879 # ICC 10 doesn't accept -KPIC any more.
12880 lt_prog_compiler_wl_CXX
='-Wl,'
12881 lt_prog_compiler_pic_CXX
='-fPIC'
12882 lt_prog_compiler_static_CXX
='-static'
12885 # Portland Group C++ compiler
12886 lt_prog_compiler_wl_CXX
='-Wl,'
12887 lt_prog_compiler_pic_CXX
='-fpic'
12888 lt_prog_compiler_static_CXX
='-Bstatic'
12892 # Make sure the PIC flag is empty. It appears that all Alpha
12893 # Linux and Compaq Tru64 Unix objects are PIC.
12894 lt_prog_compiler_pic_CXX
=
12895 lt_prog_compiler_static_CXX
='-non_shared'
12897 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
12898 # IBM XL 8.0, 9.0 on PPC and BlueGene
12899 lt_prog_compiler_wl_CXX
='-Wl,'
12900 lt_prog_compiler_pic_CXX
='-qpic'
12901 lt_prog_compiler_static_CXX
='-qstaticlink'
12904 case `$CC -V 2>&1 | sed 5q` in
12907 lt_prog_compiler_pic_CXX
='-KPIC'
12908 lt_prog_compiler_static_CXX
='-Bstatic'
12909 lt_prog_compiler_wl_CXX
='-Qoption ld '
12920 case $cc_basename in
12922 lt_prog_compiler_pic_CXX
='-W c,exportall'
12931 # QNX uses GNU C++, but need to define -shared option too, otherwise
12932 # it will coredump.
12933 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12935 osf3
* | osf4
* | osf5
*)
12936 case $cc_basename in
12938 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12941 # Rational C++ 2.4.1
12942 lt_prog_compiler_pic_CXX
='-pic'
12945 # Digital/Compaq C++
12946 lt_prog_compiler_wl_CXX
='-Wl,'
12947 # Make sure the PIC flag is empty. It appears that all Alpha
12948 # Linux and Compaq Tru64 Unix objects are PIC.
12949 lt_prog_compiler_pic_CXX
=
12950 lt_prog_compiler_static_CXX
='-non_shared'
12959 case $cc_basename in
12961 # Sun C++ 4.2, 5.x and Centerline C++
12962 lt_prog_compiler_pic_CXX
='-KPIC'
12963 lt_prog_compiler_static_CXX
='-Bstatic'
12964 lt_prog_compiler_wl_CXX
='-Qoption ld '
12967 # Green Hills C++ Compiler
12968 lt_prog_compiler_pic_CXX
='-PIC'
12975 case $cc_basename in
12978 lt_prog_compiler_pic_CXX
='-pic'
12979 lt_prog_compiler_static_CXX
='-Bstatic'
12983 lt_prog_compiler_pic_CXX
='-pic'
12989 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12990 case $cc_basename in
12992 lt_prog_compiler_wl_CXX
='-Wl,'
12993 lt_prog_compiler_pic_CXX
='-KPIC'
12994 lt_prog_compiler_static_CXX
='-Bstatic'
12999 case $cc_basename in
13001 # NonStop-UX NCC 3.20
13002 lt_prog_compiler_pic_CXX
='-KPIC'
13011 lt_prog_compiler_can_build_shared_CXX
=no
13017 # For platforms which do not support PIC, -DPIC is meaningless:
13019 lt_prog_compiler_pic_CXX
=
13022 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13026 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13031 # Check to make sure the PIC flag actually works.
13033 if test -n "$lt_prog_compiler_pic_CXX"; then
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13035 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13036 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13037 $as_echo_n "(cached) " >&6
13039 lt_cv_prog_compiler_pic_works_CXX
=no
13040 ac_outfile
=conftest.
$ac_objext
13041 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13042 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13043 # Insert the option either (1) after the last *FLAGS variable, or
13044 # (2) before a word containing "conftest.", or (3) at the end.
13045 # Note that $ac_compile itself does not contain backslashes and begins
13046 # with a dollar sign (not a hyphen), so the echo should work correctly.
13047 # The option is referenced via a variable to avoid confusing sed.
13048 lt_compile
=`echo "$ac_compile" | $SED \
13049 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13050 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13051 -e 's:$: $lt_compiler_flag:'`
13052 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13053 (eval "$lt_compile" 2>conftest.err
)
13055 cat conftest.err
>&5
13056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13057 if (exit $ac_status) && test -s "$ac_outfile"; then
13058 # The compiler can only warn and ignore the option if not recognized
13059 # So say no if there are warnings other than the usual output.
13060 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13061 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13062 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13063 lt_cv_prog_compiler_pic_works_CXX
=yes
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13070 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13072 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13073 case $lt_prog_compiler_pic_CXX in
13075 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13078 lt_prog_compiler_pic_CXX
=
13079 lt_prog_compiler_can_build_shared_CXX
=no
13087 # Check to make sure the static flag actually works.
13089 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13091 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13092 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13093 $as_echo_n "(cached) " >&6
13095 lt_cv_prog_compiler_static_works_CXX
=no
13096 save_LDFLAGS
="$LDFLAGS"
13097 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13098 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13099 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13100 # The linker can only warn and ignore the option if not recognized
13101 # So say no if there are warnings
13102 if test -s conftest.err
; then
13103 # Append any errors to the config.log.
13104 cat conftest.err
1>&5
13105 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13106 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13107 if diff conftest.exp conftest.er2
>/dev
/null
; then
13108 lt_cv_prog_compiler_static_works_CXX
=yes
13111 lt_cv_prog_compiler_static_works_CXX
=yes
13115 LDFLAGS
="$save_LDFLAGS"
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13119 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13121 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13124 lt_prog_compiler_static_CXX
=
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13131 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13132 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13133 $as_echo_n "(cached) " >&6
13135 lt_cv_prog_compiler_c_o_CXX
=no
13136 $RM -r conftest
2>/dev
/null
13140 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13142 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13143 # Insert the option either (1) after the last *FLAGS variable, or
13144 # (2) before a word containing "conftest.", or (3) at the end.
13145 # Note that $ac_compile itself does not contain backslashes and begins
13146 # with a dollar sign (not a hyphen), so the echo should work correctly.
13147 lt_compile
=`echo "$ac_compile" | $SED \
13148 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13149 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13150 -e 's:$: $lt_compiler_flag:'`
13151 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13152 (eval "$lt_compile" 2>out
/conftest.err
)
13154 cat out
/conftest.err
>&5
13155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13156 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13158 # The compiler can only warn and ignore the option if not recognized
13159 # So say no if there are warnings
13160 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13161 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13162 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13163 lt_cv_prog_compiler_c_o_CXX
=yes
13168 # SGI C++ compiler will create directory out/ii_files/ for
13169 # template instantiation
13170 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13171 $RM out
/* && rmdir out
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13178 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13183 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13184 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13185 $as_echo_n "(cached) " >&6
13187 lt_cv_prog_compiler_c_o_CXX
=no
13188 $RM -r conftest
2>/dev
/null
13192 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13194 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13195 # Insert the option either (1) after the last *FLAGS variable, or
13196 # (2) before a word containing "conftest.", or (3) at the end.
13197 # Note that $ac_compile itself does not contain backslashes and begins
13198 # with a dollar sign (not a hyphen), so the echo should work correctly.
13199 lt_compile
=`echo "$ac_compile" | $SED \
13200 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13201 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13202 -e 's:$: $lt_compiler_flag:'`
13203 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13204 (eval "$lt_compile" 2>out
/conftest.err
)
13206 cat out
/conftest.err
>&5
13207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13208 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13210 # The compiler can only warn and ignore the option if not recognized
13211 # So say no if there are warnings
13212 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13213 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13214 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13215 lt_cv_prog_compiler_c_o_CXX
=yes
13220 # SGI C++ compiler will create directory out/ii_files/ for
13221 # template instantiation
13222 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13223 $RM out
/* && rmdir out
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13230 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13235 hard_links
="nottested"
13236 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13237 # do not overwrite the value of need_locks provided by the user
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13239 $as_echo_n "checking if we can lock with hard links... " >&6; }
13242 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13244 ln conftest.a conftest.b
2>&5 || hard_links
=no
13245 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13247 $as_echo "$hard_links" >&6; }
13248 if test "$hard_links" = no
; then
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13250 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13260 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13262 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13265 # If we're using GNU nm, then we don't want the "-C" option.
13266 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13267 # Also, AIX nm treats weak defined symbols like other global defined
13268 # symbols, whereas GNU nm marks them as "W".
13269 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13270 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'
13272 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'
13276 export_symbols_cmds_CXX
="$ltdll_cmds"
13278 cygwin
* | mingw
* | cegcc
*)
13279 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'
13282 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13285 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13288 $as_echo "$ld_shlibs_CXX" >&6; }
13289 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13291 with_gnu_ld_CXX
=$with_gnu_ld
13299 # Do we need to explicitly link libc?
13301 case "x$archive_cmds_need_lc_CXX" in
13303 # Assume -lc should be added
13304 archive_cmds_need_lc_CXX
=yes
13306 if test "$enable_shared" = yes && test "$GCC" = yes; then
13307 case $archive_cmds_CXX in
13309 # FIXME: we may have to deal with multi-command sequences.
13312 # Test whether the compiler implicitly links with -lc since on some
13313 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13314 # to ld, don't add -lc before -lgcc.
13315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13316 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13317 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13318 $as_echo_n "(cached) " >&6
13321 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13323 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13324 (eval $ac_compile) 2>&5
13326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13327 test $ac_status = 0; } 2>conftest.err
; then
13330 libobjs
=conftest.
$ac_objext
13332 wl
=$lt_prog_compiler_wl_CXX
13333 pic_flag
=$lt_prog_compiler_pic_CXX
13339 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13340 allow_undefined_flag_CXX
=
13341 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13342 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13345 test $ac_status = 0; }
13347 lt_cv_archive_cmds_need_lc_CXX
=no
13349 lt_cv_archive_cmds_need_lc_CXX
=yes
13351 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13353 cat conftest.err
1>&5
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
13359 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
13360 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13431 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13433 library_names_spec
=
13434 libname_spec
='lib$name'
13438 postuninstall_cmds
=
13442 shlibpath_overrides_runpath
=unknown
13444 dynamic_linker
="$host_os ld.so"
13445 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13446 need_lib_prefix
=unknown
13447 hardcode_into_libs
=no
13449 # when you set need_version to no, make sure it does not cause -set_version
13450 # flags to be left without arguments
13451 need_version
=unknown
13456 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13457 shlibpath_var
=LIBPATH
13459 # AIX 3 has no versioning support, so we append a major version to the name.
13460 soname_spec
='${libname}${release}${shared_ext}$major'
13467 hardcode_into_libs
=yes
13468 if test "$host_cpu" = ia64
; then
13469 # AIX 5 supports IA64
13470 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13471 shlibpath_var
=LD_LIBRARY_PATH
13473 # With GCC up to 2.95.x, collect2 would create an import file
13474 # for dependence libraries. The import file would start with
13475 # the line `#! .'. This would cause the generated library to
13476 # depend on `.', always an invalid library. This was fixed in
13477 # development snapshots of GCC prior to 3.0.
13479 aix4 | aix4.
[01] | aix4.
[01].
*)
13480 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13482 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
13485 can_build_shared
=no
13489 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13490 # soname into executable. Probably we can add versioning support to
13491 # collect2, so additional links can be useful in future.
13492 if test "$aix_use_runtimelinking" = yes; then
13493 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13494 # instead of lib<name>.a to let people know that these are not
13495 # typical AIX shared libraries.
13496 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13498 # We preserve .a as extension for shared libraries through AIX4.2
13499 # and later when we are not doing run time linking.
13500 library_names_spec
='${libname}${release}.a $libname.a'
13501 soname_spec
='${libname}${release}${shared_ext}$major'
13503 shlibpath_var
=LIBPATH
13510 # Since July 2007 AmigaOS4 officially supports .so libraries.
13511 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13512 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13515 library_names_spec
='$libname.ixlibrary $libname.a'
13516 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13517 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'
13523 library_names_spec
='${libname}${shared_ext}'
13524 dynamic_linker
="$host_os ld.so"
13525 shlibpath_var
=LIBRARY_PATH
13531 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13532 soname_spec
='${libname}${release}${shared_ext}$major'
13533 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13534 shlibpath_var
=LD_LIBRARY_PATH
13535 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13536 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13537 # the default ld.so.conf also contains /usr/contrib/lib and
13538 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13539 # libtool to hard-code these into programs
13542 cygwin
* | mingw
* | pw32
* | cegcc
*)
13543 version_type
=windows
13548 case $GCC,$host_os in
13549 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
13550 library_names_spec
='$libname.dll.a'
13551 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13552 postinstall_cmds
='base_file=`basename \${file}`~
13553 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13554 dldir=$destdir/`dirname \$dlpath`~
13555 test -d \$dldir || mkdir -p \$dldir~
13556 $install_prog $dir/$dlname \$dldir/$dlname~
13557 chmod a+x \$dldir/$dlname~
13558 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13559 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13561 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13562 dlpath=$dir/\$dldll~
13564 shlibpath_overrides_runpath
=yes
13568 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13569 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13573 # MinGW DLLs use traditional 'lib' prefix
13574 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13577 # pw32 DLLs use 'pw' prefix rather than 'lib'
13578 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13584 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13587 dynamic_linker
='Win32 ld.exe'
13588 # FIXME: first we should search . and the directory the executable is in
13592 darwin
* | rhapsody
*)
13593 dynamic_linker
="$host_os dyld"
13594 version_type
=darwin
13597 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13598 soname_spec
='${libname}${release}${major}$shared_ext'
13599 shlibpath_overrides_runpath
=yes
13600 shlibpath_var
=DYLD_LIBRARY_PATH
13601 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13603 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13610 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13611 soname_spec
='${libname}${release}${shared_ext}$major'
13612 shlibpath_var
=LD_LIBRARY_PATH
13615 freebsd
* | dragonfly
*)
13616 # DragonFly does not have aout. When/if they implement a new
13617 # versioning mechanism, adjust this.
13618 if test -x /usr
/bin
/objformat
; then
13619 objformat
=`/usr/bin/objformat`
13622 freebsd
[23].
*) objformat
=aout
;;
13623 *) objformat
=elf
;;
13626 version_type
=freebsd-
$objformat
13627 case $version_type in
13629 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13634 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13638 shlibpath_var
=LD_LIBRARY_PATH
13641 shlibpath_overrides_runpath
=yes
13643 freebsd3.
[01]* | freebsdelf3.
[01]*)
13644 shlibpath_overrides_runpath
=yes
13645 hardcode_into_libs
=yes
13647 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13648 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13649 shlibpath_overrides_runpath
=no
13650 hardcode_into_libs
=yes
13652 *) # from 4.6 on, and DragonFly
13653 shlibpath_overrides_runpath
=yes
13654 hardcode_into_libs
=yes
13663 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13664 soname_spec
='${libname}${release}${shared_ext}$major'
13665 shlibpath_var
=LD_LIBRARY_PATH
13666 hardcode_into_libs
=yes
13673 dynamic_linker
="$host_os runtime_loader"
13674 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13675 soname_spec
='${libname}${release}${shared_ext}$major'
13676 shlibpath_var
=LIBRARY_PATH
13677 shlibpath_overrides_runpath
=yes
13678 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
13679 hardcode_into_libs
=yes
13682 hpux9
* | hpux10
* | hpux11
*)
13683 # Give a soname corresponding to the major version so that dld.sl refuses to
13684 # link against other versions.
13691 hardcode_into_libs
=yes
13692 dynamic_linker
="$host_os dld.so"
13693 shlibpath_var
=LD_LIBRARY_PATH
13694 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13695 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13696 soname_spec
='${libname}${release}${shared_ext}$major'
13697 if test "X$HPUX_IA64_MODE" = X32
; then
13698 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13700 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13702 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13706 hardcode_into_libs
=yes
13707 dynamic_linker
="$host_os dld.sl"
13708 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13709 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13710 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13711 soname_spec
='${libname}${release}${shared_ext}$major'
13712 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13713 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13717 dynamic_linker
="$host_os dld.sl"
13718 shlibpath_var
=SHLIB_PATH
13719 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13720 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13721 soname_spec
='${libname}${release}${shared_ext}$major'
13724 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13725 postinstall_cmds
='chmod 555 $lib'
13726 # or fails outright, so override atomically:
13727 install_override_mode
=555
13734 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13735 soname_spec
='${libname}${release}${shared_ext}$major'
13736 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13737 shlibpath_var
=LD_LIBRARY_PATH
13738 shlibpath_overrides_runpath
=no
13739 hardcode_into_libs
=yes
13742 irix5
* | irix6
* | nonstopux
*)
13744 nonstopux
*) version_type
=nonstopux
;;
13746 if test "$lt_cv_prog_gnu_ld" = yes; then
13754 soname_spec
='${libname}${release}${shared_ext}$major'
13755 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13757 irix5
* | nonstopux
*)
13758 libsuff
= shlibsuff
=
13761 case $LD in # libtool.m4 will add one of these switches to LD
13762 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13763 libsuff
= shlibsuff
= libmagic
=32-bit;;
13764 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13765 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13766 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13767 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13768 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13772 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13773 shlibpath_overrides_runpath
=no
13774 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13775 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13776 hardcode_into_libs
=yes
13779 # No shared lib support for Linux oldld, aout, or coff.
13780 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13784 # This must be Linux ELF.
13785 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13789 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13790 soname_spec
='${libname}${release}${shared_ext}$major'
13791 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13792 shlibpath_var
=LD_LIBRARY_PATH
13793 shlibpath_overrides_runpath
=no
13795 # Some binutils ld are patched to set DT_RUNPATH
13796 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
13797 $as_echo_n "(cached) " >&6
13799 lt_cv_shlibpath_overrides_runpath
=no
13800 save_LDFLAGS
=$LDFLAGS
13801 save_libdir
=$libdir
13802 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13803 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13805 /* end confdefs.h. */
13815 if ac_fn_cxx_try_link
"$LINENO"; then :
13816 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
13817 lt_cv_shlibpath_overrides_runpath
=yes
13820 rm -f core conftest.err conftest.
$ac_objext \
13821 conftest
$ac_exeext conftest.
$ac_ext
13822 LDFLAGS
=$save_LDFLAGS
13823 libdir
=$save_libdir
13827 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
13829 # This implies no fast_install, which is unacceptable.
13830 # Some rework will be needed to allow for fast_install
13831 # before this can be enabled.
13832 hardcode_into_libs
=yes
13834 # Append ld.so.conf contents to the search path
13835 if test -f /etc
/ld.so.conf
; then
13836 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' ' '`
13837 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13840 # We used to test for /lib/ld.so.1 and disable shared libraries on
13841 # powerpc, because MkLinux only supported shared libraries with the
13842 # GNU dynamic linker. Since this was broken with cross compilers,
13843 # most powerpc-linux boxes support dynamic linking these days and
13844 # people can always --disable-shared, the test was removed, and we
13845 # assume the GNU/Linux dynamic linker is in use.
13846 dynamic_linker
='GNU/Linux ld.so'
13853 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13854 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13855 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13856 dynamic_linker
='NetBSD (a.out) ld.so'
13858 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13859 soname_spec
='${libname}${release}${shared_ext}$major'
13860 dynamic_linker
='NetBSD ld.elf_so'
13862 shlibpath_var
=LD_LIBRARY_PATH
13863 shlibpath_overrides_runpath
=yes
13864 hardcode_into_libs
=yes
13869 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13870 shlibpath_var
=LD_LIBRARY_PATH
13871 shlibpath_overrides_runpath
=yes
13878 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13879 soname_spec
='${libname}${release}${shared_ext}$major'
13880 shlibpath_var
=LD_LIBRARY_PATH
13881 shlibpath_overrides_runpath
=no
13882 hardcode_into_libs
=yes
13883 dynamic_linker
='ldqnx.so'
13888 sys_lib_dlsearch_path_spec
="/usr/lib"
13890 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13892 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13893 *) need_version
=no
;;
13895 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13896 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13897 shlibpath_var
=LD_LIBRARY_PATH
13898 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13900 openbsd2.
[89] | openbsd2.
[89].
*)
13901 shlibpath_overrides_runpath
=no
13904 shlibpath_overrides_runpath
=yes
13908 shlibpath_overrides_runpath
=yes
13913 libname_spec
='$name'
13916 library_names_spec
='$libname${shared_ext} $libname.a'
13917 dynamic_linker
='OS/2 ld.exe'
13918 shlibpath_var
=LIBPATH
13921 osf3
* | osf4
* | osf5
*)
13925 soname_spec
='${libname}${release}${shared_ext}$major'
13926 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13927 shlibpath_var
=LD_LIBRARY_PATH
13928 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13929 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13940 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13941 soname_spec
='${libname}${release}${shared_ext}$major'
13942 shlibpath_var
=LD_LIBRARY_PATH
13943 shlibpath_overrides_runpath
=yes
13944 hardcode_into_libs
=yes
13945 # ldd complains unless libraries are executable
13946 postinstall_cmds
='chmod +x $lib'
13951 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13952 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13953 shlibpath_var
=LD_LIBRARY_PATH
13954 shlibpath_overrides_runpath
=yes
13955 if test "$with_gnu_ld" = yes; then
13963 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13964 soname_spec
='${libname}${release}${shared_ext}$major'
13965 shlibpath_var
=LD_LIBRARY_PATH
13966 case $host_vendor in
13968 shlibpath_overrides_runpath
=no
13970 runpath_var
=LD_RUN_PATH
13978 shlibpath_overrides_runpath
=no
13979 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13985 if test -d /usr
/nec
;then
13987 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13988 soname_spec
='$libname${shared_ext}.$major'
13989 shlibpath_var
=LD_LIBRARY_PATH
13993 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13994 version_type
=freebsd-elf
13997 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13998 soname_spec
='${libname}${release}${shared_ext}$major'
13999 shlibpath_var
=LD_LIBRARY_PATH
14000 shlibpath_overrides_runpath
=yes
14001 hardcode_into_libs
=yes
14002 if test "$with_gnu_ld" = yes; then
14003 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14005 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14008 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14012 sys_lib_dlsearch_path_spec
='/usr/lib'
14016 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14020 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14021 shlibpath_var
=LD_LIBRARY_PATH
14022 shlibpath_overrides_runpath
=no
14023 hardcode_into_libs
=yes
14028 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14029 soname_spec
='${libname}${release}${shared_ext}$major'
14030 shlibpath_var
=LD_LIBRARY_PATH
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14038 $as_echo "$dynamic_linker" >&6; }
14039 test "$dynamic_linker" = no
&& can_build_shared
=no
14041 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14042 if test "$GCC" = yes; then
14043 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14046 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14047 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14049 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14050 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14091 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14092 hardcode_action_CXX
=
14093 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14094 test -n "$runpath_var_CXX" ||
14095 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14097 # We can hardcode non-existent directories.
14098 if test "$hardcode_direct_CXX" != no
&&
14099 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14100 # have to relink, otherwise we might link with an installed library
14101 # when we should be linking with a yet-to-be-installed one
14102 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14103 test "$hardcode_minus_L_CXX" != no
; then
14104 # Linking always hardcodes the temporary library directory.
14105 hardcode_action_CXX
=relink
14107 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14108 hardcode_action_CXX
=immediate
14111 # We cannot hardcode anything, or else we can only hardcode existing
14113 hardcode_action_CXX
=unsupported
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14116 $as_echo "$hardcode_action_CXX" >&6; }
14118 if test "$hardcode_action_CXX" = relink ||
14119 test "$inherit_rpath_CXX" = yes; then
14120 # Fast installation is not supported
14121 enable_fast_install
=no
14122 elif test "$shlibpath_overrides_runpath" = yes ||
14123 test "$enable_shared" = no
; then
14124 # Fast installation is not necessary
14125 enable_fast_install
=needless
14134 fi # test -n "$compiler"
14140 with_gnu_ld
=$lt_save_with_gnu_ld
14141 lt_cv_path_LDCXX
=$lt_cv_path_LD
14142 lt_cv_path_LD
=$lt_save_path_LD
14143 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14144 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14145 fi # test "$_lt_caught_CXX_error" != yes
14148 ac_cpp
='$CPP $CPPFLAGS'
14149 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14150 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14151 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14165 ac_config_commands
="$ac_config_commands libtool"
14170 # Only expand once:
14173 # Forbid libtool to hardcode RPATH, because we want to be able to specify
14174 # library search directory using LD_LIBRARY_PATH
14175 hardcode_into_libs
=no
14180 cat >confcache
<<\_ACEOF
14181 # This file is a shell script that caches the results of configure
14182 # tests run on this system so they can be shared between configure
14183 # scripts and configure runs, see configure's option --config-cache.
14184 # It is not useful on other systems. If it contains results you don't
14185 # want to keep, you may remove or edit it.
14187 # config.status only pays attention to the cache file if you give it
14188 # the --recheck option to rerun configure.
14190 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14191 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14192 # following values.
14196 # The following way of writing the cache mishandles newlines in values,
14197 # but we know of no workaround that is simple, portable, and efficient.
14198 # So, we kill variables containing newlines.
14199 # Ultrix sh set writes to stderr and can't be redirected directly,
14200 # and sets the high bit in the cache file unless we assign to the vars.
14202 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14203 eval ac_val
=\$
$ac_var
14207 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14208 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14211 _ | IFS | as_nl
) ;; #(
14212 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14213 *) { eval $ac_var=; unset $ac_var;} ;;
14219 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14220 *${as_nl}ac_space
=\
*)
14221 # `set' does not quote correctly, so add quotes: double-quote
14222 # substitution turns \\\\ into \\, and sed turns \\ into \.
14225 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14228 # `set' quotes correctly as required by POSIX, so do not add quotes.
14229 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14238 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14240 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14242 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14243 if test -w "$cache_file"; then
14244 test "x$cache_file" != "x/dev/null" &&
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14246 $as_echo "$as_me: updating cache $cache_file" >&6;}
14247 cat confcache
>$cache_file
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14250 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14255 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14256 # Let make expand exec_prefix.
14257 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14259 # Transform confdefs.h into DEFS.
14260 # Protect against shell expansion while executing Makefile rules.
14261 # Protect against Makefile macro expansion.
14263 # If the first sed substitution is executed (which looks for macros that
14264 # take arguments), then branch to the quote section. Otherwise,
14265 # look for a macro that doesn't take arguments.
14275 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14277 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14281 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
14294 DEFS
=`sed -n "$ac_script" confdefs.h`
14299 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14300 # 1. Remove the extension, and $U if already installed.
14301 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14302 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14303 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14304 # will be set to the directory where LIBOBJS objects are built.
14305 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14306 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14308 LIBOBJS
=$ac_libobjs
14310 LTLIBOBJS
=$ac_ltlibobjs
14313 if test -n "$EXEEXT"; then
14315 am__EXEEXT_FALSE
='#'
14317 am__EXEEXT_TRUE
='#'
14321 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14322 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
14323 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14325 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14326 as_fn_error
"conditional \"AMDEP\" was never defined.
14327 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14329 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14330 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
14331 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14333 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
14334 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
14335 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14337 if test -z "${PLUGIN_HOST_TRUE}" && test -z "${PLUGIN_HOST_FALSE}"; then
14338 as_fn_error
"conditional \"PLUGIN_HOST\" was never defined.
14339 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14342 : ${CONFIG_STATUS=./config.status}
14344 ac_clean_files_save
=$ac_clean_files
14345 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14347 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14349 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14351 # Generated by $as_me.
14352 # Run this file to recreate the current configuration.
14353 # Compiler output produced by configure, useful for debugging
14354 # configure, is in config.log if it exists.
14357 ac_cs_recheck=false
14360 SHELL=\${CONFIG_SHELL-$SHELL}
14363 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14364 ## -------------------- ##
14365 ## M4sh Initialization. ##
14366 ## -------------------- ##
14368 # Be more Bourne compatible
14369 DUALCASE
=1; export DUALCASE
# for MKS sh
14370 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14373 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14374 # is contrary to our usage. Disable this feature.
14375 alias -g '${1+"$@"}'='"$@"'
14376 setopt NO_GLOB_SUBST
14378 case `(set -o) 2>/dev/null` in #(
14390 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14391 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14392 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14393 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14394 # Prefer a ksh shell builtin over an external printf program on Solaris,
14395 # but without wasting forks for bash or zsh.
14396 if test -z "$BASH_VERSION$ZSH_VERSION" \
14397 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14398 as_echo='print
-r --'
14399 as_echo_n='print
-rn --'
14400 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14401 as_echo='printf %s
\n'
14402 as_echo_n='printf %s
'
14404 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14405 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14406 as_echo_n='/usr
/ucb
/echo -n'
14408 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14409 as_echo_n_body='eval
14413 expr "X$arg" : "X\\(.*\\)$as_nl";
14414 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14416 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14418 export as_echo_n_body
14419 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14421 export as_echo_body
14422 as_echo='sh
-c $as_echo_body as_echo
'
14425 # The user is always right.
14426 if test "${PATH_SEPARATOR+set}" != set; then
14428 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14429 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14436 # We need space, tab and new line, in precisely that order. Quoting is
14437 # there to prevent editors from complaining about space-tab.
14438 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14439 # splitting by setting IFS to empty value.)
14442 # Find who we are. Look in the path if we contain no directory separator.
14444 *[\\/]* ) as_myself=$0 ;;
14445 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14446 for as_dir in $PATH
14449 test -z "$as_dir" && as_dir=.
14450 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14456 # We did not find ourselves, most probably we were run as `sh COMMAND'
14457 # in which case we are not to be found in the path.
14458 if test "x$as_myself" = x
; then
14461 if test ! -f "$as_myself"; then
14462 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14466 # Unset variables that we do not need and which cause bugs (e.g. in
14467 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14468 # suppresses any "Segmentation fault" message there. '((' could
14469 # trigger a bug in pdksh 5.2.14.
14470 for as_var
in BASH_ENV ENV MAIL MAILPATH
14471 do eval test x\
${$as_var+set} = xset \
14472 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14485 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14488 # as_fn_error ERROR [LINENO LOG_FD]
14489 # ---------------------------------
14490 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14491 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14492 # script with status $?, using 1 if that was 0.
14495 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14497 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14498 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14500 $as_echo "$as_me: error: $1" >&2
14501 as_fn_exit
$as_status
14505 # as_fn_set_status STATUS
14506 # -----------------------
14507 # Set $? to STATUS, without forking.
14508 as_fn_set_status
()
14511 } # as_fn_set_status
14513 # as_fn_exit STATUS
14514 # -----------------
14515 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14519 as_fn_set_status
$1
14525 # Portably unset VAR.
14528 { eval $1=; unset $1;}
14530 as_unset
=as_fn_unset
14531 # as_fn_append VAR VALUE
14532 # ----------------------
14533 # Append the text in VALUE to the end of the definition contained in VAR. Take
14534 # advantage of any shell optimizations that allow amortized linear growth over
14535 # repeated appends, instead of the typical quadratic growth present in naive
14537 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14538 eval 'as_fn_append ()
14549 # as_fn_arith ARG...
14550 # ------------------
14551 # Perform arithmetic evaluation on the ARGs, and store the result in the
14552 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14553 # must be portable across $(()) and expr.
14554 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14555 eval 'as_fn_arith ()
14562 as_val
=`expr "$@" || test $? -eq 1`
14567 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14568 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14574 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14575 as_basename
=basename
14580 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14586 as_me
=`$as_basename -- "$0" ||
14587 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14588 X"$0" : 'X\(//\)$' \| \
14589 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14591 sed '/^.*\/\([^/][^/]*\)\/*$/{
14605 # Avoid depending upon Character Ranges.
14606 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14607 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14608 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14609 as_cr_digits
='0123456789'
14610 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14612 ECHO_C
= ECHO_N
= ECHO_T
=
14613 case `echo -n x` in #(((((
14615 case `echo 'xy\c'` in
14616 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14618 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14625 rm -f conf$$ conf$$.exe conf$$.
file
14626 if test -d conf$$.dir
; then
14627 rm -f conf$$.dir
/conf$$.
file
14630 mkdir conf$$.dir
2>/dev
/null
14632 if (echo >conf$$.
file) 2>/dev
/null
; then
14633 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14635 # ... but there are two gotchas:
14636 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14637 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14638 # In both cases, we have to default to `cp -p'.
14639 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14641 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14649 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14650 rmdir conf$$.dir
2>/dev
/null
14655 # Create "$as_dir" as a directory, including parents if necessary.
14660 -*) as_dir
=.
/$as_dir;;
14662 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14666 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14667 *) as_qdir
=$as_dir;;
14669 as_dirs
="'$as_qdir' $as_dirs"
14670 as_dir
=`$as_dirname -- "$as_dir" ||
14671 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14672 X"$as_dir" : 'X\(//\)[^/]' \| \
14673 X"$as_dir" : 'X\(//\)$' \| \
14674 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14675 $as_echo X"$as_dir" |
14676 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14680 /^X\(\/\/\)[^/].*/{
14693 test -d "$as_dir" && break
14695 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14696 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14700 if mkdir
-p .
2>/dev
/null
; then
14701 as_mkdir_p
='mkdir -p "$as_dir"'
14703 test -d .
/-p && rmdir .
/-p
14707 if test -x / >/dev
/null
2>&1; then
14708 as_test_x
='test -x'
14710 if ls -dL / >/dev
/null
2>&1; then
14717 if test -d "$1"; then
14723 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14724 ???[sx]*):;;*)false;;esac;fi
14728 as_executable_p
=$as_test_x
14730 # Sed expression to map a string onto a valid CPP name.
14731 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14733 # Sed expression to map a string onto a valid variable name.
14734 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14738 ## ----------------------------------- ##
14739 ## Main body of $CONFIG_STATUS script. ##
14740 ## ----------------------------------- ##
14742 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14744 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14745 # Save the log message, to keep $0 and so on meaningful, and to
14746 # report actual input values of CONFIG_FILES etc. instead of their
14747 # values after options handling.
14749 This file was extended by Intel MIC Offload Plugin $as_me 1.0, which was
14750 generated by GNU Autoconf 2.64. Invocation command line was
14752 CONFIG_FILES = $CONFIG_FILES
14753 CONFIG_HEADERS = $CONFIG_HEADERS
14754 CONFIG_LINKS = $CONFIG_LINKS
14755 CONFIG_COMMANDS = $CONFIG_COMMANDS
14758 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14763 case $ac_config_files in *"
14764 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14769 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14770 # Files that config.status was made for.
14771 config_files="$ac_config_files"
14772 config_commands="$ac_config_commands"
14776 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14778 \`$as_me' instantiates files and other configuration actions
14779 from templates according to the current configuration. Unless the files
14780 and actions are specified as TAGs, all are instantiated by default.
14782 Usage: $0 [OPTION]... [TAG]...
14784 -h, --help print this help, then exit
14785 -V, --version print version number and configuration settings, then exit
14786 -q, --quiet, --silent
14787 do not print progress messages
14788 -d, --debug don't remove temporary files
14789 --recheck update $as_me by reconfiguring in the same conditions
14790 --file=FILE[:TEMPLATE]
14791 instantiate the configuration file FILE
14793 Configuration files:
14796 Configuration commands:
14799 Report bugs to the package provider."
14802 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14804 Intel MIC Offload Plugin config.status 1.0
14805 configured by $0, generated by GNU Autoconf 2.64,
14806 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14808 Copyright (C) 2009 Free Software Foundation, Inc.
14809 This config.status script is free software; the Free Software Foundation
14810 gives unlimited permission to copy, distribute and modify it."
14817 test -n "\$AWK" || AWK=awk
14820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14821 # The default lists apply if the user does not specify any file.
14827 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14828 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14839 # Handling of the options.
14840 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14842 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14843 $as_echo "$ac_cs_version"; exit ;;
14844 --debug |
--debu |
--deb |
--de |
--d |
-d )
14846 --file |
--fil |
--fi |
--f )
14849 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14851 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14852 ac_need_defaults
=false
;;
14853 --he |
--h |
--help |
--hel |
-h )
14854 $as_echo "$ac_cs_usage"; exit ;;
14855 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14856 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14859 # This is an error.
14860 -*) as_fn_error
"unrecognized option: \`$1'
14861 Try \`$0 --help' for more information." ;;
14863 *) as_fn_append ac_config_targets
" $1"
14864 ac_need_defaults
=false
;;
14870 ac_configure_extra_args
=
14872 if $ac_cs_silent; then
14874 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14879 if \$ac_cs_recheck; then
14880 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14882 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14883 CONFIG_SHELL='$SHELL'
14884 export CONFIG_SHELL
14889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14893 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14894 ## Running $as_me. ##
14900 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14904 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14909 with_multisubdir="$with_multisubdir"
14910 with_multisrctop="$with_multisrctop"
14911 with_target_subdir="$with_target_subdir"
14912 ac_configure_args="${multilib_arg} ${ac_configure_args}"
14913 multi_basedir="$multi_basedir"
14914 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
14917 GFORTRAN="$GFORTRAN"
14921 # The HP-UX ksh and POSIX shell print the target directory to stdout
14922 # if CDPATH is set.
14923 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14925 sed_quote_subst='$sed_quote_subst'
14926 double_quote_subst='$double_quote_subst'
14927 delay_variable_subst='$delay_variable_subst'
14928 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14929 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14930 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14931 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14932 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14933 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14934 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14935 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14936 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14937 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14938 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14939 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14940 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14941 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14942 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14943 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14944 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14945 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14946 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14947 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14948 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14949 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14950 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14951 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14952 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14953 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14954 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14955 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14956 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14957 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14958 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14959 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14960 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14961 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14962 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14963 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14964 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14965 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14966 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14967 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14968 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14969 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14970 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14971 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14972 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14973 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14974 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14975 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14976 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"`'
14977 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14978 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14979 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14980 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14981 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14982 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14983 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14984 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14985 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14986 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14987 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14988 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14989 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14990 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14991 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14992 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14993 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14994 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14995 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14996 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14997 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14998 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14999 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15000 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15001 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15002 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15003 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15004 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15005 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15006 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15007 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15008 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15009 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15010 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15011 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15012 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15013 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15014 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15015 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15016 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15017 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15018 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15019 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15020 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15021 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15022 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15023 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15024 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15025 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15026 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15027 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15028 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15029 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15030 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15031 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15032 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15033 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15034 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15035 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15036 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15037 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15038 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15039 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15040 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15041 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15042 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15043 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15044 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15045 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15046 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15047 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15048 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
15049 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
15050 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
15051 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
15052 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
15053 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
15054 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
15055 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
15056 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15057 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15058 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
15059 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
15060 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
15061 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
15062 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
15063 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
15064 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
15065 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
15066 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
15067 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15068 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15069 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
15070 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15071 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15072 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15073 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15074 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15075 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15076 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
15077 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15078 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15079 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15080 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
15081 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
15082 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
15083 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
15084 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
15085 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
15086 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
15087 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
15088 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
15089 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
15090 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
15091 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15092 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15093 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15094 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15095 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
15096 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
15097 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
15098 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15099 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15100 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
15101 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
15102 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
15105 LTCFLAGS='$LTCFLAGS'
15106 compiler='$compiler_DEFAULT'
15108 # A function that is used when there is no print builtin or printf.
15109 func_fallback_echo ()
15111 eval 'cat <<_LTECHO_EOF
15116 # Quote evaled strings.
15130 deplibs_check_method \
15139 lt_cv_sys_global_symbol_pipe \
15140 lt_cv_sys_global_symbol_to_cdecl \
15141 lt_cv_sys_global_symbol_to_c_name_address \
15142 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15143 lt_prog_compiler_no_builtin_flag \
15144 lt_prog_compiler_wl \
15145 lt_prog_compiler_pic \
15146 lt_prog_compiler_static \
15147 lt_cv_prog_compiler_c_o \
15155 export_dynamic_flag_spec \
15156 whole_archive_flag_spec \
15157 compiler_needs_object \
15159 allow_undefined_flag \
15160 no_undefined_flag \
15161 hardcode_libdir_flag_spec \
15162 hardcode_libdir_flag_spec_ld \
15163 hardcode_libdir_separator \
15168 variables_saved_for_relink \
15170 library_names_spec \
15172 install_override_mode \
15176 compiler_lib_search_dirs \
15181 compiler_lib_search_path \
15185 lt_prog_compiler_no_builtin_flag_CXX \
15186 lt_prog_compiler_wl_CXX \
15187 lt_prog_compiler_pic_CXX \
15188 lt_prog_compiler_static_CXX \
15189 lt_cv_prog_compiler_c_o_CXX \
15190 export_dynamic_flag_spec_CXX \
15191 whole_archive_flag_spec_CXX \
15192 compiler_needs_object_CXX \
15194 allow_undefined_flag_CXX \
15195 no_undefined_flag_CXX \
15196 hardcode_libdir_flag_spec_CXX \
15197 hardcode_libdir_flag_spec_ld_CXX \
15198 hardcode_libdir_separator_CXX \
15199 fix_srcfile_path_CXX \
15200 exclude_expsyms_CXX \
15201 include_expsyms_CXX \
15202 file_list_spec_CXX \
15203 compiler_lib_search_dirs_CXX \
15204 predep_objects_CXX \
15205 postdep_objects_CXX \
15208 compiler_lib_search_path_CXX; do
15209 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15210 *[\\\\\\\`\\"\\\$]*)
15211 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15214 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15219 # Double-quote double-evaled strings.
15220 for var in reload_cmds \
15221 old_postinstall_cmds \
15222 old_postuninstall_cmds \
15224 extract_expsyms_cmds \
15225 old_archive_from_new_cmds \
15226 old_archive_from_expsyms_cmds \
15228 archive_expsym_cmds \
15230 module_expsym_cmds \
15231 export_symbols_cmds \
15234 postuninstall_cmds \
15236 sys_lib_search_path_spec \
15237 sys_lib_dlsearch_path_spec \
15239 old_archive_cmds_CXX \
15240 old_archive_from_new_cmds_CXX \
15241 old_archive_from_expsyms_cmds_CXX \
15243 archive_expsym_cmds_CXX \
15245 module_expsym_cmds_CXX \
15246 export_symbols_cmds_CXX \
15247 prelink_cmds_CXX; do
15248 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15249 *[\\\\\\\`\\"\\\$]*)
15250 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15253 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15258 ac_aux_dir='$ac_aux_dir'
15259 xsi_shell='$xsi_shell'
15260 lt_shell_append='$lt_shell_append'
15262 # See if we are running on zsh, and set the options which allow our
15263 # commands through without removal of \ escapes INIT.
15264 if test -n "\${ZSH_VERSION+set}" ; then
15265 setopt NO_GLOB_SUBST
15271 TIMESTAMP='$TIMESTAMP'
15282 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15284 # Handling of arguments.
15285 for ac_config_target
in $ac_config_targets
15287 case $ac_config_target in
15288 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15289 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15290 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
15291 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15293 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15298 # If the user did not use the arguments to specify the items to instantiate,
15299 # then the envvar interface is used. Set only those that are not.
15300 # We use the long form for the default assignment because of an extremely
15301 # bizarre bug on SunOS 4.1.3.
15302 if $ac_need_defaults; then
15303 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15304 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15307 # Have a temporary directory for convenience. Make it in the build tree
15308 # simply because there is no reason against having it here, and in addition,
15309 # creating and moving files from /tmp can sometimes cause problems.
15310 # Hook for its removal unless debugging.
15311 # Note that there is a small window in which the directory will not be cleaned:
15312 # after its creation but before its name has been assigned to `$tmp'.
15316 trap 'exit_status=$?
15317 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15319 trap 'as_fn_exit 1' 1 2 13 15
15321 # Create a (secure) tmp directory for tmp files.
15324 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15325 test -n "$tmp" && test -d "$tmp"
15328 tmp
=.
/conf$$
-$RANDOM
15329 (umask 077 && mkdir
"$tmp")
15330 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15332 # Set up the scripts for CONFIG_FILES section.
15333 # No need to generate them if there are no CONFIG_FILES.
15334 # This happens for instance with `./config.status config.h'.
15335 if test -n "$CONFIG_FILES"; then
15338 ac_cr
=`echo X | tr X '\015'`
15339 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15340 # But we know of no other shell where ac_cr would be empty at this
15341 # point, so we can use a bashism as a fallback.
15342 if test "x$ac_cr" = x
; then
15343 eval ac_cr
=\$
\'\\r
\'
15345 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15346 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15349 ac_cs_awk_cr
=$ac_cr
15352 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15357 echo "cat >conf$$subs.awk <<_ACEOF" &&
15358 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15360 } >conf$$subs.sh ||
15361 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15362 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15364 for ac_last_try in false false false false false :; do
15365 . ./conf$$subs.sh ||
15366 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15368 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15369 if test $ac_delim_n = $ac_delim_num; then
15371 elif $ac_last_try; then
15372 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15374 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15377 rm -f conf$$subs.sh
15379 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15380 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15384 s/^/S["/; s
/!.
*/"]=/
15394 s/\(.\{148\}\).*/\1/
15396 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15401 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15408 s/\(.\{148\}\).*/\1/
15410 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15414 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15419 ' <conf$$subs.awk | sed '
15424 ' >>$CONFIG_STATUS || ac_write_fail=1
15425 rm -f conf$$subs.awk
15426 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15428 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15429 for (key in S) S_is_set[key] = 1
15435 nfields = split(line, field, "@
")
15437 len = length(field[1])
15438 for (i = 2; i < nfields; i++) {
15440 keylen = length(key)
15441 if (S_is_set[key]) {
15443 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15444 len += length(value) + length(field[++i])
15455 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15456 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15457 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15460 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15461 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15464 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15465 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15466 # trailing colons and then remove the whole line if VPATH becomes empty
15467 # (actually we leave an empty line to preserve line numbers).
15468 if test "x
$srcdir" = x.; then
15469 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15470 s/:*\$(srcdir):*/:/
15471 s/:*\${srcdir}:*/:/
15473 s/^\([^=]*=[ ]*\):*/\1/
15479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15480 fi # test -n "$CONFIG_FILES"
15483 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
15488 :[FHLC]) ac_mode=$ac_tag; continue;;
15490 case $ac_mode$ac_tag in
15492 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15493 :[FH]-) ac_tag=-:-;;
15494 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15511 -) ac_f="$tmp/stdin";;
15512 *) # Look for the file first in the build tree, then in the source tree
15513 # (if the path is not absolute). The absolute path cannot be DOS-style,
15514 # because $ac_f cannot contain `:'.
15518 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15520 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15522 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15523 as_fn_append ac_file_inputs " '$ac_f'"
15526 # Let's still pretend it is `configure' which instantiates (i.e., don't
15527 # use $as_me), people would be surprised to read:
15528 # /* config.h. Generated by config.status. */
15529 configure_input='Generated from '`
15530 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15532 if test x"$ac_file" != x-; then
15533 configure_input="$ac_file.
$configure_input"
15534 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15535 $as_echo "$as_me: creating
$ac_file" >&6;}
15537 # Neutralize special characters interpreted by sed in replacement strings.
15538 case $configure_input in #(
15539 *\&* | *\|* | *\\* )
15540 ac_sed_conf_input=`$as_echo "$configure_input" |
15541 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15542 *) ac_sed_conf_input=$configure_input;;
15546 *:-:* | *:-) cat >"$tmp/stdin
" \
15547 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15552 ac_dir=`$as_dirname -- "$ac_file" ||
15553 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15554 X"$ac_file" : 'X\(//\)[^/]' \| \
15555 X"$ac_file" : 'X\(//\)$' \| \
15556 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15557 $as_echo X"$ac_file" |
15558 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15562 /^X\(\/\/\)[^/].*/{
15575 as_dir="$ac_dir"; as_fn_mkdir_p
15579 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15581 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15582 # A "..
" for each directory in $ac_dir_suffix.
15583 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15584 case $ac_top_builddir_sub in
15585 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15586 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15589 ac_abs_top_builddir=$ac_pwd
15590 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15591 # for backward compatibility:
15592 ac_top_builddir=$ac_top_build_prefix
15595 .) # We are building in place.
15597 ac_top_srcdir=$ac_top_builddir_sub
15598 ac_abs_top_srcdir=$ac_pwd ;;
15599 [\\/]* | ?:[\\/]* ) # Absolute name.
15600 ac_srcdir=$srcdir$ac_dir_suffix;
15601 ac_top_srcdir=$srcdir
15602 ac_abs_top_srcdir=$srcdir ;;
15603 *) # Relative name.
15604 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15605 ac_top_srcdir=$ac_top_build_prefix$srcdir
15606 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15608 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15618 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15619 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15621 ac_MKDIR_P=$MKDIR_P
15623 [\\/$]* | ?:[\\/]* ) ;;
15624 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15628 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15629 # If the template does not know about datarootdir, expand it.
15630 # FIXME: This hack should be removed a few years after 2.60.
15631 ac_datarootdir_hack=; ac_datarootdir_seen=
15642 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15643 *datarootdir*) ac_datarootdir_seen=yes;;
15644 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15646 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15648 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15649 ac_datarootdir_hack='
15650 s&@datadir@&$datadir&g
15651 s&@docdir@&$docdir&g
15652 s&@infodir@&$infodir&g
15653 s&@localedir@&$localedir&g
15654 s&@mandir@&$mandir&g
15655 s&\\\${datarootdir}&$datarootdir&g' ;;
15659 # Neutralize VPATH when `$srcdir' = `.'.
15660 # Shell code in configure.ac might set extrasub.
15661 # FIXME: do we really want to maintain this feature?
15662 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15663 ac_sed_extra="$ac_vpsub
15666 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15668 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15669 s|@configure_input@|
$ac_sed_conf_input|
;t t
15670 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15671 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15672 s
&@srcdir@
&$ac_srcdir&;t t
15673 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15674 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15675 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15676 s
&@builddir@
&$ac_builddir&;t t
15677 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15678 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15679 s
&@INSTALL@
&$ac_INSTALL&;t t
15680 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15681 $ac_datarootdir_hack
15683 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
15684 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15686 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15687 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15688 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15690 which seems to be undefined. Please make sure it is defined." >&5
15691 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15692 which seems to be undefined. Please make sure it is defined." >&2;}
15696 -) cat "$tmp/out" && rm -f "$tmp/out";;
15697 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15699 || as_fn_error "could not create $ac_file" "$LINENO" 5
15703 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15704 $as_echo "$as_me: executing $ac_file commands" >&6;}
15709 case $ac_file$ac_mode in
15710 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15711 # Autoconf 2.62 quotes --file arguments for eval, but not when files
15712 # are listed without --file. Let's play safe and only
enable the
eval
15713 # if we detect the quoting.
15714 case $CONFIG_FILES in
15715 *\'*) eval set x
"$CONFIG_FILES" ;;
15716 *) set x
$CONFIG_FILES ;;
15721 # Strip MF so we end up with the name of the file.
15722 mf
=`echo "$mf" | sed -e 's/:.*$//'`
15723 # Check whether this is an Automake generated Makefile or not.
15724 # We used to match only the files named `Makefile.in', but
15725 # some people rename them; so instead we look at the file content.
15726 # Grep'ing the first line is not enough: some people post-process
15727 # each Makefile.in and add a new line on top of each file to say so.
15728 # Grep'ing the whole file is not good either: AIX grep has a line
15729 # limit of 2048, but all sed's we know have understand at least 4000.
15730 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
15731 dirpart
=`$as_dirname -- "$mf" ||
15732 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15733 X"$mf" : 'X\(//\)[^/]' \| \
15734 X"$mf" : 'X\(//\)$' \| \
15735 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15737 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15741 /^X\(\/\/\)[^/].*/{
15757 # Extract the definition of DEPDIR, am__include, and am__quote
15758 # from the Makefile without running `make'.
15759 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
15760 test -z "$DEPDIR" && continue
15761 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
15762 test -z "am__include" && continue
15763 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
15764 # When using ansi2knr, U may be empty or an underscore; expand it
15765 U
=`sed -n 's/^U = //p' < "$mf"`
15766 # Find all dependency output files, they are included files with
15767 # $(DEPDIR) in their names. We invoke sed twice because it is the
15768 # simplest approach to changing $(DEPDIR) to its actual value in the
15770 for file in `sed -n "
15771 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15772 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15773 # Make sure the directory exists.
15774 test -f "$dirpart/$file" && continue
15775 fdir
=`$as_dirname -- "$file" ||
15776 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15777 X"$file" : 'X\(//\)[^/]' \| \
15778 X"$file" : 'X\(//\)$' \| \
15779 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15780 $as_echo X"$file" |
15781 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15785 /^X\(\/\/\)[^/].*/{
15798 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
15799 # echo "creating $dirpart/$file"
15800 echo '# dummy' > "$dirpart/$file"
15806 # Only add multilib support code if we just rebuilt the top-level
15808 case " $CONFIG_FILES " in
15810 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
15815 # See if we are running on zsh, and set the options which allow our
15816 # commands through without removal of \ escapes.
15817 if test -n "${ZSH_VERSION+set}" ; then
15818 setopt NO_GLOB_SUBST
15821 cfgfile
="${ofile}T"
15822 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15825 cat <<_LT_EOF >> "$cfgfile"
15828 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15829 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15830 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15831 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15833 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15834 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
15835 # Written by Gordon Matzigkeit, 1996
15837 # This file is part of GNU Libtool.
15839 # GNU Libtool is free software; you can redistribute it and/or
15840 # modify it under the terms of the GNU General Public License as
15841 # published by the Free Software Foundation; either version 2 of
15842 # the License, or (at your option) any later version.
15844 # As a special exception to the GNU General Public License,
15845 # if you distribute this file as part of a program or library that
15846 # is built using GNU Libtool, you may include this file under the
15847 # same distribution terms that you use for the rest of that program.
15849 # GNU Libtool is distributed in the hope that it will be useful,
15850 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15851 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15852 # GNU General Public License for more details.
15854 # You should have received a copy of the GNU General Public License
15855 # along with GNU Libtool; see the file COPYING. If not, a copy
15856 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15857 # obtained by writing to the Free Software Foundation, Inc.,
15858 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15861 # The names of the tagged configurations supported by this script.
15862 available_tags="CXX "
15864 # ### BEGIN LIBTOOL CONFIG
15866 # Which release of libtool.m4 was used?
15867 macro_version=$macro_version
15868 macro_revision=$macro_revision
15870 # Whether or not to build shared libraries.
15871 build_libtool_libs=$enable_shared
15873 # Whether or not to build static libraries.
15874 build_old_libs=$enable_static
15876 # What type of objects to build.
15879 # Whether or not to optimize for fast installation.
15880 fast_install=$enable_fast_install
15882 # Shell to use when invoking shell scripts.
15885 # An echo program that protects backslashes.
15889 host_alias=$host_alias
15893 # The build system.
15894 build_alias=$build_alias
15898 # A sed program that does not truncate output.
15901 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15902 Xsed="\$SED -e 1s/^X//"
15904 # A grep program that handles long lines.
15910 # A literal string matcher.
15913 # A BSD- or MS-compatible name lister.
15916 # Whether we need soft or hard links.
15919 # What is the maximum length of a command?
15920 max_cmd_len=$max_cmd_len
15922 # Object file suffix (normally "o").
15925 # Executable file suffix (normally "").
15928 # whether the shell understands "unset".
15931 # turn spaces into newlines.
15934 # turn newlines into spaces.
15937 # An object symbol dumper.
15938 OBJDUMP=$lt_OBJDUMP
15940 # Method to check whether dependent libraries are shared objects.
15941 deplibs_check_method=$lt_deplibs_check_method
15943 # Command to use when deplibs_check_method == "file_magic".
15944 file_magic_cmd=$lt_file_magic_cmd
15948 AR_FLAGS=$lt_AR_FLAGS
15950 # A symbol stripping program.
15953 # Commands used to install an old-style archive.
15955 old_postinstall_cmds=$lt_old_postinstall_cmds
15956 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15958 # Whether to use a lock for old archive extraction.
15959 lock_old_archive_extraction=$lock_old_archive_extraction
15964 # LTCC compiler flags.
15965 LTCFLAGS=$lt_CFLAGS
15967 # Take the output of nm and produce a listing of raw symbols and C names.
15968 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15970 # Transform the output of nm in a proper C declaration.
15971 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15973 # Transform the output of nm in a C name address pair.
15974 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15976 # Transform the output of nm in a C name address pair when lib prefix is needed.
15977 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15979 # The name of the directory that contains temporary libtool files.
15982 # Used to examine libraries when file_magic_cmd begins with "file".
15983 MAGIC_CMD=$MAGIC_CMD
15985 # Must we lock files when doing compilation?
15986 need_locks=$lt_need_locks
15988 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15989 DSYMUTIL=$lt_DSYMUTIL
15991 # Tool to change global to local symbols on Mac OS X.
15994 # Tool to manipulate fat objects and archives on Mac OS X.
15997 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16000 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16001 OTOOL64=$lt_OTOOL64
16003 # Old archive suffix (normally "a").
16006 # Shared library suffix (normally ".so").
16007 shrext_cmds=$lt_shrext_cmds
16009 # The commands to extract the exported symbol list from a shared archive.
16010 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16012 # Variables whose values should be saved in libtool wrapper scripts and
16013 # restored at link time.
16014 variables_saved_for_relink=$lt_variables_saved_for_relink
16016 # Do we need the "lib" prefix for modules?
16017 need_lib_prefix=$need_lib_prefix
16019 # Do we need a version for libraries?
16020 need_version=$need_version
16022 # Library versioning type.
16023 version_type=$version_type
16025 # Shared library runtime path variable.
16026 runpath_var=$runpath_var
16028 # Shared library path variable.
16029 shlibpath_var=$shlibpath_var
16031 # Is shlibpath searched before the hard-coded library search path?
16032 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16034 # Format of library name prefix.
16035 libname_spec=$lt_libname_spec
16037 # List of archive names. First name is the real one, the rest are links.
16038 # The last name is the one that the linker finds with -lNAME
16039 library_names_spec=$lt_library_names_spec
16041 # The coded name of the library, if different from the real name.
16042 soname_spec=$lt_soname_spec
16044 # Permission mode override for installation of shared libraries.
16045 install_override_mode=$lt_install_override_mode
16047 # Command to use after installation of a shared archive.
16048 postinstall_cmds=$lt_postinstall_cmds
16050 # Command to use after uninstallation of a shared archive.
16051 postuninstall_cmds=$lt_postuninstall_cmds
16053 # Commands used to finish a libtool library installation in a directory.
16054 finish_cmds=$lt_finish_cmds
16056 # As "finish_cmds", except a single script fragment to be evaled but
16058 finish_eval=$lt_finish_eval
16060 # Whether we should hardcode library paths into libraries.
16061 hardcode_into_libs=$hardcode_into_libs
16063 # Compile-time system search path for libraries.
16064 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16066 # Run-time system search path for libraries.
16067 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16069 # Whether dlopen is supported.
16070 dlopen_support=$enable_dlopen
16072 # Whether dlopen of programs is supported.
16073 dlopen_self=$enable_dlopen_self
16075 # Whether dlopen of statically linked programs is supported.
16076 dlopen_self_static=$enable_dlopen_self_static
16078 # Commands to strip libraries.
16079 old_striplib=$lt_old_striplib
16080 striplib=$lt_striplib
16083 # The linker used to build libraries.
16086 # How to create reloadable object files.
16087 reload_flag=$lt_reload_flag
16088 reload_cmds=$lt_reload_cmds
16090 # Commands used to build an old-style archive.
16091 old_archive_cmds=$lt_old_archive_cmds
16093 # A language specific compiler.
16096 # Is the compiler the GNU compiler?
16099 # Compiler flag to turn off builtin functions.
16100 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16102 # How to pass a linker flag through the compiler.
16103 wl=$lt_lt_prog_compiler_wl
16105 # Additional compiler flags for building library objects.
16106 pic_flag=$lt_lt_prog_compiler_pic
16108 # Compiler flag to prevent dynamic linking.
16109 link_static_flag=$lt_lt_prog_compiler_static
16111 # Does compiler simultaneously support -c and -o options?
16112 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16114 # Whether or not to add -lc for building shared libraries.
16115 build_libtool_need_lc=$archive_cmds_need_lc
16117 # Whether or not to disallow shared libs when runtime libs are static.
16118 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16120 # Compiler flag to allow reflexive dlopens.
16121 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16123 # Compiler flag to generate shared objects directly from archives.
16124 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16126 # Whether the compiler copes with passing no objects directly.
16127 compiler_needs_object=$lt_compiler_needs_object
16129 # Create an old-style archive from a shared archive.
16130 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16132 # Create a temporary old-style archive to link instead of a shared archive.
16133 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16135 # Commands used to build a shared archive.
16136 archive_cmds=$lt_archive_cmds
16137 archive_expsym_cmds=$lt_archive_expsym_cmds
16139 # Commands used to build a loadable module if different from building
16140 # a shared archive.
16141 module_cmds=$lt_module_cmds
16142 module_expsym_cmds=$lt_module_expsym_cmds
16144 # Whether we are building with GNU ld or not.
16145 with_gnu_ld=$lt_with_gnu_ld
16147 # Flag that allows shared libraries with undefined symbols to be built.
16148 allow_undefined_flag=$lt_allow_undefined_flag
16150 # Flag that enforces no undefined symbols.
16151 no_undefined_flag=$lt_no_undefined_flag
16153 # Flag to hardcode \$libdir into a binary during linking.
16154 # This must work even if \$libdir does not exist
16155 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16157 # If ld is used when linking, flag to hardcode \$libdir into a binary
16158 # during linking. This must work even if \$libdir does not exist.
16159 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16161 # Whether we need a single "-rpath" flag with a separated argument.
16162 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16164 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16165 # DIR into the resulting binary.
16166 hardcode_direct=$hardcode_direct
16168 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16169 # DIR into the resulting binary and the resulting library dependency is
16170 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16171 # library is relocated.
16172 hardcode_direct_absolute=$hardcode_direct_absolute
16174 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16175 # into the resulting binary.
16176 hardcode_minus_L=$hardcode_minus_L
16178 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16179 # into the resulting binary.
16180 hardcode_shlibpath_var=$hardcode_shlibpath_var
16182 # Set to "yes" if building a shared library automatically hardcodes DIR
16183 # into the library and all subsequent libraries and executables linked
16185 hardcode_automatic=$hardcode_automatic
16187 # Set to yes if linker adds runtime paths of dependent libraries
16188 # to runtime path list.
16189 inherit_rpath=$inherit_rpath
16191 # Whether libtool must link a program against all its dependency libraries.
16192 link_all_deplibs=$link_all_deplibs
16194 # Fix the shell variable \$srcfile for the compiler.
16195 fix_srcfile_path=$lt_fix_srcfile_path
16197 # Set to "yes" if exported symbols are required.
16198 always_export_symbols=$always_export_symbols
16200 # The commands to list exported symbols.
16201 export_symbols_cmds=$lt_export_symbols_cmds
16203 # Symbols that should not be listed in the preloaded symbols.
16204 exclude_expsyms=$lt_exclude_expsyms
16206 # Symbols that must always be exported.
16207 include_expsyms=$lt_include_expsyms
16209 # Commands necessary for linking programs (against libraries) with templates.
16210 prelink_cmds=$lt_prelink_cmds
16212 # Specify filename containing input files.
16213 file_list_spec=$lt_file_list_spec
16215 # How to hardcode a shared library path into an executable.
16216 hardcode_action=$hardcode_action
16218 # The directories searched by this compiler when creating a shared library.
16219 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
16221 # Dependencies to place before and after the objects being linked to
16222 # create a shared library.
16223 predep_objects=$lt_predep_objects
16224 postdep_objects=$lt_postdep_objects
16225 predeps=$lt_predeps
16226 postdeps=$lt_postdeps
16228 # The library search path used internally by the compiler when linking
16229 # a shared library.
16230 compiler_lib_search_path=$lt_compiler_lib_search_path
16232 # ### END LIBTOOL CONFIG
16238 cat <<\_LT_EOF
>> "$cfgfile"
16239 # AIX sometimes has problems with the GCC collect2 program. For some
16240 # reason, if we set the COLLECT_NAMES environment variable, the problems
16241 # vanish in a puff of smoke.
16242 if test "X${COLLECT_NAMES+set}" != Xset
; then
16244 export COLLECT_NAMES
16251 ltmain
="$ac_aux_dir/ltmain.sh"
16254 # We use sed instead of cat because bash on DJGPP gets confused if
16255 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16256 # text mode, it properly converts lines to CR/LF. This bash problem
16257 # is reportedly fixed, but why not run on old versions too?
16258 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16259 ||
(rm -f "$cfgfile"; exit 1)
16263 cat << \_LT_EOF
>> "$cfgfile"
16265 # func_dirname file append nondir_replacement
16266 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16267 # otherwise set result to NONDIR_REPLACEMENT.
16271 */*) func_dirname_result
="${1%/*}${2}" ;;
16272 * ) func_dirname_result
="${3}" ;;
16276 # func_basename file
16279 func_basename_result
="${1##*/}"
16282 # func_dirname_and_basename file append nondir_replacement
16283 # perform func_basename and func_dirname in a single function
16285 # dirname: Compute the dirname of FILE. If nonempty,
16286 # add APPEND to the result, otherwise set result
16287 # to NONDIR_REPLACEMENT.
16288 # value returned in "$func_dirname_result"
16289 # basename: Compute filename of FILE.
16290 # value retuned in "$func_basename_result"
16291 # Implementation must be kept synchronized with func_dirname
16292 # and func_basename. For efficiency, we do not delegate to
16293 # those functions but instead duplicate the functionality here.
16294 func_dirname_and_basename
()
16297 */*) func_dirname_result
="${1%/*}${2}" ;;
16298 * ) func_dirname_result
="${3}" ;;
16300 func_basename_result
="${1##*/}"
16303 # func_stripname prefix suffix name
16304 # strip PREFIX and SUFFIX off of NAME.
16305 # PREFIX and SUFFIX must not contain globbing or regex special
16306 # characters, hashes, percent signs, but SUFFIX may contain a leading
16307 # dot (in which case that matches only a dot).
16310 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16311 # positional parameters, so assign one to ordinary parameter first.
16312 func_stripname_result
=${3}
16313 func_stripname_result
=${func_stripname_result#"${1}"}
16314 func_stripname_result
=${func_stripname_result%"${2}"}
16320 func_opt_split_opt
=${1%%=*}
16321 func_opt_split_arg
=${1#*=}
16328 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16329 *) func_lo2o_result
=${1} ;;
16333 # func_xform libobj-or-source
16336 func_xform_result
=${1%.*}.lo
16339 # func_arith arithmetic-term...
16342 func_arith_result
=$
(( $
* ))
16346 # STRING may not start with a hyphen.
16349 func_len_result
=${#1}
16354 *) # Bourne compatible functions.
16355 cat << \_LT_EOF
>> "$cfgfile"
16357 # func_dirname file append nondir_replacement
16358 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16359 # otherwise set result to NONDIR_REPLACEMENT.
16362 # Extract subdirectory from the argument.
16363 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
16364 if test "X$func_dirname_result" = "X${1}"; then
16365 func_dirname_result
="${3}"
16367 func_dirname_result
="$func_dirname_result${2}"
16371 # func_basename file
16374 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
16378 # func_stripname prefix suffix name
16379 # strip PREFIX and SUFFIX off of NAME.
16380 # PREFIX and SUFFIX must not contain globbing or regex special
16381 # characters, hashes, percent signs, but SUFFIX may contain a leading
16382 # dot (in which case that matches only a dot).
16383 # func_strip_suffix prefix name
16387 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16388 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16393 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16394 my_sed_long_arg
='1s/^-[^=]*=//'
16399 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16400 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16406 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
16409 # func_xform libobj-or-source
16412 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16415 # func_arith arithmetic-term...
16418 func_arith_result
=`expr "$@"`
16422 # STRING may not start with a hyphen.
16425 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16431 case $lt_shell_append in
16433 cat << \_LT_EOF
>> "$cfgfile"
16435 # func_append var value
16436 # Append VALUE to the end of shell variable VAR.
16444 cat << \_LT_EOF
>> "$cfgfile"
16446 # func_append var value
16447 # Append VALUE to the end of shell variable VAR.
16458 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16459 ||
(rm -f "$cfgfile"; exit 1)
16461 mv -f "$cfgfile" "$ofile" ||
16462 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16466 cat <<_LT_EOF >> "$ofile"
16468 # ### BEGIN LIBTOOL TAG CONFIG: CXX
16470 # The linker used to build libraries.
16473 # How to create reloadable object files.
16474 reload_flag=$lt_reload_flag_CXX
16475 reload_cmds=$lt_reload_cmds_CXX
16477 # Commands used to build an old-style archive.
16478 old_archive_cmds=$lt_old_archive_cmds_CXX
16480 # A language specific compiler.
16481 CC=$lt_compiler_CXX
16483 # Is the compiler the GNU compiler?
16486 # Compiler flag to turn off builtin functions.
16487 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
16489 # How to pass a linker flag through the compiler.
16490 wl=$lt_lt_prog_compiler_wl_CXX
16492 # Additional compiler flags for building library objects.
16493 pic_flag=$lt_lt_prog_compiler_pic_CXX
16495 # Compiler flag to prevent dynamic linking.
16496 link_static_flag=$lt_lt_prog_compiler_static_CXX
16498 # Does compiler simultaneously support -c and -o options?
16499 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
16501 # Whether or not to add -lc for building shared libraries.
16502 build_libtool_need_lc=$archive_cmds_need_lc_CXX
16504 # Whether or not to disallow shared libs when runtime libs are static.
16505 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
16507 # Compiler flag to allow reflexive dlopens.
16508 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
16510 # Compiler flag to generate shared objects directly from archives.
16511 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
16513 # Whether the compiler copes with passing no objects directly.
16514 compiler_needs_object=$lt_compiler_needs_object_CXX
16516 # Create an old-style archive from a shared archive.
16517 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
16519 # Create a temporary old-style archive to link instead of a shared archive.
16520 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
16522 # Commands used to build a shared archive.
16523 archive_cmds=$lt_archive_cmds_CXX
16524 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
16526 # Commands used to build a loadable module if different from building
16527 # a shared archive.
16528 module_cmds=$lt_module_cmds_CXX
16529 module_expsym_cmds=$lt_module_expsym_cmds_CXX
16531 # Whether we are building with GNU ld or not.
16532 with_gnu_ld=$lt_with_gnu_ld_CXX
16534 # Flag that allows shared libraries with undefined symbols to be built.
16535 allow_undefined_flag=$lt_allow_undefined_flag_CXX
16537 # Flag that enforces no undefined symbols.
16538 no_undefined_flag=$lt_no_undefined_flag_CXX
16540 # Flag to hardcode \$libdir into a binary during linking.
16541 # This must work even if \$libdir does not exist
16542 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
16544 # If ld is used when linking, flag to hardcode \$libdir into a binary
16545 # during linking. This must work even if \$libdir does not exist.
16546 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
16548 # Whether we need a single "-rpath" flag with a separated argument.
16549 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
16551 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16552 # DIR into the resulting binary.
16553 hardcode_direct=$hardcode_direct_CXX
16555 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16556 # DIR into the resulting binary and the resulting library dependency is
16557 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16558 # library is relocated.
16559 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
16561 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16562 # into the resulting binary.
16563 hardcode_minus_L=$hardcode_minus_L_CXX
16565 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16566 # into the resulting binary.
16567 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
16569 # Set to "yes" if building a shared library automatically hardcodes DIR
16570 # into the library and all subsequent libraries and executables linked
16572 hardcode_automatic=$hardcode_automatic_CXX
16574 # Set to yes if linker adds runtime paths of dependent libraries
16575 # to runtime path list.
16576 inherit_rpath=$inherit_rpath_CXX
16578 # Whether libtool must link a program against all its dependency libraries.
16579 link_all_deplibs=$link_all_deplibs_CXX
16581 # Fix the shell variable \$srcfile for the compiler.
16582 fix_srcfile_path=$lt_fix_srcfile_path_CXX
16584 # Set to "yes" if exported symbols are required.
16585 always_export_symbols=$always_export_symbols_CXX
16587 # The commands to list exported symbols.
16588 export_symbols_cmds=$lt_export_symbols_cmds_CXX
16590 # Symbols that should not be listed in the preloaded symbols.
16591 exclude_expsyms=$lt_exclude_expsyms_CXX
16593 # Symbols that must always be exported.
16594 include_expsyms=$lt_include_expsyms_CXX
16596 # Commands necessary for linking programs (against libraries) with templates.
16597 prelink_cmds=$lt_prelink_cmds_CXX
16599 # Specify filename containing input files.
16600 file_list_spec=$lt_file_list_spec_CXX
16602 # How to hardcode a shared library path into an executable.
16603 hardcode_action=$hardcode_action_CXX
16605 # The directories searched by this compiler when creating a shared library.
16606 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
16608 # Dependencies to place before and after the objects being linked to
16609 # create a shared library.
16610 predep_objects=$lt_predep_objects_CXX
16611 postdep_objects=$lt_postdep_objects_CXX
16612 predeps=$lt_predeps_CXX
16613 postdeps=$lt_postdeps_CXX
16615 # The library search path used internally by the compiler when linking
16616 # a shared library.
16617 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
16619 # ### END LIBTOOL TAG CONFIG: CXX
16630 ac_clean_files
=$ac_clean_files_save
16632 test $ac_write_fail = 0 ||
16633 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16636 # configure is writing to config.log, and then calls config.status.
16637 # config.status does its own redirection, appending to config.log.
16638 # Unfortunately, on DOS this fails, as config.log is still kept open
16639 # by configure, so config.status won't be able to write to it; its
16640 # output is simply discarded. So we exec the FD to /dev/null,
16641 # effectively closing config.log, so it can be properly (re)opened and
16642 # appended to by config.status. When coming back to configure, we
16643 # need to make the FD available again.
16644 if test "$no_create" != yes; then
16646 ac_config_status_args
=
16647 test "$silent" = yes &&
16648 ac_config_status_args
="$ac_config_status_args --quiet"
16650 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16652 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16653 # would make configure fail if this is the last instruction.
16654 $ac_cs_success || as_fn_exit $?
16656 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16658 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}