2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for Cilk Runtime Library 2.0.
5 # Report bugs to <cilk@intel.com>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var
in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\
${$as_var+set} = xset \
121 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
134 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x
; then
137 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required
="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1
176 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
177 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
178 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180 PATH=/empty FPATH=/empty; export PATH FPATH
181 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
182 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
183 if (eval "$as_required") 2>/dev
/null
; then :
188 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
193 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
196 test -z "$as_dir" && as_dir
=.
200 for as_base
in sh bash ksh sh5
; do
201 # Try only shells that exist, to save several forks.
202 as_shell
=$as_dir/$as_base
203 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
204 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
205 CONFIG_SHELL
=$as_shell as_have_required
=yes
206 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
214 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
215 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
216 CONFIG_SHELL
=$SHELL as_have_required
=yes
221 if test "x$CONFIG_SHELL" != x
; then :
222 # We cannot yet assume a decent shell, so we have to provide a
223 # neutralization value for shells without unset; and this also
224 # works around shells that cannot unset nonexistent variables.
227 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
229 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
232 if test x
$as_have_required = xno
; then :
233 $as_echo "$0: This script requires a shell more modern than all"
234 $as_echo "$0: the shells that I found on your system."
235 if test x
${ZSH_VERSION+set} = xset
; then
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
239 $as_echo "$0: Please tell bug-autoconf@gnu.org and cilk@intel.com
240 $0: about your system, including any error possibly output
241 $0: before this message. Then install a modern shell, or
242 $0: manually run the script under such a shell if you do
249 SHELL
=${CONFIG_SHELL-/bin/sh}
251 # Unset more variables known to interfere with behavior of common tools.
252 CLICOLOR_FORCE
= GREP_OPTIONS
=
253 unset CLICOLOR_FORCE GREP_OPTIONS
255 ## --------------------- ##
256 ## M4sh Shell Functions. ##
257 ## --------------------- ##
260 # Portably unset VAR.
263 { eval $1=; unset $1;}
267 # as_fn_set_status STATUS
268 # -----------------------
269 # Set $? to STATUS, without forking.
277 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
287 # Create "$as_dir" as a directory, including parents if necessary.
292 -*) as_dir
=.
/$as_dir;;
294 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
298 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
301 as_dirs
="'$as_qdir' $as_dirs"
302 as_dir
=`$as_dirname -- "$as_dir" ||
303 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
304 X"$as_dir" : 'X\(//\)[^/]' \| \
305 X"$as_dir" : 'X\(//\)$' \| \
306 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
307 $as_echo X"$as_dir" |
308 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
325 test -d "$as_dir" && break
327 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
328 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
332 # as_fn_append VAR VALUE
333 # ----------------------
334 # Append the text in VALUE to the end of the definition contained in VAR. Take
335 # advantage of any shell optimizations that allow amortized linear growth over
336 # repeated appends, instead of the typical quadratic growth present in naive
338 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
339 eval 'as_fn_append ()
352 # Perform arithmetic evaluation on the ARGs, and store the result in the
353 # global $as_val. Take advantage of shells that can avoid forks. The arguments
354 # must be portable across $(()) and expr.
355 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
363 as_val
=`expr "$@" || test $? -eq 1`
368 # as_fn_error ERROR [LINENO LOG_FD]
369 # ---------------------------------
370 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
371 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
372 # script with status $?, using 1 if that was 0.
375 as_status
=$?
; test $as_status -eq 0 && as_status
=1
377 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
378 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
380 $as_echo "$as_me: error: $1" >&2
381 as_fn_exit
$as_status
384 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
385 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
391 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
397 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
403 as_me
=`$as_basename -- "$0" ||
404 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
405 X"$0" : 'X\(//\)$' \| \
406 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
408 sed '/^.*\/\([^/][^/]*\)\/*$/{
422 # Avoid depending upon Character Ranges.
423 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
424 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
425 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
426 as_cr_digits
='0123456789'
427 as_cr_alnum
=$as_cr_Letters$as_cr_digits
430 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
431 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
432 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
433 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
434 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
446 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450 chmod +x
"$as_me.lineno" ||
451 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
453 # Don't try to exec as it changes $[0], causing all sort of problems
454 # (the dirname of $[0] is not the place where we might find the
455 # original and so on. Autoconf is especially sensitive to this).
457 # Exit status is that of the last command.
461 ECHO_C
= ECHO_N
= ECHO_T
=
462 case `echo -n x` in #(((((
464 case `echo 'xy\c'` in
465 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
467 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
474 rm -f conf$$ conf$$.exe conf$$.
file
475 if test -d conf$$.dir
; then
476 rm -f conf$$.dir
/conf$$.
file
479 mkdir conf$$.dir
2>/dev
/null
481 if (echo >conf$$.
file) 2>/dev
/null
; then
482 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
484 # ... but there are two gotchas:
485 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
486 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
487 # In both cases, we have to default to `cp -p'.
488 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
490 elif ln conf$$.
file conf$$
2>/dev
/null
; then
498 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
499 rmdir conf$$.dir
2>/dev
/null
501 if mkdir
-p .
2>/dev
/null
; then
502 as_mkdir_p
='mkdir -p "$as_dir"'
504 test -d .
/-p && rmdir .
/-p
508 if test -x / >/dev
/null
2>&1; then
511 if ls -dL / >/dev
/null
2>&1; then
518 if test -d "$1"; then
524 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
525 ???[sx]*):;;*)false;;esac;fi
529 as_executable_p
=$as_test_x
531 # Sed expression to map a string onto a valid CPP name.
532 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
534 # Sed expression to map a string onto a valid variable name.
535 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537 SHELL
=${CONFIG_SHELL-/bin/sh}
540 exec 7<&0 </dev
/null
6>&1
543 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
544 # so uname gets run too.
545 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
550 ac_default_prefix
=/usr
/local
552 ac_config_libobj_dir
=.
559 # Identity of this package.
560 PACKAGE_NAME
='Cilk Runtime Library'
561 PACKAGE_TARNAME
='cilk-runtime-library'
562 PACKAGE_VERSION
='2.0'
563 PACKAGE_STRING
='Cilk Runtime Library 2.0'
564 PACKAGE_BUGREPORT
='cilk@intel.com'
567 # Factoring default headers for most tests.
568 ac_includes_default
="\
570 #ifdef HAVE_SYS_TYPES_H
571 # include <sys/types.h>
573 #ifdef HAVE_SYS_STAT_H
574 # include <sys/stat.h>
580 # ifdef HAVE_STDLIB_H
585 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
590 #ifdef HAVE_STRINGS_H
591 # include <strings.h>
593 #ifdef HAVE_INTTYPES_H
594 # include <inttypes.h>
603 ac_subst_vars
='am__EXEEXT_FALSE
626 MAC_LINKER_SCRIPT_FALSE
627 MAC_LINKER_SCRIPT_TRUE
628 LINUX_LINKER_SCRIPT_FALSE
629 LINUX_LINKER_SCRIPT_TRUE
659 MAINTAINER_MODE_FALSE
669 INSTALL_STRIP_PROGRAM
723 program_transform_name
736 enable_option_checking
737 enable_maintainer_mode
738 enable_dependency_tracking
740 enable_version_specific_runtime_libs
748 ac_precious_vars
='build_alias
763 # Initialize some variables set by options.
765 ac_init_version
=false
766 ac_unrecognized_opts
=
768 # The variables have the same names as the options, with
769 # dashes changed to underlines.
777 program_transform_name
=s
,x
,x
,
785 # Installation directory options.
786 # These are left unexpanded so users can "make install exec_prefix=/foo"
787 # and all the variables that are supposed to be based on exec_prefix
788 # by default will actually change.
789 # Use braces instead of parens because sh, perl, etc. also accept them.
790 # (The list follows the same order as the GNU Coding Standards.)
791 bindir
='${exec_prefix}/bin'
792 sbindir
='${exec_prefix}/sbin'
793 libexecdir
='${exec_prefix}/libexec'
794 datarootdir
='${prefix}/share'
795 datadir
='${datarootdir}'
796 sysconfdir
='${prefix}/etc'
797 sharedstatedir
='${prefix}/com'
798 localstatedir
='${prefix}/var'
799 includedir
='${prefix}/include'
800 oldincludedir
='/usr/include'
801 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
802 infodir
='${datarootdir}/info'
807 libdir
='${exec_prefix}/lib'
808 localedir
='${datarootdir}/locale'
809 mandir
='${datarootdir}/man'
815 # If the previous option needs an argument, assign it.
816 if test -n "$ac_prev"; then
817 eval $ac_prev=\
$ac_option
823 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
827 # Accept the important Cygnus configure options, so we can diagnose typos.
829 case $ac_dashdash$ac_option in
833 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
835 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
838 -build |
--build |
--buil |
--bui |
--bu)
839 ac_prev
=build_alias
;;
840 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
841 build_alias
=$ac_optarg ;;
843 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
844 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
845 ac_prev
=cache_file
;;
846 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
847 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
848 cache_file
=$ac_optarg ;;
851 cache_file
=config.cache
;;
853 -datadir |
--datadir |
--datadi |
--datad)
855 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
856 datadir
=$ac_optarg ;;
858 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
859 |
--dataroo |
--dataro |
--datar)
860 ac_prev
=datarootdir
;;
861 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
862 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
863 datarootdir
=$ac_optarg ;;
865 -disable-* |
--disable-*)
866 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
867 # Reject names that are not valid shell variable names.
868 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
869 as_fn_error
"invalid feature name: $ac_useropt"
870 ac_useropt_orig
=$ac_useropt
871 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
872 case $ac_user_opts in
876 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
877 ac_unrecognized_sep
=', ';;
879 eval enable_
$ac_useropt=no
;;
881 -docdir |
--docdir |
--docdi |
--doc |
--do)
883 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
886 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
888 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
891 -enable-* |
--enable-*)
892 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
893 # Reject names that are not valid shell variable names.
894 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
895 as_fn_error
"invalid feature name: $ac_useropt"
896 ac_useropt_orig
=$ac_useropt
897 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
898 case $ac_user_opts in
902 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
903 ac_unrecognized_sep
=', ';;
905 eval enable_
$ac_useropt=\
$ac_optarg ;;
907 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
908 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
909 |
--exec |
--exe |
--ex)
910 ac_prev
=exec_prefix
;;
911 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
912 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
913 |
--exec=* |
--exe=* |
--ex=*)
914 exec_prefix
=$ac_optarg ;;
916 -gas |
--gas |
--ga |
--g)
917 # Obsolete; use --with-gas.
920 -help |
--help |
--hel |
--he |
-h)
922 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
923 ac_init_help
=recursive
;;
924 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
925 ac_init_help
=short
;;
927 -host |
--host |
--hos |
--ho)
928 ac_prev
=host_alias
;;
929 -host=* |
--host=* |
--hos=* |
--ho=*)
930 host_alias
=$ac_optarg ;;
932 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
934 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
936 htmldir
=$ac_optarg ;;
938 -includedir |
--includedir |
--includedi |
--included |
--include \
939 |
--includ |
--inclu |
--incl |
--inc)
940 ac_prev
=includedir
;;
941 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
942 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
943 includedir
=$ac_optarg ;;
945 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
947 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
948 infodir
=$ac_optarg ;;
950 -libdir |
--libdir |
--libdi |
--libd)
952 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
955 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
956 |
--libexe |
--libex |
--libe)
957 ac_prev
=libexecdir
;;
958 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
959 |
--libexe=* |
--libex=* |
--libe=*)
960 libexecdir
=$ac_optarg ;;
962 -localedir |
--localedir |
--localedi |
--localed |
--locale)
964 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
965 localedir
=$ac_optarg ;;
967 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
968 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
969 ac_prev
=localstatedir
;;
970 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
971 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
972 localstatedir
=$ac_optarg ;;
974 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
976 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
980 # Obsolete; use --without-fp.
983 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
984 |
--no-cr |
--no-c |
-n)
987 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
988 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
991 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
992 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
993 |
--oldin |
--oldi |
--old |
--ol |
--o)
994 ac_prev
=oldincludedir
;;
995 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
996 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
997 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
998 oldincludedir
=$ac_optarg ;;
1000 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1002 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1003 prefix
=$ac_optarg ;;
1005 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1006 |
--program-pre |
--program-pr |
--program-p)
1007 ac_prev
=program_prefix
;;
1008 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1009 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1010 program_prefix
=$ac_optarg ;;
1012 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1013 |
--program-suf |
--program-su |
--program-s)
1014 ac_prev
=program_suffix
;;
1015 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1016 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1017 program_suffix
=$ac_optarg ;;
1019 -program-transform-name |
--program-transform-name \
1020 |
--program-transform-nam |
--program-transform-na \
1021 |
--program-transform-n |
--program-transform- \
1022 |
--program-transform |
--program-transfor \
1023 |
--program-transfo |
--program-transf \
1024 |
--program-trans |
--program-tran \
1025 |
--progr-tra |
--program-tr |
--program-t)
1026 ac_prev
=program_transform_name
;;
1027 -program-transform-name=* |
--program-transform-name=* \
1028 |
--program-transform-nam=* |
--program-transform-na=* \
1029 |
--program-transform-n=* |
--program-transform-=* \
1030 |
--program-transform=* |
--program-transfor=* \
1031 |
--program-transfo=* |
--program-transf=* \
1032 |
--program-trans=* |
--program-tran=* \
1033 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1034 program_transform_name
=$ac_optarg ;;
1036 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1038 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1039 pdfdir
=$ac_optarg ;;
1041 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1043 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1046 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1047 |
-silent |
--silent |
--silen |
--sile |
--sil)
1050 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1052 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1054 sbindir
=$ac_optarg ;;
1056 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1057 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1058 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1060 ac_prev
=sharedstatedir
;;
1061 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1062 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1063 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1065 sharedstatedir
=$ac_optarg ;;
1067 -site |
--site |
--sit)
1069 -site=* |
--site=* |
--sit=*)
1072 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1074 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1075 srcdir
=$ac_optarg ;;
1077 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1078 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1079 ac_prev
=sysconfdir
;;
1080 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1081 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1082 sysconfdir
=$ac_optarg ;;
1084 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1085 ac_prev
=target_alias
;;
1086 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1087 target_alias
=$ac_optarg ;;
1089 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1092 -version |
--version |
--versio |
--versi |
--vers |
-V)
1093 ac_init_version
=: ;;
1096 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1097 # Reject names that are not valid shell variable names.
1098 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1099 as_fn_error
"invalid package name: $ac_useropt"
1100 ac_useropt_orig
=$ac_useropt
1101 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1102 case $ac_user_opts in
1106 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1107 ac_unrecognized_sep
=', ';;
1109 eval with_
$ac_useropt=\
$ac_optarg ;;
1111 -without-* |
--without-*)
1112 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1113 # Reject names that are not valid shell variable names.
1114 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1115 as_fn_error
"invalid package name: $ac_useropt"
1116 ac_useropt_orig
=$ac_useropt
1117 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1118 case $ac_user_opts in
1122 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1123 ac_unrecognized_sep
=', ';;
1125 eval with_
$ac_useropt=no
;;
1128 # Obsolete; use --with-x.
1131 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1132 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1133 ac_prev
=x_includes
;;
1134 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1135 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1136 x_includes
=$ac_optarg ;;
1138 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1139 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1140 ac_prev
=x_libraries
;;
1141 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1142 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1143 x_libraries
=$ac_optarg ;;
1145 -*) as_fn_error
"unrecognized option: \`$ac_option'
1146 Try \`$0 --help' for more information."
1150 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1151 # Reject names that are not valid shell variable names.
1152 case $ac_envvar in #(
1153 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1154 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1156 eval $ac_envvar=\
$ac_optarg
1157 export $ac_envvar ;;
1160 # FIXME: should be removed in autoconf 3.0.
1161 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1162 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1163 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1164 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1170 if test -n "$ac_prev"; then
1171 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1172 as_fn_error
"missing argument to $ac_option"
1175 if test -n "$ac_unrecognized_opts"; then
1176 case $enable_option_checking in
1178 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1179 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1183 # Check all directory arguments for consistency.
1184 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1185 datadir sysconfdir sharedstatedir localstatedir includedir \
1186 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1187 libdir localedir mandir
1189 eval ac_val
=\$
$ac_var
1190 # Remove trailing slashes.
1193 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1194 eval $ac_var=\
$ac_val;;
1196 # Be sure to have absolute directory names.
1198 [\\/$
]* | ?
:[\\/]* ) continue;;
1199 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1201 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1204 # There might be people who depend on the old broken behavior: `$host'
1205 # used to hold the argument of --host etc.
1206 # FIXME: To remove some day.
1209 target
=$target_alias
1211 # FIXME: To remove some day.
1212 if test "x$host_alias" != x
; then
1213 if test "x$build_alias" = x
; then
1214 cross_compiling
=maybe
1215 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1216 If a cross compiler is detected then cross compile mode will be used." >&2
1217 elif test "x$build_alias" != "x$host_alias"; then
1223 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1225 test "$silent" = yes && exec 6>/dev
/null
1228 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1229 ac_ls_di
=`ls -di .` &&
1230 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1231 as_fn_error
"working directory cannot be determined"
1232 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1233 as_fn_error
"pwd does not report name of working directory"
1236 # Find the source files, if location was not specified.
1237 if test -z "$srcdir"; then
1238 ac_srcdir_defaulted
=yes
1239 # Try the directory containing this script, then the parent directory.
1240 ac_confdir
=`$as_dirname -- "$as_myself" ||
1241 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1242 X"$as_myself" : 'X\(//\)[^/]' \| \
1243 X"$as_myself" : 'X\(//\)$' \| \
1244 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1245 $as_echo X"$as_myself" |
1246 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1264 if test ! -r "$srcdir/$ac_unique_file"; then
1268 ac_srcdir_defaulted
=no
1270 if test ! -r "$srcdir/$ac_unique_file"; then
1271 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1272 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1274 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1276 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1278 # When building in place, set srcdir=.
1279 if test "$ac_abs_confdir" = "$ac_pwd"; then
1282 # Remove unnecessary trailing slashes from srcdir.
1283 # Double slashes in file names in object file debugging info
1284 # mess up M-x gdb in Emacs.
1286 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1288 for ac_var
in $ac_precious_vars; do
1289 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1290 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1291 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1292 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1296 # Report the --help message.
1298 if test "$ac_init_help" = "long"; then
1299 # Omit some internal or obsolete options to make the list less imposing.
1300 # This message is too long to be a string in the A/UX 3.1 sh.
1302 \`configure' configures Cilk Runtime Library 2.0 to adapt to many kinds of systems.
1304 Usage: $0 [OPTION]... [VAR=VALUE]...
1306 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1307 VAR=VALUE. See below for descriptions of some of the useful variables.
1309 Defaults for the options are specified in brackets.
1312 -h, --help display this help and exit
1313 --help=short display options specific to this package
1314 --help=recursive display the short help of all the included packages
1315 -V, --version display version information and exit
1316 -q, --quiet, --silent do not print \`checking...' messages
1317 --cache-file=FILE cache test results in FILE [disabled]
1318 -C, --config-cache alias for \`--cache-file=config.cache'
1319 -n, --no-create do not create output files
1320 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1322 Installation directories:
1323 --prefix=PREFIX install architecture-independent files in PREFIX
1324 [$ac_default_prefix]
1325 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1328 By default, \`make install' will install all the files in
1329 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1330 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1331 for instance \`--prefix=\$HOME'.
1333 For better control, use the options below.
1335 Fine tuning of the installation directories:
1336 --bindir=DIR user executables [EPREFIX/bin]
1337 --sbindir=DIR system admin executables [EPREFIX/sbin]
1338 --libexecdir=DIR program executables [EPREFIX/libexec]
1339 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1340 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1341 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1342 --libdir=DIR object code libraries [EPREFIX/lib]
1343 --includedir=DIR C header files [PREFIX/include]
1344 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1345 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1346 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1347 --infodir=DIR info documentation [DATAROOTDIR/info]
1348 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1349 --mandir=DIR man documentation [DATAROOTDIR/man]
1350 --docdir=DIR documentation root
1351 [DATAROOTDIR/doc/cilk-runtime-library]
1352 --htmldir=DIR html documentation [DOCDIR]
1353 --dvidir=DIR dvi documentation [DOCDIR]
1354 --pdfdir=DIR pdf documentation [DOCDIR]
1355 --psdir=DIR ps documentation [DOCDIR]
1361 --program-prefix=PREFIX prepend PREFIX to installed program names
1362 --program-suffix=SUFFIX append SUFFIX to installed program names
1363 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1366 --build=BUILD configure
for building on BUILD
[guessed
]
1367 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1368 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1372 if test -n "$ac_init_help"; then
1373 case $ac_init_help in
1374 short | recursive
) echo "Configuration of Cilk Runtime Library 2.0:";;
1379 --disable-option-checking ignore unrecognized
--enable/--with options
1380 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1381 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1382 --enable-maintainer-mode enable make rules and dependencies not useful
1383 (and sometimes confusing
) to the casual installer
1384 --disable-dependency-tracking speeds up one-time build
1385 --enable-dependency-tracking do not reject slow dependency extractors
1386 --enable-multilib build many library versions
(default
)
1387 --enable-version-specific-runtime-libs
1388 Specify that runtime libraries should be installed
1389 in a compi ler-specific directory
1390 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1391 --enable-static[=PKGS
] build static libraries
[default
=yes]
1392 --enable-fast-install[=PKGS
]
1393 optimize
for fast installation
[default
=yes]
1394 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1397 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1398 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1399 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1401 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1403 Some influential environment variables
:
1404 CXX C
++ compiler
command
1405 CXXFLAGS 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 CC C compiler
command
1412 CFLAGS 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 <cilk@intel.com>.
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 Cilk Runtime Library configure 2.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_cxx_try_compile LINENO
1497 # ----------------------------
1498 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1499 ac_fn_cxx_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_cxx_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_cxx_try_compile
1534 # ac_fn_c_try_compile LINENO
1535 # --------------------------
1536 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1537 ac_fn_c_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_c_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_c_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_try_cpp LINENO
1619 # ----------------------
1620 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1623 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1624 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1626 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1627 *) ac_try_echo=$ac_try;;
1629 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1630 $as_echo "$ac_try_echo"; } >&5
1631 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1633 if test -s conftest.err; then
1634 grep -v '^ *+' conftest.err >conftest.er1
1635 cat conftest.er1 >&5
1636 mv -f conftest.er1 conftest.err
1638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1639 test $ac_status = 0; } >/dev/null && {
1640 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1641 test ! -s conftest.err
1645 $as_echo "$as_me: failed program was:" >&5
1646 sed 's/^/| /' conftest.$ac_ext >&5
1650 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1655 # ac_fn_c_check_func LINENO FUNC VAR
1656 # ----------------------------------
1657 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1658 ac_fn_c_check_func ()
1660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1662 $as_echo_n "checking for $2... " >&6; }
1663 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1664 $as_echo_n "(cached) " >&6
1666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1667 /* end confdefs.h. */
1668 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1670 #define $2 innocuous_$2
1672 /* System header to define __stub macros and hopefully few prototypes,
1673 which can conflict with char $2 (); below.
1674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1675 <limits.h> exists even on freestanding compilers. */
1678 # include <limits.h>
1680 # include <assert.h>
1685 /* Override any GCC internal prototype to avoid an error.
1686 Use char because int might match the return type of a GCC
1687 builtin and then its argument prototype would still apply. */
1692 /* The GNU C library defines this for functions which it implements
1693 to always fail with ENOSYS. Some functions are actually named
1694 something starting with __ and the normal name is an alias. */
1695 #if defined __stub_$2 || defined __stub___$2
1707 if ac_fn_c_try_link "$LINENO"; then :
1712 rm -f core conftest.err conftest.$ac_objext \
1713 conftest$ac_exeext conftest.$ac_ext
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1717 $as_echo "$ac_res" >&6; }
1718 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1720 } # ac_fn_c_check_func
1722 # ac_fn_c_try_run LINENO
1723 # ----------------------
1724 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1725 # that executables *can* be run.
1728 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1729 if { { ac_try="$ac_link"
1731 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1732 *) ac_try_echo
=$ac_try;;
1734 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1735 $as_echo "$ac_try_echo"; } >&5
1736 (eval "$ac_link") 2>&5
1738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1739 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1740 { { case "(($ac_try" in
1741 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1742 *) ac_try_echo=$ac_try;;
1744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1745 $as_echo "$ac_try_echo"; } >&5
1746 (eval "$ac_try") 2>&5
1748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1749 test $ac_status = 0; }; }; then :
1752 $as_echo "$as_me: program exited with status $ac_status" >&5
1753 $as_echo "$as_me: failed program was:" >&5
1754 sed 's/^/| /' conftest.$ac_ext >&5
1756 ac_retval=$ac_status
1758 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1759 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1764 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1765 # -------------------------------------------------------
1766 # Tests whether HEADER exists and can be compiled using the include files in
1767 # INCLUDES, setting the cache variable VAR accordingly.
1768 ac_fn_c_check_header_compile ()
1770 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1772 $as_echo_n "checking for $2... " >&6; }
1773 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1774 $as_echo_n "(cached) " >&6
1776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1777 /* end confdefs.h. */
1781 if ac_fn_c_try_compile "$LINENO"; then :
1786 rm -f core conftest.err conftest.$ac_objext 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_header_compile
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 Cilk Runtime Library $as_me 2.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 # Needed to define ${target}. Needs to be very early to avoid annoying
2234 # warning about calling AC_ARG_PROGRAM before AC_CANONICAL_SYSTEM
2236 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2237 for ac_t in install-sh install.sh shtool; do
2238 if test -f "$ac_dir/$ac_t"; then
2240 ac_install_sh="$ac_aux_dir/$ac_t -c"
2245 if test -z "$ac_aux_dir"; then
2246 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2249 # These three variables are undocumented and unsupported,
2250 # and are intended to be withdrawn in a future Autoconf release.
2251 # They can cause serious problems if a builder's source tree is in a directory
2252 # whose full name contains unusual characters.
2253 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2254 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2255 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2258 # Make sure we can run config.sub.
2259 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2260 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2263 $as_echo_n "checking build system type... " >&6; }
2264 if test "${ac_cv_build+set}" = set; then :
2265 $as_echo_n "(cached) " >&6
2267 ac_build_alias=$build_alias
2268 test "x$ac_build_alias" = x &&
2269 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2270 test "x$ac_build_alias" = x &&
2271 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2272 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2273 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2277 $as_echo "$ac_cv_build" >&6; }
2278 case $ac_cv_build in
2280 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2283 ac_save_IFS=$IFS; IFS='-'
2289 # Remember, the first character of IFS is used to create $*,
2290 # except with old shells:
2293 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2297 $as_echo_n "checking host system type... " >&6; }
2298 if test "${ac_cv_host+set}" = set; then :
2299 $as_echo_n "(cached) " >&6
2301 if test "x$host_alias" = x; then
2302 ac_cv_host=$ac_cv_build
2304 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2305 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2310 $as_echo "$ac_cv_host" >&6; }
2313 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2316 ac_save_IFS=$IFS; IFS='-'
2322 # Remember, the first character of IFS is used to create $*,
2323 # except with old shells:
2326 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2330 $as_echo_n "checking target system type... " >&6; }
2331 if test "${ac_cv_target+set}" = set; then :
2332 $as_echo_n "(cached) " >&6
2334 if test "x$target_alias" = x; then
2335 ac_cv_target=$ac_cv_host
2337 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2338 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2343 $as_echo "$ac_cv_target" >&6; }
2344 case $ac_cv_target in
2346 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2348 target=$ac_cv_target
2349 ac_save_IFS=$IFS; IFS='-'
2355 # Remember, the first character of IFS is used to create $*,
2356 # except with old shells:
2359 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2362 # The aliases save the names the user supplied, while $host etc.
2363 # will get canonicalized.
2364 test -n "$target_alias" &&
2365 test "$program_prefix$program_suffix$program_transform_name" = \
2367 program_prefix=${target_alias}-
2369 am__api_version='1.11'
2371 # Find a good install program. We prefer a C program (faster),
2372 # so one script is as good as another. But avoid the broken or
2373 # incompatible versions:
2374 # SysV /etc/install, /usr/sbin/install
2375 # SunOS /usr/etc/install
2376 # IRIX /sbin/install
2378 # AmigaOS /C/install, which installs bootblocks on floppy discs
2379 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2380 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2381 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2382 # OS/2's system install, which has a completely different semantic
2383 # ./install, which can be erroneously created by make from ./install.sh.
2384 # Reject install programs that cannot install multiple files.
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2386 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2387 if test -z "$INSTALL"; then
2388 if test "${ac_cv_path_install+set}" = set; then :
2389 $as_echo_n "(cached) " >&6
2391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2395 test -z "$as_dir" && as_dir=.
2396 # Account for people who put trailing slashes in PATH elements.
2397 case $as_dir/ in #((
2398 ./ | .// | /[cC]/* | \
2399 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2400 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2403 # OSF1 and SCO ODT 3.0 have their own names for install.
2404 # Don't use installbsd from OSF since it installs stuff as root
2406 for ac_prog in ginstall scoinst install; do
2407 for ac_exec_ext in '' $ac_executable_extensions; do
2408 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2409 if test $ac_prog = install &&
2410 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2411 # AIX install. It has an incompatible calling convention.
2413 elif test $ac_prog = install &&
2414 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2415 # program-specific install script used by HP pwplus--don't use.
2418 rm -rf conftest.one conftest.two conftest.dir
2419 echo one > conftest.one
2420 echo two > conftest.two
2422 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2423 test -s conftest.one && test -s conftest.two &&
2424 test -s conftest.dir/conftest.one &&
2425 test -s conftest.dir/conftest.two
2427 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2440 rm -rf conftest.one conftest.two conftest.dir
2443 if test "${ac_cv_path_install+set}" = set; then
2444 INSTALL=$ac_cv_path_install
2446 # As a last resort, use the slow shell script. Don't cache a
2447 # value for INSTALL within a source directory, because that will
2448 # break other packages using the cache if that directory is
2449 # removed, or if the value is a relative name.
2450 INSTALL=$ac_install_sh
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2454 $as_echo "$INSTALL" >&6; }
2456 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2457 # It thinks the first close brace ends the variable substitution.
2458 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2460 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2462 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2465 $as_echo_n "checking whether build environment is sane... " >&6; }
2468 echo timestamp > conftest.file
2469 # Reject unsafe characters in $srcdir or the absolute working directory
2470 # name. Accept space and tab only in the latter.
2474 *[\\\"\#\$\&\'\`$am_lf]*)
2475 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2478 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2479 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2482 # Do `set' in a subshell so we don't clobber the current shell's
2483 # arguments. Must try -L first in case configure is actually a
2484 # symlink; some systems play weird games with the mod time of symlinks
2485 # (eg FreeBSD returns the mod time of the symlink's containing
2488 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2489 if test "$*" = "X"; then
2491 set X
`ls -t "$srcdir/configure" conftest.file`
2494 if test "$*" != "X $srcdir/configure conftest.file" \
2495 && test "$*" != "X conftest.file $srcdir/configure"; then
2497 # If neither matched, then we have a broken ls. This can happen
2498 # if, for instance, CONFIG_SHELL is bash and it inherits a
2499 # broken ls alias from the environment. This has actually
2500 # happened. Such a system could not be considered "sane".
2501 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2502 alias in your environment" "$LINENO" 5
2505 test "$2" = conftest.
file
2511 as_fn_error
"newly created file is older than distributed files!
2512 Check your system clock" "$LINENO" 5
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2515 $as_echo "yes" >&6; }
2516 test "$program_prefix" != NONE
&&
2517 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2518 # Use a double $ so make ignores it.
2519 test "$program_suffix" != NONE
&&
2520 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2521 # Double any \ or $.
2522 # By default was `s,x,x', remove it if useless.
2523 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2524 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2526 # expand $ac_aux_dir to an absolute path
2527 am_aux_dir
=`cd $ac_aux_dir && pwd`
2529 if test x
"${MISSING+set}" != xset
; then
2532 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2534 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2537 # Use eval to expand $SHELL
2538 if eval "$MISSING --run true"; then
2539 am_missing_run
="$MISSING --run "
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2543 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2546 if test x
"${install_sh}" != xset
; then
2549 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2551 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2555 # Installed binaries are usually stripped using `strip' when the user
2556 # run `make install-strip'. However `strip' might not be the right
2557 # tool to use in cross-compilation environments, therefore Automake
2558 # will honor the `STRIP' environment variable to overrule this program.
2559 if test "$cross_compiling" != no
; then
2560 if test -n "$ac_tool_prefix"; then
2561 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2562 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2564 $as_echo_n "checking for $ac_word... " >&6; }
2565 if test "${ac_cv_prog_STRIP+set}" = set; then :
2566 $as_echo_n "(cached) " >&6
2568 if test -n "$STRIP"; then
2569 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2575 test -z "$as_dir" && as_dir
=.
2576 for ac_exec_ext
in '' $ac_executable_extensions; do
2577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2578 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2588 STRIP
=$ac_cv_prog_STRIP
2589 if test -n "$STRIP"; then
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2591 $as_echo "$STRIP" >&6; }
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2594 $as_echo "no" >&6; }
2599 if test -z "$ac_cv_prog_STRIP"; then
2601 # Extract the first word of "strip", so it can be a program name with args.
2602 set dummy strip
; ac_word
=$2
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2604 $as_echo_n "checking for $ac_word... " >&6; }
2605 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2606 $as_echo_n "(cached) " >&6
2608 if test -n "$ac_ct_STRIP"; then
2609 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2615 test -z "$as_dir" && as_dir
=.
2616 for ac_exec_ext
in '' $ac_executable_extensions; do
2617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2618 ac_cv_prog_ac_ct_STRIP
="strip"
2619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2628 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2629 if test -n "$ac_ct_STRIP"; then
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2631 $as_echo "$ac_ct_STRIP" >&6; }
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2634 $as_echo "no" >&6; }
2637 if test "x$ac_ct_STRIP" = x
; then
2640 case $cross_compiling:$ac_tool_warned in
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2643 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2644 ac_tool_warned
=yes ;;
2649 STRIP
="$ac_cv_prog_STRIP"
2653 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2656 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2657 if test -z "$MKDIR_P"; then
2658 if test "${ac_cv_path_mkdir+set}" = set; then :
2659 $as_echo_n "(cached) " >&6
2661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2662 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2665 test -z "$as_dir" && as_dir
=.
2666 for ac_prog
in mkdir gmkdir
; do
2667 for ac_exec_ext
in '' $ac_executable_extensions; do
2668 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2669 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2670 'mkdir (GNU coreutils) '* | \
2671 'mkdir (coreutils) '* | \
2672 'mkdir (fileutils) '4.1*)
2673 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2683 if test "${ac_cv_path_mkdir+set}" = set; then
2684 MKDIR_P
="$ac_cv_path_mkdir -p"
2686 # As a last resort, use the slow shell script. Don't cache a
2687 # value for MKDIR_P within a source directory, because that will
2688 # break other packages using the cache if that directory is
2689 # removed, or if the value is a relative name.
2690 test -d .
/--version && rmdir .
/--version
2691 MKDIR_P
="$ac_install_sh -d"
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2695 $as_echo "$MKDIR_P" >&6; }
2699 [\\/$
]* | ?
:[\\/]*) ;;
2700 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2703 for ac_prog
in gawk mawk nawk
awk
2705 # Extract the first word of "$ac_prog", so it can be a program name with args.
2706 set dummy
$ac_prog; ac_word
=$2
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2708 $as_echo_n "checking for $ac_word... " >&6; }
2709 if test "${ac_cv_prog_AWK+set}" = set; then :
2710 $as_echo_n "(cached) " >&6
2712 if test -n "$AWK"; then
2713 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2719 test -z "$as_dir" && as_dir
=.
2720 for ac_exec_ext
in '' $ac_executable_extensions; do
2721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2722 ac_cv_prog_AWK
="$ac_prog"
2723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2733 if test -n "$AWK"; then
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2735 $as_echo "$AWK" >&6; }
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2738 $as_echo "no" >&6; }
2742 test -n "$AWK" && break
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2746 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2748 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2749 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2750 $as_echo_n "(cached) " >&6
2752 cat >conftest.
make <<\_ACEOF
2755 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2757 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2758 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2760 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2762 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2766 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2768 $as_echo "yes" >&6; }
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2772 $as_echo "no" >&6; }
2773 SET_MAKE
="MAKE=${MAKE-make}"
2776 rm -rf .tst
2>/dev
/null
2777 mkdir .tst
2>/dev
/null
2778 if test -d .tst
; then
2783 rmdir .tst
2>/dev
/null
2785 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2786 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2787 # is not polluted with repeated "-I."
2788 am__isrc
=' -I$(srcdir)'
2789 # test to see if srcdir already configured
2790 if test -f $srcdir/config.status
; then
2791 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2795 # test whether we have cygpath
2796 if test -z "$CYGPATH_W"; then
2797 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2798 CYGPATH_W
='cygpath -w'
2805 # Define the identity of the package.
2806 PACKAGE
='cilk-runtime-library'
2810 cat >>confdefs.h
<<_ACEOF
2811 #define PACKAGE "$PACKAGE"
2815 cat >>confdefs.h
<<_ACEOF
2816 #define VERSION "$VERSION"
2819 # Some tools Automake needs.
2821 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2824 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2827 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2830 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2833 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2835 # We need awk for the "check" target. The system "awk" is bad on
2837 # Always define AMTAR for backward compatibility.
2839 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2841 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2850 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2851 # Check whether --enable-maintainer-mode was given.
2852 if test "${enable_maintainer_mode+set}" = set; then :
2853 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2855 USE_MAINTAINER_MODE
=no
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2859 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2860 if test $USE_MAINTAINER_MODE = yes; then
2861 MAINTAINER_MODE_TRUE
=
2862 MAINTAINER_MODE_FALSE
='#'
2864 MAINTAINER_MODE_TRUE
='#'
2865 MAINTAINER_MODE_FALSE
=
2868 MAINT
=$MAINTAINER_MODE_TRUE
2872 # Build a DLL on Windows
2873 # AC_LIBTOOL_WIN32_DLL
2875 ac_cpp
='$CXXCPP $CPPFLAGS'
2876 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2877 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2878 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2879 if test -z "$CXX"; then
2880 if test -n "$CCC"; then
2883 if test -n "$ac_tool_prefix"; then
2884 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2886 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2887 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2889 $as_echo_n "checking for $ac_word... " >&6; }
2890 if test "${ac_cv_prog_CXX+set}" = set; then :
2891 $as_echo_n "(cached) " >&6
2893 if test -n "$CXX"; then
2894 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2900 test -z "$as_dir" && as_dir
=.
2901 for ac_exec_ext
in '' $ac_executable_extensions; do
2902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2903 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2914 if test -n "$CXX"; then
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2916 $as_echo "$CXX" >&6; }
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2919 $as_echo "no" >&6; }
2923 test -n "$CXX" && break
2926 if test -z "$CXX"; then
2928 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2930 # Extract the first word of "$ac_prog", so it can be a program name with args.
2931 set dummy
$ac_prog; ac_word
=$2
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2933 $as_echo_n "checking for $ac_word... " >&6; }
2934 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
2935 $as_echo_n "(cached) " >&6
2937 if test -n "$ac_ct_CXX"; then
2938 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2944 test -z "$as_dir" && as_dir
=.
2945 for ac_exec_ext
in '' $ac_executable_extensions; do
2946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2947 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2957 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2958 if test -n "$ac_ct_CXX"; then
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2960 $as_echo "$ac_ct_CXX" >&6; }
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2963 $as_echo "no" >&6; }
2967 test -n "$ac_ct_CXX" && break
2970 if test "x$ac_ct_CXX" = x
; then
2973 case $cross_compiling:$ac_tool_warned in
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2976 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2977 ac_tool_warned
=yes ;;
2985 # Provide some information about the compiler.
2986 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2989 for ac_option
in --version -v -V -qversion; do
2990 { { ac_try
="$ac_compiler $ac_option >&5"
2992 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2993 *) ac_try_echo=$ac_try;;
2995 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2996 $as_echo "$ac_try_echo"; } >&5
2997 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2999 if test -s conftest.err; then
3001 ... rest of stderr output deleted ...
3002 10q' conftest.err >conftest.er1
3003 cat conftest.er1 >&5
3004 rm -f conftest.er1 conftest.err
3006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3007 test $ac_status = 0; }
3010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3011 /* end confdefs.h. */
3021 ac_clean_files_save=$ac_clean_files
3022 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3023 # Try to create an executable without -o first, disregard a.out.
3024 # It will help us diagnose broken compilers, and finding out an intuition
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3027 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3028 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3030 # The possible output files:
3031 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3034 for ac_file in $ac_files
3037 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3038 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3043 if { { ac_try="$ac_link_default"
3045 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3046 *) ac_try_echo
=$ac_try;;
3048 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3049 $as_echo "$ac_try_echo"; } >&5
3050 (eval "$ac_link_default") 2>&5
3052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3053 test $ac_status = 0; }; then :
3054 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3055 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3056 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3057 # so that the user can short-circuit this test for compilers unknown to
3059 for ac_file
in $ac_files ''
3061 test -f "$ac_file" ||
continue
3063 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3066 # We found the default executable, but exeext='' is most
3070 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3072 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3074 # We set ac_cv_exeext here because the later test for it is not
3075 # safe: cross compilers may not add the suffix if given an `-o'
3076 # argument, so we may need to know it at that point already.
3077 # Even if this section looks crufty: it has the advantage of
3084 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3090 $as_echo "$ac_file" >&6; }
3091 if test -z "$ac_file"; then :
3092 $as_echo "$as_me: failed program was:" >&5
3093 sed 's/^/| /' conftest.
$ac_ext >&5
3095 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3096 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3097 { as_fn_set_status
77
3098 as_fn_error
"C++ compiler cannot create executables
3099 See \`config.log' for more details." "$LINENO" 5; }; }
3101 ac_exeext
=$ac_cv_exeext
3103 # Check that the compiler produces executables we can run. If not, either
3104 # the compiler is broken, or we cross compile.
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3106 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3107 # If not cross compiling, check that we can run a simple program.
3108 if test "$cross_compiling" != yes; then
3109 if { ac_try
='./$ac_file'
3110 { { case "(($ac_try" in
3111 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3112 *) ac_try_echo=$ac_try;;
3114 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3115 $as_echo "$ac_try_echo"; } >&5
3116 (eval "$ac_try") 2>&5
3118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3119 test $ac_status = 0; }; }; then
3122 if test "$cross_compiling" = maybe; then
3125 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3126 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3127 as_fn_error "cannot run C
++ compiled programs.
3128 If you meant to cross compile
, use \
`--host'.
3129 See \`config.log
' for more details." "$LINENO" 5; }
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3134 $as_echo "yes" >&6; }
3136 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3137 ac_clean_files=$ac_clean_files_save
3138 # Check that the compiler produces executables we can run. If not, either
3139 # the compiler is broken, or we cross compile.
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3141 $as_echo_n "checking whether we are cross compiling... " >&6; }
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3143 $as_echo "$cross_compiling" >&6; }
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3146 $as_echo_n "checking for suffix of executables... " >&6; }
3147 if { { ac_try="$ac_link"
3149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3150 *) ac_try_echo=$ac_try;;
3152 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3153 $as_echo "$ac_try_echo"; } >&5
3154 (eval "$ac_link") 2>&5
3156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3157 test $ac_status = 0; }; then :
3158 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3159 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3160 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3162 for ac_file
in conftest.exe conftest conftest.
*; do
3163 test -f "$ac_file" ||
continue
3165 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3166 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3172 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3173 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3174 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3175 See \`config.log' for more details." "$LINENO" 5; }
3177 rm -f conftest
$ac_cv_exeext
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3179 $as_echo "$ac_cv_exeext" >&6; }
3181 rm -f conftest.
$ac_ext
3182 EXEEXT
=$ac_cv_exeext
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3185 $as_echo_n "checking for suffix of object files... " >&6; }
3186 if test "${ac_cv_objext+set}" = set; then :
3187 $as_echo_n "(cached) " >&6
3189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3190 /* end confdefs.h. */
3200 rm -f conftest.o conftest.obj
3201 if { { ac_try
="$ac_compile"
3203 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3204 *) ac_try_echo=$ac_try;;
3206 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3207 $as_echo "$ac_try_echo"; } >&5
3208 (eval "$ac_compile") 2>&5
3210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3211 test $ac_status = 0; }; then :
3212 for ac_file in conftest.o conftest.obj conftest.*; do
3213 test -f "$ac_file" || continue;
3215 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3216 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3221 $as_echo "$as_me: failed program was:" >&5
3222 sed 's/^/| /' conftest.$ac_ext >&5
3224 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3226 as_fn_error "cannot compute suffix of object files
: cannot compile
3227 See \
`config.log' for more details." "$LINENO" 5; }
3229 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3232 $as_echo "$ac_cv_objext" >&6; }
3233 OBJEXT=$ac_cv_objext
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3236 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3237 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3238 $as_echo_n "(cached) " >&6
3240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3241 /* end confdefs.h. */
3254 if ac_fn_cxx_try_compile "$LINENO"; then :
3259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3260 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3264 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3265 if test $ac_compiler_gnu = yes; then
3270 ac_test_CXXFLAGS=${CXXFLAGS+set}
3271 ac_save_CXXFLAGS=$CXXFLAGS
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3273 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3274 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3275 $as_echo_n "(cached) " >&6
3277 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3278 ac_cxx_werror_flag=yes
3281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3282 /* end confdefs.h. */
3292 if ac_fn_cxx_try_compile "$LINENO"; then :
3293 ac_cv_prog_cxx_g=yes
3296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3297 /* end confdefs.h. */
3307 if ac_fn_cxx_try_compile "$LINENO"; then :
3310 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3313 /* end confdefs.h. */
3323 if ac_fn_cxx_try_compile "$LINENO"; then :
3324 ac_cv_prog_cxx_g=yes
3326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3331 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3334 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3335 if test "$ac_test_CXXFLAGS" = set; then
3336 CXXFLAGS=$ac_save_CXXFLAGS
3337 elif test $ac_cv_prog_cxx_g = yes; then
3338 if test "$GXX" = yes; then
3344 if test "$GXX" = yes; then
3351 ac_cpp='$CPP $CPPFLAGS'
3352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3355 DEPDIR="${am__leading_dot}deps"
3357 ac_config_commands="$ac_config_commands depfiles"
3360 am_make=${MAKE-make}
3361 cat > confinc << 'END'
3363 @echo this is the am__doit target
3366 # If we don't find an include directive, just comment out the code.
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3368 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3372 # First try GNU make style include.
3373 echo "include confinc" > confmf
3374 # Ignore all kinds of additional output from `make'.
3375 case `$am_make -s -f confmf 2> /dev/null` in #(
3376 *the\ am__doit\ target*)
3382 # Now try BSD make style include.
3383 if test "$am__include" = "#"; then
3384 echo '.include
"confinc"' > confmf
3385 case `$am_make -s -f confmf 2> /dev/null` in #(
3386 *the\ am__doit\ target*)
3387 am__include=.include
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3396 $as_echo "$_am_result" >&6; }
3397 rm -f confinc confmf
3399 # Check whether --enable-dependency-tracking was given.
3400 if test "${enable_dependency_tracking+set}" = set; then :
3401 enableval=$enable_dependency_tracking;
3404 if test "x$enable_dependency_tracking" != xno; then
3405 am_depcomp="$ac_aux_dir/depcomp"
3408 if test "x$enable_dependency_tracking" != xno
; then
3418 depcc
="$CXX" am_compiler_list
=
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3421 $as_echo_n "checking dependency style of $depcc... " >&6; }
3422 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
3423 $as_echo_n "(cached) " >&6
3425 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3426 # We make a subdir and do the tests there. Otherwise we can end up
3427 # making bogus files that we don't know about and never remove. For
3428 # instance it was reported that on HP-UX the gcc test will end up
3429 # making a dummy file named `D' -- because `-MD' means `put the output
3432 # Copy depcomp to subdir because otherwise we won't find it if we're
3433 # using a relative directory.
3434 cp "$am_depcomp" conftest.dir
3436 # We will build objects and dependencies in a subdirectory because
3437 # it helps to detect inapplicable dependency modes. For instance
3438 # both Tru64's cc and ICC support -MD to output dependencies as a
3439 # side effect of compilation, but ICC will put the dependencies in
3440 # the current directory while Tru64 will put them in the object
3444 am_cv_CXX_dependencies_compiler_type
=none
3445 if test "$am_compiler_list" = ""; then
3446 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3449 case " $depcc " in #(
3450 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3453 for depmode
in $am_compiler_list; do
3454 # Setup a source with many dependencies, because some compilers
3455 # like to wrap large dependency lists on column 80 (with \), and
3456 # we should not choose a depcomp mode which is confused by this.
3458 # We need to recreate these files for each test, as the compiler may
3459 # overwrite some of them when testing with obscure command lines.
3460 # This happens at least with the AIX C compiler.
3462 for i
in 1 2 3 4 5 6; do
3463 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3464 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3465 # Solaris 8's {/usr,}/bin/sh.
3466 touch sub
/conftst
$i.h
3468 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3470 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3471 # mode. It turns out that the SunPro C++ compiler does not properly
3472 # handle `-M -o', and we need to detect this. Also, some Intel
3473 # versions had trouble with output in subdirs
3474 am__obj
=sub
/conftest.
${OBJEXT-o}
3475 am__minus_obj
="-o $am__obj"
3478 # This depmode causes a compiler race in universal mode.
3479 test "$am__universal" = false ||
continue
3482 # after this tag, mechanisms are not by side-effect, so they'll
3483 # only be used when explicitly requested
3484 if test "x$enable_dependency_tracking" = xyes
; then
3490 msvisualcpp | msvcmsys
)
3491 # This compiler won't grok `-c -o', but also, the minuso test has
3492 # not run yet. These depmodes are late enough in the game, and
3493 # so weak that their functioning should not be impacted.
3494 am__obj
=conftest.
${OBJEXT-o}
3499 if depmode
=$depmode \
3500 source=sub
/conftest.c object
=$am__obj \
3501 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3502 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3503 >/dev
/null
2>conftest.err
&&
3504 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3505 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3506 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3507 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3508 # icc doesn't choke on unknown options, it will just issue warnings
3509 # or remarks (even with -Werror). So we grep stderr for any message
3510 # that says an option was ignored or not supported.
3511 # When given -MP, icc 7.0 and 7.1 complain thusly:
3512 # icc: Command line warning: ignoring option '-M'; no argument required
3513 # The diagnosis changed in icc 8.0:
3514 # icc: Command line remark: option '-MP' not supported
3515 if (grep 'ignoring option' conftest.err ||
3516 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3517 am_cv_CXX_dependencies_compiler_type
=$depmode
3526 am_cv_CXX_dependencies_compiler_type
=none
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3531 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3532 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3535 test "x$enable_dependency_tracking" != xno \
3536 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3537 am__fastdepCXX_TRUE
=
3538 am__fastdepCXX_FALSE
='#'
3540 am__fastdepCXX_TRUE
='#'
3541 am__fastdepCXX_FALSE
=
3546 ac_cpp
='$CPP $CPPFLAGS'
3547 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3548 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3549 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3550 if test -n "$ac_tool_prefix"; then
3551 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3552 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3554 $as_echo_n "checking for $ac_word... " >&6; }
3555 if test "${ac_cv_prog_CC+set}" = set; then :
3556 $as_echo_n "(cached) " >&6
3558 if test -n "$CC"; then
3559 ac_cv_prog_CC
="$CC" # Let the user override the test.
3561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3565 test -z "$as_dir" && as_dir
=.
3566 for ac_exec_ext
in '' $ac_executable_extensions; do
3567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3568 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3579 if test -n "$CC"; then
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3581 $as_echo "$CC" >&6; }
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3584 $as_echo "no" >&6; }
3589 if test -z "$ac_cv_prog_CC"; then
3591 # Extract the first word of "gcc", so it can be a program name with args.
3592 set dummy gcc
; ac_word
=$2
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3594 $as_echo_n "checking for $ac_word... " >&6; }
3595 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3596 $as_echo_n "(cached) " >&6
3598 if test -n "$ac_ct_CC"; then
3599 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3605 test -z "$as_dir" && as_dir
=.
3606 for ac_exec_ext
in '' $ac_executable_extensions; do
3607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3608 ac_cv_prog_ac_ct_CC
="gcc"
3609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3618 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3619 if test -n "$ac_ct_CC"; then
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3621 $as_echo "$ac_ct_CC" >&6; }
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3624 $as_echo "no" >&6; }
3627 if test "x$ac_ct_CC" = x
; then
3630 case $cross_compiling:$ac_tool_warned in
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3633 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3634 ac_tool_warned
=yes ;;
3642 if test -z "$CC"; then
3643 if test -n "$ac_tool_prefix"; then
3644 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3645 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3647 $as_echo_n "checking for $ac_word... " >&6; }
3648 if test "${ac_cv_prog_CC+set}" = set; then :
3649 $as_echo_n "(cached) " >&6
3651 if test -n "$CC"; then
3652 ac_cv_prog_CC
="$CC" # Let the user override the test.
3654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3658 test -z "$as_dir" && as_dir
=.
3659 for ac_exec_ext
in '' $ac_executable_extensions; do
3660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3661 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3672 if test -n "$CC"; then
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3674 $as_echo "$CC" >&6; }
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3677 $as_echo "no" >&6; }
3683 if test -z "$CC"; then
3684 # Extract the first word of "cc", so it can be a program name with args.
3685 set dummy cc
; ac_word
=$2
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3687 $as_echo_n "checking for $ac_word... " >&6; }
3688 if test "${ac_cv_prog_CC+set}" = set; then :
3689 $as_echo_n "(cached) " >&6
3691 if test -n "$CC"; then
3692 ac_cv_prog_CC
="$CC" # Let the user override the test.
3695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3699 test -z "$as_dir" && as_dir
=.
3700 for ac_exec_ext
in '' $ac_executable_extensions; do
3701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3702 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3703 ac_prog_rejected
=yes
3707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3714 if test $ac_prog_rejected = yes; then
3715 # We found a bogon in the path, so make sure we never use it.
3716 set dummy
$ac_cv_prog_CC
3718 if test $# != 0; then
3719 # We chose a different compiler from the bogus one.
3720 # However, it has the same basename, so the bogon will be chosen
3721 # first if we set CC to just the basename; use the full file name.
3723 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3729 if test -n "$CC"; then
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3731 $as_echo "$CC" >&6; }
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3734 $as_echo "no" >&6; }
3739 if test -z "$CC"; then
3740 if test -n "$ac_tool_prefix"; then
3741 for ac_prog
in cl.exe
3743 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3744 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3746 $as_echo_n "checking for $ac_word... " >&6; }
3747 if test "${ac_cv_prog_CC+set}" = set; then :
3748 $as_echo_n "(cached) " >&6
3750 if test -n "$CC"; then
3751 ac_cv_prog_CC
="$CC" # Let the user override the test.
3753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3757 test -z "$as_dir" && as_dir
=.
3758 for ac_exec_ext
in '' $ac_executable_extensions; do
3759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3760 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3771 if test -n "$CC"; then
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3773 $as_echo "$CC" >&6; }
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3776 $as_echo "no" >&6; }
3780 test -n "$CC" && break
3783 if test -z "$CC"; then
3785 for ac_prog
in cl.exe
3787 # Extract the first word of "$ac_prog", so it can be a program name with args.
3788 set dummy
$ac_prog; ac_word
=$2
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3790 $as_echo_n "checking for $ac_word... " >&6; }
3791 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3792 $as_echo_n "(cached) " >&6
3794 if test -n "$ac_ct_CC"; then
3795 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3801 test -z "$as_dir" && as_dir
=.
3802 for ac_exec_ext
in '' $ac_executable_extensions; do
3803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3804 ac_cv_prog_ac_ct_CC
="$ac_prog"
3805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3814 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3815 if test -n "$ac_ct_CC"; then
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3817 $as_echo "$ac_ct_CC" >&6; }
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3820 $as_echo "no" >&6; }
3824 test -n "$ac_ct_CC" && break
3827 if test "x$ac_ct_CC" = x
; then
3830 case $cross_compiling:$ac_tool_warned in
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3833 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3834 ac_tool_warned
=yes ;;
3843 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3844 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3845 as_fn_error
"no acceptable C compiler found in \$PATH
3846 See \`config.log' for more details." "$LINENO" 5; }
3848 # Provide some information about the compiler.
3849 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3852 for ac_option
in --version -v -V -qversion; do
3853 { { ac_try
="$ac_compiler $ac_option >&5"
3855 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3856 *) ac_try_echo=$ac_try;;
3858 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3859 $as_echo "$ac_try_echo"; } >&5
3860 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3862 if test -s conftest.err; then
3864 ... rest of stderr output deleted ...
3865 10q' conftest.err >conftest.er1
3866 cat conftest.er1 >&5
3867 rm -f conftest.er1 conftest.err
3869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3870 test $ac_status = 0; }
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3874 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3875 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3876 $as_echo_n "(cached) " >&6
3878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3879 /* end confdefs.h. */
3892 if ac_fn_c_try_compile "$LINENO"; then :
3897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3898 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3902 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3903 if test $ac_compiler_gnu = yes; then
3908 ac_test_CFLAGS=${CFLAGS+set}
3909 ac_save_CFLAGS=$CFLAGS
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3911 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3912 if test "${ac_cv_prog_cc_g+set}" = set; then :
3913 $as_echo_n "(cached) " >&6
3915 ac_save_c_werror_flag=$ac_c_werror_flag
3916 ac_c_werror_flag=yes
3919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3920 /* end confdefs.h. */
3930 if ac_fn_c_try_compile "$LINENO"; then :
3934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3935 /* end confdefs.h. */
3945 if ac_fn_c_try_compile "$LINENO"; then :
3948 ac_c_werror_flag=$ac_save_c_werror_flag
3950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3951 /* end confdefs.h. */
3961 if ac_fn_c_try_compile "$LINENO"; then :
3964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3969 ac_c_werror_flag=$ac_save_c_werror_flag
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3972 $as_echo "$ac_cv_prog_cc_g" >&6; }
3973 if test "$ac_test_CFLAGS" = set; then
3974 CFLAGS=$ac_save_CFLAGS
3975 elif test $ac_cv_prog_cc_g = yes; then
3976 if test "$GCC" = yes; then
3982 if test "$GCC" = yes; then
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3989 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3990 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3991 $as_echo_n "(cached) " >&6
3993 ac_cv_prog_cc_c89=no
3995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3996 /* end confdefs.h. */
3999 #include <sys/types.h>
4000 #include <sys/stat.h>
4001 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4002 struct buf { int x; };
4003 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4004 static char *e (p, i)
4010 static char *f (char * (*g) (char **, int), char **p, ...)
4015 s = g (p, va_arg (v,int));
4020 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4021 function prototypes and stuff, but not '\xHH' hex character constants.
4022 These don't provoke an error unfortunately, instead are silently treated
4023 as 'x'. The following induces an error, until -std is added to get
4024 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4025 array size at least. It's necessary to write '\x00'==0 to get something
4026 that's true only with -std. */
4027 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4029 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4030 inside strings and character constants. */
4032 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4034 int test (int i, double x);
4035 struct s1 {int (*f) (int a);};
4036 struct s2 {int (*f) (double a);};
4037 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4043 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4048 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4049 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4051 CC="$ac_save_CC $ac_arg"
4052 if ac_fn_c_try_compile "$LINENO"; then :
4053 ac_cv_prog_cc_c89=$ac_arg
4055 rm -f core conftest.err conftest.$ac_objext
4056 test "x$ac_cv_prog_cc_c89" != "xno" && break
4058 rm -f conftest.$ac_ext
4063 case "x$ac_cv_prog_cc_c89" in
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4066 $as_echo "none needed" >&6; } ;;
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4069 $as_echo "unsupported" >&6; } ;;
4071 CC="$CC $ac_cv_prog_cc_c89"
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4073 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4075 if test "x$ac_cv_prog_cc_c89" != xno; then :
4080 ac_cpp='$CPP $CPPFLAGS'
4081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4085 depcc="$CC" am_compiler_list=
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4088 $as_echo_n "checking dependency style of $depcc... " >&6; }
4089 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4090 $as_echo_n "(cached) " >&6
4092 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4093 # We make a subdir and do the tests there. Otherwise we can end up
4094 # making bogus files that we don't know about and never remove. For
4095 # instance it was reported that on HP-UX the gcc test will end up
4096 # making a dummy file named `D
' -- because `-MD' means
`put the output
4099 # Copy depcomp to subdir because otherwise we won't find it if we're
4100 # using a relative directory.
4101 cp "$am_depcomp" conftest.dir
4103 # We will build objects and dependencies in a subdirectory because
4104 # it helps to detect inapplicable dependency modes. For instance
4105 # both Tru64's cc and ICC support -MD to output dependencies as a
4106 # side effect of compilation, but ICC will put the dependencies in
4107 # the current directory while Tru64 will put them in the object
4111 am_cv_CC_dependencies_compiler_type=none
4112 if test "$am_compiler_list" = ""; then
4113 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4116 case " $depcc " in #(
4117 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4120 for depmode in $am_compiler_list; do
4121 # Setup a source with many dependencies, because some compilers
4122 # like to wrap large dependency lists on column 80 (with \), and
4123 # we should not choose a depcomp mode which is confused by this.
4125 # We need to recreate these files for each test, as the compiler may
4126 # overwrite some of them when testing with obscure command lines.
4127 # This happens at least with the AIX C compiler.
4129 for i in 1 2 3 4 5 6; do
4130 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4131 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4132 # Solaris 8's
{/usr
,}/bin
/sh.
4133 touch sub
/conftst
$i.h
4135 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4137 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4138 # mode. It turns out that the SunPro C++ compiler does not properly
4139 # handle `-M -o', and we need to detect this. Also, some Intel
4140 # versions had trouble with output in subdirs
4141 am__obj
=sub
/conftest.
${OBJEXT-o}
4142 am__minus_obj
="-o $am__obj"
4145 # This depmode causes a compiler race in universal mode.
4146 test "$am__universal" = false ||
continue
4149 # after this tag, mechanisms are not by side-effect, so they'll
4150 # only be used when explicitly requested
4151 if test "x$enable_dependency_tracking" = xyes
; then
4157 msvisualcpp | msvcmsys
)
4158 # This compiler won't grok `-c -o', but also, the minuso test has
4159 # not run yet. These depmodes are late enough in the game, and
4160 # so weak that their functioning should not be impacted.
4161 am__obj
=conftest.
${OBJEXT-o}
4166 if depmode
=$depmode \
4167 source=sub
/conftest.c object
=$am__obj \
4168 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4169 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4170 >/dev
/null
2>conftest.err
&&
4171 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4172 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4173 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4174 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4175 # icc doesn't choke on unknown options, it will just issue warnings
4176 # or remarks (even with -Werror). So we grep stderr for any message
4177 # that says an option was ignored or not supported.
4178 # When given -MP, icc 7.0 and 7.1 complain thusly:
4179 # icc: Command line warning: ignoring option '-M'; no argument required
4180 # The diagnosis changed in icc 8.0:
4181 # icc: Command line remark: option '-MP' not supported
4182 if (grep 'ignoring option' conftest.err ||
4183 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4184 am_cv_CC_dependencies_compiler_type
=$depmode
4193 am_cv_CC_dependencies_compiler_type
=none
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4198 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4199 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4202 test "x$enable_dependency_tracking" != xno \
4203 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4205 am__fastdepCC_FALSE
='#'
4207 am__fastdepCC_TRUE
='#'
4208 am__fastdepCC_FALSE
=
4213 # AC_CONFIG_MACRO_DIR([..])
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"
4255 ac_cpp
='$CPP $CPPFLAGS'
4256 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4257 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4258 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4260 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4261 # On Suns, sometimes $CPP names a directory.
4262 if test -n "$CPP" && test -d "$CPP"; then
4265 if test -z "$CPP"; then
4266 if test "${ac_cv_prog_CPP+set}" = set; then :
4267 $as_echo_n "(cached) " >&6
4269 # Double quotes because CPP needs to be expanded
4270 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4273 for ac_c_preproc_warn_flag
in '' yes
4275 # Use a header file that comes with gcc, so configuring glibc
4276 # with a fresh cross-compiler works.
4277 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4278 # <limits.h> exists even on freestanding compilers.
4279 # On the NeXT, cc -E runs the code through the compiler's parser,
4280 # not just through cpp. "Syntax error" is here to catch this case.
4281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4282 /* end confdefs.h. */
4284 # include <limits.h>
4286 # include <assert.h>
4290 if ac_fn_c_try_cpp
"$LINENO"; then :
4293 # Broken: fails on valid input.
4296 rm -f conftest.err conftest.
$ac_ext
4298 # OK, works on sane cases. Now check whether nonexistent headers
4299 # can be detected and how.
4300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4301 /* end confdefs.h. */
4302 #include <ac_nonexistent.h>
4304 if ac_fn_c_try_cpp
"$LINENO"; then :
4305 # Broken: success on invalid input.
4308 # Passes both tests.
4312 rm -f conftest.err conftest.
$ac_ext
4315 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4316 rm -f conftest.err conftest.
$ac_ext
4317 if $ac_preproc_ok; then :
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4330 $as_echo "$CPP" >&6; }
4332 for ac_c_preproc_warn_flag
in '' yes
4334 # Use a header file that comes with gcc, so configuring glibc
4335 # with a fresh cross-compiler works.
4336 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4337 # <limits.h> exists even on freestanding compilers.
4338 # On the NeXT, cc -E runs the code through the compiler's parser,
4339 # not just through cpp. "Syntax error" is here to catch this case.
4340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4341 /* end confdefs.h. */
4343 # include <limits.h>
4345 # include <assert.h>
4349 if ac_fn_c_try_cpp
"$LINENO"; then :
4352 # Broken: fails on valid input.
4355 rm -f conftest.err conftest.
$ac_ext
4357 # OK, works on sane cases. Now check whether nonexistent headers
4358 # can be detected and how.
4359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4360 /* end confdefs.h. */
4361 #include <ac_nonexistent.h>
4363 if ac_fn_c_try_cpp
"$LINENO"; then :
4364 # Broken: success on invalid input.
4367 # Passes both tests.
4371 rm -f conftest.err conftest.
$ac_ext
4374 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4375 rm -f conftest.err conftest.
$ac_ext
4376 if $ac_preproc_ok; then :
4379 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4380 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4381 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4382 See \`config.log' for more details." "$LINENO" 5; }
4386 ac_cpp
='$CPP $CPPFLAGS'
4387 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4388 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4389 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4393 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4394 if test "${ac_cv_path_GREP+set}" = set; then :
4395 $as_echo_n "(cached) " >&6
4397 if test -z "$GREP"; then
4398 ac_path_GREP_found
=false
4399 # Loop through the user's path and test for each of PROGNAME-LIST
4400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4401 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4404 test -z "$as_dir" && as_dir
=.
4405 for ac_prog
in grep ggrep
; do
4406 for ac_exec_ext
in '' $ac_executable_extensions; do
4407 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4408 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4409 # Check for GNU ac_path_GREP and select it if it is found.
4410 # Check for GNU $ac_path_GREP
4411 case `"$ac_path_GREP" --version 2>&1` in
4413 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4416 $as_echo_n 0123456789 >"conftest.in"
4419 cat "conftest.in" "conftest.in" >"conftest.tmp"
4420 mv "conftest.tmp" "conftest.in"
4421 cp "conftest.in" "conftest.nl"
4422 $as_echo 'GREP' >> "conftest.nl"
4423 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4424 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4425 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4426 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4427 # Best one so far, save it but keep looking for a better one
4428 ac_cv_path_GREP
="$ac_path_GREP"
4429 ac_path_GREP_max
=$ac_count
4431 # 10*(2^10) chars as input seems more than enough
4432 test $ac_count -gt 10 && break
4434 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4437 $ac_path_GREP_found && break 3
4442 if test -z "$ac_cv_path_GREP"; then
4443 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4446 ac_cv_path_GREP
=$GREP
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4451 $as_echo "$ac_cv_path_GREP" >&6; }
4452 GREP
="$ac_cv_path_GREP"
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4456 $as_echo_n "checking for egrep... " >&6; }
4457 if test "${ac_cv_path_EGREP+set}" = set; then :
4458 $as_echo_n "(cached) " >&6
4460 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4461 then ac_cv_path_EGREP
="$GREP -E"
4463 if test -z "$EGREP"; then
4464 ac_path_EGREP_found
=false
4465 # Loop through the user's path and test for each of PROGNAME-LIST
4466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4467 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4470 test -z "$as_dir" && as_dir
=.
4471 for ac_prog
in egrep; do
4472 for ac_exec_ext
in '' $ac_executable_extensions; do
4473 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4474 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4475 # Check for GNU ac_path_EGREP and select it if it is found.
4476 # Check for GNU $ac_path_EGREP
4477 case `"$ac_path_EGREP" --version 2>&1` in
4479 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4482 $as_echo_n 0123456789 >"conftest.in"
4485 cat "conftest.in" "conftest.in" >"conftest.tmp"
4486 mv "conftest.tmp" "conftest.in"
4487 cp "conftest.in" "conftest.nl"
4488 $as_echo 'EGREP' >> "conftest.nl"
4489 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4490 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4491 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4492 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4493 # Best one so far, save it but keep looking for a better one
4494 ac_cv_path_EGREP
="$ac_path_EGREP"
4495 ac_path_EGREP_max
=$ac_count
4497 # 10*(2^10) chars as input seems more than enough
4498 test $ac_count -gt 10 && break
4500 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4503 $ac_path_EGREP_found && break 3
4508 if test -z "$ac_cv_path_EGREP"; then
4509 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4512 ac_cv_path_EGREP
=$EGREP
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4518 $as_echo "$ac_cv_path_EGREP" >&6; }
4519 EGREP
="$ac_cv_path_EGREP"
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4523 $as_echo_n "checking for ANSI C header files... " >&6; }
4524 if test "${ac_cv_header_stdc+set}" = set; then :
4525 $as_echo_n "(cached) " >&6
4527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4528 /* end confdefs.h. */
4542 if ac_fn_c_try_compile
"$LINENO"; then :
4543 ac_cv_header_stdc
=yes
4545 ac_cv_header_stdc
=no
4547 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4549 if test $ac_cv_header_stdc = yes; then
4550 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4552 /* end confdefs.h. */
4556 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4557 $EGREP "memchr" >/dev
/null
2>&1; then :
4560 ac_cv_header_stdc
=no
4566 if test $ac_cv_header_stdc = yes; then
4567 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4569 /* end confdefs.h. */
4573 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4574 $EGREP "free" >/dev
/null
2>&1; then :
4577 ac_cv_header_stdc
=no
4583 if test $ac_cv_header_stdc = yes; then
4584 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4585 if test "$cross_compiling" = yes; then :
4588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4589 /* end confdefs.h. */
4592 #if ((' ' & 0x0FF) == 0x020)
4593 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4594 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4596 # define ISLOWER(c) \
4597 (('a' <= (c) && (c) <= 'i') \
4598 || ('j' <= (c) && (c) <= 'r') \
4599 || ('s' <= (c) && (c) <= 'z'))
4600 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4603 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4608 for (i = 0; i < 256; i++)
4609 if (XOR (islower (i), ISLOWER (i))
4610 || toupper (i) != TOUPPER (i))
4615 if ac_fn_c_try_run
"$LINENO"; then :
4618 ac_cv_header_stdc
=no
4620 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4621 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4627 $as_echo "$ac_cv_header_stdc" >&6; }
4628 if test $ac_cv_header_stdc = yes; then
4630 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4634 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4635 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4636 inttypes.h stdint.h unistd.h
4638 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4639 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4641 eval as_val
=\$
$as_ac_Header
4642 if test "x$as_val" = x
""yes; then :
4643 cat >>confdefs.h
<<_ACEOF
4644 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4652 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4653 # for constant arguments. Useless!
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
4655 $as_echo_n "checking for working alloca.h... " >&6; }
4656 if test "${ac_cv_working_alloca_h+set}" = set; then :
4657 $as_echo_n "(cached) " >&6
4659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4660 /* end confdefs.h. */
4665 char *p = (char *) alloca (2 * sizeof (int));
4671 if ac_fn_c_try_link
"$LINENO"; then :
4672 ac_cv_working_alloca_h
=yes
4674 ac_cv_working_alloca_h
=no
4676 rm -f core conftest.err conftest.
$ac_objext \
4677 conftest
$ac_exeext conftest.
$ac_ext
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
4680 $as_echo "$ac_cv_working_alloca_h" >&6; }
4681 if test $ac_cv_working_alloca_h = yes; then
4683 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
4688 $as_echo_n "checking for alloca... " >&6; }
4689 if test "${ac_cv_func_alloca_works+set}" = set; then :
4690 $as_echo_n "(cached) " >&6
4692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4693 /* end confdefs.h. */
4695 # define alloca __builtin_alloca
4698 # include <malloc.h>
4699 # define alloca _alloca
4701 # ifdef HAVE_ALLOCA_H
4702 # include <alloca.h>
4707 # ifndef alloca /* predefined by HP cc +Olibcalls */
4718 char *p = (char *) alloca (1);
4724 if ac_fn_c_try_link
"$LINENO"; then :
4725 ac_cv_func_alloca_works
=yes
4727 ac_cv_func_alloca_works
=no
4729 rm -f core conftest.err conftest.
$ac_objext \
4730 conftest
$ac_exeext conftest.
$ac_ext
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
4733 $as_echo "$ac_cv_func_alloca_works" >&6; }
4735 if test $ac_cv_func_alloca_works = yes; then
4737 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
4740 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
4741 # that cause trouble. Some versions do not even contain alloca or
4742 # contain a buggy version. If you still want to use their alloca,
4743 # use ar to extract alloca.o from them instead of compiling alloca.c.
4745 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
4747 $as_echo "#define C_ALLOCA 1" >>confdefs.h
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
4751 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
4752 if test "${ac_cv_os_cray+set}" = set; then :
4753 $as_echo_n "(cached) " >&6
4755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4756 /* end confdefs.h. */
4757 #if defined CRAY && ! defined CRAY2
4764 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4765 $EGREP "webecray" >/dev
/null
2>&1; then :
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
4774 $as_echo "$ac_cv_os_cray" >&6; }
4775 if test $ac_cv_os_cray = yes; then
4776 for ac_func
in _getb67 GETB67 getb67
; do
4777 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4778 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4779 eval as_val
=\$
$as_ac_var
4780 if test "x$as_val" = x
""yes; then :
4782 cat >>confdefs.h
<<_ACEOF
4783 #define CRAY_STACKSEG_END $ac_func
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
4793 $as_echo_n "checking stack direction for C alloca... " >&6; }
4794 if test "${ac_cv_c_stack_direction+set}" = set; then :
4795 $as_echo_n "(cached) " >&6
4797 if test "$cross_compiling" = yes; then :
4798 ac_cv_c_stack_direction
=0
4800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4801 /* end confdefs.h. */
4802 $ac_includes_default
4804 find_stack_direction ()
4806 static char *addr = 0;
4811 return find_stack_direction ();
4814 return (&dummy > addr) ? 1 : -1;
4820 return find_stack_direction () < 0;
4823 if ac_fn_c_try_run
"$LINENO"; then :
4824 ac_cv_c_stack_direction
=1
4826 ac_cv_c_stack_direction
=-1
4828 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4829 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
4834 $as_echo "$ac_cv_c_stack_direction" >&6; }
4835 cat >>confdefs.h
<<_ACEOF
4836 #define STACK_DIRECTION $ac_cv_c_stack_direction
4843 # Get target configury.
4844 .
${srcdir}/configure.tgt
4845 if test -n "$UNSUPPORTED"; then
4846 as_fn_error
"Configuration ${target} is unsupported." "$LINENO" 5
4849 if test "${multilib}" = "yes"; then
4850 multilib_arg
="--enable-multilib"
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
4856 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
4857 # Check whether --enable-version-specific-runtime-libs was given.
4858 if test "${enable_version_specific_runtime_libs+set}" = set; then :
4859 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
4860 yes) enable_version_specific_runtime_libs
=yes ;;
4861 no
) enable_version_specific_runtime_libs
=no
;;
4862 *) as_fn_error
"Unknown argument to enable/disable version-specific libs
4866 enable_version_specific_runtime_libs
=no
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_version_specific_runtime_libs" >&5
4870 $as_echo "$enable_version_specific_runtime_libs" >&6; }
4873 # Calculate toolexeclibdir
4874 # Also toolexecdir, though it's only used in toolexeclibdir
4875 case ${enable_version_specific_runtime_libs} in
4877 # Need the gcc compiler version to know where to install libraries
4878 # and header files if --enable-version-specific-runtime-libs option
4880 toolexecdir
='$(libdir)/gcc/$(target_alias)'
4881 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4884 if test -n "$with_cross_host" &&
4885 test x
"$with_cross_host" != x
"no"; then
4886 # Install a library built with a cross compiler in tooldir, not libdir.
4887 toolexecdir
='$(exec_prefix)/$(target_alias)'
4888 toolexeclibdir
='$(toolexecdir)/lib'
4890 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
4891 toolexeclibdir
='$(libdir)'
4893 multi_os_directory
=`$CC -print-multi-os-directory`
4894 case $multi_os_directory in
4895 .
) ;; # Avoid trailing /.
4896 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
4901 # Set config_dir based on the target. config_dir specifies where to get
4902 # target-specific files. The generic implementation is incomplete, but
4903 # contains information on what's needed
4915 config_dir
="generic"
4921 # We have linker scripts for appropriate operating systems
4922 linux_linker_script
=no
4925 linux_linker_script
=yes
4928 if test "$linux_linker_script" = "yes"; then
4929 LINUX_LINKER_SCRIPT_TRUE
=
4930 LINUX_LINKER_SCRIPT_FALSE
='#'
4932 LINUX_LINKER_SCRIPT_TRUE
='#'
4933 LINUX_LINKER_SCRIPT_FALSE
=
4937 mac_linker_script
=no
4940 mac_linker_script
=yes
4943 if test "$mac_linker_script" = "yes"; then
4944 MAC_LINKER_SCRIPT_TRUE
=
4945 MAC_LINKER_SCRIPT_FALSE
='#'
4947 MAC_LINKER_SCRIPT_TRUE
='#'
4948 MAC_LINKER_SCRIPT_FALSE
=
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4955 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4960 macro_version
='2.2.7a'
4961 macro_revision
='1.3134'
4975 ltmain
="$ac_aux_dir/ltmain.sh"
4977 # Backslashify metacharacters that are still active within
4978 # double-quoted strings.
4979 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4981 # Same as above, but do not quote variable references.
4982 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4984 # Sed substitution to delay expansion of an escaped shell variable in a
4985 # double_quote_subst'ed string.
4986 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4988 # Sed substitution to delay expansion of an escaped single quote.
4989 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4991 # Sed substitution to avoid accidental globbing in evaled expressions
4992 no_glob_subst
='s/\*/\\\*/g'
4994 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4995 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4996 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4999 $as_echo_n "checking how to print strings... " >&6; }
5000 # Test print first, because it will be a builtin if present.
5001 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5002 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5004 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5007 # Use this function as a fallback that always works.
5008 func_fallback_echo ()
5010 eval 'cat <<_LTECHO_EOF
5014 ECHO='func_fallback_echo
'
5017 # func_echo_all arg...
5018 # Invoke $ECHO with all args, space-separated.
5025 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5026 $as_echo "printf" >&6; } ;;
5027 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5028 $as_echo "print -r" >&6; } ;;
5029 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5030 $as_echo "cat" >&6; } ;;
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5047 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5048 if test "${ac_cv_path_SED+set}" = set; then :
5049 $as_echo_n "(cached) " >&6
5051 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5052 for ac_i in 1 2 3 4 5 6 7; do
5053 ac_script="$ac_script$as_nl$ac_script"
5055 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5056 { ac_script=; unset ac_script;}
5057 if test -z "$SED"; then
5058 ac_path_SED_found=false
5059 # Loop through the user's path and
test for each of PROGNAME-LIST
5060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5064 test -z "$as_dir" && as_dir
=.
5065 for ac_prog
in sed gsed
; do
5066 for ac_exec_ext
in '' $ac_executable_extensions; do
5067 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5068 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
5069 # Check for GNU ac_path_SED and select it if it is found.
5070 # Check for GNU $ac_path_SED
5071 case `"$ac_path_SED" --version 2>&1` in
5073 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5076 $as_echo_n 0123456789 >"conftest.in"
5079 cat "conftest.in" "conftest.in" >"conftest.tmp"
5080 mv "conftest.tmp" "conftest.in"
5081 cp "conftest.in" "conftest.nl"
5082 $as_echo '' >> "conftest.nl"
5083 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5084 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5085 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5086 if test $ac_count -gt ${ac_path_SED_max-0}; then
5087 # Best one so far, save it but keep looking for a better one
5088 ac_cv_path_SED
="$ac_path_SED"
5089 ac_path_SED_max
=$ac_count
5091 # 10*(2^10) chars as input seems more than enough
5092 test $ac_count -gt 10 && break
5094 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5097 $ac_path_SED_found && break 3
5102 if test -z "$ac_cv_path_SED"; then
5103 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5111 $as_echo "$ac_cv_path_SED" >&6; }
5112 SED
="$ac_cv_path_SED"
5115 test -z "$SED" && SED
=sed
5116 Xsed
="$SED -e 1s/^X//"
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5129 $as_echo_n "checking for fgrep... " >&6; }
5130 if test "${ac_cv_path_FGREP+set}" = set; then :
5131 $as_echo_n "(cached) " >&6
5133 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5134 then ac_cv_path_FGREP
="$GREP -F"
5136 if test -z "$FGREP"; then
5137 ac_path_FGREP_found
=false
5138 # Loop through the user's path and test for each of PROGNAME-LIST
5139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5140 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5143 test -z "$as_dir" && as_dir
=.
5144 for ac_prog
in fgrep
; do
5145 for ac_exec_ext
in '' $ac_executable_extensions; do
5146 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5147 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5148 # Check for GNU ac_path_FGREP and select it if it is found.
5149 # Check for GNU $ac_path_FGREP
5150 case `"$ac_path_FGREP" --version 2>&1` in
5152 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5155 $as_echo_n 0123456789 >"conftest.in"
5158 cat "conftest.in" "conftest.in" >"conftest.tmp"
5159 mv "conftest.tmp" "conftest.in"
5160 cp "conftest.in" "conftest.nl"
5161 $as_echo 'FGREP' >> "conftest.nl"
5162 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5163 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5164 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5165 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5166 # Best one so far, save it but keep looking for a better one
5167 ac_cv_path_FGREP
="$ac_path_FGREP"
5168 ac_path_FGREP_max
=$ac_count
5170 # 10*(2^10) chars as input seems more than enough
5171 test $ac_count -gt 10 && break
5173 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5176 $ac_path_FGREP_found && break 3
5181 if test -z "$ac_cv_path_FGREP"; then
5182 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5185 ac_cv_path_FGREP
=$FGREP
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5191 $as_echo "$ac_cv_path_FGREP" >&6; }
5192 FGREP
="$ac_cv_path_FGREP"
5195 test -z "$GREP" && GREP
=grep
5215 # Check whether --with-gnu-ld was given.
5216 if test "${with_gnu_ld+set}" = set; then :
5217 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5223 if test "$GCC" = yes; then
5224 # Check if gcc -print-prog-name=ld gives a path.
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5226 $as_echo_n "checking for ld used by $CC... " >&6; }
5229 # gcc leaves a trailing carriage return which upsets mingw
5230 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5232 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5235 # Accept absolute paths.
5237 re_direlt
='/[^/][^/]*/\.\./'
5238 # Canonicalize the pathname of ld
5239 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5240 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5241 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5243 test -z "$LD" && LD
="$ac_prog"
5246 # If it fails, then pretend we aren't using GCC.
5250 # If it is relative, then search for the first ld in PATH.
5254 elif test "$with_gnu_ld" = yes; then
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5256 $as_echo_n "checking for GNU ld... " >&6; }
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5259 $as_echo_n "checking for non-GNU ld... " >&6; }
5261 if test "${lt_cv_path_LD+set}" = set; then :
5262 $as_echo_n "(cached) " >&6
5264 if test -z "$LD"; then
5265 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5266 for ac_dir
in $PATH; do
5268 test -z "$ac_dir" && ac_dir
=.
5269 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5270 lt_cv_path_LD
="$ac_dir/$ac_prog"
5271 # Check to see if the program is GNU ld. I'd rather use --version,
5272 # but apparently some variants of GNU ld only accept -v.
5273 # Break only if it was the GNU/non-GNU ld that we prefer.
5274 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5275 *GNU
* |
*'with BFD'*)
5276 test "$with_gnu_ld" != no
&& break
5279 test "$with_gnu_ld" != yes && break
5286 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5291 if test -n "$LD"; then
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5293 $as_echo "$LD" >&6; }
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5296 $as_echo "no" >&6; }
5298 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5300 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5301 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5302 $as_echo_n "(cached) " >&6
5304 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5305 case `$LD -v 2>&1 </dev/null` in
5306 *GNU
* |
*'with BFD'*)
5307 lt_cv_prog_gnu_ld
=yes
5310 lt_cv_prog_gnu_ld
=no
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5315 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5316 with_gnu_ld
=$lt_cv_prog_gnu_ld
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5327 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5328 if test "${lt_cv_path_NM+set}" = set; then :
5329 $as_echo_n "(cached) " >&6
5331 if test -n "$NM"; then
5332 # Let the user override the test.
5335 lt_nm_to_check
="${ac_tool_prefix}nm"
5336 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5337 lt_nm_to_check
="$lt_nm_to_check nm"
5339 for lt_tmp_nm
in $lt_nm_to_check; do
5340 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5341 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5343 test -z "$ac_dir" && ac_dir
=.
5344 tmp_nm
="$ac_dir/$lt_tmp_nm"
5345 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5346 # Check to see if the nm accepts a BSD-compat flag.
5347 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5348 # nm: unknown option "B" ignored
5349 # Tru64's nm complains that /dev/null is an invalid object file
5350 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5351 */dev
/null
* |
*'Invalid file or object type'*)
5352 lt_cv_path_NM
="$tmp_nm -B"
5356 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5358 lt_cv_path_NM
="$tmp_nm -p"
5362 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5363 continue # so that we can try to find one that supports BSD flags
5372 : ${lt_cv_path_NM=no}
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5376 $as_echo "$lt_cv_path_NM" >&6; }
5377 if test "$lt_cv_path_NM" != "no"; then
5380 # Didn't find any BSD compatible name lister, look for dumpbin.
5381 if test -n "$DUMPBIN"; then :
5382 # Let the user override the test.
5384 if test -n "$ac_tool_prefix"; then
5385 for ac_prog
in dumpbin
"link -dump"
5387 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5388 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5390 $as_echo_n "checking for $ac_word... " >&6; }
5391 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5392 $as_echo_n "(cached) " >&6
5394 if test -n "$DUMPBIN"; then
5395 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5401 test -z "$as_dir" && as_dir
=.
5402 for ac_exec_ext
in '' $ac_executable_extensions; do
5403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5404 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5414 DUMPBIN
=$ac_cv_prog_DUMPBIN
5415 if test -n "$DUMPBIN"; then
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5417 $as_echo "$DUMPBIN" >&6; }
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5420 $as_echo "no" >&6; }
5424 test -n "$DUMPBIN" && break
5427 if test -z "$DUMPBIN"; then
5428 ac_ct_DUMPBIN
=$DUMPBIN
5429 for ac_prog
in dumpbin
"link -dump"
5431 # Extract the first word of "$ac_prog", so it can be a program name with args.
5432 set dummy
$ac_prog; ac_word
=$2
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5434 $as_echo_n "checking for $ac_word... " >&6; }
5435 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5436 $as_echo_n "(cached) " >&6
5438 if test -n "$ac_ct_DUMPBIN"; then
5439 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5445 test -z "$as_dir" && as_dir
=.
5446 for ac_exec_ext
in '' $ac_executable_extensions; do
5447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5448 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5458 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5459 if test -n "$ac_ct_DUMPBIN"; then
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5461 $as_echo "$ac_ct_DUMPBIN" >&6; }
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5464 $as_echo "no" >&6; }
5468 test -n "$ac_ct_DUMPBIN" && break
5471 if test "x$ac_ct_DUMPBIN" = x
; then
5474 case $cross_compiling:$ac_tool_warned in
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5477 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5478 ac_tool_warned
=yes ;;
5480 DUMPBIN
=$ac_ct_DUMPBIN
5484 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5486 DUMPBIN
="$DUMPBIN -symbols"
5494 if test "$DUMPBIN" != ":"; then
5498 test -z "$NM" && NM
=nm
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5506 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5507 if test "${lt_cv_nm_interface+set}" = set; then :
5508 $as_echo_n "(cached) " >&6
5510 lt_cv_nm_interface
="BSD nm"
5511 echo "int some_variable = 0;" > conftest.
$ac_ext
5512 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5513 (eval "$ac_compile" 2>conftest.err
)
5514 cat conftest.err
>&5
5515 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5516 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5517 cat conftest.err
>&5
5518 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5519 cat conftest.out
>&5
5520 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5521 lt_cv_nm_interface
="MS dumpbin"
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5526 $as_echo "$lt_cv_nm_interface" >&6; }
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5529 $as_echo_n "checking whether ln -s works... " >&6; }
5531 if test "$LN_S" = "ln -s"; then
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5533 $as_echo "yes" >&6; }
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5536 $as_echo "no, using $LN_S" >&6; }
5539 # find the maximum length of command line arguments
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5541 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5542 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5543 $as_echo_n "(cached) " >&6
5550 # On DJGPP, this test can blow up pretty badly due to problems in libc
5551 # (any single argument exceeding 2000 bytes causes a buffer overrun
5552 # during glob expansion). Even if it were fixed, the result of this
5553 # check would be larger than it should be.
5554 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5558 # Under GNU Hurd, this test is not required because there is
5559 # no limit to the length of command line arguments.
5560 # Libtool will interpret -1 as no limit whatsoever
5561 lt_cv_sys_max_cmd_len
=-1;
5564 cygwin
* | mingw
* | cegcc
*)
5565 # On Win9x/ME, this test blows up -- it succeeds, but takes
5566 # about 5 minutes as the teststring grows exponentially.
5567 # Worse, since 9x/ME are not pre-emptively multitasking,
5568 # you end up with a "frozen" computer, even though with patience
5569 # the test eventually succeeds (with a max line length of 256k).
5570 # Instead, let's just punt: use the minimum linelength reported by
5571 # all of the supported platforms: 8192 (on NT/2K/XP).
5572 lt_cv_sys_max_cmd_len
=8192;
5576 # On MiNT this can take a long time and run out of memory.
5577 lt_cv_sys_max_cmd_len
=8192;
5581 # On AmigaOS with pdksh, this test takes hours, literally.
5582 # So we just punt and use a minimum line length of 8192.
5583 lt_cv_sys_max_cmd_len
=8192;
5586 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5587 # This has been around since 386BSD, at least. Likely further.
5588 if test -x /sbin
/sysctl
; then
5589 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5590 elif test -x /usr
/sbin
/sysctl
; then
5591 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5593 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5595 # And add a safety zone
5596 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5597 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5601 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5602 lt_cv_sys_max_cmd_len
=196608
5606 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5607 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5608 # nice to cause kernel panics so lets avoid the loop below.
5609 # First set a reasonable default.
5610 lt_cv_sys_max_cmd_len
=16384
5612 if test -x /sbin
/sysconfig
; then
5613 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5614 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5619 lt_cv_sys_max_cmd_len
=102400
5621 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5622 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5623 if test -n "$kargmax"; then
5624 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5626 lt_cv_sys_max_cmd_len
=32768
5630 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5631 if test -n "$lt_cv_sys_max_cmd_len"; then
5632 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5633 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5635 # Make teststring a little bigger before we do anything with it.
5636 # a 1K string should be a reasonable start.
5637 for i
in 1 2 3 4 5 6 7 8 ; do
5638 teststring
=$teststring$teststring
5640 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5641 # If test is not a shell built-in, we'll probably end up computing a
5642 # maximum length that is only half of the actual maximum length, but
5644 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5645 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5646 test $i != 17 # 1/2 MB should be enough
5649 teststring
=$teststring$teststring
5651 # Only check the string length outside the loop.
5652 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5654 # Add a significant safety factor because C++ compilers can tack on
5655 # massive amounts of additional arguments before passing them to the
5656 # linker. It appears as though 1/2 is a usable value.
5657 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5664 if test -n $lt_cv_sys_max_cmd_len ; then
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5666 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5669 $as_echo "none" >&6; }
5671 max_cmd_len
=$lt_cv_sys_max_cmd_len
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5683 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5684 # Try some XSI features
5687 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5689 && eval 'test $(( 1 + 1 )) -eq 2 \
5690 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5693 $as_echo "$xsi_shell" >&6; }
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5697 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5699 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5701 && lt_shell_append=yes
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5703 $as_echo "$lt_shell_append" >&6; }
5706 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5716 # test EBCDIC or ASCII
5717 case `echo X|tr X '\101'` in
5718 A) # ASCII based system
5719 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5720 lt_SP2NL='tr \040 \012'
5721 lt_NL2SP='tr \015\012 \040\040'
5723 *) # EBCDIC based system
5724 lt_SP2NL='tr \100 \n'
5725 lt_NL2SP='tr \r\n \100\100'
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5738 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5739 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5740 $as_echo_n "(cached
) " >&6
5742 lt_cv_ld_reload_flag='-r'
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5745 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5746 reload_flag=$lt_cv_ld_reload_flag
5747 case $reload_flag in
5749 *) reload_flag=" $reload_flag" ;;
5751 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5754 if test "$GCC" = yes; then
5755 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5757 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5770 if test -n "$ac_tool_prefix"; then
5771 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5772 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5774 $as_echo_n "checking
for $ac_word...
" >&6; }
5775 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5776 $as_echo_n "(cached
) " >&6
5778 if test -n "$OBJDUMP"; then
5779 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5785 test -z "$as_dir" && as_dir=.
5786 for ac_exec_ext in '' $ac_executable_extensions; do
5787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5788 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5789 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5798 OBJDUMP=$ac_cv_prog_OBJDUMP
5799 if test -n "$OBJDUMP"; then
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5801 $as_echo "$OBJDUMP" >&6; }
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5804 $as_echo "no
" >&6; }
5809 if test -z "$ac_cv_prog_OBJDUMP"; then
5810 ac_ct_OBJDUMP=$OBJDUMP
5811 # Extract the first word of "objdump
", so it can be a program name with args.
5812 set dummy objdump; ac_word=$2
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5814 $as_echo_n "checking
for $ac_word...
" >&6; }
5815 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5816 $as_echo_n "(cached
) " >&6
5818 if test -n "$ac_ct_OBJDUMP"; then
5819 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5825 test -z "$as_dir" && as_dir=.
5826 for ac_exec_ext in '' $ac_executable_extensions; do
5827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5828 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5829 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5838 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5839 if test -n "$ac_ct_OBJDUMP"; then
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5841 $as_echo "$ac_ct_OBJDUMP" >&6; }
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5844 $as_echo "no
" >&6; }
5847 if test "x
$ac_ct_OBJDUMP" = x; then
5850 case $cross_compiling:$ac_tool_warned in
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5853 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5854 ac_tool_warned=yes ;;
5856 OBJDUMP=$ac_ct_OBJDUMP
5859 OBJDUMP="$ac_cv_prog_OBJDUMP"
5862 test -z "$OBJDUMP" && OBJDUMP=objdump
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5873 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5874 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5875 $as_echo_n "(cached
) " >&6
5877 lt_cv_file_magic_cmd='$MAGIC_CMD'
5878 lt_cv_file_magic_test_file=
5879 lt_cv_deplibs_check_method='unknown'
5880 # Need to set the preceding variable on all platforms that support
5881 # interlibrary dependencies.
5882 # 'none' -- dependencies not supported.
5883 # `unknown' -- same as none, but documents that we really don't know.
5884 # 'pass_all' -- all dependencies passed with no checks.
5885 # 'test_compile' -- check by making test program.
5886 # 'file_magic [[regex]]' -- check by looking for files in library path
5887 # which responds to the $file_magic_cmd with a given extended regex.
5888 # If you have `file' or equivalent on your system and you're not sure
5889 # whether `pass_all' will *always* work, you probably want this one.
5893 lt_cv_deplibs_check_method=pass_all
5897 lt_cv_deplibs_check_method=pass_all
5901 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5902 lt_cv_file_magic_cmd='/usr/bin/file -L'
5903 lt_cv_file_magic_test_file=/shlib/libc.so
5907 # func_win32_libid is a shell function defined in ltmain.sh
5908 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5909 lt_cv_file_magic_cmd='func_win32_libid'
5913 # Base MSYS/MinGW do not provide the 'file' command needed by
5914 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5915 # unless we find 'file', for example because we are cross-compiling.
5916 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5917 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5918 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5919 lt_cv_file_magic_cmd='func_win32_libid'
5921 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5922 lt_cv_file_magic_cmd='$OBJDUMP -f'
5927 # use the weaker test based on 'objdump'. See mingw*.
5928 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5929 lt_cv_file_magic_cmd='$OBJDUMP -f'
5932 darwin* | rhapsody*)
5933 lt_cv_deplibs_check_method=pass_all
5936 freebsd* | dragonfly*)
5937 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5940 # Not sure whether the presence of OpenBSD here was a mistake.
5941 # Let's accept both of them until this is cleared up.
5942 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5943 lt_cv_file_magic_cmd=/usr/bin/file
5944 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5948 lt_cv_deplibs_check_method=pass_all
5953 lt_cv_deplibs_check_method=pass_all
5957 lt_cv_deplibs_check_method=pass_all
5960 hpux10.20* | hpux11*)
5961 lt_cv_file_magic_cmd=/usr/bin/file
5964 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5965 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5968 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]'
5969 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5972 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5973 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5979 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5980 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5983 irix5* | irix6* | nonstopux*)
5985 *-32|*"-32 ") libmagic=32-bit;;
5986 *-n32|*"-n32 ") libmagic=N32;;
5987 *-64|*"-64 ") libmagic=64-bit;;
5988 *) libmagic=never-match;;
5990 lt_cv_deplibs_check_method=pass_all
5993 # This must be Linux ELF.
5994 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5995 lt_cv_deplibs_check_method=pass_all
5999 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6000 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6002 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6007 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6008 lt_cv_file_magic_cmd=/usr/bin/file
6009 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6013 lt_cv_deplibs_check_method=pass_all
6017 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6018 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6020 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6024 osf3* | osf4* | osf5*)
6025 lt_cv_deplibs_check_method=pass_all
6029 lt_cv_deplibs_check_method=pass_all
6033 lt_cv_deplibs_check_method=pass_all
6036 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6037 lt_cv_deplibs_check_method=pass_all
6041 case $host_vendor in
6043 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]'
6044 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6047 lt_cv_deplibs_check_method=pass_all
6050 lt_cv_file_magic_cmd='/bin/file'
6051 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6054 lt_cv_file_magic_cmd='/bin/file'
6055 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6056 lt_cv_file_magic_test_file=/lib/libc.so
6059 lt_cv_deplibs_check_method=pass_all
6062 lt_cv_deplibs_check_method=pass_all
6068 lt_cv_deplibs_check_method=pass_all
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6074 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6075 file_magic_cmd=$lt_cv_file_magic_cmd
6076 deplibs_check_method=$lt_cv_deplibs_check_method
6077 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6090 if test -n "$ac_tool_prefix"; then
6091 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6092 set dummy ${ac_tool_prefix}ar; ac_word=$2
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6094 $as_echo_n "checking
for $ac_word...
" >&6; }
6095 if test "${ac_cv_prog_AR+set}" = set; then :
6096 $as_echo_n "(cached
) " >&6
6098 if test -n "$AR"; then
6099 ac_cv_prog_AR="$AR" # Let the user override the test.
6101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6105 test -z "$as_dir" && as_dir=.
6106 for ac_exec_ext in '' $ac_executable_extensions; do
6107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6108 ac_cv_prog_AR="${ac_tool_prefix}ar"
6109 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6119 if test -n "$AR"; then
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6121 $as_echo "$AR" >&6; }
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6124 $as_echo "no
" >&6; }
6129 if test -z "$ac_cv_prog_AR"; then
6131 # Extract the first word of "ar", so it can be a program name with args.
6132 set dummy ar; ac_word=$2
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6134 $as_echo_n "checking
for $ac_word...
" >&6; }
6135 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6136 $as_echo_n "(cached
) " >&6
6138 if test -n "$ac_ct_AR"; then
6139 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6145 test -z "$as_dir" && as_dir=.
6146 for ac_exec_ext in '' $ac_executable_extensions; do
6147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6148 ac_cv_prog_ac_ct_AR="ar"
6149 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6158 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6159 if test -n "$ac_ct_AR"; then
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6161 $as_echo "$ac_ct_AR" >&6; }
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6164 $as_echo "no
" >&6; }
6167 if test "x
$ac_ct_AR" = x; then
6170 case $cross_compiling:$ac_tool_warned in
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6173 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6174 ac_tool_warned=yes ;;
6182 test -z "$AR" && AR=ar
6183 test -z "$AR_FLAGS" && AR_FLAGS=cru
6195 if test -n "$ac_tool_prefix"; then
6196 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6197 set dummy ${ac_tool_prefix}strip; ac_word=$2
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6199 $as_echo_n "checking
for $ac_word...
" >&6; }
6200 if test "${ac_cv_prog_STRIP+set}" = set; then :
6201 $as_echo_n "(cached
) " >&6
6203 if test -n "$STRIP"; then
6204 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6210 test -z "$as_dir" && as_dir=.
6211 for ac_exec_ext in '' $ac_executable_extensions; do
6212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6213 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6214 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6223 STRIP=$ac_cv_prog_STRIP
6224 if test -n "$STRIP"; then
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6226 $as_echo "$STRIP" >&6; }
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6229 $as_echo "no
" >&6; }
6234 if test -z "$ac_cv_prog_STRIP"; then
6236 # Extract the first word of "strip
", so it can be a program name with args.
6237 set dummy strip; ac_word=$2
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6239 $as_echo_n "checking
for $ac_word...
" >&6; }
6240 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6241 $as_echo_n "(cached
) " >&6
6243 if test -n "$ac_ct_STRIP"; then
6244 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6250 test -z "$as_dir" && as_dir=.
6251 for ac_exec_ext in '' $ac_executable_extensions; do
6252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6253 ac_cv_prog_ac_ct_STRIP="strip
"
6254 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6263 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6264 if test -n "$ac_ct_STRIP"; then
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6266 $as_echo "$ac_ct_STRIP" >&6; }
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6269 $as_echo "no
" >&6; }
6272 if test "x
$ac_ct_STRIP" = x; then
6275 case $cross_compiling:$ac_tool_warned in
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6278 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6279 ac_tool_warned=yes ;;
6284 STRIP="$ac_cv_prog_STRIP"
6287 test -z "$STRIP" && STRIP=:
6294 if test -n "$ac_tool_prefix"; then
6295 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6296 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6298 $as_echo_n "checking
for $ac_word...
" >&6; }
6299 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6300 $as_echo_n "(cached
) " >&6
6302 if test -n "$RANLIB"; then
6303 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6309 test -z "$as_dir" && as_dir=.
6310 for ac_exec_ext in '' $ac_executable_extensions; do
6311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6312 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6313 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6322 RANLIB=$ac_cv_prog_RANLIB
6323 if test -n "$RANLIB"; then
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6325 $as_echo "$RANLIB" >&6; }
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6328 $as_echo "no
" >&6; }
6333 if test -z "$ac_cv_prog_RANLIB"; then
6334 ac_ct_RANLIB=$RANLIB
6335 # Extract the first word of "ranlib
", so it can be a program name with args.
6336 set dummy ranlib; ac_word=$2
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6338 $as_echo_n "checking
for $ac_word...
" >&6; }
6339 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6340 $as_echo_n "(cached
) " >&6
6342 if test -n "$ac_ct_RANLIB"; then
6343 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6349 test -z "$as_dir" && as_dir=.
6350 for ac_exec_ext in '' $ac_executable_extensions; do
6351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6352 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6353 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6362 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6363 if test -n "$ac_ct_RANLIB"; then
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6365 $as_echo "$ac_ct_RANLIB" >&6; }
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6368 $as_echo "no
" >&6; }
6371 if test "x
$ac_ct_RANLIB" = x; then
6374 case $cross_compiling:$ac_tool_warned in
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6377 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6378 ac_tool_warned=yes ;;
6380 RANLIB=$ac_ct_RANLIB
6383 RANLIB="$ac_cv_prog_RANLIB"
6386 test -z "$RANLIB" && RANLIB=:
6393 # Determine commands to create old-style static archives.
6394 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6395 old_postinstall_cmds='chmod 644 $oldlib'
6396 old_postuninstall_cmds=
6398 if test -n "$RANLIB"; then
6401 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6404 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6407 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6412 lock_old_archive_extraction=yes ;;
6414 lock_old_archive_extraction=no ;;
6455 # If no C compiler was specified, use CC.
6458 # If no C compiler flags were specified, use CFLAGS.
6459 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6461 # Allow CC to be a program name with arguments.
6465 # Check for command to grab the raw symbol name followed by C symbol from nm.
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6467 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6468 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6469 $as_echo_n "(cached
) " >&6
6472 # These are sane defaults that work on at least a few old systems.
6473 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6475 # Character class describing NM global symbol codes.
6476 symcode='[BCDEGRST]'
6478 # Regexp to match symbols that can be accessed directly from C.
6479 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6481 # Define system-specific variables.
6486 cygwin* | mingw* | pw32* | cegcc*)
6487 symcode='[ABCDGISTW]'
6490 if test "$host_cpu" = ia64; then
6491 symcode='[ABCDEGRST]'
6495 symcode='[BCDEGRST]'
6498 symcode='[BCDEGQRST]'
6509 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6517 # If we're using GNU nm, then use its standard symbol codes.
6518 case `$NM -V 2>&1` in
6519 *GNU* | *'with BFD'*)
6520 symcode='[ABCDGIRSTW]' ;;
6523 # Transform an extracted symbol line into a proper C declaration.
6524 # Some systems (esp. on ia64) link data and code symbols differently,
6525 # so use this general approach.
6526 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6528 # Transform an extracted symbol line into symbol name and symbol address
6529 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6530 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'"
6532 # Handle CRLF in mingw tool chain
6536 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6540 # Try without a prefix underscore, then with it.
6541 for ac_symprfx in "" "_
"; do
6543 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6544 symxfrm="\\1 $ac_symprfx\\2 \\2"
6546 # Write the raw and C identifiers.
6547 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6548 # Fake it for dumpbin and say T for any non-static function
6549 # and D for any global variable.
6550 # Also find C++ and __fastcall symbols from MSVC++,
6551 # which start with @ or ?.
6552 lt_cv_sys_global_symbol_pipe="$AWK '"\
6553 " {last_section=section; section=\$ 3};"\
6554 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6555 " \$ 0!~/External *\|/{next};"\
6556 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6557 " {if(hide[section]) next};"\
6558 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6559 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6560 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6561 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6562 " ' prfx
=^
$ac_symprfx"
6564 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6567 # Check to see that the pipe works correctly.
6571 cat > conftest.$ac_ext <<_LT_EOF
6576 void nm_test_func(void);
6577 void nm_test_func(void){}
6581 int main(){nm_test_var='a';nm_test_func();return(0);}
6584 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6585 (eval $ac_compile) 2>&5
6587 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6588 test $ac_status = 0; }; then
6589 # Now try to grab the symbols.
6591 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6592 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6594 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6595 test $ac_status = 0; } && test -s "$nlist"; then
6596 # Try sorting and uniquifying the output.
6597 if sort "$nlist" | uniq > "$nlist"T; then
6598 mv -f "$nlist"T "$nlist"
6603 # Make sure that we snagged all the symbols we need.
6604 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6605 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6606 cat <<_LT_EOF > conftest.$ac_ext
6612 # Now generate the symbol file.
6613 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6615 cat <<_LT_EOF >> conftest.$ac_ext
6617 /* The mapping between symbol names and symbols. */
6622 lt__PROGRAM__LTX_preloaded_symbols[] =
6624 { "@PROGRAM@
", (void *) 0 },
6626 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6627 cat <<\_LT_EOF >> conftest.$ac_ext
6631 /* This works around a problem in FreeBSD linker */
6632 #ifdef FREEBSD_WORKAROUND
6633 static const void *lt_preloaded_setup() {
6634 return lt__PROGRAM__LTX_preloaded_symbols;
6642 # Now try linking the two files.
6643 mv conftest.$ac_objext conftstm.$ac_objext
6644 lt_save_LIBS="$LIBS"
6645 lt_save_CFLAGS="$CFLAGS"
6646 LIBS="conftstm.
$ac_objext"
6647 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6648 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6649 (eval $ac_link) 2>&5
6651 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6652 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6655 LIBS="$lt_save_LIBS"
6656 CFLAGS="$lt_save_CFLAGS"
6658 echo "cannot
find nm_test_func
in $nlist" >&5
6661 echo "cannot
find nm_test_var
in $nlist" >&5
6664 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6667 echo "$progname: failed program was
:" >&5
6668 cat conftest.$ac_ext >&5
6670 rm -rf conftest* conftst*
6672 # Do not use the global_symbol_pipe unless it works.
6673 if test "$pipe_works" = yes; then
6676 lt_cv_sys_global_symbol_pipe=
6682 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6683 lt_cv_sys_global_symbol_to_cdecl=
6685 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6687 $as_echo "failed
" >&6; }
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6690 $as_echo "ok
" >&6; }
6714 # Check whether --enable-libtool-lock was given.
6715 if test "${enable_libtool_lock+set}" = set; then :
6716 enableval=$enable_libtool_lock;
6719 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6721 # Some flags need to be propagated to the compiler or linker for good
6725 # Find out which ABI we are using.
6726 echo 'int i;' > conftest.$ac_ext
6727 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6728 (eval $ac_compile) 2>&5
6730 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6731 test $ac_status = 0; }; then
6732 case `/usr/bin/file conftest.$ac_objext` in
6744 # Find out which ABI we are using.
6745 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6746 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6747 (eval $ac_compile) 2>&5
6749 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6750 test $ac_status = 0; }; then
6751 if test "$lt_cv_prog_gnu_ld" = yes; then
6752 case `/usr/bin/file conftest.$ac_objext` in
6754 LD="${LD-ld} -melf32bsmip"
6757 LD="${LD-ld} -melf32bmipn32"
6760 LD="${LD-ld} -melf64bmip"
6764 case `/usr/bin/file conftest.$ac_objext` in
6780 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6781 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6782 # Find out which ABI we are using.
6783 echo 'int i;' > conftest.$ac_ext
6784 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6785 (eval $ac_compile) 2>&5
6787 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6788 test $ac_status = 0; }; then
6789 case `/usr/bin/file conftest.o` in
6792 x86_64-*kfreebsd*-gnu)
6793 LD="${LD-ld} -m elf_i386_fbsd
"
6796 case `/usr/bin/file conftest.o` in
6798 LD="${LD-ld} -m elf32_x86_64
"
6801 LD="${LD-ld} -m elf_i386
"
6805 powerpc64le-*linux*)
6806 LD="${LD-ld} -m elf32lppclinux
"
6809 LD="${LD-ld} -m elf32ppclinux
"
6812 LD="${LD-ld} -m elf_s390
"
6815 LD="${LD-ld} -m elf32_sparc
"
6821 x86_64-*kfreebsd*-gnu)
6822 LD="${LD-ld} -m elf_x86_64_fbsd
"
6825 LD="${LD-ld} -m elf_x86_64
"
6828 LD="${LD-ld} -m elf64lppc
"
6831 LD="${LD-ld} -m elf64ppc
"
6833 s390*-*linux*|s390*-*tpf*)
6834 LD="${LD-ld} -m elf64_s390
"
6837 LD="${LD-ld} -m elf64_sparc
"
6847 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6848 SAVE_CFLAGS="$CFLAGS"
6849 CFLAGS="$CFLAGS -belf"
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6851 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6852 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6853 $as_echo_n "(cached
) " >&6
6856 ac_cpp='$CPP $CPPFLAGS'
6857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6862 /* end confdefs.h. */
6872 if ac_fn_c_try_link "$LINENO"; then :
6873 lt_cv_cc_needs_belf=yes
6875 lt_cv_cc_needs_belf=no
6877 rm -f core conftest.err conftest.$ac_objext \
6878 conftest$ac_exeext conftest.$ac_ext
6880 ac_cpp='$CPP $CPPFLAGS'
6881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6887 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6888 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6889 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6890 CFLAGS="$SAVE_CFLAGS"
6894 # Find out which ABI we are using.
6895 echo 'int i;' > conftest.$ac_ext
6896 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6897 (eval $ac_compile) 2>&5
6899 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6900 test $ac_status = 0; }; then
6901 case `/usr/bin/file conftest.o` in
6903 case $lt_cv_prog_gnu_ld in
6904 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6906 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6918 need_locks="$enable_libtool_lock"
6922 rhapsody* | darwin*)
6923 if test -n "$ac_tool_prefix"; then
6924 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6925 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6927 $as_echo_n "checking
for $ac_word...
" >&6; }
6928 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6929 $as_echo_n "(cached
) " >&6
6931 if test -n "$DSYMUTIL"; then
6932 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6938 test -z "$as_dir" && as_dir=.
6939 for ac_exec_ext in '' $ac_executable_extensions; do
6940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6941 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6942 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6951 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6952 if test -n "$DSYMUTIL"; then
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6954 $as_echo "$DSYMUTIL" >&6; }
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6957 $as_echo "no
" >&6; }
6962 if test -z "$ac_cv_prog_DSYMUTIL"; then
6963 ac_ct_DSYMUTIL=$DSYMUTIL
6964 # Extract the first word of "dsymutil
", so it can be a program name with args.
6965 set dummy dsymutil; ac_word=$2
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6967 $as_echo_n "checking
for $ac_word...
" >&6; }
6968 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6969 $as_echo_n "(cached
) " >&6
6971 if test -n "$ac_ct_DSYMUTIL"; then
6972 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6978 test -z "$as_dir" && as_dir=.
6979 for ac_exec_ext in '' $ac_executable_extensions; do
6980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6981 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6982 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6991 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6992 if test -n "$ac_ct_DSYMUTIL"; then
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6994 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6997 $as_echo "no
" >&6; }
7000 if test "x
$ac_ct_DSYMUTIL" = x; then
7003 case $cross_compiling:$ac_tool_warned in
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7006 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7007 ac_tool_warned=yes ;;
7009 DSYMUTIL=$ac_ct_DSYMUTIL
7012 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7015 if test -n "$ac_tool_prefix"; then
7016 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7017 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7019 $as_echo_n "checking
for $ac_word...
" >&6; }
7020 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7021 $as_echo_n "(cached
) " >&6
7023 if test -n "$NMEDIT"; then
7024 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7030 test -z "$as_dir" && as_dir=.
7031 for ac_exec_ext in '' $ac_executable_extensions; do
7032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7033 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7034 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7043 NMEDIT=$ac_cv_prog_NMEDIT
7044 if test -n "$NMEDIT"; then
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7046 $as_echo "$NMEDIT" >&6; }
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7049 $as_echo "no
" >&6; }
7054 if test -z "$ac_cv_prog_NMEDIT"; then
7055 ac_ct_NMEDIT=$NMEDIT
7056 # Extract the first word of "nmedit
", so it can be a program name with args.
7057 set dummy nmedit; ac_word=$2
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7059 $as_echo_n "checking
for $ac_word...
" >&6; }
7060 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7061 $as_echo_n "(cached
) " >&6
7063 if test -n "$ac_ct_NMEDIT"; then
7064 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7070 test -z "$as_dir" && as_dir=.
7071 for ac_exec_ext in '' $ac_executable_extensions; do
7072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7073 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7074 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7083 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7084 if test -n "$ac_ct_NMEDIT"; then
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7086 $as_echo "$ac_ct_NMEDIT" >&6; }
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7089 $as_echo "no
" >&6; }
7092 if test "x
$ac_ct_NMEDIT" = x; then
7095 case $cross_compiling:$ac_tool_warned in
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7098 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7099 ac_tool_warned=yes ;;
7101 NMEDIT=$ac_ct_NMEDIT
7104 NMEDIT="$ac_cv_prog_NMEDIT"
7107 if test -n "$ac_tool_prefix"; then
7108 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7109 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7111 $as_echo_n "checking
for $ac_word...
" >&6; }
7112 if test "${ac_cv_prog_LIPO+set}" = set; then :
7113 $as_echo_n "(cached
) " >&6
7115 if test -n "$LIPO"; then
7116 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7122 test -z "$as_dir" && as_dir=.
7123 for ac_exec_ext in '' $ac_executable_extensions; do
7124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7125 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7126 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7135 LIPO=$ac_cv_prog_LIPO
7136 if test -n "$LIPO"; then
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7138 $as_echo "$LIPO" >&6; }
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7141 $as_echo "no
" >&6; }
7146 if test -z "$ac_cv_prog_LIPO"; then
7148 # Extract the first word of "lipo
", so it can be a program name with args.
7149 set dummy lipo; ac_word=$2
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7151 $as_echo_n "checking
for $ac_word...
" >&6; }
7152 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7153 $as_echo_n "(cached
) " >&6
7155 if test -n "$ac_ct_LIPO"; then
7156 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7162 test -z "$as_dir" && as_dir=.
7163 for ac_exec_ext in '' $ac_executable_extensions; do
7164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7165 ac_cv_prog_ac_ct_LIPO="lipo
"
7166 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7175 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7176 if test -n "$ac_ct_LIPO"; then
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7178 $as_echo "$ac_ct_LIPO" >&6; }
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7181 $as_echo "no
" >&6; }
7184 if test "x
$ac_ct_LIPO" = x; then
7187 case $cross_compiling:$ac_tool_warned in
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7190 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7191 ac_tool_warned=yes ;;
7196 LIPO="$ac_cv_prog_LIPO"
7199 if test -n "$ac_tool_prefix"; then
7200 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7201 set dummy ${ac_tool_prefix}otool; ac_word=$2
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7203 $as_echo_n "checking
for $ac_word...
" >&6; }
7204 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7205 $as_echo_n "(cached
) " >&6
7207 if test -n "$OTOOL"; then
7208 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7214 test -z "$as_dir" && as_dir=.
7215 for ac_exec_ext in '' $ac_executable_extensions; do
7216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7217 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7218 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7227 OTOOL=$ac_cv_prog_OTOOL
7228 if test -n "$OTOOL"; then
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7230 $as_echo "$OTOOL" >&6; }
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7233 $as_echo "no
" >&6; }
7238 if test -z "$ac_cv_prog_OTOOL"; then
7240 # Extract the first word of "otool
", so it can be a program name with args.
7241 set dummy otool; ac_word=$2
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7243 $as_echo_n "checking
for $ac_word...
" >&6; }
7244 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7245 $as_echo_n "(cached
) " >&6
7247 if test -n "$ac_ct_OTOOL"; then
7248 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7254 test -z "$as_dir" && as_dir=.
7255 for ac_exec_ext in '' $ac_executable_extensions; do
7256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7257 ac_cv_prog_ac_ct_OTOOL="otool
"
7258 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7267 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7268 if test -n "$ac_ct_OTOOL"; then
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7270 $as_echo "$ac_ct_OTOOL" >&6; }
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7273 $as_echo "no
" >&6; }
7276 if test "x
$ac_ct_OTOOL" = x; then
7279 case $cross_compiling:$ac_tool_warned in
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7282 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7283 ac_tool_warned=yes ;;
7288 OTOOL="$ac_cv_prog_OTOOL"
7291 if test -n "$ac_tool_prefix"; then
7292 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7293 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7295 $as_echo_n "checking
for $ac_word...
" >&6; }
7296 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7297 $as_echo_n "(cached
) " >&6
7299 if test -n "$OTOOL64"; then
7300 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7306 test -z "$as_dir" && as_dir=.
7307 for ac_exec_ext in '' $ac_executable_extensions; do
7308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7309 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7310 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7319 OTOOL64=$ac_cv_prog_OTOOL64
7320 if test -n "$OTOOL64"; then
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7322 $as_echo "$OTOOL64" >&6; }
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7325 $as_echo "no
" >&6; }
7330 if test -z "$ac_cv_prog_OTOOL64"; then
7331 ac_ct_OTOOL64=$OTOOL64
7332 # Extract the first word of "otool64
", so it can be a program name with args.
7333 set dummy otool64; ac_word=$2
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7335 $as_echo_n "checking
for $ac_word...
" >&6; }
7336 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7337 $as_echo_n "(cached
) " >&6
7339 if test -n "$ac_ct_OTOOL64"; then
7340 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7346 test -z "$as_dir" && as_dir=.
7347 for ac_exec_ext in '' $ac_executable_extensions; do
7348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7349 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7350 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7359 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7360 if test -n "$ac_ct_OTOOL64"; then
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7362 $as_echo "$ac_ct_OTOOL64" >&6; }
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7365 $as_echo "no
" >&6; }
7368 if test "x
$ac_ct_OTOOL64" = x; then
7371 case $cross_compiling:$ac_tool_warned in
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7374 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7375 ac_tool_warned=yes ;;
7377 OTOOL64=$ac_ct_OTOOL64
7380 OTOOL64="$ac_cv_prog_OTOOL64"
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7410 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7411 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7412 $as_echo_n "(cached
) " >&6
7414 lt_cv_apple_cc_single_mod=no
7415 if test -z "${LT_MULTI_MODULE}"; then
7416 # By default we will add the -single_module flag. You can override
7417 # by either setting the environment variable LT_MULTI_MODULE
7418 # non-empty at configure time, or by adding -multi_module to the
7420 rm -rf libconftest.dylib*
7421 echo "int foo
(void
){return 1;}" > conftest.c
7422 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7423 -dynamiclib -Wl,-single_module conftest.c
" >&5
7424 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7425 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7427 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7428 lt_cv_apple_cc_single_mod=yes
7430 cat conftest.err >&5
7432 rm -rf libconftest.dylib*
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7437 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7439 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7440 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7441 $as_echo_n "(cached
) " >&6
7443 lt_cv_ld_exported_symbols_list=no
7444 save_LDFLAGS=$LDFLAGS
7445 echo "_main
" > conftest.sym
7446 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7448 /* end confdefs.h. */
7458 if ac_fn_c_try_link "$LINENO"; then :
7459 lt_cv_ld_exported_symbols_list=yes
7461 lt_cv_ld_exported_symbols_list=no
7463 rm -f core conftest.err conftest.$ac_objext \
7464 conftest$ac_exeext conftest.$ac_ext
7465 LDFLAGS="$save_LDFLAGS"
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7469 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7471 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7472 if test "${lt_cv_ld_force_load+set}" = set; then :
7473 $as_echo_n "(cached
) " >&6
7475 lt_cv_ld_force_load=no
7476 cat > conftest.c << _LT_EOF
7477 int forced_loaded() { return 2;}
7479 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7480 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7481 echo "$AR cru libconftest.a conftest.o
" >&5
7482 $AR cru libconftest.a conftest.o 2>&5
7483 cat > conftest.c << _LT_EOF
7484 int main() { return 0;}
7486 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7487 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7489 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7490 lt_cv_ld_force_load=yes
7492 cat conftest.err >&5
7494 rm -f conftest.err libconftest.a conftest conftest.c
7495 rm -rf conftest.dSYM
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7499 $as_echo "$lt_cv_ld_force_load" >&6; }
7501 rhapsody* | darwin1.[012])
7502 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7504 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7505 darwin*) # darwin 5.x on
7506 # if running on 10.5 or later, the deployment target defaults
7507 # to the OS version, if on x86, and 10.4, the deployment
7508 # target defaults to 10.4. Don't you love it?
7509 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7510 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7511 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7513 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7515 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7519 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7520 _lt_dar_single_mod='$single_module'
7522 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7523 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7525 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7527 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7528 _lt_dsymutil='~$DSYMUTIL $lib || :'
7535 for ac_header in dlfcn.h
7537 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7539 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
7540 cat >>confdefs.h <<_ACEOF
7541 #define HAVE_DLFCN_H 1
7563 # Check whether --enable-shared was given.
7564 if test "${enable_shared+set}" = set; then :
7565 enableval=$enable_shared; p=${PACKAGE-default}
7567 yes) enable_shared=yes ;;
7568 no) enable_shared=no ;;
7571 # Look at the argument we got. We use all the common list separators.
7572 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7573 for pkg in $enableval; do
7575 if test "X
$pkg" = "X
$p"; then
7594 # Check whether --enable-static was given.
7595 if test "${enable_static+set}" = set; then :
7596 enableval=$enable_static; p=${PACKAGE-default}
7598 yes) enable_static=yes ;;
7599 no) enable_static=no ;;
7602 # Look at the argument we got. We use all the common list separators.
7603 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7604 for pkg in $enableval; do
7606 if test "X
$pkg" = "X
$p"; then
7626 # Check whether --with-pic was given.
7627 if test "${with_pic+set}" = set; then :
7628 withval=$with_pic; pic_mode="$withval"
7634 test -z "$pic_mode" && pic_mode=default
7642 # Check whether --enable-fast-install was given.
7643 if test "${enable_fast_install+set}" = set; then :
7644 enableval=$enable_fast_install; p=${PACKAGE-default}
7646 yes) enable_fast_install=yes ;;
7647 no) enable_fast_install=no ;;
7649 enable_fast_install=no
7650 # Look at the argument we got. We use all the common list separators.
7651 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7652 for pkg in $enableval; do
7654 if test "X
$pkg" = "X
$p"; then
7655 enable_fast_install=yes
7662 enable_fast_install=yes
7675 # This can be used to rebuild libtool when needed
7676 LIBTOOL_DEPS="$ltmain"
7678 # Always use our own libtool.
7679 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7706 test -z "$LN_S" && LN_S="ln -s"
7721 if test -n "${ZSH_VERSION+set}" ; then
7722 setopt NO_GLOB_SUBST
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
7726 $as_echo_n "checking
for objdir...
" >&6; }
7727 if test "${lt_cv_objdir+set}" = set; then :
7728 $as_echo_n "(cached
) " >&6
7730 rm -f .libs 2>/dev/null
7731 mkdir .libs 2>/dev/null
7732 if test -d .libs; then
7735 # MS-DOS does not allow filenames that begin with a dot.
7738 rmdir .libs 2>/dev/null
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
7741 $as_echo "$lt_cv_objdir" >&6; }
7742 objdir=$lt_cv_objdir
7748 cat >>confdefs.h <<_ACEOF
7749 #define LT_OBJDIR "$lt_cv_objdir/"
7757 # AIX sometimes has problems with the GCC collect2 program. For some
7758 # reason, if we set the COLLECT_NAMES environment variable, the problems
7759 # vanish in a puff of smoke.
7760 if test "X
${COLLECT_NAMES+set}" != Xset; then
7762 export COLLECT_NAMES
7769 can_build_shared=yes
7771 # All known linkers require a `.a' archive for static linking (except MSVC,
7772 # which needs '.lib').
7775 with_gnu_ld="$lt_cv_prog_gnu_ld"
7778 old_CFLAGS="$CFLAGS"
7780 # Set sane defaults for various variables
7781 test -z "$CC" && CC=cc
7782 test -z "$LTCC" && LTCC=$CC
7783 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7784 test -z "$LD" && LD=ld
7785 test -z "$ac_objext" && ac_objext=o
7787 for cc_temp in $compiler""; do
7789 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7790 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7795 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7798 # Only perform the check for file, if the check method requires it
7799 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7800 case $deplibs_check_method in
7802 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
7804 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
7805 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7806 $as_echo_n "(cached
) " >&6
7810 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7813 lt_save_MAGIC_CMD="$MAGIC_CMD"
7814 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7815 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7816 for ac_dir in $ac_dummy; do
7818 test -z "$ac_dir" && ac_dir=.
7819 if test -f $ac_dir/${ac_tool_prefix}file; then
7820 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7821 if test -n "$file_magic_test_file"; then
7822 case $deplibs_check_method in
7824 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7825 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7826 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7827 $EGREP "$file_magic_regex" > /dev/null; then
7832 *** Warning: the command libtool uses to detect shared libraries,
7833 *** $file_magic_cmd, produces output that libtool cannot recognize.
7834 *** The result is that libtool may fail to recognize shared libraries
7835 *** as such. This will affect the creation of libtool libraries that
7836 *** depend on shared libraries, but programs linked with such libtool
7837 *** libraries will work regardless of this problem. Nevertheless, you
7838 *** may want to report the problem to your system manager and/or to
7839 *** bug-libtool@gnu.org
7849 MAGIC_CMD="$lt_save_MAGIC_CMD"
7854 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7855 if test -n "$MAGIC_CMD"; then
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7857 $as_echo "$MAGIC_CMD" >&6; }
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7860 $as_echo "no
" >&6; }
7867 if test -z "$lt_cv_path_MAGIC_CMD"; then
7868 if test -n "$ac_tool_prefix"; then
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
7870 $as_echo_n "checking
for file...
" >&6; }
7871 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7872 $as_echo_n "(cached
) " >&6
7876 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7879 lt_save_MAGIC_CMD="$MAGIC_CMD"
7880 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7881 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7882 for ac_dir in $ac_dummy; do
7884 test -z "$ac_dir" && ac_dir=.
7885 if test -f $ac_dir/file; then
7886 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7887 if test -n "$file_magic_test_file"; then
7888 case $deplibs_check_method in
7890 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7891 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7892 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7893 $EGREP "$file_magic_regex" > /dev/null; then
7898 *** Warning: the command libtool uses to detect shared libraries,
7899 *** $file_magic_cmd, produces output that libtool cannot recognize.
7900 *** The result is that libtool may fail to recognize shared libraries
7901 *** as such. This will affect the creation of libtool libraries that
7902 *** depend on shared libraries, but programs linked with such libtool
7903 *** libraries will work regardless of this problem. Nevertheless, you
7904 *** may want to report the problem to your system manager and/or to
7905 *** bug-libtool@gnu.org
7915 MAGIC_CMD="$lt_save_MAGIC_CMD"
7920 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7921 if test -n "$MAGIC_CMD"; then
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7923 $as_echo "$MAGIC_CMD" >&6; }
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7926 $as_echo "no
" >&6; }
7939 # Use C for the default configuration in the libtool script
7943 ac_cpp='$CPP $CPPFLAGS'
7944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7949 # Source file extension for C test sources.
7952 # Object file extension for compiled C test sources.
7956 # Code to be used in simple compile tests
7957 lt_simple_compile_test_code="int some_variable
= 0;"
7959 # Code to be used in simple link tests
7960 lt_simple_link_test_code='int main(){return(0);}'
7968 # If no C compiler was specified, use CC.
7971 # If no C compiler flags were specified, use CFLAGS.
7972 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7974 # Allow CC to be a program name with arguments.
7977 # Save the default compiler, since it gets overwritten when the other
7978 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7979 compiler_DEFAULT=$CC
7981 # save warnings/boilerplate of simple test code
7982 ac_outfile=conftest.$ac_objext
7983 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7984 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7985 _lt_compiler_boilerplate=`cat conftest.err`
7988 ac_outfile=conftest.$ac_objext
7989 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7990 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7991 _lt_linker_boilerplate=`cat conftest.err`
7996 ## There is no encapsulation within the following macros, do not change
7997 ## the running order or otherwise move them around unless you know exactly
7998 ## what you are doing...
7999 if test -n "$compiler"; then
8001 lt_prog_compiler_no_builtin_flag=
8003 if test "$GCC" = yes; then
8004 case $cc_basename in
8006 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8008 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8012 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
8013 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8014 $as_echo_n "(cached
) " >&6
8016 lt_cv_prog_compiler_rtti_exceptions=no
8017 ac_outfile=conftest.$ac_objext
8018 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8019 lt_compiler_flag="-fno-rtti -fno-exceptions"
8020 # Insert the option either (1) after the last *FLAGS variable, or
8021 # (2) before a word containing "conftest.
", or (3) at the end.
8022 # Note that $ac_compile itself does not contain backslashes and begins
8023 # with a dollar sign (not a hyphen), so the echo should work correctly.
8024 # The option is referenced via a variable to avoid confusing sed.
8025 lt_compile=`echo "$ac_compile" | $SED \
8026 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8027 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8028 -e 's:$: $lt_compiler_flag:'`
8029 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8030 (eval "$lt_compile" 2>conftest.err)
8032 cat conftest.err >&5
8033 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8034 if (exit $ac_status) && test -s "$ac_outfile"; then
8035 # The compiler can only warn and ignore the option if not recognized
8036 # So say no if there are warnings other than the usual output.
8037 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8038 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8039 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8040 lt_cv_prog_compiler_rtti_exceptions=yes
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8047 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8049 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8050 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8062 lt_prog_compiler_wl=
8063 lt_prog_compiler_pic=
8064 lt_prog_compiler_static=
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
8067 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
8069 if test "$GCC" = yes; then
8070 lt_prog_compiler_wl='-Wl,'
8071 lt_prog_compiler_static='-static'
8075 # All AIX code is PIC.
8076 if test "$host_cpu" = ia64; then
8077 # AIX 5 now supports IA64 processor
8078 lt_prog_compiler_static='-Bstatic'
8080 lt_prog_compiler_pic='-fPIC'
8086 # see comment about AmigaOS4 .so support
8087 lt_prog_compiler_pic='-fPIC'
8090 # FIXME: we need at least 68020 code to build shared libraries, but
8091 # adding the `-m68020' flag to GCC prevents building anything better,
8093 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8098 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8099 # PIC is the default for these OSes.
8102 mingw* | cygwin* | pw32* | os2* | cegcc*)
8103 # This hack is so that the source file can tell whether it is being
8104 # built for inclusion in a dll (and should export symbols for example).
8105 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8106 # (--disable-auto-import) libraries
8107 lt_prog_compiler_pic='-DDLL_EXPORT'
8110 darwin* | rhapsody*)
8111 # PIC is the default on this platform
8112 # Common symbols not allowed in MH_DYLIB files
8113 lt_prog_compiler_pic='-fno-common'
8117 # PIC is the default for Haiku.
8118 # The "-static" flag exists, but is broken.
8119 lt_prog_compiler_static=
8123 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8124 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8125 # sets the default TLS model and affects inlining.
8131 lt_prog_compiler_pic='-fPIC'
8137 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8138 # Instead, we relocate shared libraries at runtime.
8142 # Just because we use GCC doesn't mean we suddenly get shared libraries
8143 # on systems that don't support them.
8144 lt_prog_compiler_can_build_shared=no
8149 # QNX uses GNU C++, but need to define -shared option too, otherwise
8151 lt_prog_compiler_pic='-fPIC -shared'
8155 if test -d /usr/nec; then
8156 lt_prog_compiler_pic=-Kconform_pic
8161 lt_prog_compiler_pic='-fPIC'
8165 case $cc_basename in
8166 nvcc*) # Cuda Compiler Driver 2.2
8167 lt_prog_compiler_wl='-Xlinker '
8168 lt_prog_compiler_pic='-Xcompiler -fPIC'
8172 # PORTME Check for flag to pass linker flags through the system compiler.
8175 lt_prog_compiler_wl='-Wl,'
8176 if test "$host_cpu" = ia64; then
8177 # AIX 5 now supports IA64 processor
8178 lt_prog_compiler_static='-Bstatic'
8180 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8184 mingw* | cygwin* | pw32* | os2* | cegcc*)
8185 # This hack is so that the source file can tell whether it is being
8186 # built for inclusion in a dll (and should export symbols for example).
8187 lt_prog_compiler_pic='-DDLL_EXPORT'
8190 hpux9* | hpux10* | hpux11*)
8191 lt_prog_compiler_wl='-Wl,'
8192 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8199 lt_prog_compiler_pic='+Z'
8202 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8203 lt_prog_compiler_static='${wl}-a ${wl}archive'
8206 irix5* | irix6* | nonstopux*)
8207 lt_prog_compiler_wl='-Wl,'
8208 # PIC (with -KPIC) is the default.
8209 lt_prog_compiler_static='-non_shared'
8212 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8213 case $cc_basename in
8214 # old Intel for x86_64 which still supported -KPIC.
8216 lt_prog_compiler_wl='-Wl,'
8217 lt_prog_compiler_pic='-KPIC'
8218 lt_prog_compiler_static='-static'
8220 # icc used to be incompatible with GCC.
8221 # ICC 10 doesn't accept -KPIC any more.
8223 lt_prog_compiler_wl='-Wl,'
8224 lt_prog_compiler_pic='-fPIC'
8225 lt_prog_compiler_static='-static'
8227 # Lahey Fortran 8.1.
8229 lt_prog_compiler_wl='-Wl,'
8230 lt_prog_compiler_pic='--shared'
8231 lt_prog_compiler_static='--static'
8233 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8234 # Portland Group compilers (*not* the Pentium gcc compiler,
8235 # which looks to be a dead project)
8236 lt_prog_compiler_wl='-Wl,'
8237 lt_prog_compiler_pic='-fpic'
8238 lt_prog_compiler_static='-Bstatic'
8241 lt_prog_compiler_wl='-Wl,'
8242 # All Alpha code is PIC.
8243 lt_prog_compiler_static='-non_shared'
8245 xl* | bgxl* | bgf* | mpixl*)
8246 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8247 lt_prog_compiler_wl='-Wl,'
8248 lt_prog_compiler_pic='-qpic'
8249 lt_prog_compiler_static='-qstaticlink'
8252 case `$CC -V 2>&1 | sed 5q` in
8253 *Sun\ F* | *Sun*Fortran*)
8254 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8255 lt_prog_compiler_pic='-KPIC'
8256 lt_prog_compiler_static='-Bstatic'
8257 lt_prog_compiler_wl=''
8261 lt_prog_compiler_pic='-KPIC'
8262 lt_prog_compiler_static='-Bstatic'
8263 lt_prog_compiler_wl='-Wl,'
8271 lt_prog_compiler_pic='-KPIC'
8272 lt_prog_compiler_static='-Bstatic'
8276 # QNX uses GNU C++, but need to define -shared option too, otherwise
8278 lt_prog_compiler_pic='-fPIC -shared'
8281 osf3* | osf4* | osf5*)
8282 lt_prog_compiler_wl='-Wl,'
8283 # All OSF/1 code is PIC.
8284 lt_prog_compiler_static='-non_shared'
8288 lt_prog_compiler_static='-non_shared'
8292 lt_prog_compiler_pic='-KPIC'
8293 lt_prog_compiler_static='-Bstatic'
8294 case $cc_basename in
8296 lt_prog_compiler_wl='-Qoption ld ';;
8298 lt_prog_compiler_wl='-Wl,';;
8303 lt_prog_compiler_wl='-Qoption ld '
8304 lt_prog_compiler_pic='-PIC'
8305 lt_prog_compiler_static='-Bstatic'
8308 sysv4 | sysv4.2uw2* | sysv4.3*)
8309 lt_prog_compiler_wl='-Wl,'
8310 lt_prog_compiler_pic='-KPIC'
8311 lt_prog_compiler_static='-Bstatic'
8315 if test -d /usr/nec ;then
8316 lt_prog_compiler_pic='-Kconform_pic'
8317 lt_prog_compiler_static='-Bstatic'
8321 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8322 lt_prog_compiler_wl='-Wl,'
8323 lt_prog_compiler_pic='-KPIC'
8324 lt_prog_compiler_static='-Bstatic'
8328 lt_prog_compiler_wl='-Wl,'
8329 lt_prog_compiler_can_build_shared=no
8333 lt_prog_compiler_pic='-pic'
8334 lt_prog_compiler_static='-Bstatic'
8338 lt_prog_compiler_can_build_shared=no
8344 # For platforms which do not support PIC, -DPIC is meaningless:
8346 lt_prog_compiler_pic=
8349 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
8353 $as_echo "$lt_prog_compiler_pic" >&6; }
8361 # Check to make sure the PIC flag actually works.
8363 if test -n "$lt_prog_compiler_pic"; then
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8365 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
8366 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8367 $as_echo_n "(cached
) " >&6
8369 lt_cv_prog_compiler_pic_works=no
8370 ac_outfile=conftest.$ac_objext
8371 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8372 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8373 # Insert the option either (1) after the last *FLAGS variable, or
8374 # (2) before a word containing "conftest.
", or (3) at the end.
8375 # Note that $ac_compile itself does not contain backslashes and begins
8376 # with a dollar sign (not a hyphen), so the echo should work correctly.
8377 # The option is referenced via a variable to avoid confusing sed.
8378 lt_compile=`echo "$ac_compile" | $SED \
8379 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8380 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8381 -e 's:$: $lt_compiler_flag:'`
8382 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8383 (eval "$lt_compile" 2>conftest.err)
8385 cat conftest.err >&5
8386 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8387 if (exit $ac_status) && test -s "$ac_outfile"; then
8388 # The compiler can only warn and ignore the option if not recognized
8389 # So say no if there are warnings other than the usual output.
8390 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8391 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8392 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8393 lt_cv_prog_compiler_pic_works=yes
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
8400 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8402 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8403 case $lt_prog_compiler_pic in
8405 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8408 lt_prog_compiler_pic=
8409 lt_prog_compiler_can_build_shared=no
8420 # Check to make sure the static flag actually works.
8422 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
8424 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
8425 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8426 $as_echo_n "(cached
) " >&6
8428 lt_cv_prog_compiler_static_works=no
8429 save_LDFLAGS="$LDFLAGS"
8430 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8431 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8432 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8433 # The linker can only warn and ignore the option if not recognized
8434 # So say no if there are warnings
8435 if test -s conftest.err; then
8436 # Append any errors to the config.log.
8437 cat conftest.err 1>&5
8438 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8439 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8440 if diff conftest.exp conftest.er2 >/dev/null; then
8441 lt_cv_prog_compiler_static_works=yes
8444 lt_cv_prog_compiler_static_works=yes
8448 LDFLAGS="$save_LDFLAGS"
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
8452 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8454 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8457 lt_prog_compiler_static=
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8467 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8468 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8469 $as_echo_n "(cached
) " >&6
8471 lt_cv_prog_compiler_c_o=no
8472 $RM -r conftest 2>/dev/null
8476 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8478 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8479 # Insert the option either (1) after the last *FLAGS variable, or
8480 # (2) before a word containing "conftest.
", or (3) at the end.
8481 # Note that $ac_compile itself does not contain backslashes and begins
8482 # with a dollar sign (not a hyphen), so the echo should work correctly.
8483 lt_compile=`echo "$ac_compile" | $SED \
8484 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8485 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8486 -e 's:$: $lt_compiler_flag:'`
8487 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8488 (eval "$lt_compile" 2>out/conftest.err)
8490 cat out/conftest.err >&5
8491 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8492 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8494 # The compiler can only warn and ignore the option if not recognized
8495 # So say no if there are warnings
8496 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8497 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8498 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8499 lt_cv_prog_compiler_c_o=yes
8504 # SGI C++ compiler will create directory out/ii_files/ for
8505 # template instantiation
8506 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8507 $RM out/* && rmdir out
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8514 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8522 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8523 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8524 $as_echo_n "(cached
) " >&6
8526 lt_cv_prog_compiler_c_o=no
8527 $RM -r conftest 2>/dev/null
8531 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8533 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8534 # Insert the option either (1) after the last *FLAGS variable, or
8535 # (2) before a word containing "conftest.
", or (3) at the end.
8536 # Note that $ac_compile itself does not contain backslashes and begins
8537 # with a dollar sign (not a hyphen), so the echo should work correctly.
8538 lt_compile=`echo "$ac_compile" | $SED \
8539 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8540 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8541 -e 's:$: $lt_compiler_flag:'`
8542 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8543 (eval "$lt_compile" 2>out/conftest.err)
8545 cat out/conftest.err >&5
8546 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8547 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8549 # The compiler can only warn and ignore the option if not recognized
8550 # So say no if there are warnings
8551 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8552 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8553 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8554 lt_cv_prog_compiler_c_o=yes
8559 # SGI C++ compiler will create directory out/ii_files/ for
8560 # template instantiation
8561 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8562 $RM out/* && rmdir out
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8569 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8574 hard_links="nottested
"
8575 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8576 # do not overwrite the value of need_locks provided by the user
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
8578 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
8581 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8583 ln conftest.a conftest.b 2>&5 || hard_links=no
8584 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
8586 $as_echo "$hard_links" >&6; }
8587 if test "$hard_links" = no; then
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
8589 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
8602 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
8605 allow_undefined_flag=
8606 always_export_symbols=no
8608 archive_expsym_cmds=
8609 compiler_needs_object=no
8610 enable_shared_with_static_runtimes=no
8611 export_dynamic_flag_spec=
8612 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8613 hardcode_automatic=no
8615 hardcode_direct_absolute=no
8616 hardcode_libdir_flag_spec=
8617 hardcode_libdir_flag_spec_ld=
8618 hardcode_libdir_separator=
8620 hardcode_shlibpath_var=unsupported
8622 link_all_deplibs=unknown
8625 old_archive_from_new_cmds=
8626 old_archive_from_expsyms_cmds=
8627 thread_safe_flag_spec=
8628 whole_archive_flag_spec=
8629 # include_expsyms should be a list of space-separated symbols to be *always*
8630 # included in the symbol list
8632 # exclude_expsyms can be an extended regexp of symbols to exclude
8633 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8634 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8635 # as well as any symbol that contains `d'.
8636 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8637 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8638 # platforms (ab)use it in PIC code, but their linkers get confused if
8639 # the symbol is explicitly referenced. Since portable code cannot
8640 # rely on this symbol name, it's probably fine to never include it in
8641 # preloaded symbol tables.
8642 # Exclude shared library initialization/finalization symbols.
8643 extract_expsyms_cmds=
8646 cygwin* | mingw* | pw32* | cegcc*)
8647 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8648 # When not using gcc, we currently assume that we are using
8649 # Microsoft Visual C++.
8650 if test "$GCC" != yes; then
8655 # we just hope/assume this is gcc and not c89 (= MSVC++)
8665 # On some targets, GNU ld is compatible enough with the native linker
8666 # that we're better off using the native interface for both.
8667 lt_use_gnu_ld_interface=no
8668 if test "$with_gnu_ld" = yes; then
8671 # The AIX port of GNU ld has always aspired to compatibility
8672 # with the native linker. However, as the warning in the GNU ld
8673 # block says, versions before 2.19.5* couldn't really create working
8674 # shared libraries, regardless of the interface used.
8675 case `$LD -v 2>&1` in
8676 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8677 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8678 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8680 lt_use_gnu_ld_interface=yes
8685 lt_use_gnu_ld_interface=yes
8690 if test "$lt_use_gnu_ld_interface" = yes; then
8691 # If archive_cmds runs LD, not CC, wlarc should be empty
8694 # Set some defaults for GNU ld with shared library support. These
8695 # are reset later if shared libraries are not supported. Putting them
8696 # here allows them to be overridden if necessary.
8697 runpath_var=LD_RUN_PATH
8698 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8699 export_dynamic_flag_spec='${wl}--export-dynamic'
8700 # ancient GNU ld didn't support --whole-archive et. al.
8701 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8702 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8704 whole_archive_flag_spec=
8706 supports_anon_versioning=no
8707 case `$LD -v 2>&1` in
8708 *GNU\ gold*) supports_anon_versioning=yes ;;
8709 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8710 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8711 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8712 *\ 2.11.*) ;; # other 2.11 versions
8713 *) supports_anon_versioning=yes ;;
8716 # See if GNU ld supports shared libraries.
8719 # On AIX/PPC, the GNU linker is very broken
8720 if test "$host_cpu" != ia64; then
8724 *** Warning: the GNU linker, at least up to release 2.19, is reported
8725 *** to be unable to reliably create shared libraries on AIX.
8726 *** Therefore, libtool is disabling shared libraries support. If you
8727 *** really care for shared libraries, you may want to install binutils
8728 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8729 *** You will then need to restart the configuration process.
8738 # see comment about AmigaOS4 .so support
8739 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8740 archive_expsym_cmds=''
8743 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)'
8744 hardcode_libdir_flag_spec
='-L$libdir'
8745 hardcode_minus_L
=yes
8751 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8752 allow_undefined_flag
=unsupported
8753 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8754 # support --undefined. This deserves some investigation. FIXME
8755 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8761 cygwin
* | mingw
* | pw32
* | cegcc
*)
8762 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8763 # as there is no search path for DLLs.
8764 hardcode_libdir_flag_spec
='-L$libdir'
8765 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8766 allow_undefined_flag
=unsupported
8767 always_export_symbols
=no
8768 enable_shared_with_static_runtimes
=yes
8769 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8771 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8772 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8773 # If the export-symbols file already is a .def file (1st line
8774 # is EXPORTS), use it as is; otherwise, prepend...
8775 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8776 cp $export_symbols $output_objdir/$soname.def;
8778 echo EXPORTS > $output_objdir/$soname.def;
8779 cat $export_symbols >> $output_objdir/$soname.def;
8781 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8788 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8789 link_all_deplibs
=yes
8794 hardcode_shlibpath_var
=no
8795 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8796 export_dynamic_flag_spec
='${wl}-E'
8797 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8798 # Instead, shared libraries are loaded at an image base (0x10000000 by
8799 # default) and relocated if they conflict, which is a slow very memory
8800 # consuming and fragmenting process. To avoid this, we pick a random,
8801 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8802 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8803 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8804 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'
8807 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8809 if test "$host_os" = linux-dietlibc
; then
8810 case $cc_basename in
8811 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8814 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8815 && test "$tmp_diet" = no
8818 tmp_sharedflag
='-shared'
8819 case $cc_basename,$host_cpu in
8820 pgcc
*) # Portland Group C compiler
8821 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'
8822 tmp_addflag
=' $pic_flag'
8824 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8825 # Portland Group f77 and f90 compilers
8826 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'
8827 tmp_addflag
=' $pic_flag -Mnomain' ;;
8828 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8829 tmp_addflag
=' -i_dynamic' ;;
8830 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8831 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8832 ifc
* | ifort
*) # Intel Fortran compiler
8833 tmp_addflag
=' -nofor_main' ;;
8834 lf95
*) # Lahey Fortran 8.1
8835 whole_archive_flag_spec
=
8836 tmp_sharedflag
='--shared' ;;
8837 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8838 tmp_sharedflag
='-qmkshrobj'
8840 nvcc
*) # Cuda Compiler Driver 2.2
8841 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'
8842 compiler_needs_object
=yes
8845 case `$CC -V 2>&1 | sed 5q` in
8846 *Sun\ C
*) # Sun C 5.9
8847 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'
8848 compiler_needs_object
=yes
8849 tmp_sharedflag
='-G' ;;
8850 *Sun\ F
*) # Sun Fortran 8.3
8851 tmp_sharedflag
='-G' ;;
8853 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8855 if test "x$supports_anon_versioning" = xyes
; then
8856 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8857 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8858 echo "local: *; };" >> $output_objdir/$libname.ver~
8859 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8862 case $cc_basename in
8863 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8864 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8865 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8866 hardcode_libdir_flag_spec
=
8867 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8868 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8869 if test "x$supports_anon_versioning" = xyes
; then
8870 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8871 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8872 echo "local: *; };" >> $output_objdir/$libname.ver~
8873 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8883 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8884 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8887 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8888 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8893 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8897 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8898 *** create shared libraries on Solaris systems. Therefore, libtool
8899 *** is disabling shared libraries support. We urge you to upgrade GNU
8900 *** binutils to release 2.9.1 or newer. Another option is to modify
8901 *** your PATH or compiler configuration so that the native linker is
8902 *** used, and then restart.
8905 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8906 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8907 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8913 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8914 case `$LD -v 2>&1` in
8915 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8919 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8920 *** reliably create shared libraries on SCO systems. Therefore, libtool
8921 *** is disabling shared libraries support. We urge you to upgrade GNU
8922 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8923 *** your PATH or compiler configuration so that the native linker is
8924 *** used, and then restart.
8929 # For security reasons, it is highly recommended that you always
8930 # use absolute paths for naming shared libraries, and exclude the
8931 # DT_RUNPATH tag from executables and libraries. But doing so
8932 # requires that you compile everything twice, which is a pain.
8933 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8934 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8935 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8936 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8945 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8948 hardcode_shlibpath_var
=no
8952 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8953 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8954 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8961 if test "$ld_shlibs" = no
; then
8963 hardcode_libdir_flag_spec
=
8964 export_dynamic_flag_spec
=
8965 whole_archive_flag_spec
=
8968 # PORTME fill in a description of your system's linker (not GNU ld)
8971 allow_undefined_flag
=unsupported
8972 always_export_symbols
=yes
8973 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'
8974 # Note: this linker hardcodes the directories in LIBPATH if there
8975 # are no directories specified by -L.
8976 hardcode_minus_L
=yes
8977 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8978 # Neither direct hardcoding nor static linking is supported with a
8980 hardcode_direct
=unsupported
8985 if test "$host_cpu" = ia64
; then
8986 # On IA64, the linker does run time linking by default, so we don't
8987 # have to do anything special.
8988 aix_use_runtimelinking
=no
8989 exp_sym_flag
='-Bexport'
8992 # If we're using GNU nm, then we don't want the "-C" option.
8993 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8994 # Also, AIX nm treats weak defined symbols like other global
8995 # defined symbols, whereas GNU nm marks them as "W".
8996 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8997 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'
8999 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9001 aix_use_runtimelinking
=no
9003 # Test if we are trying to use run time linking or normal
9004 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9005 # need to do runtime linking.
9006 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9007 for ld_flag
in $LDFLAGS; do
9008 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9009 aix_use_runtimelinking
=yes
9016 exp_sym_flag
='-bexport'
9017 no_entry_flag
='-bnoentry'
9020 # When large executables or shared objects are built, AIX ld can
9021 # have problems creating the table of contents. If linking a library
9022 # or program results in "error TOC overflow" add -mminimal-toc to
9023 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9024 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9028 hardcode_direct_absolute
=yes
9029 hardcode_libdir_separator
=':'
9030 link_all_deplibs
=yes
9031 file_list_spec
='${wl}-f,'
9033 if test "$GCC" = yes; then
9034 case $host_os in aix4.
[012]|aix4.
[012].
*)
9035 # We only want to do this on AIX 4.2 and lower, the check
9036 # below for broken collect2 doesn't work under 4.3+
9037 collect2name
=`${CC} -print-prog-name=collect2`
9038 if test -f "$collect2name" &&
9039 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9041 # We have reworked collect2
9044 # We have old collect2
9045 hardcode_direct
=unsupported
9046 # It fails to find uninstalled libraries when the uninstalled
9047 # path is not listed in the libpath. Setting hardcode_minus_L
9048 # to unsupported forces relinking
9049 hardcode_minus_L
=yes
9050 hardcode_libdir_flag_spec
='-L$libdir'
9051 hardcode_libdir_separator
=
9055 shared_flag
='-shared'
9056 if test "$aix_use_runtimelinking" = yes; then
9057 shared_flag
="$shared_flag "'${wl}-G'
9061 if test "$host_cpu" = ia64
; then
9062 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9063 # chokes on -Wl,-G. The following line is correct:
9066 if test "$aix_use_runtimelinking" = yes; then
9067 shared_flag
='${wl}-G'
9069 shared_flag
='${wl}-bM:SRE'
9074 export_dynamic_flag_spec
='${wl}-bexpall'
9075 # It seems that -bexpall does not export symbols beginning with
9076 # underscore (_), so it is better to generate a list of symbols to export.
9077 always_export_symbols
=yes
9078 if test "$aix_use_runtimelinking" = yes; then
9079 # Warning - without using the other runtime loading flags (-brtl),
9080 # -berok will link without error, but may produce a broken library.
9081 allow_undefined_flag
='-berok'
9082 # Determine the default libpath from the value encoded in an
9084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9085 /* end confdefs.h. */
9095 if ac_fn_c_try_link
"$LINENO"; then :
9097 lt_aix_libpath_sed
='
9098 /Import File Strings/,/^$/ {
9104 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9105 # Check for a 64-bit object if we didn't find anything.
9106 if test -z "$aix_libpath"; then
9107 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9110 rm -f core conftest.err conftest.
$ac_objext \
9111 conftest
$ac_exeext conftest.
$ac_ext
9112 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9114 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9115 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"
9117 if test "$host_cpu" = ia64
; then
9118 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9119 allow_undefined_flag
="-z nodefs"
9120 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"
9122 # Determine the default libpath from the value encoded in an
9124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9125 /* end confdefs.h. */
9135 if ac_fn_c_try_link
"$LINENO"; then :
9137 lt_aix_libpath_sed
='
9138 /Import File Strings/,/^$/ {
9144 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9145 # Check for a 64-bit object if we didn't find anything.
9146 if test -z "$aix_libpath"; then
9147 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9150 rm -f core conftest.err conftest.
$ac_objext \
9151 conftest
$ac_exeext conftest.
$ac_ext
9152 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9154 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9155 # Warning - without using the other run time loading flags,
9156 # -berok will link without error, but may produce a broken library.
9157 no_undefined_flag
=' ${wl}-bernotok'
9158 allow_undefined_flag
=' ${wl}-berok'
9159 if test "$with_gnu_ld" = yes; then
9160 # We only use this code for GNU lds that support --whole-archive.
9161 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9163 # Exported symbols can be pulled into shared objects from archives
9164 whole_archive_flag_spec
='$convenience'
9166 archive_cmds_need_lc
=yes
9167 # This is similar to how AIX traditionally builds its shared libraries.
9168 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'
9176 # see comment about AmigaOS4 .so support
9177 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9178 archive_expsym_cmds
=''
9181 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)'
9182 hardcode_libdir_flag_spec
='-L$libdir'
9183 hardcode_minus_L
=yes
9189 export_dynamic_flag_spec
=-rdynamic
9192 cygwin
* | mingw
* | pw32
* | cegcc
*)
9193 # When not using gcc, we currently assume that we are using
9194 # Microsoft Visual C++.
9195 # hardcode_libdir_flag_spec is actually meaningless, as there is
9196 # no search path for DLLs.
9197 hardcode_libdir_flag_spec
=' '
9198 allow_undefined_flag
=unsupported
9199 # Tell ltmain to make .lib files, not .a files.
9201 # Tell ltmain to make .dll files, not .so files.
9203 # FIXME: Setting linknames here is a bad hack.
9204 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9205 # The linker will automatically build a .lib file if we build a DLL.
9206 old_archive_from_new_cmds
='true'
9207 # FIXME: Should let the user specify the lib program.
9208 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9209 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9210 enable_shared_with_static_runtimes
=yes
9213 darwin
* | rhapsody
*)
9216 archive_cmds_need_lc
=no
9218 hardcode_automatic
=yes
9219 hardcode_shlibpath_var
=unsupported
9220 if test "$lt_cv_ld_force_load" = "yes"; then
9221 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\"`'
9223 whole_archive_flag_spec
=''
9225 link_all_deplibs
=yes
9226 allow_undefined_flag
="$_lt_dar_allow_undefined"
9227 case $cc_basename in
9228 ifort
*) _lt_dar_can_shared
=yes ;;
9229 *) _lt_dar_can_shared
=$GCC ;;
9231 if test "$_lt_dar_can_shared" = "yes"; then
9232 output_verbose_link_cmd
=func_echo_all
9233 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9234 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9235 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}"
9236 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}"
9245 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9246 hardcode_libdir_flag_spec
='-L$libdir'
9247 hardcode_shlibpath_var
=no
9250 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9251 # support. Future versions do this automatically, but an explicit c++rt0.o
9252 # does not break anything, and helps significantly (at the cost of a little
9255 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9256 hardcode_libdir_flag_spec
='-R$libdir'
9258 hardcode_shlibpath_var
=no
9261 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9263 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9265 hardcode_minus_L
=yes
9266 hardcode_shlibpath_var
=no
9269 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9270 freebsd
* | dragonfly
*)
9271 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9272 hardcode_libdir_flag_spec
='-R$libdir'
9274 hardcode_shlibpath_var
=no
9278 if test "$GCC" = yes; then
9279 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'
9281 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'
9283 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9284 hardcode_libdir_separator
=:
9287 # hardcode_minus_L: Not really in the search PATH,
9288 # but as the default location of the library.
9289 hardcode_minus_L
=yes
9290 export_dynamic_flag_spec
='${wl}-E'
9294 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9295 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9297 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9299 if test "$with_gnu_ld" = no
; then
9300 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9301 hardcode_libdir_flag_spec_ld
='+b $libdir'
9302 hardcode_libdir_separator
=:
9304 hardcode_direct_absolute
=yes
9305 export_dynamic_flag_spec
='${wl}-E'
9306 # hardcode_minus_L: Not really in the search PATH,
9307 # but as the default location of the library.
9308 hardcode_minus_L
=yes
9313 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9316 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9319 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9322 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9328 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9331 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9335 # Older versions of the 11.00 compiler do not understand -b yet
9336 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9338 $as_echo_n "checking if $CC understands -b... " >&6; }
9339 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9340 $as_echo_n "(cached) " >&6
9342 lt_cv_prog_compiler__b
=no
9343 save_LDFLAGS
="$LDFLAGS"
9344 LDFLAGS
="$LDFLAGS -b"
9345 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9346 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9347 # The linker can only warn and ignore the option if not recognized
9348 # So say no if there are warnings
9349 if test -s conftest.err
; then
9350 # Append any errors to the config.log.
9351 cat conftest.err
1>&5
9352 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9353 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9354 if diff conftest.exp conftest.er2
>/dev
/null
; then
9355 lt_cv_prog_compiler__b
=yes
9358 lt_cv_prog_compiler__b
=yes
9362 LDFLAGS
="$save_LDFLAGS"
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9366 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9368 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9369 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9371 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9377 if test "$with_gnu_ld" = no
; then
9378 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9379 hardcode_libdir_separator
=:
9384 hardcode_shlibpath_var
=no
9388 hardcode_direct_absolute
=yes
9389 export_dynamic_flag_spec
='${wl}-E'
9391 # hardcode_minus_L: Not really in the search PATH,
9392 # but as the default location of the library.
9393 hardcode_minus_L
=yes
9399 irix5
* | irix6
* | nonstopux
*)
9400 if test "$GCC" = yes; then
9401 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'
9402 # Try to use the -exported_symbol ld option, if it does not
9403 # work, assume that -exports_file does not work either and
9404 # implicitly export all symbols.
9405 save_LDFLAGS
="$LDFLAGS"
9406 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9408 /* end confdefs.h. */
9411 if ac_fn_c_try_link
"$LINENO"; then :
9412 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'
9415 rm -f core conftest.err conftest.
$ac_objext \
9416 conftest
$ac_exeext conftest.
$ac_ext
9417 LDFLAGS
="$save_LDFLAGS"
9419 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'
9420 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'
9422 archive_cmds_need_lc
='no'
9423 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9424 hardcode_libdir_separator
=:
9426 link_all_deplibs
=yes
9430 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9431 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9433 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9435 hardcode_libdir_flag_spec
='-R$libdir'
9437 hardcode_shlibpath_var
=no
9441 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9443 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9444 hardcode_libdir_separator
=:
9445 hardcode_shlibpath_var
=no
9452 if test -f /usr
/libexec
/ld.so
; then
9454 hardcode_shlibpath_var
=no
9455 hardcode_direct_absolute
=yes
9456 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9457 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9458 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9459 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9460 export_dynamic_flag_spec
='${wl}-E'
9463 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9464 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9465 hardcode_libdir_flag_spec
='-R$libdir'
9468 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9469 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9479 hardcode_libdir_flag_spec
='-L$libdir'
9480 hardcode_minus_L
=yes
9481 allow_undefined_flag
=unsupported
9482 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'
9483 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9487 if test "$GCC" = yes; then
9488 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9489 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'
9491 allow_undefined_flag
=' -expect_unresolved \*'
9492 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'
9494 archive_cmds_need_lc
='no'
9495 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9496 hardcode_libdir_separator
=:
9499 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9500 if test "$GCC" = yes; then
9501 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9502 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'
9503 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9505 allow_undefined_flag
=' -expect_unresolved \*'
9506 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'
9507 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~
9508 $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'
9510 # Both c and cxx compiler support -rpath directly
9511 hardcode_libdir_flag_spec
='-rpath $libdir'
9513 archive_cmds_need_lc
='no'
9514 hardcode_libdir_separator
=:
9518 no_undefined_flag
=' -z defs'
9519 if test "$GCC" = yes; then
9521 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9522 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9523 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9525 case `$CC -V 2>&1` in
9528 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9529 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9530 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9534 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9535 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9536 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9540 hardcode_libdir_flag_spec
='-R$libdir'
9541 hardcode_shlibpath_var
=no
9543 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9545 # The compiler driver will combine and reorder linker options,
9546 # but understands `-z linker_flag'. GCC discards it without `$wl',
9547 # but is careful enough not to reorder.
9548 # Supported since Solaris 2.6 (maybe 2.5.1?)
9549 if test "$GCC" = yes; then
9550 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9552 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9556 link_all_deplibs
=yes
9560 if test "x$host_vendor" = xsequent
; then
9561 # Use $CC to link under sequent, because it throws in some extra .o
9562 # files that make .init and .fini sections work.
9563 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9565 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9567 hardcode_libdir_flag_spec
='-L$libdir'
9569 hardcode_minus_L
=yes
9570 hardcode_shlibpath_var
=no
9574 case $host_vendor in
9576 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9577 hardcode_direct
=yes # is this really true???
9580 ## LD is ld it makes a PLAMLIB
9581 ## CC just makes a GrossModule.
9582 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9583 reload_cmds
='$CC -r -o $output$reload_objs'
9587 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9588 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9591 runpath_var
='LD_RUN_PATH'
9592 hardcode_shlibpath_var
=no
9596 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9597 hardcode_shlibpath_var
=no
9598 export_dynamic_flag_spec
='-Bexport'
9602 if test -d /usr
/nec
; then
9603 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9604 hardcode_shlibpath_var
=no
9605 runpath_var
=LD_RUN_PATH
9606 hardcode_runpath_var
=yes
9611 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9612 no_undefined_flag
='${wl}-z,text'
9613 archive_cmds_need_lc
=no
9614 hardcode_shlibpath_var
=no
9615 runpath_var
='LD_RUN_PATH'
9617 if test "$GCC" = yes; then
9618 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9619 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9621 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9622 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9626 sysv5
* | sco3.2v5
* | sco5v6
*)
9627 # Note: We can NOT use -z defs as we might desire, because we do not
9628 # link with -lc, and that would cause any symbols used from libc to
9629 # always be unresolved, which means just about no library would
9630 # ever link correctly. If we're not using GNU ld we use -z text
9631 # though, which does catch some bad symbols but isn't as heavy-handed
9633 no_undefined_flag
='${wl}-z,text'
9634 allow_undefined_flag
='${wl}-z,nodefs'
9635 archive_cmds_need_lc
=no
9636 hardcode_shlibpath_var
=no
9637 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9638 hardcode_libdir_separator
=':'
9639 link_all_deplibs
=yes
9640 export_dynamic_flag_spec
='${wl}-Bexport'
9641 runpath_var
='LD_RUN_PATH'
9643 if test "$GCC" = yes; then
9644 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9645 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9647 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9648 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9653 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9654 hardcode_libdir_flag_spec
='-L$libdir'
9655 hardcode_shlibpath_var
=no
9663 if test x
$host_vendor = xsni
; then
9665 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9666 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9673 $as_echo "$ld_shlibs" >&6; }
9674 test "$ld_shlibs" = no
&& can_build_shared
=no
9676 with_gnu_ld
=$with_gnu_ld
9693 # Do we need to explicitly link libc?
9695 case "x$archive_cmds_need_lc" in
9697 # Assume -lc should be added
9698 archive_cmds_need_lc
=yes
9700 if test "$enable_shared" = yes && test "$GCC" = yes; then
9701 case $archive_cmds in
9703 # FIXME: we may have to deal with multi-command sequences.
9706 # Test whether the compiler implicitly links with -lc since on some
9707 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9708 # to ld, don't add -lc before -lgcc.
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9710 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9711 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9712 $as_echo_n "(cached) " >&6
9715 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9717 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9718 (eval $ac_compile) 2>&5
9720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9721 test $ac_status = 0; } 2>conftest.err
; then
9724 libobjs
=conftest.
$ac_objext
9726 wl
=$lt_prog_compiler_wl
9727 pic_flag
=$lt_prog_compiler_pic
9733 lt_save_allow_undefined_flag
=$allow_undefined_flag
9734 allow_undefined_flag
=
9735 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9736 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9739 test $ac_status = 0; }
9741 lt_cv_archive_cmds_need_lc
=no
9743 lt_cv_archive_cmds_need_lc
=yes
9745 allow_undefined_flag
=$lt_save_allow_undefined_flag
9747 cat conftest.err
1>&5
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9753 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9754 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9918 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9920 if test "$GCC" = yes; then
9922 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9923 *) lt_awk_arg
="/^libraries:/" ;;
9926 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9927 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9929 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9930 case $lt_search_path_spec in
9932 # if the path contains ";" then we assume it to be the separator
9933 # otherwise default to the standard path separator (i.e. ":") - it is
9934 # assumed that no part of a normal pathname contains ";" but that should
9935 # okay in the real world where ";" in dirpaths is itself problematic.
9936 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9939 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9942 # Ok, now we have the path, separated by spaces, we can step through it
9943 # and add multilib dir if necessary.
9944 lt_tmp_lt_search_path_spec
=
9945 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9946 for lt_sys_path
in $lt_search_path_spec; do
9947 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9948 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9950 test -d "$lt_sys_path" && \
9951 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9954 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9955 BEGIN {RS=" "; FS="/|\n";} {
9958 for (lt_i = NF; lt_i > 0; lt_i--) {
9959 if ($lt_i != "" && $lt_i != ".") {
9960 if ($lt_i == "..") {
9963 if (lt_count == 0) {
9964 lt_foo="/" $lt_i lt_foo;
9971 if (lt_foo != "") { lt_freq[lt_foo]++; }
9972 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9974 # AWK program above erroneously prepends '/' to C:/dos/paths
9977 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9978 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9980 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9982 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9985 libname_spec
='lib$name'
9993 shlibpath_overrides_runpath
=unknown
9995 dynamic_linker
="$host_os ld.so"
9996 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9997 need_lib_prefix
=unknown
9998 hardcode_into_libs
=no
10000 # when you set need_version to no, make sure it does not cause -set_version
10001 # flags to be left without arguments
10002 need_version
=unknown
10007 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10008 shlibpath_var
=LIBPATH
10010 # AIX 3 has no versioning support, so we append a major version to the name.
10011 soname_spec
='${libname}${release}${shared_ext}$major'
10018 hardcode_into_libs
=yes
10019 if test "$host_cpu" = ia64
; then
10020 # AIX 5 supports IA64
10021 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10022 shlibpath_var
=LD_LIBRARY_PATH
10024 # With GCC up to 2.95.x, collect2 would create an import file
10025 # for dependence libraries. The import file would start with
10026 # the line `#! .'. This would cause the generated library to
10027 # depend on `.', always an invalid library. This was fixed in
10028 # development snapshots of GCC prior to 3.0.
10030 aix4 | aix4.
[01] | aix4.
[01].
*)
10031 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10033 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10036 can_build_shared
=no
10040 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10041 # soname into executable. Probably we can add versioning support to
10042 # collect2, so additional links can be useful in future.
10043 if test "$aix_use_runtimelinking" = yes; then
10044 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10045 # instead of lib<name>.a to let people know that these are not
10046 # typical AIX shared libraries.
10047 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10049 # We preserve .a as extension for shared libraries through AIX4.2
10050 # and later when we are not doing run time linking.
10051 library_names_spec
='${libname}${release}.a $libname.a'
10052 soname_spec
='${libname}${release}${shared_ext}$major'
10054 shlibpath_var
=LIBPATH
10061 # Since July 2007 AmigaOS4 officially supports .so libraries.
10062 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10063 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10066 library_names_spec
='$libname.ixlibrary $libname.a'
10067 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10068 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'
10074 library_names_spec
='${libname}${shared_ext}'
10075 dynamic_linker
="$host_os ld.so"
10076 shlibpath_var
=LIBRARY_PATH
10082 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10083 soname_spec
='${libname}${release}${shared_ext}$major'
10084 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10085 shlibpath_var
=LD_LIBRARY_PATH
10086 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10087 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10088 # the default ld.so.conf also contains /usr/contrib/lib and
10089 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10090 # libtool to hard-code these into programs
10093 cygwin
* | mingw
* | pw32
* | cegcc
*)
10094 version_type
=windows
10099 case $GCC,$host_os in
10100 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10101 library_names_spec
='$libname.dll.a'
10102 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10103 postinstall_cmds
='base_file=`basename \${file}`~
10104 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10105 dldir=$destdir/`dirname \$dlpath`~
10106 test -d \$dldir || mkdir -p \$dldir~
10107 $install_prog $dir/$dlname \$dldir/$dlname~
10108 chmod a+x \$dldir/$dlname~
10109 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10110 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10112 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10113 dlpath=$dir/\$dldll~
10115 shlibpath_overrides_runpath
=yes
10119 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10120 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10122 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10125 # MinGW DLLs use traditional 'lib' prefix
10126 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10129 # pw32 DLLs use 'pw' prefix rather than 'lib'
10130 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10136 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10139 dynamic_linker
='Win32 ld.exe'
10140 # FIXME: first we should search . and the directory the executable is in
10144 darwin
* | rhapsody
*)
10145 dynamic_linker
="$host_os dyld"
10146 version_type
=darwin
10149 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10150 soname_spec
='${libname}${release}${major}$shared_ext'
10151 shlibpath_overrides_runpath
=yes
10152 shlibpath_var
=DYLD_LIBRARY_PATH
10153 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10155 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10156 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10163 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10164 soname_spec
='${libname}${release}${shared_ext}$major'
10165 shlibpath_var
=LD_LIBRARY_PATH
10168 freebsd
* | dragonfly
*)
10169 # DragonFly does not have aout. When/if they implement a new
10170 # versioning mechanism, adjust this.
10171 if test -x /usr
/bin
/objformat
; then
10172 objformat
=`/usr/bin/objformat`
10175 freebsd
[23].
*) objformat
=aout
;;
10176 *) objformat
=elf
;;
10179 version_type
=freebsd-
$objformat
10180 case $version_type in
10182 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10187 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10191 shlibpath_var
=LD_LIBRARY_PATH
10194 shlibpath_overrides_runpath
=yes
10196 freebsd3.
[01]* | freebsdelf3.
[01]*)
10197 shlibpath_overrides_runpath
=yes
10198 hardcode_into_libs
=yes
10200 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10201 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10202 shlibpath_overrides_runpath
=no
10203 hardcode_into_libs
=yes
10205 *) # from 4.6 on, and DragonFly
10206 shlibpath_overrides_runpath
=yes
10207 hardcode_into_libs
=yes
10216 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10217 soname_spec
='${libname}${release}${shared_ext}$major'
10218 shlibpath_var
=LD_LIBRARY_PATH
10219 hardcode_into_libs
=yes
10226 dynamic_linker
="$host_os runtime_loader"
10227 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10228 soname_spec
='${libname}${release}${shared_ext}$major'
10229 shlibpath_var
=LIBRARY_PATH
10230 shlibpath_overrides_runpath
=yes
10231 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10232 hardcode_into_libs
=yes
10235 hpux9
* | hpux10
* | hpux11
*)
10236 # Give a soname corresponding to the major version so that dld.sl refuses to
10237 # link against other versions.
10244 hardcode_into_libs
=yes
10245 dynamic_linker
="$host_os dld.so"
10246 shlibpath_var
=LD_LIBRARY_PATH
10247 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10248 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10249 soname_spec
='${libname}${release}${shared_ext}$major'
10250 if test "X$HPUX_IA64_MODE" = X32
; then
10251 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10253 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10255 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10259 hardcode_into_libs
=yes
10260 dynamic_linker
="$host_os dld.sl"
10261 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10262 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10263 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10264 soname_spec
='${libname}${release}${shared_ext}$major'
10265 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10266 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10270 dynamic_linker
="$host_os dld.sl"
10271 shlibpath_var
=SHLIB_PATH
10272 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10273 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10274 soname_spec
='${libname}${release}${shared_ext}$major'
10277 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10278 postinstall_cmds
='chmod 555 $lib'
10279 # or fails outright, so override atomically:
10280 install_override_mode
=555
10287 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10288 soname_spec
='${libname}${release}${shared_ext}$major'
10289 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10290 shlibpath_var
=LD_LIBRARY_PATH
10291 shlibpath_overrides_runpath
=no
10292 hardcode_into_libs
=yes
10295 irix5
* | irix6
* | nonstopux
*)
10297 nonstopux
*) version_type
=nonstopux
;;
10299 if test "$lt_cv_prog_gnu_ld" = yes; then
10307 soname_spec
='${libname}${release}${shared_ext}$major'
10308 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10310 irix5
* | nonstopux
*)
10311 libsuff
= shlibsuff
=
10314 case $LD in # libtool.m4 will add one of these switches to LD
10315 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10316 libsuff
= shlibsuff
= libmagic
=32-bit;;
10317 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10318 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10319 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10320 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10321 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10325 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10326 shlibpath_overrides_runpath
=no
10327 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10328 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10329 hardcode_into_libs
=yes
10332 # No shared lib support for Linux oldld, aout, or coff.
10333 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10337 # This must be Linux ELF.
10338 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10342 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10343 soname_spec
='${libname}${release}${shared_ext}$major'
10344 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10345 shlibpath_var
=LD_LIBRARY_PATH
10346 shlibpath_overrides_runpath
=no
10348 # Some binutils ld are patched to set DT_RUNPATH
10349 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10350 $as_echo_n "(cached) " >&6
10352 lt_cv_shlibpath_overrides_runpath
=no
10353 save_LDFLAGS
=$LDFLAGS
10354 save_libdir
=$libdir
10355 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10356 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10358 /* end confdefs.h. */
10368 if ac_fn_c_try_link
"$LINENO"; then :
10369 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10370 lt_cv_shlibpath_overrides_runpath
=yes
10373 rm -f core conftest.err conftest.
$ac_objext \
10374 conftest
$ac_exeext conftest.
$ac_ext
10375 LDFLAGS
=$save_LDFLAGS
10376 libdir
=$save_libdir
10380 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10382 # This implies no fast_install, which is unacceptable.
10383 # Some rework will be needed to allow for fast_install
10384 # before this can be enabled.
10385 hardcode_into_libs
=yes
10387 # Append ld.so.conf contents to the search path
10388 if test -f /etc
/ld.so.conf
; then
10389 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' ' '`
10390 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10393 # We used to test for /lib/ld.so.1 and disable shared libraries on
10394 # powerpc, because MkLinux only supported shared libraries with the
10395 # GNU dynamic linker. Since this was broken with cross compilers,
10396 # most powerpc-linux boxes support dynamic linking these days and
10397 # people can always --disable-shared, the test was removed, and we
10398 # assume the GNU/Linux dynamic linker is in use.
10399 dynamic_linker
='GNU/Linux ld.so'
10406 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10407 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10408 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10409 dynamic_linker
='NetBSD (a.out) ld.so'
10411 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10412 soname_spec
='${libname}${release}${shared_ext}$major'
10413 dynamic_linker
='NetBSD ld.elf_so'
10415 shlibpath_var
=LD_LIBRARY_PATH
10416 shlibpath_overrides_runpath
=yes
10417 hardcode_into_libs
=yes
10422 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10423 shlibpath_var
=LD_LIBRARY_PATH
10424 shlibpath_overrides_runpath
=yes
10431 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10432 soname_spec
='${libname}${release}${shared_ext}$major'
10433 shlibpath_var
=LD_LIBRARY_PATH
10434 shlibpath_overrides_runpath
=no
10435 hardcode_into_libs
=yes
10436 dynamic_linker
='ldqnx.so'
10441 sys_lib_dlsearch_path_spec
="/usr/lib"
10443 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10445 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10446 *) need_version
=no
;;
10448 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10449 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10450 shlibpath_var
=LD_LIBRARY_PATH
10451 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10453 openbsd2.
[89] | openbsd2.
[89].
*)
10454 shlibpath_overrides_runpath
=no
10457 shlibpath_overrides_runpath
=yes
10461 shlibpath_overrides_runpath
=yes
10466 libname_spec
='$name'
10469 library_names_spec
='$libname${shared_ext} $libname.a'
10470 dynamic_linker
='OS/2 ld.exe'
10471 shlibpath_var
=LIBPATH
10474 osf3
* | osf4
* | osf5
*)
10478 soname_spec
='${libname}${release}${shared_ext}$major'
10479 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10480 shlibpath_var
=LD_LIBRARY_PATH
10481 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10482 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10493 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10494 soname_spec
='${libname}${release}${shared_ext}$major'
10495 shlibpath_var
=LD_LIBRARY_PATH
10496 shlibpath_overrides_runpath
=yes
10497 hardcode_into_libs
=yes
10498 # ldd complains unless libraries are executable
10499 postinstall_cmds
='chmod +x $lib'
10504 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10505 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10506 shlibpath_var
=LD_LIBRARY_PATH
10507 shlibpath_overrides_runpath
=yes
10508 if test "$with_gnu_ld" = yes; then
10516 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10517 soname_spec
='${libname}${release}${shared_ext}$major'
10518 shlibpath_var
=LD_LIBRARY_PATH
10519 case $host_vendor in
10521 shlibpath_overrides_runpath
=no
10523 runpath_var
=LD_RUN_PATH
10531 shlibpath_overrides_runpath
=no
10532 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10538 if test -d /usr
/nec
;then
10540 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10541 soname_spec
='$libname${shared_ext}.$major'
10542 shlibpath_var
=LD_LIBRARY_PATH
10546 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10547 version_type
=freebsd-elf
10550 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10551 soname_spec
='${libname}${release}${shared_ext}$major'
10552 shlibpath_var
=LD_LIBRARY_PATH
10553 shlibpath_overrides_runpath
=yes
10554 hardcode_into_libs
=yes
10555 if test "$with_gnu_ld" = yes; then
10556 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10558 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10561 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10565 sys_lib_dlsearch_path_spec
='/usr/lib'
10569 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10573 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10574 shlibpath_var
=LD_LIBRARY_PATH
10575 shlibpath_overrides_runpath
=no
10576 hardcode_into_libs
=yes
10581 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10582 soname_spec
='${libname}${release}${shared_ext}$major'
10583 shlibpath_var
=LD_LIBRARY_PATH
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10591 $as_echo "$dynamic_linker" >&6; }
10592 test "$dynamic_linker" = no
&& can_build_shared
=no
10594 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10595 if test "$GCC" = yes; then
10596 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10599 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10600 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10602 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10603 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10698 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10700 if test -n "$hardcode_libdir_flag_spec" ||
10701 test -n "$runpath_var" ||
10702 test "X$hardcode_automatic" = "Xyes" ; then
10704 # We can hardcode non-existent directories.
10705 if test "$hardcode_direct" != no
&&
10706 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10707 # have to relink, otherwise we might link with an installed library
10708 # when we should be linking with a yet-to-be-installed one
10709 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10710 test "$hardcode_minus_L" != no
; then
10711 # Linking always hardcodes the temporary library directory.
10712 hardcode_action
=relink
10714 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10715 hardcode_action
=immediate
10718 # We cannot hardcode anything, or else we can only hardcode existing
10720 hardcode_action
=unsupported
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10723 $as_echo "$hardcode_action" >&6; }
10725 if test "$hardcode_action" = relink ||
10726 test "$inherit_rpath" = yes; then
10727 # Fast installation is not supported
10728 enable_fast_install
=no
10729 elif test "$shlibpath_overrides_runpath" = yes ||
10730 test "$enable_shared" = no
; then
10731 # Fast installation is not necessary
10732 enable_fast_install
=needless
10740 if test "x$enable_dlopen" != xyes
; then
10741 enable_dlopen
=unknown
10742 enable_dlopen_self
=unknown
10743 enable_dlopen_self_static
=unknown
10750 lt_cv_dlopen
="load_add_on"
10752 lt_cv_dlopen_self
=yes
10755 mingw
* | pw32
* | cegcc
*)
10756 lt_cv_dlopen
="LoadLibrary"
10761 lt_cv_dlopen
="dlopen"
10766 # if libdl is installed we need to link against it
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10768 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10769 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10770 $as_echo_n "(cached) " >&6
10772 ac_check_lib_save_LIBS
=$LIBS
10774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10775 /* end confdefs.h. */
10777 /* Override any GCC internal prototype to avoid an error.
10778 Use char because int might match the return type of a GCC
10779 builtin and then its argument prototype would still apply. */
10792 if ac_fn_c_try_link
"$LINENO"; then :
10793 ac_cv_lib_dl_dlopen
=yes
10795 ac_cv_lib_dl_dlopen
=no
10797 rm -f core conftest.err conftest.
$ac_objext \
10798 conftest
$ac_exeext conftest.
$ac_ext
10799 LIBS
=$ac_check_lib_save_LIBS
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10802 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10803 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10804 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10807 lt_cv_dlopen
="dyld"
10809 lt_cv_dlopen_self
=yes
10816 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10817 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10818 lt_cv_dlopen
="shl_load"
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10821 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10822 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10823 $as_echo_n "(cached) " >&6
10825 ac_check_lib_save_LIBS
=$LIBS
10827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10828 /* end confdefs.h. */
10830 /* Override any GCC internal prototype to avoid an error.
10831 Use char because int might match the return type of a GCC
10832 builtin and then its argument prototype would still apply. */
10840 return shl_load ();
10845 if ac_fn_c_try_link
"$LINENO"; then :
10846 ac_cv_lib_dld_shl_load
=yes
10848 ac_cv_lib_dld_shl_load
=no
10850 rm -f core conftest.err conftest.
$ac_objext \
10851 conftest
$ac_exeext conftest.
$ac_ext
10852 LIBS
=$ac_check_lib_save_LIBS
10854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10855 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10856 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10857 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10859 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10860 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10861 lt_cv_dlopen
="dlopen"
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10864 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10865 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10866 $as_echo_n "(cached) " >&6
10868 ac_check_lib_save_LIBS
=$LIBS
10870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10871 /* end confdefs.h. */
10873 /* Override any GCC internal prototype to avoid an error.
10874 Use char because int might match the return type of a GCC
10875 builtin and then its argument prototype would still apply. */
10888 if ac_fn_c_try_link
"$LINENO"; then :
10889 ac_cv_lib_dl_dlopen
=yes
10891 ac_cv_lib_dl_dlopen
=no
10893 rm -f core conftest.err conftest.
$ac_objext \
10894 conftest
$ac_exeext conftest.
$ac_ext
10895 LIBS
=$ac_check_lib_save_LIBS
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10898 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10899 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10900 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10903 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10904 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10905 $as_echo_n "(cached) " >&6
10907 ac_check_lib_save_LIBS
=$LIBS
10908 LIBS
="-lsvld $LIBS"
10909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10910 /* end confdefs.h. */
10912 /* Override any GCC internal prototype to avoid an error.
10913 Use char because int might match the return type of a GCC
10914 builtin and then its argument prototype would still apply. */
10927 if ac_fn_c_try_link
"$LINENO"; then :
10928 ac_cv_lib_svld_dlopen
=yes
10930 ac_cv_lib_svld_dlopen
=no
10932 rm -f core conftest.err conftest.
$ac_objext \
10933 conftest
$ac_exeext conftest.
$ac_ext
10934 LIBS
=$ac_check_lib_save_LIBS
10936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10937 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10938 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10939 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10942 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10943 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10944 $as_echo_n "(cached) " >&6
10946 ac_check_lib_save_LIBS
=$LIBS
10948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10949 /* end confdefs.h. */
10951 /* Override any GCC internal prototype to avoid an error.
10952 Use char because int might match the return type of a GCC
10953 builtin and then its argument prototype would still apply. */
10961 return dld_link ();
10966 if ac_fn_c_try_link
"$LINENO"; then :
10967 ac_cv_lib_dld_dld_link
=yes
10969 ac_cv_lib_dld_dld_link
=no
10971 rm -f core conftest.err conftest.
$ac_objext \
10972 conftest
$ac_exeext conftest.
$ac_ext
10973 LIBS
=$ac_check_lib_save_LIBS
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10976 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10977 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10978 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10999 if test "x$lt_cv_dlopen" != xno
; then
11005 case $lt_cv_dlopen in
11007 save_CPPFLAGS
="$CPPFLAGS"
11008 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11010 save_LDFLAGS
="$LDFLAGS"
11011 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11014 LIBS
="$lt_cv_dlopen_libs $LIBS"
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11017 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11018 if test "${lt_cv_dlopen_self+set}" = set; then :
11019 $as_echo_n "(cached) " >&6
11021 if test "$cross_compiling" = yes; then :
11022 lt_cv_dlopen_self
=cross
11024 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11025 lt_status
=$lt_dlunknown
11026 cat > conftest.
$ac_ext <<_LT_EOF
11027 #line 11027 "configure"
11028 #include "confdefs.h"
11037 # define LT_DLGLOBAL RTLD_GLOBAL
11040 # define LT_DLGLOBAL DL_GLOBAL
11042 # define LT_DLGLOBAL 0
11046 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11047 find out it does not work in some platform. */
11048 #ifndef LT_DLLAZY_OR_NOW
11050 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11053 # define LT_DLLAZY_OR_NOW DL_LAZY
11056 # define LT_DLLAZY_OR_NOW RTLD_NOW
11059 # define LT_DLLAZY_OR_NOW DL_NOW
11061 # define LT_DLLAZY_OR_NOW 0
11068 /* When -fvisbility=hidden is used, assume the code has been annotated
11069 correspondingly for the symbols needed. */
11070 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11071 void fnord () __attribute__((visibility("default")));
11074 void fnord () { int i=42; }
11077 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11078 int status = $lt_dlunknown;
11082 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11085 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11086 else puts (dlerror ());
11088 /* dlclose (self); */
11096 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11097 (eval $ac_link) 2>&5
11099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11100 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11101 (.
/conftest
; exit; ) >&5 2>/dev
/null
11103 case x
$lt_status in
11104 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11105 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11106 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11109 # compilation failed
11110 lt_cv_dlopen_self
=no
11117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11118 $as_echo "$lt_cv_dlopen_self" >&6; }
11120 if test "x$lt_cv_dlopen_self" = xyes
; then
11121 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11123 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11124 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11125 $as_echo_n "(cached) " >&6
11127 if test "$cross_compiling" = yes; then :
11128 lt_cv_dlopen_self_static
=cross
11130 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11131 lt_status
=$lt_dlunknown
11132 cat > conftest.
$ac_ext <<_LT_EOF
11133 #line 11133 "configure"
11134 #include "confdefs.h"
11143 # define LT_DLGLOBAL RTLD_GLOBAL
11146 # define LT_DLGLOBAL DL_GLOBAL
11148 # define LT_DLGLOBAL 0
11152 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11153 find out it does not work in some platform. */
11154 #ifndef LT_DLLAZY_OR_NOW
11156 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11159 # define LT_DLLAZY_OR_NOW DL_LAZY
11162 # define LT_DLLAZY_OR_NOW RTLD_NOW
11165 # define LT_DLLAZY_OR_NOW DL_NOW
11167 # define LT_DLLAZY_OR_NOW 0
11174 /* When -fvisbility=hidden is used, assume the code has been annotated
11175 correspondingly for the symbols needed. */
11176 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11177 void fnord () __attribute__((visibility("default")));
11180 void fnord () { int i=42; }
11183 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11184 int status = $lt_dlunknown;
11188 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11191 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11192 else puts (dlerror ());
11194 /* dlclose (self); */
11202 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11203 (eval $ac_link) 2>&5
11205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11206 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11207 (.
/conftest
; exit; ) >&5 2>/dev
/null
11209 case x
$lt_status in
11210 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11211 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11212 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11215 # compilation failed
11216 lt_cv_dlopen_self_static
=no
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11224 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11227 CPPFLAGS
="$save_CPPFLAGS"
11228 LDFLAGS
="$save_LDFLAGS"
11233 case $lt_cv_dlopen_self in
11234 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11235 *) enable_dlopen_self
=unknown
;;
11238 case $lt_cv_dlopen_self_static in
11239 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11240 *) enable_dlopen_self_static
=unknown
;;
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11263 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11264 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11265 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11266 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11268 $as_echo "yes" >&6; }
11270 # FIXME - insert some real tests, host_os isn't really good enough
11273 if test -n "$STRIP" ; then
11274 striplib
="$STRIP -x"
11275 old_striplib
="$STRIP -S"
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11277 $as_echo "yes" >&6; }
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11280 $as_echo "no" >&6; }
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11285 $as_echo "no" >&6; }
11301 # Report which library types will actually be built
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11303 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11305 $as_echo "$can_build_shared" >&6; }
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11308 $as_echo_n "checking whether to build shared libraries... " >&6; }
11309 test "$can_build_shared" = "no" && enable_shared
=no
11311 # On AIX, shared libraries and static libraries use the same namespace, and
11312 # are all built from PIC.
11315 test "$enable_shared" = yes && enable_static
=no
11316 if test -n "$RANLIB"; then
11317 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11318 postinstall_cmds
='$RANLIB $lib'
11323 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11324 test "$enable_shared" = yes && enable_static
=no
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11329 $as_echo "$enable_shared" >&6; }
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11332 $as_echo_n "checking whether to build static libraries... " >&6; }
11333 # Make sure either enable_shared or enable_static is yes.
11334 test "$enable_shared" = yes || enable_static
=yes
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11336 $as_echo "$enable_static" >&6; }
11343 ac_cpp
='$CPP $CPPFLAGS'
11344 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11345 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11346 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11350 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11351 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11352 (test "X$CXX" != "Xg++"))) ; then
11354 ac_cpp
='$CXXCPP $CPPFLAGS'
11355 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11356 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11357 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11359 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11360 if test -z "$CXXCPP"; then
11361 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11362 $as_echo_n "(cached) " >&6
11364 # Double quotes because CXXCPP needs to be expanded
11365 for CXXCPP
in "$CXX -E" "/lib/cpp"
11367 ac_preproc_ok
=false
11368 for ac_cxx_preproc_warn_flag
in '' yes
11370 # Use a header file that comes with gcc, so configuring glibc
11371 # with a fresh cross-compiler works.
11372 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11373 # <limits.h> exists even on freestanding compilers.
11374 # On the NeXT, cc -E runs the code through the compiler's parser,
11375 # not just through cpp. "Syntax error" is here to catch this case.
11376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11377 /* end confdefs.h. */
11379 # include <limits.h>
11381 # include <assert.h>
11385 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11388 # Broken: fails on valid input.
11391 rm -f conftest.err conftest.
$ac_ext
11393 # OK, works on sane cases. Now check whether nonexistent headers
11394 # can be detected and how.
11395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11396 /* end confdefs.h. */
11397 #include <ac_nonexistent.h>
11399 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11400 # Broken: success on invalid input.
11403 # Passes both tests.
11407 rm -f conftest.err conftest.
$ac_ext
11410 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11411 rm -f conftest.err conftest.
$ac_ext
11412 if $ac_preproc_ok; then :
11417 ac_cv_prog_CXXCPP
=$CXXCPP
11420 CXXCPP
=$ac_cv_prog_CXXCPP
11422 ac_cv_prog_CXXCPP
=$CXXCPP
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11425 $as_echo "$CXXCPP" >&6; }
11426 ac_preproc_ok
=false
11427 for ac_cxx_preproc_warn_flag
in '' yes
11429 # Use a header file that comes with gcc, so configuring glibc
11430 # with a fresh cross-compiler works.
11431 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11432 # <limits.h> exists even on freestanding compilers.
11433 # On the NeXT, cc -E runs the code through the compiler's parser,
11434 # not just through cpp. "Syntax error" is here to catch this case.
11435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11436 /* end confdefs.h. */
11438 # include <limits.h>
11440 # include <assert.h>
11444 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11447 # Broken: fails on valid input.
11450 rm -f conftest.err conftest.
$ac_ext
11452 # OK, works on sane cases. Now check whether nonexistent headers
11453 # can be detected and how.
11454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11455 /* end confdefs.h. */
11456 #include <ac_nonexistent.h>
11458 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11459 # Broken: success on invalid input.
11462 # Passes both tests.
11466 rm -f conftest.err conftest.
$ac_ext
11469 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11470 rm -f conftest.err conftest.
$ac_ext
11471 if $ac_preproc_ok; then :
11474 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11475 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11476 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
11477 See \`config.log' for more details." "$LINENO" 5; }
11481 ac_cpp
='$CPP $CPPFLAGS'
11482 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11483 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11484 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11487 _lt_caught_CXX_error
=yes
11491 ac_cpp
='$CXXCPP $CPPFLAGS'
11492 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11493 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11494 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11496 archive_cmds_need_lc_CXX
=no
11497 allow_undefined_flag_CXX
=
11498 always_export_symbols_CXX
=no
11499 archive_expsym_cmds_CXX
=
11500 compiler_needs_object_CXX
=no
11501 export_dynamic_flag_spec_CXX
=
11502 hardcode_direct_CXX
=no
11503 hardcode_direct_absolute_CXX
=no
11504 hardcode_libdir_flag_spec_CXX
=
11505 hardcode_libdir_flag_spec_ld_CXX
=
11506 hardcode_libdir_separator_CXX
=
11507 hardcode_minus_L_CXX
=no
11508 hardcode_shlibpath_var_CXX
=unsupported
11509 hardcode_automatic_CXX
=no
11510 inherit_rpath_CXX
=no
11512 module_expsym_cmds_CXX
=
11513 link_all_deplibs_CXX
=unknown
11514 old_archive_cmds_CXX
=$old_archive_cmds
11515 reload_flag_CXX
=$reload_flag
11516 reload_cmds_CXX
=$reload_cmds
11517 no_undefined_flag_CXX
=
11518 whole_archive_flag_spec_CXX
=
11519 enable_shared_with_static_runtimes_CXX
=no
11521 # Source file extension for C++ test sources.
11524 # Object file extension for compiled C++ test sources.
11528 # No sense in running all these tests if we already determined that
11529 # the CXX compiler isn't working. Some variables (like enable_shared)
11530 # are currently assumed to apply to all compilers on this platform,
11531 # and will be corrupted by setting them based on a non-working compiler.
11532 if test "$_lt_caught_CXX_error" != yes; then
11533 # Code to be used in simple compile tests
11534 lt_simple_compile_test_code
="int some_variable = 0;"
11536 # Code to be used in simple link tests
11537 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11539 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11546 # If no C compiler was specified, use CC.
11549 # If no C compiler flags were specified, use CFLAGS.
11550 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11552 # Allow CC to be a program name with arguments.
11556 # save warnings/boilerplate of simple test code
11557 ac_outfile
=conftest.
$ac_objext
11558 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11559 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11560 _lt_compiler_boilerplate
=`cat conftest.err`
11563 ac_outfile
=conftest.
$ac_objext
11564 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11565 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11566 _lt_linker_boilerplate
=`cat conftest.err`
11570 # Allow CC to be a program name with arguments.
11575 lt_save_with_gnu_ld
=$with_gnu_ld
11576 lt_save_path_LD
=$lt_cv_path_LD
11577 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11578 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11580 $as_unset lt_cv_prog_gnu_ld
11582 if test -n "${lt_cv_path_LDCXX+set}"; then
11583 lt_cv_path_LD
=$lt_cv_path_LDCXX
11585 $as_unset lt_cv_path_LD
11587 test -z "${LDCXX+set}" || LD
=$LDCXX
11591 for cc_temp
in $compiler""; do
11593 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11594 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11599 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11602 if test -n "$compiler"; then
11603 # We don't want -fno-exception when compiling C++ code, so set the
11604 # no_builtin_flag separately
11605 if test "$GXX" = yes; then
11606 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11608 lt_prog_compiler_no_builtin_flag_CXX
=
11611 if test "$GXX" = yes; then
11612 # Set up default GNU C++ configuration
11616 # Check whether --with-gnu-ld was given.
11617 if test "${with_gnu_ld+set}" = set; then :
11618 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
11624 if test "$GCC" = yes; then
11625 # Check if gcc -print-prog-name=ld gives a path.
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11627 $as_echo_n "checking for ld used by $CC... " >&6; }
11630 # gcc leaves a trailing carriage return which upsets mingw
11631 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11633 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11636 # Accept absolute paths.
11638 re_direlt
='/[^/][^/]*/\.\./'
11639 # Canonicalize the pathname of ld
11640 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11641 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
11642 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11644 test -z "$LD" && LD
="$ac_prog"
11647 # If it fails, then pretend we aren't using GCC.
11651 # If it is relative, then search for the first ld in PATH.
11652 with_gnu_ld
=unknown
11655 elif test "$with_gnu_ld" = yes; then
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11657 $as_echo_n "checking for GNU ld... " >&6; }
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11660 $as_echo_n "checking for non-GNU ld... " >&6; }
11662 if test "${lt_cv_path_LD+set}" = set; then :
11663 $as_echo_n "(cached) " >&6
11665 if test -z "$LD"; then
11666 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11667 for ac_dir
in $PATH; do
11669 test -z "$ac_dir" && ac_dir
=.
11670 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
11671 lt_cv_path_LD
="$ac_dir/$ac_prog"
11672 # Check to see if the program is GNU ld. I'd rather use --version,
11673 # but apparently some variants of GNU ld only accept -v.
11674 # Break only if it was the GNU/non-GNU ld that we prefer.
11675 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11676 *GNU
* |
*'with BFD'*)
11677 test "$with_gnu_ld" != no
&& break
11680 test "$with_gnu_ld" != yes && break
11687 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11691 LD
="$lt_cv_path_LD"
11692 if test -n "$LD"; then
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11694 $as_echo "$LD" >&6; }
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11697 $as_echo "no" >&6; }
11699 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11701 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11702 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11703 $as_echo_n "(cached) " >&6
11705 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11706 case `$LD -v 2>&1 </dev/null` in
11707 *GNU
* |
*'with BFD'*)
11708 lt_cv_prog_gnu_ld
=yes
11711 lt_cv_prog_gnu_ld
=no
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11716 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11717 with_gnu_ld
=$lt_cv_prog_gnu_ld
11725 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11726 # archiving commands below assume that GNU ld is being used.
11727 if test "$with_gnu_ld" = yes; then
11728 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11729 archive_expsym_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11731 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11732 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11734 # If archive_cmds runs LD, not CC, wlarc should be empty
11735 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11736 # investigate it a little bit more. (MM)
11739 # ancient GNU ld didn't support --whole-archive et. al.
11740 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11741 $GREP 'no-whole-archive' > /dev
/null
; then
11742 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11744 whole_archive_flag_spec_CXX
=
11750 # A generic and very simple default shared library creation
11751 # command for GNU C++ for the case where it uses the native
11752 # linker, instead of GNU ld. If possible, this setting should
11753 # overridden to take advantage of the native linker features on
11754 # the platform it is being used on.
11755 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11758 # Commands to make compiler produce verbose output that lists
11759 # what "hidden" libraries, object files and flags are used when
11760 # linking a shared library.
11761 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
11769 # PORTME: fill in a description of your system's C++ link characteristics
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11771 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11775 # FIXME: insert proper C++ library support
11779 if test "$host_cpu" = ia64
; then
11780 # On IA64, the linker does run time linking by default, so we don't
11781 # have to do anything special.
11782 aix_use_runtimelinking
=no
11783 exp_sym_flag
='-Bexport'
11786 aix_use_runtimelinking
=no
11788 # Test if we are trying to use run time linking or normal
11789 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11790 # need to do runtime linking.
11791 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11792 for ld_flag
in $LDFLAGS; do
11795 aix_use_runtimelinking
=yes
11803 exp_sym_flag
='-bexport'
11804 no_entry_flag
='-bnoentry'
11807 # When large executables or shared objects are built, AIX ld can
11808 # have problems creating the table of contents. If linking a library
11809 # or program results in "error TOC overflow" add -mminimal-toc to
11810 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11811 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11813 archive_cmds_CXX
=''
11814 hardcode_direct_CXX
=yes
11815 hardcode_direct_absolute_CXX
=yes
11816 hardcode_libdir_separator_CXX
=':'
11817 link_all_deplibs_CXX
=yes
11818 file_list_spec_CXX
='${wl}-f,'
11820 if test "$GXX" = yes; then
11821 case $host_os in aix4.
[012]|aix4.
[012].
*)
11822 # We only want to do this on AIX 4.2 and lower, the check
11823 # below for broken collect2 doesn't work under 4.3+
11824 collect2name
=`${CC} -print-prog-name=collect2`
11825 if test -f "$collect2name" &&
11826 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11828 # We have reworked collect2
11831 # We have old collect2
11832 hardcode_direct_CXX
=unsupported
11833 # It fails to find uninstalled libraries when the uninstalled
11834 # path is not listed in the libpath. Setting hardcode_minus_L
11835 # to unsupported forces relinking
11836 hardcode_minus_L_CXX
=yes
11837 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11838 hardcode_libdir_separator_CXX
=
11841 shared_flag
='-shared'
11842 if test "$aix_use_runtimelinking" = yes; then
11843 shared_flag
="$shared_flag "'${wl}-G'
11847 if test "$host_cpu" = ia64
; then
11848 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11849 # chokes on -Wl,-G. The following line is correct:
11852 if test "$aix_use_runtimelinking" = yes; then
11853 shared_flag
='${wl}-G'
11855 shared_flag
='${wl}-bM:SRE'
11860 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
11861 # It seems that -bexpall does not export symbols beginning with
11862 # underscore (_), so it is better to generate a list of symbols to
11864 always_export_symbols_CXX
=yes
11865 if test "$aix_use_runtimelinking" = yes; then
11866 # Warning - without using the other runtime loading flags (-brtl),
11867 # -berok will link without error, but may produce a broken library.
11868 allow_undefined_flag_CXX
='-berok'
11869 # Determine the default libpath from the value encoded in an empty
11871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11872 /* end confdefs.h. */
11882 if ac_fn_cxx_try_link
"$LINENO"; then :
11884 lt_aix_libpath_sed
='
11885 /Import File Strings/,/^$/ {
11891 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11892 # Check for a 64-bit object if we didn't find anything.
11893 if test -z "$aix_libpath"; then
11894 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11897 rm -f core conftest.err conftest.
$ac_objext \
11898 conftest
$ac_exeext conftest.
$ac_ext
11899 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11901 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11903 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"
11905 if test "$host_cpu" = ia64
; then
11906 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11907 allow_undefined_flag_CXX
="-z nodefs"
11908 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"
11910 # Determine the default libpath from the value encoded in an
11911 # empty executable.
11912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11913 /* end confdefs.h. */
11923 if ac_fn_cxx_try_link
"$LINENO"; then :
11925 lt_aix_libpath_sed
='
11926 /Import File Strings/,/^$/ {
11932 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11933 # Check for a 64-bit object if we didn't find anything.
11934 if test -z "$aix_libpath"; then
11935 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11938 rm -f core conftest.err conftest.
$ac_objext \
11939 conftest
$ac_exeext conftest.
$ac_ext
11940 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11942 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11943 # Warning - without using the other run time loading flags,
11944 # -berok will link without error, but may produce a broken library.
11945 no_undefined_flag_CXX
=' ${wl}-bernotok'
11946 allow_undefined_flag_CXX
=' ${wl}-berok'
11947 if test "$with_gnu_ld" = yes; then
11948 # We only use this code for GNU lds that support --whole-archive.
11949 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11951 # Exported symbols can be pulled into shared objects from archives
11952 whole_archive_flag_spec_CXX
='$convenience'
11954 archive_cmds_need_lc_CXX
=yes
11955 # This is similar to how AIX traditionally builds its shared
11957 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'
11963 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11964 allow_undefined_flag_CXX
=unsupported
11965 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11966 # support --undefined. This deserves some investigation. FIXME
11967 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11974 case $cc_basename in
11976 # FIXME: insert proper C++ library support
11982 cygwin
* | mingw
* | pw32
* | cegcc
*)
11983 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11984 # as there is no search path for DLLs.
11985 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11986 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
11987 allow_undefined_flag_CXX
=unsupported
11988 always_export_symbols_CXX
=no
11989 enable_shared_with_static_runtimes_CXX
=yes
11991 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
11992 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'
11993 # If the export-symbols file already is a .def file (1st line
11994 # is EXPORTS), use it as is; otherwise, prepend...
11995 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11996 cp $export_symbols $output_objdir/$soname.def;
11998 echo EXPORTS > $output_objdir/$soname.def;
11999 cat $export_symbols >> $output_objdir/$soname.def;
12001 $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'
12006 darwin
* | rhapsody
*)
12009 archive_cmds_need_lc_CXX
=no
12010 hardcode_direct_CXX
=no
12011 hardcode_automatic_CXX
=yes
12012 hardcode_shlibpath_var_CXX
=unsupported
12013 if test "$lt_cv_ld_force_load" = "yes"; then
12014 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\"`'
12016 whole_archive_flag_spec_CXX
=''
12018 link_all_deplibs_CXX
=yes
12019 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12020 case $cc_basename in
12021 ifort
*) _lt_dar_can_shared
=yes ;;
12022 *) _lt_dar_can_shared
=$GCC ;;
12024 if test "$_lt_dar_can_shared" = "yes"; then
12025 output_verbose_link_cmd
=func_echo_all
12026 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}"
12027 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12028 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}"
12029 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}"
12030 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12031 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}"
12032 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}"
12042 case $cc_basename in
12044 # FIXME: insert proper C++ library support
12048 # Green Hills C++ Compiler
12049 # FIXME: insert proper C++ library support
12053 # FIXME: insert proper C++ library support
12060 # C++ shared libraries reported to be fairly broken before
12066 archive_cmds_need_lc_CXX
=no
12069 freebsd
* | dragonfly
*)
12070 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12079 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12080 link_all_deplibs_CXX
=yes
12084 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12085 hardcode_libdir_separator_CXX
=:
12086 export_dynamic_flag_spec_CXX
='${wl}-E'
12087 hardcode_direct_CXX
=yes
12088 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12089 # but as the default
12090 # location of the library.
12092 case $cc_basename in
12094 # FIXME: insert proper C++ library support
12098 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'
12099 # Commands to make compiler produce verbose output that lists
12100 # what "hidden" libraries, object files and flags are used when
12101 # linking a shared library.
12103 # There doesn't appear to be a way to prevent this compiler from
12104 # explicitly linking system object files so we need to strip them
12105 # from the output so that they don't get included in the library
12107 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"'
12110 if test "$GXX" = yes; then
12111 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'
12113 # FIXME: insert proper C++ library support
12121 if test $with_gnu_ld = no
; then
12122 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12123 hardcode_libdir_separator_CXX
=:
12129 export_dynamic_flag_spec_CXX
='${wl}-E'
12135 hardcode_direct_CXX
=no
12136 hardcode_shlibpath_var_CXX
=no
12139 hardcode_direct_CXX
=yes
12140 hardcode_direct_absolute_CXX
=yes
12141 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12142 # but as the default
12143 # location of the library.
12147 case $cc_basename in
12149 # FIXME: insert proper C++ library support
12155 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12158 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12161 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12164 # Commands to make compiler produce verbose output that lists
12165 # what "hidden" libraries, object files and flags are used when
12166 # linking a shared library.
12168 # There doesn't appear to be a way to prevent this compiler from
12169 # explicitly linking system object files so we need to strip them
12170 # from the output so that they don't get included in the library
12172 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"'
12175 if test "$GXX" = yes; then
12176 if test $with_gnu_ld = no
; then
12179 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12182 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12185 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'
12190 # FIXME: insert proper C++ library support
12198 hardcode_direct_CXX
=no
12199 hardcode_shlibpath_var_CXX
=no
12200 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12201 export_dynamic_flag_spec_CXX
='${wl}-E'
12202 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12203 # Instead, shared libraries are loaded at an image base (0x10000000 by
12204 # default) and relocated if they conflict, which is a slow very memory
12205 # consuming and fragmenting process. To avoid this, we pick a random,
12206 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12207 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12208 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'
12209 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'
12212 case $cc_basename in
12215 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'
12217 # Archives containing C++ object files must be created using
12218 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12219 # necessary to make sure instantiated templates are included
12221 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12224 if test "$GXX" = yes; then
12225 if test "$with_gnu_ld" = no
; then
12226 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'
12228 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'
12231 link_all_deplibs_CXX
=yes
12234 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12235 hardcode_libdir_separator_CXX
=:
12236 inherit_rpath_CXX
=yes
12239 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12240 case $cc_basename in
12242 # Kuck and Associates, Inc. (KAI) C++ Compiler
12244 # KCC will only create a shared library if the output file
12245 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12246 # to its proper name (with version) after linking.
12247 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'
12248 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'
12249 # Commands to make compiler produce verbose output that lists
12250 # what "hidden" libraries, object files and flags are used when
12251 # linking a shared library.
12253 # There doesn't appear to be a way to prevent this compiler from
12254 # explicitly linking system object files so we need to strip them
12255 # from the output so that they don't get included in the library
12257 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"'
12259 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12260 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12262 # Archives containing C++ object files must be created using
12263 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12264 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12269 # version 8.0 and above of icpc choke on multiply defined symbols
12270 # if we add $predep_objects and $postdep_objects, however 7.1 and
12271 # earlier do not add the objects themselves.
12272 case `$CC -V 2>&1` in
12274 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12275 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'
12277 *) # Version 8.0 or newer
12280 ia64
*) tmp_idyn
=' -i_dynamic';;
12282 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12283 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'
12286 archive_cmds_need_lc_CXX
=no
12287 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12288 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12289 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12292 # Portland Group C++ compiler
12294 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
12295 prelink_cmds_CXX
='tpldir=Template.dir~
12297 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12298 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12299 old_archive_cmds_CXX
='tpldir=Template.dir~
12301 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12302 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12304 archive_cmds_CXX
='tpldir=Template.dir~
12306 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12307 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12308 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12310 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12311 $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'
12313 *) # Version 6 and above use weak symbols
12314 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12315 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'
12319 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12320 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12321 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'
12325 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12326 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'
12328 runpath_var
=LD_RUN_PATH
12329 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12330 hardcode_libdir_separator_CXX
=:
12332 # Commands to make compiler produce verbose output that lists
12333 # what "hidden" libraries, object files and flags are used when
12334 # linking a shared library.
12336 # There doesn't appear to be a way to prevent this compiler from
12337 # explicitly linking system object files so we need to strip them
12338 # from the output so that they don't get included in the library
12340 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'
12342 xl
* | mpixl
* | bgxl
*)
12343 # IBM XL 8.0 on PPC, with GNU ld
12344 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12345 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12346 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12347 if test "x$supports_anon_versioning" = xyes
; then
12348 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12349 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12350 echo "local: *; };" >> $output_objdir/$libname.ver~
12351 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12355 case `$CC -V 2>&1 | sed 5q` in
12358 no_undefined_flag_CXX
=' -zdefs'
12359 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12360 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'
12361 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12362 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'
12363 compiler_needs_object_CXX
=yes
12365 # Not sure whether something based on
12366 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12368 output_verbose_link_cmd
='func_echo_all'
12370 # Archives containing C++ object files must be created using
12371 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12372 # necessary to make sure instantiated templates are included
12374 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12382 # FIXME: insert proper C++ library support
12387 # FIXME: insert proper C++ library support
12392 case $cc_basename in
12394 # FIXME: insert proper C++ library support
12398 # FIXME: insert proper C++ library support
12405 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12406 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12408 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12409 hardcode_direct_CXX
=yes
12410 hardcode_shlibpath_var_CXX
=no
12412 # Workaround some broken pre-1.5 toolchains
12413 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12421 # C++ shared libraries are fairly broken
12426 if test -f /usr
/libexec
/ld.so
; then
12427 hardcode_direct_CXX
=yes
12428 hardcode_shlibpath_var_CXX
=no
12429 hardcode_direct_absolute_CXX
=yes
12430 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12431 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12432 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12433 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12434 export_dynamic_flag_spec_CXX
='${wl}-E'
12435 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12437 output_verbose_link_cmd
=func_echo_all
12443 osf3
* | osf4
* | osf5
*)
12444 case $cc_basename in
12446 # Kuck and Associates, Inc. (KAI) C++ Compiler
12448 # KCC will only create a shared library if the output file
12449 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12450 # to its proper name (with version) after linking.
12451 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'
12453 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12454 hardcode_libdir_separator_CXX
=:
12456 # Archives containing C++ object files must be created using
12457 # the KAI C++ compiler.
12459 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12460 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12464 # Rational C++ 2.4.1
12465 # FIXME: insert proper C++ library support
12471 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12472 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'
12473 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12476 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12477 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'
12478 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12479 echo "-hidden">> $lib.exp~
12480 $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~
12482 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12486 hardcode_libdir_separator_CXX
=:
12488 # Commands to make compiler produce verbose output that lists
12489 # what "hidden" libraries, object files and flags are used when
12490 # linking a shared library.
12492 # There doesn't appear to be a way to prevent this compiler from
12493 # explicitly linking system object files so we need to strip them
12494 # from the output so that they don't get included in the library
12496 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"'
12499 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12500 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12503 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'
12506 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'
12510 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12511 hardcode_libdir_separator_CXX
=:
12513 # Commands to make compiler produce verbose output that lists
12514 # what "hidden" libraries, object files and flags are used when
12515 # linking a shared library.
12516 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12519 # FIXME: insert proper C++ library support
12527 # FIXME: insert proper C++ library support
12532 case $cc_basename in
12535 # FIXME: insert proper C++ library support
12540 # FIXME: insert proper C++ library support
12544 # FIXME: insert proper C++ library support
12551 case $cc_basename in
12553 # Sun C++ 4.2, 5.x and Centerline C++
12554 archive_cmds_need_lc_CXX
=yes
12555 no_undefined_flag_CXX
=' -zdefs'
12556 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12557 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12558 $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'
12560 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12561 hardcode_shlibpath_var_CXX
=no
12563 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12565 # The compiler driver will combine and reorder linker options,
12566 # but understands `-z linker_flag'.
12567 # Supported since Solaris 2.6 (maybe 2.5.1?)
12568 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12571 link_all_deplibs_CXX
=yes
12573 output_verbose_link_cmd
='func_echo_all'
12575 # Archives containing C++ object files must be created using
12576 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12577 # necessary to make sure instantiated templates are included
12579 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12582 # Green Hills C++ Compiler
12583 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12585 # The C++ compiler must be used to create the archive.
12586 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12589 # GNU C++ compiler with Solaris linker
12590 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12591 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12592 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
12593 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12594 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12595 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12597 # Commands to make compiler produce verbose output that lists
12598 # what "hidden" libraries, object files and flags are used when
12599 # linking a shared library.
12600 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12602 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12604 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12605 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12606 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12608 # Commands to make compiler produce verbose output that lists
12609 # what "hidden" libraries, object files and flags are used when
12610 # linking a shared library.
12611 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12614 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12616 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12618 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12626 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12627 no_undefined_flag_CXX
='${wl}-z,text'
12628 archive_cmds_need_lc_CXX
=no
12629 hardcode_shlibpath_var_CXX
=no
12630 runpath_var
='LD_RUN_PATH'
12632 case $cc_basename in
12634 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12635 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12638 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12639 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12644 sysv5
* | sco3.2v5
* | sco5v6
*)
12645 # Note: We can NOT use -z defs as we might desire, because we do not
12646 # link with -lc, and that would cause any symbols used from libc to
12647 # always be unresolved, which means just about no library would
12648 # ever link correctly. If we're not using GNU ld we use -z text
12649 # though, which does catch some bad symbols but isn't as heavy-handed
12651 no_undefined_flag_CXX
='${wl}-z,text'
12652 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12653 archive_cmds_need_lc_CXX
=no
12654 hardcode_shlibpath_var_CXX
=no
12655 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
12656 hardcode_libdir_separator_CXX
=':'
12657 link_all_deplibs_CXX
=yes
12658 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12659 runpath_var
='LD_RUN_PATH'
12661 case $cc_basename in
12663 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12664 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12665 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
12666 '"$old_archive_cmds_CXX"
12667 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
12668 '"$reload_cmds_CXX"
12671 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12672 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12678 case $cc_basename in
12680 # NonStop-UX NCC 3.20
12681 # FIXME: insert proper C++ library support
12685 # FIXME: insert proper C++ library support
12692 # FIXME: insert proper C++ library support
12697 # FIXME: insert proper C++ library support
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12703 $as_echo "$ld_shlibs_CXX" >&6; }
12704 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12710 ## There is no encapsulation within the following macros, do not change
12711 ## the running order or otherwise move them around unless you know exactly
12712 ## what you are doing...
12713 # Dependencies to place before and after the object being linked:
12714 predep_objects_CXX
=
12715 postdep_objects_CXX
=
12718 compiler_lib_search_path_CXX
=
12720 cat > conftest.
$ac_ext <<_LT_EOF
12724 Foo (void) { a = 0; }
12730 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12731 (eval $ac_compile) 2>&5
12733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12734 test $ac_status = 0; }; then
12735 # Parse the compiler output and extract the necessary
12736 # objects, libraries and library flags.
12738 # Sentinel used to keep track of whether or not we are before
12739 # the conftest object file.
12740 pre_test_object_deps_done
=no
12742 for p
in `eval "$output_verbose_link_cmd"`; do
12746 # Some compilers place space between "-{L,R}" and the path.
12747 # Remove the space.
12748 if test $p = "-L" ||
12749 test $p = "-R"; then
12756 if test "$pre_test_object_deps_done" = no
; then
12759 # Internal compiler library paths should come after those
12760 # provided the user. The postdeps already come after the
12761 # user supplied libs so there is no need to process them.
12762 if test -z "$compiler_lib_search_path_CXX"; then
12763 compiler_lib_search_path_CXX
="${prev}${p}"
12765 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12768 # The "-l" case would never come before the object being
12769 # linked, so don't bother handling this case.
12772 if test -z "$postdeps_CXX"; then
12773 postdeps_CXX
="${prev}${p}"
12775 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12781 # This assumes that the test object file only shows up
12782 # once in the compiler output.
12783 if test "$p" = "conftest.$objext"; then
12784 pre_test_object_deps_done
=yes
12788 if test "$pre_test_object_deps_done" = no
; then
12789 if test -z "$predep_objects_CXX"; then
12790 predep_objects_CXX
="$p"
12792 predep_objects_CXX
="$predep_objects_CXX $p"
12795 if test -z "$postdep_objects_CXX"; then
12796 postdep_objects_CXX
="$p"
12798 postdep_objects_CXX
="$postdep_objects_CXX $p"
12803 *) ;; # Ignore the rest.
12811 echo "libtool.m4: error: problem compiling CXX test program"
12814 $RM -f confest.
$objext
12816 # PORTME: override above test on systems where it is broken
12819 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12820 # hack all around it, let's just trust "g++" to DTRT.
12821 predep_objects_CXX
=
12822 postdep_objects_CXX
=
12827 case `$CC -V 2>&1 | sed 5q` in
12831 # The more standards-conforming stlport4 library is
12832 # incompatible with the Cstd library. Avoid specifying
12833 # it if it's in CXXFLAGS. Ignore libCrun as
12834 # -library=stlport4 depends on it.
12835 case " $CXX $CXXFLAGS " in
12836 *" -library=stlport4 "*)
12837 solaris_use_stlport4
=yes
12841 if test "$solaris_use_stlport4" != yes; then
12842 postdeps_CXX
='-library=Cstd -library=Crun'
12849 case $cc_basename in
12851 # The more standards-conforming stlport4 library is
12852 # incompatible with the Cstd library. Avoid specifying
12853 # it if it's in CXXFLAGS. Ignore libCrun as
12854 # -library=stlport4 depends on it.
12855 case " $CXX $CXXFLAGS " in
12856 *" -library=stlport4 "*)
12857 solaris_use_stlport4
=yes
12861 # Adding this requires a known-good setup of shared libraries for
12862 # Sun compiler versions before 5.6, else PIC objects from an old
12863 # archive will be linked into the output, leading to subtle bugs.
12864 if test "$solaris_use_stlport4" != yes; then
12865 postdeps_CXX
='-library=Cstd -library=Crun'
12873 case " $postdeps_CXX " in
12874 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12876 compiler_lib_search_dirs_CXX
=
12877 if test -n "${compiler_lib_search_path_CXX}"; then
12878 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12911 lt_prog_compiler_wl_CXX
=
12912 lt_prog_compiler_pic_CXX
=
12913 lt_prog_compiler_static_CXX
=
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12916 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12918 # C++ specific cases for pic, static, wl, etc.
12919 if test "$GXX" = yes; then
12920 lt_prog_compiler_wl_CXX
='-Wl,'
12921 lt_prog_compiler_static_CXX
='-static'
12925 # All AIX code is PIC.
12926 if test "$host_cpu" = ia64
; then
12927 # AIX 5 now supports IA64 processor
12928 lt_prog_compiler_static_CXX
='-Bstatic'
12930 lt_prog_compiler_pic_CXX
='-fPIC'
12936 # see comment about AmigaOS4 .so support
12937 lt_prog_compiler_pic_CXX
='-fPIC'
12940 # FIXME: we need at least 68020 code to build shared libraries, but
12941 # adding the `-m68020' flag to GCC prevents building anything better,
12943 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12948 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12949 # PIC is the default for these OSes.
12951 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
12952 # This hack is so that the source file can tell whether it is being
12953 # built for inclusion in a dll (and should export symbols for example).
12954 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12955 # (--disable-auto-import) libraries
12956 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12958 darwin
* | rhapsody
*)
12959 # PIC is the default on this platform
12960 # Common symbols not allowed in MH_DYLIB files
12961 lt_prog_compiler_pic_CXX
='-fno-common'
12964 # DJGPP does not support shared libraries at all
12965 lt_prog_compiler_pic_CXX
=
12968 # PIC is the default for Haiku.
12969 # The "-static" flag exists, but is broken.
12970 lt_prog_compiler_static_CXX
=
12973 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12974 # Instead, we relocate shared libraries at runtime.
12977 if test -d /usr
/nec
; then
12978 lt_prog_compiler_pic_CXX
=-Kconform_pic
12982 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12983 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12984 # sets the default TLS model and affects inlining.
12989 lt_prog_compiler_pic_CXX
='-fPIC'
12994 # QNX uses GNU C++, but need to define -shared option too, otherwise
12995 # it will coredump.
12996 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12999 lt_prog_compiler_pic_CXX
='-fPIC'
13005 # All AIX code is PIC.
13006 if test "$host_cpu" = ia64
; then
13007 # AIX 5 now supports IA64 processor
13008 lt_prog_compiler_static_CXX
='-Bstatic'
13010 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13014 case $cc_basename in
13016 # Green Hills C++ Compiler
13017 # _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"
13022 case $cc_basename in
13024 lt_prog_compiler_pic_CXX
='-KPIC'
13027 # Green Hills C++ Compiler
13028 lt_prog_compiler_pic_CXX
='-pic'
13034 freebsd
* | dragonfly
*)
13035 # FreeBSD uses GNU C++
13037 hpux9
* | hpux10
* | hpux11
*)
13038 case $cc_basename in
13040 lt_prog_compiler_wl_CXX
='-Wl,'
13041 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13042 if test "$host_cpu" != ia64
; then
13043 lt_prog_compiler_pic_CXX
='+Z'
13047 lt_prog_compiler_wl_CXX
='-Wl,'
13048 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13054 lt_prog_compiler_pic_CXX
='+Z'
13063 # This is c89, which is MS Visual C++ (no shared libs)
13064 # Anyone wants to do a port?
13066 irix5
* | irix6
* | nonstopux
*)
13067 case $cc_basename in
13069 lt_prog_compiler_wl_CXX
='-Wl,'
13070 lt_prog_compiler_static_CXX
='-non_shared'
13071 # CC pic flag -KPIC is the default.
13077 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13078 case $cc_basename in
13081 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13082 lt_prog_compiler_pic_CXX
='-fPIC'
13085 # old Intel C++ for x86_64 which still supported -KPIC.
13086 lt_prog_compiler_wl_CXX
='-Wl,'
13087 lt_prog_compiler_pic_CXX
='-KPIC'
13088 lt_prog_compiler_static_CXX
='-static'
13091 # Intel C++, used to be incompatible with GCC.
13092 # ICC 10 doesn't accept -KPIC any more.
13093 lt_prog_compiler_wl_CXX
='-Wl,'
13094 lt_prog_compiler_pic_CXX
='-fPIC'
13095 lt_prog_compiler_static_CXX
='-static'
13098 # Portland Group C++ compiler
13099 lt_prog_compiler_wl_CXX
='-Wl,'
13100 lt_prog_compiler_pic_CXX
='-fpic'
13101 lt_prog_compiler_static_CXX
='-Bstatic'
13105 # Make sure the PIC flag is empty. It appears that all Alpha
13106 # Linux and Compaq Tru64 Unix objects are PIC.
13107 lt_prog_compiler_pic_CXX
=
13108 lt_prog_compiler_static_CXX
='-non_shared'
13110 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
13111 # IBM XL 8.0, 9.0 on PPC and BlueGene
13112 lt_prog_compiler_wl_CXX
='-Wl,'
13113 lt_prog_compiler_pic_CXX
='-qpic'
13114 lt_prog_compiler_static_CXX
='-qstaticlink'
13117 case `$CC -V 2>&1 | sed 5q` in
13120 lt_prog_compiler_pic_CXX
='-KPIC'
13121 lt_prog_compiler_static_CXX
='-Bstatic'
13122 lt_prog_compiler_wl_CXX
='-Qoption ld '
13133 case $cc_basename in
13135 lt_prog_compiler_pic_CXX
='-W c,exportall'
13144 # QNX uses GNU C++, but need to define -shared option too, otherwise
13145 # it will coredump.
13146 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13148 osf3
* | osf4
* | osf5
*)
13149 case $cc_basename in
13151 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13154 # Rational C++ 2.4.1
13155 lt_prog_compiler_pic_CXX
='-pic'
13158 # Digital/Compaq C++
13159 lt_prog_compiler_wl_CXX
='-Wl,'
13160 # Make sure the PIC flag is empty. It appears that all Alpha
13161 # Linux and Compaq Tru64 Unix objects are PIC.
13162 lt_prog_compiler_pic_CXX
=
13163 lt_prog_compiler_static_CXX
='-non_shared'
13172 case $cc_basename in
13174 # Sun C++ 4.2, 5.x and Centerline C++
13175 lt_prog_compiler_pic_CXX
='-KPIC'
13176 lt_prog_compiler_static_CXX
='-Bstatic'
13177 lt_prog_compiler_wl_CXX
='-Qoption ld '
13180 # Green Hills C++ Compiler
13181 lt_prog_compiler_pic_CXX
='-PIC'
13188 case $cc_basename in
13191 lt_prog_compiler_pic_CXX
='-pic'
13192 lt_prog_compiler_static_CXX
='-Bstatic'
13196 lt_prog_compiler_pic_CXX
='-pic'
13202 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13203 case $cc_basename in
13205 lt_prog_compiler_wl_CXX
='-Wl,'
13206 lt_prog_compiler_pic_CXX
='-KPIC'
13207 lt_prog_compiler_static_CXX
='-Bstatic'
13212 case $cc_basename in
13214 # NonStop-UX NCC 3.20
13215 lt_prog_compiler_pic_CXX
='-KPIC'
13224 lt_prog_compiler_can_build_shared_CXX
=no
13230 # For platforms which do not support PIC, -DPIC is meaningless:
13232 lt_prog_compiler_pic_CXX
=
13235 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13239 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13244 # Check to make sure the PIC flag actually works.
13246 if test -n "$lt_prog_compiler_pic_CXX"; then
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13248 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13249 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13250 $as_echo_n "(cached) " >&6
13252 lt_cv_prog_compiler_pic_works_CXX
=no
13253 ac_outfile
=conftest.
$ac_objext
13254 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13255 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13256 # Insert the option either (1) after the last *FLAGS variable, or
13257 # (2) before a word containing "conftest.", or (3) at the end.
13258 # Note that $ac_compile itself does not contain backslashes and begins
13259 # with a dollar sign (not a hyphen), so the echo should work correctly.
13260 # The option is referenced via a variable to avoid confusing sed.
13261 lt_compile
=`echo "$ac_compile" | $SED \
13262 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13263 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13264 -e 's:$: $lt_compiler_flag:'`
13265 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13266 (eval "$lt_compile" 2>conftest.err
)
13268 cat conftest.err
>&5
13269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13270 if (exit $ac_status) && test -s "$ac_outfile"; then
13271 # The compiler can only warn and ignore the option if not recognized
13272 # So say no if there are warnings other than the usual output.
13273 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13274 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13275 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13276 lt_cv_prog_compiler_pic_works_CXX
=yes
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13283 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13285 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13286 case $lt_prog_compiler_pic_CXX in
13288 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13291 lt_prog_compiler_pic_CXX
=
13292 lt_prog_compiler_can_build_shared_CXX
=no
13300 # Check to make sure the static flag actually works.
13302 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13304 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13305 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13306 $as_echo_n "(cached) " >&6
13308 lt_cv_prog_compiler_static_works_CXX
=no
13309 save_LDFLAGS
="$LDFLAGS"
13310 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13311 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13312 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13313 # The linker can only warn and ignore the option if not recognized
13314 # So say no if there are warnings
13315 if test -s conftest.err
; then
13316 # Append any errors to the config.log.
13317 cat conftest.err
1>&5
13318 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13319 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13320 if diff conftest.exp conftest.er2
>/dev
/null
; then
13321 lt_cv_prog_compiler_static_works_CXX
=yes
13324 lt_cv_prog_compiler_static_works_CXX
=yes
13328 LDFLAGS
="$save_LDFLAGS"
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13332 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13334 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13337 lt_prog_compiler_static_CXX
=
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13344 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13345 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13346 $as_echo_n "(cached) " >&6
13348 lt_cv_prog_compiler_c_o_CXX
=no
13349 $RM -r conftest
2>/dev
/null
13353 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13355 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13356 # Insert the option either (1) after the last *FLAGS variable, or
13357 # (2) before a word containing "conftest.", or (3) at the end.
13358 # Note that $ac_compile itself does not contain backslashes and begins
13359 # with a dollar sign (not a hyphen), so the echo should work correctly.
13360 lt_compile
=`echo "$ac_compile" | $SED \
13361 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13362 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13363 -e 's:$: $lt_compiler_flag:'`
13364 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13365 (eval "$lt_compile" 2>out
/conftest.err
)
13367 cat out
/conftest.err
>&5
13368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13369 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13371 # The compiler can only warn and ignore the option if not recognized
13372 # So say no if there are warnings
13373 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13374 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13375 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13376 lt_cv_prog_compiler_c_o_CXX
=yes
13381 # SGI C++ compiler will create directory out/ii_files/ for
13382 # template instantiation
13383 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13384 $RM out
/* && rmdir out
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13391 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13396 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13397 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13398 $as_echo_n "(cached) " >&6
13400 lt_cv_prog_compiler_c_o_CXX
=no
13401 $RM -r conftest
2>/dev
/null
13405 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13407 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13408 # Insert the option either (1) after the last *FLAGS variable, or
13409 # (2) before a word containing "conftest.", or (3) at the end.
13410 # Note that $ac_compile itself does not contain backslashes and begins
13411 # with a dollar sign (not a hyphen), so the echo should work correctly.
13412 lt_compile
=`echo "$ac_compile" | $SED \
13413 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13414 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13415 -e 's:$: $lt_compiler_flag:'`
13416 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13417 (eval "$lt_compile" 2>out
/conftest.err
)
13419 cat out
/conftest.err
>&5
13420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13421 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13423 # The compiler can only warn and ignore the option if not recognized
13424 # So say no if there are warnings
13425 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13426 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13427 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13428 lt_cv_prog_compiler_c_o_CXX
=yes
13433 # SGI C++ compiler will create directory out/ii_files/ for
13434 # template instantiation
13435 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13436 $RM out
/* && rmdir out
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13443 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13448 hard_links
="nottested"
13449 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13450 # do not overwrite the value of need_locks provided by the user
13451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13452 $as_echo_n "checking if we can lock with hard links... " >&6; }
13455 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13457 ln conftest.a conftest.b
2>&5 || hard_links
=no
13458 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13460 $as_echo "$hard_links" >&6; }
13461 if test "$hard_links" = no
; then
13462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13463 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13473 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13475 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13478 # If we're using GNU nm, then we don't want the "-C" option.
13479 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13480 # Also, AIX nm treats weak defined symbols like other global defined
13481 # symbols, whereas GNU nm marks them as "W".
13482 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13483 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'
13485 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13489 export_symbols_cmds_CXX
="$ltdll_cmds"
13491 cygwin
* | mingw
* | cegcc
*)
13492 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'
13495 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13498 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13501 $as_echo "$ld_shlibs_CXX" >&6; }
13502 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13504 with_gnu_ld_CXX
=$with_gnu_ld
13512 # Do we need to explicitly link libc?
13514 case "x$archive_cmds_need_lc_CXX" in
13516 # Assume -lc should be added
13517 archive_cmds_need_lc_CXX
=yes
13519 if test "$enable_shared" = yes && test "$GCC" = yes; then
13520 case $archive_cmds_CXX in
13522 # FIXME: we may have to deal with multi-command sequences.
13525 # Test whether the compiler implicitly links with -lc since on some
13526 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13527 # to ld, don't add -lc before -lgcc.
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13529 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13530 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13531 $as_echo_n "(cached) " >&6
13534 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13536 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13537 (eval $ac_compile) 2>&5
13539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13540 test $ac_status = 0; } 2>conftest.err
; then
13543 libobjs
=conftest.
$ac_objext
13545 wl
=$lt_prog_compiler_wl_CXX
13546 pic_flag
=$lt_prog_compiler_pic_CXX
13552 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13553 allow_undefined_flag_CXX
=
13554 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13555 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13558 test $ac_status = 0; }
13560 lt_cv_archive_cmds_need_lc_CXX
=no
13562 lt_cv_archive_cmds_need_lc_CXX
=yes
13564 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13566 cat conftest.err
1>&5
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
13572 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
13573 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13644 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13646 library_names_spec
=
13647 libname_spec
='lib$name'
13651 postuninstall_cmds
=
13655 shlibpath_overrides_runpath
=unknown
13657 dynamic_linker
="$host_os ld.so"
13658 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13659 need_lib_prefix
=unknown
13660 hardcode_into_libs
=no
13662 # when you set need_version to no, make sure it does not cause -set_version
13663 # flags to be left without arguments
13664 need_version
=unknown
13669 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13670 shlibpath_var
=LIBPATH
13672 # AIX 3 has no versioning support, so we append a major version to the name.
13673 soname_spec
='${libname}${release}${shared_ext}$major'
13680 hardcode_into_libs
=yes
13681 if test "$host_cpu" = ia64
; then
13682 # AIX 5 supports IA64
13683 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13684 shlibpath_var
=LD_LIBRARY_PATH
13686 # With GCC up to 2.95.x, collect2 would create an import file
13687 # for dependence libraries. The import file would start with
13688 # the line `#! .'. This would cause the generated library to
13689 # depend on `.', always an invalid library. This was fixed in
13690 # development snapshots of GCC prior to 3.0.
13692 aix4 | aix4.
[01] | aix4.
[01].
*)
13693 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13695 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
13698 can_build_shared
=no
13702 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13703 # soname into executable. Probably we can add versioning support to
13704 # collect2, so additional links can be useful in future.
13705 if test "$aix_use_runtimelinking" = yes; then
13706 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13707 # instead of lib<name>.a to let people know that these are not
13708 # typical AIX shared libraries.
13709 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13711 # We preserve .a as extension for shared libraries through AIX4.2
13712 # and later when we are not doing run time linking.
13713 library_names_spec
='${libname}${release}.a $libname.a'
13714 soname_spec
='${libname}${release}${shared_ext}$major'
13716 shlibpath_var
=LIBPATH
13723 # Since July 2007 AmigaOS4 officially supports .so libraries.
13724 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13725 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13728 library_names_spec
='$libname.ixlibrary $libname.a'
13729 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13730 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'
13736 library_names_spec
='${libname}${shared_ext}'
13737 dynamic_linker
="$host_os ld.so"
13738 shlibpath_var
=LIBRARY_PATH
13744 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13745 soname_spec
='${libname}${release}${shared_ext}$major'
13746 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13747 shlibpath_var
=LD_LIBRARY_PATH
13748 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13749 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13750 # the default ld.so.conf also contains /usr/contrib/lib and
13751 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13752 # libtool to hard-code these into programs
13755 cygwin
* | mingw
* | pw32
* | cegcc
*)
13756 version_type
=windows
13761 case $GCC,$host_os in
13762 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
13763 library_names_spec
='$libname.dll.a'
13764 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13765 postinstall_cmds
='base_file=`basename \${file}`~
13766 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13767 dldir=$destdir/`dirname \$dlpath`~
13768 test -d \$dldir || mkdir -p \$dldir~
13769 $install_prog $dir/$dlname \$dldir/$dlname~
13770 chmod a+x \$dldir/$dlname~
13771 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13772 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13774 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13775 dlpath=$dir/\$dldll~
13777 shlibpath_overrides_runpath
=yes
13781 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13782 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13786 # MinGW DLLs use traditional 'lib' prefix
13787 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13790 # pw32 DLLs use 'pw' prefix rather than 'lib'
13791 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13797 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13800 dynamic_linker
='Win32 ld.exe'
13801 # FIXME: first we should search . and the directory the executable is in
13805 darwin
* | rhapsody
*)
13806 dynamic_linker
="$host_os dyld"
13807 version_type
=darwin
13810 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13811 soname_spec
='${libname}${release}${major}$shared_ext'
13812 shlibpath_overrides_runpath
=yes
13813 shlibpath_var
=DYLD_LIBRARY_PATH
13814 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13816 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13823 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13824 soname_spec
='${libname}${release}${shared_ext}$major'
13825 shlibpath_var
=LD_LIBRARY_PATH
13828 freebsd
* | dragonfly
*)
13829 # DragonFly does not have aout. When/if they implement a new
13830 # versioning mechanism, adjust this.
13831 if test -x /usr
/bin
/objformat
; then
13832 objformat
=`/usr/bin/objformat`
13835 freebsd
[23].
*) objformat
=aout
;;
13836 *) objformat
=elf
;;
13839 version_type
=freebsd-
$objformat
13840 case $version_type in
13842 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13847 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13851 shlibpath_var
=LD_LIBRARY_PATH
13854 shlibpath_overrides_runpath
=yes
13856 freebsd3.
[01]* | freebsdelf3.
[01]*)
13857 shlibpath_overrides_runpath
=yes
13858 hardcode_into_libs
=yes
13860 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13861 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13862 shlibpath_overrides_runpath
=no
13863 hardcode_into_libs
=yes
13865 *) # from 4.6 on, and DragonFly
13866 shlibpath_overrides_runpath
=yes
13867 hardcode_into_libs
=yes
13876 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13877 soname_spec
='${libname}${release}${shared_ext}$major'
13878 shlibpath_var
=LD_LIBRARY_PATH
13879 hardcode_into_libs
=yes
13886 dynamic_linker
="$host_os runtime_loader"
13887 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13888 soname_spec
='${libname}${release}${shared_ext}$major'
13889 shlibpath_var
=LIBRARY_PATH
13890 shlibpath_overrides_runpath
=yes
13891 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
13892 hardcode_into_libs
=yes
13895 hpux9
* | hpux10
* | hpux11
*)
13896 # Give a soname corresponding to the major version so that dld.sl refuses to
13897 # link against other versions.
13904 hardcode_into_libs
=yes
13905 dynamic_linker
="$host_os dld.so"
13906 shlibpath_var
=LD_LIBRARY_PATH
13907 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13908 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13909 soname_spec
='${libname}${release}${shared_ext}$major'
13910 if test "X$HPUX_IA64_MODE" = X32
; then
13911 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13913 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13915 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13919 hardcode_into_libs
=yes
13920 dynamic_linker
="$host_os dld.sl"
13921 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13922 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13923 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13924 soname_spec
='${libname}${release}${shared_ext}$major'
13925 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13926 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13930 dynamic_linker
="$host_os dld.sl"
13931 shlibpath_var
=SHLIB_PATH
13932 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13933 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13934 soname_spec
='${libname}${release}${shared_ext}$major'
13937 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13938 postinstall_cmds
='chmod 555 $lib'
13939 # or fails outright, so override atomically:
13940 install_override_mode
=555
13947 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13948 soname_spec
='${libname}${release}${shared_ext}$major'
13949 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13950 shlibpath_var
=LD_LIBRARY_PATH
13951 shlibpath_overrides_runpath
=no
13952 hardcode_into_libs
=yes
13955 irix5
* | irix6
* | nonstopux
*)
13957 nonstopux
*) version_type
=nonstopux
;;
13959 if test "$lt_cv_prog_gnu_ld" = yes; then
13967 soname_spec
='${libname}${release}${shared_ext}$major'
13968 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13970 irix5
* | nonstopux
*)
13971 libsuff
= shlibsuff
=
13974 case $LD in # libtool.m4 will add one of these switches to LD
13975 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13976 libsuff
= shlibsuff
= libmagic
=32-bit;;
13977 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13978 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13979 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13980 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13981 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13985 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13986 shlibpath_overrides_runpath
=no
13987 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13988 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13989 hardcode_into_libs
=yes
13992 # No shared lib support for Linux oldld, aout, or coff.
13993 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13997 # This must be Linux ELF.
13998 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14002 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14003 soname_spec
='${libname}${release}${shared_ext}$major'
14004 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14005 shlibpath_var
=LD_LIBRARY_PATH
14006 shlibpath_overrides_runpath
=no
14008 # Some binutils ld are patched to set DT_RUNPATH
14009 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14010 $as_echo_n "(cached) " >&6
14012 lt_cv_shlibpath_overrides_runpath
=no
14013 save_LDFLAGS
=$LDFLAGS
14014 save_libdir
=$libdir
14015 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14016 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14018 /* end confdefs.h. */
14028 if ac_fn_cxx_try_link
"$LINENO"; then :
14029 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14030 lt_cv_shlibpath_overrides_runpath
=yes
14033 rm -f core conftest.err conftest.
$ac_objext \
14034 conftest
$ac_exeext conftest.
$ac_ext
14035 LDFLAGS
=$save_LDFLAGS
14036 libdir
=$save_libdir
14040 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14042 # This implies no fast_install, which is unacceptable.
14043 # Some rework will be needed to allow for fast_install
14044 # before this can be enabled.
14045 hardcode_into_libs
=yes
14047 # Append ld.so.conf contents to the search path
14048 if test -f /etc
/ld.so.conf
; then
14049 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' ' '`
14050 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14053 # We used to test for /lib/ld.so.1 and disable shared libraries on
14054 # powerpc, because MkLinux only supported shared libraries with the
14055 # GNU dynamic linker. Since this was broken with cross compilers,
14056 # most powerpc-linux boxes support dynamic linking these days and
14057 # people can always --disable-shared, the test was removed, and we
14058 # assume the GNU/Linux dynamic linker is in use.
14059 dynamic_linker
='GNU/Linux ld.so'
14066 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14067 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14068 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14069 dynamic_linker
='NetBSD (a.out) ld.so'
14071 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14072 soname_spec
='${libname}${release}${shared_ext}$major'
14073 dynamic_linker
='NetBSD ld.elf_so'
14075 shlibpath_var
=LD_LIBRARY_PATH
14076 shlibpath_overrides_runpath
=yes
14077 hardcode_into_libs
=yes
14082 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14083 shlibpath_var
=LD_LIBRARY_PATH
14084 shlibpath_overrides_runpath
=yes
14091 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14092 soname_spec
='${libname}${release}${shared_ext}$major'
14093 shlibpath_var
=LD_LIBRARY_PATH
14094 shlibpath_overrides_runpath
=no
14095 hardcode_into_libs
=yes
14096 dynamic_linker
='ldqnx.so'
14101 sys_lib_dlsearch_path_spec
="/usr/lib"
14103 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14105 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14106 *) need_version
=no
;;
14108 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14109 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14110 shlibpath_var
=LD_LIBRARY_PATH
14111 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14113 openbsd2.
[89] | openbsd2.
[89].
*)
14114 shlibpath_overrides_runpath
=no
14117 shlibpath_overrides_runpath
=yes
14121 shlibpath_overrides_runpath
=yes
14126 libname_spec
='$name'
14129 library_names_spec
='$libname${shared_ext} $libname.a'
14130 dynamic_linker
='OS/2 ld.exe'
14131 shlibpath_var
=LIBPATH
14134 osf3
* | osf4
* | osf5
*)
14138 soname_spec
='${libname}${release}${shared_ext}$major'
14139 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14140 shlibpath_var
=LD_LIBRARY_PATH
14141 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14142 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14153 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14154 soname_spec
='${libname}${release}${shared_ext}$major'
14155 shlibpath_var
=LD_LIBRARY_PATH
14156 shlibpath_overrides_runpath
=yes
14157 hardcode_into_libs
=yes
14158 # ldd complains unless libraries are executable
14159 postinstall_cmds
='chmod +x $lib'
14164 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14165 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14166 shlibpath_var
=LD_LIBRARY_PATH
14167 shlibpath_overrides_runpath
=yes
14168 if test "$with_gnu_ld" = yes; then
14176 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14177 soname_spec
='${libname}${release}${shared_ext}$major'
14178 shlibpath_var
=LD_LIBRARY_PATH
14179 case $host_vendor in
14181 shlibpath_overrides_runpath
=no
14183 runpath_var
=LD_RUN_PATH
14191 shlibpath_overrides_runpath
=no
14192 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14198 if test -d /usr
/nec
;then
14200 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14201 soname_spec
='$libname${shared_ext}.$major'
14202 shlibpath_var
=LD_LIBRARY_PATH
14206 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14207 version_type
=freebsd-elf
14210 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14211 soname_spec
='${libname}${release}${shared_ext}$major'
14212 shlibpath_var
=LD_LIBRARY_PATH
14213 shlibpath_overrides_runpath
=yes
14214 hardcode_into_libs
=yes
14215 if test "$with_gnu_ld" = yes; then
14216 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14218 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14221 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14225 sys_lib_dlsearch_path_spec
='/usr/lib'
14229 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14233 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14234 shlibpath_var
=LD_LIBRARY_PATH
14235 shlibpath_overrides_runpath
=no
14236 hardcode_into_libs
=yes
14241 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14242 soname_spec
='${libname}${release}${shared_ext}$major'
14243 shlibpath_var
=LD_LIBRARY_PATH
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14251 $as_echo "$dynamic_linker" >&6; }
14252 test "$dynamic_linker" = no
&& can_build_shared
=no
14254 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14255 if test "$GCC" = yes; then
14256 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14259 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14260 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14262 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14263 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14304 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14305 hardcode_action_CXX
=
14306 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14307 test -n "$runpath_var_CXX" ||
14308 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14310 # We can hardcode non-existent directories.
14311 if test "$hardcode_direct_CXX" != no
&&
14312 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14313 # have to relink, otherwise we might link with an installed library
14314 # when we should be linking with a yet-to-be-installed one
14315 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14316 test "$hardcode_minus_L_CXX" != no
; then
14317 # Linking always hardcodes the temporary library directory.
14318 hardcode_action_CXX
=relink
14320 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14321 hardcode_action_CXX
=immediate
14324 # We cannot hardcode anything, or else we can only hardcode existing
14326 hardcode_action_CXX
=unsupported
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14329 $as_echo "$hardcode_action_CXX" >&6; }
14331 if test "$hardcode_action_CXX" = relink ||
14332 test "$inherit_rpath_CXX" = yes; then
14333 # Fast installation is not supported
14334 enable_fast_install
=no
14335 elif test "$shlibpath_overrides_runpath" = yes ||
14336 test "$enable_shared" = no
; then
14337 # Fast installation is not necessary
14338 enable_fast_install
=needless
14347 fi # test -n "$compiler"
14353 with_gnu_ld
=$lt_save_with_gnu_ld
14354 lt_cv_path_LDCXX
=$lt_cv_path_LD
14355 lt_cv_path_LD
=$lt_save_path_LD
14356 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14357 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14358 fi # test "$_lt_caught_CXX_error" != yes
14361 ac_cpp
='$CPP $CPPFLAGS'
14362 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14363 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14364 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14378 ac_config_commands
="$ac_config_commands libtool"
14383 # Only expand once:
14390 cat >confcache
<<\_ACEOF
14391 # This file is a shell script that caches the results of configure
14392 # tests run on this system so they can be shared between configure
14393 # scripts and configure runs, see configure's option --config-cache.
14394 # It is not useful on other systems. If it contains results you don't
14395 # want to keep, you may remove or edit it.
14397 # config.status only pays attention to the cache file if you give it
14398 # the --recheck option to rerun configure.
14400 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14401 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14402 # following values.
14406 # The following way of writing the cache mishandles newlines in values,
14407 # but we know of no workaround that is simple, portable, and efficient.
14408 # So, we kill variables containing newlines.
14409 # Ultrix sh set writes to stderr and can't be redirected directly,
14410 # and sets the high bit in the cache file unless we assign to the vars.
14412 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14413 eval ac_val
=\$
$ac_var
14417 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14418 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14421 _ | IFS | as_nl
) ;; #(
14422 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14423 *) { eval $ac_var=; unset $ac_var;} ;;
14429 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14430 *${as_nl}ac_space
=\
*)
14431 # `set' does not quote correctly, so add quotes: double-quote
14432 # substitution turns \\\\ into \\, and sed turns \\ into \.
14435 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14438 # `set' quotes correctly as required by POSIX, so do not add quotes.
14439 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14448 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14450 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14452 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14453 if test -w "$cache_file"; then
14454 test "x$cache_file" != "x/dev/null" &&
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14456 $as_echo "$as_me: updating cache $cache_file" >&6;}
14457 cat confcache
>$cache_file
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14460 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14465 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14466 # Let make expand exec_prefix.
14467 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14469 # Transform confdefs.h into DEFS.
14470 # Protect against shell expansion while executing Makefile rules.
14471 # Protect against Makefile macro expansion.
14473 # If the first sed substitution is executed (which looks for macros that
14474 # take arguments), then branch to the quote section. Otherwise,
14475 # look for a macro that doesn't take arguments.
14485 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14487 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14491 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
14504 DEFS
=`sed -n "$ac_script" confdefs.h`
14509 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14510 # 1. Remove the extension, and $U if already installed.
14511 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14512 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14513 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14514 # will be set to the directory where LIBOBJS objects are built.
14515 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14516 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14518 LIBOBJS
=$ac_libobjs
14520 LTLIBOBJS
=$ac_ltlibobjs
14523 if test -n "$EXEEXT"; then
14525 am__EXEEXT_FALSE
='#'
14527 am__EXEEXT_TRUE
='#'
14531 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14532 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
14533 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14535 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14536 as_fn_error
"conditional \"AMDEP\" was never defined.
14537 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14539 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
14540 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
14541 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14543 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14544 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
14545 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14547 if test -z "${LINUX_LINKER_SCRIPT_TRUE}" && test -z "${LINUX_LINKER_SCRIPT_FALSE}"; then
14548 as_fn_error
"conditional \"LINUX_LINKER_SCRIPT\" was never defined.
14549 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14551 if test -z "${MAC_LINKER_SCRIPT_TRUE}" && test -z "${MAC_LINKER_SCRIPT_FALSE}"; then
14552 as_fn_error
"conditional \"MAC_LINKER_SCRIPT\" was never defined.
14553 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14556 : ${CONFIG_STATUS=./config.status}
14558 ac_clean_files_save
=$ac_clean_files
14559 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14561 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14563 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14565 # Generated by $as_me.
14566 # Run this file to recreate the current configuration.
14567 # Compiler output produced by configure, useful for debugging
14568 # configure, is in config.log if it exists.
14571 ac_cs_recheck=false
14574 SHELL=\${CONFIG_SHELL-$SHELL}
14577 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14578 ## -------------------- ##
14579 ## M4sh Initialization. ##
14580 ## -------------------- ##
14582 # Be more Bourne compatible
14583 DUALCASE
=1; export DUALCASE
# for MKS sh
14584 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14587 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14588 # is contrary to our usage. Disable this feature.
14589 alias -g '${1+"$@"}'='"$@"'
14590 setopt NO_GLOB_SUBST
14592 case `(set -o) 2>/dev/null` in #(
14604 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14605 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14606 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14607 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14608 # Prefer a ksh shell builtin over an external printf program on Solaris,
14609 # but without wasting forks for bash or zsh.
14610 if test -z "$BASH_VERSION$ZSH_VERSION" \
14611 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14612 as_echo='print
-r --'
14613 as_echo_n='print
-rn --'
14614 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14615 as_echo='printf %s
\n'
14616 as_echo_n='printf %s
'
14618 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14619 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14620 as_echo_n='/usr
/ucb
/echo -n'
14622 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14623 as_echo_n_body='eval
14627 expr "X$arg" : "X\\(.*\\)$as_nl";
14628 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14630 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14632 export as_echo_n_body
14633 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14635 export as_echo_body
14636 as_echo='sh
-c $as_echo_body as_echo
'
14639 # The user is always right.
14640 if test "${PATH_SEPARATOR+set}" != set; then
14642 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14643 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14650 # We need space, tab and new line, in precisely that order. Quoting is
14651 # there to prevent editors from complaining about space-tab.
14652 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14653 # splitting by setting IFS to empty value.)
14656 # Find who we are. Look in the path if we contain no directory separator.
14658 *[\\/]* ) as_myself=$0 ;;
14659 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14660 for as_dir in $PATH
14663 test -z "$as_dir" && as_dir=.
14664 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14670 # We did not find ourselves, most probably we were run as `sh COMMAND'
14671 # in which case we are not to be found in the path.
14672 if test "x$as_myself" = x
; then
14675 if test ! -f "$as_myself"; then
14676 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14680 # Unset variables that we do not need and which cause bugs (e.g. in
14681 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14682 # suppresses any "Segmentation fault" message there. '((' could
14683 # trigger a bug in pdksh 5.2.14.
14684 for as_var
in BASH_ENV ENV MAIL MAILPATH
14685 do eval test x\
${$as_var+set} = xset \
14686 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14699 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14702 # as_fn_error ERROR [LINENO LOG_FD]
14703 # ---------------------------------
14704 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14705 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14706 # script with status $?, using 1 if that was 0.
14709 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14711 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14712 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14714 $as_echo "$as_me: error: $1" >&2
14715 as_fn_exit
$as_status
14719 # as_fn_set_status STATUS
14720 # -----------------------
14721 # Set $? to STATUS, without forking.
14722 as_fn_set_status
()
14725 } # as_fn_set_status
14727 # as_fn_exit STATUS
14728 # -----------------
14729 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14733 as_fn_set_status
$1
14739 # Portably unset VAR.
14742 { eval $1=; unset $1;}
14744 as_unset
=as_fn_unset
14745 # as_fn_append VAR VALUE
14746 # ----------------------
14747 # Append the text in VALUE to the end of the definition contained in VAR. Take
14748 # advantage of any shell optimizations that allow amortized linear growth over
14749 # repeated appends, instead of the typical quadratic growth present in naive
14751 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14752 eval 'as_fn_append ()
14763 # as_fn_arith ARG...
14764 # ------------------
14765 # Perform arithmetic evaluation on the ARGs, and store the result in the
14766 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14767 # must be portable across $(()) and expr.
14768 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14769 eval 'as_fn_arith ()
14776 as_val
=`expr "$@" || test $? -eq 1`
14781 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14782 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14788 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14789 as_basename
=basename
14794 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14800 as_me
=`$as_basename -- "$0" ||
14801 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14802 X"$0" : 'X\(//\)$' \| \
14803 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14805 sed '/^.*\/\([^/][^/]*\)\/*$/{
14819 # Avoid depending upon Character Ranges.
14820 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14821 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14822 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14823 as_cr_digits
='0123456789'
14824 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14826 ECHO_C
= ECHO_N
= ECHO_T
=
14827 case `echo -n x` in #(((((
14829 case `echo 'xy\c'` in
14830 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14832 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14839 rm -f conf$$ conf$$.exe conf$$.
file
14840 if test -d conf$$.dir
; then
14841 rm -f conf$$.dir
/conf$$.
file
14844 mkdir conf$$.dir
2>/dev
/null
14846 if (echo >conf$$.
file) 2>/dev
/null
; then
14847 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14849 # ... but there are two gotchas:
14850 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14851 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14852 # In both cases, we have to default to `cp -p'.
14853 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14855 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14863 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14864 rmdir conf$$.dir
2>/dev
/null
14869 # Create "$as_dir" as a directory, including parents if necessary.
14874 -*) as_dir
=.
/$as_dir;;
14876 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14880 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14881 *) as_qdir
=$as_dir;;
14883 as_dirs
="'$as_qdir' $as_dirs"
14884 as_dir
=`$as_dirname -- "$as_dir" ||
14885 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14886 X"$as_dir" : 'X\(//\)[^/]' \| \
14887 X"$as_dir" : 'X\(//\)$' \| \
14888 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14889 $as_echo X"$as_dir" |
14890 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14894 /^X\(\/\/\)[^/].*/{
14907 test -d "$as_dir" && break
14909 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14910 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14914 if mkdir
-p .
2>/dev
/null
; then
14915 as_mkdir_p
='mkdir -p "$as_dir"'
14917 test -d .
/-p && rmdir .
/-p
14921 if test -x / >/dev
/null
2>&1; then
14922 as_test_x
='test -x'
14924 if ls -dL / >/dev
/null
2>&1; then
14931 if test -d "$1"; then
14937 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14938 ???[sx]*):;;*)false;;esac;fi
14942 as_executable_p
=$as_test_x
14944 # Sed expression to map a string onto a valid CPP name.
14945 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14947 # Sed expression to map a string onto a valid variable name.
14948 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14952 ## ----------------------------------- ##
14953 ## Main body of $CONFIG_STATUS script. ##
14954 ## ----------------------------------- ##
14956 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14958 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14959 # Save the log message, to keep $0 and so on meaningful, and to
14960 # report actual input values of CONFIG_FILES etc. instead of their
14961 # values after options handling.
14963 This file was extended by Cilk Runtime Library $as_me 2.0, which was
14964 generated by GNU Autoconf 2.64. Invocation command line was
14966 CONFIG_FILES = $CONFIG_FILES
14967 CONFIG_HEADERS = $CONFIG_HEADERS
14968 CONFIG_LINKS = $CONFIG_LINKS
14969 CONFIG_COMMANDS = $CONFIG_COMMANDS
14972 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14977 case $ac_config_files in *"
14978 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14983 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14984 # Files that config.status was made for.
14985 config_files="$ac_config_files"
14986 config_commands="$ac_config_commands"
14990 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14992 \`$as_me' instantiates files and other configuration actions
14993 from templates according to the current configuration. Unless the files
14994 and actions are specified as TAGs, all are instantiated by default.
14996 Usage: $0 [OPTION]... [TAG]...
14998 -h, --help print this help, then exit
14999 -V, --version print version number and configuration settings, then exit
15000 -q, --quiet, --silent
15001 do not print progress messages
15002 -d, --debug don't remove temporary files
15003 --recheck update $as_me by reconfiguring in the same conditions
15004 --file=FILE[:TEMPLATE]
15005 instantiate the configuration file FILE
15007 Configuration files:
15010 Configuration commands:
15013 Report bugs to <cilk@intel.com>."
15016 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15018 Cilk Runtime Library config.status 2.0
15019 configured by $0, generated by GNU Autoconf 2.64,
15020 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15022 Copyright (C) 2009 Free Software Foundation, Inc.
15023 This config.status script is free software; the Free Software Foundation
15024 gives unlimited permission to copy, distribute and modify it."
15031 test -n "\$AWK" || AWK=awk
15034 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15035 # The default lists apply if the user does not specify any file.
15041 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15042 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15053 # Handling of the options.
15054 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15056 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15057 $as_echo "$ac_cs_version"; exit ;;
15058 --debug |
--debu |
--deb |
--de |
--d |
-d )
15060 --file |
--fil |
--fi |
--f )
15063 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15065 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15066 ac_need_defaults
=false
;;
15067 --he |
--h |
--help |
--hel |
-h )
15068 $as_echo "$ac_cs_usage"; exit ;;
15069 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15070 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15073 # This is an error.
15074 -*) as_fn_error
"unrecognized option: \`$1'
15075 Try \`$0 --help' for more information." ;;
15077 *) as_fn_append ac_config_targets
" $1"
15078 ac_need_defaults
=false
;;
15084 ac_configure_extra_args
=
15086 if $ac_cs_silent; then
15088 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15092 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15093 if \$ac_cs_recheck; then
15094 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15096 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15097 CONFIG_SHELL='$SHELL'
15098 export CONFIG_SHELL
15103 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15107 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15108 ## Running $as_me. ##
15114 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15118 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15123 with_multisubdir="$with_multisubdir"
15124 with_multisrctop="$with_multisrctop"
15125 with_target_subdir="$with_target_subdir"
15126 ac_configure_args="${multilib_arg} ${ac_configure_args}"
15127 multi_basedir="$multi_basedir"
15128 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
15131 GFORTRAN="$GFORTRAN"
15135 # The HP-UX ksh and POSIX shell print the target directory to stdout
15136 # if CDPATH is set.
15137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15139 sed_quote_subst='$sed_quote_subst'
15140 double_quote_subst='$double_quote_subst'
15141 delay_variable_subst='$delay_variable_subst'
15142 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15143 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15144 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15145 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15146 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15147 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15148 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15149 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15150 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15151 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15152 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15153 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15154 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15155 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15156 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15157 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15158 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15159 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15160 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15161 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15162 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15163 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15164 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15165 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15166 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15167 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15168 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15169 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15170 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15171 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15172 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15173 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15174 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15175 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15176 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15177 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15178 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15179 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15180 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15181 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15182 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15183 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15184 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15185 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15186 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15187 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15188 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15189 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15190 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"`'
15191 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15192 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15193 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15194 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15195 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15196 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15197 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15198 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15199 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15200 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15201 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15202 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15203 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15204 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15205 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15206 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15207 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15208 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15209 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15210 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15211 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15212 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15213 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15214 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15215 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15216 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15217 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15218 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15219 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15220 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15221 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15222 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15223 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15224 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15225 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15226 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15227 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15228 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15229 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15230 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15231 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15232 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15233 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15234 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15235 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15236 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15237 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15238 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15239 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15240 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15241 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15242 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15243 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15244 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15245 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15246 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15247 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15248 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15249 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15250 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15251 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15252 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15253 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15254 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15255 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15256 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15257 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15258 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15259 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15260 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15261 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15262 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
15263 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
15264 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
15265 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
15266 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
15267 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
15268 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
15269 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
15270 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15271 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15272 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
15273 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
15274 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
15275 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
15276 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
15277 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
15278 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
15279 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
15280 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
15281 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15282 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15283 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
15284 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15285 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15286 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15287 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15288 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15289 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15290 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
15291 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15292 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15293 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15294 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
15295 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
15296 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
15297 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
15298 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
15299 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
15300 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
15301 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
15302 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
15303 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
15304 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
15305 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15306 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15307 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15308 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15309 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
15310 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
15311 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
15312 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15313 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15314 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
15315 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
15316 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
15319 LTCFLAGS='$LTCFLAGS'
15320 compiler='$compiler_DEFAULT'
15322 # A function that is used when there is no print builtin or printf.
15323 func_fallback_echo ()
15325 eval 'cat <<_LTECHO_EOF
15330 # Quote evaled strings.
15344 deplibs_check_method \
15353 lt_cv_sys_global_symbol_pipe \
15354 lt_cv_sys_global_symbol_to_cdecl \
15355 lt_cv_sys_global_symbol_to_c_name_address \
15356 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15357 lt_prog_compiler_no_builtin_flag \
15358 lt_prog_compiler_wl \
15359 lt_prog_compiler_pic \
15360 lt_prog_compiler_static \
15361 lt_cv_prog_compiler_c_o \
15369 export_dynamic_flag_spec \
15370 whole_archive_flag_spec \
15371 compiler_needs_object \
15373 allow_undefined_flag \
15374 no_undefined_flag \
15375 hardcode_libdir_flag_spec \
15376 hardcode_libdir_flag_spec_ld \
15377 hardcode_libdir_separator \
15382 variables_saved_for_relink \
15384 library_names_spec \
15386 install_override_mode \
15390 compiler_lib_search_dirs \
15395 compiler_lib_search_path \
15399 lt_prog_compiler_no_builtin_flag_CXX \
15400 lt_prog_compiler_wl_CXX \
15401 lt_prog_compiler_pic_CXX \
15402 lt_prog_compiler_static_CXX \
15403 lt_cv_prog_compiler_c_o_CXX \
15404 export_dynamic_flag_spec_CXX \
15405 whole_archive_flag_spec_CXX \
15406 compiler_needs_object_CXX \
15408 allow_undefined_flag_CXX \
15409 no_undefined_flag_CXX \
15410 hardcode_libdir_flag_spec_CXX \
15411 hardcode_libdir_flag_spec_ld_CXX \
15412 hardcode_libdir_separator_CXX \
15413 fix_srcfile_path_CXX \
15414 exclude_expsyms_CXX \
15415 include_expsyms_CXX \
15416 file_list_spec_CXX \
15417 compiler_lib_search_dirs_CXX \
15418 predep_objects_CXX \
15419 postdep_objects_CXX \
15422 compiler_lib_search_path_CXX; do
15423 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15424 *[\\\\\\\`\\"\\\$]*)
15425 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15428 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15433 # Double-quote double-evaled strings.
15434 for var in reload_cmds \
15435 old_postinstall_cmds \
15436 old_postuninstall_cmds \
15438 extract_expsyms_cmds \
15439 old_archive_from_new_cmds \
15440 old_archive_from_expsyms_cmds \
15442 archive_expsym_cmds \
15444 module_expsym_cmds \
15445 export_symbols_cmds \
15448 postuninstall_cmds \
15450 sys_lib_search_path_spec \
15451 sys_lib_dlsearch_path_spec \
15453 old_archive_cmds_CXX \
15454 old_archive_from_new_cmds_CXX \
15455 old_archive_from_expsyms_cmds_CXX \
15457 archive_expsym_cmds_CXX \
15459 module_expsym_cmds_CXX \
15460 export_symbols_cmds_CXX \
15461 prelink_cmds_CXX; do
15462 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15463 *[\\\\\\\`\\"\\\$]*)
15464 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15467 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15472 ac_aux_dir='$ac_aux_dir'
15473 xsi_shell='$xsi_shell'
15474 lt_shell_append='$lt_shell_append'
15476 # See if we are running on zsh, and set the options which allow our
15477 # commands through without removal of \ escapes INIT.
15478 if test -n "\${ZSH_VERSION+set}" ; then
15479 setopt NO_GLOB_SUBST
15485 TIMESTAMP='$TIMESTAMP'
15496 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15498 # Handling of arguments.
15499 for ac_config_target
in $ac_config_targets
15501 case $ac_config_target in
15502 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15503 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15504 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
15505 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15507 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15512 # If the user did not use the arguments to specify the items to instantiate,
15513 # then the envvar interface is used. Set only those that are not.
15514 # We use the long form for the default assignment because of an extremely
15515 # bizarre bug on SunOS 4.1.3.
15516 if $ac_need_defaults; then
15517 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15518 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15521 # Have a temporary directory for convenience. Make it in the build tree
15522 # simply because there is no reason against having it here, and in addition,
15523 # creating and moving files from /tmp can sometimes cause problems.
15524 # Hook for its removal unless debugging.
15525 # Note that there is a small window in which the directory will not be cleaned:
15526 # after its creation but before its name has been assigned to `$tmp'.
15530 trap 'exit_status=$?
15531 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15533 trap 'as_fn_exit 1' 1 2 13 15
15535 # Create a (secure) tmp directory for tmp files.
15538 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15539 test -n "$tmp" && test -d "$tmp"
15542 tmp
=.
/conf$$
-$RANDOM
15543 (umask 077 && mkdir
"$tmp")
15544 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15546 # Set up the scripts for CONFIG_FILES section.
15547 # No need to generate them if there are no CONFIG_FILES.
15548 # This happens for instance with `./config.status config.h'.
15549 if test -n "$CONFIG_FILES"; then
15552 ac_cr
=`echo X | tr X '\015'`
15553 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15554 # But we know of no other shell where ac_cr would be empty at this
15555 # point, so we can use a bashism as a fallback.
15556 if test "x$ac_cr" = x
; then
15557 eval ac_cr
=\$
\'\\r
\'
15559 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15560 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15563 ac_cs_awk_cr
=$ac_cr
15566 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15571 echo "cat >conf$$subs.awk <<_ACEOF" &&
15572 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15574 } >conf$$subs.sh ||
15575 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15576 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15578 for ac_last_try in false false false false false :; do
15579 . ./conf$$subs.sh ||
15580 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15582 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15583 if test $ac_delim_n = $ac_delim_num; then
15585 elif $ac_last_try; then
15586 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15588 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15591 rm -f conf$$subs.sh
15593 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15594 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15598 s/^/S["/; s
/!.
*/"]=/
15608 s/\(.\{148\}\).*/\1/
15610 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15615 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15622 s/\(.\{148\}\).*/\1/
15624 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15628 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15633 ' <conf$$subs.awk | sed '
15638 ' >>$CONFIG_STATUS || ac_write_fail=1
15639 rm -f conf$$subs.awk
15640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15642 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15643 for (key in S) S_is_set[key] = 1
15649 nfields = split(line, field, "@
")
15651 len = length(field[1])
15652 for (i = 2; i < nfields; i++) {
15654 keylen = length(key)
15655 if (S_is_set[key]) {
15657 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15658 len += length(value) + length(field[++i])
15669 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15670 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15671 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15674 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15675 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15678 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15679 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15680 # trailing colons and then remove the whole line if VPATH becomes empty
15681 # (actually we leave an empty line to preserve line numbers).
15682 if test "x
$srcdir" = x.; then
15683 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15684 s/:*\$(srcdir):*/:/
15685 s/:*\${srcdir}:*/:/
15687 s/^\([^=]*=[ ]*\):*/\1/
15693 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15694 fi # test -n "$CONFIG_FILES"
15697 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
15702 :[FHLC]) ac_mode=$ac_tag; continue;;
15704 case $ac_mode$ac_tag in
15706 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15707 :[FH]-) ac_tag=-:-;;
15708 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15725 -) ac_f="$tmp/stdin";;
15726 *) # Look for the file first in the build tree, then in the source tree
15727 # (if the path is not absolute). The absolute path cannot be DOS-style,
15728 # because $ac_f cannot contain `:'.
15732 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15734 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15736 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15737 as_fn_append ac_file_inputs " '$ac_f'"
15740 # Let's still pretend it is `configure' which instantiates (i.e., don't
15741 # use $as_me), people would be surprised to read:
15742 # /* config.h. Generated by config.status. */
15743 configure_input='Generated from '`
15744 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15746 if test x"$ac_file" != x-; then
15747 configure_input="$ac_file.
$configure_input"
15748 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15749 $as_echo "$as_me: creating
$ac_file" >&6;}
15751 # Neutralize special characters interpreted by sed in replacement strings.
15752 case $configure_input in #(
15753 *\&* | *\|* | *\\* )
15754 ac_sed_conf_input=`$as_echo "$configure_input" |
15755 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15756 *) ac_sed_conf_input=$configure_input;;
15760 *:-:* | *:-) cat >"$tmp/stdin
" \
15761 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15766 ac_dir=`$as_dirname -- "$ac_file" ||
15767 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15768 X"$ac_file" : 'X\(//\)[^/]' \| \
15769 X"$ac_file" : 'X\(//\)$' \| \
15770 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15771 $as_echo X"$ac_file" |
15772 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15776 /^X\(\/\/\)[^/].*/{
15789 as_dir="$ac_dir"; as_fn_mkdir_p
15793 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15795 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15796 # A "..
" for each directory in $ac_dir_suffix.
15797 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15798 case $ac_top_builddir_sub in
15799 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15800 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15803 ac_abs_top_builddir=$ac_pwd
15804 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15805 # for backward compatibility:
15806 ac_top_builddir=$ac_top_build_prefix
15809 .) # We are building in place.
15811 ac_top_srcdir=$ac_top_builddir_sub
15812 ac_abs_top_srcdir=$ac_pwd ;;
15813 [\\/]* | ?:[\\/]* ) # Absolute name.
15814 ac_srcdir=$srcdir$ac_dir_suffix;
15815 ac_top_srcdir=$srcdir
15816 ac_abs_top_srcdir=$srcdir ;;
15817 *) # Relative name.
15818 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15819 ac_top_srcdir=$ac_top_build_prefix$srcdir
15820 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15822 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15832 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15833 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15835 ac_MKDIR_P=$MKDIR_P
15837 [\\/$]* | ?:[\\/]* ) ;;
15838 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15843 # If the template does not know about datarootdir, expand it.
15844 # FIXME: This hack should be removed a few years after 2.60.
15845 ac_datarootdir_hack=; ac_datarootdir_seen=
15856 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15857 *datarootdir*) ac_datarootdir_seen=yes;;
15858 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15860 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15862 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15863 ac_datarootdir_hack='
15864 s&@datadir@&$datadir&g
15865 s&@docdir@&$docdir&g
15866 s&@infodir@&$infodir&g
15867 s&@localedir@&$localedir&g
15868 s&@mandir@&$mandir&g
15869 s&\\\${datarootdir}&$datarootdir&g' ;;
15873 # Neutralize VPATH when `$srcdir' = `.'.
15874 # Shell code in configure.ac might set extrasub.
15875 # FIXME: do we really want to maintain this feature?
15876 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15877 ac_sed_extra="$ac_vpsub
15880 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15882 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15883 s|@configure_input@|
$ac_sed_conf_input|
;t t
15884 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15885 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15886 s
&@srcdir@
&$ac_srcdir&;t t
15887 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15888 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15889 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15890 s
&@builddir@
&$ac_builddir&;t t
15891 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15892 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15893 s
&@INSTALL@
&$ac_INSTALL&;t t
15894 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15895 $ac_datarootdir_hack
15897 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
15898 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15900 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15901 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15902 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15904 which seems to be undefined. Please make sure it is defined." >&5
15905 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15906 which seems to be undefined. Please make sure it is defined." >&2;}
15910 -) cat "$tmp/out" && rm -f "$tmp/out";;
15911 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15913 || as_fn_error "could not create $ac_file" "$LINENO" 5
15917 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15918 $as_echo "$as_me: executing $ac_file commands" >&6;}
15923 case $ac_file$ac_mode in
15924 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15925 # Autoconf 2.62 quotes --file arguments for eval, but not when files
15926 # are listed without --file. Let's play safe and only
enable the
eval
15927 # if we detect the quoting.
15928 case $CONFIG_FILES in
15929 *\'*) eval set x
"$CONFIG_FILES" ;;
15930 *) set x
$CONFIG_FILES ;;
15935 # Strip MF so we end up with the name of the file.
15936 mf
=`echo "$mf" | sed -e 's/:.*$//'`
15937 # Check whether this is an Automake generated Makefile or not.
15938 # We used to match only the files named `Makefile.in', but
15939 # some people rename them; so instead we look at the file content.
15940 # Grep'ing the first line is not enough: some people post-process
15941 # each Makefile.in and add a new line on top of each file to say so.
15942 # Grep'ing the whole file is not good either: AIX grep has a line
15943 # limit of 2048, but all sed's we know have understand at least 4000.
15944 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
15945 dirpart
=`$as_dirname -- "$mf" ||
15946 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15947 X"$mf" : 'X\(//\)[^/]' \| \
15948 X"$mf" : 'X\(//\)$' \| \
15949 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15951 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15955 /^X\(\/\/\)[^/].*/{
15971 # Extract the definition of DEPDIR, am__include, and am__quote
15972 # from the Makefile without running `make'.
15973 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
15974 test -z "$DEPDIR" && continue
15975 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
15976 test -z "am__include" && continue
15977 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
15978 # When using ansi2knr, U may be empty or an underscore; expand it
15979 U
=`sed -n 's/^U = //p' < "$mf"`
15980 # Find all dependency output files, they are included files with
15981 # $(DEPDIR) in their names. We invoke sed twice because it is the
15982 # simplest approach to changing $(DEPDIR) to its actual value in the
15984 for file in `sed -n "
15985 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15986 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15987 # Make sure the directory exists.
15988 test -f "$dirpart/$file" && continue
15989 fdir
=`$as_dirname -- "$file" ||
15990 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15991 X"$file" : 'X\(//\)[^/]' \| \
15992 X"$file" : 'X\(//\)$' \| \
15993 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15994 $as_echo X"$file" |
15995 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15999 /^X\(\/\/\)[^/].*/{
16012 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16013 # echo "creating $dirpart/$file"
16014 echo '# dummy' > "$dirpart/$file"
16020 # Only add multilib support code if we just rebuilt the top-level
16022 case " $CONFIG_FILES " in
16024 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
16029 # See if we are running on zsh, and set the options which allow our
16030 # commands through without removal of \ escapes.
16031 if test -n "${ZSH_VERSION+set}" ; then
16032 setopt NO_GLOB_SUBST
16035 cfgfile
="${ofile}T"
16036 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16039 cat <<_LT_EOF >> "$cfgfile"
16042 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16043 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16044 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16045 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16047 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16048 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16049 # Written by Gordon Matzigkeit, 1996
16051 # This file is part of GNU Libtool.
16053 # GNU Libtool is free software; you can redistribute it and/or
16054 # modify it under the terms of the GNU General Public License as
16055 # published by the Free Software Foundation; either version 2 of
16056 # the License, or (at your option) any later version.
16058 # As a special exception to the GNU General Public License,
16059 # if you distribute this file as part of a program or library that
16060 # is built using GNU Libtool, you may include this file under the
16061 # same distribution terms that you use for the rest of that program.
16063 # GNU Libtool is distributed in the hope that it will be useful,
16064 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16065 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16066 # GNU General Public License for more details.
16068 # You should have received a copy of the GNU General Public License
16069 # along with GNU Libtool; see the file COPYING. If not, a copy
16070 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16071 # obtained by writing to the Free Software Foundation, Inc.,
16072 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16075 # The names of the tagged configurations supported by this script.
16076 available_tags="CXX "
16078 # ### BEGIN LIBTOOL CONFIG
16080 # Which release of libtool.m4 was used?
16081 macro_version=$macro_version
16082 macro_revision=$macro_revision
16084 # Whether or not to build shared libraries.
16085 build_libtool_libs=$enable_shared
16087 # Whether or not to build static libraries.
16088 build_old_libs=$enable_static
16090 # What type of objects to build.
16093 # Whether or not to optimize for fast installation.
16094 fast_install=$enable_fast_install
16096 # Shell to use when invoking shell scripts.
16099 # An echo program that protects backslashes.
16103 host_alias=$host_alias
16107 # The build system.
16108 build_alias=$build_alias
16112 # A sed program that does not truncate output.
16115 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16116 Xsed="\$SED -e 1s/^X//"
16118 # A grep program that handles long lines.
16124 # A literal string matcher.
16127 # A BSD- or MS-compatible name lister.
16130 # Whether we need soft or hard links.
16133 # What is the maximum length of a command?
16134 max_cmd_len=$max_cmd_len
16136 # Object file suffix (normally "o").
16139 # Executable file suffix (normally "").
16142 # whether the shell understands "unset".
16145 # turn spaces into newlines.
16148 # turn newlines into spaces.
16151 # An object symbol dumper.
16152 OBJDUMP=$lt_OBJDUMP
16154 # Method to check whether dependent libraries are shared objects.
16155 deplibs_check_method=$lt_deplibs_check_method
16157 # Command to use when deplibs_check_method == "file_magic".
16158 file_magic_cmd=$lt_file_magic_cmd
16162 AR_FLAGS=$lt_AR_FLAGS
16164 # A symbol stripping program.
16167 # Commands used to install an old-style archive.
16169 old_postinstall_cmds=$lt_old_postinstall_cmds
16170 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16172 # Whether to use a lock for old archive extraction.
16173 lock_old_archive_extraction=$lock_old_archive_extraction
16178 # LTCC compiler flags.
16179 LTCFLAGS=$lt_CFLAGS
16181 # Take the output of nm and produce a listing of raw symbols and C names.
16182 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16184 # Transform the output of nm in a proper C declaration.
16185 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16187 # Transform the output of nm in a C name address pair.
16188 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16190 # Transform the output of nm in a C name address pair when lib prefix is needed.
16191 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16193 # The name of the directory that contains temporary libtool files.
16196 # Used to examine libraries when file_magic_cmd begins with "file".
16197 MAGIC_CMD=$MAGIC_CMD
16199 # Must we lock files when doing compilation?
16200 need_locks=$lt_need_locks
16202 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16203 DSYMUTIL=$lt_DSYMUTIL
16205 # Tool to change global to local symbols on Mac OS X.
16208 # Tool to manipulate fat objects and archives on Mac OS X.
16211 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16214 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16215 OTOOL64=$lt_OTOOL64
16217 # Old archive suffix (normally "a").
16220 # Shared library suffix (normally ".so").
16221 shrext_cmds=$lt_shrext_cmds
16223 # The commands to extract the exported symbol list from a shared archive.
16224 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16226 # Variables whose values should be saved in libtool wrapper scripts and
16227 # restored at link time.
16228 variables_saved_for_relink=$lt_variables_saved_for_relink
16230 # Do we need the "lib" prefix for modules?
16231 need_lib_prefix=$need_lib_prefix
16233 # Do we need a version for libraries?
16234 need_version=$need_version
16236 # Library versioning type.
16237 version_type=$version_type
16239 # Shared library runtime path variable.
16240 runpath_var=$runpath_var
16242 # Shared library path variable.
16243 shlibpath_var=$shlibpath_var
16245 # Is shlibpath searched before the hard-coded library search path?
16246 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16248 # Format of library name prefix.
16249 libname_spec=$lt_libname_spec
16251 # List of archive names. First name is the real one, the rest are links.
16252 # The last name is the one that the linker finds with -lNAME
16253 library_names_spec=$lt_library_names_spec
16255 # The coded name of the library, if different from the real name.
16256 soname_spec=$lt_soname_spec
16258 # Permission mode override for installation of shared libraries.
16259 install_override_mode=$lt_install_override_mode
16261 # Command to use after installation of a shared archive.
16262 postinstall_cmds=$lt_postinstall_cmds
16264 # Command to use after uninstallation of a shared archive.
16265 postuninstall_cmds=$lt_postuninstall_cmds
16267 # Commands used to finish a libtool library installation in a directory.
16268 finish_cmds=$lt_finish_cmds
16270 # As "finish_cmds", except a single script fragment to be evaled but
16272 finish_eval=$lt_finish_eval
16274 # Whether we should hardcode library paths into libraries.
16275 hardcode_into_libs=$hardcode_into_libs
16277 # Compile-time system search path for libraries.
16278 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16280 # Run-time system search path for libraries.
16281 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16283 # Whether dlopen is supported.
16284 dlopen_support=$enable_dlopen
16286 # Whether dlopen of programs is supported.
16287 dlopen_self=$enable_dlopen_self
16289 # Whether dlopen of statically linked programs is supported.
16290 dlopen_self_static=$enable_dlopen_self_static
16292 # Commands to strip libraries.
16293 old_striplib=$lt_old_striplib
16294 striplib=$lt_striplib
16297 # The linker used to build libraries.
16300 # How to create reloadable object files.
16301 reload_flag=$lt_reload_flag
16302 reload_cmds=$lt_reload_cmds
16304 # Commands used to build an old-style archive.
16305 old_archive_cmds=$lt_old_archive_cmds
16307 # A language specific compiler.
16310 # Is the compiler the GNU compiler?
16313 # Compiler flag to turn off builtin functions.
16314 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16316 # How to pass a linker flag through the compiler.
16317 wl=$lt_lt_prog_compiler_wl
16319 # Additional compiler flags for building library objects.
16320 pic_flag=$lt_lt_prog_compiler_pic
16322 # Compiler flag to prevent dynamic linking.
16323 link_static_flag=$lt_lt_prog_compiler_static
16325 # Does compiler simultaneously support -c and -o options?
16326 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16328 # Whether or not to add -lc for building shared libraries.
16329 build_libtool_need_lc=$archive_cmds_need_lc
16331 # Whether or not to disallow shared libs when runtime libs are static.
16332 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16334 # Compiler flag to allow reflexive dlopens.
16335 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16337 # Compiler flag to generate shared objects directly from archives.
16338 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16340 # Whether the compiler copes with passing no objects directly.
16341 compiler_needs_object=$lt_compiler_needs_object
16343 # Create an old-style archive from a shared archive.
16344 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16346 # Create a temporary old-style archive to link instead of a shared archive.
16347 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16349 # Commands used to build a shared archive.
16350 archive_cmds=$lt_archive_cmds
16351 archive_expsym_cmds=$lt_archive_expsym_cmds
16353 # Commands used to build a loadable module if different from building
16354 # a shared archive.
16355 module_cmds=$lt_module_cmds
16356 module_expsym_cmds=$lt_module_expsym_cmds
16358 # Whether we are building with GNU ld or not.
16359 with_gnu_ld=$lt_with_gnu_ld
16361 # Flag that allows shared libraries with undefined symbols to be built.
16362 allow_undefined_flag=$lt_allow_undefined_flag
16364 # Flag that enforces no undefined symbols.
16365 no_undefined_flag=$lt_no_undefined_flag
16367 # Flag to hardcode \$libdir into a binary during linking.
16368 # This must work even if \$libdir does not exist
16369 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16371 # If ld is used when linking, flag to hardcode \$libdir into a binary
16372 # during linking. This must work even if \$libdir does not exist.
16373 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16375 # Whether we need a single "-rpath" flag with a separated argument.
16376 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16378 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16379 # DIR into the resulting binary.
16380 hardcode_direct=$hardcode_direct
16382 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16383 # DIR into the resulting binary and the resulting library dependency is
16384 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16385 # library is relocated.
16386 hardcode_direct_absolute=$hardcode_direct_absolute
16388 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16389 # into the resulting binary.
16390 hardcode_minus_L=$hardcode_minus_L
16392 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16393 # into the resulting binary.
16394 hardcode_shlibpath_var=$hardcode_shlibpath_var
16396 # Set to "yes" if building a shared library automatically hardcodes DIR
16397 # into the library and all subsequent libraries and executables linked
16399 hardcode_automatic=$hardcode_automatic
16401 # Set to yes if linker adds runtime paths of dependent libraries
16402 # to runtime path list.
16403 inherit_rpath=$inherit_rpath
16405 # Whether libtool must link a program against all its dependency libraries.
16406 link_all_deplibs=$link_all_deplibs
16408 # Fix the shell variable \$srcfile for the compiler.
16409 fix_srcfile_path=$lt_fix_srcfile_path
16411 # Set to "yes" if exported symbols are required.
16412 always_export_symbols=$always_export_symbols
16414 # The commands to list exported symbols.
16415 export_symbols_cmds=$lt_export_symbols_cmds
16417 # Symbols that should not be listed in the preloaded symbols.
16418 exclude_expsyms=$lt_exclude_expsyms
16420 # Symbols that must always be exported.
16421 include_expsyms=$lt_include_expsyms
16423 # Commands necessary for linking programs (against libraries) with templates.
16424 prelink_cmds=$lt_prelink_cmds
16426 # Specify filename containing input files.
16427 file_list_spec=$lt_file_list_spec
16429 # How to hardcode a shared library path into an executable.
16430 hardcode_action=$hardcode_action
16432 # The directories searched by this compiler when creating a shared library.
16433 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
16435 # Dependencies to place before and after the objects being linked to
16436 # create a shared library.
16437 predep_objects=$lt_predep_objects
16438 postdep_objects=$lt_postdep_objects
16439 predeps=$lt_predeps
16440 postdeps=$lt_postdeps
16442 # The library search path used internally by the compiler when linking
16443 # a shared library.
16444 compiler_lib_search_path=$lt_compiler_lib_search_path
16446 # ### END LIBTOOL CONFIG
16452 cat <<\_LT_EOF
>> "$cfgfile"
16453 # AIX sometimes has problems with the GCC collect2 program. For some
16454 # reason, if we set the COLLECT_NAMES environment variable, the problems
16455 # vanish in a puff of smoke.
16456 if test "X${COLLECT_NAMES+set}" != Xset
; then
16458 export COLLECT_NAMES
16465 ltmain
="$ac_aux_dir/ltmain.sh"
16468 # We use sed instead of cat because bash on DJGPP gets confused if
16469 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16470 # text mode, it properly converts lines to CR/LF. This bash problem
16471 # is reportedly fixed, but why not run on old versions too?
16472 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16473 ||
(rm -f "$cfgfile"; exit 1)
16477 cat << \_LT_EOF
>> "$cfgfile"
16479 # func_dirname file append nondir_replacement
16480 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16481 # otherwise set result to NONDIR_REPLACEMENT.
16485 */*) func_dirname_result
="${1%/*}${2}" ;;
16486 * ) func_dirname_result
="${3}" ;;
16490 # func_basename file
16493 func_basename_result
="${1##*/}"
16496 # func_dirname_and_basename file append nondir_replacement
16497 # perform func_basename and func_dirname in a single function
16499 # dirname: Compute the dirname of FILE. If nonempty,
16500 # add APPEND to the result, otherwise set result
16501 # to NONDIR_REPLACEMENT.
16502 # value returned in "$func_dirname_result"
16503 # basename: Compute filename of FILE.
16504 # value retuned in "$func_basename_result"
16505 # Implementation must be kept synchronized with func_dirname
16506 # and func_basename. For efficiency, we do not delegate to
16507 # those functions but instead duplicate the functionality here.
16508 func_dirname_and_basename
()
16511 */*) func_dirname_result
="${1%/*}${2}" ;;
16512 * ) func_dirname_result
="${3}" ;;
16514 func_basename_result
="${1##*/}"
16517 # func_stripname prefix suffix name
16518 # strip PREFIX and SUFFIX off of NAME.
16519 # PREFIX and SUFFIX must not contain globbing or regex special
16520 # characters, hashes, percent signs, but SUFFIX may contain a leading
16521 # dot (in which case that matches only a dot).
16524 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16525 # positional parameters, so assign one to ordinary parameter first.
16526 func_stripname_result
=${3}
16527 func_stripname_result
=${func_stripname_result#"${1}"}
16528 func_stripname_result
=${func_stripname_result%"${2}"}
16534 func_opt_split_opt
=${1%%=*}
16535 func_opt_split_arg
=${1#*=}
16542 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16543 *) func_lo2o_result
=${1} ;;
16547 # func_xform libobj-or-source
16550 func_xform_result
=${1%.*}.lo
16553 # func_arith arithmetic-term...
16556 func_arith_result
=$
(( $
* ))
16560 # STRING may not start with a hyphen.
16563 func_len_result
=${#1}
16568 *) # Bourne compatible functions.
16569 cat << \_LT_EOF
>> "$cfgfile"
16571 # func_dirname file append nondir_replacement
16572 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16573 # otherwise set result to NONDIR_REPLACEMENT.
16576 # Extract subdirectory from the argument.
16577 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
16578 if test "X$func_dirname_result" = "X${1}"; then
16579 func_dirname_result
="${3}"
16581 func_dirname_result
="$func_dirname_result${2}"
16585 # func_basename file
16588 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
16592 # func_stripname prefix suffix name
16593 # strip PREFIX and SUFFIX off of NAME.
16594 # PREFIX and SUFFIX must not contain globbing or regex special
16595 # characters, hashes, percent signs, but SUFFIX may contain a leading
16596 # dot (in which case that matches only a dot).
16597 # func_strip_suffix prefix name
16601 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16602 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16607 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16608 my_sed_long_arg
='1s/^-[^=]*=//'
16613 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16614 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16620 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
16623 # func_xform libobj-or-source
16626 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16629 # func_arith arithmetic-term...
16632 func_arith_result
=`expr "$@"`
16636 # STRING may not start with a hyphen.
16639 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16645 case $lt_shell_append in
16647 cat << \_LT_EOF
>> "$cfgfile"
16649 # func_append var value
16650 # Append VALUE to the end of shell variable VAR.
16658 cat << \_LT_EOF
>> "$cfgfile"
16660 # func_append var value
16661 # Append VALUE to the end of shell variable VAR.
16672 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16673 ||
(rm -f "$cfgfile"; exit 1)
16675 mv -f "$cfgfile" "$ofile" ||
16676 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16680 cat <<_LT_EOF >> "$ofile"
16682 # ### BEGIN LIBTOOL TAG CONFIG: CXX
16684 # The linker used to build libraries.
16687 # How to create reloadable object files.
16688 reload_flag=$lt_reload_flag_CXX
16689 reload_cmds=$lt_reload_cmds_CXX
16691 # Commands used to build an old-style archive.
16692 old_archive_cmds=$lt_old_archive_cmds_CXX
16694 # A language specific compiler.
16695 CC=$lt_compiler_CXX
16697 # Is the compiler the GNU compiler?
16700 # Compiler flag to turn off builtin functions.
16701 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
16703 # How to pass a linker flag through the compiler.
16704 wl=$lt_lt_prog_compiler_wl_CXX
16706 # Additional compiler flags for building library objects.
16707 pic_flag=$lt_lt_prog_compiler_pic_CXX
16709 # Compiler flag to prevent dynamic linking.
16710 link_static_flag=$lt_lt_prog_compiler_static_CXX
16712 # Does compiler simultaneously support -c and -o options?
16713 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
16715 # Whether or not to add -lc for building shared libraries.
16716 build_libtool_need_lc=$archive_cmds_need_lc_CXX
16718 # Whether or not to disallow shared libs when runtime libs are static.
16719 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
16721 # Compiler flag to allow reflexive dlopens.
16722 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
16724 # Compiler flag to generate shared objects directly from archives.
16725 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
16727 # Whether the compiler copes with passing no objects directly.
16728 compiler_needs_object=$lt_compiler_needs_object_CXX
16730 # Create an old-style archive from a shared archive.
16731 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
16733 # Create a temporary old-style archive to link instead of a shared archive.
16734 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
16736 # Commands used to build a shared archive.
16737 archive_cmds=$lt_archive_cmds_CXX
16738 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
16740 # Commands used to build a loadable module if different from building
16741 # a shared archive.
16742 module_cmds=$lt_module_cmds_CXX
16743 module_expsym_cmds=$lt_module_expsym_cmds_CXX
16745 # Whether we are building with GNU ld or not.
16746 with_gnu_ld=$lt_with_gnu_ld_CXX
16748 # Flag that allows shared libraries with undefined symbols to be built.
16749 allow_undefined_flag=$lt_allow_undefined_flag_CXX
16751 # Flag that enforces no undefined symbols.
16752 no_undefined_flag=$lt_no_undefined_flag_CXX
16754 # Flag to hardcode \$libdir into a binary during linking.
16755 # This must work even if \$libdir does not exist
16756 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
16758 # If ld is used when linking, flag to hardcode \$libdir into a binary
16759 # during linking. This must work even if \$libdir does not exist.
16760 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
16762 # Whether we need a single "-rpath" flag with a separated argument.
16763 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
16765 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16766 # DIR into the resulting binary.
16767 hardcode_direct=$hardcode_direct_CXX
16769 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16770 # DIR into the resulting binary and the resulting library dependency is
16771 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16772 # library is relocated.
16773 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
16775 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16776 # into the resulting binary.
16777 hardcode_minus_L=$hardcode_minus_L_CXX
16779 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16780 # into the resulting binary.
16781 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
16783 # Set to "yes" if building a shared library automatically hardcodes DIR
16784 # into the library and all subsequent libraries and executables linked
16786 hardcode_automatic=$hardcode_automatic_CXX
16788 # Set to yes if linker adds runtime paths of dependent libraries
16789 # to runtime path list.
16790 inherit_rpath=$inherit_rpath_CXX
16792 # Whether libtool must link a program against all its dependency libraries.
16793 link_all_deplibs=$link_all_deplibs_CXX
16795 # Fix the shell variable \$srcfile for the compiler.
16796 fix_srcfile_path=$lt_fix_srcfile_path_CXX
16798 # Set to "yes" if exported symbols are required.
16799 always_export_symbols=$always_export_symbols_CXX
16801 # The commands to list exported symbols.
16802 export_symbols_cmds=$lt_export_symbols_cmds_CXX
16804 # Symbols that should not be listed in the preloaded symbols.
16805 exclude_expsyms=$lt_exclude_expsyms_CXX
16807 # Symbols that must always be exported.
16808 include_expsyms=$lt_include_expsyms_CXX
16810 # Commands necessary for linking programs (against libraries) with templates.
16811 prelink_cmds=$lt_prelink_cmds_CXX
16813 # Specify filename containing input files.
16814 file_list_spec=$lt_file_list_spec_CXX
16816 # How to hardcode a shared library path into an executable.
16817 hardcode_action=$hardcode_action_CXX
16819 # The directories searched by this compiler when creating a shared library.
16820 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
16822 # Dependencies to place before and after the objects being linked to
16823 # create a shared library.
16824 predep_objects=$lt_predep_objects_CXX
16825 postdep_objects=$lt_postdep_objects_CXX
16826 predeps=$lt_predeps_CXX
16827 postdeps=$lt_postdeps_CXX
16829 # The library search path used internally by the compiler when linking
16830 # a shared library.
16831 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
16833 # ### END LIBTOOL TAG CONFIG: CXX
16844 ac_clean_files
=$ac_clean_files_save
16846 test $ac_write_fail = 0 ||
16847 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16850 # configure is writing to config.log, and then calls config.status.
16851 # config.status does its own redirection, appending to config.log.
16852 # Unfortunately, on DOS this fails, as config.log is still kept open
16853 # by configure, so config.status won't be able to write to it; its
16854 # output is simply discarded. So we exec the FD to /dev/null,
16855 # effectively closing config.log, so it can be properly (re)opened and
16856 # appended to by config.status. When coming back to configure, we
16857 # need to make the FD available again.
16858 if test "$no_create" != yes; then
16860 ac_config_status_args
=
16861 test "$silent" = yes &&
16862 ac_config_status_args
="$ac_config_status_args --quiet"
16864 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16866 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16867 # would make configure fail if this is the last instruction.
16868 $ac_cs_success || as_fn_exit $?
16870 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16872 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}