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
656 MAINTAINER_MODE_FALSE
666 INSTALL_STRIP_PROGRAM
720 program_transform_name
733 enable_option_checking
734 enable_maintainer_mode
735 enable_dependency_tracking
737 enable_version_specific_runtime_libs
744 with_gcc_major_version_only
746 ac_precious_vars
='build_alias
761 # Initialize some variables set by options.
763 ac_init_version
=false
764 ac_unrecognized_opts
=
766 # The variables have the same names as the options, with
767 # dashes changed to underlines.
775 program_transform_name
=s
,x
,x
,
783 # Installation directory options.
784 # These are left unexpanded so users can "make install exec_prefix=/foo"
785 # and all the variables that are supposed to be based on exec_prefix
786 # by default will actually change.
787 # Use braces instead of parens because sh, perl, etc. also accept them.
788 # (The list follows the same order as the GNU Coding Standards.)
789 bindir
='${exec_prefix}/bin'
790 sbindir
='${exec_prefix}/sbin'
791 libexecdir
='${exec_prefix}/libexec'
792 datarootdir
='${prefix}/share'
793 datadir
='${datarootdir}'
794 sysconfdir
='${prefix}/etc'
795 sharedstatedir
='${prefix}/com'
796 localstatedir
='${prefix}/var'
797 includedir
='${prefix}/include'
798 oldincludedir
='/usr/include'
799 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
800 infodir
='${datarootdir}/info'
805 libdir
='${exec_prefix}/lib'
806 localedir
='${datarootdir}/locale'
807 mandir
='${datarootdir}/man'
813 # If the previous option needs an argument, assign it.
814 if test -n "$ac_prev"; then
815 eval $ac_prev=\
$ac_option
821 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
825 # Accept the important Cygnus configure options, so we can diagnose typos.
827 case $ac_dashdash$ac_option in
831 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
833 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
836 -build |
--build |
--buil |
--bui |
--bu)
837 ac_prev
=build_alias
;;
838 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
839 build_alias
=$ac_optarg ;;
841 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
842 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
843 ac_prev
=cache_file
;;
844 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
845 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
846 cache_file
=$ac_optarg ;;
849 cache_file
=config.cache
;;
851 -datadir |
--datadir |
--datadi |
--datad)
853 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
854 datadir
=$ac_optarg ;;
856 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
857 |
--dataroo |
--dataro |
--datar)
858 ac_prev
=datarootdir
;;
859 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
860 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
861 datarootdir
=$ac_optarg ;;
863 -disable-* |
--disable-*)
864 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
865 # Reject names that are not valid shell variable names.
866 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
867 as_fn_error
"invalid feature name: $ac_useropt"
868 ac_useropt_orig
=$ac_useropt
869 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
870 case $ac_user_opts in
874 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
875 ac_unrecognized_sep
=', ';;
877 eval enable_
$ac_useropt=no
;;
879 -docdir |
--docdir |
--docdi |
--doc |
--do)
881 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
884 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
886 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
889 -enable-* |
--enable-*)
890 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
891 # Reject names that are not valid shell variable names.
892 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
893 as_fn_error
"invalid feature name: $ac_useropt"
894 ac_useropt_orig
=$ac_useropt
895 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
896 case $ac_user_opts in
900 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
901 ac_unrecognized_sep
=', ';;
903 eval enable_
$ac_useropt=\
$ac_optarg ;;
905 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
906 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
907 |
--exec |
--exe |
--ex)
908 ac_prev
=exec_prefix
;;
909 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
910 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
911 |
--exec=* |
--exe=* |
--ex=*)
912 exec_prefix
=$ac_optarg ;;
914 -gas |
--gas |
--ga |
--g)
915 # Obsolete; use --with-gas.
918 -help |
--help |
--hel |
--he |
-h)
920 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
921 ac_init_help
=recursive
;;
922 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
923 ac_init_help
=short
;;
925 -host |
--host |
--hos |
--ho)
926 ac_prev
=host_alias
;;
927 -host=* |
--host=* |
--hos=* |
--ho=*)
928 host_alias
=$ac_optarg ;;
930 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
932 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
934 htmldir
=$ac_optarg ;;
936 -includedir |
--includedir |
--includedi |
--included |
--include \
937 |
--includ |
--inclu |
--incl |
--inc)
938 ac_prev
=includedir
;;
939 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
940 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
941 includedir
=$ac_optarg ;;
943 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
945 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
946 infodir
=$ac_optarg ;;
948 -libdir |
--libdir |
--libdi |
--libd)
950 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
953 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
954 |
--libexe |
--libex |
--libe)
955 ac_prev
=libexecdir
;;
956 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
957 |
--libexe=* |
--libex=* |
--libe=*)
958 libexecdir
=$ac_optarg ;;
960 -localedir |
--localedir |
--localedi |
--localed |
--locale)
962 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
963 localedir
=$ac_optarg ;;
965 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
966 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
967 ac_prev
=localstatedir
;;
968 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
969 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
970 localstatedir
=$ac_optarg ;;
972 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
974 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
978 # Obsolete; use --without-fp.
981 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
982 |
--no-cr |
--no-c |
-n)
985 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
986 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
989 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
990 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
991 |
--oldin |
--oldi |
--old |
--ol |
--o)
992 ac_prev
=oldincludedir
;;
993 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
994 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
995 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
996 oldincludedir
=$ac_optarg ;;
998 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1000 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1001 prefix
=$ac_optarg ;;
1003 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1004 |
--program-pre |
--program-pr |
--program-p)
1005 ac_prev
=program_prefix
;;
1006 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1007 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1008 program_prefix
=$ac_optarg ;;
1010 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1011 |
--program-suf |
--program-su |
--program-s)
1012 ac_prev
=program_suffix
;;
1013 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1014 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1015 program_suffix
=$ac_optarg ;;
1017 -program-transform-name |
--program-transform-name \
1018 |
--program-transform-nam |
--program-transform-na \
1019 |
--program-transform-n |
--program-transform- \
1020 |
--program-transform |
--program-transfor \
1021 |
--program-transfo |
--program-transf \
1022 |
--program-trans |
--program-tran \
1023 |
--progr-tra |
--program-tr |
--program-t)
1024 ac_prev
=program_transform_name
;;
1025 -program-transform-name=* |
--program-transform-name=* \
1026 |
--program-transform-nam=* |
--program-transform-na=* \
1027 |
--program-transform-n=* |
--program-transform-=* \
1028 |
--program-transform=* |
--program-transfor=* \
1029 |
--program-transfo=* |
--program-transf=* \
1030 |
--program-trans=* |
--program-tran=* \
1031 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1032 program_transform_name
=$ac_optarg ;;
1034 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1036 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1037 pdfdir
=$ac_optarg ;;
1039 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1041 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1044 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1045 |
-silent |
--silent |
--silen |
--sile |
--sil)
1048 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1050 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1052 sbindir
=$ac_optarg ;;
1054 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1055 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1056 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1058 ac_prev
=sharedstatedir
;;
1059 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1060 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1061 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1063 sharedstatedir
=$ac_optarg ;;
1065 -site |
--site |
--sit)
1067 -site=* |
--site=* |
--sit=*)
1070 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1072 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1073 srcdir
=$ac_optarg ;;
1075 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1076 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1077 ac_prev
=sysconfdir
;;
1078 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1079 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1080 sysconfdir
=$ac_optarg ;;
1082 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1083 ac_prev
=target_alias
;;
1084 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1085 target_alias
=$ac_optarg ;;
1087 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1090 -version |
--version |
--versio |
--versi |
--vers |
-V)
1091 ac_init_version
=: ;;
1094 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1095 # Reject names that are not valid shell variable names.
1096 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1097 as_fn_error
"invalid package name: $ac_useropt"
1098 ac_useropt_orig
=$ac_useropt
1099 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1100 case $ac_user_opts in
1104 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1105 ac_unrecognized_sep
=', ';;
1107 eval with_
$ac_useropt=\
$ac_optarg ;;
1109 -without-* |
--without-*)
1110 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1111 # Reject names that are not valid shell variable names.
1112 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1113 as_fn_error
"invalid package name: $ac_useropt"
1114 ac_useropt_orig
=$ac_useropt
1115 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1116 case $ac_user_opts in
1120 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1121 ac_unrecognized_sep
=', ';;
1123 eval with_
$ac_useropt=no
;;
1126 # Obsolete; use --with-x.
1129 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1130 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1131 ac_prev
=x_includes
;;
1132 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1133 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1134 x_includes
=$ac_optarg ;;
1136 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1137 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1138 ac_prev
=x_libraries
;;
1139 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1140 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1141 x_libraries
=$ac_optarg ;;
1143 -*) as_fn_error
"unrecognized option: \`$ac_option'
1144 Try \`$0 --help' for more information."
1148 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1149 # Reject names that are not valid shell variable names.
1150 case $ac_envvar in #(
1151 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1152 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1154 eval $ac_envvar=\
$ac_optarg
1155 export $ac_envvar ;;
1158 # FIXME: should be removed in autoconf 3.0.
1159 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1160 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1161 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1162 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1168 if test -n "$ac_prev"; then
1169 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1170 as_fn_error
"missing argument to $ac_option"
1173 if test -n "$ac_unrecognized_opts"; then
1174 case $enable_option_checking in
1176 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1177 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1181 # Check all directory arguments for consistency.
1182 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1183 datadir sysconfdir sharedstatedir localstatedir includedir \
1184 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1185 libdir localedir mandir
1187 eval ac_val
=\$
$ac_var
1188 # Remove trailing slashes.
1191 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1192 eval $ac_var=\
$ac_val;;
1194 # Be sure to have absolute directory names.
1196 [\\/$
]* | ?
:[\\/]* ) continue;;
1197 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1199 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1202 # There might be people who depend on the old broken behavior: `$host'
1203 # used to hold the argument of --host etc.
1204 # FIXME: To remove some day.
1207 target
=$target_alias
1209 # FIXME: To remove some day.
1210 if test "x$host_alias" != x
; then
1211 if test "x$build_alias" = x
; then
1212 cross_compiling
=maybe
1213 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1214 If a cross compiler is detected then cross compile mode will be used." >&2
1215 elif test "x$build_alias" != "x$host_alias"; then
1221 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1223 test "$silent" = yes && exec 6>/dev
/null
1226 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1227 ac_ls_di
=`ls -di .` &&
1228 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1229 as_fn_error
"working directory cannot be determined"
1230 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1231 as_fn_error
"pwd does not report name of working directory"
1234 # Find the source files, if location was not specified.
1235 if test -z "$srcdir"; then
1236 ac_srcdir_defaulted
=yes
1237 # Try the directory containing this script, then the parent directory.
1238 ac_confdir
=`$as_dirname -- "$as_myself" ||
1239 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1240 X"$as_myself" : 'X\(//\)[^/]' \| \
1241 X"$as_myself" : 'X\(//\)$' \| \
1242 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1243 $as_echo X"$as_myself" |
1244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1262 if test ! -r "$srcdir/$ac_unique_file"; then
1266 ac_srcdir_defaulted
=no
1268 if test ! -r "$srcdir/$ac_unique_file"; then
1269 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1270 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1272 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1274 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1276 # When building in place, set srcdir=.
1277 if test "$ac_abs_confdir" = "$ac_pwd"; then
1280 # Remove unnecessary trailing slashes from srcdir.
1281 # Double slashes in file names in object file debugging info
1282 # mess up M-x gdb in Emacs.
1284 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1286 for ac_var
in $ac_precious_vars; do
1287 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1288 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1289 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1290 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1294 # Report the --help message.
1296 if test "$ac_init_help" = "long"; then
1297 # Omit some internal or obsolete options to make the list less imposing.
1298 # This message is too long to be a string in the A/UX 3.1 sh.
1300 \`configure' configures Intel MIC Offload Plugin 1.0 to adapt to many kinds of systems.
1302 Usage: $0 [OPTION]... [VAR=VALUE]...
1304 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1305 VAR=VALUE. See below for descriptions of some of the useful variables.
1307 Defaults for the options are specified in brackets.
1310 -h, --help display this help and exit
1311 --help=short display options specific to this package
1312 --help=recursive display the short help of all the included packages
1313 -V, --version display version information and exit
1314 -q, --quiet, --silent do not print \`checking...' messages
1315 --cache-file=FILE cache test results in FILE [disabled]
1316 -C, --config-cache alias for \`--cache-file=config.cache'
1317 -n, --no-create do not create output files
1318 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1320 Installation directories:
1321 --prefix=PREFIX install architecture-independent files in PREFIX
1322 [$ac_default_prefix]
1323 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1326 By default, \`make install' will install all the files in
1327 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1328 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1329 for instance \`--prefix=\$HOME'.
1331 For better control, use the options below.
1333 Fine tuning of the installation directories:
1334 --bindir=DIR user executables [EPREFIX/bin]
1335 --sbindir=DIR system admin executables [EPREFIX/sbin]
1336 --libexecdir=DIR program executables [EPREFIX/libexec]
1337 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1338 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1339 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1340 --libdir=DIR object code libraries [EPREFIX/lib]
1341 --includedir=DIR C header files [PREFIX/include]
1342 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1343 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1344 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1345 --infodir=DIR info documentation [DATAROOTDIR/info]
1346 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1347 --mandir=DIR man documentation [DATAROOTDIR/man]
1348 --docdir=DIR documentation root
1349 [DATAROOTDIR/doc/libgomp-plugin-intelmic]
1350 --htmldir=DIR html documentation [DOCDIR]
1351 --dvidir=DIR dvi documentation [DOCDIR]
1352 --pdfdir=DIR pdf documentation [DOCDIR]
1353 --psdir=DIR ps documentation [DOCDIR]
1359 --program-prefix=PREFIX prepend PREFIX to installed program names
1360 --program-suffix=SUFFIX append SUFFIX to installed program names
1361 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1364 --build=BUILD configure
for building on BUILD
[guessed
]
1365 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1366 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1370 if test -n "$ac_init_help"; then
1371 case $ac_init_help in
1372 short | recursive
) echo "Configuration of Intel MIC Offload Plugin 1.0:";;
1377 --disable-option-checking ignore unrecognized
--enable/--with options
1378 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1379 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1380 --enable-maintainer-mode enable make rules and dependencies not useful
1381 (and sometimes confusing
) to the casual installer
1382 --disable-dependency-tracking speeds up one-time build
1383 --enable-dependency-tracking do not reject slow dependency extractors
1384 --enable-multilib build many library versions
(default
)
1385 --enable-version-specific-runtime-libs
1386 Specify that runtime libraries should be installed
1387 in a compiler-specific directory
1388 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1389 --enable-static[=PKGS
] build static libraries
[default
=yes]
1390 --enable-fast-install[=PKGS
]
1391 optimize
for fast installation
[default
=yes]
1392 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1395 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1396 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1397 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1399 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1400 --with-gcc-major-version-only
1401 use only GCC major number
in filesystem paths
1403 Some influential environment variables
:
1404 CC C compiler
command
1405 CFLAGS C compiler flags
1406 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1407 nonstandard directory
<lib dir
>
1408 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1409 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1410 you have headers
in a nonstandard directory
<include dir
>
1411 CXX C
++ compiler
command
1412 CXXFLAGS C
++ compiler flags
1414 CXXCPP C
++ preprocessor
1416 Use these variables to override the choices made by
`configure' or to help
1417 it to find libraries and programs with nonstandard names/locations.
1419 Report bugs to the package provider.
1424 if test "$ac_init_help" = "recursive"; then
1425 # If there are subdirs, report their specific --help.
1426 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1427 test -d "$ac_dir" ||
1428 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1433 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1435 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1436 # A ".." for each directory in $ac_dir_suffix.
1437 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1438 case $ac_top_builddir_sub in
1439 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1440 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1443 ac_abs_top_builddir=$ac_pwd
1444 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1445 # for backward compatibility:
1446 ac_top_builddir=$ac_top_build_prefix
1449 .) # We are building in place.
1451 ac_top_srcdir=$ac_top_builddir_sub
1452 ac_abs_top_srcdir=$ac_pwd ;;
1453 [\\/]* | ?:[\\/]* ) # Absolute name.
1454 ac_srcdir=$srcdir$ac_dir_suffix;
1455 ac_top_srcdir=$srcdir
1456 ac_abs_top_srcdir=$srcdir ;;
1458 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1459 ac_top_srcdir=$ac_top_build_prefix$srcdir
1460 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1462 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1464 cd "$ac_dir" || { ac_status=$?; continue; }
1465 # Check for guested configure.
1466 if test -f "$ac_srcdir/configure.gnu"; then
1468 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1469 elif test -f "$ac_srcdir/configure"; then
1471 $SHELL "$ac_srcdir/configure" --help=recursive
1473 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1475 cd "$ac_pwd" || { ac_status=$?; break; }
1479 test -n "$ac_init_help" && exit $ac_status
1480 if $ac_init_version; then
1482 Intel MIC Offload Plugin configure 1.0
1483 generated by GNU Autoconf 2.64
1485 Copyright (C) 2009 Free Software Foundation, Inc.
1486 This configure script is free software; the Free Software Foundation
1487 gives unlimited permission to copy, distribute and modify it.
1492 ## ------------------------ ##
1493 ## Autoconf initialization. ##
1494 ## ------------------------ ##
1496 # ac_fn_c_try_compile LINENO
1497 # --------------------------
1498 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1499 ac_fn_c_try_compile ()
1501 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1502 rm -f conftest.$ac_objext
1503 if { { ac_try="$ac_compile"
1505 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1506 *) ac_try_echo
=$ac_try;;
1508 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1509 $as_echo "$ac_try_echo"; } >&5
1510 (eval "$ac_compile") 2>conftest.err
1512 if test -s conftest.err
; then
1513 grep -v '^ *+' conftest.err
>conftest.er1
1514 cat conftest.er1
>&5
1515 mv -f conftest.er1 conftest.err
1517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1518 test $ac_status = 0; } && {
1519 test -z "$ac_c_werror_flag" ||
1520 test ! -s conftest.err
1521 } && test -s conftest.
$ac_objext; then :
1524 $as_echo "$as_me: failed program was:" >&5
1525 sed 's/^/| /' conftest.
$ac_ext >&5
1529 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1532 } # ac_fn_c_try_compile
1534 # ac_fn_cxx_try_compile LINENO
1535 # ----------------------------
1536 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1537 ac_fn_cxx_try_compile
()
1539 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1540 rm -f conftest.
$ac_objext
1541 if { { ac_try
="$ac_compile"
1543 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1544 *) ac_try_echo=$ac_try;;
1546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1547 $as_echo "$ac_try_echo"; } >&5
1548 (eval "$ac_compile") 2>conftest.err
1550 if test -s conftest.err; then
1551 grep -v '^ *+' conftest.err >conftest.er1
1552 cat conftest.er1 >&5
1553 mv -f conftest.er1 conftest.err
1555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1556 test $ac_status = 0; } && {
1557 test -z "$ac_cxx_werror_flag" ||
1558 test ! -s conftest.err
1559 } && test -s conftest.$ac_objext; then :
1562 $as_echo "$as_me: failed program was:" >&5
1563 sed 's/^/| /' conftest.$ac_ext >&5
1567 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1570 } # ac_fn_cxx_try_compile
1572 # ac_fn_c_try_link LINENO
1573 # -----------------------
1574 # Try to link conftest.$ac_ext, and return whether this succeeded.
1577 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1578 rm -f conftest.$ac_objext conftest$ac_exeext
1579 if { { ac_try="$ac_link"
1581 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1582 *) ac_try_echo
=$ac_try;;
1584 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1585 $as_echo "$ac_try_echo"; } >&5
1586 (eval "$ac_link") 2>conftest.err
1588 if test -s conftest.err
; then
1589 grep -v '^ *+' conftest.err
>conftest.er1
1590 cat conftest.er1
>&5
1591 mv -f conftest.er1 conftest.err
1593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1594 test $ac_status = 0; } && {
1595 test -z "$ac_c_werror_flag" ||
1596 test ! -s conftest.err
1597 } && test -s conftest
$ac_exeext && {
1598 test "$cross_compiling" = yes ||
1599 $as_test_x conftest
$ac_exeext
1603 $as_echo "$as_me: failed program was:" >&5
1604 sed 's/^/| /' conftest.
$ac_ext >&5
1608 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1609 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1610 # interfere with the next link command; also delete a directory that is
1611 # left behind by Apple's compiler. We do this before executing the actions.
1612 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1613 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1616 } # ac_fn_c_try_link
1618 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1619 # -------------------------------------------------------
1620 # Tests whether HEADER exists and can be compiled using the include files in
1621 # INCLUDES, setting the cache variable VAR accordingly.
1622 ac_fn_c_check_header_compile
()
1624 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1626 $as_echo_n "checking for $2... " >&6; }
1627 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1628 $as_echo_n "(cached) " >&6
1630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1631 /* end confdefs.h. */
1635 if ac_fn_c_try_compile
"$LINENO"; then :
1640 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1644 $as_echo "$ac_res" >&6; }
1645 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1647 } # ac_fn_c_check_header_compile
1649 # ac_fn_c_try_cpp LINENO
1650 # ----------------------
1651 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1654 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1655 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1657 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1658 *) ac_try_echo=$ac_try;;
1660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1661 $as_echo "$ac_try_echo"; } >&5
1662 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1664 if test -s conftest.err; then
1665 grep -v '^ *+' conftest.err >conftest.er1
1666 cat conftest.er1 >&5
1667 mv -f conftest.er1 conftest.err
1669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1670 test $ac_status = 0; } >/dev/null && {
1671 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1672 test ! -s conftest.err
1676 $as_echo "$as_me: failed program was:" >&5
1677 sed 's/^/| /' conftest.$ac_ext >&5
1681 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1686 # ac_fn_c_try_run LINENO
1687 # ----------------------
1688 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1689 # that executables *can* be run.
1692 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1693 if { { ac_try="$ac_link"
1695 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1696 *) ac_try_echo
=$ac_try;;
1698 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1699 $as_echo "$ac_try_echo"; } >&5
1700 (eval "$ac_link") 2>&5
1702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1703 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1704 { { case "(($ac_try" in
1705 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1706 *) ac_try_echo=$ac_try;;
1708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1709 $as_echo "$ac_try_echo"; } >&5
1710 (eval "$ac_try") 2>&5
1712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713 test $ac_status = 0; }; }; then :
1716 $as_echo "$as_me: program exited with status $ac_status" >&5
1717 $as_echo "$as_me: failed program was:" >&5
1718 sed 's/^/| /' conftest.$ac_ext >&5
1720 ac_retval=$ac_status
1722 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1723 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1728 # ac_fn_c_check_func LINENO FUNC VAR
1729 # ----------------------------------
1730 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1731 ac_fn_c_check_func ()
1733 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1735 $as_echo_n "checking for $2... " >&6; }
1736 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1737 $as_echo_n "(cached) " >&6
1739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1740 /* end confdefs.h. */
1741 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1743 #define $2 innocuous_$2
1745 /* System header to define __stub macros and hopefully few prototypes,
1746 which can conflict with char $2 (); below.
1747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1748 <limits.h> exists even on freestanding compilers. */
1751 # include <limits.h>
1753 # include <assert.h>
1758 /* Override any GCC internal prototype to avoid an error.
1759 Use char because int might match the return type of a GCC
1760 builtin and then its argument prototype would still apply. */
1765 /* The GNU C library defines this for functions which it implements
1766 to always fail with ENOSYS. Some functions are actually named
1767 something starting with __ and the normal name is an alias. */
1768 #if defined __stub_$2 || defined __stub___$2
1780 if ac_fn_c_try_link "$LINENO"; then :
1785 rm -f core conftest.err conftest.$ac_objext \
1786 conftest$ac_exeext conftest.$ac_ext
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1790 $as_echo "$ac_res" >&6; }
1791 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1793 } # ac_fn_c_check_func
1795 # ac_fn_cxx_try_cpp LINENO
1796 # ------------------------
1797 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1798 ac_fn_cxx_try_cpp ()
1800 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1801 if { { ac_try="$ac_cpp conftest.$ac_ext"
1803 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1804 *) ac_try_echo
=$ac_try;;
1806 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1807 $as_echo "$ac_try_echo"; } >&5
1808 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1810 if test -s conftest.err
; then
1811 grep -v '^ *+' conftest.err
>conftest.er1
1812 cat conftest.er1
>&5
1813 mv -f conftest.er1 conftest.err
1815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1816 test $ac_status = 0; } >/dev
/null
&& {
1817 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1818 test ! -s conftest.err
1822 $as_echo "$as_me: failed program was:" >&5
1823 sed 's/^/| /' conftest.
$ac_ext >&5
1827 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1830 } # ac_fn_cxx_try_cpp
1832 # ac_fn_cxx_try_link LINENO
1833 # -------------------------
1834 # Try to link conftest.$ac_ext, and return whether this succeeded.
1835 ac_fn_cxx_try_link
()
1837 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1838 rm -f conftest.
$ac_objext conftest
$ac_exeext
1839 if { { ac_try
="$ac_link"
1841 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1842 *) ac_try_echo=$ac_try;;
1844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1845 $as_echo "$ac_try_echo"; } >&5
1846 (eval "$ac_link") 2>conftest.err
1848 if test -s conftest.err; then
1849 grep -v '^ *+' conftest.err >conftest.er1
1850 cat conftest.er1 >&5
1851 mv -f conftest.er1 conftest.err
1853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1854 test $ac_status = 0; } && {
1855 test -z "$ac_cxx_werror_flag" ||
1856 test ! -s conftest.err
1857 } && test -s conftest$ac_exeext && {
1858 test "$cross_compiling" = yes ||
1859 $as_test_x conftest$ac_exeext
1863 $as_echo "$as_me: failed program was:" >&5
1864 sed 's/^/| /' conftest.$ac_ext >&5
1868 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1869 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1870 # interfere with the next link command; also delete a directory that is
1871 # left behind by Apple's compiler. We do this before executing the actions.
1872 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1873 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1876 } # ac_fn_cxx_try_link
1877 cat >config.log <<_ACEOF
1878 This file contains any messages produced by compilers while
1879 running configure, to aid debugging if configure makes a mistake.
1881 It was created by Intel MIC Offload Plugin $as_me 1.0, which was
1882 generated by GNU Autoconf 2.64. Invocation command line was
1894 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1895 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1896 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1897 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1898 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1900 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1901 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1903 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1904 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1905 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1906 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1907 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1908 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1909 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1917 test -z "$as_dir" && as_dir=.
1918 $as_echo "PATH: $as_dir"
1934 # Keep a trace of the command line.
1935 # Strip out --no-create and --no-recursion so they do not pile up.
1936 # Strip out --silent because we don't want to record it for future runs.
1937 # Also quote any args containing shell meta-characters.
1938 # Make two passes to allow for proper duplicate-argument suppression.
1942 ac_must_keep_next=false
1948 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1949 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1950 | -silent | --silent | --silen | --sile | --sil)
1953 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1956 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1958 as_fn_append ac_configure_args1 " '$ac_arg'"
1959 if test $ac_must_keep_next = true; then
1960 ac_must_keep_next=false # Got value, back to normal.
1963 *=* | --config-cache | -C | -disable-* | --disable-* \
1964 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1965 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1966 | -with-* | --with-* | -without-* | --without-* | --x)
1967 case "$ac_configure_args0 " in
1968 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1971 -* ) ac_must_keep_next=true ;;
1974 as_fn_append ac_configure_args " '$ac_arg'"
1979 { ac_configure_args0=; unset ac_configure_args0;}
1980 { ac_configure_args1=; unset ac_configure_args1;}
1982 # When interrupted or exit'd, cleanup temporary files, and complete
1983 # config.log. We remove comments because anyway the quotes in there
1984 # would cause problems or look ugly.
1985 # WARNING: Use '\'' to represent an apostrophe within the trap.
1986 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1987 trap 'exit_status=$?
1988 # Save into config.log some information that might help in debugging.
1993 ## ---------------- ##
1994 ## Cache variables. ##
1995 ## ---------------- ##
1998 # The following way of writing the cache mishandles newlines in values,
2000 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2001 eval ac_val=\$$ac_var
2005 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2006 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2009 _ | IFS | as_nl) ;; #(
2010 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2011 *) { eval $ac_var=; unset $ac_var;} ;;
2016 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2017 *${as_nl}ac_space=\ *)
2019 "s/'\''/'\''\\\\'\'''\''/g;
2020 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2023 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2031 ## ----------------- ##
2032 ## Output variables. ##
2033 ## ----------------- ##
2036 for ac_var in $ac_subst_vars
2038 eval ac_val=\$$ac_var
2040 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2042 $as_echo "$ac_var='\''$ac_val'\''"
2046 if test -n "$ac_subst_files"; then
2048 ## ------------------- ##
2049 ## File substitutions. ##
2050 ## ------------------- ##
2053 for ac_var in $ac_subst_files
2055 eval ac_val=\$$ac_var
2057 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2059 $as_echo "$ac_var='\''$ac_val'\''"
2064 if test -s confdefs.h; then
2074 test "$ac_signal" != 0 &&
2075 $as_echo "$as_me: caught signal $ac_signal"
2076 $as_echo "$as_me: exit $exit_status"
2078 rm -f core *.core core.conftest.* &&
2079 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2082 for ac_signal in 1 2 13 15; do
2083 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2087 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2088 rm -f -r conftest* confdefs.h
2090 $as_echo "/* confdefs.h */" > confdefs.h
2092 # Predefined preprocessor variables.
2094 cat >>confdefs.h <<_ACEOF
2095 #define PACKAGE_NAME "$PACKAGE_NAME"
2098 cat >>confdefs.h <<_ACEOF
2099 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2102 cat >>confdefs.h <<_ACEOF
2103 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2106 cat >>confdefs.h <<_ACEOF
2107 #define PACKAGE_STRING "$PACKAGE_STRING"
2110 cat >>confdefs.h <<_ACEOF
2111 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2114 cat >>confdefs.h <<_ACEOF
2115 #define PACKAGE_URL "$PACKAGE_URL"
2119 # Let the site file select an alternate cache file if it wants to.
2120 # Prefer an explicitly selected file to automatically selected ones.
2123 if test -n "$CONFIG_SITE"; then
2124 ac_site_file1=$CONFIG_SITE
2125 elif test "x$prefix" != xNONE; then
2126 ac_site_file1=$prefix/share/config.site
2127 ac_site_file2=$prefix/etc/config.site
2129 ac_site_file1=$ac_default_prefix/share/config.site
2130 ac_site_file2=$ac_default_prefix/etc/config.site
2132 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2134 test "x$ac_site_file" = xNONE && continue
2135 if test -r "$ac_site_file"; then
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2137 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2138 sed 's/^/| /' "$ac_site_file" >&5
2143 if test -r "$cache_file"; then
2144 # Some versions of bash will fail to source /dev/null (special
2145 # files actually), so we avoid doing that.
2146 if test -f "$cache_file"; then
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2148 $as_echo "$as_me: loading cache $cache_file" >&6;}
2150 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2151 *) . "./$cache_file";;
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2156 $as_echo "$as_me: creating cache $cache_file" >&6;}
2160 # Check that the precious variables saved in the cache have kept the same
2162 ac_cache_corrupted=false
2163 for ac_var in $ac_precious_vars; do
2164 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2165 eval ac_new_set=\$ac_env_${ac_var}_set
2166 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2167 eval ac_new_val=\$ac_env_${ac_var}_value
2168 case $ac_old_set,$ac_new_set in
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2171 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2172 ac_cache_corrupted=: ;;
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2175 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2176 ac_cache_corrupted=: ;;
2179 if test "x$ac_old_val" != "x$ac_new_val"; then
2180 # differences in whitespace do not lead to failure.
2181 ac_old_val_w=`echo x
$ac_old_val`
2182 ac_new_val_w=`echo x
$ac_new_val`
2183 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2185 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2186 ac_cache_corrupted=:
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2189 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2190 eval $ac_var=\$ac_old_val
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2193 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2195 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2198 # Pass precious variables to config.status.
2199 if test "$ac_new_set" = set; then
2201 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2202 *) ac_arg=$ac_var=$ac_new_val ;;
2204 case " $ac_configure_args " in
2205 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2206 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2210 if $ac_cache_corrupted; then
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2212 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2214 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2215 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2217 ## -------------------- ##
2218 ## Main body of script. ##
2219 ## -------------------- ##
2222 ac_cpp='$CPP $CPPFLAGS'
2223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2233 for ac_dir in ../.. "$srcdir"/../..; do
2234 for ac_t in install-sh install.sh shtool; do
2235 if test -f "$ac_dir/$ac_t"; then
2237 ac_install_sh="$ac_aux_dir/$ac_t -c"
2242 if test -z "$ac_aux_dir"; then
2243 as_fn_error "cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5
2246 # These three variables are undocumented and unsupported,
2247 # and are intended to be withdrawn in a future Autoconf release.
2248 # They can cause serious problems if a builder's source tree is in a directory
2249 # whose full name contains unusual characters.
2250 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2251 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2252 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2256 # Make sure we can run config.sub.
2257 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2258 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2261 $as_echo_n "checking build system type... " >&6; }
2262 if test "${ac_cv_build+set}" = set; then :
2263 $as_echo_n "(cached) " >&6
2265 ac_build_alias=$build_alias
2266 test "x$ac_build_alias" = x &&
2267 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2268 test "x$ac_build_alias" = x &&
2269 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2270 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2271 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2275 $as_echo "$ac_cv_build" >&6; }
2276 case $ac_cv_build in
2278 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2281 ac_save_IFS=$IFS; IFS='-'
2287 # Remember, the first character of IFS is used to create $*,
2288 # except with old shells:
2291 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2295 $as_echo_n "checking host system type... " >&6; }
2296 if test "${ac_cv_host+set}" = set; then :
2297 $as_echo_n "(cached) " >&6
2299 if test "x$host_alias" = x; then
2300 ac_cv_host=$ac_cv_build
2302 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2303 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2308 $as_echo "$ac_cv_host" >&6; }
2311 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2314 ac_save_IFS=$IFS; IFS='-'
2320 # Remember, the first character of IFS is used to create $*,
2321 # except with old shells:
2324 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2328 $as_echo_n "checking target system type... " >&6; }
2329 if test "${ac_cv_target+set}" = set; then :
2330 $as_echo_n "(cached) " >&6
2332 if test "x$target_alias" = x; then
2333 ac_cv_target=$ac_cv_host
2335 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2336 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2341 $as_echo "$ac_cv_target" >&6; }
2342 case $ac_cv_target in
2344 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2346 target=$ac_cv_target
2347 ac_save_IFS=$IFS; IFS='-'
2353 # Remember, the first character of IFS is used to create $*,
2354 # except with old shells:
2357 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2360 # The aliases save the names the user supplied, while $host etc.
2361 # will get canonicalized.
2362 test -n "$target_alias" &&
2363 test "$program_prefix$program_suffix$program_transform_name" = \
2365 program_prefix=${target_alias}-
2367 target_alias=${target_alias-$host_alias}
2370 am__api_version='1.11'
2372 # Find a good install program. We prefer a C program (faster),
2373 # so one script is as good as another. But avoid the broken or
2374 # incompatible versions:
2375 # SysV /etc/install, /usr/sbin/install
2376 # SunOS /usr/etc/install
2377 # IRIX /sbin/install
2379 # AmigaOS /C/install, which installs bootblocks on floppy discs
2380 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2381 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2382 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2383 # OS/2's system install, which has a completely different semantic
2384 # ./install, which can be erroneously created by make from ./install.sh.
2385 # Reject install programs that cannot install multiple files.
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2387 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2388 if test -z "$INSTALL"; then
2389 if test "${ac_cv_path_install+set}" = set; then :
2390 $as_echo_n "(cached) " >&6
2392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2396 test -z "$as_dir" && as_dir=.
2397 # Account for people who put trailing slashes in PATH elements.
2398 case $as_dir/ in #((
2399 ./ | .// | /[cC]/* | \
2400 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2401 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2404 # OSF1 and SCO ODT 3.0 have their own names for install.
2405 # Don't use installbsd from OSF since it installs stuff as root
2407 for ac_prog in ginstall scoinst install; do
2408 for ac_exec_ext in '' $ac_executable_extensions; do
2409 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2410 if test $ac_prog = install &&
2411 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2412 # AIX install. It has an incompatible calling convention.
2414 elif test $ac_prog = install &&
2415 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2416 # program-specific install script used by HP pwplus--don't use.
2419 rm -rf conftest.one conftest.two conftest.dir
2420 echo one > conftest.one
2421 echo two > conftest.two
2423 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2424 test -s conftest.one && test -s conftest.two &&
2425 test -s conftest.dir/conftest.one &&
2426 test -s conftest.dir/conftest.two
2428 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2441 rm -rf conftest.one conftest.two conftest.dir
2444 if test "${ac_cv_path_install+set}" = set; then
2445 INSTALL=$ac_cv_path_install
2447 # As a last resort, use the slow shell script. Don't cache a
2448 # value for INSTALL within a source directory, because that will
2449 # break other packages using the cache if that directory is
2450 # removed, or if the value is a relative name.
2451 INSTALL=$ac_install_sh
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2455 $as_echo "$INSTALL" >&6; }
2457 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2458 # It thinks the first close brace ends the variable substitution.
2459 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2461 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2463 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2466 $as_echo_n "checking whether build environment is sane... " >&6; }
2469 echo timestamp > conftest.file
2470 # Reject unsafe characters in $srcdir or the absolute working directory
2471 # name. Accept space and tab only in the latter.
2475 *[\\\"\#\$\&\'\`$am_lf]*)
2476 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2479 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2480 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2483 # Do `set' in a subshell so we don't clobber the current shell's
2484 # arguments. Must try -L first in case configure is actually a
2485 # symlink; some systems play weird games with the mod time of symlinks
2486 # (eg FreeBSD returns the mod time of the symlink's containing
2489 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2490 if test "$*" = "X"; then
2492 set X
`ls -t "$srcdir/configure" conftest.file`
2495 if test "$*" != "X $srcdir/configure conftest.file" \
2496 && test "$*" != "X conftest.file $srcdir/configure"; then
2498 # If neither matched, then we have a broken ls. This can happen
2499 # if, for instance, CONFIG_SHELL is bash and it inherits a
2500 # broken ls alias from the environment. This has actually
2501 # happened. Such a system could not be considered "sane".
2502 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2503 alias in your environment" "$LINENO" 5
2506 test "$2" = conftest.
file
2512 as_fn_error
"newly created file is older than distributed files!
2513 Check your system clock" "$LINENO" 5
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2516 $as_echo "yes" >&6; }
2517 test "$program_prefix" != NONE
&&
2518 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2519 # Use a double $ so make ignores it.
2520 test "$program_suffix" != NONE
&&
2521 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2522 # Double any \ or $.
2523 # By default was `s,x,x', remove it if useless.
2524 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2525 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2527 # expand $ac_aux_dir to an absolute path
2528 am_aux_dir
=`cd $ac_aux_dir && pwd`
2530 if test x
"${MISSING+set}" != xset
; then
2533 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2535 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2538 # Use eval to expand $SHELL
2539 if eval "$MISSING --run true"; then
2540 am_missing_run
="$MISSING --run "
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2544 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2547 if test x
"${install_sh}" != xset
; then
2550 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2552 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2556 # Installed binaries are usually stripped using `strip' when the user
2557 # run `make install-strip'. However `strip' might not be the right
2558 # tool to use in cross-compilation environments, therefore Automake
2559 # will honor the `STRIP' environment variable to overrule this program.
2560 if test "$cross_compiling" != no
; then
2561 if test -n "$ac_tool_prefix"; then
2562 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2563 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2565 $as_echo_n "checking for $ac_word... " >&6; }
2566 if test "${ac_cv_prog_STRIP+set}" = set; then :
2567 $as_echo_n "(cached) " >&6
2569 if test -n "$STRIP"; then
2570 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2576 test -z "$as_dir" && as_dir
=.
2577 for ac_exec_ext
in '' $ac_executable_extensions; do
2578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2579 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2589 STRIP
=$ac_cv_prog_STRIP
2590 if test -n "$STRIP"; then
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2592 $as_echo "$STRIP" >&6; }
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2595 $as_echo "no" >&6; }
2600 if test -z "$ac_cv_prog_STRIP"; then
2602 # Extract the first word of "strip", so it can be a program name with args.
2603 set dummy strip
; ac_word
=$2
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2605 $as_echo_n "checking for $ac_word... " >&6; }
2606 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2607 $as_echo_n "(cached) " >&6
2609 if test -n "$ac_ct_STRIP"; then
2610 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2616 test -z "$as_dir" && as_dir
=.
2617 for ac_exec_ext
in '' $ac_executable_extensions; do
2618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2619 ac_cv_prog_ac_ct_STRIP
="strip"
2620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2629 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2630 if test -n "$ac_ct_STRIP"; then
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2632 $as_echo "$ac_ct_STRIP" >&6; }
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2635 $as_echo "no" >&6; }
2638 if test "x$ac_ct_STRIP" = x
; then
2641 case $cross_compiling:$ac_tool_warned in
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2645 ac_tool_warned
=yes ;;
2650 STRIP
="$ac_cv_prog_STRIP"
2654 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2657 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2658 if test -z "$MKDIR_P"; then
2659 if test "${ac_cv_path_mkdir+set}" = set; then :
2660 $as_echo_n "(cached) " >&6
2662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2663 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2666 test -z "$as_dir" && as_dir
=.
2667 for ac_prog
in mkdir gmkdir
; do
2668 for ac_exec_ext
in '' $ac_executable_extensions; do
2669 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2670 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2671 'mkdir (GNU coreutils) '* | \
2672 'mkdir (coreutils) '* | \
2673 'mkdir (fileutils) '4.1*)
2674 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2684 if test "${ac_cv_path_mkdir+set}" = set; then
2685 MKDIR_P
="$ac_cv_path_mkdir -p"
2687 # As a last resort, use the slow shell script. Don't cache a
2688 # value for MKDIR_P within a source directory, because that will
2689 # break other packages using the cache if that directory is
2690 # removed, or if the value is a relative name.
2691 test -d .
/--version && rmdir .
/--version
2692 MKDIR_P
="$ac_install_sh -d"
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2696 $as_echo "$MKDIR_P" >&6; }
2700 [\\/$
]* | ?
:[\\/]*) ;;
2701 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2704 for ac_prog
in gawk mawk nawk
awk
2706 # Extract the first word of "$ac_prog", so it can be a program name with args.
2707 set dummy
$ac_prog; ac_word
=$2
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2709 $as_echo_n "checking for $ac_word... " >&6; }
2710 if test "${ac_cv_prog_AWK+set}" = set; then :
2711 $as_echo_n "(cached) " >&6
2713 if test -n "$AWK"; then
2714 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2720 test -z "$as_dir" && as_dir
=.
2721 for ac_exec_ext
in '' $ac_executable_extensions; do
2722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2723 ac_cv_prog_AWK
="$ac_prog"
2724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2734 if test -n "$AWK"; then
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2736 $as_echo "$AWK" >&6; }
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2739 $as_echo "no" >&6; }
2743 test -n "$AWK" && break
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2747 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2749 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2750 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2751 $as_echo_n "(cached) " >&6
2753 cat >conftest.
make <<\_ACEOF
2756 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2758 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2759 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2761 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2763 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2767 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2769 $as_echo "yes" >&6; }
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2773 $as_echo "no" >&6; }
2774 SET_MAKE
="MAKE=${MAKE-make}"
2777 rm -rf .tst
2>/dev
/null
2778 mkdir .tst
2>/dev
/null
2779 if test -d .tst
; then
2784 rmdir .tst
2>/dev
/null
2786 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2787 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2788 # is not polluted with repeated "-I."
2789 am__isrc
=' -I$(srcdir)'
2790 # test to see if srcdir already configured
2791 if test -f $srcdir/config.status
; then
2792 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2796 # test whether we have cygpath
2797 if test -z "$CYGPATH_W"; then
2798 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2799 CYGPATH_W
='cygpath -w'
2806 # Define the identity of the package.
2807 PACKAGE
='libgomp-plugin-intelmic'
2811 cat >>confdefs.h
<<_ACEOF
2812 #define PACKAGE "$PACKAGE"
2816 cat >>confdefs.h
<<_ACEOF
2817 #define VERSION "$VERSION"
2820 # Some tools Automake needs.
2822 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2825 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2828 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2831 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2834 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2836 # We need awk for the "check" target. The system "awk" is bad on
2838 # Always define AMTAR for backward compatibility. Yes, it's still used
2839 # in the wild :-( We should find a proper way to deprecate it ...
2842 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2851 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2852 # Check whether --enable-maintainer-mode was given.
2853 if test "${enable_maintainer_mode+set}" = set; then :
2854 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2856 USE_MAINTAINER_MODE
=no
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2860 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2861 if test $USE_MAINTAINER_MODE = yes; then
2862 MAINTAINER_MODE_TRUE
=
2863 MAINTAINER_MODE_FALSE
='#'
2865 MAINTAINER_MODE_TRUE
='#'
2866 MAINTAINER_MODE_FALSE
=
2869 MAINT
=$MAINTAINER_MODE_TRUE
2874 ac_cpp
='$CPP $CPPFLAGS'
2875 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2876 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2877 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2878 if test -n "$ac_tool_prefix"; then
2879 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2880 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2882 $as_echo_n "checking for $ac_word... " >&6; }
2883 if test "${ac_cv_prog_CC+set}" = set; then :
2884 $as_echo_n "(cached) " >&6
2886 if test -n "$CC"; then
2887 ac_cv_prog_CC
="$CC" # Let the user override the test.
2889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2893 test -z "$as_dir" && as_dir
=.
2894 for ac_exec_ext
in '' $ac_executable_extensions; do
2895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2896 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2907 if test -n "$CC"; then
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2909 $as_echo "$CC" >&6; }
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2912 $as_echo "no" >&6; }
2917 if test -z "$ac_cv_prog_CC"; then
2919 # Extract the first word of "gcc", so it can be a program name with args.
2920 set dummy gcc
; ac_word
=$2
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2922 $as_echo_n "checking for $ac_word... " >&6; }
2923 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2924 $as_echo_n "(cached) " >&6
2926 if test -n "$ac_ct_CC"; then
2927 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2933 test -z "$as_dir" && as_dir
=.
2934 for ac_exec_ext
in '' $ac_executable_extensions; do
2935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2936 ac_cv_prog_ac_ct_CC
="gcc"
2937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2946 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2947 if test -n "$ac_ct_CC"; then
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2949 $as_echo "$ac_ct_CC" >&6; }
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2952 $as_echo "no" >&6; }
2955 if test "x$ac_ct_CC" = x
; then
2958 case $cross_compiling:$ac_tool_warned in
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2961 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2962 ac_tool_warned
=yes ;;
2970 if test -z "$CC"; then
2971 if test -n "$ac_tool_prefix"; then
2972 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2973 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2975 $as_echo_n "checking for $ac_word... " >&6; }
2976 if test "${ac_cv_prog_CC+set}" = set; then :
2977 $as_echo_n "(cached) " >&6
2979 if test -n "$CC"; then
2980 ac_cv_prog_CC
="$CC" # Let the user override the test.
2982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2986 test -z "$as_dir" && as_dir
=.
2987 for ac_exec_ext
in '' $ac_executable_extensions; do
2988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2989 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3000 if test -n "$CC"; then
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3002 $as_echo "$CC" >&6; }
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3005 $as_echo "no" >&6; }
3011 if test -z "$CC"; then
3012 # Extract the first word of "cc", so it can be a program name with args.
3013 set dummy cc
; ac_word
=$2
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3015 $as_echo_n "checking for $ac_word... " >&6; }
3016 if test "${ac_cv_prog_CC+set}" = set; then :
3017 $as_echo_n "(cached) " >&6
3019 if test -n "$CC"; then
3020 ac_cv_prog_CC
="$CC" # Let the user override the test.
3023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3027 test -z "$as_dir" && as_dir
=.
3028 for ac_exec_ext
in '' $ac_executable_extensions; do
3029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3030 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3031 ac_prog_rejected
=yes
3035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3042 if test $ac_prog_rejected = yes; then
3043 # We found a bogon in the path, so make sure we never use it.
3044 set dummy
$ac_cv_prog_CC
3046 if test $# != 0; then
3047 # We chose a different compiler from the bogus one.
3048 # However, it has the same basename, so the bogon will be chosen
3049 # first if we set CC to just the basename; use the full file name.
3051 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3057 if test -n "$CC"; then
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3059 $as_echo "$CC" >&6; }
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3062 $as_echo "no" >&6; }
3067 if test -z "$CC"; then
3068 if test -n "$ac_tool_prefix"; then
3069 for ac_prog
in cl.exe
3071 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3072 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3074 $as_echo_n "checking for $ac_word... " >&6; }
3075 if test "${ac_cv_prog_CC+set}" = set; then :
3076 $as_echo_n "(cached) " >&6
3078 if test -n "$CC"; then
3079 ac_cv_prog_CC
="$CC" # Let the user override the test.
3081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3085 test -z "$as_dir" && as_dir
=.
3086 for ac_exec_ext
in '' $ac_executable_extensions; do
3087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3088 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3099 if test -n "$CC"; then
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3101 $as_echo "$CC" >&6; }
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3104 $as_echo "no" >&6; }
3108 test -n "$CC" && break
3111 if test -z "$CC"; then
3113 for ac_prog
in cl.exe
3115 # Extract the first word of "$ac_prog", so it can be a program name with args.
3116 set dummy
$ac_prog; ac_word
=$2
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3118 $as_echo_n "checking for $ac_word... " >&6; }
3119 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3120 $as_echo_n "(cached) " >&6
3122 if test -n "$ac_ct_CC"; then
3123 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3129 test -z "$as_dir" && as_dir
=.
3130 for ac_exec_ext
in '' $ac_executable_extensions; do
3131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3132 ac_cv_prog_ac_ct_CC
="$ac_prog"
3133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3142 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3143 if test -n "$ac_ct_CC"; then
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3145 $as_echo "$ac_ct_CC" >&6; }
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3148 $as_echo "no" >&6; }
3152 test -n "$ac_ct_CC" && break
3155 if test "x$ac_ct_CC" = x
; then
3158 case $cross_compiling:$ac_tool_warned in
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3162 ac_tool_warned
=yes ;;
3171 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3172 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3173 as_fn_error
"no acceptable C compiler found in \$PATH
3174 See \`config.log' for more details." "$LINENO" 5; }
3176 # Provide some information about the compiler.
3177 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3180 for ac_option
in --version -v -V -qversion; do
3181 { { ac_try
="$ac_compiler $ac_option >&5"
3183 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3184 *) ac_try_echo=$ac_try;;
3186 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3187 $as_echo "$ac_try_echo"; } >&5
3188 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3190 if test -s conftest.err; then
3192 ... rest of stderr output deleted ...
3193 10q' conftest.err >conftest.er1
3194 cat conftest.er1 >&5
3195 rm -f conftest.er1 conftest.err
3197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3198 test $ac_status = 0; }
3201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3202 /* end confdefs.h. */
3212 ac_clean_files_save=$ac_clean_files
3213 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3214 # Try to create an executable without -o first, disregard a.out.
3215 # It will help us diagnose broken compilers, and finding out an intuition
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3218 $as_echo_n "checking for C compiler default output file name... " >&6; }
3219 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3221 # The possible output files:
3222 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3225 for ac_file in $ac_files
3228 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3229 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3234 if { { ac_try="$ac_link_default"
3236 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3237 *) ac_try_echo
=$ac_try;;
3239 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3240 $as_echo "$ac_try_echo"; } >&5
3241 (eval "$ac_link_default") 2>&5
3243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3244 test $ac_status = 0; }; then :
3245 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3246 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3247 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3248 # so that the user can short-circuit this test for compilers unknown to
3250 for ac_file
in $ac_files ''
3252 test -f "$ac_file" ||
continue
3254 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3257 # We found the default executable, but exeext='' is most
3261 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3263 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3265 # We set ac_cv_exeext here because the later test for it is not
3266 # safe: cross compilers may not add the suffix if given an `-o'
3267 # argument, so we may need to know it at that point already.
3268 # Even if this section looks crufty: it has the advantage of
3275 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3281 $as_echo "$ac_file" >&6; }
3282 if test -z "$ac_file"; then :
3283 $as_echo "$as_me: failed program was:" >&5
3284 sed 's/^/| /' conftest.
$ac_ext >&5
3286 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3287 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3288 { as_fn_set_status
77
3289 as_fn_error
"C compiler cannot create executables
3290 See \`config.log' for more details." "$LINENO" 5; }; }
3292 ac_exeext
=$ac_cv_exeext
3294 # Check that the compiler produces executables we can run. If not, either
3295 # the compiler is broken, or we cross compile.
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3297 $as_echo_n "checking whether the C compiler works... " >&6; }
3298 # If not cross compiling, check that we can run a simple program.
3299 if test "$cross_compiling" != yes; then
3300 if { ac_try
='./$ac_file'
3301 { { case "(($ac_try" in
3302 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3303 *) ac_try_echo=$ac_try;;
3305 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3306 $as_echo "$ac_try_echo"; } >&5
3307 (eval "$ac_try") 2>&5
3309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3310 test $ac_status = 0; }; }; then
3313 if test "$cross_compiling" = maybe; then
3316 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3317 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3318 as_fn_error "cannot run C compiled programs.
3319 If you meant to cross compile
, use \
`--host'.
3320 See \`config.log
' for more details." "$LINENO" 5; }
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3325 $as_echo "yes" >&6; }
3327 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3328 ac_clean_files=$ac_clean_files_save
3329 # Check that the compiler produces executables we can run. If not, either
3330 # the compiler is broken, or we cross compile.
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3332 $as_echo_n "checking whether we are cross compiling... " >&6; }
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3334 $as_echo "$cross_compiling" >&6; }
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3337 $as_echo_n "checking for suffix of executables... " >&6; }
3338 if { { ac_try="$ac_link"
3340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3341 *) ac_try_echo=$ac_try;;
3343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3344 $as_echo "$ac_try_echo"; } >&5
3345 (eval "$ac_link") 2>&5
3347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3348 test $ac_status = 0; }; then :
3349 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3350 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3351 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3353 for ac_file
in conftest.exe conftest conftest.
*; do
3354 test -f "$ac_file" ||
continue
3356 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3357 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3363 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3365 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3366 See \`config.log' for more details." "$LINENO" 5; }
3368 rm -f conftest
$ac_cv_exeext
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3370 $as_echo "$ac_cv_exeext" >&6; }
3372 rm -f conftest.
$ac_ext
3373 EXEEXT
=$ac_cv_exeext
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3376 $as_echo_n "checking for suffix of object files... " >&6; }
3377 if test "${ac_cv_objext+set}" = set; then :
3378 $as_echo_n "(cached) " >&6
3380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3381 /* end confdefs.h. */
3391 rm -f conftest.o conftest.obj
3392 if { { ac_try
="$ac_compile"
3394 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3395 *) ac_try_echo=$ac_try;;
3397 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3398 $as_echo "$ac_try_echo"; } >&5
3399 (eval "$ac_compile") 2>&5
3401 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3402 test $ac_status = 0; }; then :
3403 for ac_file in conftest.o conftest.obj conftest.*; do
3404 test -f "$ac_file" || continue;
3406 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3407 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3412 $as_echo "$as_me: failed program was:" >&5
3413 sed 's/^/| /' conftest.$ac_ext >&5
3415 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3416 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3417 as_fn_error "cannot compute suffix of object files
: cannot compile
3418 See \
`config.log' for more details." "$LINENO" 5; }
3420 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3423 $as_echo "$ac_cv_objext" >&6; }
3424 OBJEXT=$ac_cv_objext
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3427 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3428 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3429 $as_echo_n "(cached) " >&6
3431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3432 /* end confdefs.h. */
3445 if ac_fn_c_try_compile "$LINENO"; then :
3450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3451 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3455 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3456 if test $ac_compiler_gnu = yes; then
3461 ac_test_CFLAGS=${CFLAGS+set}
3462 ac_save_CFLAGS=$CFLAGS
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3464 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3465 if test "${ac_cv_prog_cc_g+set}" = set; then :
3466 $as_echo_n "(cached) " >&6
3468 ac_save_c_werror_flag=$ac_c_werror_flag
3469 ac_c_werror_flag=yes
3472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3473 /* end confdefs.h. */
3483 if ac_fn_c_try_compile "$LINENO"; then :
3487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3488 /* end confdefs.h. */
3498 if ac_fn_c_try_compile "$LINENO"; then :
3501 ac_c_werror_flag=$ac_save_c_werror_flag
3503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3504 /* end confdefs.h. */
3514 if ac_fn_c_try_compile "$LINENO"; then :
3517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3522 ac_c_werror_flag=$ac_save_c_werror_flag
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3525 $as_echo "$ac_cv_prog_cc_g" >&6; }
3526 if test "$ac_test_CFLAGS" = set; then
3527 CFLAGS=$ac_save_CFLAGS
3528 elif test $ac_cv_prog_cc_g = yes; then
3529 if test "$GCC" = yes; then
3535 if test "$GCC" = yes; then
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3542 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3543 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3544 $as_echo_n "(cached) " >&6
3546 ac_cv_prog_cc_c89=no
3548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3549 /* end confdefs.h. */
3552 #include <sys/types.h>
3553 #include <sys/stat.h>
3554 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3555 struct buf { int x; };
3556 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3557 static char *e (p, i)
3563 static char *f (char * (*g) (char **, int), char **p, ...)
3568 s = g (p, va_arg (v,int));
3573 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3574 function prototypes and stuff, but not '\xHH' hex character constants.
3575 These don't provoke an error unfortunately, instead are silently treated
3576 as 'x'. The following induces an error, until -std is added to get
3577 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3578 array size at least. It's necessary to write '\x00'==0 to get something
3579 that's true only with -std. */
3580 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3582 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3583 inside strings and character constants. */
3585 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3587 int test (int i, double x);
3588 struct s1 {int (*f) (int a);};
3589 struct s2 {int (*f) (double a);};
3590 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3596 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3601 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3602 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3604 CC="$ac_save_CC $ac_arg"
3605 if ac_fn_c_try_compile "$LINENO"; then :
3606 ac_cv_prog_cc_c89=$ac_arg
3608 rm -f core conftest.err conftest.$ac_objext
3609 test "x$ac_cv_prog_cc_c89" != "xno" && break
3611 rm -f conftest.$ac_ext
3616 case "x$ac_cv_prog_cc_c89" in
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3619 $as_echo "none needed" >&6; } ;;
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3622 $as_echo "unsupported" >&6; } ;;
3624 CC="$CC $ac_cv_prog_cc_c89"
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3626 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3628 if test "x$ac_cv_prog_cc_c89" != xno; then :
3633 ac_cpp='$CPP $CPPFLAGS'
3634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3637 DEPDIR="${am__leading_dot}deps"
3639 ac_config_commands="$ac_config_commands depfiles"
3642 am_make=${MAKE-make}
3643 cat > confinc << 'END'
3645 @echo this is the am__doit target
3648 # If we don't find an include directive, just comment out the code.
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3650 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3654 # First try GNU make style include.
3655 echo "include confinc" > confmf
3656 # Ignore all kinds of additional output from `make'.
3657 case `$am_make -s -f confmf 2> /dev/null` in #(
3658 *the\ am__doit\ target*)
3664 # Now try BSD make style include.
3665 if test "$am__include" = "#"; then
3666 echo '.include
"confinc"' > confmf
3667 case `$am_make -s -f confmf 2> /dev/null` in #(
3668 *the\ am__doit\ target*)
3669 am__include=.include
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3678 $as_echo "$_am_result" >&6; }
3679 rm -f confinc confmf
3681 # Check whether --enable-dependency-tracking was given.
3682 if test "${enable_dependency_tracking+set}" = set; then :
3683 enableval=$enable_dependency_tracking;
3686 if test "x$enable_dependency_tracking" != xno; then
3687 am_depcomp="$ac_aux_dir/depcomp"
3691 if test "x$enable_dependency_tracking" != xno
; then
3701 depcc
="$CC" am_compiler_list
=
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3704 $as_echo_n "checking dependency style of $depcc... " >&6; }
3705 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3706 $as_echo_n "(cached) " >&6
3708 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3709 # We make a subdir and do the tests there. Otherwise we can end up
3710 # making bogus files that we don't know about and never remove. For
3711 # instance it was reported that on HP-UX the gcc test will end up
3712 # making a dummy file named `D' -- because `-MD' means `put the output
3716 # Copy depcomp to subdir because otherwise we won't find it if we're
3717 # using a relative directory.
3718 cp "$am_depcomp" conftest.dir
3720 # We will build objects and dependencies in a subdirectory because
3721 # it helps to detect inapplicable dependency modes. For instance
3722 # both Tru64's cc and ICC support -MD to output dependencies as a
3723 # side effect of compilation, but ICC will put the dependencies in
3724 # the current directory while Tru64 will put them in the object
3728 am_cv_CC_dependencies_compiler_type
=none
3729 if test "$am_compiler_list" = ""; then
3730 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3733 case " $depcc " in #(
3734 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3737 for depmode
in $am_compiler_list; do
3738 # Setup a source with many dependencies, because some compilers
3739 # like to wrap large dependency lists on column 80 (with \), and
3740 # we should not choose a depcomp mode which is confused by this.
3742 # We need to recreate these files for each test, as the compiler may
3743 # overwrite some of them when testing with obscure command lines.
3744 # This happens at least with the AIX C compiler.
3746 for i
in 1 2 3 4 5 6; do
3747 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3748 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3749 # Solaris 8's {/usr,}/bin/sh.
3750 touch sub
/conftst
$i.h
3752 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3754 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3755 # mode. It turns out that the SunPro C++ compiler does not properly
3756 # handle `-M -o', and we need to detect this. Also, some Intel
3757 # versions had trouble with output in subdirs
3758 am__obj
=sub
/conftest.
${OBJEXT-o}
3759 am__minus_obj
="-o $am__obj"
3762 # This depmode causes a compiler race in universal mode.
3763 test "$am__universal" = false ||
continue
3766 # after this tag, mechanisms are not by side-effect, so they'll
3767 # only be used when explicitly requested
3768 if test "x$enable_dependency_tracking" = xyes
; then
3774 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
3775 # This compiler won't grok `-c -o', but also, the minuso test has
3776 # not run yet. These depmodes are late enough in the game, and
3777 # so weak that their functioning should not be impacted.
3778 am__obj
=conftest.
${OBJEXT-o}
3783 if depmode
=$depmode \
3784 source=sub
/conftest.c object
=$am__obj \
3785 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3786 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3787 >/dev
/null
2>conftest.err
&&
3788 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3789 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3790 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3791 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3792 # icc doesn't choke on unknown options, it will just issue warnings
3793 # or remarks (even with -Werror). So we grep stderr for any message
3794 # that says an option was ignored or not supported.
3795 # When given -MP, icc 7.0 and 7.1 complain thusly:
3796 # icc: Command line warning: ignoring option '-M'; no argument required
3797 # The diagnosis changed in icc 8.0:
3798 # icc: Command line remark: option '-MP' not supported
3799 if (grep 'ignoring option' conftest.err ||
3800 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3801 am_cv_CC_dependencies_compiler_type
=$depmode
3810 am_cv_CC_dependencies_compiler_type
=none
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3815 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3816 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3819 test "x$enable_dependency_tracking" != xno \
3820 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3822 am__fastdepCC_FALSE
='#'
3824 am__fastdepCC_TRUE
='#'
3825 am__fastdepCC_FALSE
=
3830 ac_cpp
='$CXXCPP $CPPFLAGS'
3831 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3832 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3833 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3834 if test -z "$CXX"; then
3835 if test -n "$CCC"; then
3838 if test -n "$ac_tool_prefix"; then
3839 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3841 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3842 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3844 $as_echo_n "checking for $ac_word... " >&6; }
3845 if test "${ac_cv_prog_CXX+set}" = set; then :
3846 $as_echo_n "(cached) " >&6
3848 if test -n "$CXX"; then
3849 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3855 test -z "$as_dir" && as_dir
=.
3856 for ac_exec_ext
in '' $ac_executable_extensions; do
3857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3858 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3869 if test -n "$CXX"; then
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3871 $as_echo "$CXX" >&6; }
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3874 $as_echo "no" >&6; }
3878 test -n "$CXX" && break
3881 if test -z "$CXX"; then
3883 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3885 # Extract the first word of "$ac_prog", so it can be a program name with args.
3886 set dummy
$ac_prog; ac_word
=$2
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3888 $as_echo_n "checking for $ac_word... " >&6; }
3889 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3890 $as_echo_n "(cached) " >&6
3892 if test -n "$ac_ct_CXX"; then
3893 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3899 test -z "$as_dir" && as_dir
=.
3900 for ac_exec_ext
in '' $ac_executable_extensions; do
3901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3902 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3912 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3913 if test -n "$ac_ct_CXX"; then
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3915 $as_echo "$ac_ct_CXX" >&6; }
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3918 $as_echo "no" >&6; }
3922 test -n "$ac_ct_CXX" && break
3925 if test "x$ac_ct_CXX" = x
; then
3928 case $cross_compiling:$ac_tool_warned in
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3931 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3932 ac_tool_warned
=yes ;;
3940 # Provide some information about the compiler.
3941 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3944 for ac_option
in --version -v -V -qversion; do
3945 { { ac_try
="$ac_compiler $ac_option >&5"
3947 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3948 *) ac_try_echo=$ac_try;;
3950 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3951 $as_echo "$ac_try_echo"; } >&5
3952 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3954 if test -s conftest.err; then
3956 ... rest of stderr output deleted ...
3957 10q' conftest.err >conftest.er1
3958 cat conftest.er1 >&5
3959 rm -f conftest.er1 conftest.err
3961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3962 test $ac_status = 0; }
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3966 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3967 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3968 $as_echo_n "(cached) " >&6
3970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3971 /* end confdefs.h. */
3984 if ac_fn_cxx_try_compile "$LINENO"; then :
3989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3990 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3994 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3995 if test $ac_compiler_gnu = yes; then
4000 ac_test_CXXFLAGS=${CXXFLAGS+set}
4001 ac_save_CXXFLAGS=$CXXFLAGS
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4003 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4004 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4005 $as_echo_n "(cached) " >&6
4007 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4008 ac_cxx_werror_flag=yes
4011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4012 /* end confdefs.h. */
4022 if ac_fn_cxx_try_compile "$LINENO"; then :
4023 ac_cv_prog_cxx_g=yes
4026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4027 /* end confdefs.h. */
4037 if ac_fn_cxx_try_compile "$LINENO"; then :
4040 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4043 /* end confdefs.h. */
4053 if ac_fn_cxx_try_compile "$LINENO"; then :
4054 ac_cv_prog_cxx_g=yes
4056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4061 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4064 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4065 if test "$ac_test_CXXFLAGS" = set; then
4066 CXXFLAGS=$ac_save_CXXFLAGS
4067 elif test $ac_cv_prog_cxx_g = yes; then
4068 if test "$GXX" = yes; then
4074 if test "$GXX" = yes; then
4081 ac_cpp='$CPP $CPPFLAGS'
4082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4086 depcc="$CXX" am_compiler_list=
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4089 $as_echo_n "checking dependency style of $depcc... " >&6; }
4090 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4091 $as_echo_n "(cached) " >&6
4093 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4094 # We make a subdir and do the tests there. Otherwise we can end up
4095 # making bogus files that we don't know about and never remove. For
4096 # instance it was reported that on HP-UX the gcc test will end up
4097 # making a dummy file named `D
' -- because `-MD' means
`put the output
4101 # Copy depcomp to subdir because otherwise we won't find it if we're
4102 # using a relative directory.
4103 cp "$am_depcomp" conftest.dir
4105 # We will build objects and dependencies in a subdirectory because
4106 # it helps to detect inapplicable dependency modes. For instance
4107 # both Tru64's cc and ICC support -MD to output dependencies as a
4108 # side effect of compilation, but ICC will put the dependencies in
4109 # the current directory while Tru64 will put them in the object
4113 am_cv_CXX_dependencies_compiler_type=none
4114 if test "$am_compiler_list" = ""; then
4115 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4118 case " $depcc " in #(
4119 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4122 for depmode in $am_compiler_list; do
4123 # Setup a source with many dependencies, because some compilers
4124 # like to wrap large dependency lists on column 80 (with \), and
4125 # we should not choose a depcomp mode which is confused by this.
4127 # We need to recreate these files for each test, as the compiler may
4128 # overwrite some of them when testing with obscure command lines.
4129 # This happens at least with the AIX C compiler.
4131 for i in 1 2 3 4 5 6; do
4132 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4133 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4134 # Solaris 8's
{/usr
,}/bin
/sh.
4135 touch sub
/conftst
$i.h
4137 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4139 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4140 # mode. It turns out that the SunPro C++ compiler does not properly
4141 # handle `-M -o', and we need to detect this. Also, some Intel
4142 # versions had trouble with output in subdirs
4143 am__obj
=sub
/conftest.
${OBJEXT-o}
4144 am__minus_obj
="-o $am__obj"
4147 # This depmode causes a compiler race in universal mode.
4148 test "$am__universal" = false ||
continue
4151 # after this tag, mechanisms are not by side-effect, so they'll
4152 # only be used when explicitly requested
4153 if test "x$enable_dependency_tracking" = xyes
; then
4159 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4160 # This compiler won't grok `-c -o', but also, the minuso test has
4161 # not run yet. These depmodes are late enough in the game, and
4162 # so weak that their functioning should not be impacted.
4163 am__obj
=conftest.
${OBJEXT-o}
4168 if depmode
=$depmode \
4169 source=sub
/conftest.c object
=$am__obj \
4170 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4171 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4172 >/dev
/null
2>conftest.err
&&
4173 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4174 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4175 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4176 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4177 # icc doesn't choke on unknown options, it will just issue warnings
4178 # or remarks (even with -Werror). So we grep stderr for any message
4179 # that says an option was ignored or not supported.
4180 # When given -MP, icc 7.0 and 7.1 complain thusly:
4181 # icc: Command line warning: ignoring option '-M'; no argument required
4182 # The diagnosis changed in icc 8.0:
4183 # icc: Command line remark: option '-MP' not supported
4184 if (grep 'ignoring option' conftest.err ||
4185 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4186 am_cv_CXX_dependencies_compiler_type
=$depmode
4195 am_cv_CXX_dependencies_compiler_type
=none
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4200 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4201 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4204 test "x$enable_dependency_tracking" != xno \
4205 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4206 am__fastdepCXX_TRUE
=
4207 am__fastdepCXX_FALSE
='#'
4209 am__fastdepCXX_TRUE
='#'
4210 am__fastdepCXX_FALSE
=
4214 ac_config_files
="$ac_config_files Makefile"
4216 # Default to --enable-multilib
4217 # Check whether --enable-multilib was given.
4218 if test "${enable_multilib+set}" = set; then :
4219 enableval
=$enable_multilib; case "$enableval" in
4220 yes) multilib
=yes ;;
4222 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
4229 # We may get other options which we leave undocumented:
4230 # --with-target-subdir, --with-multisrctop, --with-multisubdir
4231 # See config-ml.in if you want the gory details.
4233 if test "$srcdir" = "."; then
4234 if test "$with_target_subdir" != "."; then
4235 multi_basedir
="$srcdir/$with_multisrctop../../.."
4237 multi_basedir
="$srcdir/$with_multisrctop../.."
4240 multi_basedir
="$srcdir/../.."
4244 # Even if the default multilib is not a cross compilation,
4245 # it may be that some of the other multilibs are.
4246 if test $cross_compiling = no
&& test $multilib = yes \
4247 && test "x${with_multisubdir}" != x
; then
4248 cross_compiling
=maybe
4251 ac_config_commands
="$ac_config_commands default-1"
4254 if test "${multilib}" = "yes"; then
4255 multilib_arg
="--enable-multilib"
4260 # Make sure liboffloadmic is enabled
4261 case "$enable_liboffloadmic" in
4265 as_fn_error
"Liboffloadmic is disabled" "$LINENO" 5 ;;
4267 if test x
"$enable_liboffloadmic" = xhost
; then
4269 PLUGIN_HOST_FALSE
='#'
4271 PLUGIN_HOST_TRUE
='#'
4276 # Get accel target and path to build or install tree of accel compiler
4279 if test x
"$enable_liboffloadmic" = xhost
; then
4280 for accel
in `echo $enable_offload_targets | sed -e 's#,# #g'`; do
4281 accel_name
=`echo $accel | sed 's/=.*//'`
4282 accel_dir
=`echo $accel | grep '=' | sed 's/.*=//'`
4283 case "$accel_name" in
4284 *-intelmic-* |
*-intelmicemul-*)
4285 accel_target
=$accel_name
4286 accel_search_dir
=$accel_dir
4290 if test x
"$accel_target" = x
; then
4291 as_fn_error
"--enable-offload-targets does not contain intelmic target" "$LINENO" 5
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
4298 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
4299 # Check whether --enable-version-specific-runtime-libs was given.
4300 if test "${enable_version_specific_runtime_libs+set}" = set; then :
4301 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
4302 yes) enable_version_specific_runtime_libs
=yes ;;
4303 no
) enable_version_specific_runtime_libs
=no
;;
4304 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
4307 enable_version_specific_runtime_libs
=no
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_version_specific_runtime_libs" >&5
4311 $as_echo "$enable_version_specific_runtime_libs" >&6; }
4314 # Calculate toolexeclibdir.
4315 # Also toolexecdir, though it's only used in toolexeclibdir.
4316 case ${enable_version_specific_runtime_libs} in
4318 # Need the gcc compiler version to know where to install libraries
4319 # and header files if --enable-version-specific-runtime-libs option
4321 toolexecdir
='$(libdir)/gcc/$(target_alias)'
4322 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4325 if test -n "$with_cross_host" &&
4326 test x
"$with_cross_host" != x
"no"; then
4327 # Install a library built with a cross compiler in tooldir, not libdir.
4328 toolexecdir
='$(exec_prefix)/$(target_alias)'
4329 toolexeclibdir
='$(toolexecdir)/lib'
4331 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
4332 toolexeclibdir
='$(libdir)'
4334 multi_os_directory
=`$CC -print-multi-os-directory`
4335 case $multi_os_directory in
4336 .
) ;; # Avoid trailing /.
4337 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4349 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4354 macro_version
='2.2.7a'
4355 macro_revision
='1.3134'
4369 ltmain
="$ac_aux_dir/ltmain.sh"
4371 # Backslashify metacharacters that are still active within
4372 # double-quoted strings.
4373 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4375 # Same as above, but do not quote variable references.
4376 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4378 # Sed substitution to delay expansion of an escaped shell variable in a
4379 # double_quote_subst'ed string.
4380 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4382 # Sed substitution to delay expansion of an escaped single quote.
4383 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4385 # Sed substitution to avoid accidental globbing in evaled expressions
4386 no_glob_subst
='s/\*/\\\*/g'
4388 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4389 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4390 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4393 $as_echo_n "checking how to print strings... " >&6; }
4394 # Test print first, because it will be a builtin if present.
4395 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4396 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4398 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4401 # Use this function as a fallback that always works.
4402 func_fallback_echo ()
4404 eval 'cat <<_LTECHO_EOF
4408 ECHO='func_fallback_echo
'
4411 # func_echo_all arg...
4412 # Invoke $ECHO with all args, space-separated.
4419 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4420 $as_echo "printf" >&6; } ;;
4421 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4422 $as_echo "print -r" >&6; } ;;
4423 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4424 $as_echo "cat" >&6; } ;;
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4441 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4442 if test "${ac_cv_path_SED+set}" = set; then :
4443 $as_echo_n "(cached) " >&6
4445 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4446 for ac_i in 1 2 3 4 5 6 7; do
4447 ac_script="$ac_script$as_nl$ac_script"
4449 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4450 { ac_script=; unset ac_script;}
4451 if test -z "$SED"; then
4452 ac_path_SED_found=false
4453 # Loop through the user's path and
test for each of PROGNAME-LIST
4454 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4458 test -z "$as_dir" && as_dir
=.
4459 for ac_prog
in sed gsed
; do
4460 for ac_exec_ext
in '' $ac_executable_extensions; do
4461 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4462 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4463 # Check for GNU ac_path_SED and select it if it is found.
4464 # Check for GNU $ac_path_SED
4465 case `"$ac_path_SED" --version 2>&1` in
4467 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4470 $as_echo_n 0123456789 >"conftest.in"
4473 cat "conftest.in" "conftest.in" >"conftest.tmp"
4474 mv "conftest.tmp" "conftest.in"
4475 cp "conftest.in" "conftest.nl"
4476 $as_echo '' >> "conftest.nl"
4477 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4478 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4479 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4480 if test $ac_count -gt ${ac_path_SED_max-0}; then
4481 # Best one so far, save it but keep looking for a better one
4482 ac_cv_path_SED
="$ac_path_SED"
4483 ac_path_SED_max
=$ac_count
4485 # 10*(2^10) chars as input seems more than enough
4486 test $ac_count -gt 10 && break
4488 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4491 $ac_path_SED_found && break 3
4496 if test -z "$ac_cv_path_SED"; then
4497 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4505 $as_echo "$ac_cv_path_SED" >&6; }
4506 SED
="$ac_cv_path_SED"
4509 test -z "$SED" && SED
=sed
4510 Xsed
="$SED -e 1s/^X//"
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4523 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4524 if test "${ac_cv_path_GREP+set}" = set; then :
4525 $as_echo_n "(cached) " >&6
4527 if test -z "$GREP"; then
4528 ac_path_GREP_found
=false
4529 # Loop through the user's path and test for each of PROGNAME-LIST
4530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4531 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4534 test -z "$as_dir" && as_dir
=.
4535 for ac_prog
in grep ggrep
; do
4536 for ac_exec_ext
in '' $ac_executable_extensions; do
4537 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4538 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4539 # Check for GNU ac_path_GREP and select it if it is found.
4540 # Check for GNU $ac_path_GREP
4541 case `"$ac_path_GREP" --version 2>&1` in
4543 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4546 $as_echo_n 0123456789 >"conftest.in"
4549 cat "conftest.in" "conftest.in" >"conftest.tmp"
4550 mv "conftest.tmp" "conftest.in"
4551 cp "conftest.in" "conftest.nl"
4552 $as_echo 'GREP' >> "conftest.nl"
4553 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4554 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4555 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4556 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4557 # Best one so far, save it but keep looking for a better one
4558 ac_cv_path_GREP
="$ac_path_GREP"
4559 ac_path_GREP_max
=$ac_count
4561 # 10*(2^10) chars as input seems more than enough
4562 test $ac_count -gt 10 && break
4564 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4567 $ac_path_GREP_found && break 3
4572 if test -z "$ac_cv_path_GREP"; then
4573 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4576 ac_cv_path_GREP
=$GREP
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4581 $as_echo "$ac_cv_path_GREP" >&6; }
4582 GREP
="$ac_cv_path_GREP"
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4586 $as_echo_n "checking for egrep... " >&6; }
4587 if test "${ac_cv_path_EGREP+set}" = set; then :
4588 $as_echo_n "(cached) " >&6
4590 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4591 then ac_cv_path_EGREP
="$GREP -E"
4593 if test -z "$EGREP"; then
4594 ac_path_EGREP_found
=false
4595 # Loop through the user's path and test for each of PROGNAME-LIST
4596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4597 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4600 test -z "$as_dir" && as_dir
=.
4601 for ac_prog
in egrep; do
4602 for ac_exec_ext
in '' $ac_executable_extensions; do
4603 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4604 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4605 # Check for GNU ac_path_EGREP and select it if it is found.
4606 # Check for GNU $ac_path_EGREP
4607 case `"$ac_path_EGREP" --version 2>&1` in
4609 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4612 $as_echo_n 0123456789 >"conftest.in"
4615 cat "conftest.in" "conftest.in" >"conftest.tmp"
4616 mv "conftest.tmp" "conftest.in"
4617 cp "conftest.in" "conftest.nl"
4618 $as_echo 'EGREP' >> "conftest.nl"
4619 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4620 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4621 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4622 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4623 # Best one so far, save it but keep looking for a better one
4624 ac_cv_path_EGREP
="$ac_path_EGREP"
4625 ac_path_EGREP_max
=$ac_count
4627 # 10*(2^10) chars as input seems more than enough
4628 test $ac_count -gt 10 && break
4630 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4633 $ac_path_EGREP_found && break 3
4638 if test -z "$ac_cv_path_EGREP"; then
4639 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4642 ac_cv_path_EGREP
=$EGREP
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4648 $as_echo "$ac_cv_path_EGREP" >&6; }
4649 EGREP
="$ac_cv_path_EGREP"
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4653 $as_echo_n "checking for fgrep... " >&6; }
4654 if test "${ac_cv_path_FGREP+set}" = set; then :
4655 $as_echo_n "(cached) " >&6
4657 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4658 then ac_cv_path_FGREP
="$GREP -F"
4660 if test -z "$FGREP"; then
4661 ac_path_FGREP_found
=false
4662 # Loop through the user's path and test for each of PROGNAME-LIST
4663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4664 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4667 test -z "$as_dir" && as_dir
=.
4668 for ac_prog
in fgrep
; do
4669 for ac_exec_ext
in '' $ac_executable_extensions; do
4670 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4671 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4672 # Check for GNU ac_path_FGREP and select it if it is found.
4673 # Check for GNU $ac_path_FGREP
4674 case `"$ac_path_FGREP" --version 2>&1` in
4676 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4679 $as_echo_n 0123456789 >"conftest.in"
4682 cat "conftest.in" "conftest.in" >"conftest.tmp"
4683 mv "conftest.tmp" "conftest.in"
4684 cp "conftest.in" "conftest.nl"
4685 $as_echo 'FGREP' >> "conftest.nl"
4686 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4687 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4688 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4689 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4690 # Best one so far, save it but keep looking for a better one
4691 ac_cv_path_FGREP
="$ac_path_FGREP"
4692 ac_path_FGREP_max
=$ac_count
4694 # 10*(2^10) chars as input seems more than enough
4695 test $ac_count -gt 10 && break
4697 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4700 $ac_path_FGREP_found && break 3
4705 if test -z "$ac_cv_path_FGREP"; then
4706 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4709 ac_cv_path_FGREP
=$FGREP
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4715 $as_echo "$ac_cv_path_FGREP" >&6; }
4716 FGREP
="$ac_cv_path_FGREP"
4719 test -z "$GREP" && GREP
=grep
4739 # Check whether --with-gnu-ld was given.
4740 if test "${with_gnu_ld+set}" = set; then :
4741 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4747 if test "$GCC" = yes; then
4748 # Check if gcc -print-prog-name=ld gives a path.
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4750 $as_echo_n "checking for ld used by $CC... " >&6; }
4753 # gcc leaves a trailing carriage return which upsets mingw
4754 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4756 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4759 # Accept absolute paths.
4761 re_direlt
='/[^/][^/]*/\.\./'
4762 # Canonicalize the pathname of ld
4763 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4764 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4765 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4767 test -z "$LD" && LD
="$ac_prog"
4770 # If it fails, then pretend we aren't using GCC.
4774 # If it is relative, then search for the first ld in PATH.
4778 elif test "$with_gnu_ld" = yes; then
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4780 $as_echo_n "checking for GNU ld... " >&6; }
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4783 $as_echo_n "checking for non-GNU ld... " >&6; }
4785 if test "${lt_cv_path_LD+set}" = set; then :
4786 $as_echo_n "(cached) " >&6
4788 if test -z "$LD"; then
4789 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4790 for ac_dir
in $PATH; do
4792 test -z "$ac_dir" && ac_dir
=.
4793 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4794 lt_cv_path_LD
="$ac_dir/$ac_prog"
4795 # Check to see if the program is GNU ld. I'd rather use --version,
4796 # but apparently some variants of GNU ld only accept -v.
4797 # Break only if it was the GNU/non-GNU ld that we prefer.
4798 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4799 *GNU
* |
*'with BFD'*)
4800 test "$with_gnu_ld" != no
&& break
4803 test "$with_gnu_ld" != yes && break
4810 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4815 if test -n "$LD"; then
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4817 $as_echo "$LD" >&6; }
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4820 $as_echo "no" >&6; }
4822 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4824 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4825 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4826 $as_echo_n "(cached) " >&6
4828 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4829 case `$LD -v 2>&1 </dev/null` in
4830 *GNU
* |
*'with BFD'*)
4831 lt_cv_prog_gnu_ld
=yes
4834 lt_cv_prog_gnu_ld
=no
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4839 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4840 with_gnu_ld
=$lt_cv_prog_gnu_ld
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4851 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4852 if test "${lt_cv_path_NM+set}" = set; then :
4853 $as_echo_n "(cached) " >&6
4855 if test -n "$NM"; then
4856 # Let the user override the test.
4859 lt_nm_to_check
="${ac_tool_prefix}nm"
4860 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4861 lt_nm_to_check
="$lt_nm_to_check nm"
4863 for lt_tmp_nm
in $lt_nm_to_check; do
4864 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4865 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4867 test -z "$ac_dir" && ac_dir
=.
4868 tmp_nm
="$ac_dir/$lt_tmp_nm"
4869 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4870 # Check to see if the nm accepts a BSD-compat flag.
4871 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4872 # nm: unknown option "B" ignored
4873 # Tru64's nm complains that /dev/null is an invalid object file
4874 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4875 */dev
/null
* |
*'Invalid file or object type'*)
4876 lt_cv_path_NM
="$tmp_nm -B"
4880 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4882 lt_cv_path_NM
="$tmp_nm -p"
4886 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4887 continue # so that we can try to find one that supports BSD flags
4896 : ${lt_cv_path_NM=no}
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4900 $as_echo "$lt_cv_path_NM" >&6; }
4901 if test "$lt_cv_path_NM" != "no"; then
4904 # Didn't find any BSD compatible name lister, look for dumpbin.
4905 if test -n "$DUMPBIN"; then :
4906 # Let the user override the test.
4908 if test -n "$ac_tool_prefix"; then
4909 for ac_prog
in dumpbin
"link -dump"
4911 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4912 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4914 $as_echo_n "checking for $ac_word... " >&6; }
4915 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4916 $as_echo_n "(cached) " >&6
4918 if test -n "$DUMPBIN"; then
4919 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4925 test -z "$as_dir" && as_dir
=.
4926 for ac_exec_ext
in '' $ac_executable_extensions; do
4927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4928 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4938 DUMPBIN
=$ac_cv_prog_DUMPBIN
4939 if test -n "$DUMPBIN"; then
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4941 $as_echo "$DUMPBIN" >&6; }
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4944 $as_echo "no" >&6; }
4948 test -n "$DUMPBIN" && break
4951 if test -z "$DUMPBIN"; then
4952 ac_ct_DUMPBIN
=$DUMPBIN
4953 for ac_prog
in dumpbin
"link -dump"
4955 # Extract the first word of "$ac_prog", so it can be a program name with args.
4956 set dummy
$ac_prog; ac_word
=$2
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4958 $as_echo_n "checking for $ac_word... " >&6; }
4959 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4960 $as_echo_n "(cached) " >&6
4962 if test -n "$ac_ct_DUMPBIN"; then
4963 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4969 test -z "$as_dir" && as_dir
=.
4970 for ac_exec_ext
in '' $ac_executable_extensions; do
4971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4972 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4982 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4983 if test -n "$ac_ct_DUMPBIN"; then
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4985 $as_echo "$ac_ct_DUMPBIN" >&6; }
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4988 $as_echo "no" >&6; }
4992 test -n "$ac_ct_DUMPBIN" && break
4995 if test "x$ac_ct_DUMPBIN" = x
; then
4998 case $cross_compiling:$ac_tool_warned in
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5002 ac_tool_warned
=yes ;;
5004 DUMPBIN
=$ac_ct_DUMPBIN
5008 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5010 DUMPBIN
="$DUMPBIN -symbols"
5018 if test "$DUMPBIN" != ":"; then
5022 test -z "$NM" && NM
=nm
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5030 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5031 if test "${lt_cv_nm_interface+set}" = set; then :
5032 $as_echo_n "(cached) " >&6
5034 lt_cv_nm_interface
="BSD nm"
5035 echo "int some_variable = 0;" > conftest.
$ac_ext
5036 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5037 (eval "$ac_compile" 2>conftest.err
)
5038 cat conftest.err
>&5
5039 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5040 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5041 cat conftest.err
>&5
5042 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5043 cat conftest.out
>&5
5044 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5045 lt_cv_nm_interface
="MS dumpbin"
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5050 $as_echo "$lt_cv_nm_interface" >&6; }
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5053 $as_echo_n "checking whether ln -s works... " >&6; }
5055 if test "$LN_S" = "ln -s"; then
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5057 $as_echo "yes" >&6; }
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5060 $as_echo "no, using $LN_S" >&6; }
5063 # find the maximum length of command line arguments
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5065 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5066 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5067 $as_echo_n "(cached) " >&6
5074 # On DJGPP, this test can blow up pretty badly due to problems in libc
5075 # (any single argument exceeding 2000 bytes causes a buffer overrun
5076 # during glob expansion). Even if it were fixed, the result of this
5077 # check would be larger than it should be.
5078 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5082 # Under GNU Hurd, this test is not required because there is
5083 # no limit to the length of command line arguments.
5084 # Libtool will interpret -1 as no limit whatsoever
5085 lt_cv_sys_max_cmd_len
=-1;
5088 cygwin
* | mingw
* | cegcc
*)
5089 # On Win9x/ME, this test blows up -- it succeeds, but takes
5090 # about 5 minutes as the teststring grows exponentially.
5091 # Worse, since 9x/ME are not pre-emptively multitasking,
5092 # you end up with a "frozen" computer, even though with patience
5093 # the test eventually succeeds (with a max line length of 256k).
5094 # Instead, let's just punt: use the minimum linelength reported by
5095 # all of the supported platforms: 8192 (on NT/2K/XP).
5096 lt_cv_sys_max_cmd_len
=8192;
5100 # On MiNT this can take a long time and run out of memory.
5101 lt_cv_sys_max_cmd_len
=8192;
5105 # On AmigaOS with pdksh, this test takes hours, literally.
5106 # So we just punt and use a minimum line length of 8192.
5107 lt_cv_sys_max_cmd_len
=8192;
5110 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5111 # This has been around since 386BSD, at least. Likely further.
5112 if test -x /sbin
/sysctl
; then
5113 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5114 elif test -x /usr
/sbin
/sysctl
; then
5115 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5117 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5119 # And add a safety zone
5120 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5121 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5125 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5126 lt_cv_sys_max_cmd_len
=196608
5130 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5131 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5132 # nice to cause kernel panics so lets avoid the loop below.
5133 # First set a reasonable default.
5134 lt_cv_sys_max_cmd_len
=16384
5136 if test -x /sbin
/sysconfig
; then
5137 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5138 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5143 lt_cv_sys_max_cmd_len
=102400
5145 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5146 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5147 if test -n "$kargmax"; then
5148 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5150 lt_cv_sys_max_cmd_len
=32768
5154 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5155 if test -n "$lt_cv_sys_max_cmd_len"; then
5156 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5157 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5159 # Make teststring a little bigger before we do anything with it.
5160 # a 1K string should be a reasonable start.
5161 for i
in 1 2 3 4 5 6 7 8 ; do
5162 teststring
=$teststring$teststring
5164 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5165 # If test is not a shell built-in, we'll probably end up computing a
5166 # maximum length that is only half of the actual maximum length, but
5168 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5169 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5170 test $i != 17 # 1/2 MB should be enough
5173 teststring
=$teststring$teststring
5175 # Only check the string length outside the loop.
5176 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5178 # Add a significant safety factor because C++ compilers can tack on
5179 # massive amounts of additional arguments before passing them to the
5180 # linker. It appears as though 1/2 is a usable value.
5181 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5188 if test -n $lt_cv_sys_max_cmd_len ; then
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5190 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5193 $as_echo "none" >&6; }
5195 max_cmd_len
=$lt_cv_sys_max_cmd_len
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5207 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5208 # Try some XSI features
5211 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5213 && eval 'test $(( 1 + 1 )) -eq 2 \
5214 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5217 $as_echo "$xsi_shell" >&6; }
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5221 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5223 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5225 && lt_shell_append=yes
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5227 $as_echo "$lt_shell_append" >&6; }
5230 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5240 # test EBCDIC or ASCII
5241 case `echo X|tr X '\101'` in
5242 A) # ASCII based system
5243 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5244 lt_SP2NL='tr \040 \012'
5245 lt_NL2SP='tr \015\012 \040\040'
5247 *) # EBCDIC based system
5248 lt_SP2NL='tr \100 \n'
5249 lt_NL2SP='tr \r\n \100\100'
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5262 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5263 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5264 $as_echo_n "(cached
) " >&6
5266 lt_cv_ld_reload_flag='-r'
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5269 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5270 reload_flag=$lt_cv_ld_reload_flag
5271 case $reload_flag in
5273 *) reload_flag=" $reload_flag" ;;
5275 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5278 if test "$GCC" = yes; then
5279 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5281 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5294 if test -n "$ac_tool_prefix"; then
5295 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5296 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5298 $as_echo_n "checking
for $ac_word...
" >&6; }
5299 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5300 $as_echo_n "(cached
) " >&6
5302 if test -n "$OBJDUMP"; then
5303 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5309 test -z "$as_dir" && as_dir=.
5310 for ac_exec_ext in '' $ac_executable_extensions; do
5311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5312 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5313 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5322 OBJDUMP=$ac_cv_prog_OBJDUMP
5323 if test -n "$OBJDUMP"; then
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5325 $as_echo "$OBJDUMP" >&6; }
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5328 $as_echo "no
" >&6; }
5333 if test -z "$ac_cv_prog_OBJDUMP"; then
5334 ac_ct_OBJDUMP=$OBJDUMP
5335 # Extract the first word of "objdump
", so it can be a program name with args.
5336 set dummy objdump; ac_word=$2
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5338 $as_echo_n "checking
for $ac_word...
" >&6; }
5339 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5340 $as_echo_n "(cached
) " >&6
5342 if test -n "$ac_ct_OBJDUMP"; then
5343 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5349 test -z "$as_dir" && as_dir=.
5350 for ac_exec_ext in '' $ac_executable_extensions; do
5351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5352 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5353 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5362 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5363 if test -n "$ac_ct_OBJDUMP"; then
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5365 $as_echo "$ac_ct_OBJDUMP" >&6; }
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5368 $as_echo "no
" >&6; }
5371 if test "x
$ac_ct_OBJDUMP" = x; then
5374 case $cross_compiling:$ac_tool_warned in
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5377 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5378 ac_tool_warned=yes ;;
5380 OBJDUMP=$ac_ct_OBJDUMP
5383 OBJDUMP="$ac_cv_prog_OBJDUMP"
5386 test -z "$OBJDUMP" && OBJDUMP=objdump
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5397 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5398 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5399 $as_echo_n "(cached
) " >&6
5401 lt_cv_file_magic_cmd='$MAGIC_CMD'
5402 lt_cv_file_magic_test_file=
5403 lt_cv_deplibs_check_method='unknown'
5404 # Need to set the preceding variable on all platforms that support
5405 # interlibrary dependencies.
5406 # 'none' -- dependencies not supported.
5407 # `unknown' -- same as none, but documents that we really don't know.
5408 # 'pass_all' -- all dependencies passed with no checks.
5409 # 'test_compile' -- check by making test program.
5410 # 'file_magic [[regex]]' -- check by looking for files in library path
5411 # which responds to the $file_magic_cmd with a given extended regex.
5412 # If you have `file' or equivalent on your system and you're not sure
5413 # whether `pass_all' will *always* work, you probably want this one.
5417 lt_cv_deplibs_check_method=pass_all
5421 lt_cv_deplibs_check_method=pass_all
5425 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5426 lt_cv_file_magic_cmd='/usr/bin/file -L'
5427 lt_cv_file_magic_test_file=/shlib/libc.so
5431 # func_win32_libid is a shell function defined in ltmain.sh
5432 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5433 lt_cv_file_magic_cmd='func_win32_libid'
5437 # Base MSYS/MinGW do not provide the 'file' command needed by
5438 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5439 # unless we find 'file', for example because we are cross-compiling.
5440 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5441 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5442 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5443 lt_cv_file_magic_cmd='func_win32_libid'
5445 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5446 lt_cv_file_magic_cmd='$OBJDUMP -f'
5451 # use the weaker test based on 'objdump'. See mingw*.
5452 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5453 lt_cv_file_magic_cmd='$OBJDUMP -f'
5456 darwin* | rhapsody*)
5457 lt_cv_deplibs_check_method=pass_all
5460 freebsd* | dragonfly*)
5461 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5464 # Not sure whether the presence of OpenBSD here was a mistake.
5465 # Let's accept both of them until this is cleared up.
5466 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5467 lt_cv_file_magic_cmd=/usr/bin/file
5468 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5472 lt_cv_deplibs_check_method=pass_all
5477 lt_cv_deplibs_check_method=pass_all
5481 lt_cv_deplibs_check_method=pass_all
5484 hpux10.20* | hpux11*)
5485 lt_cv_file_magic_cmd=/usr/bin/file
5488 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5489 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5492 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]'
5493 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5496 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5497 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5503 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5504 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5507 irix5* | irix6* | nonstopux*)
5509 *-32|*"-32 ") libmagic=32-bit;;
5510 *-n32|*"-n32 ") libmagic=N32;;
5511 *-64|*"-64 ") libmagic=64-bit;;
5512 *) libmagic=never-match;;
5514 lt_cv_deplibs_check_method=pass_all
5517 # This must be Linux ELF.
5518 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5519 lt_cv_deplibs_check_method=pass_all
5523 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5524 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5526 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5531 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5532 lt_cv_file_magic_cmd=/usr/bin/file
5533 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5537 lt_cv_deplibs_check_method=pass_all
5541 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5542 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5544 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5548 osf3* | osf4* | osf5*)
5549 lt_cv_deplibs_check_method=pass_all
5553 lt_cv_deplibs_check_method=pass_all
5557 lt_cv_deplibs_check_method=pass_all
5560 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5561 lt_cv_deplibs_check_method=pass_all
5565 case $host_vendor in
5567 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]'
5568 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5571 lt_cv_deplibs_check_method=pass_all
5574 lt_cv_file_magic_cmd='/bin/file'
5575 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5578 lt_cv_file_magic_cmd='/bin/file'
5579 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5580 lt_cv_file_magic_test_file=/lib/libc.so
5583 lt_cv_deplibs_check_method=pass_all
5586 lt_cv_deplibs_check_method=pass_all
5592 lt_cv_deplibs_check_method=pass_all
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5598 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5599 file_magic_cmd=$lt_cv_file_magic_cmd
5600 deplibs_check_method=$lt_cv_deplibs_check_method
5601 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5614 if test -n "$ac_tool_prefix"; then
5615 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5616 set dummy ${ac_tool_prefix}ar; ac_word=$2
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5618 $as_echo_n "checking
for $ac_word...
" >&6; }
5619 if test "${ac_cv_prog_AR+set}" = set; then :
5620 $as_echo_n "(cached
) " >&6
5622 if test -n "$AR"; then
5623 ac_cv_prog_AR="$AR" # Let the user override the test.
5625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5629 test -z "$as_dir" && as_dir=.
5630 for ac_exec_ext in '' $ac_executable_extensions; do
5631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5632 ac_cv_prog_AR="${ac_tool_prefix}ar"
5633 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5643 if test -n "$AR"; then
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5645 $as_echo "$AR" >&6; }
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5648 $as_echo "no
" >&6; }
5653 if test -z "$ac_cv_prog_AR"; then
5655 # Extract the first word of "ar", so it can be a program name with args.
5656 set dummy ar; ac_word=$2
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5658 $as_echo_n "checking
for $ac_word...
" >&6; }
5659 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5660 $as_echo_n "(cached
) " >&6
5662 if test -n "$ac_ct_AR"; then
5663 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5669 test -z "$as_dir" && as_dir=.
5670 for ac_exec_ext in '' $ac_executable_extensions; do
5671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5672 ac_cv_prog_ac_ct_AR="ar"
5673 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5682 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5683 if test -n "$ac_ct_AR"; then
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5685 $as_echo "$ac_ct_AR" >&6; }
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5688 $as_echo "no
" >&6; }
5691 if test "x
$ac_ct_AR" = x; then
5694 case $cross_compiling:$ac_tool_warned in
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5697 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5698 ac_tool_warned=yes ;;
5706 test -z "$AR" && AR=ar
5707 test -z "$AR_FLAGS" && AR_FLAGS=cru
5719 if test -n "$ac_tool_prefix"; then
5720 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5721 set dummy ${ac_tool_prefix}strip; ac_word=$2
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5723 $as_echo_n "checking
for $ac_word...
" >&6; }
5724 if test "${ac_cv_prog_STRIP+set}" = set; then :
5725 $as_echo_n "(cached
) " >&6
5727 if test -n "$STRIP"; then
5728 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5734 test -z "$as_dir" && as_dir=.
5735 for ac_exec_ext in '' $ac_executable_extensions; do
5736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5737 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5738 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5747 STRIP=$ac_cv_prog_STRIP
5748 if test -n "$STRIP"; then
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5750 $as_echo "$STRIP" >&6; }
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5753 $as_echo "no
" >&6; }
5758 if test -z "$ac_cv_prog_STRIP"; then
5760 # Extract the first word of "strip
", so it can be a program name with args.
5761 set dummy strip; ac_word=$2
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5763 $as_echo_n "checking
for $ac_word...
" >&6; }
5764 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5765 $as_echo_n "(cached
) " >&6
5767 if test -n "$ac_ct_STRIP"; then
5768 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5774 test -z "$as_dir" && as_dir=.
5775 for ac_exec_ext in '' $ac_executable_extensions; do
5776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5777 ac_cv_prog_ac_ct_STRIP="strip
"
5778 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5787 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5788 if test -n "$ac_ct_STRIP"; then
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5790 $as_echo "$ac_ct_STRIP" >&6; }
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5793 $as_echo "no
" >&6; }
5796 if test "x
$ac_ct_STRIP" = x; then
5799 case $cross_compiling:$ac_tool_warned in
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5802 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5803 ac_tool_warned=yes ;;
5808 STRIP="$ac_cv_prog_STRIP"
5811 test -z "$STRIP" && STRIP=:
5818 if test -n "$ac_tool_prefix"; then
5819 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5820 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5822 $as_echo_n "checking
for $ac_word...
" >&6; }
5823 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5824 $as_echo_n "(cached
) " >&6
5826 if test -n "$RANLIB"; then
5827 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5833 test -z "$as_dir" && as_dir=.
5834 for ac_exec_ext in '' $ac_executable_extensions; do
5835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5836 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5837 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5846 RANLIB=$ac_cv_prog_RANLIB
5847 if test -n "$RANLIB"; then
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5849 $as_echo "$RANLIB" >&6; }
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5852 $as_echo "no
" >&6; }
5857 if test -z "$ac_cv_prog_RANLIB"; then
5858 ac_ct_RANLIB=$RANLIB
5859 # Extract the first word of "ranlib
", so it can be a program name with args.
5860 set dummy ranlib; ac_word=$2
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5862 $as_echo_n "checking
for $ac_word...
" >&6; }
5863 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5864 $as_echo_n "(cached
) " >&6
5866 if test -n "$ac_ct_RANLIB"; then
5867 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5873 test -z "$as_dir" && as_dir=.
5874 for ac_exec_ext in '' $ac_executable_extensions; do
5875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5876 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5877 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5886 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5887 if test -n "$ac_ct_RANLIB"; then
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5889 $as_echo "$ac_ct_RANLIB" >&6; }
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5892 $as_echo "no
" >&6; }
5895 if test "x
$ac_ct_RANLIB" = x; then
5898 case $cross_compiling:$ac_tool_warned in
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5901 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5902 ac_tool_warned=yes ;;
5904 RANLIB=$ac_ct_RANLIB
5907 RANLIB="$ac_cv_prog_RANLIB"
5910 test -z "$RANLIB" && RANLIB=:
5917 # Determine commands to create old-style static archives.
5918 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5919 old_postinstall_cmds='chmod 644 $oldlib'
5920 old_postuninstall_cmds=
5922 if test -n "$RANLIB"; then
5925 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5928 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5931 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5936 lock_old_archive_extraction=yes ;;
5938 lock_old_archive_extraction=no ;;
5979 # If no C compiler was specified, use CC.
5982 # If no C compiler flags were specified, use CFLAGS.
5983 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5985 # Allow CC to be a program name with arguments.
5989 # Check for command to grab the raw symbol name followed by C symbol from nm.
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
5991 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5992 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5993 $as_echo_n "(cached
) " >&6
5996 # These are sane defaults that work on at least a few old systems.
5997 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5999 # Character class describing NM global symbol codes.
6000 symcode='[BCDEGRST]'
6002 # Regexp to match symbols that can be accessed directly from C.
6003 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6005 # Define system-specific variables.
6010 cygwin* | mingw* | pw32* | cegcc*)
6011 symcode='[ABCDGISTW]'
6014 if test "$host_cpu" = ia64; then
6015 symcode='[ABCDEGRST]'
6019 symcode='[BCDEGRST]'
6022 symcode='[BCDEGQRST]'
6033 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6041 # If we're using GNU nm, then use its standard symbol codes.
6042 case `$NM -V 2>&1` in
6043 *GNU* | *'with BFD'*)
6044 symcode='[ABCDGIRSTW]' ;;
6047 # Transform an extracted symbol line into a proper C declaration.
6048 # Some systems (esp. on ia64) link data and code symbols differently,
6049 # so use this general approach.
6050 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6052 # Transform an extracted symbol line into symbol name and symbol address
6053 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6054 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'"
6056 # Handle CRLF in mingw tool chain
6060 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6064 # Try without a prefix underscore, then with it.
6065 for ac_symprfx in "" "_
"; do
6067 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6068 symxfrm="\\1 $ac_symprfx\\2 \\2"
6070 # Write the raw and C identifiers.
6071 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6072 # Fake it for dumpbin and say T for any non-static function
6073 # and D for any global variable.
6074 # Also find C++ and __fastcall symbols from MSVC++,
6075 # which start with @ or ?.
6076 lt_cv_sys_global_symbol_pipe="$AWK '"\
6077 " {last_section=section; section=\$ 3};"\
6078 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6079 " \$ 0!~/External *\|/{next};"\
6080 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6081 " {if(hide[section]) next};"\
6082 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6083 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6084 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6085 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6086 " ' prfx
=^
$ac_symprfx"
6088 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6091 # Check to see that the pipe works correctly.
6095 cat > conftest.$ac_ext <<_LT_EOF
6100 void nm_test_func(void);
6101 void nm_test_func(void){}
6105 int main(){nm_test_var='a';nm_test_func();return(0);}
6108 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6109 (eval $ac_compile) 2>&5
6111 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6112 test $ac_status = 0; }; then
6113 # Now try to grab the symbols.
6115 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6116 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6118 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6119 test $ac_status = 0; } && test -s "$nlist"; then
6120 # Try sorting and uniquifying the output.
6121 if sort "$nlist" | uniq > "$nlist"T; then
6122 mv -f "$nlist"T "$nlist"
6127 # Make sure that we snagged all the symbols we need.
6128 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6129 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6130 cat <<_LT_EOF > conftest.$ac_ext
6136 # Now generate the symbol file.
6137 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6139 cat <<_LT_EOF >> conftest.$ac_ext
6141 /* The mapping between symbol names and symbols. */
6146 lt__PROGRAM__LTX_preloaded_symbols[] =
6148 { "@PROGRAM@
", (void *) 0 },
6150 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6151 cat <<\_LT_EOF >> conftest.$ac_ext
6155 /* This works around a problem in FreeBSD linker */
6156 #ifdef FREEBSD_WORKAROUND
6157 static const void *lt_preloaded_setup() {
6158 return lt__PROGRAM__LTX_preloaded_symbols;
6166 # Now try linking the two files.
6167 mv conftest.$ac_objext conftstm.$ac_objext
6168 lt_save_LIBS="$LIBS"
6169 lt_save_CFLAGS="$CFLAGS"
6170 LIBS="conftstm.
$ac_objext"
6171 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6172 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6173 (eval $ac_link) 2>&5
6175 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6176 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6179 LIBS="$lt_save_LIBS"
6180 CFLAGS="$lt_save_CFLAGS"
6182 echo "cannot
find nm_test_func
in $nlist" >&5
6185 echo "cannot
find nm_test_var
in $nlist" >&5
6188 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6191 echo "$progname: failed program was
:" >&5
6192 cat conftest.$ac_ext >&5
6194 rm -rf conftest* conftst*
6196 # Do not use the global_symbol_pipe unless it works.
6197 if test "$pipe_works" = yes; then
6200 lt_cv_sys_global_symbol_pipe=
6206 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6207 lt_cv_sys_global_symbol_to_cdecl=
6209 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6211 $as_echo "failed
" >&6; }
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6214 $as_echo "ok
" >&6; }
6239 # Check whether --enable-libtool-lock was given.
6240 if test "${enable_libtool_lock+set}" = set; then :
6241 enableval=$enable_libtool_lock;
6244 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6246 # Some flags need to be propagated to the compiler or linker for good
6250 # Find out which ABI we are using.
6251 echo 'int i;' > conftest.$ac_ext
6252 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6253 (eval $ac_compile) 2>&5
6255 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6256 test $ac_status = 0; }; then
6257 case `/usr/bin/file conftest.$ac_objext` in
6269 # Find out which ABI we are using.
6270 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6271 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6272 (eval $ac_compile) 2>&5
6274 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6275 test $ac_status = 0; }; then
6276 if test "$lt_cv_prog_gnu_ld" = yes; then
6277 case `/usr/bin/file conftest.$ac_objext` in
6279 LD="${LD-ld} -melf32bsmip"
6282 LD="${LD-ld} -melf32bmipn32"
6285 LD="${LD-ld} -melf64bmip"
6289 case `/usr/bin/file conftest.$ac_objext` in
6305 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6306 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6307 # Find out which ABI we are using.
6308 echo 'int i;' > conftest.$ac_ext
6309 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6310 (eval $ac_compile) 2>&5
6312 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6313 test $ac_status = 0; }; then
6314 case `/usr/bin/file conftest.o` in
6317 x86_64-*kfreebsd*-gnu)
6318 LD="${LD-ld} -m elf_i386_fbsd
"
6321 case `/usr/bin/file conftest.o` in
6323 LD="${LD-ld} -m elf32_x86_64
"
6326 LD="${LD-ld} -m elf_i386
"
6330 powerpc64le-*linux*)
6331 LD="${LD-ld} -m elf32lppclinux
"
6334 LD="${LD-ld} -m elf32ppclinux
"
6337 LD="${LD-ld} -m elf_s390
"
6340 LD="${LD-ld} -m elf32_sparc
"
6346 x86_64-*kfreebsd*-gnu)
6347 LD="${LD-ld} -m elf_x86_64_fbsd
"
6350 LD="${LD-ld} -m elf_x86_64
"
6353 LD="${LD-ld} -m elf64lppc
"
6356 LD="${LD-ld} -m elf64ppc
"
6358 s390*-*linux*|s390*-*tpf*)
6359 LD="${LD-ld} -m elf64_s390
"
6362 LD="${LD-ld} -m elf64_sparc
"
6372 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6373 SAVE_CFLAGS="$CFLAGS"
6374 CFLAGS="$CFLAGS -belf"
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6376 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6377 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6378 $as_echo_n "(cached
) " >&6
6381 ac_cpp='$CPP $CPPFLAGS'
6382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6387 /* end confdefs.h. */
6397 if ac_fn_c_try_link "$LINENO"; then :
6398 lt_cv_cc_needs_belf=yes
6400 lt_cv_cc_needs_belf=no
6402 rm -f core conftest.err conftest.$ac_objext \
6403 conftest$ac_exeext conftest.$ac_ext
6405 ac_cpp='$CPP $CPPFLAGS'
6406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6412 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6413 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6414 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6415 CFLAGS="$SAVE_CFLAGS"
6419 # Find out which ABI we are using.
6420 echo 'int i;' > conftest.$ac_ext
6421 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6422 (eval $ac_compile) 2>&5
6424 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6425 test $ac_status = 0; }; then
6426 case `/usr/bin/file conftest.o` in
6428 case $lt_cv_prog_gnu_ld in
6429 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6431 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6443 need_locks="$enable_libtool_lock"
6447 rhapsody* | darwin*)
6448 if test -n "$ac_tool_prefix"; then
6449 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6450 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6452 $as_echo_n "checking
for $ac_word...
" >&6; }
6453 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6454 $as_echo_n "(cached
) " >&6
6456 if test -n "$DSYMUTIL"; then
6457 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6463 test -z "$as_dir" && as_dir=.
6464 for ac_exec_ext in '' $ac_executable_extensions; do
6465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6466 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6467 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6476 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6477 if test -n "$DSYMUTIL"; then
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6479 $as_echo "$DSYMUTIL" >&6; }
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6482 $as_echo "no
" >&6; }
6487 if test -z "$ac_cv_prog_DSYMUTIL"; then
6488 ac_ct_DSYMUTIL=$DSYMUTIL
6489 # Extract the first word of "dsymutil
", so it can be a program name with args.
6490 set dummy dsymutil; ac_word=$2
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6492 $as_echo_n "checking
for $ac_word...
" >&6; }
6493 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6494 $as_echo_n "(cached
) " >&6
6496 if test -n "$ac_ct_DSYMUTIL"; then
6497 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6503 test -z "$as_dir" && as_dir=.
6504 for ac_exec_ext in '' $ac_executable_extensions; do
6505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6506 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6507 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6516 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6517 if test -n "$ac_ct_DSYMUTIL"; then
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6519 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6522 $as_echo "no
" >&6; }
6525 if test "x
$ac_ct_DSYMUTIL" = x; then
6528 case $cross_compiling:$ac_tool_warned in
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6531 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6532 ac_tool_warned=yes ;;
6534 DSYMUTIL=$ac_ct_DSYMUTIL
6537 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6540 if test -n "$ac_tool_prefix"; then
6541 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6542 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6544 $as_echo_n "checking
for $ac_word...
" >&6; }
6545 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6546 $as_echo_n "(cached
) " >&6
6548 if test -n "$NMEDIT"; then
6549 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6555 test -z "$as_dir" && as_dir=.
6556 for ac_exec_ext in '' $ac_executable_extensions; do
6557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6558 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6559 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6568 NMEDIT=$ac_cv_prog_NMEDIT
6569 if test -n "$NMEDIT"; then
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6571 $as_echo "$NMEDIT" >&6; }
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6574 $as_echo "no
" >&6; }
6579 if test -z "$ac_cv_prog_NMEDIT"; then
6580 ac_ct_NMEDIT=$NMEDIT
6581 # Extract the first word of "nmedit
", so it can be a program name with args.
6582 set dummy nmedit; ac_word=$2
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6584 $as_echo_n "checking
for $ac_word...
" >&6; }
6585 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6586 $as_echo_n "(cached
) " >&6
6588 if test -n "$ac_ct_NMEDIT"; then
6589 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6595 test -z "$as_dir" && as_dir=.
6596 for ac_exec_ext in '' $ac_executable_extensions; do
6597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6598 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6599 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6608 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6609 if test -n "$ac_ct_NMEDIT"; then
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6611 $as_echo "$ac_ct_NMEDIT" >&6; }
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6614 $as_echo "no
" >&6; }
6617 if test "x
$ac_ct_NMEDIT" = x; then
6620 case $cross_compiling:$ac_tool_warned in
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6623 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6624 ac_tool_warned=yes ;;
6626 NMEDIT=$ac_ct_NMEDIT
6629 NMEDIT="$ac_cv_prog_NMEDIT"
6632 if test -n "$ac_tool_prefix"; then
6633 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6634 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6636 $as_echo_n "checking
for $ac_word...
" >&6; }
6637 if test "${ac_cv_prog_LIPO+set}" = set; then :
6638 $as_echo_n "(cached
) " >&6
6640 if test -n "$LIPO"; then
6641 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6647 test -z "$as_dir" && as_dir=.
6648 for ac_exec_ext in '' $ac_executable_extensions; do
6649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6650 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6651 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6660 LIPO=$ac_cv_prog_LIPO
6661 if test -n "$LIPO"; then
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6663 $as_echo "$LIPO" >&6; }
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6666 $as_echo "no
" >&6; }
6671 if test -z "$ac_cv_prog_LIPO"; then
6673 # Extract the first word of "lipo
", so it can be a program name with args.
6674 set dummy lipo; ac_word=$2
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6676 $as_echo_n "checking
for $ac_word...
" >&6; }
6677 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6678 $as_echo_n "(cached
) " >&6
6680 if test -n "$ac_ct_LIPO"; then
6681 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6687 test -z "$as_dir" && as_dir=.
6688 for ac_exec_ext in '' $ac_executable_extensions; do
6689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6690 ac_cv_prog_ac_ct_LIPO="lipo
"
6691 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6700 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6701 if test -n "$ac_ct_LIPO"; then
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6703 $as_echo "$ac_ct_LIPO" >&6; }
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6706 $as_echo "no
" >&6; }
6709 if test "x
$ac_ct_LIPO" = x; then
6712 case $cross_compiling:$ac_tool_warned in
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6715 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6716 ac_tool_warned=yes ;;
6721 LIPO="$ac_cv_prog_LIPO"
6724 if test -n "$ac_tool_prefix"; then
6725 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6726 set dummy ${ac_tool_prefix}otool; ac_word=$2
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6728 $as_echo_n "checking
for $ac_word...
" >&6; }
6729 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6730 $as_echo_n "(cached
) " >&6
6732 if test -n "$OTOOL"; then
6733 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6739 test -z "$as_dir" && as_dir=.
6740 for ac_exec_ext in '' $ac_executable_extensions; do
6741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6742 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6743 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6752 OTOOL=$ac_cv_prog_OTOOL
6753 if test -n "$OTOOL"; then
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6755 $as_echo "$OTOOL" >&6; }
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6758 $as_echo "no
" >&6; }
6763 if test -z "$ac_cv_prog_OTOOL"; then
6765 # Extract the first word of "otool
", so it can be a program name with args.
6766 set dummy otool; ac_word=$2
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6768 $as_echo_n "checking
for $ac_word...
" >&6; }
6769 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6770 $as_echo_n "(cached
) " >&6
6772 if test -n "$ac_ct_OTOOL"; then
6773 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6779 test -z "$as_dir" && as_dir=.
6780 for ac_exec_ext in '' $ac_executable_extensions; do
6781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6782 ac_cv_prog_ac_ct_OTOOL="otool
"
6783 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6792 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6793 if test -n "$ac_ct_OTOOL"; then
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6795 $as_echo "$ac_ct_OTOOL" >&6; }
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6798 $as_echo "no
" >&6; }
6801 if test "x
$ac_ct_OTOOL" = x; then
6804 case $cross_compiling:$ac_tool_warned in
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6807 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6808 ac_tool_warned=yes ;;
6813 OTOOL="$ac_cv_prog_OTOOL"
6816 if test -n "$ac_tool_prefix"; then
6817 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6818 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6820 $as_echo_n "checking
for $ac_word...
" >&6; }
6821 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6822 $as_echo_n "(cached
) " >&6
6824 if test -n "$OTOOL64"; then
6825 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6831 test -z "$as_dir" && as_dir=.
6832 for ac_exec_ext in '' $ac_executable_extensions; do
6833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6834 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6835 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6844 OTOOL64=$ac_cv_prog_OTOOL64
6845 if test -n "$OTOOL64"; then
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
6847 $as_echo "$OTOOL64" >&6; }
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6850 $as_echo "no
" >&6; }
6855 if test -z "$ac_cv_prog_OTOOL64"; then
6856 ac_ct_OTOOL64=$OTOOL64
6857 # Extract the first word of "otool64
", so it can be a program name with args.
6858 set dummy otool64; ac_word=$2
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6860 $as_echo_n "checking
for $ac_word...
" >&6; }
6861 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6862 $as_echo_n "(cached
) " >&6
6864 if test -n "$ac_ct_OTOOL64"; then
6865 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6871 test -z "$as_dir" && as_dir=.
6872 for ac_exec_ext in '' $ac_executable_extensions; do
6873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6874 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6875 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6884 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6885 if test -n "$ac_ct_OTOOL64"; then
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
6887 $as_echo "$ac_ct_OTOOL64" >&6; }
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6890 $as_echo "no
" >&6; }
6893 if test "x
$ac_ct_OTOOL64" = x; then
6896 case $cross_compiling:$ac_tool_warned in
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6899 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6900 ac_tool_warned=yes ;;
6902 OTOOL64=$ac_ct_OTOOL64
6905 OTOOL64="$ac_cv_prog_OTOOL64"
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
6935 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6936 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6937 $as_echo_n "(cached
) " >&6
6939 lt_cv_apple_cc_single_mod=no
6940 if test -z "${LT_MULTI_MODULE}"; then
6941 # By default we will add the -single_module flag. You can override
6942 # by either setting the environment variable LT_MULTI_MODULE
6943 # non-empty at configure time, or by adding -multi_module to the
6945 rm -rf libconftest.dylib*
6946 echo "int foo
(void
){return 1;}" > conftest.c
6947 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6948 -dynamiclib -Wl,-single_module conftest.c
" >&5
6949 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6950 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6952 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6953 lt_cv_apple_cc_single_mod=yes
6955 cat conftest.err >&5
6957 rm -rf libconftest.dylib*
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
6962 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
6964 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6965 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6966 $as_echo_n "(cached
) " >&6
6968 lt_cv_ld_exported_symbols_list=no
6969 save_LDFLAGS=$LDFLAGS
6970 echo "_main
" > conftest.sym
6971 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6973 /* end confdefs.h. */
6983 if ac_fn_c_try_link "$LINENO"; then :
6984 lt_cv_ld_exported_symbols_list=yes
6986 lt_cv_ld_exported_symbols_list=no
6988 rm -f core conftest.err conftest.$ac_objext \
6989 conftest$ac_exeext conftest.$ac_ext
6990 LDFLAGS="$save_LDFLAGS"
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
6994 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
6996 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
6997 if test "${lt_cv_ld_force_load+set}" = set; then :
6998 $as_echo_n "(cached
) " >&6
7000 lt_cv_ld_force_load=no
7001 cat > conftest.c << _LT_EOF
7002 int forced_loaded() { return 2;}
7004 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7005 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7006 echo "$AR cru libconftest.a conftest.o
" >&5
7007 $AR cru libconftest.a conftest.o 2>&5
7008 cat > conftest.c << _LT_EOF
7009 int main() { return 0;}
7011 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7012 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7014 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7015 lt_cv_ld_force_load=yes
7017 cat conftest.err >&5
7019 rm -f conftest.err libconftest.a conftest conftest.c
7020 rm -rf conftest.dSYM
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7024 $as_echo "$lt_cv_ld_force_load" >&6; }
7026 rhapsody* | darwin1.[012])
7027 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7029 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7030 darwin*) # darwin 5.x on
7031 # if running on 10.5 or later, the deployment target defaults
7032 # to the OS version, if on x86, and 10.4, the deployment
7033 # target defaults to 10.4. Don't you love it?
7034 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7035 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7036 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7038 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7040 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7044 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7045 _lt_dar_single_mod='$single_module'
7047 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7048 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7050 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7052 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7053 _lt_dsymutil='~$DSYMUTIL $lib || :'
7061 ac_cpp='$CPP $CPPFLAGS'
7062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7066 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7067 # On Suns, sometimes $CPP names a directory.
7068 if test -n "$CPP" && test -d "$CPP"; then
7071 if test -z "$CPP"; then
7072 if test "${ac_cv_prog_CPP+set}" = set; then :
7073 $as_echo_n "(cached
) " >&6
7075 # Double quotes because CPP needs to be expanded
7076 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7079 for ac_c_preproc_warn_flag in '' yes
7081 # Use a header file that comes with gcc, so configuring glibc
7082 # with a fresh cross-compiler works.
7083 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7084 # <limits.h> exists even on freestanding compilers.
7085 # On the NeXT, cc -E runs the code through the compiler's parser,
7086 # not just through cpp. "Syntax error
" is here to catch this case.
7087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7088 /* end confdefs.h. */
7090 # include <limits.h>
7092 # include <assert.h>
7096 if ac_fn_c_try_cpp "$LINENO"; then :
7099 # Broken: fails on valid input.
7102 rm -f conftest.err conftest.$ac_ext
7104 # OK, works on sane cases. Now check whether nonexistent headers
7105 # can be detected and how.
7106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7107 /* end confdefs.h. */
7108 #include <ac_nonexistent.h>
7110 if ac_fn_c_try_cpp "$LINENO"; then :
7111 # Broken: success on invalid input.
7114 # Passes both tests.
7118 rm -f conftest.err conftest.$ac_ext
7121 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7122 rm -f conftest.err conftest.$ac_ext
7123 if $ac_preproc_ok; then :
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7136 $as_echo "$CPP" >&6; }
7138 for ac_c_preproc_warn_flag in '' yes
7140 # Use a header file that comes with gcc, so configuring glibc
7141 # with a fresh cross-compiler works.
7142 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7143 # <limits.h> exists even on freestanding compilers.
7144 # On the NeXT, cc -E runs the code through the compiler's parser,
7145 # not just through cpp. "Syntax error
" is here to catch this case.
7146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7147 /* end confdefs.h. */
7149 # include <limits.h>
7151 # include <assert.h>
7155 if ac_fn_c_try_cpp "$LINENO"; then :
7158 # Broken: fails on valid input.
7161 rm -f conftest.err conftest.$ac_ext
7163 # OK, works on sane cases. Now check whether nonexistent headers
7164 # can be detected and how.
7165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7166 /* end confdefs.h. */
7167 #include <ac_nonexistent.h>
7169 if ac_fn_c_try_cpp "$LINENO"; then :
7170 # Broken: success on invalid input.
7173 # Passes both tests.
7177 rm -f conftest.err conftest.$ac_ext
7180 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7181 rm -f conftest.err conftest.$ac_ext
7182 if $ac_preproc_ok; then :
7185 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7187 as_fn_error "C preprocessor \"$CPP\" fails sanity check
7188 See \`config.log' for more details.
" "$LINENO" 5; }
7192 ac_cpp='$CPP $CPPFLAGS'
7193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7199 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7200 if test "${ac_cv_header_stdc+set}" = set; then :
7201 $as_echo_n "(cached
) " >&6
7203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7204 /* end confdefs.h. */
7218 if ac_fn_c_try_compile "$LINENO"; then :
7219 ac_cv_header_stdc=yes
7221 ac_cv_header_stdc=no
7223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7225 if test $ac_cv_header_stdc = yes; then
7226 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7228 /* end confdefs.h. */
7232 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7233 $EGREP "memchr
" >/dev/null 2>&1; then :
7236 ac_cv_header_stdc=no
7242 if test $ac_cv_header_stdc = yes; then
7243 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7245 /* end confdefs.h. */
7249 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7250 $EGREP "free
" >/dev/null 2>&1; then :
7253 ac_cv_header_stdc=no
7259 if test $ac_cv_header_stdc = yes; then
7260 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7261 if test "$cross_compiling" = yes; then :
7264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7265 /* end confdefs.h. */
7268 #if ((' ' & 0x0FF) == 0x020)
7269 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7270 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7272 # define ISLOWER(c) \
7273 (('a' <= (c) && (c) <= 'i') \
7274 || ('j' <= (c) && (c) <= 'r') \
7275 || ('s' <= (c) && (c) <= 'z'))
7276 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7279 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7284 for (i = 0; i < 256; i++)
7285 if (XOR (islower (i), ISLOWER (i))
7286 || toupper (i) != TOUPPER (i))
7291 if ac_fn_c_try_run "$LINENO"; then :
7294 ac_cv_header_stdc=no
7296 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7297 conftest.$ac_objext conftest.beam conftest.$ac_ext
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7303 $as_echo "$ac_cv_header_stdc" >&6; }
7304 if test $ac_cv_header_stdc = yes; then
7306 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7310 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7311 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7312 inttypes.h stdint.h unistd.h
7314 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7315 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7317 eval as_val
=\$
$as_ac_Header
7318 if test "x$as_val" = x
""yes; then :
7319 cat >>confdefs.h
<<_ACEOF
7320 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7328 for ac_header
in dlfcn.h
7330 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7332 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7333 cat >>confdefs.h
<<_ACEOF
7334 #define HAVE_DLFCN_H 1
7354 # Check whether --enable-shared was given.
7355 if test "${enable_shared+set}" = set; then :
7356 enableval
=$enable_shared; p
=${PACKAGE-default}
7358 yes) enable_shared
=yes ;;
7359 no
) enable_shared
=no
;;
7362 # Look at the argument we got. We use all the common list separators.
7363 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7364 for pkg
in $enableval; do
7366 if test "X$pkg" = "X$p"; then
7385 # Check whether --enable-static was given.
7386 if test "${enable_static+set}" = set; then :
7387 enableval
=$enable_static; p
=${PACKAGE-default}
7389 yes) enable_static
=yes ;;
7390 no
) enable_static
=no
;;
7393 # Look at the argument we got. We use all the common list separators.
7394 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7395 for pkg
in $enableval; do
7397 if test "X$pkg" = "X$p"; then
7417 # Check whether --with-pic was given.
7418 if test "${with_pic+set}" = set; then :
7419 withval
=$with_pic; pic_mode
="$withval"
7425 test -z "$pic_mode" && pic_mode
=default
7433 # Check whether --enable-fast-install was given.
7434 if test "${enable_fast_install+set}" = set; then :
7435 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7437 yes) enable_fast_install
=yes ;;
7438 no
) enable_fast_install
=no
;;
7440 enable_fast_install
=no
7441 # Look at the argument we got. We use all the common list separators.
7442 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7443 for pkg
in $enableval; do
7445 if test "X$pkg" = "X$p"; then
7446 enable_fast_install
=yes
7453 enable_fast_install
=yes
7466 # This can be used to rebuild libtool when needed
7467 LIBTOOL_DEPS
="$ltmain"
7469 # Always use our own libtool.
7470 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7497 test -z "$LN_S" && LN_S
="ln -s"
7512 if test -n "${ZSH_VERSION+set}" ; then
7513 setopt NO_GLOB_SUBST
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7517 $as_echo_n "checking for objdir... " >&6; }
7518 if test "${lt_cv_objdir+set}" = set; then :
7519 $as_echo_n "(cached) " >&6
7521 rm -f .libs
2>/dev
/null
7522 mkdir .libs
2>/dev
/null
7523 if test -d .libs
; then
7526 # MS-DOS does not allow filenames that begin with a dot.
7529 rmdir .libs
2>/dev
/null
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7532 $as_echo "$lt_cv_objdir" >&6; }
7533 objdir
=$lt_cv_objdir
7539 cat >>confdefs.h
<<_ACEOF
7540 #define LT_OBJDIR "$lt_cv_objdir/"
7548 # AIX sometimes has problems with the GCC collect2 program. For some
7549 # reason, if we set the COLLECT_NAMES environment variable, the problems
7550 # vanish in a puff of smoke.
7551 if test "X${COLLECT_NAMES+set}" != Xset
; then
7553 export COLLECT_NAMES
7560 can_build_shared
=yes
7562 # All known linkers require a `.a' archive for static linking (except MSVC,
7563 # which needs '.lib').
7566 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7569 old_CFLAGS
="$CFLAGS"
7571 # Set sane defaults for various variables
7572 test -z "$CC" && CC
=cc
7573 test -z "$LTCC" && LTCC
=$CC
7574 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7575 test -z "$LD" && LD
=ld
7576 test -z "$ac_objext" && ac_objext
=o
7578 for cc_temp
in $compiler""; do
7580 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7581 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7586 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7589 # Only perform the check for file, if the check method requires it
7590 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7591 case $deplibs_check_method in
7593 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7595 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7596 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7597 $as_echo_n "(cached) " >&6
7601 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7604 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7605 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7606 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7607 for ac_dir
in $ac_dummy; do
7609 test -z "$ac_dir" && ac_dir
=.
7610 if test -f $ac_dir/${ac_tool_prefix}file; then
7611 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7612 if test -n "$file_magic_test_file"; then
7613 case $deplibs_check_method in
7615 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7616 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7617 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7618 $EGREP "$file_magic_regex" > /dev
/null
; then
7623 *** Warning: the command libtool uses to detect shared libraries,
7624 *** $file_magic_cmd, produces output that libtool cannot recognize.
7625 *** The result is that libtool may fail to recognize shared libraries
7626 *** as such. This will affect the creation of libtool libraries that
7627 *** depend on shared libraries, but programs linked with such libtool
7628 *** libraries will work regardless of this problem. Nevertheless, you
7629 *** may want to report the problem to your system manager and/or to
7630 *** bug-libtool@gnu.org
7640 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7645 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7646 if test -n "$MAGIC_CMD"; then
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7648 $as_echo "$MAGIC_CMD" >&6; }
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7651 $as_echo "no" >&6; }
7658 if test -z "$lt_cv_path_MAGIC_CMD"; then
7659 if test -n "$ac_tool_prefix"; then
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7661 $as_echo_n "checking for file... " >&6; }
7662 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7663 $as_echo_n "(cached) " >&6
7667 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7670 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7671 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7672 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7673 for ac_dir
in $ac_dummy; do
7675 test -z "$ac_dir" && ac_dir
=.
7676 if test -f $ac_dir/file; then
7677 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7678 if test -n "$file_magic_test_file"; then
7679 case $deplibs_check_method in
7681 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7682 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7683 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7684 $EGREP "$file_magic_regex" > /dev
/null
; then
7689 *** Warning: the command libtool uses to detect shared libraries,
7690 *** $file_magic_cmd, produces output that libtool cannot recognize.
7691 *** The result is that libtool may fail to recognize shared libraries
7692 *** as such. This will affect the creation of libtool libraries that
7693 *** depend on shared libraries, but programs linked with such libtool
7694 *** libraries will work regardless of this problem. Nevertheless, you
7695 *** may want to report the problem to your system manager and/or to
7696 *** bug-libtool@gnu.org
7706 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7711 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7712 if test -n "$MAGIC_CMD"; then
7713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7714 $as_echo "$MAGIC_CMD" >&6; }
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7717 $as_echo "no" >&6; }
7730 # Use C for the default configuration in the libtool script
7734 ac_cpp
='$CPP $CPPFLAGS'
7735 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7736 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7737 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7740 # Source file extension for C test sources.
7743 # Object file extension for compiled C test sources.
7747 # Code to be used in simple compile tests
7748 lt_simple_compile_test_code
="int some_variable = 0;"
7750 # Code to be used in simple link tests
7751 lt_simple_link_test_code
='int main(){return(0);}'
7759 # If no C compiler was specified, use CC.
7762 # If no C compiler flags were specified, use CFLAGS.
7763 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7765 # Allow CC to be a program name with arguments.
7768 # Save the default compiler, since it gets overwritten when the other
7769 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7770 compiler_DEFAULT
=$CC
7772 # save warnings/boilerplate of simple test code
7773 ac_outfile
=conftest.
$ac_objext
7774 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7775 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7776 _lt_compiler_boilerplate
=`cat conftest.err`
7779 ac_outfile
=conftest.
$ac_objext
7780 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7781 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7782 _lt_linker_boilerplate
=`cat conftest.err`
7787 ## There is no encapsulation within the following macros, do not change
7788 ## the running order or otherwise move them around unless you know exactly
7789 ## what you are doing...
7790 if test -n "$compiler"; then
7792 lt_prog_compiler_no_builtin_flag
=
7794 if test "$GCC" = yes; then
7795 case $cc_basename in
7797 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7799 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7803 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7804 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7805 $as_echo_n "(cached) " >&6
7807 lt_cv_prog_compiler_rtti_exceptions
=no
7808 ac_outfile
=conftest.
$ac_objext
7809 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7810 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7811 # Insert the option either (1) after the last *FLAGS variable, or
7812 # (2) before a word containing "conftest.", or (3) at the end.
7813 # Note that $ac_compile itself does not contain backslashes and begins
7814 # with a dollar sign (not a hyphen), so the echo should work correctly.
7815 # The option is referenced via a variable to avoid confusing sed.
7816 lt_compile
=`echo "$ac_compile" | $SED \
7817 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7818 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7819 -e 's:$: $lt_compiler_flag:'`
7820 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7821 (eval "$lt_compile" 2>conftest.err
)
7823 cat conftest.err
>&5
7824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7825 if (exit $ac_status) && test -s "$ac_outfile"; then
7826 # The compiler can only warn and ignore the option if not recognized
7827 # So say no if there are warnings other than the usual output.
7828 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7829 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7830 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7831 lt_cv_prog_compiler_rtti_exceptions
=yes
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7838 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7840 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7841 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7853 lt_prog_compiler_wl
=
7854 lt_prog_compiler_pic
=
7855 lt_prog_compiler_static
=
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7858 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7860 if test "$GCC" = yes; then
7861 lt_prog_compiler_wl
='-Wl,'
7862 lt_prog_compiler_static
='-static'
7866 # All AIX code is PIC.
7867 if test "$host_cpu" = ia64
; then
7868 # AIX 5 now supports IA64 processor
7869 lt_prog_compiler_static
='-Bstatic'
7871 lt_prog_compiler_pic
='-fPIC'
7877 # see comment about AmigaOS4 .so support
7878 lt_prog_compiler_pic
='-fPIC'
7881 # FIXME: we need at least 68020 code to build shared libraries, but
7882 # adding the `-m68020' flag to GCC prevents building anything better,
7884 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7889 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7890 # PIC is the default for these OSes.
7893 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7894 # This hack is so that the source file can tell whether it is being
7895 # built for inclusion in a dll (and should export symbols for example).
7896 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7897 # (--disable-auto-import) libraries
7898 lt_prog_compiler_pic
='-DDLL_EXPORT'
7901 darwin
* | rhapsody
*)
7902 # PIC is the default on this platform
7903 # Common symbols not allowed in MH_DYLIB files
7904 lt_prog_compiler_pic
='-fno-common'
7908 # PIC is the default for Haiku.
7909 # The "-static" flag exists, but is broken.
7910 lt_prog_compiler_static
=
7914 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7915 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7916 # sets the default TLS model and affects inlining.
7922 lt_prog_compiler_pic
='-fPIC'
7928 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7929 # Instead, we relocate shared libraries at runtime.
7933 # Just because we use GCC doesn't mean we suddenly get shared libraries
7934 # on systems that don't support them.
7935 lt_prog_compiler_can_build_shared
=no
7940 # QNX uses GNU C++, but need to define -shared option too, otherwise
7942 lt_prog_compiler_pic
='-fPIC -shared'
7946 if test -d /usr
/nec
; then
7947 lt_prog_compiler_pic
=-Kconform_pic
7952 lt_prog_compiler_pic
='-fPIC'
7956 case $cc_basename in
7957 nvcc
*) # Cuda Compiler Driver 2.2
7958 lt_prog_compiler_wl
='-Xlinker '
7959 lt_prog_compiler_pic
='-Xcompiler -fPIC'
7963 # PORTME Check for flag to pass linker flags through the system compiler.
7966 lt_prog_compiler_wl
='-Wl,'
7967 if test "$host_cpu" = ia64
; then
7968 # AIX 5 now supports IA64 processor
7969 lt_prog_compiler_static
='-Bstatic'
7971 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7975 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7976 # This hack is so that the source file can tell whether it is being
7977 # built for inclusion in a dll (and should export symbols for example).
7978 lt_prog_compiler_pic
='-DDLL_EXPORT'
7981 hpux9
* | hpux10
* | hpux11
*)
7982 lt_prog_compiler_wl
='-Wl,'
7983 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7990 lt_prog_compiler_pic
='+Z'
7993 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7994 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7997 irix5
* | irix6
* | nonstopux
*)
7998 lt_prog_compiler_wl
='-Wl,'
7999 # PIC (with -KPIC) is the default.
8000 lt_prog_compiler_static
='-non_shared'
8003 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8004 case $cc_basename in
8005 # old Intel for x86_64 which still supported -KPIC.
8007 lt_prog_compiler_wl
='-Wl,'
8008 lt_prog_compiler_pic
='-KPIC'
8009 lt_prog_compiler_static
='-static'
8011 # icc used to be incompatible with GCC.
8012 # ICC 10 doesn't accept -KPIC any more.
8014 lt_prog_compiler_wl
='-Wl,'
8015 lt_prog_compiler_pic
='-fPIC'
8016 lt_prog_compiler_static
='-static'
8018 # Lahey Fortran 8.1.
8020 lt_prog_compiler_wl
='-Wl,'
8021 lt_prog_compiler_pic
='--shared'
8022 lt_prog_compiler_static
='--static'
8024 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8025 # Portland Group compilers (*not* the Pentium gcc compiler,
8026 # which looks to be a dead project)
8027 lt_prog_compiler_wl
='-Wl,'
8028 lt_prog_compiler_pic
='-fpic'
8029 lt_prog_compiler_static
='-Bstatic'
8032 lt_prog_compiler_wl
='-Wl,'
8033 # All Alpha code is PIC.
8034 lt_prog_compiler_static
='-non_shared'
8036 xl
* | bgxl
* | bgf
* | mpixl
*)
8037 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8038 lt_prog_compiler_wl
='-Wl,'
8039 lt_prog_compiler_pic
='-qpic'
8040 lt_prog_compiler_static
='-qstaticlink'
8043 case `$CC -V 2>&1 | sed 5q` in
8044 *Sun\ F
* |
*Sun
*Fortran
*)
8045 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8046 lt_prog_compiler_pic
='-KPIC'
8047 lt_prog_compiler_static
='-Bstatic'
8048 lt_prog_compiler_wl
=''
8052 lt_prog_compiler_pic
='-KPIC'
8053 lt_prog_compiler_static
='-Bstatic'
8054 lt_prog_compiler_wl
='-Wl,'
8062 lt_prog_compiler_pic
='-KPIC'
8063 lt_prog_compiler_static
='-Bstatic'
8067 # QNX uses GNU C++, but need to define -shared option too, otherwise
8069 lt_prog_compiler_pic
='-fPIC -shared'
8072 osf3
* | osf4
* | osf5
*)
8073 lt_prog_compiler_wl
='-Wl,'
8074 # All OSF/1 code is PIC.
8075 lt_prog_compiler_static
='-non_shared'
8079 lt_prog_compiler_static
='-non_shared'
8083 lt_prog_compiler_pic
='-KPIC'
8084 lt_prog_compiler_static
='-Bstatic'
8085 case $cc_basename in
8087 lt_prog_compiler_wl
='-Qoption ld ';;
8089 lt_prog_compiler_wl
='-Wl,';;
8094 lt_prog_compiler_wl
='-Qoption ld '
8095 lt_prog_compiler_pic
='-PIC'
8096 lt_prog_compiler_static
='-Bstatic'
8099 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8100 lt_prog_compiler_wl
='-Wl,'
8101 lt_prog_compiler_pic
='-KPIC'
8102 lt_prog_compiler_static
='-Bstatic'
8106 if test -d /usr
/nec
;then
8107 lt_prog_compiler_pic
='-Kconform_pic'
8108 lt_prog_compiler_static
='-Bstatic'
8112 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8113 lt_prog_compiler_wl
='-Wl,'
8114 lt_prog_compiler_pic
='-KPIC'
8115 lt_prog_compiler_static
='-Bstatic'
8119 lt_prog_compiler_wl
='-Wl,'
8120 lt_prog_compiler_can_build_shared
=no
8124 lt_prog_compiler_pic
='-pic'
8125 lt_prog_compiler_static
='-Bstatic'
8129 lt_prog_compiler_can_build_shared
=no
8135 # For platforms which do not support PIC, -DPIC is meaningless:
8137 lt_prog_compiler_pic
=
8140 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8144 $as_echo "$lt_prog_compiler_pic" >&6; }
8152 # Check to make sure the PIC flag actually works.
8154 if test -n "$lt_prog_compiler_pic"; then
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8156 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8157 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8158 $as_echo_n "(cached) " >&6
8160 lt_cv_prog_compiler_pic_works
=no
8161 ac_outfile
=conftest.
$ac_objext
8162 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8163 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8164 # Insert the option either (1) after the last *FLAGS variable, or
8165 # (2) before a word containing "conftest.", or (3) at the end.
8166 # Note that $ac_compile itself does not contain backslashes and begins
8167 # with a dollar sign (not a hyphen), so the echo should work correctly.
8168 # The option is referenced via a variable to avoid confusing sed.
8169 lt_compile
=`echo "$ac_compile" | $SED \
8170 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8171 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8172 -e 's:$: $lt_compiler_flag:'`
8173 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8174 (eval "$lt_compile" 2>conftest.err
)
8176 cat conftest.err
>&5
8177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8178 if (exit $ac_status) && test -s "$ac_outfile"; then
8179 # The compiler can only warn and ignore the option if not recognized
8180 # So say no if there are warnings other than the usual output.
8181 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8182 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8183 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8184 lt_cv_prog_compiler_pic_works
=yes
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8191 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8193 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8194 case $lt_prog_compiler_pic in
8196 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8199 lt_prog_compiler_pic
=
8200 lt_prog_compiler_can_build_shared
=no
8211 # Check to make sure the static flag actually works.
8213 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8215 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8216 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8217 $as_echo_n "(cached) " >&6
8219 lt_cv_prog_compiler_static_works
=no
8220 save_LDFLAGS
="$LDFLAGS"
8221 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8222 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8223 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8224 # The linker can only warn and ignore the option if not recognized
8225 # So say no if there are warnings
8226 if test -s conftest.err
; then
8227 # Append any errors to the config.log.
8228 cat conftest.err
1>&5
8229 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8230 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8231 if diff conftest.exp conftest.er2
>/dev
/null
; then
8232 lt_cv_prog_compiler_static_works
=yes
8235 lt_cv_prog_compiler_static_works
=yes
8239 LDFLAGS
="$save_LDFLAGS"
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8243 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8245 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8248 lt_prog_compiler_static
=
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8258 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8259 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8260 $as_echo_n "(cached) " >&6
8262 lt_cv_prog_compiler_c_o
=no
8263 $RM -r conftest
2>/dev
/null
8267 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8269 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8270 # Insert the option either (1) after the last *FLAGS variable, or
8271 # (2) before a word containing "conftest.", or (3) at the end.
8272 # Note that $ac_compile itself does not contain backslashes and begins
8273 # with a dollar sign (not a hyphen), so the echo should work correctly.
8274 lt_compile
=`echo "$ac_compile" | $SED \
8275 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8276 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8277 -e 's:$: $lt_compiler_flag:'`
8278 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8279 (eval "$lt_compile" 2>out
/conftest.err
)
8281 cat out
/conftest.err
>&5
8282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8283 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8285 # The compiler can only warn and ignore the option if not recognized
8286 # So say no if there are warnings
8287 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8288 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8289 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8290 lt_cv_prog_compiler_c_o
=yes
8295 # SGI C++ compiler will create directory out/ii_files/ for
8296 # template instantiation
8297 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8298 $RM out
/* && rmdir out
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8305 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8313 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8314 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8315 $as_echo_n "(cached) " >&6
8317 lt_cv_prog_compiler_c_o
=no
8318 $RM -r conftest
2>/dev
/null
8322 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8324 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8325 # Insert the option either (1) after the last *FLAGS variable, or
8326 # (2) before a word containing "conftest.", or (3) at the end.
8327 # Note that $ac_compile itself does not contain backslashes and begins
8328 # with a dollar sign (not a hyphen), so the echo should work correctly.
8329 lt_compile
=`echo "$ac_compile" | $SED \
8330 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8331 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8332 -e 's:$: $lt_compiler_flag:'`
8333 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8334 (eval "$lt_compile" 2>out
/conftest.err
)
8336 cat out
/conftest.err
>&5
8337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8338 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8340 # The compiler can only warn and ignore the option if not recognized
8341 # So say no if there are warnings
8342 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8343 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8344 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8345 lt_cv_prog_compiler_c_o
=yes
8350 # SGI C++ compiler will create directory out/ii_files/ for
8351 # template instantiation
8352 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8353 $RM out
/* && rmdir out
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8360 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8365 hard_links
="nottested"
8366 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8367 # do not overwrite the value of need_locks provided by the user
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8369 $as_echo_n "checking if we can lock with hard links... " >&6; }
8372 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8374 ln conftest.a conftest.b
2>&5 || hard_links
=no
8375 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8377 $as_echo "$hard_links" >&6; }
8378 if test "$hard_links" = no
; then
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8380 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8393 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8396 allow_undefined_flag
=
8397 always_export_symbols
=no
8399 archive_expsym_cmds
=
8400 compiler_needs_object
=no
8401 enable_shared_with_static_runtimes
=no
8402 export_dynamic_flag_spec
=
8403 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8404 hardcode_automatic
=no
8406 hardcode_direct_absolute
=no
8407 hardcode_libdir_flag_spec
=
8408 hardcode_libdir_flag_spec_ld
=
8409 hardcode_libdir_separator
=
8411 hardcode_shlibpath_var
=unsupported
8413 link_all_deplibs
=unknown
8416 old_archive_from_new_cmds
=
8417 old_archive_from_expsyms_cmds
=
8418 thread_safe_flag_spec
=
8419 whole_archive_flag_spec
=
8420 # include_expsyms should be a list of space-separated symbols to be *always*
8421 # included in the symbol list
8423 # exclude_expsyms can be an extended regexp of symbols to exclude
8424 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8425 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8426 # as well as any symbol that contains `d'.
8427 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8428 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8429 # platforms (ab)use it in PIC code, but their linkers get confused if
8430 # the symbol is explicitly referenced. Since portable code cannot
8431 # rely on this symbol name, it's probably fine to never include it in
8432 # preloaded symbol tables.
8433 # Exclude shared library initialization/finalization symbols.
8434 extract_expsyms_cmds
=
8437 cygwin
* | mingw
* | pw32
* | cegcc
*)
8438 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8439 # When not using gcc, we currently assume that we are using
8440 # Microsoft Visual C++.
8441 if test "$GCC" != yes; then
8446 # we just hope/assume this is gcc and not c89 (= MSVC++)
8456 # On some targets, GNU ld is compatible enough with the native linker
8457 # that we're better off using the native interface for both.
8458 lt_use_gnu_ld_interface
=no
8459 if test "$with_gnu_ld" = yes; then
8462 # The AIX port of GNU ld has always aspired to compatibility
8463 # with the native linker. However, as the warning in the GNU ld
8464 # block says, versions before 2.19.5* couldn't really create working
8465 # shared libraries, regardless of the interface used.
8466 case `$LD -v 2>&1` in
8467 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8468 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8469 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8471 lt_use_gnu_ld_interface
=yes
8476 lt_use_gnu_ld_interface
=yes
8481 if test "$lt_use_gnu_ld_interface" = yes; then
8482 # If archive_cmds runs LD, not CC, wlarc should be empty
8485 # Set some defaults for GNU ld with shared library support. These
8486 # are reset later if shared libraries are not supported. Putting them
8487 # here allows them to be overridden if necessary.
8488 runpath_var
=LD_RUN_PATH
8489 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8490 export_dynamic_flag_spec
='${wl}--export-dynamic'
8491 # ancient GNU ld didn't support --whole-archive et. al.
8492 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8493 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8495 whole_archive_flag_spec
=
8497 supports_anon_versioning
=no
8498 case `$LD -v 2>&1` in
8499 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8500 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8501 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8502 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8503 *\
2.11.
*) ;; # other 2.11 versions
8504 *) supports_anon_versioning
=yes ;;
8507 # See if GNU ld supports shared libraries.
8510 # On AIX/PPC, the GNU linker is very broken
8511 if test "$host_cpu" != ia64
; then
8515 *** Warning: the GNU linker, at least up to release 2.19, is reported
8516 *** to be unable to reliably create shared libraries on AIX.
8517 *** Therefore, libtool is disabling shared libraries support. If you
8518 *** really care for shared libraries, you may want to install binutils
8519 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8520 *** You will then need to restart the configuration process.
8529 # see comment about AmigaOS4 .so support
8530 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8531 archive_expsym_cmds
=''
8534 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)'
8535 hardcode_libdir_flag_spec
='-L$libdir'
8536 hardcode_minus_L
=yes
8542 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8543 allow_undefined_flag
=unsupported
8544 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8545 # support --undefined. This deserves some investigation. FIXME
8546 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8552 cygwin
* | mingw
* | pw32
* | cegcc
*)
8553 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8554 # as there is no search path for DLLs.
8555 hardcode_libdir_flag_spec
='-L$libdir'
8556 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8557 allow_undefined_flag
=unsupported
8558 always_export_symbols
=no
8559 enable_shared_with_static_runtimes
=yes
8560 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8562 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8563 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8564 # If the export-symbols file already is a .def file (1st line
8565 # is EXPORTS), use it as is; otherwise, prepend...
8566 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8567 cp $export_symbols $output_objdir/$soname.def;
8569 echo EXPORTS > $output_objdir/$soname.def;
8570 cat $export_symbols >> $output_objdir/$soname.def;
8572 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8579 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8580 link_all_deplibs
=yes
8585 hardcode_shlibpath_var
=no
8586 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8587 export_dynamic_flag_spec
='${wl}-E'
8588 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8589 # Instead, shared libraries are loaded at an image base (0x10000000 by
8590 # default) and relocated if they conflict, which is a slow very memory
8591 # consuming and fragmenting process. To avoid this, we pick a random,
8592 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8593 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8594 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8595 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'
8598 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8600 if test "$host_os" = linux-dietlibc
; then
8601 case $cc_basename in
8602 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8605 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8606 && test "$tmp_diet" = no
8608 tmp_addflag
=' $pic_flag'
8609 tmp_sharedflag
='-shared'
8610 case $cc_basename,$host_cpu in
8611 pgcc
*) # Portland Group C compiler
8612 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'
8613 tmp_addflag
=' $pic_flag'
8615 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8616 # Portland Group f77 and f90 compilers
8617 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'
8618 tmp_addflag
=' $pic_flag -Mnomain' ;;
8619 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8620 tmp_addflag
=' -i_dynamic' ;;
8621 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8622 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8623 ifc
* | ifort
*) # Intel Fortran compiler
8624 tmp_addflag
=' -nofor_main' ;;
8625 lf95
*) # Lahey Fortran 8.1
8626 whole_archive_flag_spec
=
8627 tmp_sharedflag
='--shared' ;;
8628 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8629 tmp_sharedflag
='-qmkshrobj'
8631 nvcc
*) # Cuda Compiler Driver 2.2
8632 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'
8633 compiler_needs_object
=yes
8636 case `$CC -V 2>&1 | sed 5q` in
8637 *Sun\ C
*) # Sun C 5.9
8638 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'
8639 compiler_needs_object
=yes
8640 tmp_sharedflag
='-G' ;;
8641 *Sun\ F
*) # Sun Fortran 8.3
8642 tmp_sharedflag
='-G' ;;
8644 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8646 if test "x$supports_anon_versioning" = xyes
; then
8647 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8648 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8649 echo "local: *; };" >> $output_objdir/$libname.ver~
8650 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8653 case $cc_basename in
8654 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8655 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8656 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8657 hardcode_libdir_flag_spec
=
8658 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8659 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8660 if test "x$supports_anon_versioning" = xyes
; then
8661 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8662 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8663 echo "local: *; };" >> $output_objdir/$libname.ver~
8664 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8674 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8675 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8678 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8679 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8684 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8688 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8689 *** create shared libraries on Solaris systems. Therefore, libtool
8690 *** is disabling shared libraries support. We urge you to upgrade GNU
8691 *** binutils to release 2.9.1 or newer. Another option is to modify
8692 *** your PATH or compiler configuration so that the native linker is
8693 *** used, and then restart.
8696 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8697 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8698 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8704 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8705 case `$LD -v 2>&1` in
8706 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8710 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8711 *** reliably create shared libraries on SCO systems. Therefore, libtool
8712 *** is disabling shared libraries support. We urge you to upgrade GNU
8713 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8714 *** your PATH or compiler configuration so that the native linker is
8715 *** used, and then restart.
8720 # For security reasons, it is highly recommended that you always
8721 # use absolute paths for naming shared libraries, and exclude the
8722 # DT_RUNPATH tag from executables and libraries. But doing so
8723 # requires that you compile everything twice, which is a pain.
8724 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8725 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8726 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8727 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8736 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8739 hardcode_shlibpath_var
=no
8743 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8744 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8745 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8752 if test "$ld_shlibs" = no
; then
8754 hardcode_libdir_flag_spec
=
8755 export_dynamic_flag_spec
=
8756 whole_archive_flag_spec
=
8759 # PORTME fill in a description of your system's linker (not GNU ld)
8762 allow_undefined_flag
=unsupported
8763 always_export_symbols
=yes
8764 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'
8765 # Note: this linker hardcodes the directories in LIBPATH if there
8766 # are no directories specified by -L.
8767 hardcode_minus_L
=yes
8768 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8769 # Neither direct hardcoding nor static linking is supported with a
8771 hardcode_direct
=unsupported
8776 if test "$host_cpu" = ia64
; then
8777 # On IA64, the linker does run time linking by default, so we don't
8778 # have to do anything special.
8779 aix_use_runtimelinking
=no
8780 exp_sym_flag
='-Bexport'
8783 # If we're using GNU nm, then we don't want the "-C" option.
8784 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8785 # Also, AIX nm treats weak defined symbols like other global
8786 # defined symbols, whereas GNU nm marks them as "W".
8787 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8788 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'
8790 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8792 aix_use_runtimelinking
=no
8794 # Test if we are trying to use run time linking or normal
8795 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8796 # need to do runtime linking.
8797 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8798 for ld_flag
in $LDFLAGS; do
8799 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8800 aix_use_runtimelinking
=yes
8807 exp_sym_flag
='-bexport'
8808 no_entry_flag
='-bnoentry'
8811 # When large executables or shared objects are built, AIX ld can
8812 # have problems creating the table of contents. If linking a library
8813 # or program results in "error TOC overflow" add -mminimal-toc to
8814 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8815 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8819 hardcode_direct_absolute
=yes
8820 hardcode_libdir_separator
=':'
8821 link_all_deplibs
=yes
8822 file_list_spec
='${wl}-f,'
8824 if test "$GCC" = yes; then
8825 case $host_os in aix4.
[012]|aix4.
[012].
*)
8826 # We only want to do this on AIX 4.2 and lower, the check
8827 # below for broken collect2 doesn't work under 4.3+
8828 collect2name
=`${CC} -print-prog-name=collect2`
8829 if test -f "$collect2name" &&
8830 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8832 # We have reworked collect2
8835 # We have old collect2
8836 hardcode_direct
=unsupported
8837 # It fails to find uninstalled libraries when the uninstalled
8838 # path is not listed in the libpath. Setting hardcode_minus_L
8839 # to unsupported forces relinking
8840 hardcode_minus_L
=yes
8841 hardcode_libdir_flag_spec
='-L$libdir'
8842 hardcode_libdir_separator
=
8846 shared_flag
='-shared'
8847 if test "$aix_use_runtimelinking" = yes; then
8848 shared_flag
="$shared_flag "'${wl}-G'
8852 if test "$host_cpu" = ia64
; then
8853 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8854 # chokes on -Wl,-G. The following line is correct:
8857 if test "$aix_use_runtimelinking" = yes; then
8858 shared_flag
='${wl}-G'
8860 shared_flag
='${wl}-bM:SRE'
8865 export_dynamic_flag_spec
='${wl}-bexpall'
8866 # It seems that -bexpall does not export symbols beginning with
8867 # underscore (_), so it is better to generate a list of symbols to export.
8868 always_export_symbols
=yes
8869 if test "$aix_use_runtimelinking" = yes; then
8870 # Warning - without using the other runtime loading flags (-brtl),
8871 # -berok will link without error, but may produce a broken library.
8872 allow_undefined_flag
='-berok'
8873 # Determine the default libpath from the value encoded in an
8875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8876 /* end confdefs.h. */
8886 if ac_fn_c_try_link
"$LINENO"; then :
8888 lt_aix_libpath_sed
='
8889 /Import File Strings/,/^$/ {
8895 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8896 # Check for a 64-bit object if we didn't find anything.
8897 if test -z "$aix_libpath"; then
8898 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8901 rm -f core conftest.err conftest.
$ac_objext \
8902 conftest
$ac_exeext conftest.
$ac_ext
8903 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8905 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8906 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"
8908 if test "$host_cpu" = ia64
; then
8909 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8910 allow_undefined_flag
="-z nodefs"
8911 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"
8913 # Determine the default libpath from the value encoded in an
8915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8916 /* end confdefs.h. */
8926 if ac_fn_c_try_link
"$LINENO"; then :
8928 lt_aix_libpath_sed
='
8929 /Import File Strings/,/^$/ {
8935 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8936 # Check for a 64-bit object if we didn't find anything.
8937 if test -z "$aix_libpath"; then
8938 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8941 rm -f core conftest.err conftest.
$ac_objext \
8942 conftest
$ac_exeext conftest.
$ac_ext
8943 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8945 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8946 # Warning - without using the other run time loading flags,
8947 # -berok will link without error, but may produce a broken library.
8948 no_undefined_flag
=' ${wl}-bernotok'
8949 allow_undefined_flag
=' ${wl}-berok'
8950 if test "$with_gnu_ld" = yes; then
8951 # We only use this code for GNU lds that support --whole-archive.
8952 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8954 # Exported symbols can be pulled into shared objects from archives
8955 whole_archive_flag_spec
='$convenience'
8957 archive_cmds_need_lc
=yes
8958 # This is similar to how AIX traditionally builds its shared libraries.
8959 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'
8967 # see comment about AmigaOS4 .so support
8968 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8969 archive_expsym_cmds
=''
8972 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)'
8973 hardcode_libdir_flag_spec
='-L$libdir'
8974 hardcode_minus_L
=yes
8980 export_dynamic_flag_spec
=-rdynamic
8983 cygwin
* | mingw
* | pw32
* | cegcc
*)
8984 # When not using gcc, we currently assume that we are using
8985 # Microsoft Visual C++.
8986 # hardcode_libdir_flag_spec is actually meaningless, as there is
8987 # no search path for DLLs.
8988 hardcode_libdir_flag_spec
=' '
8989 allow_undefined_flag
=unsupported
8990 # Tell ltmain to make .lib files, not .a files.
8992 # Tell ltmain to make .dll files, not .so files.
8994 # FIXME: Setting linknames here is a bad hack.
8995 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8996 # The linker will automatically build a .lib file if we build a DLL.
8997 old_archive_from_new_cmds
='true'
8998 # FIXME: Should let the user specify the lib program.
8999 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9000 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9001 enable_shared_with_static_runtimes
=yes
9004 darwin
* | rhapsody
*)
9007 archive_cmds_need_lc
=no
9009 hardcode_automatic
=yes
9010 hardcode_shlibpath_var
=unsupported
9011 if test "$lt_cv_ld_force_load" = "yes"; then
9012 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\"`'
9014 whole_archive_flag_spec
=''
9016 link_all_deplibs
=yes
9017 allow_undefined_flag
="$_lt_dar_allow_undefined"
9018 case $cc_basename in
9019 ifort
*) _lt_dar_can_shared
=yes ;;
9020 *) _lt_dar_can_shared
=$GCC ;;
9022 if test "$_lt_dar_can_shared" = "yes"; then
9023 output_verbose_link_cmd
=func_echo_all
9024 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9025 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9026 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}"
9027 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}"
9036 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9037 hardcode_libdir_flag_spec
='-L$libdir'
9038 hardcode_shlibpath_var
=no
9041 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9042 # support. Future versions do this automatically, but an explicit c++rt0.o
9043 # does not break anything, and helps significantly (at the cost of a little
9046 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9047 hardcode_libdir_flag_spec
='-R$libdir'
9049 hardcode_shlibpath_var
=no
9052 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9054 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9056 hardcode_minus_L
=yes
9057 hardcode_shlibpath_var
=no
9060 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9061 freebsd
* | dragonfly
*)
9062 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9063 hardcode_libdir_flag_spec
='-R$libdir'
9065 hardcode_shlibpath_var
=no
9069 if test "$GCC" = yes; then
9070 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'
9072 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'
9074 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9075 hardcode_libdir_separator
=:
9078 # hardcode_minus_L: Not really in the search PATH,
9079 # but as the default location of the library.
9080 hardcode_minus_L
=yes
9081 export_dynamic_flag_spec
='${wl}-E'
9085 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9086 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9088 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9090 if test "$with_gnu_ld" = no
; then
9091 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9092 hardcode_libdir_flag_spec_ld
='+b $libdir'
9093 hardcode_libdir_separator
=:
9095 hardcode_direct_absolute
=yes
9096 export_dynamic_flag_spec
='${wl}-E'
9097 # hardcode_minus_L: Not really in the search PATH,
9098 # but as the default location of the library.
9099 hardcode_minus_L
=yes
9104 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9107 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9110 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9113 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9119 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9122 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9126 # Older versions of the 11.00 compiler do not understand -b yet
9127 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9129 $as_echo_n "checking if $CC understands -b... " >&6; }
9130 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9131 $as_echo_n "(cached) " >&6
9133 lt_cv_prog_compiler__b
=no
9134 save_LDFLAGS
="$LDFLAGS"
9135 LDFLAGS
="$LDFLAGS -b"
9136 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9137 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9138 # The linker can only warn and ignore the option if not recognized
9139 # So say no if there are warnings
9140 if test -s conftest.err
; then
9141 # Append any errors to the config.log.
9142 cat conftest.err
1>&5
9143 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9144 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9145 if diff conftest.exp conftest.er2
>/dev
/null
; then
9146 lt_cv_prog_compiler__b
=yes
9149 lt_cv_prog_compiler__b
=yes
9153 LDFLAGS
="$save_LDFLAGS"
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9157 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9159 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9160 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9162 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9168 if test "$with_gnu_ld" = no
; then
9169 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9170 hardcode_libdir_separator
=:
9175 hardcode_shlibpath_var
=no
9179 hardcode_direct_absolute
=yes
9180 export_dynamic_flag_spec
='${wl}-E'
9182 # hardcode_minus_L: Not really in the search PATH,
9183 # but as the default location of the library.
9184 hardcode_minus_L
=yes
9190 irix5
* | irix6
* | nonstopux
*)
9191 if test "$GCC" = yes; then
9192 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'
9193 # Try to use the -exported_symbol ld option, if it does not
9194 # work, assume that -exports_file does not work either and
9195 # implicitly export all symbols.
9196 save_LDFLAGS
="$LDFLAGS"
9197 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9199 /* end confdefs.h. */
9202 if ac_fn_c_try_link
"$LINENO"; then :
9203 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'
9206 rm -f core conftest.err conftest.
$ac_objext \
9207 conftest
$ac_exeext conftest.
$ac_ext
9208 LDFLAGS
="$save_LDFLAGS"
9210 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'
9211 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'
9213 archive_cmds_need_lc
='no'
9214 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9215 hardcode_libdir_separator
=:
9217 link_all_deplibs
=yes
9221 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9222 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9224 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9226 hardcode_libdir_flag_spec
='-R$libdir'
9228 hardcode_shlibpath_var
=no
9232 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9234 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9235 hardcode_libdir_separator
=:
9236 hardcode_shlibpath_var
=no
9243 if test -f /usr
/libexec
/ld.so
; then
9245 hardcode_shlibpath_var
=no
9246 hardcode_direct_absolute
=yes
9247 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9248 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9249 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9250 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9251 export_dynamic_flag_spec
='${wl}-E'
9254 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9255 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9256 hardcode_libdir_flag_spec
='-R$libdir'
9259 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9260 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9270 hardcode_libdir_flag_spec
='-L$libdir'
9271 hardcode_minus_L
=yes
9272 allow_undefined_flag
=unsupported
9273 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'
9274 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9278 if test "$GCC" = yes; then
9279 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9280 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'
9282 allow_undefined_flag
=' -expect_unresolved \*'
9283 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'
9285 archive_cmds_need_lc
='no'
9286 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9287 hardcode_libdir_separator
=:
9290 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9291 if test "$GCC" = yes; then
9292 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9293 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'
9294 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9296 allow_undefined_flag
=' -expect_unresolved \*'
9297 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'
9298 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~
9299 $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'
9301 # Both c and cxx compiler support -rpath directly
9302 hardcode_libdir_flag_spec
='-rpath $libdir'
9304 archive_cmds_need_lc
='no'
9305 hardcode_libdir_separator
=:
9309 no_undefined_flag
=' -z defs'
9310 if test "$GCC" = yes; then
9312 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9313 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9314 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9316 case `$CC -V 2>&1` in
9319 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9320 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9321 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9325 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9326 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9327 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9331 hardcode_libdir_flag_spec
='-R$libdir'
9332 hardcode_shlibpath_var
=no
9334 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9336 # The compiler driver will combine and reorder linker options,
9337 # but understands `-z linker_flag'. GCC discards it without `$wl',
9338 # but is careful enough not to reorder.
9339 # Supported since Solaris 2.6 (maybe 2.5.1?)
9340 if test "$GCC" = yes; then
9341 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9343 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9347 link_all_deplibs
=yes
9351 if test "x$host_vendor" = xsequent
; then
9352 # Use $CC to link under sequent, because it throws in some extra .o
9353 # files that make .init and .fini sections work.
9354 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9356 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9358 hardcode_libdir_flag_spec
='-L$libdir'
9360 hardcode_minus_L
=yes
9361 hardcode_shlibpath_var
=no
9365 case $host_vendor in
9367 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9368 hardcode_direct
=yes # is this really true???
9371 ## LD is ld it makes a PLAMLIB
9372 ## CC just makes a GrossModule.
9373 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9374 reload_cmds
='$CC -r -o $output$reload_objs'
9378 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9379 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9382 runpath_var
='LD_RUN_PATH'
9383 hardcode_shlibpath_var
=no
9387 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9388 hardcode_shlibpath_var
=no
9389 export_dynamic_flag_spec
='-Bexport'
9393 if test -d /usr
/nec
; then
9394 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9395 hardcode_shlibpath_var
=no
9396 runpath_var
=LD_RUN_PATH
9397 hardcode_runpath_var
=yes
9402 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9403 no_undefined_flag
='${wl}-z,text'
9404 archive_cmds_need_lc
=no
9405 hardcode_shlibpath_var
=no
9406 runpath_var
='LD_RUN_PATH'
9408 if test "$GCC" = yes; then
9409 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9410 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9412 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9413 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9417 sysv5
* | sco3.2v5
* | sco5v6
*)
9418 # Note: We can NOT use -z defs as we might desire, because we do not
9419 # link with -lc, and that would cause any symbols used from libc to
9420 # always be unresolved, which means just about no library would
9421 # ever link correctly. If we're not using GNU ld we use -z text
9422 # though, which does catch some bad symbols but isn't as heavy-handed
9424 no_undefined_flag
='${wl}-z,text'
9425 allow_undefined_flag
='${wl}-z,nodefs'
9426 archive_cmds_need_lc
=no
9427 hardcode_shlibpath_var
=no
9428 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9429 hardcode_libdir_separator
=':'
9430 link_all_deplibs
=yes
9431 export_dynamic_flag_spec
='${wl}-Bexport'
9432 runpath_var
='LD_RUN_PATH'
9434 if test "$GCC" = yes; then
9435 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9436 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9438 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9439 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9444 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9445 hardcode_libdir_flag_spec
='-L$libdir'
9446 hardcode_shlibpath_var
=no
9454 if test x
$host_vendor = xsni
; then
9456 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9457 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9464 $as_echo "$ld_shlibs" >&6; }
9465 test "$ld_shlibs" = no
&& can_build_shared
=no
9467 with_gnu_ld
=$with_gnu_ld
9484 # Do we need to explicitly link libc?
9486 case "x$archive_cmds_need_lc" in
9488 # Assume -lc should be added
9489 archive_cmds_need_lc
=yes
9491 if test "$enable_shared" = yes && test "$GCC" = yes; then
9492 case $archive_cmds in
9494 # FIXME: we may have to deal with multi-command sequences.
9497 # Test whether the compiler implicitly links with -lc since on some
9498 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9499 # to ld, don't add -lc before -lgcc.
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9501 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9502 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9503 $as_echo_n "(cached) " >&6
9506 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9508 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9509 (eval $ac_compile) 2>&5
9511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9512 test $ac_status = 0; } 2>conftest.err
; then
9515 libobjs
=conftest.
$ac_objext
9517 wl
=$lt_prog_compiler_wl
9518 pic_flag
=$lt_prog_compiler_pic
9524 lt_save_allow_undefined_flag
=$allow_undefined_flag
9525 allow_undefined_flag
=
9526 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9527 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9530 test $ac_status = 0; }
9532 lt_cv_archive_cmds_need_lc
=no
9534 lt_cv_archive_cmds_need_lc
=yes
9536 allow_undefined_flag
=$lt_save_allow_undefined_flag
9538 cat conftest.err
1>&5
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9544 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9545 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9709 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9711 if test "$GCC" = yes; then
9713 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9714 *) lt_awk_arg
="/^libraries:/" ;;
9717 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9718 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9720 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9721 case $lt_search_path_spec in
9723 # if the path contains ";" then we assume it to be the separator
9724 # otherwise default to the standard path separator (i.e. ":") - it is
9725 # assumed that no part of a normal pathname contains ";" but that should
9726 # okay in the real world where ";" in dirpaths is itself problematic.
9727 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9730 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9733 # Ok, now we have the path, separated by spaces, we can step through it
9734 # and add multilib dir if necessary.
9735 lt_tmp_lt_search_path_spec
=
9736 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9737 for lt_sys_path
in $lt_search_path_spec; do
9738 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9739 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9741 test -d "$lt_sys_path" && \
9742 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9745 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9746 BEGIN {RS=" "; FS="/|\n";} {
9749 for (lt_i = NF; lt_i > 0; lt_i--) {
9750 if ($lt_i != "" && $lt_i != ".") {
9751 if ($lt_i == "..") {
9754 if (lt_count == 0) {
9755 lt_foo="/" $lt_i lt_foo;
9762 if (lt_foo != "") { lt_freq[lt_foo]++; }
9763 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9765 # AWK program above erroneously prepends '/' to C:/dos/paths
9768 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9769 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9771 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9773 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9776 libname_spec
='lib$name'
9784 shlibpath_overrides_runpath
=unknown
9786 dynamic_linker
="$host_os ld.so"
9787 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9788 need_lib_prefix
=unknown
9789 hardcode_into_libs
=no
9791 # when you set need_version to no, make sure it does not cause -set_version
9792 # flags to be left without arguments
9793 need_version
=unknown
9798 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9799 shlibpath_var
=LIBPATH
9801 # AIX 3 has no versioning support, so we append a major version to the name.
9802 soname_spec
='${libname}${release}${shared_ext}$major'
9809 hardcode_into_libs
=yes
9810 if test "$host_cpu" = ia64
; then
9811 # AIX 5 supports IA64
9812 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9813 shlibpath_var
=LD_LIBRARY_PATH
9815 # With GCC up to 2.95.x, collect2 would create an import file
9816 # for dependence libraries. The import file would start with
9817 # the line `#! .'. This would cause the generated library to
9818 # depend on `.', always an invalid library. This was fixed in
9819 # development snapshots of GCC prior to 3.0.
9821 aix4 | aix4.
[01] | aix4.
[01].
*)
9822 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9824 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9831 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9832 # soname into executable. Probably we can add versioning support to
9833 # collect2, so additional links can be useful in future.
9834 if test "$aix_use_runtimelinking" = yes; then
9835 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9836 # instead of lib<name>.a to let people know that these are not
9837 # typical AIX shared libraries.
9838 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9840 # We preserve .a as extension for shared libraries through AIX4.2
9841 # and later when we are not doing run time linking.
9842 library_names_spec
='${libname}${release}.a $libname.a'
9843 soname_spec
='${libname}${release}${shared_ext}$major'
9845 shlibpath_var
=LIBPATH
9852 # Since July 2007 AmigaOS4 officially supports .so libraries.
9853 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9854 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9857 library_names_spec
='$libname.ixlibrary $libname.a'
9858 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9859 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'
9865 library_names_spec
='${libname}${shared_ext}'
9866 dynamic_linker
="$host_os ld.so"
9867 shlibpath_var
=LIBRARY_PATH
9873 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9874 soname_spec
='${libname}${release}${shared_ext}$major'
9875 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9876 shlibpath_var
=LD_LIBRARY_PATH
9877 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9878 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9879 # the default ld.so.conf also contains /usr/contrib/lib and
9880 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9881 # libtool to hard-code these into programs
9884 cygwin
* | mingw
* | pw32
* | cegcc
*)
9885 version_type
=windows
9890 case $GCC,$host_os in
9891 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9892 library_names_spec
='$libname.dll.a'
9893 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9894 postinstall_cmds
='base_file=`basename \${file}`~
9895 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9896 dldir=$destdir/`dirname \$dlpath`~
9897 test -d \$dldir || mkdir -p \$dldir~
9898 $install_prog $dir/$dlname \$dldir/$dlname~
9899 chmod a+x \$dldir/$dlname~
9900 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9901 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9903 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9904 dlpath=$dir/\$dldll~
9906 shlibpath_overrides_runpath
=yes
9910 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9911 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9913 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9916 # MinGW DLLs use traditional 'lib' prefix
9917 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9920 # pw32 DLLs use 'pw' prefix rather than 'lib'
9921 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9927 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9930 dynamic_linker
='Win32 ld.exe'
9931 # FIXME: first we should search . and the directory the executable is in
9935 darwin
* | rhapsody
*)
9936 dynamic_linker
="$host_os dyld"
9940 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9941 soname_spec
='${libname}${release}${major}$shared_ext'
9942 shlibpath_overrides_runpath
=yes
9943 shlibpath_var
=DYLD_LIBRARY_PATH
9944 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9946 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9947 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9954 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9955 soname_spec
='${libname}${release}${shared_ext}$major'
9956 shlibpath_var
=LD_LIBRARY_PATH
9959 freebsd
* | dragonfly
*)
9960 # DragonFly does not have aout. When/if they implement a new
9961 # versioning mechanism, adjust this.
9962 if test -x /usr
/bin
/objformat
; then
9963 objformat
=`/usr/bin/objformat`
9966 freebsd
[23].
*) objformat
=aout
;;
9970 version_type
=freebsd-
$objformat
9971 case $version_type in
9973 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9978 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9982 shlibpath_var
=LD_LIBRARY_PATH
9985 shlibpath_overrides_runpath
=yes
9987 freebsd3.
[01]* | freebsdelf3.
[01]*)
9988 shlibpath_overrides_runpath
=yes
9989 hardcode_into_libs
=yes
9991 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9992 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9993 shlibpath_overrides_runpath
=no
9994 hardcode_into_libs
=yes
9996 *) # from 4.6 on, and DragonFly
9997 shlibpath_overrides_runpath
=yes
9998 hardcode_into_libs
=yes
10007 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10008 soname_spec
='${libname}${release}${shared_ext}$major'
10009 shlibpath_var
=LD_LIBRARY_PATH
10010 hardcode_into_libs
=yes
10017 dynamic_linker
="$host_os runtime_loader"
10018 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10019 soname_spec
='${libname}${release}${shared_ext}$major'
10020 shlibpath_var
=LIBRARY_PATH
10021 shlibpath_overrides_runpath
=yes
10022 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10023 hardcode_into_libs
=yes
10026 hpux9
* | hpux10
* | hpux11
*)
10027 # Give a soname corresponding to the major version so that dld.sl refuses to
10028 # link against other versions.
10035 hardcode_into_libs
=yes
10036 dynamic_linker
="$host_os dld.so"
10037 shlibpath_var
=LD_LIBRARY_PATH
10038 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10039 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10040 soname_spec
='${libname}${release}${shared_ext}$major'
10041 if test "X$HPUX_IA64_MODE" = X32
; then
10042 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10044 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10046 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10050 hardcode_into_libs
=yes
10051 dynamic_linker
="$host_os dld.sl"
10052 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10053 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10055 soname_spec
='${libname}${release}${shared_ext}$major'
10056 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10057 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10061 dynamic_linker
="$host_os dld.sl"
10062 shlibpath_var
=SHLIB_PATH
10063 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10064 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10065 soname_spec
='${libname}${release}${shared_ext}$major'
10068 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10069 postinstall_cmds
='chmod 555 $lib'
10070 # or fails outright, so override atomically:
10071 install_override_mode
=555
10078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10079 soname_spec
='${libname}${release}${shared_ext}$major'
10080 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10081 shlibpath_var
=LD_LIBRARY_PATH
10082 shlibpath_overrides_runpath
=no
10083 hardcode_into_libs
=yes
10086 irix5
* | irix6
* | nonstopux
*)
10088 nonstopux
*) version_type
=nonstopux
;;
10090 if test "$lt_cv_prog_gnu_ld" = yes; then
10098 soname_spec
='${libname}${release}${shared_ext}$major'
10099 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10101 irix5
* | nonstopux
*)
10102 libsuff
= shlibsuff
=
10105 case $LD in # libtool.m4 will add one of these switches to LD
10106 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10107 libsuff
= shlibsuff
= libmagic
=32-bit;;
10108 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10109 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10110 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10111 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10112 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10116 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10117 shlibpath_overrides_runpath
=no
10118 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10119 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10120 hardcode_into_libs
=yes
10123 # No shared lib support for Linux oldld, aout, or coff.
10124 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10128 # This must be Linux ELF.
10129 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10133 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10134 soname_spec
='${libname}${release}${shared_ext}$major'
10135 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10136 shlibpath_var
=LD_LIBRARY_PATH
10137 shlibpath_overrides_runpath
=no
10139 # Some binutils ld are patched to set DT_RUNPATH
10140 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10141 $as_echo_n "(cached) " >&6
10143 lt_cv_shlibpath_overrides_runpath
=no
10144 save_LDFLAGS
=$LDFLAGS
10145 save_libdir
=$libdir
10146 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10147 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10149 /* end confdefs.h. */
10159 if ac_fn_c_try_link
"$LINENO"; then :
10160 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10161 lt_cv_shlibpath_overrides_runpath
=yes
10164 rm -f core conftest.err conftest.
$ac_objext \
10165 conftest
$ac_exeext conftest.
$ac_ext
10166 LDFLAGS
=$save_LDFLAGS
10167 libdir
=$save_libdir
10171 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10173 # This implies no fast_install, which is unacceptable.
10174 # Some rework will be needed to allow for fast_install
10175 # before this can be enabled.
10176 hardcode_into_libs
=yes
10178 # Append ld.so.conf contents to the search path
10179 if test -f /etc
/ld.so.conf
; then
10180 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' ' '`
10181 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10184 # We used to test for /lib/ld.so.1 and disable shared libraries on
10185 # powerpc, because MkLinux only supported shared libraries with the
10186 # GNU dynamic linker. Since this was broken with cross compilers,
10187 # most powerpc-linux boxes support dynamic linking these days and
10188 # people can always --disable-shared, the test was removed, and we
10189 # assume the GNU/Linux dynamic linker is in use.
10190 dynamic_linker
='GNU/Linux ld.so'
10197 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10198 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10199 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10200 dynamic_linker
='NetBSD (a.out) ld.so'
10202 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10203 soname_spec
='${libname}${release}${shared_ext}$major'
10204 dynamic_linker
='NetBSD ld.elf_so'
10206 shlibpath_var
=LD_LIBRARY_PATH
10207 shlibpath_overrides_runpath
=yes
10208 hardcode_into_libs
=yes
10213 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10214 shlibpath_var
=LD_LIBRARY_PATH
10215 shlibpath_overrides_runpath
=yes
10222 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10223 soname_spec
='${libname}${release}${shared_ext}$major'
10224 shlibpath_var
=LD_LIBRARY_PATH
10225 shlibpath_overrides_runpath
=no
10226 hardcode_into_libs
=yes
10227 dynamic_linker
='ldqnx.so'
10232 sys_lib_dlsearch_path_spec
="/usr/lib"
10234 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10236 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10237 *) need_version
=no
;;
10239 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10240 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10241 shlibpath_var
=LD_LIBRARY_PATH
10242 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10244 openbsd2.
[89] | openbsd2.
[89].
*)
10245 shlibpath_overrides_runpath
=no
10248 shlibpath_overrides_runpath
=yes
10252 shlibpath_overrides_runpath
=yes
10257 libname_spec
='$name'
10260 library_names_spec
='$libname${shared_ext} $libname.a'
10261 dynamic_linker
='OS/2 ld.exe'
10262 shlibpath_var
=LIBPATH
10265 osf3
* | osf4
* | osf5
*)
10269 soname_spec
='${libname}${release}${shared_ext}$major'
10270 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10271 shlibpath_var
=LD_LIBRARY_PATH
10272 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10273 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10284 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10285 soname_spec
='${libname}${release}${shared_ext}$major'
10286 shlibpath_var
=LD_LIBRARY_PATH
10287 shlibpath_overrides_runpath
=yes
10288 hardcode_into_libs
=yes
10289 # ldd complains unless libraries are executable
10290 postinstall_cmds
='chmod +x $lib'
10295 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10296 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10297 shlibpath_var
=LD_LIBRARY_PATH
10298 shlibpath_overrides_runpath
=yes
10299 if test "$with_gnu_ld" = yes; then
10307 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10308 soname_spec
='${libname}${release}${shared_ext}$major'
10309 shlibpath_var
=LD_LIBRARY_PATH
10310 case $host_vendor in
10312 shlibpath_overrides_runpath
=no
10314 runpath_var
=LD_RUN_PATH
10322 shlibpath_overrides_runpath
=no
10323 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10329 if test -d /usr
/nec
;then
10331 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10332 soname_spec
='$libname${shared_ext}.$major'
10333 shlibpath_var
=LD_LIBRARY_PATH
10337 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10338 version_type
=freebsd-elf
10341 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10342 soname_spec
='${libname}${release}${shared_ext}$major'
10343 shlibpath_var
=LD_LIBRARY_PATH
10344 shlibpath_overrides_runpath
=yes
10345 hardcode_into_libs
=yes
10346 if test "$with_gnu_ld" = yes; then
10347 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10349 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10352 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10356 sys_lib_dlsearch_path_spec
='/usr/lib'
10360 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10364 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10365 shlibpath_var
=LD_LIBRARY_PATH
10366 shlibpath_overrides_runpath
=no
10367 hardcode_into_libs
=yes
10372 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10373 soname_spec
='${libname}${release}${shared_ext}$major'
10374 shlibpath_var
=LD_LIBRARY_PATH
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10382 $as_echo "$dynamic_linker" >&6; }
10383 test "$dynamic_linker" = no
&& can_build_shared
=no
10385 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10386 if test "$GCC" = yes; then
10387 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10390 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10391 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10393 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10394 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10489 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10491 if test -n "$hardcode_libdir_flag_spec" ||
10492 test -n "$runpath_var" ||
10493 test "X$hardcode_automatic" = "Xyes" ; then
10495 # We can hardcode non-existent directories.
10496 if test "$hardcode_direct" != no
&&
10497 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10498 # have to relink, otherwise we might link with an installed library
10499 # when we should be linking with a yet-to-be-installed one
10500 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10501 test "$hardcode_minus_L" != no
; then
10502 # Linking always hardcodes the temporary library directory.
10503 hardcode_action
=relink
10505 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10506 hardcode_action
=immediate
10509 # We cannot hardcode anything, or else we can only hardcode existing
10511 hardcode_action
=unsupported
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10514 $as_echo "$hardcode_action" >&6; }
10516 if test "$hardcode_action" = relink ||
10517 test "$inherit_rpath" = yes; then
10518 # Fast installation is not supported
10519 enable_fast_install
=no
10520 elif test "$shlibpath_overrides_runpath" = yes ||
10521 test "$enable_shared" = no
; then
10522 # Fast installation is not necessary
10523 enable_fast_install
=needless
10531 if test "x$enable_dlopen" != xyes
; then
10532 enable_dlopen
=unknown
10533 enable_dlopen_self
=unknown
10534 enable_dlopen_self_static
=unknown
10541 lt_cv_dlopen
="load_add_on"
10543 lt_cv_dlopen_self
=yes
10546 mingw
* | pw32
* | cegcc
*)
10547 lt_cv_dlopen
="LoadLibrary"
10552 lt_cv_dlopen
="dlopen"
10557 # if libdl is installed we need to link against it
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10559 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10560 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10561 $as_echo_n "(cached) " >&6
10563 ac_check_lib_save_LIBS
=$LIBS
10565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10566 /* end confdefs.h. */
10568 /* Override any GCC internal prototype to avoid an error.
10569 Use char because int might match the return type of a GCC
10570 builtin and then its argument prototype would still apply. */
10583 if ac_fn_c_try_link
"$LINENO"; then :
10584 ac_cv_lib_dl_dlopen
=yes
10586 ac_cv_lib_dl_dlopen
=no
10588 rm -f core conftest.err conftest.
$ac_objext \
10589 conftest
$ac_exeext conftest.
$ac_ext
10590 LIBS
=$ac_check_lib_save_LIBS
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10593 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10594 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10595 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10598 lt_cv_dlopen
="dyld"
10600 lt_cv_dlopen_self
=yes
10607 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10608 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10609 lt_cv_dlopen
="shl_load"
10611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10612 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10613 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10614 $as_echo_n "(cached) " >&6
10616 ac_check_lib_save_LIBS
=$LIBS
10618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10619 /* end confdefs.h. */
10621 /* Override any GCC internal prototype to avoid an error.
10622 Use char because int might match the return type of a GCC
10623 builtin and then its argument prototype would still apply. */
10631 return shl_load ();
10636 if ac_fn_c_try_link
"$LINENO"; then :
10637 ac_cv_lib_dld_shl_load
=yes
10639 ac_cv_lib_dld_shl_load
=no
10641 rm -f core conftest.err conftest.
$ac_objext \
10642 conftest
$ac_exeext conftest.
$ac_ext
10643 LIBS
=$ac_check_lib_save_LIBS
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10646 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10647 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10648 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10650 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10651 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10652 lt_cv_dlopen
="dlopen"
10654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10655 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10656 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10657 $as_echo_n "(cached) " >&6
10659 ac_check_lib_save_LIBS
=$LIBS
10661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10662 /* end confdefs.h. */
10664 /* Override any GCC internal prototype to avoid an error.
10665 Use char because int might match the return type of a GCC
10666 builtin and then its argument prototype would still apply. */
10679 if ac_fn_c_try_link
"$LINENO"; then :
10680 ac_cv_lib_dl_dlopen
=yes
10682 ac_cv_lib_dl_dlopen
=no
10684 rm -f core conftest.err conftest.
$ac_objext \
10685 conftest
$ac_exeext conftest.
$ac_ext
10686 LIBS
=$ac_check_lib_save_LIBS
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10689 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10690 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10691 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10694 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10695 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10696 $as_echo_n "(cached) " >&6
10698 ac_check_lib_save_LIBS
=$LIBS
10699 LIBS
="-lsvld $LIBS"
10700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10701 /* end confdefs.h. */
10703 /* Override any GCC internal prototype to avoid an error.
10704 Use char because int might match the return type of a GCC
10705 builtin and then its argument prototype would still apply. */
10718 if ac_fn_c_try_link
"$LINENO"; then :
10719 ac_cv_lib_svld_dlopen
=yes
10721 ac_cv_lib_svld_dlopen
=no
10723 rm -f core conftest.err conftest.
$ac_objext \
10724 conftest
$ac_exeext conftest.
$ac_ext
10725 LIBS
=$ac_check_lib_save_LIBS
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10728 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10729 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10730 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10733 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10734 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10735 $as_echo_n "(cached) " >&6
10737 ac_check_lib_save_LIBS
=$LIBS
10739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10740 /* end confdefs.h. */
10742 /* Override any GCC internal prototype to avoid an error.
10743 Use char because int might match the return type of a GCC
10744 builtin and then its argument prototype would still apply. */
10752 return dld_link ();
10757 if ac_fn_c_try_link
"$LINENO"; then :
10758 ac_cv_lib_dld_dld_link
=yes
10760 ac_cv_lib_dld_dld_link
=no
10762 rm -f core conftest.err conftest.
$ac_objext \
10763 conftest
$ac_exeext conftest.
$ac_ext
10764 LIBS
=$ac_check_lib_save_LIBS
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10767 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10768 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10769 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10790 if test "x$lt_cv_dlopen" != xno
; then
10796 case $lt_cv_dlopen in
10798 save_CPPFLAGS
="$CPPFLAGS"
10799 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10801 save_LDFLAGS
="$LDFLAGS"
10802 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10805 LIBS
="$lt_cv_dlopen_libs $LIBS"
10807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10808 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10809 if test "${lt_cv_dlopen_self+set}" = set; then :
10810 $as_echo_n "(cached) " >&6
10812 if test "$cross_compiling" = yes; then :
10813 lt_cv_dlopen_self
=cross
10815 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10816 lt_status
=$lt_dlunknown
10817 cat > conftest.
$ac_ext <<_LT_EOF
10818 #line 10818 "configure"
10819 #include "confdefs.h"
10828 # define LT_DLGLOBAL RTLD_GLOBAL
10831 # define LT_DLGLOBAL DL_GLOBAL
10833 # define LT_DLGLOBAL 0
10837 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10838 find out it does not work in some platform. */
10839 #ifndef LT_DLLAZY_OR_NOW
10841 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10844 # define LT_DLLAZY_OR_NOW DL_LAZY
10847 # define LT_DLLAZY_OR_NOW RTLD_NOW
10850 # define LT_DLLAZY_OR_NOW DL_NOW
10852 # define LT_DLLAZY_OR_NOW 0
10859 /* When -fvisbility=hidden is used, assume the code has been annotated
10860 correspondingly for the symbols needed. */
10861 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10862 void fnord () __attribute__((visibility("default")));
10865 void fnord () { int i=42; }
10868 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10869 int status = $lt_dlunknown;
10873 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10876 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10877 else puts (dlerror ());
10879 /* dlclose (self); */
10887 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10888 (eval $ac_link) 2>&5
10890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10891 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10892 (.
/conftest
; exit; ) >&5 2>/dev
/null
10894 case x
$lt_status in
10895 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10896 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10897 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10900 # compilation failed
10901 lt_cv_dlopen_self
=no
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10909 $as_echo "$lt_cv_dlopen_self" >&6; }
10911 if test "x$lt_cv_dlopen_self" = xyes
; then
10912 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10914 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10915 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10916 $as_echo_n "(cached) " >&6
10918 if test "$cross_compiling" = yes; then :
10919 lt_cv_dlopen_self_static
=cross
10921 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10922 lt_status
=$lt_dlunknown
10923 cat > conftest.
$ac_ext <<_LT_EOF
10924 #line 10924 "configure"
10925 #include "confdefs.h"
10934 # define LT_DLGLOBAL RTLD_GLOBAL
10937 # define LT_DLGLOBAL DL_GLOBAL
10939 # define LT_DLGLOBAL 0
10943 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10944 find out it does not work in some platform. */
10945 #ifndef LT_DLLAZY_OR_NOW
10947 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10950 # define LT_DLLAZY_OR_NOW DL_LAZY
10953 # define LT_DLLAZY_OR_NOW RTLD_NOW
10956 # define LT_DLLAZY_OR_NOW DL_NOW
10958 # define LT_DLLAZY_OR_NOW 0
10965 /* When -fvisbility=hidden is used, assume the code has been annotated
10966 correspondingly for the symbols needed. */
10967 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10968 void fnord () __attribute__((visibility("default")));
10971 void fnord () { int i=42; }
10974 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10975 int status = $lt_dlunknown;
10979 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10982 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10983 else puts (dlerror ());
10985 /* dlclose (self); */
10993 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10994 (eval $ac_link) 2>&5
10996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10997 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10998 (.
/conftest
; exit; ) >&5 2>/dev
/null
11000 case x
$lt_status in
11001 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11002 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11003 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11006 # compilation failed
11007 lt_cv_dlopen_self_static
=no
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11015 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11018 CPPFLAGS
="$save_CPPFLAGS"
11019 LDFLAGS
="$save_LDFLAGS"
11024 case $lt_cv_dlopen_self in
11025 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11026 *) enable_dlopen_self
=unknown
;;
11029 case $lt_cv_dlopen_self_static in
11030 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11031 *) enable_dlopen_self_static
=unknown
;;
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11054 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11055 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11056 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11057 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11059 $as_echo "yes" >&6; }
11061 # FIXME - insert some real tests, host_os isn't really good enough
11064 if test -n "$STRIP" ; then
11065 striplib
="$STRIP -x"
11066 old_striplib
="$STRIP -S"
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11068 $as_echo "yes" >&6; }
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11071 $as_echo "no" >&6; }
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11076 $as_echo "no" >&6; }
11092 # Report which library types will actually be built
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11094 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11096 $as_echo "$can_build_shared" >&6; }
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11099 $as_echo_n "checking whether to build shared libraries... " >&6; }
11100 test "$can_build_shared" = "no" && enable_shared
=no
11102 # On AIX, shared libraries and static libraries use the same namespace, and
11103 # are all built from PIC.
11106 test "$enable_shared" = yes && enable_static
=no
11107 if test -n "$RANLIB"; then
11108 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11109 postinstall_cmds
='$RANLIB $lib'
11114 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11115 test "$enable_shared" = yes && enable_static
=no
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11120 $as_echo "$enable_shared" >&6; }
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11123 $as_echo_n "checking whether to build static libraries... " >&6; }
11124 # Make sure either enable_shared or enable_static is yes.
11125 test "$enable_shared" = yes || enable_static
=yes
11126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11127 $as_echo "$enable_static" >&6; }
11134 ac_cpp
='$CPP $CPPFLAGS'
11135 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11136 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11137 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11141 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11142 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11143 (test "X$CXX" != "Xg++"))) ; then
11145 ac_cpp
='$CXXCPP $CPPFLAGS'
11146 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11147 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11148 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11150 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11151 if test -z "$CXXCPP"; then
11152 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11153 $as_echo_n "(cached) " >&6
11155 # Double quotes because CXXCPP needs to be expanded
11156 for CXXCPP
in "$CXX -E" "/lib/cpp"
11158 ac_preproc_ok
=false
11159 for ac_cxx_preproc_warn_flag
in '' yes
11161 # Use a header file that comes with gcc, so configuring glibc
11162 # with a fresh cross-compiler works.
11163 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11164 # <limits.h> exists even on freestanding compilers.
11165 # On the NeXT, cc -E runs the code through the compiler's parser,
11166 # not just through cpp. "Syntax error" is here to catch this case.
11167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11168 /* end confdefs.h. */
11170 # include <limits.h>
11172 # include <assert.h>
11176 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11179 # Broken: fails on valid input.
11182 rm -f conftest.err conftest.
$ac_ext
11184 # OK, works on sane cases. Now check whether nonexistent headers
11185 # can be detected and how.
11186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11187 /* end confdefs.h. */
11188 #include <ac_nonexistent.h>
11190 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11191 # Broken: success on invalid input.
11194 # Passes both tests.
11198 rm -f conftest.err conftest.
$ac_ext
11201 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11202 rm -f conftest.err conftest.
$ac_ext
11203 if $ac_preproc_ok; then :
11208 ac_cv_prog_CXXCPP
=$CXXCPP
11211 CXXCPP
=$ac_cv_prog_CXXCPP
11213 ac_cv_prog_CXXCPP
=$CXXCPP
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11216 $as_echo "$CXXCPP" >&6; }
11217 ac_preproc_ok
=false
11218 for ac_cxx_preproc_warn_flag
in '' yes
11220 # Use a header file that comes with gcc, so configuring glibc
11221 # with a fresh cross-compiler works.
11222 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11223 # <limits.h> exists even on freestanding compilers.
11224 # On the NeXT, cc -E runs the code through the compiler's parser,
11225 # not just through cpp. "Syntax error" is here to catch this case.
11226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11227 /* end confdefs.h. */
11229 # include <limits.h>
11231 # include <assert.h>
11235 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11238 # Broken: fails on valid input.
11241 rm -f conftest.err conftest.
$ac_ext
11243 # OK, works on sane cases. Now check whether nonexistent headers
11244 # can be detected and how.
11245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11246 /* end confdefs.h. */
11247 #include <ac_nonexistent.h>
11249 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11250 # Broken: success on invalid input.
11253 # Passes both tests.
11257 rm -f conftest.err conftest.
$ac_ext
11260 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11261 rm -f conftest.err conftest.
$ac_ext
11262 if $ac_preproc_ok; then :
11265 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11266 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11267 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
11268 See \`config.log' for more details." "$LINENO" 5; }
11272 ac_cpp
='$CPP $CPPFLAGS'
11273 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11274 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11275 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11278 _lt_caught_CXX_error
=yes
11282 ac_cpp
='$CXXCPP $CPPFLAGS'
11283 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11284 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11285 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11287 archive_cmds_need_lc_CXX
=no
11288 allow_undefined_flag_CXX
=
11289 always_export_symbols_CXX
=no
11290 archive_expsym_cmds_CXX
=
11291 compiler_needs_object_CXX
=no
11292 export_dynamic_flag_spec_CXX
=
11293 hardcode_direct_CXX
=no
11294 hardcode_direct_absolute_CXX
=no
11295 hardcode_libdir_flag_spec_CXX
=
11296 hardcode_libdir_flag_spec_ld_CXX
=
11297 hardcode_libdir_separator_CXX
=
11298 hardcode_minus_L_CXX
=no
11299 hardcode_shlibpath_var_CXX
=unsupported
11300 hardcode_automatic_CXX
=no
11301 inherit_rpath_CXX
=no
11303 module_expsym_cmds_CXX
=
11304 link_all_deplibs_CXX
=unknown
11305 old_archive_cmds_CXX
=$old_archive_cmds
11306 reload_flag_CXX
=$reload_flag
11307 reload_cmds_CXX
=$reload_cmds
11308 no_undefined_flag_CXX
=
11309 whole_archive_flag_spec_CXX
=
11310 enable_shared_with_static_runtimes_CXX
=no
11312 # Source file extension for C++ test sources.
11315 # Object file extension for compiled C++ test sources.
11319 # No sense in running all these tests if we already determined that
11320 # the CXX compiler isn't working. Some variables (like enable_shared)
11321 # are currently assumed to apply to all compilers on this platform,
11322 # and will be corrupted by setting them based on a non-working compiler.
11323 if test "$_lt_caught_CXX_error" != yes; then
11324 # Code to be used in simple compile tests
11325 lt_simple_compile_test_code
="int some_variable = 0;"
11327 # Code to be used in simple link tests
11328 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11330 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11337 # If no C compiler was specified, use CC.
11340 # If no C compiler flags were specified, use CFLAGS.
11341 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11343 # Allow CC to be a program name with arguments.
11347 # save warnings/boilerplate of simple test code
11348 ac_outfile
=conftest.
$ac_objext
11349 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11350 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11351 _lt_compiler_boilerplate
=`cat conftest.err`
11354 ac_outfile
=conftest.
$ac_objext
11355 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11356 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11357 _lt_linker_boilerplate
=`cat conftest.err`
11361 # Allow CC to be a program name with arguments.
11366 lt_save_with_gnu_ld
=$with_gnu_ld
11367 lt_save_path_LD
=$lt_cv_path_LD
11368 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11369 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11371 $as_unset lt_cv_prog_gnu_ld
11373 if test -n "${lt_cv_path_LDCXX+set}"; then
11374 lt_cv_path_LD
=$lt_cv_path_LDCXX
11376 $as_unset lt_cv_path_LD
11378 test -z "${LDCXX+set}" || LD
=$LDCXX
11382 for cc_temp
in $compiler""; do
11384 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11385 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11390 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11393 if test -n "$compiler"; then
11394 # We don't want -fno-exception when compiling C++ code, so set the
11395 # no_builtin_flag separately
11396 if test "$GXX" = yes; then
11397 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11399 lt_prog_compiler_no_builtin_flag_CXX
=
11402 if test "$GXX" = yes; then
11403 # Set up default GNU C++ configuration
11407 # Check whether --with-gnu-ld was given.
11408 if test "${with_gnu_ld+set}" = set; then :
11409 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
11415 if test "$GCC" = yes; then
11416 # Check if gcc -print-prog-name=ld gives a path.
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11418 $as_echo_n "checking for ld used by $CC... " >&6; }
11421 # gcc leaves a trailing carriage return which upsets mingw
11422 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11424 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11427 # Accept absolute paths.
11429 re_direlt
='/[^/][^/]*/\.\./'
11430 # Canonicalize the pathname of ld
11431 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11432 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
11433 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11435 test -z "$LD" && LD
="$ac_prog"
11438 # If it fails, then pretend we aren't using GCC.
11442 # If it is relative, then search for the first ld in PATH.
11443 with_gnu_ld
=unknown
11446 elif test "$with_gnu_ld" = yes; then
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11448 $as_echo_n "checking for GNU ld... " >&6; }
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11451 $as_echo_n "checking for non-GNU ld... " >&6; }
11453 if test "${lt_cv_path_LD+set}" = set; then :
11454 $as_echo_n "(cached) " >&6
11456 if test -z "$LD"; then
11457 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11458 for ac_dir
in $PATH; do
11460 test -z "$ac_dir" && ac_dir
=.
11461 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
11462 lt_cv_path_LD
="$ac_dir/$ac_prog"
11463 # Check to see if the program is GNU ld. I'd rather use --version,
11464 # but apparently some variants of GNU ld only accept -v.
11465 # Break only if it was the GNU/non-GNU ld that we prefer.
11466 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11467 *GNU
* |
*'with BFD'*)
11468 test "$with_gnu_ld" != no
&& break
11471 test "$with_gnu_ld" != yes && break
11478 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11482 LD
="$lt_cv_path_LD"
11483 if test -n "$LD"; then
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11485 $as_echo "$LD" >&6; }
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11488 $as_echo "no" >&6; }
11490 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11492 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11493 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11494 $as_echo_n "(cached) " >&6
11496 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11497 case `$LD -v 2>&1 </dev/null` in
11498 *GNU
* |
*'with BFD'*)
11499 lt_cv_prog_gnu_ld
=yes
11502 lt_cv_prog_gnu_ld
=no
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11507 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11508 with_gnu_ld
=$lt_cv_prog_gnu_ld
11516 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11517 # archiving commands below assume that GNU ld is being used.
11518 if test "$with_gnu_ld" = yes; then
11519 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11520 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'
11522 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11523 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11525 # If archive_cmds runs LD, not CC, wlarc should be empty
11526 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11527 # investigate it a little bit more. (MM)
11530 # ancient GNU ld didn't support --whole-archive et. al.
11531 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11532 $GREP 'no-whole-archive' > /dev
/null
; then
11533 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11535 whole_archive_flag_spec_CXX
=
11541 # A generic and very simple default shared library creation
11542 # command for GNU C++ for the case where it uses the native
11543 # linker, instead of GNU ld. If possible, this setting should
11544 # overridden to take advantage of the native linker features on
11545 # the platform it is being used on.
11546 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11549 # Commands to make compiler produce verbose output that lists
11550 # what "hidden" libraries, object files and flags are used when
11551 # linking a shared library.
11552 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
11560 # PORTME: fill in a description of your system's C++ link characteristics
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11562 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11566 # FIXME: insert proper C++ library support
11570 if test "$host_cpu" = ia64
; then
11571 # On IA64, the linker does run time linking by default, so we don't
11572 # have to do anything special.
11573 aix_use_runtimelinking
=no
11574 exp_sym_flag
='-Bexport'
11577 aix_use_runtimelinking
=no
11579 # Test if we are trying to use run time linking or normal
11580 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11581 # need to do runtime linking.
11582 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11583 for ld_flag
in $LDFLAGS; do
11586 aix_use_runtimelinking
=yes
11594 exp_sym_flag
='-bexport'
11595 no_entry_flag
='-bnoentry'
11598 # When large executables or shared objects are built, AIX ld can
11599 # have problems creating the table of contents. If linking a library
11600 # or program results in "error TOC overflow" add -mminimal-toc to
11601 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11602 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11604 archive_cmds_CXX
=''
11605 hardcode_direct_CXX
=yes
11606 hardcode_direct_absolute_CXX
=yes
11607 hardcode_libdir_separator_CXX
=':'
11608 link_all_deplibs_CXX
=yes
11609 file_list_spec_CXX
='${wl}-f,'
11611 if test "$GXX" = yes; then
11612 case $host_os in aix4.
[012]|aix4.
[012].
*)
11613 # We only want to do this on AIX 4.2 and lower, the check
11614 # below for broken collect2 doesn't work under 4.3+
11615 collect2name
=`${CC} -print-prog-name=collect2`
11616 if test -f "$collect2name" &&
11617 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11619 # We have reworked collect2
11622 # We have old collect2
11623 hardcode_direct_CXX
=unsupported
11624 # It fails to find uninstalled libraries when the uninstalled
11625 # path is not listed in the libpath. Setting hardcode_minus_L
11626 # to unsupported forces relinking
11627 hardcode_minus_L_CXX
=yes
11628 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11629 hardcode_libdir_separator_CXX
=
11632 shared_flag
='-shared'
11633 if test "$aix_use_runtimelinking" = yes; then
11634 shared_flag
="$shared_flag "'${wl}-G'
11638 if test "$host_cpu" = ia64
; then
11639 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11640 # chokes on -Wl,-G. The following line is correct:
11643 if test "$aix_use_runtimelinking" = yes; then
11644 shared_flag
='${wl}-G'
11646 shared_flag
='${wl}-bM:SRE'
11651 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
11652 # It seems that -bexpall does not export symbols beginning with
11653 # underscore (_), so it is better to generate a list of symbols to
11655 always_export_symbols_CXX
=yes
11656 if test "$aix_use_runtimelinking" = yes; then
11657 # Warning - without using the other runtime loading flags (-brtl),
11658 # -berok will link without error, but may produce a broken library.
11659 allow_undefined_flag_CXX
='-berok'
11660 # Determine the default libpath from the value encoded in an empty
11662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11663 /* end confdefs.h. */
11673 if ac_fn_cxx_try_link
"$LINENO"; then :
11675 lt_aix_libpath_sed
='
11676 /Import File Strings/,/^$/ {
11682 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11683 # Check for a 64-bit object if we didn't find anything.
11684 if test -z "$aix_libpath"; then
11685 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11688 rm -f core conftest.err conftest.
$ac_objext \
11689 conftest
$ac_exeext conftest.
$ac_ext
11690 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11692 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11694 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"
11696 if test "$host_cpu" = ia64
; then
11697 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11698 allow_undefined_flag_CXX
="-z nodefs"
11699 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"
11701 # Determine the default libpath from the value encoded in an
11702 # empty executable.
11703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11704 /* end confdefs.h. */
11714 if ac_fn_cxx_try_link
"$LINENO"; then :
11716 lt_aix_libpath_sed
='
11717 /Import File Strings/,/^$/ {
11723 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11724 # Check for a 64-bit object if we didn't find anything.
11725 if test -z "$aix_libpath"; then
11726 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11729 rm -f core conftest.err conftest.
$ac_objext \
11730 conftest
$ac_exeext conftest.
$ac_ext
11731 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11733 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11734 # Warning - without using the other run time loading flags,
11735 # -berok will link without error, but may produce a broken library.
11736 no_undefined_flag_CXX
=' ${wl}-bernotok'
11737 allow_undefined_flag_CXX
=' ${wl}-berok'
11738 if test "$with_gnu_ld" = yes; then
11739 # We only use this code for GNU lds that support --whole-archive.
11740 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11742 # Exported symbols can be pulled into shared objects from archives
11743 whole_archive_flag_spec_CXX
='$convenience'
11745 archive_cmds_need_lc_CXX
=yes
11746 # This is similar to how AIX traditionally builds its shared
11748 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'
11754 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11755 allow_undefined_flag_CXX
=unsupported
11756 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11757 # support --undefined. This deserves some investigation. FIXME
11758 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11765 case $cc_basename in
11767 # FIXME: insert proper C++ library support
11773 cygwin
* | mingw
* | pw32
* | cegcc
*)
11774 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11775 # as there is no search path for DLLs.
11776 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11777 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
11778 allow_undefined_flag_CXX
=unsupported
11779 always_export_symbols_CXX
=no
11780 enable_shared_with_static_runtimes_CXX
=yes
11782 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
11783 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'
11784 # If the export-symbols file already is a .def file (1st line
11785 # is EXPORTS), use it as is; otherwise, prepend...
11786 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11787 cp $export_symbols $output_objdir/$soname.def;
11789 echo EXPORTS > $output_objdir/$soname.def;
11790 cat $export_symbols >> $output_objdir/$soname.def;
11792 $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'
11797 darwin
* | rhapsody
*)
11800 archive_cmds_need_lc_CXX
=no
11801 hardcode_direct_CXX
=no
11802 hardcode_automatic_CXX
=yes
11803 hardcode_shlibpath_var_CXX
=unsupported
11804 if test "$lt_cv_ld_force_load" = "yes"; then
11805 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\"`'
11807 whole_archive_flag_spec_CXX
=''
11809 link_all_deplibs_CXX
=yes
11810 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
11811 case $cc_basename in
11812 ifort
*) _lt_dar_can_shared
=yes ;;
11813 *) _lt_dar_can_shared
=$GCC ;;
11815 if test "$_lt_dar_can_shared" = "yes"; then
11816 output_verbose_link_cmd
=func_echo_all
11817 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}"
11818 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11819 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}"
11820 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}"
11821 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11822 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}"
11823 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}"
11833 case $cc_basename in
11835 # FIXME: insert proper C++ library support
11839 # Green Hills C++ Compiler
11840 # FIXME: insert proper C++ library support
11844 # FIXME: insert proper C++ library support
11851 # C++ shared libraries reported to be fairly broken before
11857 archive_cmds_need_lc_CXX
=no
11860 freebsd
* | dragonfly
*)
11861 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11870 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11871 link_all_deplibs_CXX
=yes
11875 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11876 hardcode_libdir_separator_CXX
=:
11877 export_dynamic_flag_spec_CXX
='${wl}-E'
11878 hardcode_direct_CXX
=yes
11879 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11880 # but as the default
11881 # location of the library.
11883 case $cc_basename in
11885 # FIXME: insert proper C++ library support
11889 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'
11890 # Commands to make compiler produce verbose output that lists
11891 # what "hidden" libraries, object files and flags are used when
11892 # linking a shared library.
11894 # There doesn't appear to be a way to prevent this compiler from
11895 # explicitly linking system object files so we need to strip them
11896 # from the output so that they don't get included in the library
11898 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"'
11901 if test "$GXX" = yes; then
11902 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'
11904 # FIXME: insert proper C++ library support
11912 if test $with_gnu_ld = no
; then
11913 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11914 hardcode_libdir_separator_CXX
=:
11920 export_dynamic_flag_spec_CXX
='${wl}-E'
11926 hardcode_direct_CXX
=no
11927 hardcode_shlibpath_var_CXX
=no
11930 hardcode_direct_CXX
=yes
11931 hardcode_direct_absolute_CXX
=yes
11932 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11933 # but as the default
11934 # location of the library.
11938 case $cc_basename in
11940 # FIXME: insert proper C++ library support
11946 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11949 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11952 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11955 # Commands to make compiler produce verbose output that lists
11956 # what "hidden" libraries, object files and flags are used when
11957 # linking a shared library.
11959 # There doesn't appear to be a way to prevent this compiler from
11960 # explicitly linking system object files so we need to strip them
11961 # from the output so that they don't get included in the library
11963 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"'
11966 if test "$GXX" = yes; then
11967 if test $with_gnu_ld = no
; then
11970 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11973 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11976 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'
11981 # FIXME: insert proper C++ library support
11989 hardcode_direct_CXX
=no
11990 hardcode_shlibpath_var_CXX
=no
11991 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11992 export_dynamic_flag_spec_CXX
='${wl}-E'
11993 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11994 # Instead, shared libraries are loaded at an image base (0x10000000 by
11995 # default) and relocated if they conflict, which is a slow very memory
11996 # consuming and fragmenting process. To avoid this, we pick a random,
11997 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11998 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11999 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'
12000 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'
12003 case $cc_basename in
12006 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'
12008 # Archives containing C++ object files must be created using
12009 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12010 # necessary to make sure instantiated templates are included
12012 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12015 if test "$GXX" = yes; then
12016 if test "$with_gnu_ld" = no
; then
12017 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'
12019 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'
12022 link_all_deplibs_CXX
=yes
12025 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12026 hardcode_libdir_separator_CXX
=:
12027 inherit_rpath_CXX
=yes
12030 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12031 case $cc_basename in
12033 # Kuck and Associates, Inc. (KAI) C++ Compiler
12035 # KCC will only create a shared library if the output file
12036 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12037 # to its proper name (with version) after linking.
12038 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'
12039 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'
12040 # Commands to make compiler produce verbose output that lists
12041 # what "hidden" libraries, object files and flags are used when
12042 # linking a shared library.
12044 # There doesn't appear to be a way to prevent this compiler from
12045 # explicitly linking system object files so we need to strip them
12046 # from the output so that they don't get included in the library
12048 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"'
12050 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12051 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12053 # Archives containing C++ object files must be created using
12054 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12055 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12060 # version 8.0 and above of icpc choke on multiply defined symbols
12061 # if we add $predep_objects and $postdep_objects, however 7.1 and
12062 # earlier do not add the objects themselves.
12063 case `$CC -V 2>&1` in
12065 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12066 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'
12068 *) # Version 8.0 or newer
12071 ia64
*) tmp_idyn
=' -i_dynamic';;
12073 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12074 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'
12077 archive_cmds_need_lc_CXX
=no
12078 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12079 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12080 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12083 # Portland Group C++ compiler
12085 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
12086 prelink_cmds_CXX
='tpldir=Template.dir~
12088 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12089 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12090 old_archive_cmds_CXX
='tpldir=Template.dir~
12092 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12093 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12095 archive_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 -o $lib'
12099 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12101 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12102 $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'
12104 *) # Version 6 and above use weak symbols
12105 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12106 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'
12110 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12111 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12112 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'
12116 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12117 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'
12119 runpath_var
=LD_RUN_PATH
12120 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12121 hardcode_libdir_separator_CXX
=:
12123 # Commands to make compiler produce verbose output that lists
12124 # what "hidden" libraries, object files and flags are used when
12125 # linking a shared library.
12127 # There doesn't appear to be a way to prevent this compiler from
12128 # explicitly linking system object files so we need to strip them
12129 # from the output so that they don't get included in the library
12131 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'
12133 xl
* | mpixl
* | bgxl
*)
12134 # IBM XL 8.0 on PPC, with GNU ld
12135 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12136 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12137 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12138 if test "x$supports_anon_versioning" = xyes
; then
12139 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12140 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12141 echo "local: *; };" >> $output_objdir/$libname.ver~
12142 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12146 case `$CC -V 2>&1 | sed 5q` in
12149 no_undefined_flag_CXX
=' -zdefs'
12150 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12151 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'
12152 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12153 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'
12154 compiler_needs_object_CXX
=yes
12156 # Not sure whether something based on
12157 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12159 output_verbose_link_cmd
='func_echo_all'
12161 # Archives containing C++ object files must be created using
12162 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12163 # necessary to make sure instantiated templates are included
12165 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12173 # FIXME: insert proper C++ library support
12178 # FIXME: insert proper C++ library support
12183 case $cc_basename in
12185 # FIXME: insert proper C++ library support
12189 # FIXME: insert proper C++ library support
12196 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12197 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12199 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12200 hardcode_direct_CXX
=yes
12201 hardcode_shlibpath_var_CXX
=no
12203 # Workaround some broken pre-1.5 toolchains
12204 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12212 # C++ shared libraries are fairly broken
12217 if test -f /usr
/libexec
/ld.so
; then
12218 hardcode_direct_CXX
=yes
12219 hardcode_shlibpath_var_CXX
=no
12220 hardcode_direct_absolute_CXX
=yes
12221 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12222 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12223 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12224 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12225 export_dynamic_flag_spec_CXX
='${wl}-E'
12226 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12228 output_verbose_link_cmd
=func_echo_all
12234 osf3
* | osf4
* | osf5
*)
12235 case $cc_basename in
12237 # Kuck and Associates, Inc. (KAI) C++ Compiler
12239 # KCC will only create a shared library if the output file
12240 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12241 # to its proper name (with version) after linking.
12242 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'
12244 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12245 hardcode_libdir_separator_CXX
=:
12247 # Archives containing C++ object files must be created using
12248 # the KAI C++ compiler.
12250 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12251 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12255 # Rational C++ 2.4.1
12256 # FIXME: insert proper C++ library support
12262 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12263 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'
12264 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12267 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12268 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'
12269 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12270 echo "-hidden">> $lib.exp~
12271 $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~
12273 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12277 hardcode_libdir_separator_CXX
=:
12279 # Commands to make compiler produce verbose output that lists
12280 # what "hidden" libraries, object files and flags are used when
12281 # linking a shared library.
12283 # There doesn't appear to be a way to prevent this compiler from
12284 # explicitly linking system object files so we need to strip them
12285 # from the output so that they don't get included in the library
12287 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"'
12290 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12291 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12294 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'
12297 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'
12301 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12302 hardcode_libdir_separator_CXX
=:
12304 # Commands to make compiler produce verbose output that lists
12305 # what "hidden" libraries, object files and flags are used when
12306 # linking a shared library.
12307 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12310 # FIXME: insert proper C++ library support
12318 # FIXME: insert proper C++ library support
12323 case $cc_basename in
12326 # FIXME: insert proper C++ library support
12331 # FIXME: insert proper C++ library support
12335 # FIXME: insert proper C++ library support
12342 case $cc_basename in
12344 # Sun C++ 4.2, 5.x and Centerline C++
12345 archive_cmds_need_lc_CXX
=yes
12346 no_undefined_flag_CXX
=' -zdefs'
12347 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12348 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12349 $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'
12351 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12352 hardcode_shlibpath_var_CXX
=no
12354 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12356 # The compiler driver will combine and reorder linker options,
12357 # but understands `-z linker_flag'.
12358 # Supported since Solaris 2.6 (maybe 2.5.1?)
12359 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12362 link_all_deplibs_CXX
=yes
12364 output_verbose_link_cmd
='func_echo_all'
12366 # Archives containing C++ object files must be created using
12367 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12368 # necessary to make sure instantiated templates are included
12370 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12373 # Green Hills C++ Compiler
12374 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12376 # The C++ compiler must be used to create the archive.
12377 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12380 # GNU C++ compiler with Solaris linker
12381 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12382 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12383 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
12384 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12385 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12386 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12388 # Commands to make compiler produce verbose output that lists
12389 # what "hidden" libraries, object files and flags are used when
12390 # linking a shared library.
12391 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12393 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12395 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12396 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12397 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12399 # Commands to make compiler produce verbose output that lists
12400 # what "hidden" libraries, object files and flags are used when
12401 # linking a shared library.
12402 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12405 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12407 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12409 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12417 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12418 no_undefined_flag_CXX
='${wl}-z,text'
12419 archive_cmds_need_lc_CXX
=no
12420 hardcode_shlibpath_var_CXX
=no
12421 runpath_var
='LD_RUN_PATH'
12423 case $cc_basename in
12425 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12426 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12429 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12430 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12435 sysv5
* | sco3.2v5
* | sco5v6
*)
12436 # Note: We can NOT use -z defs as we might desire, because we do not
12437 # link with -lc, and that would cause any symbols used from libc to
12438 # always be unresolved, which means just about no library would
12439 # ever link correctly. If we're not using GNU ld we use -z text
12440 # though, which does catch some bad symbols but isn't as heavy-handed
12442 no_undefined_flag_CXX
='${wl}-z,text'
12443 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12444 archive_cmds_need_lc_CXX
=no
12445 hardcode_shlibpath_var_CXX
=no
12446 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
12447 hardcode_libdir_separator_CXX
=':'
12448 link_all_deplibs_CXX
=yes
12449 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12450 runpath_var
='LD_RUN_PATH'
12452 case $cc_basename in
12454 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12455 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12456 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
12457 '"$old_archive_cmds_CXX"
12458 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
12459 '"$reload_cmds_CXX"
12462 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12463 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12469 case $cc_basename in
12471 # NonStop-UX NCC 3.20
12472 # FIXME: insert proper C++ library support
12476 # FIXME: insert proper C++ library support
12483 # FIXME: insert proper C++ library support
12488 # FIXME: insert proper C++ library support
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12494 $as_echo "$ld_shlibs_CXX" >&6; }
12495 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12501 ## There is no encapsulation within the following macros, do not change
12502 ## the running order or otherwise move them around unless you know exactly
12503 ## what you are doing...
12504 # Dependencies to place before and after the object being linked:
12505 predep_objects_CXX
=
12506 postdep_objects_CXX
=
12509 compiler_lib_search_path_CXX
=
12511 cat > conftest.
$ac_ext <<_LT_EOF
12515 Foo (void) { a = 0; }
12521 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12522 (eval $ac_compile) 2>&5
12524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12525 test $ac_status = 0; }; then
12526 # Parse the compiler output and extract the necessary
12527 # objects, libraries and library flags.
12529 # Sentinel used to keep track of whether or not we are before
12530 # the conftest object file.
12531 pre_test_object_deps_done
=no
12533 for p
in `eval "$output_verbose_link_cmd"`; do
12537 # Some compilers place space between "-{L,R}" and the path.
12538 # Remove the space.
12539 if test $p = "-L" ||
12540 test $p = "-R"; then
12547 if test "$pre_test_object_deps_done" = no
; then
12550 # Internal compiler library paths should come after those
12551 # provided the user. The postdeps already come after the
12552 # user supplied libs so there is no need to process them.
12553 if test -z "$compiler_lib_search_path_CXX"; then
12554 compiler_lib_search_path_CXX
="${prev}${p}"
12556 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12559 # The "-l" case would never come before the object being
12560 # linked, so don't bother handling this case.
12563 if test -z "$postdeps_CXX"; then
12564 postdeps_CXX
="${prev}${p}"
12566 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12572 # This assumes that the test object file only shows up
12573 # once in the compiler output.
12574 if test "$p" = "conftest.$objext"; then
12575 pre_test_object_deps_done
=yes
12579 if test "$pre_test_object_deps_done" = no
; then
12580 if test -z "$predep_objects_CXX"; then
12581 predep_objects_CXX
="$p"
12583 predep_objects_CXX
="$predep_objects_CXX $p"
12586 if test -z "$postdep_objects_CXX"; then
12587 postdep_objects_CXX
="$p"
12589 postdep_objects_CXX
="$postdep_objects_CXX $p"
12594 *) ;; # Ignore the rest.
12602 echo "libtool.m4: error: problem compiling CXX test program"
12605 $RM -f confest.
$objext
12607 # PORTME: override above test on systems where it is broken
12610 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12611 # hack all around it, let's just trust "g++" to DTRT.
12612 predep_objects_CXX
=
12613 postdep_objects_CXX
=
12618 case `$CC -V 2>&1 | sed 5q` in
12622 # The more standards-conforming stlport4 library is
12623 # incompatible with the Cstd library. Avoid specifying
12624 # it if it's in CXXFLAGS. Ignore libCrun as
12625 # -library=stlport4 depends on it.
12626 case " $CXX $CXXFLAGS " in
12627 *" -library=stlport4 "*)
12628 solaris_use_stlport4
=yes
12632 if test "$solaris_use_stlport4" != yes; then
12633 postdeps_CXX
='-library=Cstd -library=Crun'
12640 case $cc_basename in
12642 # The more standards-conforming stlport4 library is
12643 # incompatible with the Cstd library. Avoid specifying
12644 # it if it's in CXXFLAGS. Ignore libCrun as
12645 # -library=stlport4 depends on it.
12646 case " $CXX $CXXFLAGS " in
12647 *" -library=stlport4 "*)
12648 solaris_use_stlport4
=yes
12652 # Adding this requires a known-good setup of shared libraries for
12653 # Sun compiler versions before 5.6, else PIC objects from an old
12654 # archive will be linked into the output, leading to subtle bugs.
12655 if test "$solaris_use_stlport4" != yes; then
12656 postdeps_CXX
='-library=Cstd -library=Crun'
12664 case " $postdeps_CXX " in
12665 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12667 compiler_lib_search_dirs_CXX
=
12668 if test -n "${compiler_lib_search_path_CXX}"; then
12669 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12702 lt_prog_compiler_wl_CXX
=
12703 lt_prog_compiler_pic_CXX
=
12704 lt_prog_compiler_static_CXX
=
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12707 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12709 # C++ specific cases for pic, static, wl, etc.
12710 if test "$GXX" = yes; then
12711 lt_prog_compiler_wl_CXX
='-Wl,'
12712 lt_prog_compiler_static_CXX
='-static'
12716 # All AIX code is PIC.
12717 if test "$host_cpu" = ia64
; then
12718 # AIX 5 now supports IA64 processor
12719 lt_prog_compiler_static_CXX
='-Bstatic'
12721 lt_prog_compiler_pic_CXX
='-fPIC'
12727 # see comment about AmigaOS4 .so support
12728 lt_prog_compiler_pic_CXX
='-fPIC'
12731 # FIXME: we need at least 68020 code to build shared libraries, but
12732 # adding the `-m68020' flag to GCC prevents building anything better,
12734 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12739 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12740 # PIC is the default for these OSes.
12742 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
12743 # This hack is so that the source file can tell whether it is being
12744 # built for inclusion in a dll (and should export symbols for example).
12745 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12746 # (--disable-auto-import) libraries
12747 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12749 darwin
* | rhapsody
*)
12750 # PIC is the default on this platform
12751 # Common symbols not allowed in MH_DYLIB files
12752 lt_prog_compiler_pic_CXX
='-fno-common'
12755 # DJGPP does not support shared libraries at all
12756 lt_prog_compiler_pic_CXX
=
12759 # PIC is the default for Haiku.
12760 # The "-static" flag exists, but is broken.
12761 lt_prog_compiler_static_CXX
=
12764 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12765 # Instead, we relocate shared libraries at runtime.
12768 if test -d /usr
/nec
; then
12769 lt_prog_compiler_pic_CXX
=-Kconform_pic
12773 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12774 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12775 # sets the default TLS model and affects inlining.
12780 lt_prog_compiler_pic_CXX
='-fPIC'
12785 # QNX uses GNU C++, but need to define -shared option too, otherwise
12786 # it will coredump.
12787 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12790 lt_prog_compiler_pic_CXX
='-fPIC'
12796 # All AIX code is PIC.
12797 if test "$host_cpu" = ia64
; then
12798 # AIX 5 now supports IA64 processor
12799 lt_prog_compiler_static_CXX
='-Bstatic'
12801 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12805 case $cc_basename in
12807 # Green Hills C++ Compiler
12808 # _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"
12813 case $cc_basename in
12815 lt_prog_compiler_pic_CXX
='-KPIC'
12818 # Green Hills C++ Compiler
12819 lt_prog_compiler_pic_CXX
='-pic'
12825 freebsd
* | dragonfly
*)
12826 # FreeBSD uses GNU C++
12828 hpux9
* | hpux10
* | hpux11
*)
12829 case $cc_basename in
12831 lt_prog_compiler_wl_CXX
='-Wl,'
12832 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12833 if test "$host_cpu" != ia64
; then
12834 lt_prog_compiler_pic_CXX
='+Z'
12838 lt_prog_compiler_wl_CXX
='-Wl,'
12839 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12845 lt_prog_compiler_pic_CXX
='+Z'
12854 # This is c89, which is MS Visual C++ (no shared libs)
12855 # Anyone wants to do a port?
12857 irix5
* | irix6
* | nonstopux
*)
12858 case $cc_basename in
12860 lt_prog_compiler_wl_CXX
='-Wl,'
12861 lt_prog_compiler_static_CXX
='-non_shared'
12862 # CC pic flag -KPIC is the default.
12868 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12869 case $cc_basename in
12872 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12873 lt_prog_compiler_pic_CXX
='-fPIC'
12876 # old Intel C++ for x86_64 which still supported -KPIC.
12877 lt_prog_compiler_wl_CXX
='-Wl,'
12878 lt_prog_compiler_pic_CXX
='-KPIC'
12879 lt_prog_compiler_static_CXX
='-static'
12882 # Intel C++, used to be incompatible with GCC.
12883 # ICC 10 doesn't accept -KPIC any more.
12884 lt_prog_compiler_wl_CXX
='-Wl,'
12885 lt_prog_compiler_pic_CXX
='-fPIC'
12886 lt_prog_compiler_static_CXX
='-static'
12889 # Portland Group C++ compiler
12890 lt_prog_compiler_wl_CXX
='-Wl,'
12891 lt_prog_compiler_pic_CXX
='-fpic'
12892 lt_prog_compiler_static_CXX
='-Bstatic'
12896 # Make sure the PIC flag is empty. It appears that all Alpha
12897 # Linux and Compaq Tru64 Unix objects are PIC.
12898 lt_prog_compiler_pic_CXX
=
12899 lt_prog_compiler_static_CXX
='-non_shared'
12901 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
12902 # IBM XL 8.0, 9.0 on PPC and BlueGene
12903 lt_prog_compiler_wl_CXX
='-Wl,'
12904 lt_prog_compiler_pic_CXX
='-qpic'
12905 lt_prog_compiler_static_CXX
='-qstaticlink'
12908 case `$CC -V 2>&1 | sed 5q` in
12911 lt_prog_compiler_pic_CXX
='-KPIC'
12912 lt_prog_compiler_static_CXX
='-Bstatic'
12913 lt_prog_compiler_wl_CXX
='-Qoption ld '
12924 case $cc_basename in
12926 lt_prog_compiler_pic_CXX
='-W c,exportall'
12935 # QNX uses GNU C++, but need to define -shared option too, otherwise
12936 # it will coredump.
12937 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12939 osf3
* | osf4
* | osf5
*)
12940 case $cc_basename in
12942 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12945 # Rational C++ 2.4.1
12946 lt_prog_compiler_pic_CXX
='-pic'
12949 # Digital/Compaq C++
12950 lt_prog_compiler_wl_CXX
='-Wl,'
12951 # Make sure the PIC flag is empty. It appears that all Alpha
12952 # Linux and Compaq Tru64 Unix objects are PIC.
12953 lt_prog_compiler_pic_CXX
=
12954 lt_prog_compiler_static_CXX
='-non_shared'
12963 case $cc_basename in
12965 # Sun C++ 4.2, 5.x and Centerline C++
12966 lt_prog_compiler_pic_CXX
='-KPIC'
12967 lt_prog_compiler_static_CXX
='-Bstatic'
12968 lt_prog_compiler_wl_CXX
='-Qoption ld '
12971 # Green Hills C++ Compiler
12972 lt_prog_compiler_pic_CXX
='-PIC'
12979 case $cc_basename in
12982 lt_prog_compiler_pic_CXX
='-pic'
12983 lt_prog_compiler_static_CXX
='-Bstatic'
12987 lt_prog_compiler_pic_CXX
='-pic'
12993 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12994 case $cc_basename in
12996 lt_prog_compiler_wl_CXX
='-Wl,'
12997 lt_prog_compiler_pic_CXX
='-KPIC'
12998 lt_prog_compiler_static_CXX
='-Bstatic'
13003 case $cc_basename in
13005 # NonStop-UX NCC 3.20
13006 lt_prog_compiler_pic_CXX
='-KPIC'
13015 lt_prog_compiler_can_build_shared_CXX
=no
13021 # For platforms which do not support PIC, -DPIC is meaningless:
13023 lt_prog_compiler_pic_CXX
=
13026 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13030 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13035 # Check to make sure the PIC flag actually works.
13037 if test -n "$lt_prog_compiler_pic_CXX"; then
13038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13039 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13040 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13041 $as_echo_n "(cached) " >&6
13043 lt_cv_prog_compiler_pic_works_CXX
=no
13044 ac_outfile
=conftest.
$ac_objext
13045 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13046 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13047 # Insert the option either (1) after the last *FLAGS variable, or
13048 # (2) before a word containing "conftest.", or (3) at the end.
13049 # Note that $ac_compile itself does not contain backslashes and begins
13050 # with a dollar sign (not a hyphen), so the echo should work correctly.
13051 # The option is referenced via a variable to avoid confusing sed.
13052 lt_compile
=`echo "$ac_compile" | $SED \
13053 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13054 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13055 -e 's:$: $lt_compiler_flag:'`
13056 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13057 (eval "$lt_compile" 2>conftest.err
)
13059 cat conftest.err
>&5
13060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13061 if (exit $ac_status) && test -s "$ac_outfile"; then
13062 # The compiler can only warn and ignore the option if not recognized
13063 # So say no if there are warnings other than the usual output.
13064 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13065 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13066 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13067 lt_cv_prog_compiler_pic_works_CXX
=yes
13073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13074 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13076 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13077 case $lt_prog_compiler_pic_CXX in
13079 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13082 lt_prog_compiler_pic_CXX
=
13083 lt_prog_compiler_can_build_shared_CXX
=no
13091 # Check to make sure the static flag actually works.
13093 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13095 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13096 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13097 $as_echo_n "(cached) " >&6
13099 lt_cv_prog_compiler_static_works_CXX
=no
13100 save_LDFLAGS
="$LDFLAGS"
13101 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13102 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13103 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13104 # The linker can only warn and ignore the option if not recognized
13105 # So say no if there are warnings
13106 if test -s conftest.err
; then
13107 # Append any errors to the config.log.
13108 cat conftest.err
1>&5
13109 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13110 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13111 if diff conftest.exp conftest.er2
>/dev
/null
; then
13112 lt_cv_prog_compiler_static_works_CXX
=yes
13115 lt_cv_prog_compiler_static_works_CXX
=yes
13119 LDFLAGS
="$save_LDFLAGS"
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13123 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13125 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13128 lt_prog_compiler_static_CXX
=
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13135 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13136 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13137 $as_echo_n "(cached) " >&6
13139 lt_cv_prog_compiler_c_o_CXX
=no
13140 $RM -r conftest
2>/dev
/null
13144 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13146 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13147 # Insert the option either (1) after the last *FLAGS variable, or
13148 # (2) before a word containing "conftest.", or (3) at the end.
13149 # Note that $ac_compile itself does not contain backslashes and begins
13150 # with a dollar sign (not a hyphen), so the echo should work correctly.
13151 lt_compile
=`echo "$ac_compile" | $SED \
13152 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13153 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13154 -e 's:$: $lt_compiler_flag:'`
13155 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13156 (eval "$lt_compile" 2>out
/conftest.err
)
13158 cat out
/conftest.err
>&5
13159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13160 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13162 # The compiler can only warn and ignore the option if not recognized
13163 # So say no if there are warnings
13164 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13165 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13166 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13167 lt_cv_prog_compiler_c_o_CXX
=yes
13172 # SGI C++ compiler will create directory out/ii_files/ for
13173 # template instantiation
13174 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13175 $RM out
/* && rmdir out
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13182 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13187 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13188 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13189 $as_echo_n "(cached) " >&6
13191 lt_cv_prog_compiler_c_o_CXX
=no
13192 $RM -r conftest
2>/dev
/null
13196 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13198 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13199 # Insert the option either (1) after the last *FLAGS variable, or
13200 # (2) before a word containing "conftest.", or (3) at the end.
13201 # Note that $ac_compile itself does not contain backslashes and begins
13202 # with a dollar sign (not a hyphen), so the echo should work correctly.
13203 lt_compile
=`echo "$ac_compile" | $SED \
13204 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13205 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13206 -e 's:$: $lt_compiler_flag:'`
13207 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13208 (eval "$lt_compile" 2>out
/conftest.err
)
13210 cat out
/conftest.err
>&5
13211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13212 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13214 # The compiler can only warn and ignore the option if not recognized
13215 # So say no if there are warnings
13216 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13217 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13218 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13219 lt_cv_prog_compiler_c_o_CXX
=yes
13224 # SGI C++ compiler will create directory out/ii_files/ for
13225 # template instantiation
13226 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13227 $RM out
/* && rmdir out
13233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13234 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13239 hard_links
="nottested"
13240 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13241 # do not overwrite the value of need_locks provided by the user
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13243 $as_echo_n "checking if we can lock with hard links... " >&6; }
13246 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13248 ln conftest.a conftest.b
2>&5 || hard_links
=no
13249 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13251 $as_echo "$hard_links" >&6; }
13252 if test "$hard_links" = no
; then
13253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13254 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13264 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13266 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13269 # If we're using GNU nm, then we don't want the "-C" option.
13270 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13271 # Also, AIX nm treats weak defined symbols like other global defined
13272 # symbols, whereas GNU nm marks them as "W".
13273 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13274 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'
13276 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13280 export_symbols_cmds_CXX
="$ltdll_cmds"
13282 cygwin
* | mingw
* | cegcc
*)
13283 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'
13286 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13289 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13292 $as_echo "$ld_shlibs_CXX" >&6; }
13293 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13295 with_gnu_ld_CXX
=$with_gnu_ld
13303 # Do we need to explicitly link libc?
13305 case "x$archive_cmds_need_lc_CXX" in
13307 # Assume -lc should be added
13308 archive_cmds_need_lc_CXX
=yes
13310 if test "$enable_shared" = yes && test "$GCC" = yes; then
13311 case $archive_cmds_CXX in
13313 # FIXME: we may have to deal with multi-command sequences.
13316 # Test whether the compiler implicitly links with -lc since on some
13317 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13318 # to ld, don't add -lc before -lgcc.
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13320 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13321 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13322 $as_echo_n "(cached) " >&6
13325 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13327 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13328 (eval $ac_compile) 2>&5
13330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13331 test $ac_status = 0; } 2>conftest.err
; then
13334 libobjs
=conftest.
$ac_objext
13336 wl
=$lt_prog_compiler_wl_CXX
13337 pic_flag
=$lt_prog_compiler_pic_CXX
13343 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13344 allow_undefined_flag_CXX
=
13345 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13346 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13349 test $ac_status = 0; }
13351 lt_cv_archive_cmds_need_lc_CXX
=no
13353 lt_cv_archive_cmds_need_lc_CXX
=yes
13355 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13357 cat conftest.err
1>&5
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
13363 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
13364 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
13434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13435 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13437 library_names_spec
=
13438 libname_spec
='lib$name'
13442 postuninstall_cmds
=
13446 shlibpath_overrides_runpath
=unknown
13448 dynamic_linker
="$host_os ld.so"
13449 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13450 need_lib_prefix
=unknown
13451 hardcode_into_libs
=no
13453 # when you set need_version to no, make sure it does not cause -set_version
13454 # flags to be left without arguments
13455 need_version
=unknown
13460 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13461 shlibpath_var
=LIBPATH
13463 # AIX 3 has no versioning support, so we append a major version to the name.
13464 soname_spec
='${libname}${release}${shared_ext}$major'
13471 hardcode_into_libs
=yes
13472 if test "$host_cpu" = ia64
; then
13473 # AIX 5 supports IA64
13474 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13475 shlibpath_var
=LD_LIBRARY_PATH
13477 # With GCC up to 2.95.x, collect2 would create an import file
13478 # for dependence libraries. The import file would start with
13479 # the line `#! .'. This would cause the generated library to
13480 # depend on `.', always an invalid library. This was fixed in
13481 # development snapshots of GCC prior to 3.0.
13483 aix4 | aix4.
[01] | aix4.
[01].
*)
13484 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13486 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
13489 can_build_shared
=no
13493 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13494 # soname into executable. Probably we can add versioning support to
13495 # collect2, so additional links can be useful in future.
13496 if test "$aix_use_runtimelinking" = yes; then
13497 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13498 # instead of lib<name>.a to let people know that these are not
13499 # typical AIX shared libraries.
13500 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13502 # We preserve .a as extension for shared libraries through AIX4.2
13503 # and later when we are not doing run time linking.
13504 library_names_spec
='${libname}${release}.a $libname.a'
13505 soname_spec
='${libname}${release}${shared_ext}$major'
13507 shlibpath_var
=LIBPATH
13514 # Since July 2007 AmigaOS4 officially supports .so libraries.
13515 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13516 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13519 library_names_spec
='$libname.ixlibrary $libname.a'
13520 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13521 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'
13527 library_names_spec
='${libname}${shared_ext}'
13528 dynamic_linker
="$host_os ld.so"
13529 shlibpath_var
=LIBRARY_PATH
13535 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13536 soname_spec
='${libname}${release}${shared_ext}$major'
13537 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13538 shlibpath_var
=LD_LIBRARY_PATH
13539 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13540 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13541 # the default ld.so.conf also contains /usr/contrib/lib and
13542 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13543 # libtool to hard-code these into programs
13546 cygwin
* | mingw
* | pw32
* | cegcc
*)
13547 version_type
=windows
13552 case $GCC,$host_os in
13553 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
13554 library_names_spec
='$libname.dll.a'
13555 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13556 postinstall_cmds
='base_file=`basename \${file}`~
13557 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13558 dldir=$destdir/`dirname \$dlpath`~
13559 test -d \$dldir || mkdir -p \$dldir~
13560 $install_prog $dir/$dlname \$dldir/$dlname~
13561 chmod a+x \$dldir/$dlname~
13562 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13563 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13565 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13566 dlpath=$dir/\$dldll~
13568 shlibpath_overrides_runpath
=yes
13572 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13573 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13577 # MinGW DLLs use traditional 'lib' prefix
13578 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13581 # pw32 DLLs use 'pw' prefix rather than 'lib'
13582 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13588 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13591 dynamic_linker
='Win32 ld.exe'
13592 # FIXME: first we should search . and the directory the executable is in
13596 darwin
* | rhapsody
*)
13597 dynamic_linker
="$host_os dyld"
13598 version_type
=darwin
13601 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13602 soname_spec
='${libname}${release}${major}$shared_ext'
13603 shlibpath_overrides_runpath
=yes
13604 shlibpath_var
=DYLD_LIBRARY_PATH
13605 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13607 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13614 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13615 soname_spec
='${libname}${release}${shared_ext}$major'
13616 shlibpath_var
=LD_LIBRARY_PATH
13619 freebsd
* | dragonfly
*)
13620 # DragonFly does not have aout. When/if they implement a new
13621 # versioning mechanism, adjust this.
13622 if test -x /usr
/bin
/objformat
; then
13623 objformat
=`/usr/bin/objformat`
13626 freebsd
[23].
*) objformat
=aout
;;
13627 *) objformat
=elf
;;
13630 version_type
=freebsd-
$objformat
13631 case $version_type in
13633 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13638 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13642 shlibpath_var
=LD_LIBRARY_PATH
13645 shlibpath_overrides_runpath
=yes
13647 freebsd3.
[01]* | freebsdelf3.
[01]*)
13648 shlibpath_overrides_runpath
=yes
13649 hardcode_into_libs
=yes
13651 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13652 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13653 shlibpath_overrides_runpath
=no
13654 hardcode_into_libs
=yes
13656 *) # from 4.6 on, and DragonFly
13657 shlibpath_overrides_runpath
=yes
13658 hardcode_into_libs
=yes
13667 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13668 soname_spec
='${libname}${release}${shared_ext}$major'
13669 shlibpath_var
=LD_LIBRARY_PATH
13670 hardcode_into_libs
=yes
13677 dynamic_linker
="$host_os runtime_loader"
13678 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13679 soname_spec
='${libname}${release}${shared_ext}$major'
13680 shlibpath_var
=LIBRARY_PATH
13681 shlibpath_overrides_runpath
=yes
13682 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
13683 hardcode_into_libs
=yes
13686 hpux9
* | hpux10
* | hpux11
*)
13687 # Give a soname corresponding to the major version so that dld.sl refuses to
13688 # link against other versions.
13695 hardcode_into_libs
=yes
13696 dynamic_linker
="$host_os dld.so"
13697 shlibpath_var
=LD_LIBRARY_PATH
13698 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13699 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13700 soname_spec
='${libname}${release}${shared_ext}$major'
13701 if test "X$HPUX_IA64_MODE" = X32
; then
13702 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13704 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13706 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13710 hardcode_into_libs
=yes
13711 dynamic_linker
="$host_os dld.sl"
13712 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13713 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13714 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13715 soname_spec
='${libname}${release}${shared_ext}$major'
13716 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13717 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13721 dynamic_linker
="$host_os dld.sl"
13722 shlibpath_var
=SHLIB_PATH
13723 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13724 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13725 soname_spec
='${libname}${release}${shared_ext}$major'
13728 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13729 postinstall_cmds
='chmod 555 $lib'
13730 # or fails outright, so override atomically:
13731 install_override_mode
=555
13738 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13739 soname_spec
='${libname}${release}${shared_ext}$major'
13740 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13741 shlibpath_var
=LD_LIBRARY_PATH
13742 shlibpath_overrides_runpath
=no
13743 hardcode_into_libs
=yes
13746 irix5
* | irix6
* | nonstopux
*)
13748 nonstopux
*) version_type
=nonstopux
;;
13750 if test "$lt_cv_prog_gnu_ld" = yes; then
13758 soname_spec
='${libname}${release}${shared_ext}$major'
13759 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13761 irix5
* | nonstopux
*)
13762 libsuff
= shlibsuff
=
13765 case $LD in # libtool.m4 will add one of these switches to LD
13766 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13767 libsuff
= shlibsuff
= libmagic
=32-bit;;
13768 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13769 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13770 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13771 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13772 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13776 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13777 shlibpath_overrides_runpath
=no
13778 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13779 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13780 hardcode_into_libs
=yes
13783 # No shared lib support for Linux oldld, aout, or coff.
13784 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13788 # This must be Linux ELF.
13789 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13793 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13794 soname_spec
='${libname}${release}${shared_ext}$major'
13795 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13796 shlibpath_var
=LD_LIBRARY_PATH
13797 shlibpath_overrides_runpath
=no
13799 # Some binutils ld are patched to set DT_RUNPATH
13800 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
13801 $as_echo_n "(cached) " >&6
13803 lt_cv_shlibpath_overrides_runpath
=no
13804 save_LDFLAGS
=$LDFLAGS
13805 save_libdir
=$libdir
13806 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13807 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13809 /* end confdefs.h. */
13819 if ac_fn_cxx_try_link
"$LINENO"; then :
13820 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
13821 lt_cv_shlibpath_overrides_runpath
=yes
13824 rm -f core conftest.err conftest.
$ac_objext \
13825 conftest
$ac_exeext conftest.
$ac_ext
13826 LDFLAGS
=$save_LDFLAGS
13827 libdir
=$save_libdir
13831 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
13833 # This implies no fast_install, which is unacceptable.
13834 # Some rework will be needed to allow for fast_install
13835 # before this can be enabled.
13836 hardcode_into_libs
=yes
13838 # Append ld.so.conf contents to the search path
13839 if test -f /etc
/ld.so.conf
; then
13840 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' ' '`
13841 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13844 # We used to test for /lib/ld.so.1 and disable shared libraries on
13845 # powerpc, because MkLinux only supported shared libraries with the
13846 # GNU dynamic linker. Since this was broken with cross compilers,
13847 # most powerpc-linux boxes support dynamic linking these days and
13848 # people can always --disable-shared, the test was removed, and we
13849 # assume the GNU/Linux dynamic linker is in use.
13850 dynamic_linker
='GNU/Linux ld.so'
13857 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13858 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13859 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13860 dynamic_linker
='NetBSD (a.out) ld.so'
13862 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13863 soname_spec
='${libname}${release}${shared_ext}$major'
13864 dynamic_linker
='NetBSD ld.elf_so'
13866 shlibpath_var
=LD_LIBRARY_PATH
13867 shlibpath_overrides_runpath
=yes
13868 hardcode_into_libs
=yes
13873 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13874 shlibpath_var
=LD_LIBRARY_PATH
13875 shlibpath_overrides_runpath
=yes
13882 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13883 soname_spec
='${libname}${release}${shared_ext}$major'
13884 shlibpath_var
=LD_LIBRARY_PATH
13885 shlibpath_overrides_runpath
=no
13886 hardcode_into_libs
=yes
13887 dynamic_linker
='ldqnx.so'
13892 sys_lib_dlsearch_path_spec
="/usr/lib"
13894 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13896 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13897 *) need_version
=no
;;
13899 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13900 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13901 shlibpath_var
=LD_LIBRARY_PATH
13902 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13904 openbsd2.
[89] | openbsd2.
[89].
*)
13905 shlibpath_overrides_runpath
=no
13908 shlibpath_overrides_runpath
=yes
13912 shlibpath_overrides_runpath
=yes
13917 libname_spec
='$name'
13920 library_names_spec
='$libname${shared_ext} $libname.a'
13921 dynamic_linker
='OS/2 ld.exe'
13922 shlibpath_var
=LIBPATH
13925 osf3
* | osf4
* | osf5
*)
13929 soname_spec
='${libname}${release}${shared_ext}$major'
13930 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13931 shlibpath_var
=LD_LIBRARY_PATH
13932 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13933 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13944 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13945 soname_spec
='${libname}${release}${shared_ext}$major'
13946 shlibpath_var
=LD_LIBRARY_PATH
13947 shlibpath_overrides_runpath
=yes
13948 hardcode_into_libs
=yes
13949 # ldd complains unless libraries are executable
13950 postinstall_cmds
='chmod +x $lib'
13955 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13956 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13957 shlibpath_var
=LD_LIBRARY_PATH
13958 shlibpath_overrides_runpath
=yes
13959 if test "$with_gnu_ld" = yes; then
13967 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13968 soname_spec
='${libname}${release}${shared_ext}$major'
13969 shlibpath_var
=LD_LIBRARY_PATH
13970 case $host_vendor in
13972 shlibpath_overrides_runpath
=no
13974 runpath_var
=LD_RUN_PATH
13982 shlibpath_overrides_runpath
=no
13983 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13989 if test -d /usr
/nec
;then
13991 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13992 soname_spec
='$libname${shared_ext}.$major'
13993 shlibpath_var
=LD_LIBRARY_PATH
13997 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13998 version_type
=freebsd-elf
14001 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14002 soname_spec
='${libname}${release}${shared_ext}$major'
14003 shlibpath_var
=LD_LIBRARY_PATH
14004 shlibpath_overrides_runpath
=yes
14005 hardcode_into_libs
=yes
14006 if test "$with_gnu_ld" = yes; then
14007 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14009 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14012 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14016 sys_lib_dlsearch_path_spec
='/usr/lib'
14020 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14024 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14025 shlibpath_var
=LD_LIBRARY_PATH
14026 shlibpath_overrides_runpath
=no
14027 hardcode_into_libs
=yes
14032 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14033 soname_spec
='${libname}${release}${shared_ext}$major'
14034 shlibpath_var
=LD_LIBRARY_PATH
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14042 $as_echo "$dynamic_linker" >&6; }
14043 test "$dynamic_linker" = no
&& can_build_shared
=no
14045 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14046 if test "$GCC" = yes; then
14047 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14050 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14051 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14053 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14054 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14095 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14096 hardcode_action_CXX
=
14097 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14098 test -n "$runpath_var_CXX" ||
14099 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14101 # We can hardcode non-existent directories.
14102 if test "$hardcode_direct_CXX" != no
&&
14103 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14104 # have to relink, otherwise we might link with an installed library
14105 # when we should be linking with a yet-to-be-installed one
14106 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14107 test "$hardcode_minus_L_CXX" != no
; then
14108 # Linking always hardcodes the temporary library directory.
14109 hardcode_action_CXX
=relink
14111 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14112 hardcode_action_CXX
=immediate
14115 # We cannot hardcode anything, or else we can only hardcode existing
14117 hardcode_action_CXX
=unsupported
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14120 $as_echo "$hardcode_action_CXX" >&6; }
14122 if test "$hardcode_action_CXX" = relink ||
14123 test "$inherit_rpath_CXX" = yes; then
14124 # Fast installation is not supported
14125 enable_fast_install
=no
14126 elif test "$shlibpath_overrides_runpath" = yes ||
14127 test "$enable_shared" = no
; then
14128 # Fast installation is not necessary
14129 enable_fast_install
=needless
14138 fi # test -n "$compiler"
14144 with_gnu_ld
=$lt_save_with_gnu_ld
14145 lt_cv_path_LDCXX
=$lt_cv_path_LD
14146 lt_cv_path_LD
=$lt_save_path_LD
14147 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14148 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14149 fi # test "$_lt_caught_CXX_error" != yes
14152 ac_cpp
='$CPP $CPPFLAGS'
14153 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14154 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14155 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14169 ac_config_commands
="$ac_config_commands libtool"
14174 # Only expand once:
14177 # Forbid libtool to hardcode RPATH, because we want to be able to specify
14178 # library search directory using LD_LIBRARY_PATH
14179 hardcode_into_libs
=no
14183 # Determine what GCC version number to use in filesystem paths.
14185 get_gcc_base_ver
="cat"
14187 # Check whether --with-gcc-major-version-only was given.
14188 if test "${with_gcc_major_version_only+set}" = set; then :
14189 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
14190 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
14199 cat >confcache
<<\_ACEOF
14200 # This file is a shell script that caches the results of configure
14201 # tests run on this system so they can be shared between configure
14202 # scripts and configure runs, see configure's option --config-cache.
14203 # It is not useful on other systems. If it contains results you don't
14204 # want to keep, you may remove or edit it.
14206 # config.status only pays attention to the cache file if you give it
14207 # the --recheck option to rerun configure.
14209 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14210 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14211 # following values.
14215 # The following way of writing the cache mishandles newlines in values,
14216 # but we know of no workaround that is simple, portable, and efficient.
14217 # So, we kill variables containing newlines.
14218 # Ultrix sh set writes to stderr and can't be redirected directly,
14219 # and sets the high bit in the cache file unless we assign to the vars.
14221 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14222 eval ac_val
=\$
$ac_var
14226 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14227 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14230 _ | IFS | as_nl
) ;; #(
14231 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14232 *) { eval $ac_var=; unset $ac_var;} ;;
14238 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14239 *${as_nl}ac_space
=\
*)
14240 # `set' does not quote correctly, so add quotes: double-quote
14241 # substitution turns \\\\ into \\, and sed turns \\ into \.
14244 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14247 # `set' quotes correctly as required by POSIX, so do not add quotes.
14248 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14257 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14259 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14261 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14262 if test -w "$cache_file"; then
14263 test "x$cache_file" != "x/dev/null" &&
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14265 $as_echo "$as_me: updating cache $cache_file" >&6;}
14266 cat confcache
>$cache_file
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14269 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14274 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14275 # Let make expand exec_prefix.
14276 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14278 # Transform confdefs.h into DEFS.
14279 # Protect against shell expansion while executing Makefile rules.
14280 # Protect against Makefile macro expansion.
14282 # If the first sed substitution is executed (which looks for macros that
14283 # take arguments), then branch to the quote section. Otherwise,
14284 # look for a macro that doesn't take arguments.
14294 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14296 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14300 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
14313 DEFS
=`sed -n "$ac_script" confdefs.h`
14318 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14319 # 1. Remove the extension, and $U if already installed.
14320 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14321 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14322 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14323 # will be set to the directory where LIBOBJS objects are built.
14324 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14325 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14327 LIBOBJS
=$ac_libobjs
14329 LTLIBOBJS
=$ac_ltlibobjs
14332 if test -n "$EXEEXT"; then
14334 am__EXEEXT_FALSE
='#'
14336 am__EXEEXT_TRUE
='#'
14340 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14341 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
14342 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14344 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14345 as_fn_error
"conditional \"AMDEP\" was never defined.
14346 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14348 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14349 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
14350 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14352 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
14353 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
14354 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14356 if test -z "${PLUGIN_HOST_TRUE}" && test -z "${PLUGIN_HOST_FALSE}"; then
14357 as_fn_error
"conditional \"PLUGIN_HOST\" was never defined.
14358 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14361 : ${CONFIG_STATUS=./config.status}
14363 ac_clean_files_save
=$ac_clean_files
14364 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14366 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14368 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14370 # Generated by $as_me.
14371 # Run this file to recreate the current configuration.
14372 # Compiler output produced by configure, useful for debugging
14373 # configure, is in config.log if it exists.
14376 ac_cs_recheck=false
14379 SHELL=\${CONFIG_SHELL-$SHELL}
14382 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14383 ## -------------------- ##
14384 ## M4sh Initialization. ##
14385 ## -------------------- ##
14387 # Be more Bourne compatible
14388 DUALCASE
=1; export DUALCASE
# for MKS sh
14389 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14392 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14393 # is contrary to our usage. Disable this feature.
14394 alias -g '${1+"$@"}'='"$@"'
14395 setopt NO_GLOB_SUBST
14397 case `(set -o) 2>/dev/null` in #(
14409 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14410 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14411 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14412 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14413 # Prefer a ksh shell builtin over an external printf program on Solaris,
14414 # but without wasting forks for bash or zsh.
14415 if test -z "$BASH_VERSION$ZSH_VERSION" \
14416 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14417 as_echo='print
-r --'
14418 as_echo_n='print
-rn --'
14419 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14420 as_echo='printf %s
\n'
14421 as_echo_n='printf %s
'
14423 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14424 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14425 as_echo_n='/usr
/ucb
/echo -n'
14427 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14428 as_echo_n_body='eval
14432 expr "X$arg" : "X\\(.*\\)$as_nl";
14433 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14435 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14437 export as_echo_n_body
14438 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14440 export as_echo_body
14441 as_echo='sh
-c $as_echo_body as_echo
'
14444 # The user is always right.
14445 if test "${PATH_SEPARATOR+set}" != set; then
14447 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14448 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14455 # We need space, tab and new line, in precisely that order. Quoting is
14456 # there to prevent editors from complaining about space-tab.
14457 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14458 # splitting by setting IFS to empty value.)
14461 # Find who we are. Look in the path if we contain no directory separator.
14463 *[\\/]* ) as_myself=$0 ;;
14464 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14465 for as_dir in $PATH
14468 test -z "$as_dir" && as_dir=.
14469 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14475 # We did not find ourselves, most probably we were run as `sh COMMAND'
14476 # in which case we are not to be found in the path.
14477 if test "x$as_myself" = x
; then
14480 if test ! -f "$as_myself"; then
14481 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14485 # Unset variables that we do not need and which cause bugs (e.g. in
14486 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14487 # suppresses any "Segmentation fault" message there. '((' could
14488 # trigger a bug in pdksh 5.2.14.
14489 for as_var
in BASH_ENV ENV MAIL MAILPATH
14490 do eval test x\
${$as_var+set} = xset \
14491 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14504 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14507 # as_fn_error ERROR [LINENO LOG_FD]
14508 # ---------------------------------
14509 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14510 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14511 # script with status $?, using 1 if that was 0.
14514 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14516 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14517 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14519 $as_echo "$as_me: error: $1" >&2
14520 as_fn_exit
$as_status
14524 # as_fn_set_status STATUS
14525 # -----------------------
14526 # Set $? to STATUS, without forking.
14527 as_fn_set_status
()
14530 } # as_fn_set_status
14532 # as_fn_exit STATUS
14533 # -----------------
14534 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14538 as_fn_set_status
$1
14544 # Portably unset VAR.
14547 { eval $1=; unset $1;}
14549 as_unset
=as_fn_unset
14550 # as_fn_append VAR VALUE
14551 # ----------------------
14552 # Append the text in VALUE to the end of the definition contained in VAR. Take
14553 # advantage of any shell optimizations that allow amortized linear growth over
14554 # repeated appends, instead of the typical quadratic growth present in naive
14556 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14557 eval 'as_fn_append ()
14568 # as_fn_arith ARG...
14569 # ------------------
14570 # Perform arithmetic evaluation on the ARGs, and store the result in the
14571 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14572 # must be portable across $(()) and expr.
14573 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14574 eval 'as_fn_arith ()
14581 as_val
=`expr "$@" || test $? -eq 1`
14586 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14587 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14593 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14594 as_basename
=basename
14599 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14605 as_me
=`$as_basename -- "$0" ||
14606 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14607 X"$0" : 'X\(//\)$' \| \
14608 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14610 sed '/^.*\/\([^/][^/]*\)\/*$/{
14624 # Avoid depending upon Character Ranges.
14625 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14626 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14627 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14628 as_cr_digits
='0123456789'
14629 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14631 ECHO_C
= ECHO_N
= ECHO_T
=
14632 case `echo -n x` in #(((((
14634 case `echo 'xy\c'` in
14635 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14637 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14644 rm -f conf$$ conf$$.exe conf$$.
file
14645 if test -d conf$$.dir
; then
14646 rm -f conf$$.dir
/conf$$.
file
14649 mkdir conf$$.dir
2>/dev
/null
14651 if (echo >conf$$.
file) 2>/dev
/null
; then
14652 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14654 # ... but there are two gotchas:
14655 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14656 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14657 # In both cases, we have to default to `cp -p'.
14658 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14660 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14668 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14669 rmdir conf$$.dir
2>/dev
/null
14674 # Create "$as_dir" as a directory, including parents if necessary.
14679 -*) as_dir
=.
/$as_dir;;
14681 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14685 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14686 *) as_qdir
=$as_dir;;
14688 as_dirs
="'$as_qdir' $as_dirs"
14689 as_dir
=`$as_dirname -- "$as_dir" ||
14690 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14691 X"$as_dir" : 'X\(//\)[^/]' \| \
14692 X"$as_dir" : 'X\(//\)$' \| \
14693 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14694 $as_echo X"$as_dir" |
14695 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14699 /^X\(\/\/\)[^/].*/{
14712 test -d "$as_dir" && break
14714 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14715 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14719 if mkdir
-p .
2>/dev
/null
; then
14720 as_mkdir_p
='mkdir -p "$as_dir"'
14722 test -d .
/-p && rmdir .
/-p
14726 if test -x / >/dev
/null
2>&1; then
14727 as_test_x
='test -x'
14729 if ls -dL / >/dev
/null
2>&1; then
14736 if test -d "$1"; then
14742 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14743 ???[sx]*):;;*)false;;esac;fi
14747 as_executable_p
=$as_test_x
14749 # Sed expression to map a string onto a valid CPP name.
14750 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14752 # Sed expression to map a string onto a valid variable name.
14753 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14757 ## ----------------------------------- ##
14758 ## Main body of $CONFIG_STATUS script. ##
14759 ## ----------------------------------- ##
14761 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14763 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14764 # Save the log message, to keep $0 and so on meaningful, and to
14765 # report actual input values of CONFIG_FILES etc. instead of their
14766 # values after options handling.
14768 This file was extended by Intel MIC Offload Plugin $as_me 1.0, which was
14769 generated by GNU Autoconf 2.64. Invocation command line was
14771 CONFIG_FILES = $CONFIG_FILES
14772 CONFIG_HEADERS = $CONFIG_HEADERS
14773 CONFIG_LINKS = $CONFIG_LINKS
14774 CONFIG_COMMANDS = $CONFIG_COMMANDS
14777 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14782 case $ac_config_files in *"
14783 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14788 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14789 # Files that config.status was made for.
14790 config_files="$ac_config_files"
14791 config_commands="$ac_config_commands"
14795 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14797 \`$as_me' instantiates files and other configuration actions
14798 from templates according to the current configuration. Unless the files
14799 and actions are specified as TAGs, all are instantiated by default.
14801 Usage: $0 [OPTION]... [TAG]...
14803 -h, --help print this help, then exit
14804 -V, --version print version number and configuration settings, then exit
14805 -q, --quiet, --silent
14806 do not print progress messages
14807 -d, --debug don't remove temporary files
14808 --recheck update $as_me by reconfiguring in the same conditions
14809 --file=FILE[:TEMPLATE]
14810 instantiate the configuration file FILE
14812 Configuration files:
14815 Configuration commands:
14818 Report bugs to the package provider."
14821 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14823 Intel MIC Offload Plugin config.status 1.0
14824 configured by $0, generated by GNU Autoconf 2.64,
14825 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14827 Copyright (C) 2009 Free Software Foundation, Inc.
14828 This config.status script is free software; the Free Software Foundation
14829 gives unlimited permission to copy, distribute and modify it."
14836 test -n "\$AWK" || AWK=awk
14839 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14840 # The default lists apply if the user does not specify any file.
14846 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14847 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14858 # Handling of the options.
14859 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14861 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14862 $as_echo "$ac_cs_version"; exit ;;
14863 --debug |
--debu |
--deb |
--de |
--d |
-d )
14865 --file |
--fil |
--fi |
--f )
14868 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14870 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14871 ac_need_defaults
=false
;;
14872 --he |
--h |
--help |
--hel |
-h )
14873 $as_echo "$ac_cs_usage"; exit ;;
14874 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14875 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14878 # This is an error.
14879 -*) as_fn_error
"unrecognized option: \`$1'
14880 Try \`$0 --help' for more information." ;;
14882 *) as_fn_append ac_config_targets
" $1"
14883 ac_need_defaults
=false
;;
14889 ac_configure_extra_args
=
14891 if $ac_cs_silent; then
14893 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14897 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14898 if \$ac_cs_recheck; then
14899 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14901 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14902 CONFIG_SHELL='$SHELL'
14903 export CONFIG_SHELL
14908 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14912 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14913 ## Running $as_me. ##
14919 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14923 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14928 with_multisubdir="$with_multisubdir"
14929 with_multisrctop="$with_multisrctop"
14930 with_target_subdir="$with_target_subdir"
14931 ac_configure_args="${multilib_arg} ${ac_configure_args}"
14932 multi_basedir="$multi_basedir"
14933 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
14936 GFORTRAN="$GFORTRAN"
14939 # The HP-UX ksh and POSIX shell print the target directory to stdout
14940 # if CDPATH is set.
14941 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14943 sed_quote_subst='$sed_quote_subst'
14944 double_quote_subst='$double_quote_subst'
14945 delay_variable_subst='$delay_variable_subst'
14946 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14947 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14948 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14949 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14950 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14951 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14952 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14953 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14954 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14955 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14956 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14957 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14958 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14959 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14960 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14961 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14962 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14963 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14964 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14965 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14966 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14967 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14968 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14969 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14970 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14971 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14972 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14973 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14974 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14975 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14976 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14977 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14978 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14979 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14980 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14981 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14982 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14983 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14984 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14985 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14986 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14987 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14988 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14989 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14990 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14991 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14992 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14993 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14994 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"`'
14995 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14996 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14997 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14998 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14999 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15000 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15001 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15002 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15003 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15004 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15005 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15006 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15007 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15008 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15009 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15010 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15011 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15012 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15013 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15014 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15015 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15016 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15017 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15018 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15019 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15020 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15021 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15022 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15023 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15024 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15025 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15026 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15027 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15028 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15029 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15030 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15031 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15032 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15033 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15034 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15035 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15036 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15037 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15038 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15039 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15040 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15041 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15042 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15043 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15044 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15045 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15046 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15047 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15048 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15049 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15050 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15051 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15052 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15053 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15054 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15055 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15056 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15057 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15058 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15059 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15060 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15061 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15062 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15063 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15064 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15065 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15066 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
15067 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
15068 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
15069 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
15070 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
15071 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
15072 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
15073 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
15074 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15075 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15076 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
15077 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
15078 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
15079 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
15080 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
15081 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
15082 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
15083 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
15084 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
15085 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15086 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15087 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
15088 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15089 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15090 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15091 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15092 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15093 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15094 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
15095 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15096 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15097 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15098 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
15099 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
15100 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
15101 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
15102 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
15103 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
15104 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
15105 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
15106 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
15107 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
15108 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
15109 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15110 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15111 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15112 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15113 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
15114 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
15115 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
15116 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15117 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15118 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
15119 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
15120 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
15123 LTCFLAGS='$LTCFLAGS'
15124 compiler='$compiler_DEFAULT'
15126 # A function that is used when there is no print builtin or printf.
15127 func_fallback_echo ()
15129 eval 'cat <<_LTECHO_EOF
15134 # Quote evaled strings.
15148 deplibs_check_method \
15157 lt_cv_sys_global_symbol_pipe \
15158 lt_cv_sys_global_symbol_to_cdecl \
15159 lt_cv_sys_global_symbol_to_c_name_address \
15160 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15161 lt_prog_compiler_no_builtin_flag \
15162 lt_prog_compiler_wl \
15163 lt_prog_compiler_pic \
15164 lt_prog_compiler_static \
15165 lt_cv_prog_compiler_c_o \
15173 export_dynamic_flag_spec \
15174 whole_archive_flag_spec \
15175 compiler_needs_object \
15177 allow_undefined_flag \
15178 no_undefined_flag \
15179 hardcode_libdir_flag_spec \
15180 hardcode_libdir_flag_spec_ld \
15181 hardcode_libdir_separator \
15186 variables_saved_for_relink \
15188 library_names_spec \
15190 install_override_mode \
15194 compiler_lib_search_dirs \
15199 compiler_lib_search_path \
15203 lt_prog_compiler_no_builtin_flag_CXX \
15204 lt_prog_compiler_wl_CXX \
15205 lt_prog_compiler_pic_CXX \
15206 lt_prog_compiler_static_CXX \
15207 lt_cv_prog_compiler_c_o_CXX \
15208 export_dynamic_flag_spec_CXX \
15209 whole_archive_flag_spec_CXX \
15210 compiler_needs_object_CXX \
15212 allow_undefined_flag_CXX \
15213 no_undefined_flag_CXX \
15214 hardcode_libdir_flag_spec_CXX \
15215 hardcode_libdir_flag_spec_ld_CXX \
15216 hardcode_libdir_separator_CXX \
15217 fix_srcfile_path_CXX \
15218 exclude_expsyms_CXX \
15219 include_expsyms_CXX \
15220 file_list_spec_CXX \
15221 compiler_lib_search_dirs_CXX \
15222 predep_objects_CXX \
15223 postdep_objects_CXX \
15226 compiler_lib_search_path_CXX; do
15227 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15228 *[\\\\\\\`\\"\\\$]*)
15229 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15232 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15237 # Double-quote double-evaled strings.
15238 for var in reload_cmds \
15239 old_postinstall_cmds \
15240 old_postuninstall_cmds \
15242 extract_expsyms_cmds \
15243 old_archive_from_new_cmds \
15244 old_archive_from_expsyms_cmds \
15246 archive_expsym_cmds \
15248 module_expsym_cmds \
15249 export_symbols_cmds \
15252 postuninstall_cmds \
15254 sys_lib_search_path_spec \
15255 sys_lib_dlsearch_path_spec \
15257 old_archive_cmds_CXX \
15258 old_archive_from_new_cmds_CXX \
15259 old_archive_from_expsyms_cmds_CXX \
15261 archive_expsym_cmds_CXX \
15263 module_expsym_cmds_CXX \
15264 export_symbols_cmds_CXX \
15265 prelink_cmds_CXX; do
15266 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15267 *[\\\\\\\`\\"\\\$]*)
15268 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15271 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15276 ac_aux_dir='$ac_aux_dir'
15277 xsi_shell='$xsi_shell'
15278 lt_shell_append='$lt_shell_append'
15280 # See if we are running on zsh, and set the options which allow our
15281 # commands through without removal of \ escapes INIT.
15282 if test -n "\${ZSH_VERSION+set}" ; then
15283 setopt NO_GLOB_SUBST
15289 TIMESTAMP='$TIMESTAMP'
15300 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15302 # Handling of arguments.
15303 for ac_config_target
in $ac_config_targets
15305 case $ac_config_target in
15306 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15307 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15308 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
15309 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15311 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15316 # If the user did not use the arguments to specify the items to instantiate,
15317 # then the envvar interface is used. Set only those that are not.
15318 # We use the long form for the default assignment because of an extremely
15319 # bizarre bug on SunOS 4.1.3.
15320 if $ac_need_defaults; then
15321 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15322 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15325 # Have a temporary directory for convenience. Make it in the build tree
15326 # simply because there is no reason against having it here, and in addition,
15327 # creating and moving files from /tmp can sometimes cause problems.
15328 # Hook for its removal unless debugging.
15329 # Note that there is a small window in which the directory will not be cleaned:
15330 # after its creation but before its name has been assigned to `$tmp'.
15334 trap 'exit_status=$?
15335 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15337 trap 'as_fn_exit 1' 1 2 13 15
15339 # Create a (secure) tmp directory for tmp files.
15342 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15343 test -n "$tmp" && test -d "$tmp"
15346 tmp
=.
/conf$$
-$RANDOM
15347 (umask 077 && mkdir
"$tmp")
15348 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15350 # Set up the scripts for CONFIG_FILES section.
15351 # No need to generate them if there are no CONFIG_FILES.
15352 # This happens for instance with `./config.status config.h'.
15353 if test -n "$CONFIG_FILES"; then
15356 ac_cr
=`echo X | tr X '\015'`
15357 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15358 # But we know of no other shell where ac_cr would be empty at this
15359 # point, so we can use a bashism as a fallback.
15360 if test "x$ac_cr" = x
; then
15361 eval ac_cr
=\$
\'\\r
\'
15363 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15364 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15367 ac_cs_awk_cr
=$ac_cr
15370 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15375 echo "cat >conf$$subs.awk <<_ACEOF" &&
15376 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15378 } >conf$$subs.sh ||
15379 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15380 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15382 for ac_last_try in false false false false false :; do
15383 . ./conf$$subs.sh ||
15384 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15386 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15387 if test $ac_delim_n = $ac_delim_num; then
15389 elif $ac_last_try; then
15390 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15392 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15395 rm -f conf$$subs.sh
15397 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15398 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15402 s/^/S["/; s
/!.
*/"]=/
15412 s/\(.\{148\}\).*/\1/
15414 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15419 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15426 s/\(.\{148\}\).*/\1/
15428 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15432 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15437 ' <conf$$subs.awk | sed '
15442 ' >>$CONFIG_STATUS || ac_write_fail=1
15443 rm -f conf$$subs.awk
15444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15446 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15447 for (key in S) S_is_set[key] = 1
15453 nfields = split(line, field, "@
")
15455 len = length(field[1])
15456 for (i = 2; i < nfields; i++) {
15458 keylen = length(key)
15459 if (S_is_set[key]) {
15461 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15462 len += length(value) + length(field[++i])
15473 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15474 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15475 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15478 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15479 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15482 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15483 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15484 # trailing colons and then remove the whole line if VPATH becomes empty
15485 # (actually we leave an empty line to preserve line numbers).
15486 if test "x
$srcdir" = x.; then
15487 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15488 s/:*\$(srcdir):*/:/
15489 s/:*\${srcdir}:*/:/
15491 s/^\([^=]*=[ ]*\):*/\1/
15497 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15498 fi # test -n "$CONFIG_FILES"
15501 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
15506 :[FHLC]) ac_mode=$ac_tag; continue;;
15508 case $ac_mode$ac_tag in
15510 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15511 :[FH]-) ac_tag=-:-;;
15512 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15529 -) ac_f="$tmp/stdin";;
15530 *) # Look for the file first in the build tree, then in the source tree
15531 # (if the path is not absolute). The absolute path cannot be DOS-style,
15532 # because $ac_f cannot contain `:'.
15536 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15538 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15540 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15541 as_fn_append ac_file_inputs " '$ac_f'"
15544 # Let's still pretend it is `configure' which instantiates (i.e., don't
15545 # use $as_me), people would be surprised to read:
15546 # /* config.h. Generated by config.status. */
15547 configure_input='Generated from '`
15548 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15550 if test x"$ac_file" != x-; then
15551 configure_input="$ac_file.
$configure_input"
15552 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15553 $as_echo "$as_me: creating
$ac_file" >&6;}
15555 # Neutralize special characters interpreted by sed in replacement strings.
15556 case $configure_input in #(
15557 *\&* | *\|* | *\\* )
15558 ac_sed_conf_input=`$as_echo "$configure_input" |
15559 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15560 *) ac_sed_conf_input=$configure_input;;
15564 *:-:* | *:-) cat >"$tmp/stdin
" \
15565 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15570 ac_dir=`$as_dirname -- "$ac_file" ||
15571 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15572 X"$ac_file" : 'X\(//\)[^/]' \| \
15573 X"$ac_file" : 'X\(//\)$' \| \
15574 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15575 $as_echo X"$ac_file" |
15576 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15580 /^X\(\/\/\)[^/].*/{
15593 as_dir="$ac_dir"; as_fn_mkdir_p
15597 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15599 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15600 # A "..
" for each directory in $ac_dir_suffix.
15601 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15602 case $ac_top_builddir_sub in
15603 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15604 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15607 ac_abs_top_builddir=$ac_pwd
15608 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15609 # for backward compatibility:
15610 ac_top_builddir=$ac_top_build_prefix
15613 .) # We are building in place.
15615 ac_top_srcdir=$ac_top_builddir_sub
15616 ac_abs_top_srcdir=$ac_pwd ;;
15617 [\\/]* | ?:[\\/]* ) # Absolute name.
15618 ac_srcdir=$srcdir$ac_dir_suffix;
15619 ac_top_srcdir=$srcdir
15620 ac_abs_top_srcdir=$srcdir ;;
15621 *) # Relative name.
15622 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15623 ac_top_srcdir=$ac_top_build_prefix$srcdir
15624 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15626 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15636 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15637 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15639 ac_MKDIR_P=$MKDIR_P
15641 [\\/$]* | ?:[\\/]* ) ;;
15642 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15647 # If the template does not know about datarootdir, expand it.
15648 # FIXME: This hack should be removed a few years after 2.60.
15649 ac_datarootdir_hack=; ac_datarootdir_seen=
15660 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15661 *datarootdir*) ac_datarootdir_seen=yes;;
15662 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15664 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15666 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15667 ac_datarootdir_hack='
15668 s&@datadir@&$datadir&g
15669 s&@docdir@&$docdir&g
15670 s&@infodir@&$infodir&g
15671 s&@localedir@&$localedir&g
15672 s&@mandir@&$mandir&g
15673 s&\\\${datarootdir}&$datarootdir&g' ;;
15677 # Neutralize VPATH when `$srcdir' = `.'.
15678 # Shell code in configure.ac might set extrasub.
15679 # FIXME: do we really want to maintain this feature?
15680 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15681 ac_sed_extra="$ac_vpsub
15684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15686 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15687 s|@configure_input@|
$ac_sed_conf_input|
;t t
15688 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15689 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15690 s
&@srcdir@
&$ac_srcdir&;t t
15691 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15692 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15693 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15694 s
&@builddir@
&$ac_builddir&;t t
15695 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15696 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15697 s
&@INSTALL@
&$ac_INSTALL&;t t
15698 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15699 $ac_datarootdir_hack
15701 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
15702 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15704 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15705 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15706 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15708 which seems to be undefined. Please make sure it is defined." >&5
15709 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15710 which seems to be undefined. Please make sure it is defined." >&2;}
15714 -) cat "$tmp/out" && rm -f "$tmp/out";;
15715 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15717 || as_fn_error "could not create $ac_file" "$LINENO" 5
15721 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15722 $as_echo "$as_me: executing $ac_file commands" >&6;}
15727 case $ac_file$ac_mode in
15728 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15729 # Autoconf 2.62 quotes --file arguments for eval, but not when files
15730 # are listed without --file. Let's play safe and only
enable the
eval
15731 # if we detect the quoting.
15732 case $CONFIG_FILES in
15733 *\'*) eval set x
"$CONFIG_FILES" ;;
15734 *) set x
$CONFIG_FILES ;;
15739 # Strip MF so we end up with the name of the file.
15740 mf
=`echo "$mf" | sed -e 's/:.*$//'`
15741 # Check whether this is an Automake generated Makefile or not.
15742 # We used to match only the files named `Makefile.in', but
15743 # some people rename them; so instead we look at the file content.
15744 # Grep'ing the first line is not enough: some people post-process
15745 # each Makefile.in and add a new line on top of each file to say so.
15746 # Grep'ing the whole file is not good either: AIX grep has a line
15747 # limit of 2048, but all sed's we know have understand at least 4000.
15748 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
15749 dirpart
=`$as_dirname -- "$mf" ||
15750 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15751 X"$mf" : 'X\(//\)[^/]' \| \
15752 X"$mf" : 'X\(//\)$' \| \
15753 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15755 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15759 /^X\(\/\/\)[^/].*/{
15775 # Extract the definition of DEPDIR, am__include, and am__quote
15776 # from the Makefile without running `make'.
15777 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
15778 test -z "$DEPDIR" && continue
15779 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
15780 test -z "am__include" && continue
15781 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
15782 # When using ansi2knr, U may be empty or an underscore; expand it
15783 U
=`sed -n 's/^U = //p' < "$mf"`
15784 # Find all dependency output files, they are included files with
15785 # $(DEPDIR) in their names. We invoke sed twice because it is the
15786 # simplest approach to changing $(DEPDIR) to its actual value in the
15788 for file in `sed -n "
15789 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15790 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15791 # Make sure the directory exists.
15792 test -f "$dirpart/$file" && continue
15793 fdir
=`$as_dirname -- "$file" ||
15794 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15795 X"$file" : 'X\(//\)[^/]' \| \
15796 X"$file" : 'X\(//\)$' \| \
15797 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15798 $as_echo X"$file" |
15799 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15803 /^X\(\/\/\)[^/].*/{
15816 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
15817 # echo "creating $dirpart/$file"
15818 echo '# dummy' > "$dirpart/$file"
15824 # Only add multilib support code if we just rebuilt the top-level
15826 case " $CONFIG_FILES " in
15828 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
15833 # See if we are running on zsh, and set the options which allow our
15834 # commands through without removal of \ escapes.
15835 if test -n "${ZSH_VERSION+set}" ; then
15836 setopt NO_GLOB_SUBST
15839 cfgfile
="${ofile}T"
15840 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15843 cat <<_LT_EOF >> "$cfgfile"
15846 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15847 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15848 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15849 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15851 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15852 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
15853 # Written by Gordon Matzigkeit, 1996
15855 # This file is part of GNU Libtool.
15857 # GNU Libtool is free software; you can redistribute it and/or
15858 # modify it under the terms of the GNU General Public License as
15859 # published by the Free Software Foundation; either version 2 of
15860 # the License, or (at your option) any later version.
15862 # As a special exception to the GNU General Public License,
15863 # if you distribute this file as part of a program or library that
15864 # is built using GNU Libtool, you may include this file under the
15865 # same distribution terms that you use for the rest of that program.
15867 # GNU Libtool is distributed in the hope that it will be useful,
15868 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15869 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15870 # GNU General Public License for more details.
15872 # You should have received a copy of the GNU General Public License
15873 # along with GNU Libtool; see the file COPYING. If not, a copy
15874 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15875 # obtained by writing to the Free Software Foundation, Inc.,
15876 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15879 # The names of the tagged configurations supported by this script.
15880 available_tags="CXX "
15882 # ### BEGIN LIBTOOL CONFIG
15884 # Which release of libtool.m4 was used?
15885 macro_version=$macro_version
15886 macro_revision=$macro_revision
15888 # Whether or not to build shared libraries.
15889 build_libtool_libs=$enable_shared
15891 # Whether or not to build static libraries.
15892 build_old_libs=$enable_static
15894 # What type of objects to build.
15897 # Whether or not to optimize for fast installation.
15898 fast_install=$enable_fast_install
15900 # Shell to use when invoking shell scripts.
15903 # An echo program that protects backslashes.
15907 host_alias=$host_alias
15911 # The build system.
15912 build_alias=$build_alias
15916 # A sed program that does not truncate output.
15919 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15920 Xsed="\$SED -e 1s/^X//"
15922 # A grep program that handles long lines.
15928 # A literal string matcher.
15931 # A BSD- or MS-compatible name lister.
15934 # Whether we need soft or hard links.
15937 # What is the maximum length of a command?
15938 max_cmd_len=$max_cmd_len
15940 # Object file suffix (normally "o").
15943 # Executable file suffix (normally "").
15946 # whether the shell understands "unset".
15949 # turn spaces into newlines.
15952 # turn newlines into spaces.
15955 # An object symbol dumper.
15956 OBJDUMP=$lt_OBJDUMP
15958 # Method to check whether dependent libraries are shared objects.
15959 deplibs_check_method=$lt_deplibs_check_method
15961 # Command to use when deplibs_check_method == "file_magic".
15962 file_magic_cmd=$lt_file_magic_cmd
15966 AR_FLAGS=$lt_AR_FLAGS
15968 # A symbol stripping program.
15971 # Commands used to install an old-style archive.
15973 old_postinstall_cmds=$lt_old_postinstall_cmds
15974 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15976 # Whether to use a lock for old archive extraction.
15977 lock_old_archive_extraction=$lock_old_archive_extraction
15982 # LTCC compiler flags.
15983 LTCFLAGS=$lt_CFLAGS
15985 # Take the output of nm and produce a listing of raw symbols and C names.
15986 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15988 # Transform the output of nm in a proper C declaration.
15989 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15991 # Transform the output of nm in a C name address pair.
15992 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15994 # Transform the output of nm in a C name address pair when lib prefix is needed.
15995 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15997 # The name of the directory that contains temporary libtool files.
16000 # Used to examine libraries when file_magic_cmd begins with "file".
16001 MAGIC_CMD=$MAGIC_CMD
16003 # Must we lock files when doing compilation?
16004 need_locks=$lt_need_locks
16006 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16007 DSYMUTIL=$lt_DSYMUTIL
16009 # Tool to change global to local symbols on Mac OS X.
16012 # Tool to manipulate fat objects and archives on Mac OS X.
16015 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16018 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16019 OTOOL64=$lt_OTOOL64
16021 # Old archive suffix (normally "a").
16024 # Shared library suffix (normally ".so").
16025 shrext_cmds=$lt_shrext_cmds
16027 # The commands to extract the exported symbol list from a shared archive.
16028 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16030 # Variables whose values should be saved in libtool wrapper scripts and
16031 # restored at link time.
16032 variables_saved_for_relink=$lt_variables_saved_for_relink
16034 # Do we need the "lib" prefix for modules?
16035 need_lib_prefix=$need_lib_prefix
16037 # Do we need a version for libraries?
16038 need_version=$need_version
16040 # Library versioning type.
16041 version_type=$version_type
16043 # Shared library runtime path variable.
16044 runpath_var=$runpath_var
16046 # Shared library path variable.
16047 shlibpath_var=$shlibpath_var
16049 # Is shlibpath searched before the hard-coded library search path?
16050 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16052 # Format of library name prefix.
16053 libname_spec=$lt_libname_spec
16055 # List of archive names. First name is the real one, the rest are links.
16056 # The last name is the one that the linker finds with -lNAME
16057 library_names_spec=$lt_library_names_spec
16059 # The coded name of the library, if different from the real name.
16060 soname_spec=$lt_soname_spec
16062 # Permission mode override for installation of shared libraries.
16063 install_override_mode=$lt_install_override_mode
16065 # Command to use after installation of a shared archive.
16066 postinstall_cmds=$lt_postinstall_cmds
16068 # Command to use after uninstallation of a shared archive.
16069 postuninstall_cmds=$lt_postuninstall_cmds
16071 # Commands used to finish a libtool library installation in a directory.
16072 finish_cmds=$lt_finish_cmds
16074 # As "finish_cmds", except a single script fragment to be evaled but
16076 finish_eval=$lt_finish_eval
16078 # Whether we should hardcode library paths into libraries.
16079 hardcode_into_libs=$hardcode_into_libs
16081 # Compile-time system search path for libraries.
16082 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16084 # Run-time system search path for libraries.
16085 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16087 # Whether dlopen is supported.
16088 dlopen_support=$enable_dlopen
16090 # Whether dlopen of programs is supported.
16091 dlopen_self=$enable_dlopen_self
16093 # Whether dlopen of statically linked programs is supported.
16094 dlopen_self_static=$enable_dlopen_self_static
16096 # Commands to strip libraries.
16097 old_striplib=$lt_old_striplib
16098 striplib=$lt_striplib
16101 # The linker used to build libraries.
16104 # How to create reloadable object files.
16105 reload_flag=$lt_reload_flag
16106 reload_cmds=$lt_reload_cmds
16108 # Commands used to build an old-style archive.
16109 old_archive_cmds=$lt_old_archive_cmds
16111 # A language specific compiler.
16114 # Is the compiler the GNU compiler?
16117 # Compiler flag to turn off builtin functions.
16118 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16120 # How to pass a linker flag through the compiler.
16121 wl=$lt_lt_prog_compiler_wl
16123 # Additional compiler flags for building library objects.
16124 pic_flag=$lt_lt_prog_compiler_pic
16126 # Compiler flag to prevent dynamic linking.
16127 link_static_flag=$lt_lt_prog_compiler_static
16129 # Does compiler simultaneously support -c and -o options?
16130 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16132 # Whether or not to add -lc for building shared libraries.
16133 build_libtool_need_lc=$archive_cmds_need_lc
16135 # Whether or not to disallow shared libs when runtime libs are static.
16136 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16138 # Compiler flag to allow reflexive dlopens.
16139 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16141 # Compiler flag to generate shared objects directly from archives.
16142 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16144 # Whether the compiler copes with passing no objects directly.
16145 compiler_needs_object=$lt_compiler_needs_object
16147 # Create an old-style archive from a shared archive.
16148 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16150 # Create a temporary old-style archive to link instead of a shared archive.
16151 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16153 # Commands used to build a shared archive.
16154 archive_cmds=$lt_archive_cmds
16155 archive_expsym_cmds=$lt_archive_expsym_cmds
16157 # Commands used to build a loadable module if different from building
16158 # a shared archive.
16159 module_cmds=$lt_module_cmds
16160 module_expsym_cmds=$lt_module_expsym_cmds
16162 # Whether we are building with GNU ld or not.
16163 with_gnu_ld=$lt_with_gnu_ld
16165 # Flag that allows shared libraries with undefined symbols to be built.
16166 allow_undefined_flag=$lt_allow_undefined_flag
16168 # Flag that enforces no undefined symbols.
16169 no_undefined_flag=$lt_no_undefined_flag
16171 # Flag to hardcode \$libdir into a binary during linking.
16172 # This must work even if \$libdir does not exist
16173 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16175 # If ld is used when linking, flag to hardcode \$libdir into a binary
16176 # during linking. This must work even if \$libdir does not exist.
16177 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16179 # Whether we need a single "-rpath" flag with a separated argument.
16180 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16182 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16183 # DIR into the resulting binary.
16184 hardcode_direct=$hardcode_direct
16186 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16187 # DIR into the resulting binary and the resulting library dependency is
16188 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16189 # library is relocated.
16190 hardcode_direct_absolute=$hardcode_direct_absolute
16192 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16193 # into the resulting binary.
16194 hardcode_minus_L=$hardcode_minus_L
16196 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16197 # into the resulting binary.
16198 hardcode_shlibpath_var=$hardcode_shlibpath_var
16200 # Set to "yes" if building a shared library automatically hardcodes DIR
16201 # into the library and all subsequent libraries and executables linked
16203 hardcode_automatic=$hardcode_automatic
16205 # Set to yes if linker adds runtime paths of dependent libraries
16206 # to runtime path list.
16207 inherit_rpath=$inherit_rpath
16209 # Whether libtool must link a program against all its dependency libraries.
16210 link_all_deplibs=$link_all_deplibs
16212 # Fix the shell variable \$srcfile for the compiler.
16213 fix_srcfile_path=$lt_fix_srcfile_path
16215 # Set to "yes" if exported symbols are required.
16216 always_export_symbols=$always_export_symbols
16218 # The commands to list exported symbols.
16219 export_symbols_cmds=$lt_export_symbols_cmds
16221 # Symbols that should not be listed in the preloaded symbols.
16222 exclude_expsyms=$lt_exclude_expsyms
16224 # Symbols that must always be exported.
16225 include_expsyms=$lt_include_expsyms
16227 # Commands necessary for linking programs (against libraries) with templates.
16228 prelink_cmds=$lt_prelink_cmds
16230 # Specify filename containing input files.
16231 file_list_spec=$lt_file_list_spec
16233 # How to hardcode a shared library path into an executable.
16234 hardcode_action=$hardcode_action
16236 # The directories searched by this compiler when creating a shared library.
16237 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
16239 # Dependencies to place before and after the objects being linked to
16240 # create a shared library.
16241 predep_objects=$lt_predep_objects
16242 postdep_objects=$lt_postdep_objects
16243 predeps=$lt_predeps
16244 postdeps=$lt_postdeps
16246 # The library search path used internally by the compiler when linking
16247 # a shared library.
16248 compiler_lib_search_path=$lt_compiler_lib_search_path
16250 # ### END LIBTOOL CONFIG
16256 cat <<\_LT_EOF
>> "$cfgfile"
16257 # AIX sometimes has problems with the GCC collect2 program. For some
16258 # reason, if we set the COLLECT_NAMES environment variable, the problems
16259 # vanish in a puff of smoke.
16260 if test "X${COLLECT_NAMES+set}" != Xset
; then
16262 export COLLECT_NAMES
16269 ltmain
="$ac_aux_dir/ltmain.sh"
16272 # We use sed instead of cat because bash on DJGPP gets confused if
16273 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16274 # text mode, it properly converts lines to CR/LF. This bash problem
16275 # is reportedly fixed, but why not run on old versions too?
16276 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16277 ||
(rm -f "$cfgfile"; exit 1)
16281 cat << \_LT_EOF
>> "$cfgfile"
16283 # func_dirname file append nondir_replacement
16284 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16285 # otherwise set result to NONDIR_REPLACEMENT.
16289 */*) func_dirname_result
="${1%/*}${2}" ;;
16290 * ) func_dirname_result
="${3}" ;;
16294 # func_basename file
16297 func_basename_result
="${1##*/}"
16300 # func_dirname_and_basename file append nondir_replacement
16301 # perform func_basename and func_dirname in a single function
16303 # dirname: Compute the dirname of FILE. If nonempty,
16304 # add APPEND to the result, otherwise set result
16305 # to NONDIR_REPLACEMENT.
16306 # value returned in "$func_dirname_result"
16307 # basename: Compute filename of FILE.
16308 # value retuned in "$func_basename_result"
16309 # Implementation must be kept synchronized with func_dirname
16310 # and func_basename. For efficiency, we do not delegate to
16311 # those functions but instead duplicate the functionality here.
16312 func_dirname_and_basename
()
16315 */*) func_dirname_result
="${1%/*}${2}" ;;
16316 * ) func_dirname_result
="${3}" ;;
16318 func_basename_result
="${1##*/}"
16321 # func_stripname prefix suffix name
16322 # strip PREFIX and SUFFIX off of NAME.
16323 # PREFIX and SUFFIX must not contain globbing or regex special
16324 # characters, hashes, percent signs, but SUFFIX may contain a leading
16325 # dot (in which case that matches only a dot).
16328 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16329 # positional parameters, so assign one to ordinary parameter first.
16330 func_stripname_result
=${3}
16331 func_stripname_result
=${func_stripname_result#"${1}"}
16332 func_stripname_result
=${func_stripname_result%"${2}"}
16338 func_opt_split_opt
=${1%%=*}
16339 func_opt_split_arg
=${1#*=}
16346 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16347 *) func_lo2o_result
=${1} ;;
16351 # func_xform libobj-or-source
16354 func_xform_result
=${1%.*}.lo
16357 # func_arith arithmetic-term...
16360 func_arith_result
=$
(( $
* ))
16364 # STRING may not start with a hyphen.
16367 func_len_result
=${#1}
16372 *) # Bourne compatible functions.
16373 cat << \_LT_EOF
>> "$cfgfile"
16375 # func_dirname file append nondir_replacement
16376 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16377 # otherwise set result to NONDIR_REPLACEMENT.
16380 # Extract subdirectory from the argument.
16381 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
16382 if test "X$func_dirname_result" = "X${1}"; then
16383 func_dirname_result
="${3}"
16385 func_dirname_result
="$func_dirname_result${2}"
16389 # func_basename file
16392 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
16396 # func_stripname prefix suffix name
16397 # strip PREFIX and SUFFIX off of NAME.
16398 # PREFIX and SUFFIX must not contain globbing or regex special
16399 # characters, hashes, percent signs, but SUFFIX may contain a leading
16400 # dot (in which case that matches only a dot).
16401 # func_strip_suffix prefix name
16405 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16406 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16411 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16412 my_sed_long_arg
='1s/^-[^=]*=//'
16417 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16418 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16424 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
16427 # func_xform libobj-or-source
16430 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16433 # func_arith arithmetic-term...
16436 func_arith_result
=`expr "$@"`
16440 # STRING may not start with a hyphen.
16443 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16449 case $lt_shell_append in
16451 cat << \_LT_EOF
>> "$cfgfile"
16453 # func_append var value
16454 # Append VALUE to the end of shell variable VAR.
16462 cat << \_LT_EOF
>> "$cfgfile"
16464 # func_append var value
16465 # Append VALUE to the end of shell variable VAR.
16476 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16477 ||
(rm -f "$cfgfile"; exit 1)
16479 mv -f "$cfgfile" "$ofile" ||
16480 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16484 cat <<_LT_EOF >> "$ofile"
16486 # ### BEGIN LIBTOOL TAG CONFIG: CXX
16488 # The linker used to build libraries.
16491 # How to create reloadable object files.
16492 reload_flag=$lt_reload_flag_CXX
16493 reload_cmds=$lt_reload_cmds_CXX
16495 # Commands used to build an old-style archive.
16496 old_archive_cmds=$lt_old_archive_cmds_CXX
16498 # A language specific compiler.
16499 CC=$lt_compiler_CXX
16501 # Is the compiler the GNU compiler?
16504 # Compiler flag to turn off builtin functions.
16505 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
16507 # How to pass a linker flag through the compiler.
16508 wl=$lt_lt_prog_compiler_wl_CXX
16510 # Additional compiler flags for building library objects.
16511 pic_flag=$lt_lt_prog_compiler_pic_CXX
16513 # Compiler flag to prevent dynamic linking.
16514 link_static_flag=$lt_lt_prog_compiler_static_CXX
16516 # Does compiler simultaneously support -c and -o options?
16517 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
16519 # Whether or not to add -lc for building shared libraries.
16520 build_libtool_need_lc=$archive_cmds_need_lc_CXX
16522 # Whether or not to disallow shared libs when runtime libs are static.
16523 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
16525 # Compiler flag to allow reflexive dlopens.
16526 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
16528 # Compiler flag to generate shared objects directly from archives.
16529 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
16531 # Whether the compiler copes with passing no objects directly.
16532 compiler_needs_object=$lt_compiler_needs_object_CXX
16534 # Create an old-style archive from a shared archive.
16535 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
16537 # Create a temporary old-style archive to link instead of a shared archive.
16538 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
16540 # Commands used to build a shared archive.
16541 archive_cmds=$lt_archive_cmds_CXX
16542 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
16544 # Commands used to build a loadable module if different from building
16545 # a shared archive.
16546 module_cmds=$lt_module_cmds_CXX
16547 module_expsym_cmds=$lt_module_expsym_cmds_CXX
16549 # Whether we are building with GNU ld or not.
16550 with_gnu_ld=$lt_with_gnu_ld_CXX
16552 # Flag that allows shared libraries with undefined symbols to be built.
16553 allow_undefined_flag=$lt_allow_undefined_flag_CXX
16555 # Flag that enforces no undefined symbols.
16556 no_undefined_flag=$lt_no_undefined_flag_CXX
16558 # Flag to hardcode \$libdir into a binary during linking.
16559 # This must work even if \$libdir does not exist
16560 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
16562 # If ld is used when linking, flag to hardcode \$libdir into a binary
16563 # during linking. This must work even if \$libdir does not exist.
16564 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
16566 # Whether we need a single "-rpath" flag with a separated argument.
16567 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
16569 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16570 # DIR into the resulting binary.
16571 hardcode_direct=$hardcode_direct_CXX
16573 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16574 # DIR into the resulting binary and the resulting library dependency is
16575 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16576 # library is relocated.
16577 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
16579 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16580 # into the resulting binary.
16581 hardcode_minus_L=$hardcode_minus_L_CXX
16583 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16584 # into the resulting binary.
16585 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
16587 # Set to "yes" if building a shared library automatically hardcodes DIR
16588 # into the library and all subsequent libraries and executables linked
16590 hardcode_automatic=$hardcode_automatic_CXX
16592 # Set to yes if linker adds runtime paths of dependent libraries
16593 # to runtime path list.
16594 inherit_rpath=$inherit_rpath_CXX
16596 # Whether libtool must link a program against all its dependency libraries.
16597 link_all_deplibs=$link_all_deplibs_CXX
16599 # Fix the shell variable \$srcfile for the compiler.
16600 fix_srcfile_path=$lt_fix_srcfile_path_CXX
16602 # Set to "yes" if exported symbols are required.
16603 always_export_symbols=$always_export_symbols_CXX
16605 # The commands to list exported symbols.
16606 export_symbols_cmds=$lt_export_symbols_cmds_CXX
16608 # Symbols that should not be listed in the preloaded symbols.
16609 exclude_expsyms=$lt_exclude_expsyms_CXX
16611 # Symbols that must always be exported.
16612 include_expsyms=$lt_include_expsyms_CXX
16614 # Commands necessary for linking programs (against libraries) with templates.
16615 prelink_cmds=$lt_prelink_cmds_CXX
16617 # Specify filename containing input files.
16618 file_list_spec=$lt_file_list_spec_CXX
16620 # How to hardcode a shared library path into an executable.
16621 hardcode_action=$hardcode_action_CXX
16623 # The directories searched by this compiler when creating a shared library.
16624 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
16626 # Dependencies to place before and after the objects being linked to
16627 # create a shared library.
16628 predep_objects=$lt_predep_objects_CXX
16629 postdep_objects=$lt_postdep_objects_CXX
16630 predeps=$lt_predeps_CXX
16631 postdeps=$lt_postdeps_CXX
16633 # The library search path used internally by the compiler when linking
16634 # a shared library.
16635 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
16637 # ### END LIBTOOL TAG CONFIG: CXX
16648 ac_clean_files
=$ac_clean_files_save
16650 test $ac_write_fail = 0 ||
16651 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16654 # configure is writing to config.log, and then calls config.status.
16655 # config.status does its own redirection, appending to config.log.
16656 # Unfortunately, on DOS this fails, as config.log is still kept open
16657 # by configure, so config.status won't be able to write to it; its
16658 # output is simply discarded. So we exec the FD to /dev/null,
16659 # effectively closing config.log, so it can be properly (re)opened and
16660 # appended to by config.status. When coming back to configure, we
16661 # need to make the FD available again.
16662 if test "$no_create" != yes; then
16664 ac_config_status_args
=
16665 test "$silent" = yes &&
16666 ac_config_status_args
="$ac_config_status_args --quiet"
16668 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16670 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16671 # would make configure fail if this is the last instruction.
16672 $ac_cs_success || as_fn_exit $?
16674 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16676 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}