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
630 MAC_LINKER_SCRIPT_FALSE
631 MAC_LINKER_SCRIPT_TRUE
632 LINUX_LINKER_SCRIPT_FALSE
633 LINUX_LINKER_SCRIPT_TRUE
664 MAINTAINER_MODE_FALSE
674 INSTALL_STRIP_PROGRAM
728 program_transform_name
741 enable_option_checking
742 enable_maintainer_mode
744 enable_dependency_tracking
745 enable_version_specific_runtime_libs
753 ac_precious_vars
='build_alias
768 # Initialize some variables set by options.
770 ac_init_version
=false
771 ac_unrecognized_opts
=
773 # The variables have the same names as the options, with
774 # dashes changed to underlines.
782 program_transform_name
=s
,x
,x
,
790 # Installation directory options.
791 # These are left unexpanded so users can "make install exec_prefix=/foo"
792 # and all the variables that are supposed to be based on exec_prefix
793 # by default will actually change.
794 # Use braces instead of parens because sh, perl, etc. also accept them.
795 # (The list follows the same order as the GNU Coding Standards.)
796 bindir
='${exec_prefix}/bin'
797 sbindir
='${exec_prefix}/sbin'
798 libexecdir
='${exec_prefix}/libexec'
799 datarootdir
='${prefix}/share'
800 datadir
='${datarootdir}'
801 sysconfdir
='${prefix}/etc'
802 sharedstatedir
='${prefix}/com'
803 localstatedir
='${prefix}/var'
804 includedir
='${prefix}/include'
805 oldincludedir
='/usr/include'
806 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
807 infodir
='${datarootdir}/info'
812 libdir
='${exec_prefix}/lib'
813 localedir
='${datarootdir}/locale'
814 mandir
='${datarootdir}/man'
820 # If the previous option needs an argument, assign it.
821 if test -n "$ac_prev"; then
822 eval $ac_prev=\
$ac_option
828 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
832 # Accept the important Cygnus configure options, so we can diagnose typos.
834 case $ac_dashdash$ac_option in
838 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
840 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
843 -build |
--build |
--buil |
--bui |
--bu)
844 ac_prev
=build_alias
;;
845 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
846 build_alias
=$ac_optarg ;;
848 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
849 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
850 ac_prev
=cache_file
;;
851 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
852 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
853 cache_file
=$ac_optarg ;;
856 cache_file
=config.cache
;;
858 -datadir |
--datadir |
--datadi |
--datad)
860 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
861 datadir
=$ac_optarg ;;
863 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
864 |
--dataroo |
--dataro |
--datar)
865 ac_prev
=datarootdir
;;
866 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
867 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
868 datarootdir
=$ac_optarg ;;
870 -disable-* |
--disable-*)
871 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
872 # Reject names that are not valid shell variable names.
873 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
874 as_fn_error
"invalid feature name: $ac_useropt"
875 ac_useropt_orig
=$ac_useropt
876 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
877 case $ac_user_opts in
881 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
882 ac_unrecognized_sep
=', ';;
884 eval enable_
$ac_useropt=no
;;
886 -docdir |
--docdir |
--docdi |
--doc |
--do)
888 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
891 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
893 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
896 -enable-* |
--enable-*)
897 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
898 # Reject names that are not valid shell variable names.
899 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
900 as_fn_error
"invalid feature name: $ac_useropt"
901 ac_useropt_orig
=$ac_useropt
902 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
903 case $ac_user_opts in
907 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
908 ac_unrecognized_sep
=', ';;
910 eval enable_
$ac_useropt=\
$ac_optarg ;;
912 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
913 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
914 |
--exec |
--exe |
--ex)
915 ac_prev
=exec_prefix
;;
916 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
917 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
918 |
--exec=* |
--exe=* |
--ex=*)
919 exec_prefix
=$ac_optarg ;;
921 -gas |
--gas |
--ga |
--g)
922 # Obsolete; use --with-gas.
925 -help |
--help |
--hel |
--he |
-h)
927 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
928 ac_init_help
=recursive
;;
929 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
930 ac_init_help
=short
;;
932 -host |
--host |
--hos |
--ho)
933 ac_prev
=host_alias
;;
934 -host=* |
--host=* |
--hos=* |
--ho=*)
935 host_alias
=$ac_optarg ;;
937 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
939 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
941 htmldir
=$ac_optarg ;;
943 -includedir |
--includedir |
--includedi |
--included |
--include \
944 |
--includ |
--inclu |
--incl |
--inc)
945 ac_prev
=includedir
;;
946 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
947 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
948 includedir
=$ac_optarg ;;
950 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
952 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
953 infodir
=$ac_optarg ;;
955 -libdir |
--libdir |
--libdi |
--libd)
957 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
960 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
961 |
--libexe |
--libex |
--libe)
962 ac_prev
=libexecdir
;;
963 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
964 |
--libexe=* |
--libex=* |
--libe=*)
965 libexecdir
=$ac_optarg ;;
967 -localedir |
--localedir |
--localedi |
--localed |
--locale)
969 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
970 localedir
=$ac_optarg ;;
972 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
973 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
974 ac_prev
=localstatedir
;;
975 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
976 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
977 localstatedir
=$ac_optarg ;;
979 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
981 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
985 # Obsolete; use --without-fp.
988 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
989 |
--no-cr |
--no-c |
-n)
992 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
993 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
996 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
997 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
998 |
--oldin |
--oldi |
--old |
--ol |
--o)
999 ac_prev
=oldincludedir
;;
1000 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1001 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1002 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1003 oldincludedir
=$ac_optarg ;;
1005 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1007 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1008 prefix
=$ac_optarg ;;
1010 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1011 |
--program-pre |
--program-pr |
--program-p)
1012 ac_prev
=program_prefix
;;
1013 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1014 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1015 program_prefix
=$ac_optarg ;;
1017 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1018 |
--program-suf |
--program-su |
--program-s)
1019 ac_prev
=program_suffix
;;
1020 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1021 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1022 program_suffix
=$ac_optarg ;;
1024 -program-transform-name |
--program-transform-name \
1025 |
--program-transform-nam |
--program-transform-na \
1026 |
--program-transform-n |
--program-transform- \
1027 |
--program-transform |
--program-transfor \
1028 |
--program-transfo |
--program-transf \
1029 |
--program-trans |
--program-tran \
1030 |
--progr-tra |
--program-tr |
--program-t)
1031 ac_prev
=program_transform_name
;;
1032 -program-transform-name=* |
--program-transform-name=* \
1033 |
--program-transform-nam=* |
--program-transform-na=* \
1034 |
--program-transform-n=* |
--program-transform-=* \
1035 |
--program-transform=* |
--program-transfor=* \
1036 |
--program-transfo=* |
--program-transf=* \
1037 |
--program-trans=* |
--program-tran=* \
1038 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1039 program_transform_name
=$ac_optarg ;;
1041 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1043 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1044 pdfdir
=$ac_optarg ;;
1046 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1048 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1051 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1052 |
-silent |
--silent |
--silen |
--sile |
--sil)
1055 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1057 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1059 sbindir
=$ac_optarg ;;
1061 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1062 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1063 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1065 ac_prev
=sharedstatedir
;;
1066 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1067 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1068 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1070 sharedstatedir
=$ac_optarg ;;
1072 -site |
--site |
--sit)
1074 -site=* |
--site=* |
--sit=*)
1077 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1079 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1080 srcdir
=$ac_optarg ;;
1082 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1083 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1084 ac_prev
=sysconfdir
;;
1085 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1086 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1087 sysconfdir
=$ac_optarg ;;
1089 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1090 ac_prev
=target_alias
;;
1091 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1092 target_alias
=$ac_optarg ;;
1094 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1097 -version |
--version |
--versio |
--versi |
--vers |
-V)
1098 ac_init_version
=: ;;
1101 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1102 # Reject names that are not valid shell variable names.
1103 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1104 as_fn_error
"invalid package name: $ac_useropt"
1105 ac_useropt_orig
=$ac_useropt
1106 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1107 case $ac_user_opts in
1111 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1112 ac_unrecognized_sep
=', ';;
1114 eval with_
$ac_useropt=\
$ac_optarg ;;
1116 -without-* |
--without-*)
1117 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1118 # Reject names that are not valid shell variable names.
1119 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1120 as_fn_error
"invalid package name: $ac_useropt"
1121 ac_useropt_orig
=$ac_useropt
1122 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1123 case $ac_user_opts in
1127 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1128 ac_unrecognized_sep
=', ';;
1130 eval with_
$ac_useropt=no
;;
1133 # Obsolete; use --with-x.
1136 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1137 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1138 ac_prev
=x_includes
;;
1139 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1140 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1141 x_includes
=$ac_optarg ;;
1143 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1144 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1145 ac_prev
=x_libraries
;;
1146 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1147 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1148 x_libraries
=$ac_optarg ;;
1150 -*) as_fn_error
"unrecognized option: \`$ac_option'
1151 Try \`$0 --help' for more information."
1155 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1156 # Reject names that are not valid shell variable names.
1157 case $ac_envvar in #(
1158 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1159 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1161 eval $ac_envvar=\
$ac_optarg
1162 export $ac_envvar ;;
1165 # FIXME: should be removed in autoconf 3.0.
1166 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1167 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1168 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1169 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1175 if test -n "$ac_prev"; then
1176 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1177 as_fn_error
"missing argument to $ac_option"
1180 if test -n "$ac_unrecognized_opts"; then
1181 case $enable_option_checking in
1183 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1184 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1188 # Check all directory arguments for consistency.
1189 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1190 datadir sysconfdir sharedstatedir localstatedir includedir \
1191 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1192 libdir localedir mandir
1194 eval ac_val
=\$
$ac_var
1195 # Remove trailing slashes.
1198 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1199 eval $ac_var=\
$ac_val;;
1201 # Be sure to have absolute directory names.
1203 [\\/$
]* | ?
:[\\/]* ) continue;;
1204 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1206 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1209 # There might be people who depend on the old broken behavior: `$host'
1210 # used to hold the argument of --host etc.
1211 # FIXME: To remove some day.
1214 target
=$target_alias
1216 # FIXME: To remove some day.
1217 if test "x$host_alias" != x
; then
1218 if test "x$build_alias" = x
; then
1219 cross_compiling
=maybe
1220 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1221 If a cross compiler is detected then cross compile mode will be used." >&2
1222 elif test "x$build_alias" != "x$host_alias"; then
1228 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1230 test "$silent" = yes && exec 6>/dev
/null
1233 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1234 ac_ls_di
=`ls -di .` &&
1235 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1236 as_fn_error
"working directory cannot be determined"
1237 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1238 as_fn_error
"pwd does not report name of working directory"
1241 # Find the source files, if location was not specified.
1242 if test -z "$srcdir"; then
1243 ac_srcdir_defaulted
=yes
1244 # Try the directory containing this script, then the parent directory.
1245 ac_confdir
=`$as_dirname -- "$as_myself" ||
1246 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1247 X"$as_myself" : 'X\(//\)[^/]' \| \
1248 X"$as_myself" : 'X\(//\)$' \| \
1249 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1250 $as_echo X"$as_myself" |
1251 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1269 if test ! -r "$srcdir/$ac_unique_file"; then
1273 ac_srcdir_defaulted
=no
1275 if test ! -r "$srcdir/$ac_unique_file"; then
1276 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1277 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1279 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1281 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1283 # When building in place, set srcdir=.
1284 if test "$ac_abs_confdir" = "$ac_pwd"; then
1287 # Remove unnecessary trailing slashes from srcdir.
1288 # Double slashes in file names in object file debugging info
1289 # mess up M-x gdb in Emacs.
1291 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1293 for ac_var
in $ac_precious_vars; do
1294 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1295 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1296 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1297 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1301 # Report the --help message.
1303 if test "$ac_init_help" = "long"; then
1304 # Omit some internal or obsolete options to make the list less imposing.
1305 # This message is too long to be a string in the A/UX 3.1 sh.
1307 \`configure' configures Cilk Runtime Library 2.0 to adapt to many kinds of systems.
1309 Usage: $0 [OPTION]... [VAR=VALUE]...
1311 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1312 VAR=VALUE. See below for descriptions of some of the useful variables.
1314 Defaults for the options are specified in brackets.
1317 -h, --help display this help and exit
1318 --help=short display options specific to this package
1319 --help=recursive display the short help of all the included packages
1320 -V, --version display version information and exit
1321 -q, --quiet, --silent do not print \`checking...' messages
1322 --cache-file=FILE cache test results in FILE [disabled]
1323 -C, --config-cache alias for \`--cache-file=config.cache'
1324 -n, --no-create do not create output files
1325 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1327 Installation directories:
1328 --prefix=PREFIX install architecture-independent files in PREFIX
1329 [$ac_default_prefix]
1330 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1333 By default, \`make install' will install all the files in
1334 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1335 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1336 for instance \`--prefix=\$HOME'.
1338 For better control, use the options below.
1340 Fine tuning of the installation directories:
1341 --bindir=DIR user executables [EPREFIX/bin]
1342 --sbindir=DIR system admin executables [EPREFIX/sbin]
1343 --libexecdir=DIR program executables [EPREFIX/libexec]
1344 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1345 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1346 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1347 --libdir=DIR object code libraries [EPREFIX/lib]
1348 --includedir=DIR C header files [PREFIX/include]
1349 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1350 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1351 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1352 --infodir=DIR info documentation [DATAROOTDIR/info]
1353 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1354 --mandir=DIR man documentation [DATAROOTDIR/man]
1355 --docdir=DIR documentation root
1356 [DATAROOTDIR/doc/cilk-runtime-library]
1357 --htmldir=DIR html documentation [DOCDIR]
1358 --dvidir=DIR dvi documentation [DOCDIR]
1359 --pdfdir=DIR pdf documentation [DOCDIR]
1360 --psdir=DIR ps documentation [DOCDIR]
1366 --program-prefix=PREFIX prepend PREFIX to installed program names
1367 --program-suffix=SUFFIX append SUFFIX to installed program names
1368 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1371 --build=BUILD configure
for building on BUILD
[guessed
]
1372 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1373 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1377 if test -n "$ac_init_help"; then
1378 case $ac_init_help in
1379 short | recursive
) echo "Configuration of Cilk Runtime Library 2.0:";;
1384 --disable-option-checking ignore unrecognized
--enable/--with options
1385 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1386 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1387 --enable-maintainer-mode enable make rules and dependencies not useful
1388 (and sometimes confusing
) to the casual installer
1389 --enable-multilib build many library versions
(default
)
1390 --disable-dependency-tracking speeds up one-time build
1391 --enable-dependency-tracking do not reject slow dependency extractors
1392 --enable-version-specific-runtime-libs
1393 Specify that runtime libraries should be installed
1394 in a compi ler-specific directory
1395 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1396 --enable-static[=PKGS
] build static libraries
[default
=yes]
1397 --enable-fast-install[=PKGS
]
1398 optimize
for fast installation
[default
=yes]
1399 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1402 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1403 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1404 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1406 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1408 Some influential environment variables
:
1409 CC C compiler
command
1410 CFLAGS C compiler flags
1411 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1412 nonstandard directory
<lib dir
>
1413 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1414 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1415 you have headers
in a nonstandard directory
<include dir
>
1416 CXX C
++ compiler
command
1417 CXXFLAGS C
++ compiler flags
1419 CXXCPP C
++ preprocessor
1421 Use these variables to override the choices made by
`configure' or to help
1422 it to find libraries and programs with nonstandard names/locations.
1424 Report bugs to <cilk@intel.com>.
1429 if test "$ac_init_help" = "recursive"; then
1430 # If there are subdirs, report their specific --help.
1431 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1432 test -d "$ac_dir" ||
1433 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1438 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1440 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1441 # A ".." for each directory in $ac_dir_suffix.
1442 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1443 case $ac_top_builddir_sub in
1444 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1445 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1448 ac_abs_top_builddir=$ac_pwd
1449 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1450 # for backward compatibility:
1451 ac_top_builddir=$ac_top_build_prefix
1454 .) # We are building in place.
1456 ac_top_srcdir=$ac_top_builddir_sub
1457 ac_abs_top_srcdir=$ac_pwd ;;
1458 [\\/]* | ?:[\\/]* ) # Absolute name.
1459 ac_srcdir=$srcdir$ac_dir_suffix;
1460 ac_top_srcdir=$srcdir
1461 ac_abs_top_srcdir=$srcdir ;;
1463 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1464 ac_top_srcdir=$ac_top_build_prefix$srcdir
1465 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1467 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1469 cd "$ac_dir" || { ac_status=$?; continue; }
1470 # Check for guested configure.
1471 if test -f "$ac_srcdir/configure.gnu"; then
1473 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1474 elif test -f "$ac_srcdir/configure"; then
1476 $SHELL "$ac_srcdir/configure" --help=recursive
1478 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1480 cd "$ac_pwd" || { ac_status=$?; break; }
1484 test -n "$ac_init_help" && exit $ac_status
1485 if $ac_init_version; then
1487 Cilk Runtime Library configure 2.0
1488 generated by GNU Autoconf 2.64
1490 Copyright (C) 2009 Free Software Foundation, Inc.
1491 This configure script is free software; the Free Software Foundation
1492 gives unlimited permission to copy, distribute and modify it.
1497 ## ------------------------ ##
1498 ## Autoconf initialization. ##
1499 ## ------------------------ ##
1501 # ac_fn_c_try_compile LINENO
1502 # --------------------------
1503 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1504 ac_fn_c_try_compile ()
1506 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1507 rm -f conftest.$ac_objext
1508 if { { ac_try="$ac_compile"
1510 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1511 *) ac_try_echo
=$ac_try;;
1513 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1514 $as_echo "$ac_try_echo"; } >&5
1515 (eval "$ac_compile") 2>conftest.err
1517 if test -s conftest.err
; then
1518 grep -v '^ *+' conftest.err
>conftest.er1
1519 cat conftest.er1
>&5
1520 mv -f conftest.er1 conftest.err
1522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1523 test $ac_status = 0; } && {
1524 test -z "$ac_c_werror_flag" ||
1525 test ! -s conftest.err
1526 } && test -s conftest.
$ac_objext; then :
1529 $as_echo "$as_me: failed program was:" >&5
1530 sed 's/^/| /' conftest.
$ac_ext >&5
1534 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1537 } # ac_fn_c_try_compile
1539 # ac_fn_cxx_try_compile LINENO
1540 # ----------------------------
1541 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1542 ac_fn_cxx_try_compile
()
1544 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1545 rm -f conftest.
$ac_objext
1546 if { { ac_try
="$ac_compile"
1548 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1549 *) ac_try_echo=$ac_try;;
1551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1552 $as_echo "$ac_try_echo"; } >&5
1553 (eval "$ac_compile") 2>conftest.err
1555 if test -s conftest.err; then
1556 grep -v '^ *+' conftest.err >conftest.er1
1557 cat conftest.er1 >&5
1558 mv -f conftest.er1 conftest.err
1560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1561 test $ac_status = 0; } && {
1562 test -z "$ac_cxx_werror_flag" ||
1563 test ! -s conftest.err
1564 } && test -s conftest.$ac_objext; then :
1567 $as_echo "$as_me: failed program was:" >&5
1568 sed 's/^/| /' conftest.$ac_ext >&5
1572 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1575 } # ac_fn_cxx_try_compile
1577 # ac_fn_c_try_link LINENO
1578 # -----------------------
1579 # Try to link conftest.$ac_ext, and return whether this succeeded.
1582 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1583 rm -f conftest.$ac_objext conftest$ac_exeext
1584 if { { ac_try="$ac_link"
1586 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1587 *) ac_try_echo
=$ac_try;;
1589 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1590 $as_echo "$ac_try_echo"; } >&5
1591 (eval "$ac_link") 2>conftest.err
1593 if test -s conftest.err
; then
1594 grep -v '^ *+' conftest.err
>conftest.er1
1595 cat conftest.er1
>&5
1596 mv -f conftest.er1 conftest.err
1598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1599 test $ac_status = 0; } && {
1600 test -z "$ac_c_werror_flag" ||
1601 test ! -s conftest.err
1602 } && test -s conftest
$ac_exeext && {
1603 test "$cross_compiling" = yes ||
1604 $as_test_x conftest
$ac_exeext
1608 $as_echo "$as_me: failed program was:" >&5
1609 sed 's/^/| /' conftest.
$ac_ext >&5
1613 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1614 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1615 # interfere with the next link command; also delete a directory that is
1616 # left behind by Apple's compiler. We do this before executing the actions.
1617 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1618 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1621 } # ac_fn_c_try_link
1623 # ac_fn_c_try_cpp LINENO
1624 # ----------------------
1625 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1628 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1629 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1631 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1632 *) ac_try_echo=$ac_try;;
1634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1635 $as_echo "$ac_try_echo"; } >&5
1636 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1638 if test -s conftest.err; then
1639 grep -v '^ *+' conftest.err >conftest.er1
1640 cat conftest.er1 >&5
1641 mv -f conftest.er1 conftest.err
1643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1644 test $ac_status = 0; } >/dev/null && {
1645 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1646 test ! -s conftest.err
1650 $as_echo "$as_me: failed program was:" >&5
1651 sed 's/^/| /' conftest.$ac_ext >&5
1655 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1660 # ac_fn_c_check_func LINENO FUNC VAR
1661 # ----------------------------------
1662 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1663 ac_fn_c_check_func ()
1665 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1667 $as_echo_n "checking for $2... " >&6; }
1668 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1669 $as_echo_n "(cached) " >&6
1671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1672 /* end confdefs.h. */
1673 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1675 #define $2 innocuous_$2
1677 /* System header to define __stub macros and hopefully few prototypes,
1678 which can conflict with char $2 (); below.
1679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1680 <limits.h> exists even on freestanding compilers. */
1683 # include <limits.h>
1685 # include <assert.h>
1690 /* Override any GCC internal prototype to avoid an error.
1691 Use char because int might match the return type of a GCC
1692 builtin and then its argument prototype would still apply. */
1697 /* The GNU C library defines this for functions which it implements
1698 to always fail with ENOSYS. Some functions are actually named
1699 something starting with __ and the normal name is an alias. */
1700 #if defined __stub_$2 || defined __stub___$2
1712 if ac_fn_c_try_link "$LINENO"; then :
1717 rm -f core conftest.err conftest.$ac_objext \
1718 conftest$ac_exeext conftest.$ac_ext
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1722 $as_echo "$ac_res" >&6; }
1723 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1725 } # ac_fn_c_check_func
1727 # ac_fn_c_try_run LINENO
1728 # ----------------------
1729 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1730 # that executables *can* be run.
1733 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1734 if { { ac_try="$ac_link"
1736 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1737 *) ac_try_echo
=$ac_try;;
1739 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1740 $as_echo "$ac_try_echo"; } >&5
1741 (eval "$ac_link") 2>&5
1743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1744 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1745 { { case "(($ac_try" in
1746 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1747 *) ac_try_echo=$ac_try;;
1749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1750 $as_echo "$ac_try_echo"; } >&5
1751 (eval "$ac_try") 2>&5
1753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1754 test $ac_status = 0; }; }; then :
1757 $as_echo "$as_me: program exited with status $ac_status" >&5
1758 $as_echo "$as_me: failed program was:" >&5
1759 sed 's/^/| /' conftest.$ac_ext >&5
1761 ac_retval=$ac_status
1763 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1764 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1769 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1770 # -------------------------------------------------------
1771 # Tests whether HEADER exists and can be compiled using the include files in
1772 # INCLUDES, setting the cache variable VAR accordingly.
1773 ac_fn_c_check_header_compile ()
1775 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1777 $as_echo_n "checking for $2... " >&6; }
1778 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1779 $as_echo_n "(cached) " >&6
1781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1782 /* end confdefs.h. */
1786 if ac_fn_c_try_compile "$LINENO"; then :
1791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1795 $as_echo "$ac_res" >&6; }
1796 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1798 } # ac_fn_c_check_header_compile
1800 # ac_fn_cxx_try_cpp LINENO
1801 # ------------------------
1802 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1803 ac_fn_cxx_try_cpp ()
1805 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806 if { { ac_try="$ac_cpp conftest.$ac_ext"
1808 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1809 *) ac_try_echo
=$ac_try;;
1811 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1812 $as_echo "$ac_try_echo"; } >&5
1813 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1815 if test -s conftest.err
; then
1816 grep -v '^ *+' conftest.err
>conftest.er1
1817 cat conftest.er1
>&5
1818 mv -f conftest.er1 conftest.err
1820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1821 test $ac_status = 0; } >/dev
/null
&& {
1822 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1823 test ! -s conftest.err
1827 $as_echo "$as_me: failed program was:" >&5
1828 sed 's/^/| /' conftest.
$ac_ext >&5
1832 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1835 } # ac_fn_cxx_try_cpp
1837 # ac_fn_cxx_try_link LINENO
1838 # -------------------------
1839 # Try to link conftest.$ac_ext, and return whether this succeeded.
1840 ac_fn_cxx_try_link
()
1842 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1843 rm -f conftest.
$ac_objext conftest
$ac_exeext
1844 if { { ac_try
="$ac_link"
1846 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1847 *) ac_try_echo=$ac_try;;
1849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1850 $as_echo "$ac_try_echo"; } >&5
1851 (eval "$ac_link") 2>conftest.err
1853 if test -s conftest.err; then
1854 grep -v '^ *+' conftest.err >conftest.er1
1855 cat conftest.er1 >&5
1856 mv -f conftest.er1 conftest.err
1858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1859 test $ac_status = 0; } && {
1860 test -z "$ac_cxx_werror_flag" ||
1861 test ! -s conftest.err
1862 } && test -s conftest$ac_exeext && {
1863 test "$cross_compiling" = yes ||
1864 $as_test_x conftest$ac_exeext
1868 $as_echo "$as_me: failed program was:" >&5
1869 sed 's/^/| /' conftest.$ac_ext >&5
1873 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1874 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1875 # interfere with the next link command; also delete a directory that is
1876 # left behind by Apple's compiler. We do this before executing the actions.
1877 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1878 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1881 } # ac_fn_cxx_try_link
1882 cat >config.log <<_ACEOF
1883 This file contains any messages produced by compilers while
1884 running configure, to aid debugging if configure makes a mistake.
1886 It was created by Cilk Runtime Library $as_me 2.0, which was
1887 generated by GNU Autoconf 2.64. Invocation command line was
1899 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1900 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1901 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1902 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1903 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1905 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1906 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1908 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1909 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1910 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1911 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1912 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1913 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1914 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1922 test -z "$as_dir" && as_dir=.
1923 $as_echo "PATH: $as_dir"
1939 # Keep a trace of the command line.
1940 # Strip out --no-create and --no-recursion so they do not pile up.
1941 # Strip out --silent because we don't want to record it for future runs.
1942 # Also quote any args containing shell meta-characters.
1943 # Make two passes to allow for proper duplicate-argument suppression.
1947 ac_must_keep_next=false
1953 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1954 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1955 | -silent | --silent | --silen | --sile | --sil)
1958 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1961 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1963 as_fn_append ac_configure_args1 " '$ac_arg'"
1964 if test $ac_must_keep_next = true; then
1965 ac_must_keep_next=false # Got value, back to normal.
1968 *=* | --config-cache | -C | -disable-* | --disable-* \
1969 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1970 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1971 | -with-* | --with-* | -without-* | --without-* | --x)
1972 case "$ac_configure_args0 " in
1973 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1976 -* ) ac_must_keep_next=true ;;
1979 as_fn_append ac_configure_args " '$ac_arg'"
1984 { ac_configure_args0=; unset ac_configure_args0;}
1985 { ac_configure_args1=; unset ac_configure_args1;}
1987 # When interrupted or exit'd, cleanup temporary files, and complete
1988 # config.log. We remove comments because anyway the quotes in there
1989 # would cause problems or look ugly.
1990 # WARNING: Use '\'' to represent an apostrophe within the trap.
1991 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1992 trap 'exit_status=$?
1993 # Save into config.log some information that might help in debugging.
1998 ## ---------------- ##
1999 ## Cache variables. ##
2000 ## ---------------- ##
2003 # The following way of writing the cache mishandles newlines in values,
2005 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2006 eval ac_val=\$$ac_var
2010 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2011 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2014 _ | IFS | as_nl) ;; #(
2015 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2016 *) { eval $ac_var=; unset $ac_var;} ;;
2021 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2022 *${as_nl}ac_space=\ *)
2024 "s/'\''/'\''\\\\'\'''\''/g;
2025 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2028 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2036 ## ----------------- ##
2037 ## Output variables. ##
2038 ## ----------------- ##
2041 for ac_var in $ac_subst_vars
2043 eval ac_val=\$$ac_var
2045 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2047 $as_echo "$ac_var='\''$ac_val'\''"
2051 if test -n "$ac_subst_files"; then
2053 ## ------------------- ##
2054 ## File substitutions. ##
2055 ## ------------------- ##
2058 for ac_var in $ac_subst_files
2060 eval ac_val=\$$ac_var
2062 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2064 $as_echo "$ac_var='\''$ac_val'\''"
2069 if test -s confdefs.h; then
2079 test "$ac_signal" != 0 &&
2080 $as_echo "$as_me: caught signal $ac_signal"
2081 $as_echo "$as_me: exit $exit_status"
2083 rm -f core *.core core.conftest.* &&
2084 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2087 for ac_signal in 1 2 13 15; do
2088 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2092 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2093 rm -f -r conftest* confdefs.h
2095 $as_echo "/* confdefs.h */" > confdefs.h
2097 # Predefined preprocessor variables.
2099 cat >>confdefs.h <<_ACEOF
2100 #define PACKAGE_NAME "$PACKAGE_NAME"
2103 cat >>confdefs.h <<_ACEOF
2104 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2107 cat >>confdefs.h <<_ACEOF
2108 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2111 cat >>confdefs.h <<_ACEOF
2112 #define PACKAGE_STRING "$PACKAGE_STRING"
2115 cat >>confdefs.h <<_ACEOF
2116 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2119 cat >>confdefs.h <<_ACEOF
2120 #define PACKAGE_URL "$PACKAGE_URL"
2124 # Let the site file select an alternate cache file if it wants to.
2125 # Prefer an explicitly selected file to automatically selected ones.
2128 if test -n "$CONFIG_SITE"; then
2129 ac_site_file1=$CONFIG_SITE
2130 elif test "x$prefix" != xNONE; then
2131 ac_site_file1=$prefix/share/config.site
2132 ac_site_file2=$prefix/etc/config.site
2134 ac_site_file1=$ac_default_prefix/share/config.site
2135 ac_site_file2=$ac_default_prefix/etc/config.site
2137 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2139 test "x$ac_site_file" = xNONE && continue
2140 if test -r "$ac_site_file"; then
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2142 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2143 sed 's/^/| /' "$ac_site_file" >&5
2148 if test -r "$cache_file"; then
2149 # Some versions of bash will fail to source /dev/null (special
2150 # files actually), so we avoid doing that.
2151 if test -f "$cache_file"; then
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2153 $as_echo "$as_me: loading cache $cache_file" >&6;}
2155 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2156 *) . "./$cache_file";;
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2161 $as_echo "$as_me: creating cache $cache_file" >&6;}
2165 # Check that the precious variables saved in the cache have kept the same
2167 ac_cache_corrupted=false
2168 for ac_var in $ac_precious_vars; do
2169 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2170 eval ac_new_set=\$ac_env_${ac_var}_set
2171 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2172 eval ac_new_val=\$ac_env_${ac_var}_value
2173 case $ac_old_set,$ac_new_set in
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2176 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2177 ac_cache_corrupted=: ;;
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2180 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2181 ac_cache_corrupted=: ;;
2184 if test "x$ac_old_val" != "x$ac_new_val"; then
2185 # differences in whitespace do not lead to failure.
2186 ac_old_val_w=`echo x
$ac_old_val`
2187 ac_new_val_w=`echo x
$ac_new_val`
2188 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2190 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2191 ac_cache_corrupted=:
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2194 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2195 eval $ac_var=\$ac_old_val
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2198 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2200 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2203 # Pass precious variables to config.status.
2204 if test "$ac_new_set" = set; then
2206 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2207 *) ac_arg=$ac_var=$ac_new_val ;;
2209 case " $ac_configure_args " in
2210 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2211 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2215 if $ac_cache_corrupted; then
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2217 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2219 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2220 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2222 ## -------------------- ##
2223 ## Main body of script. ##
2224 ## -------------------- ##
2227 ac_cpp='$CPP $CPPFLAGS'
2228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2238 # Needed to define ${target}. Needs to be very early to avoid annoying
2239 # warning about calling AC_ARG_PROGRAM before AC_CANONICAL_SYSTEM
2241 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2242 for ac_t in install-sh install.sh shtool; do
2243 if test -f "$ac_dir/$ac_t"; then
2245 ac_install_sh="$ac_aux_dir/$ac_t -c"
2250 if test -z "$ac_aux_dir"; then
2251 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2254 # These three variables are undocumented and unsupported,
2255 # and are intended to be withdrawn in a future Autoconf release.
2256 # They can cause serious problems if a builder's source tree is in a directory
2257 # whose full name contains unusual characters.
2258 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2259 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2260 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2263 # Make sure we can run config.sub.
2264 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2265 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2268 $as_echo_n "checking build system type... " >&6; }
2269 if test "${ac_cv_build+set}" = set; then :
2270 $as_echo_n "(cached) " >&6
2272 ac_build_alias=$build_alias
2273 test "x$ac_build_alias" = x &&
2274 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2275 test "x$ac_build_alias" = x &&
2276 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2277 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2278 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2282 $as_echo "$ac_cv_build" >&6; }
2283 case $ac_cv_build in
2285 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2288 ac_save_IFS=$IFS; IFS='-'
2294 # Remember, the first character of IFS is used to create $*,
2295 # except with old shells:
2298 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2302 $as_echo_n "checking host system type... " >&6; }
2303 if test "${ac_cv_host+set}" = set; then :
2304 $as_echo_n "(cached) " >&6
2306 if test "x$host_alias" = x; then
2307 ac_cv_host=$ac_cv_build
2309 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2310 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2315 $as_echo "$ac_cv_host" >&6; }
2318 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2321 ac_save_IFS=$IFS; IFS='-'
2327 # Remember, the first character of IFS is used to create $*,
2328 # except with old shells:
2331 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2335 $as_echo_n "checking target system type... " >&6; }
2336 if test "${ac_cv_target+set}" = set; then :
2337 $as_echo_n "(cached) " >&6
2339 if test "x$target_alias" = x; then
2340 ac_cv_target=$ac_cv_host
2342 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2343 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2348 $as_echo "$ac_cv_target" >&6; }
2349 case $ac_cv_target in
2351 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2353 target=$ac_cv_target
2354 ac_save_IFS=$IFS; IFS='-'
2360 # Remember, the first character of IFS is used to create $*,
2361 # except with old shells:
2364 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2367 # The aliases save the names the user supplied, while $host etc.
2368 # will get canonicalized.
2369 test -n "$target_alias" &&
2370 test "$program_prefix$program_suffix$program_transform_name" = \
2372 program_prefix=${target_alias}-
2374 target_alias=${target_alias-$host_alias}
2376 am__api_version='1.11'
2378 # Find a good install program. We prefer a C program (faster),
2379 # so one script is as good as another. But avoid the broken or
2380 # incompatible versions:
2381 # SysV /etc/install, /usr/sbin/install
2382 # SunOS /usr/etc/install
2383 # IRIX /sbin/install
2385 # AmigaOS /C/install, which installs bootblocks on floppy discs
2386 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2387 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2388 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2389 # OS/2's system install, which has a completely different semantic
2390 # ./install, which can be erroneously created by make from ./install.sh.
2391 # Reject install programs that cannot install multiple files.
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2393 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2394 if test -z "$INSTALL"; then
2395 if test "${ac_cv_path_install+set}" = set; then :
2396 $as_echo_n "(cached) " >&6
2398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2402 test -z "$as_dir" && as_dir=.
2403 # Account for people who put trailing slashes in PATH elements.
2404 case $as_dir/ in #((
2405 ./ | .// | /[cC]/* | \
2406 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2407 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2410 # OSF1 and SCO ODT 3.0 have their own names for install.
2411 # Don't use installbsd from OSF since it installs stuff as root
2413 for ac_prog in ginstall scoinst install; do
2414 for ac_exec_ext in '' $ac_executable_extensions; do
2415 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2416 if test $ac_prog = install &&
2417 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2418 # AIX install. It has an incompatible calling convention.
2420 elif test $ac_prog = install &&
2421 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2422 # program-specific install script used by HP pwplus--don't use.
2425 rm -rf conftest.one conftest.two conftest.dir
2426 echo one > conftest.one
2427 echo two > conftest.two
2429 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2430 test -s conftest.one && test -s conftest.two &&
2431 test -s conftest.dir/conftest.one &&
2432 test -s conftest.dir/conftest.two
2434 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2447 rm -rf conftest.one conftest.two conftest.dir
2450 if test "${ac_cv_path_install+set}" = set; then
2451 INSTALL=$ac_cv_path_install
2453 # As a last resort, use the slow shell script. Don't cache a
2454 # value for INSTALL within a source directory, because that will
2455 # break other packages using the cache if that directory is
2456 # removed, or if the value is a relative name.
2457 INSTALL=$ac_install_sh
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2461 $as_echo "$INSTALL" >&6; }
2463 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2464 # It thinks the first close brace ends the variable substitution.
2465 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2467 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2469 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2472 $as_echo_n "checking whether build environment is sane... " >&6; }
2475 echo timestamp > conftest.file
2476 # Reject unsafe characters in $srcdir or the absolute working directory
2477 # name. Accept space and tab only in the latter.
2481 *[\\\"\#\$\&\'\`$am_lf]*)
2482 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2485 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2486 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2489 # Do `set' in a subshell so we don't clobber the current shell's
2490 # arguments. Must try -L first in case configure is actually a
2491 # symlink; some systems play weird games with the mod time of symlinks
2492 # (eg FreeBSD returns the mod time of the symlink's containing
2495 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2496 if test "$*" = "X"; then
2498 set X
`ls -t "$srcdir/configure" conftest.file`
2501 if test "$*" != "X $srcdir/configure conftest.file" \
2502 && test "$*" != "X conftest.file $srcdir/configure"; then
2504 # If neither matched, then we have a broken ls. This can happen
2505 # if, for instance, CONFIG_SHELL is bash and it inherits a
2506 # broken ls alias from the environment. This has actually
2507 # happened. Such a system could not be considered "sane".
2508 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2509 alias in your environment" "$LINENO" 5
2512 test "$2" = conftest.
file
2518 as_fn_error
"newly created file is older than distributed files!
2519 Check your system clock" "$LINENO" 5
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2522 $as_echo "yes" >&6; }
2523 test "$program_prefix" != NONE
&&
2524 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2525 # Use a double $ so make ignores it.
2526 test "$program_suffix" != NONE
&&
2527 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2528 # Double any \ or $.
2529 # By default was `s,x,x', remove it if useless.
2530 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2531 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2533 # expand $ac_aux_dir to an absolute path
2534 am_aux_dir
=`cd $ac_aux_dir && pwd`
2536 if test x
"${MISSING+set}" != xset
; then
2539 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2541 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2544 # Use eval to expand $SHELL
2545 if eval "$MISSING --run true"; then
2546 am_missing_run
="$MISSING --run "
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2550 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2553 if test x
"${install_sh}" != xset
; then
2556 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2558 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2562 # Installed binaries are usually stripped using `strip' when the user
2563 # run `make install-strip'. However `strip' might not be the right
2564 # tool to use in cross-compilation environments, therefore Automake
2565 # will honor the `STRIP' environment variable to overrule this program.
2566 if test "$cross_compiling" != no
; then
2567 if test -n "$ac_tool_prefix"; then
2568 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2569 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2571 $as_echo_n "checking for $ac_word... " >&6; }
2572 if test "${ac_cv_prog_STRIP+set}" = set; then :
2573 $as_echo_n "(cached) " >&6
2575 if test -n "$STRIP"; then
2576 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2582 test -z "$as_dir" && as_dir
=.
2583 for ac_exec_ext
in '' $ac_executable_extensions; do
2584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2585 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2595 STRIP
=$ac_cv_prog_STRIP
2596 if test -n "$STRIP"; then
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2598 $as_echo "$STRIP" >&6; }
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2601 $as_echo "no" >&6; }
2606 if test -z "$ac_cv_prog_STRIP"; then
2608 # Extract the first word of "strip", so it can be a program name with args.
2609 set dummy strip
; ac_word
=$2
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2611 $as_echo_n "checking for $ac_word... " >&6; }
2612 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2613 $as_echo_n "(cached) " >&6
2615 if test -n "$ac_ct_STRIP"; then
2616 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2622 test -z "$as_dir" && as_dir
=.
2623 for ac_exec_ext
in '' $ac_executable_extensions; do
2624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2625 ac_cv_prog_ac_ct_STRIP
="strip"
2626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2635 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2636 if test -n "$ac_ct_STRIP"; then
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2638 $as_echo "$ac_ct_STRIP" >&6; }
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2641 $as_echo "no" >&6; }
2644 if test "x$ac_ct_STRIP" = x
; then
2647 case $cross_compiling:$ac_tool_warned in
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2650 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2651 ac_tool_warned
=yes ;;
2656 STRIP
="$ac_cv_prog_STRIP"
2660 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2663 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2664 if test -z "$MKDIR_P"; then
2665 if test "${ac_cv_path_mkdir+set}" = set; then :
2666 $as_echo_n "(cached) " >&6
2668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2669 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2672 test -z "$as_dir" && as_dir
=.
2673 for ac_prog
in mkdir gmkdir
; do
2674 for ac_exec_ext
in '' $ac_executable_extensions; do
2675 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2676 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2677 'mkdir (GNU coreutils) '* | \
2678 'mkdir (coreutils) '* | \
2679 'mkdir (fileutils) '4.1*)
2680 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2690 if test "${ac_cv_path_mkdir+set}" = set; then
2691 MKDIR_P
="$ac_cv_path_mkdir -p"
2693 # As a last resort, use the slow shell script. Don't cache a
2694 # value for MKDIR_P within a source directory, because that will
2695 # break other packages using the cache if that directory is
2696 # removed, or if the value is a relative name.
2697 test -d .
/--version && rmdir .
/--version
2698 MKDIR_P
="$ac_install_sh -d"
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2702 $as_echo "$MKDIR_P" >&6; }
2706 [\\/$
]* | ?
:[\\/]*) ;;
2707 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2710 for ac_prog
in gawk mawk nawk
awk
2712 # Extract the first word of "$ac_prog", so it can be a program name with args.
2713 set dummy
$ac_prog; ac_word
=$2
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2715 $as_echo_n "checking for $ac_word... " >&6; }
2716 if test "${ac_cv_prog_AWK+set}" = set; then :
2717 $as_echo_n "(cached) " >&6
2719 if test -n "$AWK"; then
2720 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2726 test -z "$as_dir" && as_dir
=.
2727 for ac_exec_ext
in '' $ac_executable_extensions; do
2728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2729 ac_cv_prog_AWK
="$ac_prog"
2730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2740 if test -n "$AWK"; then
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2742 $as_echo "$AWK" >&6; }
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2745 $as_echo "no" >&6; }
2749 test -n "$AWK" && break
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2753 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2755 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2756 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2757 $as_echo_n "(cached) " >&6
2759 cat >conftest.
make <<\_ACEOF
2762 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2764 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2765 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2767 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2769 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2773 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2775 $as_echo "yes" >&6; }
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2779 $as_echo "no" >&6; }
2780 SET_MAKE
="MAKE=${MAKE-make}"
2783 rm -rf .tst
2>/dev
/null
2784 mkdir .tst
2>/dev
/null
2785 if test -d .tst
; then
2790 rmdir .tst
2>/dev
/null
2792 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2793 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2794 # is not polluted with repeated "-I."
2795 am__isrc
=' -I$(srcdir)'
2796 # test to see if srcdir already configured
2797 if test -f $srcdir/config.status
; then
2798 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2802 # test whether we have cygpath
2803 if test -z "$CYGPATH_W"; then
2804 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2805 CYGPATH_W
='cygpath -w'
2812 # Define the identity of the package.
2813 PACKAGE
='cilk-runtime-library'
2817 cat >>confdefs.h
<<_ACEOF
2818 #define PACKAGE "$PACKAGE"
2822 cat >>confdefs.h
<<_ACEOF
2823 #define VERSION "$VERSION"
2826 # Some tools Automake needs.
2828 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2831 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2834 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2837 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2840 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2842 # We need awk for the "check" target. The system "awk" is bad on
2844 # Always define AMTAR for backward compatibility. Yes, it's still used
2845 # in the wild :-( We should find a proper way to deprecate it ...
2848 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2857 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2858 # Check whether --enable-maintainer-mode was given.
2859 if test "${enable_maintainer_mode+set}" = set; then :
2860 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2862 USE_MAINTAINER_MODE
=no
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2866 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2867 if test $USE_MAINTAINER_MODE = yes; then
2868 MAINTAINER_MODE_TRUE
=
2869 MAINTAINER_MODE_FALSE
='#'
2871 MAINTAINER_MODE_TRUE
='#'
2872 MAINTAINER_MODE_FALSE
=
2875 MAINT
=$MAINTAINER_MODE_TRUE
2879 # Default to --enable-multilib
2880 # Check whether --enable-multilib was given.
2881 if test "${enable_multilib+set}" = set; then :
2882 enableval
=$enable_multilib; case "$enableval" in
2883 yes) multilib
=yes ;;
2885 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
2892 # We may get other options which we leave undocumented:
2893 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2894 # See config-ml.in if you want the gory details.
2896 if test "$srcdir" = "."; then
2897 if test "$with_target_subdir" != "."; then
2898 multi_basedir
="$srcdir/$with_multisrctop../.."
2900 multi_basedir
="$srcdir/$with_multisrctop.."
2903 multi_basedir
="$srcdir/.."
2907 # Even if the default multilib is not a cross compilation,
2908 # it may be that some of the other multilibs are.
2909 if test $cross_compiling = no
&& test $multilib = yes \
2910 && test "x${with_multisubdir}" != x
; then
2911 cross_compiling
=maybe
2914 ac_config_commands
="$ac_config_commands default-1"
2917 # Build a DLL on Windows
2918 # AC_LIBTOOL_WIN32_DLL
2920 ac_cpp
='$CPP $CPPFLAGS'
2921 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2922 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2923 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2924 if test -n "$ac_tool_prefix"; then
2925 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2926 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2928 $as_echo_n "checking for $ac_word... " >&6; }
2929 if test "${ac_cv_prog_CC+set}" = set; then :
2930 $as_echo_n "(cached) " >&6
2932 if test -n "$CC"; then
2933 ac_cv_prog_CC
="$CC" # Let the user override the test.
2935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2939 test -z "$as_dir" && as_dir
=.
2940 for ac_exec_ext
in '' $ac_executable_extensions; do
2941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2942 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2953 if test -n "$CC"; then
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2955 $as_echo "$CC" >&6; }
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2958 $as_echo "no" >&6; }
2963 if test -z "$ac_cv_prog_CC"; then
2965 # Extract the first word of "gcc", so it can be a program name with args.
2966 set dummy gcc
; ac_word
=$2
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2968 $as_echo_n "checking for $ac_word... " >&6; }
2969 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2970 $as_echo_n "(cached) " >&6
2972 if test -n "$ac_ct_CC"; then
2973 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2979 test -z "$as_dir" && as_dir
=.
2980 for ac_exec_ext
in '' $ac_executable_extensions; do
2981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2982 ac_cv_prog_ac_ct_CC
="gcc"
2983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2992 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2993 if test -n "$ac_ct_CC"; then
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2995 $as_echo "$ac_ct_CC" >&6; }
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2998 $as_echo "no" >&6; }
3001 if test "x$ac_ct_CC" = x
; then
3004 case $cross_compiling:$ac_tool_warned in
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3007 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3008 ac_tool_warned
=yes ;;
3016 if test -z "$CC"; then
3017 if test -n "$ac_tool_prefix"; then
3018 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3019 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3021 $as_echo_n "checking for $ac_word... " >&6; }
3022 if test "${ac_cv_prog_CC+set}" = set; then :
3023 $as_echo_n "(cached) " >&6
3025 if test -n "$CC"; then
3026 ac_cv_prog_CC
="$CC" # Let the user override the test.
3028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3032 test -z "$as_dir" && as_dir
=.
3033 for ac_exec_ext
in '' $ac_executable_extensions; do
3034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3035 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3046 if test -n "$CC"; then
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3048 $as_echo "$CC" >&6; }
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3051 $as_echo "no" >&6; }
3057 if test -z "$CC"; then
3058 # Extract the first word of "cc", so it can be a program name with args.
3059 set dummy cc
; ac_word
=$2
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3061 $as_echo_n "checking for $ac_word... " >&6; }
3062 if test "${ac_cv_prog_CC+set}" = set; then :
3063 $as_echo_n "(cached) " >&6
3065 if test -n "$CC"; then
3066 ac_cv_prog_CC
="$CC" # Let the user override the test.
3069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3073 test -z "$as_dir" && as_dir
=.
3074 for ac_exec_ext
in '' $ac_executable_extensions; do
3075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3076 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3077 ac_prog_rejected
=yes
3081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3088 if test $ac_prog_rejected = yes; then
3089 # We found a bogon in the path, so make sure we never use it.
3090 set dummy
$ac_cv_prog_CC
3092 if test $# != 0; then
3093 # We chose a different compiler from the bogus one.
3094 # However, it has the same basename, so the bogon will be chosen
3095 # first if we set CC to just the basename; use the full file name.
3097 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3103 if test -n "$CC"; then
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3105 $as_echo "$CC" >&6; }
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3108 $as_echo "no" >&6; }
3113 if test -z "$CC"; then
3114 if test -n "$ac_tool_prefix"; then
3115 for ac_prog
in cl.exe
3117 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3118 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3120 $as_echo_n "checking for $ac_word... " >&6; }
3121 if test "${ac_cv_prog_CC+set}" = set; then :
3122 $as_echo_n "(cached) " >&6
3124 if test -n "$CC"; then
3125 ac_cv_prog_CC
="$CC" # Let the user override the test.
3127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3131 test -z "$as_dir" && as_dir
=.
3132 for ac_exec_ext
in '' $ac_executable_extensions; do
3133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3134 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3145 if test -n "$CC"; then
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3147 $as_echo "$CC" >&6; }
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3150 $as_echo "no" >&6; }
3154 test -n "$CC" && break
3157 if test -z "$CC"; then
3159 for ac_prog
in cl.exe
3161 # Extract the first word of "$ac_prog", so it can be a program name with args.
3162 set dummy
$ac_prog; ac_word
=$2
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3164 $as_echo_n "checking for $ac_word... " >&6; }
3165 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3166 $as_echo_n "(cached) " >&6
3168 if test -n "$ac_ct_CC"; then
3169 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3175 test -z "$as_dir" && as_dir
=.
3176 for ac_exec_ext
in '' $ac_executable_extensions; do
3177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3178 ac_cv_prog_ac_ct_CC
="$ac_prog"
3179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3188 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3189 if test -n "$ac_ct_CC"; then
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3191 $as_echo "$ac_ct_CC" >&6; }
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3194 $as_echo "no" >&6; }
3198 test -n "$ac_ct_CC" && break
3201 if test "x$ac_ct_CC" = x
; then
3204 case $cross_compiling:$ac_tool_warned in
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3208 ac_tool_warned
=yes ;;
3217 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3218 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3219 as_fn_error
"no acceptable C compiler found in \$PATH
3220 See \`config.log' for more details." "$LINENO" 5; }
3222 # Provide some information about the compiler.
3223 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3226 for ac_option
in --version -v -V -qversion; do
3227 { { ac_try
="$ac_compiler $ac_option >&5"
3229 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3230 *) ac_try_echo=$ac_try;;
3232 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3233 $as_echo "$ac_try_echo"; } >&5
3234 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3236 if test -s conftest.err; then
3238 ... rest of stderr output deleted ...
3239 10q' conftest.err >conftest.er1
3240 cat conftest.er1 >&5
3241 rm -f conftest.er1 conftest.err
3243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3244 test $ac_status = 0; }
3247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3248 /* end confdefs.h. */
3258 ac_clean_files_save=$ac_clean_files
3259 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3260 # Try to create an executable without -o first, disregard a.out.
3261 # It will help us diagnose broken compilers, and finding out an intuition
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3264 $as_echo_n "checking for C compiler default output file name... " >&6; }
3265 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3267 # The possible output files:
3268 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3271 for ac_file in $ac_files
3274 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3275 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3280 if { { ac_try="$ac_link_default"
3282 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3283 *) ac_try_echo
=$ac_try;;
3285 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3286 $as_echo "$ac_try_echo"; } >&5
3287 (eval "$ac_link_default") 2>&5
3289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3290 test $ac_status = 0; }; then :
3291 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3292 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3293 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3294 # so that the user can short-circuit this test for compilers unknown to
3296 for ac_file
in $ac_files ''
3298 test -f "$ac_file" ||
continue
3300 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3303 # We found the default executable, but exeext='' is most
3307 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3309 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3311 # We set ac_cv_exeext here because the later test for it is not
3312 # safe: cross compilers may not add the suffix if given an `-o'
3313 # argument, so we may need to know it at that point already.
3314 # Even if this section looks crufty: it has the advantage of
3321 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3327 $as_echo "$ac_file" >&6; }
3328 if test -z "$ac_file"; then :
3329 $as_echo "$as_me: failed program was:" >&5
3330 sed 's/^/| /' conftest.
$ac_ext >&5
3332 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3333 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3334 { as_fn_set_status
77
3335 as_fn_error
"C compiler cannot create executables
3336 See \`config.log' for more details." "$LINENO" 5; }; }
3338 ac_exeext
=$ac_cv_exeext
3340 # Check that the compiler produces executables we can run. If not, either
3341 # the compiler is broken, or we cross compile.
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3343 $as_echo_n "checking whether the C compiler works... " >&6; }
3344 # If not cross compiling, check that we can run a simple program.
3345 if test "$cross_compiling" != yes; then
3346 if { ac_try
='./$ac_file'
3347 { { case "(($ac_try" in
3348 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3349 *) ac_try_echo=$ac_try;;
3351 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3352 $as_echo "$ac_try_echo"; } >&5
3353 (eval "$ac_try") 2>&5
3355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3356 test $ac_status = 0; }; }; then
3359 if test "$cross_compiling" = maybe; then
3362 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3363 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3364 as_fn_error "cannot run C compiled programs.
3365 If you meant to cross compile
, use \
`--host'.
3366 See \`config.log
' for more details." "$LINENO" 5; }
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3371 $as_echo "yes" >&6; }
3373 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3374 ac_clean_files=$ac_clean_files_save
3375 # Check that the compiler produces executables we can run. If not, either
3376 # the compiler is broken, or we cross compile.
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3378 $as_echo_n "checking whether we are cross compiling... " >&6; }
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3380 $as_echo "$cross_compiling" >&6; }
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3383 $as_echo_n "checking for suffix of executables... " >&6; }
3384 if { { ac_try="$ac_link"
3386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3387 *) ac_try_echo=$ac_try;;
3389 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3390 $as_echo "$ac_try_echo"; } >&5
3391 (eval "$ac_link") 2>&5
3393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3394 test $ac_status = 0; }; then :
3395 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3396 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3397 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3399 for ac_file
in conftest.exe conftest conftest.
*; do
3400 test -f "$ac_file" ||
continue
3402 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3403 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3409 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3410 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3411 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3412 See \`config.log' for more details." "$LINENO" 5; }
3414 rm -f conftest
$ac_cv_exeext
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3416 $as_echo "$ac_cv_exeext" >&6; }
3418 rm -f conftest.
$ac_ext
3419 EXEEXT
=$ac_cv_exeext
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3422 $as_echo_n "checking for suffix of object files... " >&6; }
3423 if test "${ac_cv_objext+set}" = set; then :
3424 $as_echo_n "(cached) " >&6
3426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3427 /* end confdefs.h. */
3437 rm -f conftest.o conftest.obj
3438 if { { ac_try
="$ac_compile"
3440 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3441 *) ac_try_echo=$ac_try;;
3443 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3444 $as_echo "$ac_try_echo"; } >&5
3445 (eval "$ac_compile") 2>&5
3447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3448 test $ac_status = 0; }; then :
3449 for ac_file in conftest.o conftest.obj conftest.*; do
3450 test -f "$ac_file" || continue;
3452 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3453 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3458 $as_echo "$as_me: failed program was:" >&5
3459 sed 's/^/| /' conftest.$ac_ext >&5
3461 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3462 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3463 as_fn_error "cannot compute suffix of object files
: cannot compile
3464 See \
`config.log' for more details." "$LINENO" 5; }
3466 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3469 $as_echo "$ac_cv_objext" >&6; }
3470 OBJEXT=$ac_cv_objext
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3473 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3474 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3475 $as_echo_n "(cached) " >&6
3477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3478 /* end confdefs.h. */
3491 if ac_fn_c_try_compile "$LINENO"; then :
3496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3497 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3501 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3502 if test $ac_compiler_gnu = yes; then
3507 ac_test_CFLAGS=${CFLAGS+set}
3508 ac_save_CFLAGS=$CFLAGS
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3510 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3511 if test "${ac_cv_prog_cc_g+set}" = set; then :
3512 $as_echo_n "(cached) " >&6
3514 ac_save_c_werror_flag=$ac_c_werror_flag
3515 ac_c_werror_flag=yes
3518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3519 /* end confdefs.h. */
3529 if ac_fn_c_try_compile "$LINENO"; then :
3533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3534 /* end confdefs.h. */
3544 if ac_fn_c_try_compile "$LINENO"; then :
3547 ac_c_werror_flag=$ac_save_c_werror_flag
3549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3550 /* end confdefs.h. */
3560 if ac_fn_c_try_compile "$LINENO"; then :
3563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3568 ac_c_werror_flag=$ac_save_c_werror_flag
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3571 $as_echo "$ac_cv_prog_cc_g" >&6; }
3572 if test "$ac_test_CFLAGS" = set; then
3573 CFLAGS=$ac_save_CFLAGS
3574 elif test $ac_cv_prog_cc_g = yes; then
3575 if test "$GCC" = yes; then
3581 if test "$GCC" = yes; then
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3588 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3589 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3590 $as_echo_n "(cached) " >&6
3592 ac_cv_prog_cc_c89=no
3594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3595 /* end confdefs.h. */
3598 #include <sys/types.h>
3599 #include <sys/stat.h>
3600 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3601 struct buf { int x; };
3602 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3603 static char *e (p, i)
3609 static char *f (char * (*g) (char **, int), char **p, ...)
3614 s = g (p, va_arg (v,int));
3619 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3620 function prototypes and stuff, but not '\xHH' hex character constants.
3621 These don't provoke an error unfortunately, instead are silently treated
3622 as 'x'. The following induces an error, until -std is added to get
3623 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3624 array size at least. It's necessary to write '\x00'==0 to get something
3625 that's true only with -std. */
3626 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3628 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3629 inside strings and character constants. */
3631 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3633 int test (int i, double x);
3634 struct s1 {int (*f) (int a);};
3635 struct s2 {int (*f) (double a);};
3636 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3642 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3647 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3648 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3650 CC="$ac_save_CC $ac_arg"
3651 if ac_fn_c_try_compile "$LINENO"; then :
3652 ac_cv_prog_cc_c89=$ac_arg
3654 rm -f core conftest.err conftest.$ac_objext
3655 test "x$ac_cv_prog_cc_c89" != "xno" && break
3657 rm -f conftest.$ac_ext
3662 case "x$ac_cv_prog_cc_c89" in
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3665 $as_echo "none needed" >&6; } ;;
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3668 $as_echo "unsupported" >&6; } ;;
3670 CC="$CC $ac_cv_prog_cc_c89"
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3672 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3674 if test "x$ac_cv_prog_cc_c89" != xno; then :
3679 ac_cpp='$CPP $CPPFLAGS'
3680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3683 DEPDIR="${am__leading_dot}deps"
3685 ac_config_commands="$ac_config_commands depfiles"
3688 am_make=${MAKE-make}
3689 cat > confinc << 'END'
3691 @echo this is the am__doit target
3694 # If we don't find an include directive, just comment out the code.
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3696 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3700 # First try GNU make style include.
3701 echo "include confinc" > confmf
3702 # Ignore all kinds of additional output from `make'.
3703 case `$am_make -s -f confmf 2> /dev/null` in #(
3704 *the\ am__doit\ target*)
3710 # Now try BSD make style include.
3711 if test "$am__include" = "#"; then
3712 echo '.include
"confinc"' > confmf
3713 case `$am_make -s -f confmf 2> /dev/null` in #(
3714 *the\ am__doit\ target*)
3715 am__include=.include
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3724 $as_echo "$_am_result" >&6; }
3725 rm -f confinc confmf
3727 # Check whether --enable-dependency-tracking was given.
3728 if test "${enable_dependency_tracking+set}" = set; then :
3729 enableval=$enable_dependency_tracking;
3732 if test "x$enable_dependency_tracking" != xno; then
3733 am_depcomp="$ac_aux_dir/depcomp"
3737 if test "x$enable_dependency_tracking" != xno
; then
3747 depcc
="$CC" am_compiler_list
=
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3750 $as_echo_n "checking dependency style of $depcc... " >&6; }
3751 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3752 $as_echo_n "(cached) " >&6
3754 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3755 # We make a subdir and do the tests there. Otherwise we can end up
3756 # making bogus files that we don't know about and never remove. For
3757 # instance it was reported that on HP-UX the gcc test will end up
3758 # making a dummy file named `D' -- because `-MD' means `put the output
3762 # Copy depcomp to subdir because otherwise we won't find it if we're
3763 # using a relative directory.
3764 cp "$am_depcomp" conftest.dir
3766 # We will build objects and dependencies in a subdirectory because
3767 # it helps to detect inapplicable dependency modes. For instance
3768 # both Tru64's cc and ICC support -MD to output dependencies as a
3769 # side effect of compilation, but ICC will put the dependencies in
3770 # the current directory while Tru64 will put them in the object
3774 am_cv_CC_dependencies_compiler_type
=none
3775 if test "$am_compiler_list" = ""; then
3776 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3779 case " $depcc " in #(
3780 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3783 for depmode
in $am_compiler_list; do
3784 # Setup a source with many dependencies, because some compilers
3785 # like to wrap large dependency lists on column 80 (with \), and
3786 # we should not choose a depcomp mode which is confused by this.
3788 # We need to recreate these files for each test, as the compiler may
3789 # overwrite some of them when testing with obscure command lines.
3790 # This happens at least with the AIX C compiler.
3792 for i
in 1 2 3 4 5 6; do
3793 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3794 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3795 # Solaris 8's {/usr,}/bin/sh.
3796 touch sub
/conftst
$i.h
3798 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3800 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3801 # mode. It turns out that the SunPro C++ compiler does not properly
3802 # handle `-M -o', and we need to detect this. Also, some Intel
3803 # versions had trouble with output in subdirs
3804 am__obj
=sub
/conftest.
${OBJEXT-o}
3805 am__minus_obj
="-o $am__obj"
3808 # This depmode causes a compiler race in universal mode.
3809 test "$am__universal" = false ||
continue
3812 # after this tag, mechanisms are not by side-effect, so they'll
3813 # only be used when explicitly requested
3814 if test "x$enable_dependency_tracking" = xyes
; then
3820 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
3821 # This compiler won't grok `-c -o', but also, the minuso test has
3822 # not run yet. These depmodes are late enough in the game, and
3823 # so weak that their functioning should not be impacted.
3824 am__obj
=conftest.
${OBJEXT-o}
3829 if depmode
=$depmode \
3830 source=sub
/conftest.c object
=$am__obj \
3831 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3832 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3833 >/dev
/null
2>conftest.err
&&
3834 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3835 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3836 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3837 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3838 # icc doesn't choke on unknown options, it will just issue warnings
3839 # or remarks (even with -Werror). So we grep stderr for any message
3840 # that says an option was ignored or not supported.
3841 # When given -MP, icc 7.0 and 7.1 complain thusly:
3842 # icc: Command line warning: ignoring option '-M'; no argument required
3843 # The diagnosis changed in icc 8.0:
3844 # icc: Command line remark: option '-MP' not supported
3845 if (grep 'ignoring option' conftest.err ||
3846 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3847 am_cv_CC_dependencies_compiler_type
=$depmode
3856 am_cv_CC_dependencies_compiler_type
=none
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3861 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3862 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3865 test "x$enable_dependency_tracking" != xno \
3866 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3868 am__fastdepCC_FALSE
='#'
3870 am__fastdepCC_TRUE
='#'
3871 am__fastdepCC_FALSE
=
3876 ac_cpp
='$CXXCPP $CPPFLAGS'
3877 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3878 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3879 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3880 if test -z "$CXX"; then
3881 if test -n "$CCC"; then
3884 if test -n "$ac_tool_prefix"; then
3885 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3887 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3888 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3890 $as_echo_n "checking for $ac_word... " >&6; }
3891 if test "${ac_cv_prog_CXX+set}" = set; then :
3892 $as_echo_n "(cached) " >&6
3894 if test -n "$CXX"; then
3895 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3901 test -z "$as_dir" && as_dir
=.
3902 for ac_exec_ext
in '' $ac_executable_extensions; do
3903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3904 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3915 if test -n "$CXX"; then
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3917 $as_echo "$CXX" >&6; }
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3920 $as_echo "no" >&6; }
3924 test -n "$CXX" && break
3927 if test -z "$CXX"; then
3929 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3931 # Extract the first word of "$ac_prog", so it can be a program name with args.
3932 set dummy
$ac_prog; ac_word
=$2
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3934 $as_echo_n "checking for $ac_word... " >&6; }
3935 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3936 $as_echo_n "(cached) " >&6
3938 if test -n "$ac_ct_CXX"; then
3939 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3945 test -z "$as_dir" && as_dir
=.
3946 for ac_exec_ext
in '' $ac_executable_extensions; do
3947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3948 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3958 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3959 if test -n "$ac_ct_CXX"; then
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3961 $as_echo "$ac_ct_CXX" >&6; }
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3964 $as_echo "no" >&6; }
3968 test -n "$ac_ct_CXX" && break
3971 if test "x$ac_ct_CXX" = x
; then
3974 case $cross_compiling:$ac_tool_warned in
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3977 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3978 ac_tool_warned
=yes ;;
3986 # Provide some information about the compiler.
3987 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3990 for ac_option
in --version -v -V -qversion; do
3991 { { ac_try
="$ac_compiler $ac_option >&5"
3993 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3994 *) ac_try_echo=$ac_try;;
3996 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3997 $as_echo "$ac_try_echo"; } >&5
3998 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4000 if test -s conftest.err; then
4002 ... rest of stderr output deleted ...
4003 10q' conftest.err >conftest.er1
4004 cat conftest.er1 >&5
4005 rm -f conftest.er1 conftest.err
4007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4008 test $ac_status = 0; }
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4012 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4013 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4014 $as_echo_n "(cached) " >&6
4016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4017 /* end confdefs.h. */
4030 if ac_fn_cxx_try_compile "$LINENO"; then :
4035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4036 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4040 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4041 if test $ac_compiler_gnu = yes; then
4046 ac_test_CXXFLAGS=${CXXFLAGS+set}
4047 ac_save_CXXFLAGS=$CXXFLAGS
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4049 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4050 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4051 $as_echo_n "(cached) " >&6
4053 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4054 ac_cxx_werror_flag=yes
4057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4058 /* end confdefs.h. */
4068 if ac_fn_cxx_try_compile "$LINENO"; then :
4069 ac_cv_prog_cxx_g=yes
4072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4073 /* end confdefs.h. */
4083 if ac_fn_cxx_try_compile "$LINENO"; then :
4086 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4089 /* end confdefs.h. */
4099 if ac_fn_cxx_try_compile "$LINENO"; then :
4100 ac_cv_prog_cxx_g=yes
4102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4107 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4110 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4111 if test "$ac_test_CXXFLAGS" = set; then
4112 CXXFLAGS=$ac_save_CXXFLAGS
4113 elif test $ac_cv_prog_cxx_g = yes; then
4114 if test "$GXX" = yes; then
4120 if test "$GXX" = yes; then
4127 ac_cpp='$CPP $CPPFLAGS'
4128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4132 depcc="$CXX" am_compiler_list=
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4135 $as_echo_n "checking dependency style of $depcc... " >&6; }
4136 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4137 $as_echo_n "(cached) " >&6
4139 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4140 # We make a subdir and do the tests there. Otherwise we can end up
4141 # making bogus files that we don't know about and never remove. For
4142 # instance it was reported that on HP-UX the gcc test will end up
4143 # making a dummy file named `D
' -- because `-MD' means
`put the output
4147 # Copy depcomp to subdir because otherwise we won't find it if we're
4148 # using a relative directory.
4149 cp "$am_depcomp" conftest.dir
4151 # We will build objects and dependencies in a subdirectory because
4152 # it helps to detect inapplicable dependency modes. For instance
4153 # both Tru64's cc and ICC support -MD to output dependencies as a
4154 # side effect of compilation, but ICC will put the dependencies in
4155 # the current directory while Tru64 will put them in the object
4159 am_cv_CXX_dependencies_compiler_type=none
4160 if test "$am_compiler_list" = ""; then
4161 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4164 case " $depcc " in #(
4165 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4168 for depmode in $am_compiler_list; do
4169 # Setup a source with many dependencies, because some compilers
4170 # like to wrap large dependency lists on column 80 (with \), and
4171 # we should not choose a depcomp mode which is confused by this.
4173 # We need to recreate these files for each test, as the compiler may
4174 # overwrite some of them when testing with obscure command lines.
4175 # This happens at least with the AIX C compiler.
4177 for i in 1 2 3 4 5 6; do
4178 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4179 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4180 # Solaris 8's
{/usr
,}/bin
/sh.
4181 touch sub
/conftst
$i.h
4183 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4185 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4186 # mode. It turns out that the SunPro C++ compiler does not properly
4187 # handle `-M -o', and we need to detect this. Also, some Intel
4188 # versions had trouble with output in subdirs
4189 am__obj
=sub
/conftest.
${OBJEXT-o}
4190 am__minus_obj
="-o $am__obj"
4193 # This depmode causes a compiler race in universal mode.
4194 test "$am__universal" = false ||
continue
4197 # after this tag, mechanisms are not by side-effect, so they'll
4198 # only be used when explicitly requested
4199 if test "x$enable_dependency_tracking" = xyes
; then
4205 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4206 # This compiler won't grok `-c -o', but also, the minuso test has
4207 # not run yet. These depmodes are late enough in the game, and
4208 # so weak that their functioning should not be impacted.
4209 am__obj
=conftest.
${OBJEXT-o}
4214 if depmode
=$depmode \
4215 source=sub
/conftest.c object
=$am__obj \
4216 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4217 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4218 >/dev
/null
2>conftest.err
&&
4219 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4220 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4221 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4222 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4223 # icc doesn't choke on unknown options, it will just issue warnings
4224 # or remarks (even with -Werror). So we grep stderr for any message
4225 # that says an option was ignored or not supported.
4226 # When given -MP, icc 7.0 and 7.1 complain thusly:
4227 # icc: Command line warning: ignoring option '-M'; no argument required
4228 # The diagnosis changed in icc 8.0:
4229 # icc: Command line remark: option '-MP' not supported
4230 if (grep 'ignoring option' conftest.err ||
4231 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4232 am_cv_CXX_dependencies_compiler_type
=$depmode
4241 am_cv_CXX_dependencies_compiler_type
=none
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4246 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4247 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4250 test "x$enable_dependency_tracking" != xno \
4251 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4252 am__fastdepCXX_TRUE
=
4253 am__fastdepCXX_FALSE
='#'
4255 am__fastdepCXX_TRUE
='#'
4256 am__fastdepCXX_FALSE
=
4261 # AC_CONFIG_MACRO_DIR([..])
4262 ac_config_files
="$ac_config_files Makefile libcilkrts.spec"
4266 ac_cpp
='$CPP $CPPFLAGS'
4267 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4268 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4269 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4271 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4272 # On Suns, sometimes $CPP names a directory.
4273 if test -n "$CPP" && test -d "$CPP"; then
4276 if test -z "$CPP"; then
4277 if test "${ac_cv_prog_CPP+set}" = set; then :
4278 $as_echo_n "(cached) " >&6
4280 # Double quotes because CPP needs to be expanded
4281 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4284 for ac_c_preproc_warn_flag
in '' yes
4286 # Use a header file that comes with gcc, so configuring glibc
4287 # with a fresh cross-compiler works.
4288 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4289 # <limits.h> exists even on freestanding compilers.
4290 # On the NeXT, cc -E runs the code through the compiler's parser,
4291 # not just through cpp. "Syntax error" is here to catch this case.
4292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4293 /* end confdefs.h. */
4295 # include <limits.h>
4297 # include <assert.h>
4301 if ac_fn_c_try_cpp
"$LINENO"; then :
4304 # Broken: fails on valid input.
4307 rm -f conftest.err conftest.
$ac_ext
4309 # OK, works on sane cases. Now check whether nonexistent headers
4310 # can be detected and how.
4311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4312 /* end confdefs.h. */
4313 #include <ac_nonexistent.h>
4315 if ac_fn_c_try_cpp
"$LINENO"; then :
4316 # Broken: success on invalid input.
4319 # Passes both tests.
4323 rm -f conftest.err conftest.
$ac_ext
4326 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4327 rm -f conftest.err conftest.
$ac_ext
4328 if $ac_preproc_ok; then :
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4341 $as_echo "$CPP" >&6; }
4343 for ac_c_preproc_warn_flag
in '' yes
4345 # Use a header file that comes with gcc, so configuring glibc
4346 # with a fresh cross-compiler works.
4347 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4348 # <limits.h> exists even on freestanding compilers.
4349 # On the NeXT, cc -E runs the code through the compiler's parser,
4350 # not just through cpp. "Syntax error" is here to catch this case.
4351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4352 /* end confdefs.h. */
4354 # include <limits.h>
4356 # include <assert.h>
4360 if ac_fn_c_try_cpp
"$LINENO"; then :
4363 # Broken: fails on valid input.
4366 rm -f conftest.err conftest.
$ac_ext
4368 # OK, works on sane cases. Now check whether nonexistent headers
4369 # can be detected and how.
4370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4371 /* end confdefs.h. */
4372 #include <ac_nonexistent.h>
4374 if ac_fn_c_try_cpp
"$LINENO"; then :
4375 # Broken: success on invalid input.
4378 # Passes both tests.
4382 rm -f conftest.err conftest.
$ac_ext
4385 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4386 rm -f conftest.err conftest.
$ac_ext
4387 if $ac_preproc_ok; then :
4390 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4392 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4393 See \`config.log' for more details." "$LINENO" 5; }
4397 ac_cpp
='$CPP $CPPFLAGS'
4398 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4399 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4400 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4404 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4405 if test "${ac_cv_path_GREP+set}" = set; then :
4406 $as_echo_n "(cached) " >&6
4408 if test -z "$GREP"; then
4409 ac_path_GREP_found
=false
4410 # Loop through the user's path and test for each of PROGNAME-LIST
4411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4412 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4415 test -z "$as_dir" && as_dir
=.
4416 for ac_prog
in grep ggrep
; do
4417 for ac_exec_ext
in '' $ac_executable_extensions; do
4418 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4419 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4420 # Check for GNU ac_path_GREP and select it if it is found.
4421 # Check for GNU $ac_path_GREP
4422 case `"$ac_path_GREP" --version 2>&1` in
4424 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4427 $as_echo_n 0123456789 >"conftest.in"
4430 cat "conftest.in" "conftest.in" >"conftest.tmp"
4431 mv "conftest.tmp" "conftest.in"
4432 cp "conftest.in" "conftest.nl"
4433 $as_echo 'GREP' >> "conftest.nl"
4434 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4435 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4436 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4437 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4438 # Best one so far, save it but keep looking for a better one
4439 ac_cv_path_GREP
="$ac_path_GREP"
4440 ac_path_GREP_max
=$ac_count
4442 # 10*(2^10) chars as input seems more than enough
4443 test $ac_count -gt 10 && break
4445 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4448 $ac_path_GREP_found && break 3
4453 if test -z "$ac_cv_path_GREP"; then
4454 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4457 ac_cv_path_GREP
=$GREP
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4462 $as_echo "$ac_cv_path_GREP" >&6; }
4463 GREP
="$ac_cv_path_GREP"
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4467 $as_echo_n "checking for egrep... " >&6; }
4468 if test "${ac_cv_path_EGREP+set}" = set; then :
4469 $as_echo_n "(cached) " >&6
4471 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4472 then ac_cv_path_EGREP
="$GREP -E"
4474 if test -z "$EGREP"; then
4475 ac_path_EGREP_found
=false
4476 # Loop through the user's path and test for each of PROGNAME-LIST
4477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4478 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4481 test -z "$as_dir" && as_dir
=.
4482 for ac_prog
in egrep; do
4483 for ac_exec_ext
in '' $ac_executable_extensions; do
4484 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4485 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4486 # Check for GNU ac_path_EGREP and select it if it is found.
4487 # Check for GNU $ac_path_EGREP
4488 case `"$ac_path_EGREP" --version 2>&1` in
4490 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4493 $as_echo_n 0123456789 >"conftest.in"
4496 cat "conftest.in" "conftest.in" >"conftest.tmp"
4497 mv "conftest.tmp" "conftest.in"
4498 cp "conftest.in" "conftest.nl"
4499 $as_echo 'EGREP' >> "conftest.nl"
4500 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4501 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4502 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4503 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4504 # Best one so far, save it but keep looking for a better one
4505 ac_cv_path_EGREP
="$ac_path_EGREP"
4506 ac_path_EGREP_max
=$ac_count
4508 # 10*(2^10) chars as input seems more than enough
4509 test $ac_count -gt 10 && break
4511 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4514 $ac_path_EGREP_found && break 3
4519 if test -z "$ac_cv_path_EGREP"; then
4520 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4523 ac_cv_path_EGREP
=$EGREP
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4529 $as_echo "$ac_cv_path_EGREP" >&6; }
4530 EGREP
="$ac_cv_path_EGREP"
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4534 $as_echo_n "checking for ANSI C header files... " >&6; }
4535 if test "${ac_cv_header_stdc+set}" = set; then :
4536 $as_echo_n "(cached) " >&6
4538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4539 /* end confdefs.h. */
4553 if ac_fn_c_try_compile
"$LINENO"; then :
4554 ac_cv_header_stdc
=yes
4556 ac_cv_header_stdc
=no
4558 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4560 if test $ac_cv_header_stdc = yes; then
4561 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4563 /* end confdefs.h. */
4567 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4568 $EGREP "memchr" >/dev
/null
2>&1; then :
4571 ac_cv_header_stdc
=no
4577 if test $ac_cv_header_stdc = yes; then
4578 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4580 /* end confdefs.h. */
4584 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4585 $EGREP "free" >/dev
/null
2>&1; then :
4588 ac_cv_header_stdc
=no
4594 if test $ac_cv_header_stdc = yes; then
4595 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4596 if test "$cross_compiling" = yes; then :
4599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4600 /* end confdefs.h. */
4603 #if ((' ' & 0x0FF) == 0x020)
4604 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4605 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4607 # define ISLOWER(c) \
4608 (('a' <= (c) && (c) <= 'i') \
4609 || ('j' <= (c) && (c) <= 'r') \
4610 || ('s' <= (c) && (c) <= 'z'))
4611 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4614 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4619 for (i = 0; i < 256; i++)
4620 if (XOR (islower (i), ISLOWER (i))
4621 || toupper (i) != TOUPPER (i))
4626 if ac_fn_c_try_run
"$LINENO"; then :
4629 ac_cv_header_stdc
=no
4631 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4632 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4638 $as_echo "$ac_cv_header_stdc" >&6; }
4639 if test $ac_cv_header_stdc = yes; then
4641 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4645 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4646 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4647 inttypes.h stdint.h unistd.h
4649 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4650 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4652 eval as_val
=\$
$as_ac_Header
4653 if test "x$as_val" = x
""yes; then :
4654 cat >>confdefs.h
<<_ACEOF
4655 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4663 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4664 # for constant arguments. Useless!
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
4666 $as_echo_n "checking for working alloca.h... " >&6; }
4667 if test "${ac_cv_working_alloca_h+set}" = set; then :
4668 $as_echo_n "(cached) " >&6
4670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4671 /* end confdefs.h. */
4676 char *p = (char *) alloca (2 * sizeof (int));
4682 if ac_fn_c_try_link
"$LINENO"; then :
4683 ac_cv_working_alloca_h
=yes
4685 ac_cv_working_alloca_h
=no
4687 rm -f core conftest.err conftest.
$ac_objext \
4688 conftest
$ac_exeext conftest.
$ac_ext
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
4691 $as_echo "$ac_cv_working_alloca_h" >&6; }
4692 if test $ac_cv_working_alloca_h = yes; then
4694 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
4699 $as_echo_n "checking for alloca... " >&6; }
4700 if test "${ac_cv_func_alloca_works+set}" = set; then :
4701 $as_echo_n "(cached) " >&6
4703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4704 /* end confdefs.h. */
4706 # define alloca __builtin_alloca
4709 # include <malloc.h>
4710 # define alloca _alloca
4712 # ifdef HAVE_ALLOCA_H
4713 # include <alloca.h>
4718 # ifndef alloca /* predefined by HP cc +Olibcalls */
4729 char *p = (char *) alloca (1);
4735 if ac_fn_c_try_link
"$LINENO"; then :
4736 ac_cv_func_alloca_works
=yes
4738 ac_cv_func_alloca_works
=no
4740 rm -f core conftest.err conftest.
$ac_objext \
4741 conftest
$ac_exeext conftest.
$ac_ext
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
4744 $as_echo "$ac_cv_func_alloca_works" >&6; }
4746 if test $ac_cv_func_alloca_works = yes; then
4748 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
4751 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
4752 # that cause trouble. Some versions do not even contain alloca or
4753 # contain a buggy version. If you still want to use their alloca,
4754 # use ar to extract alloca.o from them instead of compiling alloca.c.
4756 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
4758 $as_echo "#define C_ALLOCA 1" >>confdefs.h
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
4762 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
4763 if test "${ac_cv_os_cray+set}" = set; then :
4764 $as_echo_n "(cached) " >&6
4766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4767 /* end confdefs.h. */
4768 #if defined CRAY && ! defined CRAY2
4775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4776 $EGREP "webecray" >/dev
/null
2>&1; then :
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
4785 $as_echo "$ac_cv_os_cray" >&6; }
4786 if test $ac_cv_os_cray = yes; then
4787 for ac_func
in _getb67 GETB67 getb67
; do
4788 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4789 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4790 eval as_val
=\$
$as_ac_var
4791 if test "x$as_val" = x
""yes; then :
4793 cat >>confdefs.h
<<_ACEOF
4794 #define CRAY_STACKSEG_END $ac_func
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
4804 $as_echo_n "checking stack direction for C alloca... " >&6; }
4805 if test "${ac_cv_c_stack_direction+set}" = set; then :
4806 $as_echo_n "(cached) " >&6
4808 if test "$cross_compiling" = yes; then :
4809 ac_cv_c_stack_direction
=0
4811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4812 /* end confdefs.h. */
4813 $ac_includes_default
4815 find_stack_direction ()
4817 static char *addr = 0;
4822 return find_stack_direction ();
4825 return (&dummy > addr) ? 1 : -1;
4831 return find_stack_direction () < 0;
4834 if ac_fn_c_try_run
"$LINENO"; then :
4835 ac_cv_c_stack_direction
=1
4837 ac_cv_c_stack_direction
=-1
4839 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4840 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
4845 $as_echo "$ac_cv_c_stack_direction" >&6; }
4846 cat >>confdefs.h
<<_ACEOF
4847 #define STACK_DIRECTION $ac_cv_c_stack_direction
4854 # Check whether the target supports protected visibility.
4855 save_CFLAGS
="$CFLAGS"
4856 CFLAGS
="$CFLAGS -Werror"
4857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4858 /* end confdefs.h. */
4859 void __attribute__((visibility("protected"))) foo(void) { }
4868 if ac_fn_c_try_compile
"$LINENO"; then :
4869 libcilkrts_cv_have_attribute_visibility
=yes
4871 libcilkrts_cv_have_attribute_visibility
=no
4873 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4874 CFLAGS
="$save_CFLAGS"
4875 if test $libcilkrts_cv_have_attribute_visibility = yes; then
4877 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
4881 # Get target configury.
4882 .
${srcdir}/configure.tgt
4883 if test -n "$UNSUPPORTED"; then
4884 as_fn_error
"Configuration ${target} is unsupported." "$LINENO" 5
4887 if test "${multilib}" = "yes"; then
4888 multilib_arg
="--enable-multilib"
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
4894 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
4895 # Check whether --enable-version-specific-runtime-libs was given.
4896 if test "${enable_version_specific_runtime_libs+set}" = set; then :
4897 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
4898 yes) enable_version_specific_runtime_libs
=yes ;;
4899 no
) enable_version_specific_runtime_libs
=no
;;
4900 *) as_fn_error
"Unknown argument to enable/disable version-specific libs
4904 enable_version_specific_runtime_libs
=no
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_version_specific_runtime_libs" >&5
4908 $as_echo "$enable_version_specific_runtime_libs" >&6; }
4911 # Calculate toolexeclibdir
4912 # Also toolexecdir, though it's only used in toolexeclibdir
4913 case ${enable_version_specific_runtime_libs} in
4915 # Need the gcc compiler version to know where to install libraries
4916 # and header files if --enable-version-specific-runtime-libs option
4918 toolexecdir
='$(libdir)/gcc/$(target_alias)'
4919 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4922 if test -n "$with_cross_host" &&
4923 test x
"$with_cross_host" != x
"no"; then
4924 # Install a library built with a cross compiler in tooldir, not libdir.
4925 toolexecdir
='$(exec_prefix)/$(target_alias)'
4926 toolexeclibdir
='$(toolexecdir)/lib'
4928 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
4929 toolexeclibdir
='$(libdir)'
4931 multi_os_directory
=`$CC -print-multi-os-directory`
4932 case $multi_os_directory in
4933 .
) ;; # Avoid trailing /.
4934 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
4939 # Set config_dir based on the target. config_dir specifies where to get
4940 # target-specific files. The generic implementation is incomplete, but
4941 # contains information on what's needed
4953 config_dir
="generic"
4959 # We have linker scripts for appropriate operating systems
4960 linux_linker_script
=no
4963 linux_linker_script
=yes
4966 if test "$linux_linker_script" = "yes"; then
4967 LINUX_LINKER_SCRIPT_TRUE
=
4968 LINUX_LINKER_SCRIPT_FALSE
='#'
4970 LINUX_LINKER_SCRIPT_TRUE
='#'
4971 LINUX_LINKER_SCRIPT_FALSE
=
4975 mac_linker_script
=no
4978 mac_linker_script
=yes
4981 if test "$mac_linker_script" = "yes"; then
4982 MAC_LINKER_SCRIPT_TRUE
=
4983 MAC_LINKER_SCRIPT_FALSE
='#'
4985 MAC_LINKER_SCRIPT_TRUE
='#'
4986 MAC_LINKER_SCRIPT_FALSE
=
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4997 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5002 macro_version
='2.2.7a'
5003 macro_revision
='1.3134'
5017 ltmain
="$ac_aux_dir/ltmain.sh"
5019 # Backslashify metacharacters that are still active within
5020 # double-quoted strings.
5021 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5023 # Same as above, but do not quote variable references.
5024 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5026 # Sed substitution to delay expansion of an escaped shell variable in a
5027 # double_quote_subst'ed string.
5028 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5030 # Sed substitution to delay expansion of an escaped single quote.
5031 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5033 # Sed substitution to avoid accidental globbing in evaled expressions
5034 no_glob_subst
='s/\*/\\\*/g'
5036 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5037 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5038 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5041 $as_echo_n "checking how to print strings... " >&6; }
5042 # Test print first, because it will be a builtin if present.
5043 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5044 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5046 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5049 # Use this function as a fallback that always works.
5050 func_fallback_echo ()
5052 eval 'cat <<_LTECHO_EOF
5056 ECHO='func_fallback_echo
'
5059 # func_echo_all arg...
5060 # Invoke $ECHO with all args, space-separated.
5067 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5068 $as_echo "printf" >&6; } ;;
5069 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5070 $as_echo "print -r" >&6; } ;;
5071 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5072 $as_echo "cat" >&6; } ;;
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5089 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5090 if test "${ac_cv_path_SED+set}" = set; then :
5091 $as_echo_n "(cached) " >&6
5093 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5094 for ac_i in 1 2 3 4 5 6 7; do
5095 ac_script="$ac_script$as_nl$ac_script"
5097 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5098 { ac_script=; unset ac_script;}
5099 if test -z "$SED"; then
5100 ac_path_SED_found=false
5101 # Loop through the user's path and
test for each of PROGNAME-LIST
5102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5106 test -z "$as_dir" && as_dir
=.
5107 for ac_prog
in sed gsed
; do
5108 for ac_exec_ext
in '' $ac_executable_extensions; do
5109 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5110 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
5111 # Check for GNU ac_path_SED and select it if it is found.
5112 # Check for GNU $ac_path_SED
5113 case `"$ac_path_SED" --version 2>&1` in
5115 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5118 $as_echo_n 0123456789 >"conftest.in"
5121 cat "conftest.in" "conftest.in" >"conftest.tmp"
5122 mv "conftest.tmp" "conftest.in"
5123 cp "conftest.in" "conftest.nl"
5124 $as_echo '' >> "conftest.nl"
5125 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5126 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5127 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5128 if test $ac_count -gt ${ac_path_SED_max-0}; then
5129 # Best one so far, save it but keep looking for a better one
5130 ac_cv_path_SED
="$ac_path_SED"
5131 ac_path_SED_max
=$ac_count
5133 # 10*(2^10) chars as input seems more than enough
5134 test $ac_count -gt 10 && break
5136 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5139 $ac_path_SED_found && break 3
5144 if test -z "$ac_cv_path_SED"; then
5145 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5153 $as_echo "$ac_cv_path_SED" >&6; }
5154 SED
="$ac_cv_path_SED"
5157 test -z "$SED" && SED
=sed
5158 Xsed
="$SED -e 1s/^X//"
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5171 $as_echo_n "checking for fgrep... " >&6; }
5172 if test "${ac_cv_path_FGREP+set}" = set; then :
5173 $as_echo_n "(cached) " >&6
5175 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5176 then ac_cv_path_FGREP
="$GREP -F"
5178 if test -z "$FGREP"; then
5179 ac_path_FGREP_found
=false
5180 # Loop through the user's path and test for each of PROGNAME-LIST
5181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5182 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5185 test -z "$as_dir" && as_dir
=.
5186 for ac_prog
in fgrep
; do
5187 for ac_exec_ext
in '' $ac_executable_extensions; do
5188 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5189 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5190 # Check for GNU ac_path_FGREP and select it if it is found.
5191 # Check for GNU $ac_path_FGREP
5192 case `"$ac_path_FGREP" --version 2>&1` in
5194 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5197 $as_echo_n 0123456789 >"conftest.in"
5200 cat "conftest.in" "conftest.in" >"conftest.tmp"
5201 mv "conftest.tmp" "conftest.in"
5202 cp "conftest.in" "conftest.nl"
5203 $as_echo 'FGREP' >> "conftest.nl"
5204 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5205 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5206 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5207 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5208 # Best one so far, save it but keep looking for a better one
5209 ac_cv_path_FGREP
="$ac_path_FGREP"
5210 ac_path_FGREP_max
=$ac_count
5212 # 10*(2^10) chars as input seems more than enough
5213 test $ac_count -gt 10 && break
5215 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5218 $ac_path_FGREP_found && break 3
5223 if test -z "$ac_cv_path_FGREP"; then
5224 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5227 ac_cv_path_FGREP
=$FGREP
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5233 $as_echo "$ac_cv_path_FGREP" >&6; }
5234 FGREP
="$ac_cv_path_FGREP"
5237 test -z "$GREP" && GREP
=grep
5257 # Check whether --with-gnu-ld was given.
5258 if test "${with_gnu_ld+set}" = set; then :
5259 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5265 if test "$GCC" = yes; then
5266 # Check if gcc -print-prog-name=ld gives a path.
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5268 $as_echo_n "checking for ld used by $CC... " >&6; }
5271 # gcc leaves a trailing carriage return which upsets mingw
5272 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5274 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5277 # Accept absolute paths.
5279 re_direlt
='/[^/][^/]*/\.\./'
5280 # Canonicalize the pathname of ld
5281 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5282 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5283 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5285 test -z "$LD" && LD
="$ac_prog"
5288 # If it fails, then pretend we aren't using GCC.
5292 # If it is relative, then search for the first ld in PATH.
5296 elif test "$with_gnu_ld" = yes; then
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5298 $as_echo_n "checking for GNU ld... " >&6; }
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5301 $as_echo_n "checking for non-GNU ld... " >&6; }
5303 if test "${lt_cv_path_LD+set}" = set; then :
5304 $as_echo_n "(cached) " >&6
5306 if test -z "$LD"; then
5307 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5308 for ac_dir
in $PATH; do
5310 test -z "$ac_dir" && ac_dir
=.
5311 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5312 lt_cv_path_LD
="$ac_dir/$ac_prog"
5313 # Check to see if the program is GNU ld. I'd rather use --version,
5314 # but apparently some variants of GNU ld only accept -v.
5315 # Break only if it was the GNU/non-GNU ld that we prefer.
5316 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5317 *GNU
* |
*'with BFD'*)
5318 test "$with_gnu_ld" != no
&& break
5321 test "$with_gnu_ld" != yes && break
5328 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5333 if test -n "$LD"; then
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5335 $as_echo "$LD" >&6; }
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5338 $as_echo "no" >&6; }
5340 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5342 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5343 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5344 $as_echo_n "(cached) " >&6
5346 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5347 case `$LD -v 2>&1 </dev/null` in
5348 *GNU
* |
*'with BFD'*)
5349 lt_cv_prog_gnu_ld
=yes
5352 lt_cv_prog_gnu_ld
=no
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5357 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5358 with_gnu_ld
=$lt_cv_prog_gnu_ld
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5369 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5370 if test "${lt_cv_path_NM+set}" = set; then :
5371 $as_echo_n "(cached) " >&6
5373 if test -n "$NM"; then
5374 # Let the user override the test.
5377 lt_nm_to_check
="${ac_tool_prefix}nm"
5378 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5379 lt_nm_to_check
="$lt_nm_to_check nm"
5381 for lt_tmp_nm
in $lt_nm_to_check; do
5382 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5383 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5385 test -z "$ac_dir" && ac_dir
=.
5386 tmp_nm
="$ac_dir/$lt_tmp_nm"
5387 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5388 # Check to see if the nm accepts a BSD-compat flag.
5389 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5390 # nm: unknown option "B" ignored
5391 # Tru64's nm complains that /dev/null is an invalid object file
5392 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5393 */dev
/null
* |
*'Invalid file or object type'*)
5394 lt_cv_path_NM
="$tmp_nm -B"
5398 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5400 lt_cv_path_NM
="$tmp_nm -p"
5404 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5405 continue # so that we can try to find one that supports BSD flags
5414 : ${lt_cv_path_NM=no}
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5418 $as_echo "$lt_cv_path_NM" >&6; }
5419 if test "$lt_cv_path_NM" != "no"; then
5422 # Didn't find any BSD compatible name lister, look for dumpbin.
5423 if test -n "$DUMPBIN"; then :
5424 # Let the user override the test.
5426 if test -n "$ac_tool_prefix"; then
5427 for ac_prog
in dumpbin
"link -dump"
5429 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5430 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5432 $as_echo_n "checking for $ac_word... " >&6; }
5433 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5434 $as_echo_n "(cached) " >&6
5436 if test -n "$DUMPBIN"; then
5437 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5443 test -z "$as_dir" && as_dir
=.
5444 for ac_exec_ext
in '' $ac_executable_extensions; do
5445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5446 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5456 DUMPBIN
=$ac_cv_prog_DUMPBIN
5457 if test -n "$DUMPBIN"; then
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5459 $as_echo "$DUMPBIN" >&6; }
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5462 $as_echo "no" >&6; }
5466 test -n "$DUMPBIN" && break
5469 if test -z "$DUMPBIN"; then
5470 ac_ct_DUMPBIN
=$DUMPBIN
5471 for ac_prog
in dumpbin
"link -dump"
5473 # Extract the first word of "$ac_prog", so it can be a program name with args.
5474 set dummy
$ac_prog; ac_word
=$2
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5476 $as_echo_n "checking for $ac_word... " >&6; }
5477 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5478 $as_echo_n "(cached) " >&6
5480 if test -n "$ac_ct_DUMPBIN"; then
5481 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5487 test -z "$as_dir" && as_dir
=.
5488 for ac_exec_ext
in '' $ac_executable_extensions; do
5489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5490 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5500 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5501 if test -n "$ac_ct_DUMPBIN"; then
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5503 $as_echo "$ac_ct_DUMPBIN" >&6; }
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5506 $as_echo "no" >&6; }
5510 test -n "$ac_ct_DUMPBIN" && break
5513 if test "x$ac_ct_DUMPBIN" = x
; then
5516 case $cross_compiling:$ac_tool_warned in
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5519 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5520 ac_tool_warned
=yes ;;
5522 DUMPBIN
=$ac_ct_DUMPBIN
5526 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5528 DUMPBIN
="$DUMPBIN -symbols"
5536 if test "$DUMPBIN" != ":"; then
5540 test -z "$NM" && NM
=nm
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5548 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5549 if test "${lt_cv_nm_interface+set}" = set; then :
5550 $as_echo_n "(cached) " >&6
5552 lt_cv_nm_interface
="BSD nm"
5553 echo "int some_variable = 0;" > conftest.
$ac_ext
5554 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5555 (eval "$ac_compile" 2>conftest.err
)
5556 cat conftest.err
>&5
5557 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5558 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5559 cat conftest.err
>&5
5560 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5561 cat conftest.out
>&5
5562 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5563 lt_cv_nm_interface
="MS dumpbin"
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5568 $as_echo "$lt_cv_nm_interface" >&6; }
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5571 $as_echo_n "checking whether ln -s works... " >&6; }
5573 if test "$LN_S" = "ln -s"; then
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5575 $as_echo "yes" >&6; }
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5578 $as_echo "no, using $LN_S" >&6; }
5581 # find the maximum length of command line arguments
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5583 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5584 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5585 $as_echo_n "(cached) " >&6
5592 # On DJGPP, this test can blow up pretty badly due to problems in libc
5593 # (any single argument exceeding 2000 bytes causes a buffer overrun
5594 # during glob expansion). Even if it were fixed, the result of this
5595 # check would be larger than it should be.
5596 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5600 # Under GNU Hurd, this test is not required because there is
5601 # no limit to the length of command line arguments.
5602 # Libtool will interpret -1 as no limit whatsoever
5603 lt_cv_sys_max_cmd_len
=-1;
5606 cygwin
* | mingw
* | cegcc
*)
5607 # On Win9x/ME, this test blows up -- it succeeds, but takes
5608 # about 5 minutes as the teststring grows exponentially.
5609 # Worse, since 9x/ME are not pre-emptively multitasking,
5610 # you end up with a "frozen" computer, even though with patience
5611 # the test eventually succeeds (with a max line length of 256k).
5612 # Instead, let's just punt: use the minimum linelength reported by
5613 # all of the supported platforms: 8192 (on NT/2K/XP).
5614 lt_cv_sys_max_cmd_len
=8192;
5618 # On MiNT this can take a long time and run out of memory.
5619 lt_cv_sys_max_cmd_len
=8192;
5623 # On AmigaOS with pdksh, this test takes hours, literally.
5624 # So we just punt and use a minimum line length of 8192.
5625 lt_cv_sys_max_cmd_len
=8192;
5628 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5629 # This has been around since 386BSD, at least. Likely further.
5630 if test -x /sbin
/sysctl
; then
5631 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5632 elif test -x /usr
/sbin
/sysctl
; then
5633 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5635 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5637 # And add a safety zone
5638 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5639 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5643 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5644 lt_cv_sys_max_cmd_len
=196608
5648 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5649 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5650 # nice to cause kernel panics so lets avoid the loop below.
5651 # First set a reasonable default.
5652 lt_cv_sys_max_cmd_len
=16384
5654 if test -x /sbin
/sysconfig
; then
5655 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5656 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5661 lt_cv_sys_max_cmd_len
=102400
5663 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5664 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5665 if test -n "$kargmax"; then
5666 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5668 lt_cv_sys_max_cmd_len
=32768
5672 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5673 if test -n "$lt_cv_sys_max_cmd_len"; then
5674 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5675 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5677 # Make teststring a little bigger before we do anything with it.
5678 # a 1K string should be a reasonable start.
5679 for i
in 1 2 3 4 5 6 7 8 ; do
5680 teststring
=$teststring$teststring
5682 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5683 # If test is not a shell built-in, we'll probably end up computing a
5684 # maximum length that is only half of the actual maximum length, but
5686 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5687 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5688 test $i != 17 # 1/2 MB should be enough
5691 teststring
=$teststring$teststring
5693 # Only check the string length outside the loop.
5694 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5696 # Add a significant safety factor because C++ compilers can tack on
5697 # massive amounts of additional arguments before passing them to the
5698 # linker. It appears as though 1/2 is a usable value.
5699 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5706 if test -n $lt_cv_sys_max_cmd_len ; then
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5708 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5711 $as_echo "none" >&6; }
5713 max_cmd_len
=$lt_cv_sys_max_cmd_len
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5725 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5726 # Try some XSI features
5729 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5731 && eval 'test $(( 1 + 1 )) -eq 2 \
5732 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5735 $as_echo "$xsi_shell" >&6; }
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5739 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5741 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5743 && lt_shell_append=yes
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5745 $as_echo "$lt_shell_append" >&6; }
5748 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5758 # test EBCDIC or ASCII
5759 case `echo X|tr X '\101'` in
5760 A) # ASCII based system
5761 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5762 lt_SP2NL='tr \040 \012'
5763 lt_NL2SP='tr \015\012 \040\040'
5765 *) # EBCDIC based system
5766 lt_SP2NL='tr \100 \n'
5767 lt_NL2SP='tr \r\n \100\100'
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5780 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5781 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5782 $as_echo_n "(cached
) " >&6
5784 lt_cv_ld_reload_flag='-r'
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5787 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5788 reload_flag=$lt_cv_ld_reload_flag
5789 case $reload_flag in
5791 *) reload_flag=" $reload_flag" ;;
5793 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5796 if test "$GCC" = yes; then
5797 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5799 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5812 if test -n "$ac_tool_prefix"; then
5813 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5814 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5816 $as_echo_n "checking
for $ac_word...
" >&6; }
5817 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5818 $as_echo_n "(cached
) " >&6
5820 if test -n "$OBJDUMP"; then
5821 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5827 test -z "$as_dir" && as_dir=.
5828 for ac_exec_ext in '' $ac_executable_extensions; do
5829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5830 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5831 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5840 OBJDUMP=$ac_cv_prog_OBJDUMP
5841 if test -n "$OBJDUMP"; then
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5843 $as_echo "$OBJDUMP" >&6; }
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5846 $as_echo "no
" >&6; }
5851 if test -z "$ac_cv_prog_OBJDUMP"; then
5852 ac_ct_OBJDUMP=$OBJDUMP
5853 # Extract the first word of "objdump
", so it can be a program name with args.
5854 set dummy objdump; ac_word=$2
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5856 $as_echo_n "checking
for $ac_word...
" >&6; }
5857 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5858 $as_echo_n "(cached
) " >&6
5860 if test -n "$ac_ct_OBJDUMP"; then
5861 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5867 test -z "$as_dir" && as_dir=.
5868 for ac_exec_ext in '' $ac_executable_extensions; do
5869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5870 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5871 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5880 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5881 if test -n "$ac_ct_OBJDUMP"; then
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5883 $as_echo "$ac_ct_OBJDUMP" >&6; }
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5886 $as_echo "no
" >&6; }
5889 if test "x
$ac_ct_OBJDUMP" = x; then
5892 case $cross_compiling:$ac_tool_warned in
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5895 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5896 ac_tool_warned=yes ;;
5898 OBJDUMP=$ac_ct_OBJDUMP
5901 OBJDUMP="$ac_cv_prog_OBJDUMP"
5904 test -z "$OBJDUMP" && OBJDUMP=objdump
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5915 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5916 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5917 $as_echo_n "(cached
) " >&6
5919 lt_cv_file_magic_cmd='$MAGIC_CMD'
5920 lt_cv_file_magic_test_file=
5921 lt_cv_deplibs_check_method='unknown'
5922 # Need to set the preceding variable on all platforms that support
5923 # interlibrary dependencies.
5924 # 'none' -- dependencies not supported.
5925 # `unknown' -- same as none, but documents that we really don't know.
5926 # 'pass_all' -- all dependencies passed with no checks.
5927 # 'test_compile' -- check by making test program.
5928 # 'file_magic [[regex]]' -- check by looking for files in library path
5929 # which responds to the $file_magic_cmd with a given extended regex.
5930 # If you have `file' or equivalent on your system and you're not sure
5931 # whether `pass_all' will *always* work, you probably want this one.
5935 lt_cv_deplibs_check_method=pass_all
5939 lt_cv_deplibs_check_method=pass_all
5943 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5944 lt_cv_file_magic_cmd='/usr/bin/file -L'
5945 lt_cv_file_magic_test_file=/shlib/libc.so
5949 # func_win32_libid is a shell function defined in ltmain.sh
5950 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5951 lt_cv_file_magic_cmd='func_win32_libid'
5955 # Base MSYS/MinGW do not provide the 'file' command needed by
5956 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5957 # unless we find 'file', for example because we are cross-compiling.
5958 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5959 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5960 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5961 lt_cv_file_magic_cmd='func_win32_libid'
5963 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5964 lt_cv_file_magic_cmd='$OBJDUMP -f'
5969 # use the weaker test based on 'objdump'. See mingw*.
5970 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5971 lt_cv_file_magic_cmd='$OBJDUMP -f'
5974 darwin* | rhapsody*)
5975 lt_cv_deplibs_check_method=pass_all
5978 freebsd* | dragonfly*)
5979 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5982 # Not sure whether the presence of OpenBSD here was a mistake.
5983 # Let's accept both of them until this is cleared up.
5984 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5985 lt_cv_file_magic_cmd=/usr/bin/file
5986 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5990 lt_cv_deplibs_check_method=pass_all
5995 lt_cv_deplibs_check_method=pass_all
5999 lt_cv_deplibs_check_method=pass_all
6002 hpux10.20* | hpux11*)
6003 lt_cv_file_magic_cmd=/usr/bin/file
6006 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6007 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6010 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]'
6011 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6014 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6015 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6021 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6022 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6025 irix5* | irix6* | nonstopux*)
6027 *-32|*"-32 ") libmagic=32-bit;;
6028 *-n32|*"-n32 ") libmagic=N32;;
6029 *-64|*"-64 ") libmagic=64-bit;;
6030 *) libmagic=never-match;;
6032 lt_cv_deplibs_check_method=pass_all
6035 # This must be Linux ELF.
6036 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6037 lt_cv_deplibs_check_method=pass_all
6041 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6042 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6044 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6049 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6050 lt_cv_file_magic_cmd=/usr/bin/file
6051 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6055 lt_cv_deplibs_check_method=pass_all
6059 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6060 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6062 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6066 osf3* | osf4* | osf5*)
6067 lt_cv_deplibs_check_method=pass_all
6071 lt_cv_deplibs_check_method=pass_all
6075 lt_cv_deplibs_check_method=pass_all
6078 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6079 lt_cv_deplibs_check_method=pass_all
6083 case $host_vendor in
6085 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]'
6086 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6089 lt_cv_deplibs_check_method=pass_all
6092 lt_cv_file_magic_cmd='/bin/file'
6093 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6096 lt_cv_file_magic_cmd='/bin/file'
6097 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6098 lt_cv_file_magic_test_file=/lib/libc.so
6101 lt_cv_deplibs_check_method=pass_all
6104 lt_cv_deplibs_check_method=pass_all
6110 lt_cv_deplibs_check_method=pass_all
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6116 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6117 file_magic_cmd=$lt_cv_file_magic_cmd
6118 deplibs_check_method=$lt_cv_deplibs_check_method
6119 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6132 if test -n "$ac_tool_prefix"; then
6133 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6134 set dummy ${ac_tool_prefix}ar; ac_word=$2
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6136 $as_echo_n "checking
for $ac_word...
" >&6; }
6137 if test "${ac_cv_prog_AR+set}" = set; then :
6138 $as_echo_n "(cached
) " >&6
6140 if test -n "$AR"; then
6141 ac_cv_prog_AR="$AR" # Let the user override the test.
6143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6147 test -z "$as_dir" && as_dir=.
6148 for ac_exec_ext in '' $ac_executable_extensions; do
6149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6150 ac_cv_prog_AR="${ac_tool_prefix}ar"
6151 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6161 if test -n "$AR"; then
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6163 $as_echo "$AR" >&6; }
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6166 $as_echo "no
" >&6; }
6171 if test -z "$ac_cv_prog_AR"; then
6173 # Extract the first word of "ar", so it can be a program name with args.
6174 set dummy ar; ac_word=$2
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6176 $as_echo_n "checking
for $ac_word...
" >&6; }
6177 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6178 $as_echo_n "(cached
) " >&6
6180 if test -n "$ac_ct_AR"; then
6181 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6187 test -z "$as_dir" && as_dir=.
6188 for ac_exec_ext in '' $ac_executable_extensions; do
6189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6190 ac_cv_prog_ac_ct_AR="ar"
6191 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6200 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6201 if test -n "$ac_ct_AR"; then
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6203 $as_echo "$ac_ct_AR" >&6; }
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6206 $as_echo "no
" >&6; }
6209 if test "x
$ac_ct_AR" = x; then
6212 case $cross_compiling:$ac_tool_warned in
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6215 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6216 ac_tool_warned=yes ;;
6224 test -z "$AR" && AR=ar
6225 test -z "$AR_FLAGS" && AR_FLAGS=cru
6237 if test -n "$ac_tool_prefix"; then
6238 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6239 set dummy ${ac_tool_prefix}strip; ac_word=$2
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6241 $as_echo_n "checking
for $ac_word...
" >&6; }
6242 if test "${ac_cv_prog_STRIP+set}" = set; then :
6243 $as_echo_n "(cached
) " >&6
6245 if test -n "$STRIP"; then
6246 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6252 test -z "$as_dir" && as_dir=.
6253 for ac_exec_ext in '' $ac_executable_extensions; do
6254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6255 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6256 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6265 STRIP=$ac_cv_prog_STRIP
6266 if test -n "$STRIP"; then
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6268 $as_echo "$STRIP" >&6; }
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6271 $as_echo "no
" >&6; }
6276 if test -z "$ac_cv_prog_STRIP"; then
6278 # Extract the first word of "strip
", so it can be a program name with args.
6279 set dummy strip; ac_word=$2
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6281 $as_echo_n "checking
for $ac_word...
" >&6; }
6282 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6283 $as_echo_n "(cached
) " >&6
6285 if test -n "$ac_ct_STRIP"; then
6286 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6292 test -z "$as_dir" && as_dir=.
6293 for ac_exec_ext in '' $ac_executable_extensions; do
6294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6295 ac_cv_prog_ac_ct_STRIP="strip
"
6296 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6305 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6306 if test -n "$ac_ct_STRIP"; then
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6308 $as_echo "$ac_ct_STRIP" >&6; }
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6311 $as_echo "no
" >&6; }
6314 if test "x
$ac_ct_STRIP" = x; then
6317 case $cross_compiling:$ac_tool_warned in
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6320 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6321 ac_tool_warned=yes ;;
6326 STRIP="$ac_cv_prog_STRIP"
6329 test -z "$STRIP" && STRIP=:
6336 if test -n "$ac_tool_prefix"; then
6337 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6338 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6340 $as_echo_n "checking
for $ac_word...
" >&6; }
6341 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6342 $as_echo_n "(cached
) " >&6
6344 if test -n "$RANLIB"; then
6345 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6351 test -z "$as_dir" && as_dir=.
6352 for ac_exec_ext in '' $ac_executable_extensions; do
6353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6354 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6355 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6364 RANLIB=$ac_cv_prog_RANLIB
6365 if test -n "$RANLIB"; then
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6367 $as_echo "$RANLIB" >&6; }
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6370 $as_echo "no
" >&6; }
6375 if test -z "$ac_cv_prog_RANLIB"; then
6376 ac_ct_RANLIB=$RANLIB
6377 # Extract the first word of "ranlib
", so it can be a program name with args.
6378 set dummy ranlib; ac_word=$2
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6380 $as_echo_n "checking
for $ac_word...
" >&6; }
6381 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6382 $as_echo_n "(cached
) " >&6
6384 if test -n "$ac_ct_RANLIB"; then
6385 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6391 test -z "$as_dir" && as_dir=.
6392 for ac_exec_ext in '' $ac_executable_extensions; do
6393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6394 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6395 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6404 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6405 if test -n "$ac_ct_RANLIB"; then
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6407 $as_echo "$ac_ct_RANLIB" >&6; }
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6410 $as_echo "no
" >&6; }
6413 if test "x
$ac_ct_RANLIB" = x; then
6416 case $cross_compiling:$ac_tool_warned in
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6419 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6420 ac_tool_warned=yes ;;
6422 RANLIB=$ac_ct_RANLIB
6425 RANLIB="$ac_cv_prog_RANLIB"
6428 test -z "$RANLIB" && RANLIB=:
6435 # Determine commands to create old-style static archives.
6436 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6437 old_postinstall_cmds='chmod 644 $oldlib'
6438 old_postuninstall_cmds=
6440 if test -n "$RANLIB"; then
6443 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6446 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6449 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6454 lock_old_archive_extraction=yes ;;
6456 lock_old_archive_extraction=no ;;
6497 # If no C compiler was specified, use CC.
6500 # If no C compiler flags were specified, use CFLAGS.
6501 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6503 # Allow CC to be a program name with arguments.
6507 # Check for command to grab the raw symbol name followed by C symbol from nm.
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6509 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6510 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6511 $as_echo_n "(cached
) " >&6
6514 # These are sane defaults that work on at least a few old systems.
6515 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6517 # Character class describing NM global symbol codes.
6518 symcode='[BCDEGRST]'
6520 # Regexp to match symbols that can be accessed directly from C.
6521 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6523 # Define system-specific variables.
6528 cygwin* | mingw* | pw32* | cegcc*)
6529 symcode='[ABCDGISTW]'
6532 if test "$host_cpu" = ia64; then
6533 symcode='[ABCDEGRST]'
6537 symcode='[BCDEGRST]'
6540 symcode='[BCDEGQRST]'
6551 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6559 # If we're using GNU nm, then use its standard symbol codes.
6560 case `$NM -V 2>&1` in
6561 *GNU* | *'with BFD'*)
6562 symcode='[ABCDGIRSTW]' ;;
6565 # Transform an extracted symbol line into a proper C declaration.
6566 # Some systems (esp. on ia64) link data and code symbols differently,
6567 # so use this general approach.
6568 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6570 # Transform an extracted symbol line into symbol name and symbol address
6571 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6572 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'"
6574 # Handle CRLF in mingw tool chain
6578 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6582 # Try without a prefix underscore, then with it.
6583 for ac_symprfx in "" "_
"; do
6585 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6586 symxfrm="\\1 $ac_symprfx\\2 \\2"
6588 # Write the raw and C identifiers.
6589 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6590 # Fake it for dumpbin and say T for any non-static function
6591 # and D for any global variable.
6592 # Also find C++ and __fastcall symbols from MSVC++,
6593 # which start with @ or ?.
6594 lt_cv_sys_global_symbol_pipe="$AWK '"\
6595 " {last_section=section; section=\$ 3};"\
6596 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6597 " \$ 0!~/External *\|/{next};"\
6598 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6599 " {if(hide[section]) next};"\
6600 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6601 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6602 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6603 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6604 " ' prfx
=^
$ac_symprfx"
6606 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6609 # Check to see that the pipe works correctly.
6613 cat > conftest.$ac_ext <<_LT_EOF
6618 void nm_test_func(void);
6619 void nm_test_func(void){}
6623 int main(){nm_test_var='a';nm_test_func();return(0);}
6626 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6627 (eval $ac_compile) 2>&5
6629 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6630 test $ac_status = 0; }; then
6631 # Now try to grab the symbols.
6633 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6634 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6636 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6637 test $ac_status = 0; } && test -s "$nlist"; then
6638 # Try sorting and uniquifying the output.
6639 if sort "$nlist" | uniq > "$nlist"T; then
6640 mv -f "$nlist"T "$nlist"
6645 # Make sure that we snagged all the symbols we need.
6646 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6647 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6648 cat <<_LT_EOF > conftest.$ac_ext
6654 # Now generate the symbol file.
6655 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6657 cat <<_LT_EOF >> conftest.$ac_ext
6659 /* The mapping between symbol names and symbols. */
6664 lt__PROGRAM__LTX_preloaded_symbols[] =
6666 { "@PROGRAM@
", (void *) 0 },
6668 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6669 cat <<\_LT_EOF >> conftest.$ac_ext
6673 /* This works around a problem in FreeBSD linker */
6674 #ifdef FREEBSD_WORKAROUND
6675 static const void *lt_preloaded_setup() {
6676 return lt__PROGRAM__LTX_preloaded_symbols;
6684 # Now try linking the two files.
6685 mv conftest.$ac_objext conftstm.$ac_objext
6686 lt_save_LIBS="$LIBS"
6687 lt_save_CFLAGS="$CFLAGS"
6688 LIBS="conftstm.
$ac_objext"
6689 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6690 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6691 (eval $ac_link) 2>&5
6693 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6694 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6697 LIBS="$lt_save_LIBS"
6698 CFLAGS="$lt_save_CFLAGS"
6700 echo "cannot
find nm_test_func
in $nlist" >&5
6703 echo "cannot
find nm_test_var
in $nlist" >&5
6706 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6709 echo "$progname: failed program was
:" >&5
6710 cat conftest.$ac_ext >&5
6712 rm -rf conftest* conftst*
6714 # Do not use the global_symbol_pipe unless it works.
6715 if test "$pipe_works" = yes; then
6718 lt_cv_sys_global_symbol_pipe=
6724 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6725 lt_cv_sys_global_symbol_to_cdecl=
6727 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6729 $as_echo "failed
" >&6; }
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6732 $as_echo "ok
" >&6; }
6756 # Check whether --enable-libtool-lock was given.
6757 if test "${enable_libtool_lock+set}" = set; then :
6758 enableval=$enable_libtool_lock;
6761 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6763 # Some flags need to be propagated to the compiler or linker for good
6767 # Find out which ABI we are using.
6768 echo 'int i;' > conftest.$ac_ext
6769 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6770 (eval $ac_compile) 2>&5
6772 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6773 test $ac_status = 0; }; then
6774 case `/usr/bin/file conftest.$ac_objext` in
6786 # Find out which ABI we are using.
6787 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6788 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6789 (eval $ac_compile) 2>&5
6791 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6792 test $ac_status = 0; }; then
6793 if test "$lt_cv_prog_gnu_ld" = yes; then
6794 case `/usr/bin/file conftest.$ac_objext` in
6796 LD="${LD-ld} -melf32bsmip"
6799 LD="${LD-ld} -melf32bmipn32"
6802 LD="${LD-ld} -melf64bmip"
6806 case `/usr/bin/file conftest.$ac_objext` in
6822 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6823 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6824 # Find out which ABI we are using.
6825 echo 'int i;' > conftest.$ac_ext
6826 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6827 (eval $ac_compile) 2>&5
6829 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6830 test $ac_status = 0; }; then
6831 case `/usr/bin/file conftest.o` in
6834 x86_64-*kfreebsd*-gnu)
6835 LD="${LD-ld} -m elf_i386_fbsd
"
6838 case `/usr/bin/file conftest.o` in
6840 LD="${LD-ld} -m elf32_x86_64
"
6843 LD="${LD-ld} -m elf_i386
"
6847 powerpc64le-*linux*)
6848 LD="${LD-ld} -m elf32lppclinux
"
6851 LD="${LD-ld} -m elf32ppclinux
"
6854 LD="${LD-ld} -m elf_s390
"
6857 LD="${LD-ld} -m elf32_sparc
"
6863 x86_64-*kfreebsd*-gnu)
6864 LD="${LD-ld} -m elf_x86_64_fbsd
"
6867 LD="${LD-ld} -m elf_x86_64
"
6870 LD="${LD-ld} -m elf64lppc
"
6873 LD="${LD-ld} -m elf64ppc
"
6875 s390*-*linux*|s390*-*tpf*)
6876 LD="${LD-ld} -m elf64_s390
"
6879 LD="${LD-ld} -m elf64_sparc
"
6889 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6890 SAVE_CFLAGS="$CFLAGS"
6891 CFLAGS="$CFLAGS -belf"
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6893 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6894 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6895 $as_echo_n "(cached
) " >&6
6898 ac_cpp='$CPP $CPPFLAGS'
6899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6904 /* end confdefs.h. */
6914 if ac_fn_c_try_link "$LINENO"; then :
6915 lt_cv_cc_needs_belf=yes
6917 lt_cv_cc_needs_belf=no
6919 rm -f core conftest.err conftest.$ac_objext \
6920 conftest$ac_exeext conftest.$ac_ext
6922 ac_cpp='$CPP $CPPFLAGS'
6923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6929 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6930 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6931 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6932 CFLAGS="$SAVE_CFLAGS"
6936 # Find out which ABI we are using.
6937 echo 'int i;' > conftest.$ac_ext
6938 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6939 (eval $ac_compile) 2>&5
6941 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6942 test $ac_status = 0; }; then
6943 case `/usr/bin/file conftest.o` in
6945 case $lt_cv_prog_gnu_ld in
6946 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6948 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6960 need_locks="$enable_libtool_lock"
6964 rhapsody* | darwin*)
6965 if test -n "$ac_tool_prefix"; then
6966 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6967 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6969 $as_echo_n "checking
for $ac_word...
" >&6; }
6970 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6971 $as_echo_n "(cached
) " >&6
6973 if test -n "$DSYMUTIL"; then
6974 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6980 test -z "$as_dir" && as_dir=.
6981 for ac_exec_ext in '' $ac_executable_extensions; do
6982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6983 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6984 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6993 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6994 if test -n "$DSYMUTIL"; then
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6996 $as_echo "$DSYMUTIL" >&6; }
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6999 $as_echo "no
" >&6; }
7004 if test -z "$ac_cv_prog_DSYMUTIL"; then
7005 ac_ct_DSYMUTIL=$DSYMUTIL
7006 # Extract the first word of "dsymutil
", so it can be a program name with args.
7007 set dummy dsymutil; ac_word=$2
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7009 $as_echo_n "checking
for $ac_word...
" >&6; }
7010 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7011 $as_echo_n "(cached
) " >&6
7013 if test -n "$ac_ct_DSYMUTIL"; then
7014 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7020 test -z "$as_dir" && as_dir=.
7021 for ac_exec_ext in '' $ac_executable_extensions; do
7022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7023 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7024 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7033 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7034 if test -n "$ac_ct_DSYMUTIL"; then
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7036 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7039 $as_echo "no
" >&6; }
7042 if test "x
$ac_ct_DSYMUTIL" = x; then
7045 case $cross_compiling:$ac_tool_warned in
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7048 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7049 ac_tool_warned=yes ;;
7051 DSYMUTIL=$ac_ct_DSYMUTIL
7054 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7057 if test -n "$ac_tool_prefix"; then
7058 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7059 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7061 $as_echo_n "checking
for $ac_word...
" >&6; }
7062 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7063 $as_echo_n "(cached
) " >&6
7065 if test -n "$NMEDIT"; then
7066 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7072 test -z "$as_dir" && as_dir=.
7073 for ac_exec_ext in '' $ac_executable_extensions; do
7074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7075 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7076 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7085 NMEDIT=$ac_cv_prog_NMEDIT
7086 if test -n "$NMEDIT"; then
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7088 $as_echo "$NMEDIT" >&6; }
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7091 $as_echo "no
" >&6; }
7096 if test -z "$ac_cv_prog_NMEDIT"; then
7097 ac_ct_NMEDIT=$NMEDIT
7098 # Extract the first word of "nmedit
", so it can be a program name with args.
7099 set dummy nmedit; ac_word=$2
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7101 $as_echo_n "checking
for $ac_word...
" >&6; }
7102 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7103 $as_echo_n "(cached
) " >&6
7105 if test -n "$ac_ct_NMEDIT"; then
7106 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7112 test -z "$as_dir" && as_dir=.
7113 for ac_exec_ext in '' $ac_executable_extensions; do
7114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7115 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7116 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7125 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7126 if test -n "$ac_ct_NMEDIT"; then
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7128 $as_echo "$ac_ct_NMEDIT" >&6; }
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7131 $as_echo "no
" >&6; }
7134 if test "x
$ac_ct_NMEDIT" = x; then
7137 case $cross_compiling:$ac_tool_warned in
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7140 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7141 ac_tool_warned=yes ;;
7143 NMEDIT=$ac_ct_NMEDIT
7146 NMEDIT="$ac_cv_prog_NMEDIT"
7149 if test -n "$ac_tool_prefix"; then
7150 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7151 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7153 $as_echo_n "checking
for $ac_word...
" >&6; }
7154 if test "${ac_cv_prog_LIPO+set}" = set; then :
7155 $as_echo_n "(cached
) " >&6
7157 if test -n "$LIPO"; then
7158 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7164 test -z "$as_dir" && as_dir=.
7165 for ac_exec_ext in '' $ac_executable_extensions; do
7166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7167 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7168 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7177 LIPO=$ac_cv_prog_LIPO
7178 if test -n "$LIPO"; then
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7180 $as_echo "$LIPO" >&6; }
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7183 $as_echo "no
" >&6; }
7188 if test -z "$ac_cv_prog_LIPO"; then
7190 # Extract the first word of "lipo
", so it can be a program name with args.
7191 set dummy lipo; ac_word=$2
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7193 $as_echo_n "checking
for $ac_word...
" >&6; }
7194 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7195 $as_echo_n "(cached
) " >&6
7197 if test -n "$ac_ct_LIPO"; then
7198 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7204 test -z "$as_dir" && as_dir=.
7205 for ac_exec_ext in '' $ac_executable_extensions; do
7206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7207 ac_cv_prog_ac_ct_LIPO="lipo
"
7208 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7217 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7218 if test -n "$ac_ct_LIPO"; then
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7220 $as_echo "$ac_ct_LIPO" >&6; }
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7223 $as_echo "no
" >&6; }
7226 if test "x
$ac_ct_LIPO" = x; then
7229 case $cross_compiling:$ac_tool_warned in
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7232 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7233 ac_tool_warned=yes ;;
7238 LIPO="$ac_cv_prog_LIPO"
7241 if test -n "$ac_tool_prefix"; then
7242 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7243 set dummy ${ac_tool_prefix}otool; ac_word=$2
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7245 $as_echo_n "checking
for $ac_word...
" >&6; }
7246 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7247 $as_echo_n "(cached
) " >&6
7249 if test -n "$OTOOL"; then
7250 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7256 test -z "$as_dir" && as_dir=.
7257 for ac_exec_ext in '' $ac_executable_extensions; do
7258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7259 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7260 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7269 OTOOL=$ac_cv_prog_OTOOL
7270 if test -n "$OTOOL"; then
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7272 $as_echo "$OTOOL" >&6; }
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7275 $as_echo "no
" >&6; }
7280 if test -z "$ac_cv_prog_OTOOL"; then
7282 # Extract the first word of "otool
", so it can be a program name with args.
7283 set dummy otool; ac_word=$2
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7285 $as_echo_n "checking
for $ac_word...
" >&6; }
7286 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7287 $as_echo_n "(cached
) " >&6
7289 if test -n "$ac_ct_OTOOL"; then
7290 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7296 test -z "$as_dir" && as_dir=.
7297 for ac_exec_ext in '' $ac_executable_extensions; do
7298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7299 ac_cv_prog_ac_ct_OTOOL="otool
"
7300 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7309 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7310 if test -n "$ac_ct_OTOOL"; then
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7312 $as_echo "$ac_ct_OTOOL" >&6; }
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7315 $as_echo "no
" >&6; }
7318 if test "x
$ac_ct_OTOOL" = x; then
7321 case $cross_compiling:$ac_tool_warned in
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7324 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7325 ac_tool_warned=yes ;;
7330 OTOOL="$ac_cv_prog_OTOOL"
7333 if test -n "$ac_tool_prefix"; then
7334 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7335 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7337 $as_echo_n "checking
for $ac_word...
" >&6; }
7338 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7339 $as_echo_n "(cached
) " >&6
7341 if test -n "$OTOOL64"; then
7342 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7348 test -z "$as_dir" && as_dir=.
7349 for ac_exec_ext in '' $ac_executable_extensions; do
7350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7351 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7352 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7361 OTOOL64=$ac_cv_prog_OTOOL64
7362 if test -n "$OTOOL64"; then
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7364 $as_echo "$OTOOL64" >&6; }
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7367 $as_echo "no
" >&6; }
7372 if test -z "$ac_cv_prog_OTOOL64"; then
7373 ac_ct_OTOOL64=$OTOOL64
7374 # Extract the first word of "otool64
", so it can be a program name with args.
7375 set dummy otool64; ac_word=$2
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7377 $as_echo_n "checking
for $ac_word...
" >&6; }
7378 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7379 $as_echo_n "(cached
) " >&6
7381 if test -n "$ac_ct_OTOOL64"; then
7382 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7388 test -z "$as_dir" && as_dir=.
7389 for ac_exec_ext in '' $ac_executable_extensions; do
7390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7391 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7392 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7401 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7402 if test -n "$ac_ct_OTOOL64"; then
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7404 $as_echo "$ac_ct_OTOOL64" >&6; }
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7407 $as_echo "no
" >&6; }
7410 if test "x
$ac_ct_OTOOL64" = x; then
7413 case $cross_compiling:$ac_tool_warned in
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7416 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7417 ac_tool_warned=yes ;;
7419 OTOOL64=$ac_ct_OTOOL64
7422 OTOOL64="$ac_cv_prog_OTOOL64"
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7452 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7453 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7454 $as_echo_n "(cached
) " >&6
7456 lt_cv_apple_cc_single_mod=no
7457 if test -z "${LT_MULTI_MODULE}"; then
7458 # By default we will add the -single_module flag. You can override
7459 # by either setting the environment variable LT_MULTI_MODULE
7460 # non-empty at configure time, or by adding -multi_module to the
7462 rm -rf libconftest.dylib*
7463 echo "int foo
(void
){return 1;}" > conftest.c
7464 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7465 -dynamiclib -Wl,-single_module conftest.c
" >&5
7466 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7467 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7469 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7470 lt_cv_apple_cc_single_mod=yes
7472 cat conftest.err >&5
7474 rm -rf libconftest.dylib*
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7479 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7481 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7482 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7483 $as_echo_n "(cached
) " >&6
7485 lt_cv_ld_exported_symbols_list=no
7486 save_LDFLAGS=$LDFLAGS
7487 echo "_main
" > conftest.sym
7488 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7490 /* end confdefs.h. */
7500 if ac_fn_c_try_link "$LINENO"; then :
7501 lt_cv_ld_exported_symbols_list=yes
7503 lt_cv_ld_exported_symbols_list=no
7505 rm -f core conftest.err conftest.$ac_objext \
7506 conftest$ac_exeext conftest.$ac_ext
7507 LDFLAGS="$save_LDFLAGS"
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7511 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7513 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7514 if test "${lt_cv_ld_force_load+set}" = set; then :
7515 $as_echo_n "(cached
) " >&6
7517 lt_cv_ld_force_load=no
7518 cat > conftest.c << _LT_EOF
7519 int forced_loaded() { return 2;}
7521 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7522 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7523 echo "$AR cru libconftest.a conftest.o
" >&5
7524 $AR cru libconftest.a conftest.o 2>&5
7525 cat > conftest.c << _LT_EOF
7526 int main() { return 0;}
7528 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7529 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7531 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7532 lt_cv_ld_force_load=yes
7534 cat conftest.err >&5
7536 rm -f conftest.err libconftest.a conftest conftest.c
7537 rm -rf conftest.dSYM
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7541 $as_echo "$lt_cv_ld_force_load" >&6; }
7543 rhapsody* | darwin1.[012])
7544 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7546 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7547 darwin*) # darwin 5.x on
7548 # if running on 10.5 or later, the deployment target defaults
7549 # to the OS version, if on x86, and 10.4, the deployment
7550 # target defaults to 10.4. Don't you love it?
7551 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7552 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7553 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7555 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7557 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7561 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7562 _lt_dar_single_mod='$single_module'
7564 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7565 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7567 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7569 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7570 _lt_dsymutil='~$DSYMUTIL $lib || :'
7577 for ac_header in dlfcn.h
7579 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7581 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
7582 cat >>confdefs.h <<_ACEOF
7583 #define HAVE_DLFCN_H 1
7603 # Check whether --enable-shared was given.
7604 if test "${enable_shared+set}" = set; then :
7605 enableval=$enable_shared; p=${PACKAGE-default}
7607 yes) enable_shared=yes ;;
7608 no) enable_shared=no ;;
7611 # Look at the argument we got. We use all the common list separators.
7612 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7613 for pkg in $enableval; do
7615 if test "X
$pkg" = "X
$p"; then
7634 # Check whether --enable-static was given.
7635 if test "${enable_static+set}" = set; then :
7636 enableval=$enable_static; p=${PACKAGE-default}
7638 yes) enable_static=yes ;;
7639 no) enable_static=no ;;
7642 # Look at the argument we got. We use all the common list separators.
7643 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7644 for pkg in $enableval; do
7646 if test "X
$pkg" = "X
$p"; then
7666 # Check whether --with-pic was given.
7667 if test "${with_pic+set}" = set; then :
7668 withval=$with_pic; pic_mode="$withval"
7674 test -z "$pic_mode" && pic_mode=default
7682 # Check whether --enable-fast-install was given.
7683 if test "${enable_fast_install+set}" = set; then :
7684 enableval=$enable_fast_install; p=${PACKAGE-default}
7686 yes) enable_fast_install=yes ;;
7687 no) enable_fast_install=no ;;
7689 enable_fast_install=no
7690 # Look at the argument we got. We use all the common list separators.
7691 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7692 for pkg in $enableval; do
7694 if test "X
$pkg" = "X
$p"; then
7695 enable_fast_install=yes
7702 enable_fast_install=yes
7715 # This can be used to rebuild libtool when needed
7716 LIBTOOL_DEPS="$ltmain"
7718 # Always use our own libtool.
7719 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7746 test -z "$LN_S" && LN_S="ln -s"
7761 if test -n "${ZSH_VERSION+set}" ; then
7762 setopt NO_GLOB_SUBST
7765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
7766 $as_echo_n "checking
for objdir...
" >&6; }
7767 if test "${lt_cv_objdir+set}" = set; then :
7768 $as_echo_n "(cached
) " >&6
7770 rm -f .libs 2>/dev/null
7771 mkdir .libs 2>/dev/null
7772 if test -d .libs; then
7775 # MS-DOS does not allow filenames that begin with a dot.
7778 rmdir .libs 2>/dev/null
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
7781 $as_echo "$lt_cv_objdir" >&6; }
7782 objdir=$lt_cv_objdir
7788 cat >>confdefs.h <<_ACEOF
7789 #define LT_OBJDIR "$lt_cv_objdir/"
7797 # AIX sometimes has problems with the GCC collect2 program. For some
7798 # reason, if we set the COLLECT_NAMES environment variable, the problems
7799 # vanish in a puff of smoke.
7800 if test "X
${COLLECT_NAMES+set}" != Xset; then
7802 export COLLECT_NAMES
7809 can_build_shared=yes
7811 # All known linkers require a `.a' archive for static linking (except MSVC,
7812 # which needs '.lib').
7815 with_gnu_ld="$lt_cv_prog_gnu_ld"
7818 old_CFLAGS="$CFLAGS"
7820 # Set sane defaults for various variables
7821 test -z "$CC" && CC=cc
7822 test -z "$LTCC" && LTCC=$CC
7823 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7824 test -z "$LD" && LD=ld
7825 test -z "$ac_objext" && ac_objext=o
7827 for cc_temp in $compiler""; do
7829 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7830 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7835 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7838 # Only perform the check for file, if the check method requires it
7839 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7840 case $deplibs_check_method in
7842 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
7844 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
7845 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7846 $as_echo_n "(cached
) " >&6
7850 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7853 lt_save_MAGIC_CMD="$MAGIC_CMD"
7854 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7855 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7856 for ac_dir in $ac_dummy; do
7858 test -z "$ac_dir" && ac_dir=.
7859 if test -f $ac_dir/${ac_tool_prefix}file; then
7860 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7861 if test -n "$file_magic_test_file"; then
7862 case $deplibs_check_method in
7864 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7865 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7866 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7867 $EGREP "$file_magic_regex" > /dev/null; then
7872 *** Warning: the command libtool uses to detect shared libraries,
7873 *** $file_magic_cmd, produces output that libtool cannot recognize.
7874 *** The result is that libtool may fail to recognize shared libraries
7875 *** as such. This will affect the creation of libtool libraries that
7876 *** depend on shared libraries, but programs linked with such libtool
7877 *** libraries will work regardless of this problem. Nevertheless, you
7878 *** may want to report the problem to your system manager and/or to
7879 *** bug-libtool@gnu.org
7889 MAGIC_CMD="$lt_save_MAGIC_CMD"
7894 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7895 if test -n "$MAGIC_CMD"; then
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7897 $as_echo "$MAGIC_CMD" >&6; }
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7900 $as_echo "no
" >&6; }
7907 if test -z "$lt_cv_path_MAGIC_CMD"; then
7908 if test -n "$ac_tool_prefix"; then
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
7910 $as_echo_n "checking
for file...
" >&6; }
7911 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7912 $as_echo_n "(cached
) " >&6
7916 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7919 lt_save_MAGIC_CMD="$MAGIC_CMD"
7920 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7921 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7922 for ac_dir in $ac_dummy; do
7924 test -z "$ac_dir" && ac_dir=.
7925 if test -f $ac_dir/file; then
7926 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7927 if test -n "$file_magic_test_file"; then
7928 case $deplibs_check_method in
7930 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7931 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7932 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7933 $EGREP "$file_magic_regex" > /dev/null; then
7938 *** Warning: the command libtool uses to detect shared libraries,
7939 *** $file_magic_cmd, produces output that libtool cannot recognize.
7940 *** The result is that libtool may fail to recognize shared libraries
7941 *** as such. This will affect the creation of libtool libraries that
7942 *** depend on shared libraries, but programs linked with such libtool
7943 *** libraries will work regardless of this problem. Nevertheless, you
7944 *** may want to report the problem to your system manager and/or to
7945 *** bug-libtool@gnu.org
7955 MAGIC_CMD="$lt_save_MAGIC_CMD"
7960 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7961 if test -n "$MAGIC_CMD"; then
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7963 $as_echo "$MAGIC_CMD" >&6; }
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7966 $as_echo "no
" >&6; }
7979 # Use C for the default configuration in the libtool script
7983 ac_cpp='$CPP $CPPFLAGS'
7984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7989 # Source file extension for C test sources.
7992 # Object file extension for compiled C test sources.
7996 # Code to be used in simple compile tests
7997 lt_simple_compile_test_code="int some_variable
= 0;"
7999 # Code to be used in simple link tests
8000 lt_simple_link_test_code='int main(){return(0);}'
8008 # If no C compiler was specified, use CC.
8011 # If no C compiler flags were specified, use CFLAGS.
8012 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8014 # Allow CC to be a program name with arguments.
8017 # Save the default compiler, since it gets overwritten when the other
8018 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8019 compiler_DEFAULT=$CC
8021 # save warnings/boilerplate of simple test code
8022 ac_outfile=conftest.$ac_objext
8023 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8024 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8025 _lt_compiler_boilerplate=`cat conftest.err`
8028 ac_outfile=conftest.$ac_objext
8029 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8030 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8031 _lt_linker_boilerplate=`cat conftest.err`
8036 ## There is no encapsulation within the following macros, do not change
8037 ## the running order or otherwise move them around unless you know exactly
8038 ## what you are doing...
8039 if test -n "$compiler"; then
8041 lt_prog_compiler_no_builtin_flag=
8043 if test "$GCC" = yes; then
8044 case $cc_basename in
8046 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8048 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8052 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
8053 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8054 $as_echo_n "(cached
) " >&6
8056 lt_cv_prog_compiler_rtti_exceptions=no
8057 ac_outfile=conftest.$ac_objext
8058 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8059 lt_compiler_flag="-fno-rtti -fno-exceptions"
8060 # Insert the option either (1) after the last *FLAGS variable, or
8061 # (2) before a word containing "conftest.
", or (3) at the end.
8062 # Note that $ac_compile itself does not contain backslashes and begins
8063 # with a dollar sign (not a hyphen), so the echo should work correctly.
8064 # The option is referenced via a variable to avoid confusing sed.
8065 lt_compile=`echo "$ac_compile" | $SED \
8066 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8067 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8068 -e 's:$: $lt_compiler_flag:'`
8069 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8070 (eval "$lt_compile" 2>conftest.err)
8072 cat conftest.err >&5
8073 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8074 if (exit $ac_status) && test -s "$ac_outfile"; then
8075 # The compiler can only warn and ignore the option if not recognized
8076 # So say no if there are warnings other than the usual output.
8077 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8078 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8079 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8080 lt_cv_prog_compiler_rtti_exceptions=yes
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8087 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8089 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8090 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8102 lt_prog_compiler_wl=
8103 lt_prog_compiler_pic=
8104 lt_prog_compiler_static=
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
8107 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
8109 if test "$GCC" = yes; then
8110 lt_prog_compiler_wl='-Wl,'
8111 lt_prog_compiler_static='-static'
8115 # All AIX code is PIC.
8116 if test "$host_cpu" = ia64; then
8117 # AIX 5 now supports IA64 processor
8118 lt_prog_compiler_static='-Bstatic'
8120 lt_prog_compiler_pic='-fPIC'
8126 # see comment about AmigaOS4 .so support
8127 lt_prog_compiler_pic='-fPIC'
8130 # FIXME: we need at least 68020 code to build shared libraries, but
8131 # adding the `-m68020' flag to GCC prevents building anything better,
8133 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8138 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8139 # PIC is the default for these OSes.
8142 mingw* | cygwin* | pw32* | os2* | cegcc*)
8143 # This hack is so that the source file can tell whether it is being
8144 # built for inclusion in a dll (and should export symbols for example).
8145 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8146 # (--disable-auto-import) libraries
8147 lt_prog_compiler_pic='-DDLL_EXPORT'
8150 darwin* | rhapsody*)
8151 # PIC is the default on this platform
8152 # Common symbols not allowed in MH_DYLIB files
8153 lt_prog_compiler_pic='-fno-common'
8157 # PIC is the default for Haiku.
8158 # The "-static" flag exists, but is broken.
8159 lt_prog_compiler_static=
8163 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8164 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8165 # sets the default TLS model and affects inlining.
8171 lt_prog_compiler_pic='-fPIC'
8177 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8178 # Instead, we relocate shared libraries at runtime.
8182 # Just because we use GCC doesn't mean we suddenly get shared libraries
8183 # on systems that don't support them.
8184 lt_prog_compiler_can_build_shared=no
8189 # QNX uses GNU C++, but need to define -shared option too, otherwise
8191 lt_prog_compiler_pic='-fPIC -shared'
8195 if test -d /usr/nec; then
8196 lt_prog_compiler_pic=-Kconform_pic
8201 lt_prog_compiler_pic='-fPIC'
8205 case $cc_basename in
8206 nvcc*) # Cuda Compiler Driver 2.2
8207 lt_prog_compiler_wl='-Xlinker '
8208 lt_prog_compiler_pic='-Xcompiler -fPIC'
8212 # PORTME Check for flag to pass linker flags through the system compiler.
8215 lt_prog_compiler_wl='-Wl,'
8216 if test "$host_cpu" = ia64; then
8217 # AIX 5 now supports IA64 processor
8218 lt_prog_compiler_static='-Bstatic'
8220 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8224 mingw* | cygwin* | pw32* | os2* | cegcc*)
8225 # This hack is so that the source file can tell whether it is being
8226 # built for inclusion in a dll (and should export symbols for example).
8227 lt_prog_compiler_pic='-DDLL_EXPORT'
8230 hpux9* | hpux10* | hpux11*)
8231 lt_prog_compiler_wl='-Wl,'
8232 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8239 lt_prog_compiler_pic='+Z'
8242 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8243 lt_prog_compiler_static='${wl}-a ${wl}archive'
8246 irix5* | irix6* | nonstopux*)
8247 lt_prog_compiler_wl='-Wl,'
8248 # PIC (with -KPIC) is the default.
8249 lt_prog_compiler_static='-non_shared'
8252 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8253 case $cc_basename in
8254 # old Intel for x86_64 which still supported -KPIC.
8256 lt_prog_compiler_wl='-Wl,'
8257 lt_prog_compiler_pic='-KPIC'
8258 lt_prog_compiler_static='-static'
8260 # icc used to be incompatible with GCC.
8261 # ICC 10 doesn't accept -KPIC any more.
8263 lt_prog_compiler_wl='-Wl,'
8264 lt_prog_compiler_pic='-fPIC'
8265 lt_prog_compiler_static='-static'
8267 # Lahey Fortran 8.1.
8269 lt_prog_compiler_wl='-Wl,'
8270 lt_prog_compiler_pic='--shared'
8271 lt_prog_compiler_static='--static'
8273 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8274 # Portland Group compilers (*not* the Pentium gcc compiler,
8275 # which looks to be a dead project)
8276 lt_prog_compiler_wl='-Wl,'
8277 lt_prog_compiler_pic='-fpic'
8278 lt_prog_compiler_static='-Bstatic'
8281 lt_prog_compiler_wl='-Wl,'
8282 # All Alpha code is PIC.
8283 lt_prog_compiler_static='-non_shared'
8285 xl* | bgxl* | bgf* | mpixl*)
8286 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8287 lt_prog_compiler_wl='-Wl,'
8288 lt_prog_compiler_pic='-qpic'
8289 lt_prog_compiler_static='-qstaticlink'
8292 case `$CC -V 2>&1 | sed 5q` in
8293 *Sun\ F* | *Sun*Fortran*)
8294 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8295 lt_prog_compiler_pic='-KPIC'
8296 lt_prog_compiler_static='-Bstatic'
8297 lt_prog_compiler_wl=''
8301 lt_prog_compiler_pic='-KPIC'
8302 lt_prog_compiler_static='-Bstatic'
8303 lt_prog_compiler_wl='-Wl,'
8311 lt_prog_compiler_pic='-KPIC'
8312 lt_prog_compiler_static='-Bstatic'
8316 # QNX uses GNU C++, but need to define -shared option too, otherwise
8318 lt_prog_compiler_pic='-fPIC -shared'
8321 osf3* | osf4* | osf5*)
8322 lt_prog_compiler_wl='-Wl,'
8323 # All OSF/1 code is PIC.
8324 lt_prog_compiler_static='-non_shared'
8328 lt_prog_compiler_static='-non_shared'
8332 lt_prog_compiler_pic='-KPIC'
8333 lt_prog_compiler_static='-Bstatic'
8334 case $cc_basename in
8336 lt_prog_compiler_wl='-Qoption ld ';;
8338 lt_prog_compiler_wl='-Wl,';;
8343 lt_prog_compiler_wl='-Qoption ld '
8344 lt_prog_compiler_pic='-PIC'
8345 lt_prog_compiler_static='-Bstatic'
8348 sysv4 | sysv4.2uw2* | sysv4.3*)
8349 lt_prog_compiler_wl='-Wl,'
8350 lt_prog_compiler_pic='-KPIC'
8351 lt_prog_compiler_static='-Bstatic'
8355 if test -d /usr/nec ;then
8356 lt_prog_compiler_pic='-Kconform_pic'
8357 lt_prog_compiler_static='-Bstatic'
8361 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8362 lt_prog_compiler_wl='-Wl,'
8363 lt_prog_compiler_pic='-KPIC'
8364 lt_prog_compiler_static='-Bstatic'
8368 lt_prog_compiler_wl='-Wl,'
8369 lt_prog_compiler_can_build_shared=no
8373 lt_prog_compiler_pic='-pic'
8374 lt_prog_compiler_static='-Bstatic'
8378 lt_prog_compiler_can_build_shared=no
8384 # For platforms which do not support PIC, -DPIC is meaningless:
8386 lt_prog_compiler_pic=
8389 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
8393 $as_echo "$lt_prog_compiler_pic" >&6; }
8401 # Check to make sure the PIC flag actually works.
8403 if test -n "$lt_prog_compiler_pic"; then
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8405 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
8406 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8407 $as_echo_n "(cached
) " >&6
8409 lt_cv_prog_compiler_pic_works=no
8410 ac_outfile=conftest.$ac_objext
8411 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8412 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8413 # Insert the option either (1) after the last *FLAGS variable, or
8414 # (2) before a word containing "conftest.
", or (3) at the end.
8415 # Note that $ac_compile itself does not contain backslashes and begins
8416 # with a dollar sign (not a hyphen), so the echo should work correctly.
8417 # The option is referenced via a variable to avoid confusing sed.
8418 lt_compile=`echo "$ac_compile" | $SED \
8419 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8420 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8421 -e 's:$: $lt_compiler_flag:'`
8422 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8423 (eval "$lt_compile" 2>conftest.err)
8425 cat conftest.err >&5
8426 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8427 if (exit $ac_status) && test -s "$ac_outfile"; then
8428 # The compiler can only warn and ignore the option if not recognized
8429 # So say no if there are warnings other than the usual output.
8430 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8431 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8432 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8433 lt_cv_prog_compiler_pic_works=yes
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
8440 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8442 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8443 case $lt_prog_compiler_pic in
8445 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8448 lt_prog_compiler_pic=
8449 lt_prog_compiler_can_build_shared=no
8460 # Check to make sure the static flag actually works.
8462 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
8464 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
8465 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8466 $as_echo_n "(cached
) " >&6
8468 lt_cv_prog_compiler_static_works=no
8469 save_LDFLAGS="$LDFLAGS"
8470 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8471 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8472 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8473 # The linker can only warn and ignore the option if not recognized
8474 # So say no if there are warnings
8475 if test -s conftest.err; then
8476 # Append any errors to the config.log.
8477 cat conftest.err 1>&5
8478 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8479 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8480 if diff conftest.exp conftest.er2 >/dev/null; then
8481 lt_cv_prog_compiler_static_works=yes
8484 lt_cv_prog_compiler_static_works=yes
8488 LDFLAGS="$save_LDFLAGS"
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
8492 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8494 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8497 lt_prog_compiler_static=
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8507 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8508 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8509 $as_echo_n "(cached
) " >&6
8511 lt_cv_prog_compiler_c_o=no
8512 $RM -r conftest 2>/dev/null
8516 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8518 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8519 # Insert the option either (1) after the last *FLAGS variable, or
8520 # (2) before a word containing "conftest.
", or (3) at the end.
8521 # Note that $ac_compile itself does not contain backslashes and begins
8522 # with a dollar sign (not a hyphen), so the echo should work correctly.
8523 lt_compile=`echo "$ac_compile" | $SED \
8524 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8525 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8526 -e 's:$: $lt_compiler_flag:'`
8527 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8528 (eval "$lt_compile" 2>out/conftest.err)
8530 cat out/conftest.err >&5
8531 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8532 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8534 # The compiler can only warn and ignore the option if not recognized
8535 # So say no if there are warnings
8536 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8537 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8538 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8539 lt_cv_prog_compiler_c_o=yes
8544 # SGI C++ compiler will create directory out/ii_files/ for
8545 # template instantiation
8546 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8547 $RM out/* && rmdir out
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8554 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8562 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8563 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8564 $as_echo_n "(cached
) " >&6
8566 lt_cv_prog_compiler_c_o=no
8567 $RM -r conftest 2>/dev/null
8571 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8573 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8574 # Insert the option either (1) after the last *FLAGS variable, or
8575 # (2) before a word containing "conftest.
", or (3) at the end.
8576 # Note that $ac_compile itself does not contain backslashes and begins
8577 # with a dollar sign (not a hyphen), so the echo should work correctly.
8578 lt_compile=`echo "$ac_compile" | $SED \
8579 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8580 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8581 -e 's:$: $lt_compiler_flag:'`
8582 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8583 (eval "$lt_compile" 2>out/conftest.err)
8585 cat out/conftest.err >&5
8586 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8587 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8589 # The compiler can only warn and ignore the option if not recognized
8590 # So say no if there are warnings
8591 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8592 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8593 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8594 lt_cv_prog_compiler_c_o=yes
8599 # SGI C++ compiler will create directory out/ii_files/ for
8600 # template instantiation
8601 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8602 $RM out/* && rmdir out
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8609 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8614 hard_links="nottested
"
8615 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8616 # do not overwrite the value of need_locks provided by the user
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
8618 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
8621 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8623 ln conftest.a conftest.b 2>&5 || hard_links=no
8624 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
8626 $as_echo "$hard_links" >&6; }
8627 if test "$hard_links" = no; then
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
8629 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
8642 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
8645 allow_undefined_flag=
8646 always_export_symbols=no
8648 archive_expsym_cmds=
8649 compiler_needs_object=no
8650 enable_shared_with_static_runtimes=no
8651 export_dynamic_flag_spec=
8652 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8653 hardcode_automatic=no
8655 hardcode_direct_absolute=no
8656 hardcode_libdir_flag_spec=
8657 hardcode_libdir_flag_spec_ld=
8658 hardcode_libdir_separator=
8660 hardcode_shlibpath_var=unsupported
8662 link_all_deplibs=unknown
8665 old_archive_from_new_cmds=
8666 old_archive_from_expsyms_cmds=
8667 thread_safe_flag_spec=
8668 whole_archive_flag_spec=
8669 # include_expsyms should be a list of space-separated symbols to be *always*
8670 # included in the symbol list
8672 # exclude_expsyms can be an extended regexp of symbols to exclude
8673 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8674 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8675 # as well as any symbol that contains `d'.
8676 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8677 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8678 # platforms (ab)use it in PIC code, but their linkers get confused if
8679 # the symbol is explicitly referenced. Since portable code cannot
8680 # rely on this symbol name, it's probably fine to never include it in
8681 # preloaded symbol tables.
8682 # Exclude shared library initialization/finalization symbols.
8683 extract_expsyms_cmds=
8686 cygwin* | mingw* | pw32* | cegcc*)
8687 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8688 # When not using gcc, we currently assume that we are using
8689 # Microsoft Visual C++.
8690 if test "$GCC" != yes; then
8695 # we just hope/assume this is gcc and not c89 (= MSVC++)
8705 # On some targets, GNU ld is compatible enough with the native linker
8706 # that we're better off using the native interface for both.
8707 lt_use_gnu_ld_interface=no
8708 if test "$with_gnu_ld" = yes; then
8711 # The AIX port of GNU ld has always aspired to compatibility
8712 # with the native linker. However, as the warning in the GNU ld
8713 # block says, versions before 2.19.5* couldn't really create working
8714 # shared libraries, regardless of the interface used.
8715 case `$LD -v 2>&1` in
8716 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8717 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8718 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8720 lt_use_gnu_ld_interface=yes
8725 lt_use_gnu_ld_interface=yes
8730 if test "$lt_use_gnu_ld_interface" = yes; then
8731 # If archive_cmds runs LD, not CC, wlarc should be empty
8734 # Set some defaults for GNU ld with shared library support. These
8735 # are reset later if shared libraries are not supported. Putting them
8736 # here allows them to be overridden if necessary.
8737 runpath_var=LD_RUN_PATH
8738 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8739 export_dynamic_flag_spec='${wl}--export-dynamic'
8740 # ancient GNU ld didn't support --whole-archive et. al.
8741 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8742 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8744 whole_archive_flag_spec=
8746 supports_anon_versioning=no
8747 case `$LD -v 2>&1` in
8748 *GNU\ gold*) supports_anon_versioning=yes ;;
8749 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8750 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8751 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8752 *\ 2.11.*) ;; # other 2.11 versions
8753 *) supports_anon_versioning=yes ;;
8756 # See if GNU ld supports shared libraries.
8759 # On AIX/PPC, the GNU linker is very broken
8760 if test "$host_cpu" != ia64; then
8764 *** Warning: the GNU linker, at least up to release 2.19, is reported
8765 *** to be unable to reliably create shared libraries on AIX.
8766 *** Therefore, libtool is disabling shared libraries support. If you
8767 *** really care for shared libraries, you may want to install binutils
8768 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8769 *** You will then need to restart the configuration process.
8778 # see comment about AmigaOS4 .so support
8779 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8780 archive_expsym_cmds=''
8783 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)'
8784 hardcode_libdir_flag_spec
='-L$libdir'
8785 hardcode_minus_L
=yes
8791 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8792 allow_undefined_flag
=unsupported
8793 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8794 # support --undefined. This deserves some investigation. FIXME
8795 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8801 cygwin
* | mingw
* | pw32
* | cegcc
*)
8802 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8803 # as there is no search path for DLLs.
8804 hardcode_libdir_flag_spec
='-L$libdir'
8805 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8806 allow_undefined_flag
=unsupported
8807 always_export_symbols
=no
8808 enable_shared_with_static_runtimes
=yes
8809 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8811 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8812 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8813 # If the export-symbols file already is a .def file (1st line
8814 # is EXPORTS), use it as is; otherwise, prepend...
8815 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8816 cp $export_symbols $output_objdir/$soname.def;
8818 echo EXPORTS > $output_objdir/$soname.def;
8819 cat $export_symbols >> $output_objdir/$soname.def;
8821 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8828 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8829 link_all_deplibs
=yes
8834 hardcode_shlibpath_var
=no
8835 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8836 export_dynamic_flag_spec
='${wl}-E'
8837 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8838 # Instead, shared libraries are loaded at an image base (0x10000000 by
8839 # default) and relocated if they conflict, which is a slow very memory
8840 # consuming and fragmenting process. To avoid this, we pick a random,
8841 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8842 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8843 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8844 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'
8847 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8849 if test "$host_os" = linux-dietlibc
; then
8850 case $cc_basename in
8851 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8854 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8855 && test "$tmp_diet" = no
8857 tmp_addflag
=' $pic_flag'
8858 tmp_sharedflag
='-shared'
8859 case $cc_basename,$host_cpu in
8860 pgcc
*) # Portland Group C compiler
8861 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'
8862 tmp_addflag
=' $pic_flag'
8864 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8865 # Portland Group f77 and f90 compilers
8866 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'
8867 tmp_addflag
=' $pic_flag -Mnomain' ;;
8868 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8869 tmp_addflag
=' -i_dynamic' ;;
8870 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8871 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8872 ifc
* | ifort
*) # Intel Fortran compiler
8873 tmp_addflag
=' -nofor_main' ;;
8874 lf95
*) # Lahey Fortran 8.1
8875 whole_archive_flag_spec
=
8876 tmp_sharedflag
='--shared' ;;
8877 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8878 tmp_sharedflag
='-qmkshrobj'
8880 nvcc
*) # Cuda Compiler Driver 2.2
8881 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'
8882 compiler_needs_object
=yes
8885 case `$CC -V 2>&1 | sed 5q` in
8886 *Sun\ C
*) # Sun C 5.9
8887 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'
8888 compiler_needs_object
=yes
8889 tmp_sharedflag
='-G' ;;
8890 *Sun\ F
*) # Sun Fortran 8.3
8891 tmp_sharedflag
='-G' ;;
8893 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8895 if test "x$supports_anon_versioning" = xyes
; then
8896 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8897 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8898 echo "local: *; };" >> $output_objdir/$libname.ver~
8899 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8902 case $cc_basename in
8903 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8904 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8905 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8906 hardcode_libdir_flag_spec
=
8907 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8908 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8909 if test "x$supports_anon_versioning" = xyes
; then
8910 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8911 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8912 echo "local: *; };" >> $output_objdir/$libname.ver~
8913 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8923 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8924 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8927 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8928 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8933 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8937 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8938 *** create shared libraries on Solaris systems. Therefore, libtool
8939 *** is disabling shared libraries support. We urge you to upgrade GNU
8940 *** binutils to release 2.9.1 or newer. Another option is to modify
8941 *** your PATH or compiler configuration so that the native linker is
8942 *** used, and then restart.
8945 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8946 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8947 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8953 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8954 case `$LD -v 2>&1` in
8955 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8959 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8960 *** reliably create shared libraries on SCO systems. Therefore, libtool
8961 *** is disabling shared libraries support. We urge you to upgrade GNU
8962 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8963 *** your PATH or compiler configuration so that the native linker is
8964 *** used, and then restart.
8969 # For security reasons, it is highly recommended that you always
8970 # use absolute paths for naming shared libraries, and exclude the
8971 # DT_RUNPATH tag from executables and libraries. But doing so
8972 # requires that you compile everything twice, which is a pain.
8973 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8974 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8975 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8976 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8985 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8988 hardcode_shlibpath_var
=no
8992 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8993 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8994 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9001 if test "$ld_shlibs" = no
; then
9003 hardcode_libdir_flag_spec
=
9004 export_dynamic_flag_spec
=
9005 whole_archive_flag_spec
=
9008 # PORTME fill in a description of your system's linker (not GNU ld)
9011 allow_undefined_flag
=unsupported
9012 always_export_symbols
=yes
9013 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'
9014 # Note: this linker hardcodes the directories in LIBPATH if there
9015 # are no directories specified by -L.
9016 hardcode_minus_L
=yes
9017 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9018 # Neither direct hardcoding nor static linking is supported with a
9020 hardcode_direct
=unsupported
9025 if test "$host_cpu" = ia64
; then
9026 # On IA64, the linker does run time linking by default, so we don't
9027 # have to do anything special.
9028 aix_use_runtimelinking
=no
9029 exp_sym_flag
='-Bexport'
9032 # If we're using GNU nm, then we don't want the "-C" option.
9033 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9034 # Also, AIX nm treats weak defined symbols like other global
9035 # defined symbols, whereas GNU nm marks them as "W".
9036 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9037 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'
9039 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'
9041 aix_use_runtimelinking
=no
9043 # Test if we are trying to use run time linking or normal
9044 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9045 # need to do runtime linking.
9046 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9047 for ld_flag
in $LDFLAGS; do
9048 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9049 aix_use_runtimelinking
=yes
9056 exp_sym_flag
='-bexport'
9057 no_entry_flag
='-bnoentry'
9060 # When large executables or shared objects are built, AIX ld can
9061 # have problems creating the table of contents. If linking a library
9062 # or program results in "error TOC overflow" add -mminimal-toc to
9063 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9064 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9068 hardcode_direct_absolute
=yes
9069 hardcode_libdir_separator
=':'
9070 link_all_deplibs
=yes
9071 file_list_spec
='${wl}-f,'
9073 if test "$GCC" = yes; then
9074 case $host_os in aix4.
[012]|aix4.
[012].
*)
9075 # We only want to do this on AIX 4.2 and lower, the check
9076 # below for broken collect2 doesn't work under 4.3+
9077 collect2name
=`${CC} -print-prog-name=collect2`
9078 if test -f "$collect2name" &&
9079 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9081 # We have reworked collect2
9084 # We have old collect2
9085 hardcode_direct
=unsupported
9086 # It fails to find uninstalled libraries when the uninstalled
9087 # path is not listed in the libpath. Setting hardcode_minus_L
9088 # to unsupported forces relinking
9089 hardcode_minus_L
=yes
9090 hardcode_libdir_flag_spec
='-L$libdir'
9091 hardcode_libdir_separator
=
9095 shared_flag
='-shared'
9096 if test "$aix_use_runtimelinking" = yes; then
9097 shared_flag
="$shared_flag "'${wl}-G'
9101 if test "$host_cpu" = ia64
; then
9102 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9103 # chokes on -Wl,-G. The following line is correct:
9106 if test "$aix_use_runtimelinking" = yes; then
9107 shared_flag
='${wl}-G'
9109 shared_flag
='${wl}-bM:SRE'
9114 export_dynamic_flag_spec
='${wl}-bexpall'
9115 # It seems that -bexpall does not export symbols beginning with
9116 # underscore (_), so it is better to generate a list of symbols to export.
9117 always_export_symbols
=yes
9118 if test "$aix_use_runtimelinking" = yes; then
9119 # Warning - without using the other runtime loading flags (-brtl),
9120 # -berok will link without error, but may produce a broken library.
9121 allow_undefined_flag
='-berok'
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 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"
9157 if test "$host_cpu" = ia64
; then
9158 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9159 allow_undefined_flag
="-z nodefs"
9160 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"
9162 # Determine the default libpath from the value encoded in an
9164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9165 /* end confdefs.h. */
9175 if ac_fn_c_try_link
"$LINENO"; then :
9177 lt_aix_libpath_sed
='
9178 /Import File Strings/,/^$/ {
9184 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9185 # Check for a 64-bit object if we didn't find anything.
9186 if test -z "$aix_libpath"; then
9187 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9190 rm -f core conftest.err conftest.
$ac_objext \
9191 conftest
$ac_exeext conftest.
$ac_ext
9192 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9194 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9195 # Warning - without using the other run time loading flags,
9196 # -berok will link without error, but may produce a broken library.
9197 no_undefined_flag
=' ${wl}-bernotok'
9198 allow_undefined_flag
=' ${wl}-berok'
9199 if test "$with_gnu_ld" = yes; then
9200 # We only use this code for GNU lds that support --whole-archive.
9201 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9203 # Exported symbols can be pulled into shared objects from archives
9204 whole_archive_flag_spec
='$convenience'
9206 archive_cmds_need_lc
=yes
9207 # This is similar to how AIX traditionally builds its shared libraries.
9208 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'
9216 # see comment about AmigaOS4 .so support
9217 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9218 archive_expsym_cmds
=''
9221 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)'
9222 hardcode_libdir_flag_spec
='-L$libdir'
9223 hardcode_minus_L
=yes
9229 export_dynamic_flag_spec
=-rdynamic
9232 cygwin
* | mingw
* | pw32
* | cegcc
*)
9233 # When not using gcc, we currently assume that we are using
9234 # Microsoft Visual C++.
9235 # hardcode_libdir_flag_spec is actually meaningless, as there is
9236 # no search path for DLLs.
9237 hardcode_libdir_flag_spec
=' '
9238 allow_undefined_flag
=unsupported
9239 # Tell ltmain to make .lib files, not .a files.
9241 # Tell ltmain to make .dll files, not .so files.
9243 # FIXME: Setting linknames here is a bad hack.
9244 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9245 # The linker will automatically build a .lib file if we build a DLL.
9246 old_archive_from_new_cmds
='true'
9247 # FIXME: Should let the user specify the lib program.
9248 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9249 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9250 enable_shared_with_static_runtimes
=yes
9253 darwin
* | rhapsody
*)
9256 archive_cmds_need_lc
=no
9258 hardcode_automatic
=yes
9259 hardcode_shlibpath_var
=unsupported
9260 if test "$lt_cv_ld_force_load" = "yes"; then
9261 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\"`'
9263 whole_archive_flag_spec
=''
9265 link_all_deplibs
=yes
9266 allow_undefined_flag
="$_lt_dar_allow_undefined"
9267 case $cc_basename in
9268 ifort
*) _lt_dar_can_shared
=yes ;;
9269 *) _lt_dar_can_shared
=$GCC ;;
9271 if test "$_lt_dar_can_shared" = "yes"; then
9272 output_verbose_link_cmd
=func_echo_all
9273 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9274 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9275 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}"
9276 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}"
9285 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9286 hardcode_libdir_flag_spec
='-L$libdir'
9287 hardcode_shlibpath_var
=no
9290 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9291 # support. Future versions do this automatically, but an explicit c++rt0.o
9292 # does not break anything, and helps significantly (at the cost of a little
9295 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9296 hardcode_libdir_flag_spec
='-R$libdir'
9298 hardcode_shlibpath_var
=no
9301 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9303 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9305 hardcode_minus_L
=yes
9306 hardcode_shlibpath_var
=no
9309 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9310 freebsd
* | dragonfly
*)
9311 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9312 hardcode_libdir_flag_spec
='-R$libdir'
9314 hardcode_shlibpath_var
=no
9318 if test "$GCC" = yes; then
9319 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'
9321 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'
9323 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9324 hardcode_libdir_separator
=:
9327 # hardcode_minus_L: Not really in the search PATH,
9328 # but as the default location of the library.
9329 hardcode_minus_L
=yes
9330 export_dynamic_flag_spec
='${wl}-E'
9334 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9335 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9337 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9339 if test "$with_gnu_ld" = no
; then
9340 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9341 hardcode_libdir_flag_spec_ld
='+b $libdir'
9342 hardcode_libdir_separator
=:
9344 hardcode_direct_absolute
=yes
9345 export_dynamic_flag_spec
='${wl}-E'
9346 # hardcode_minus_L: Not really in the search PATH,
9347 # but as the default location of the library.
9348 hardcode_minus_L
=yes
9353 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9356 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9359 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9362 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9368 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9371 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9375 # Older versions of the 11.00 compiler do not understand -b yet
9376 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9378 $as_echo_n "checking if $CC understands -b... " >&6; }
9379 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9380 $as_echo_n "(cached) " >&6
9382 lt_cv_prog_compiler__b
=no
9383 save_LDFLAGS
="$LDFLAGS"
9384 LDFLAGS
="$LDFLAGS -b"
9385 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9386 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9387 # The linker can only warn and ignore the option if not recognized
9388 # So say no if there are warnings
9389 if test -s conftest.err
; then
9390 # Append any errors to the config.log.
9391 cat conftest.err
1>&5
9392 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9393 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9394 if diff conftest.exp conftest.er2
>/dev
/null
; then
9395 lt_cv_prog_compiler__b
=yes
9398 lt_cv_prog_compiler__b
=yes
9402 LDFLAGS
="$save_LDFLAGS"
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9406 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9408 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9409 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9411 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9417 if test "$with_gnu_ld" = no
; then
9418 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9419 hardcode_libdir_separator
=:
9424 hardcode_shlibpath_var
=no
9428 hardcode_direct_absolute
=yes
9429 export_dynamic_flag_spec
='${wl}-E'
9431 # hardcode_minus_L: Not really in the search PATH,
9432 # but as the default location of the library.
9433 hardcode_minus_L
=yes
9439 irix5
* | irix6
* | nonstopux
*)
9440 if test "$GCC" = yes; then
9441 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'
9442 # Try to use the -exported_symbol ld option, if it does not
9443 # work, assume that -exports_file does not work either and
9444 # implicitly export all symbols.
9445 save_LDFLAGS
="$LDFLAGS"
9446 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9448 /* end confdefs.h. */
9451 if ac_fn_c_try_link
"$LINENO"; then :
9452 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'
9455 rm -f core conftest.err conftest.
$ac_objext \
9456 conftest
$ac_exeext conftest.
$ac_ext
9457 LDFLAGS
="$save_LDFLAGS"
9459 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'
9460 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'
9462 archive_cmds_need_lc
='no'
9463 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9464 hardcode_libdir_separator
=:
9466 link_all_deplibs
=yes
9470 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9471 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9473 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9475 hardcode_libdir_flag_spec
='-R$libdir'
9477 hardcode_shlibpath_var
=no
9481 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9483 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9484 hardcode_libdir_separator
=:
9485 hardcode_shlibpath_var
=no
9492 if test -f /usr
/libexec
/ld.so
; then
9494 hardcode_shlibpath_var
=no
9495 hardcode_direct_absolute
=yes
9496 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9497 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9498 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9499 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9500 export_dynamic_flag_spec
='${wl}-E'
9503 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9504 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9505 hardcode_libdir_flag_spec
='-R$libdir'
9508 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9509 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9519 hardcode_libdir_flag_spec
='-L$libdir'
9520 hardcode_minus_L
=yes
9521 allow_undefined_flag
=unsupported
9522 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'
9523 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9527 if test "$GCC" = yes; then
9528 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9529 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'
9531 allow_undefined_flag
=' -expect_unresolved \*'
9532 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'
9534 archive_cmds_need_lc
='no'
9535 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9536 hardcode_libdir_separator
=:
9539 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9540 if test "$GCC" = yes; then
9541 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9542 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'
9543 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9545 allow_undefined_flag
=' -expect_unresolved \*'
9546 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'
9547 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~
9548 $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'
9550 # Both c and cxx compiler support -rpath directly
9551 hardcode_libdir_flag_spec
='-rpath $libdir'
9553 archive_cmds_need_lc
='no'
9554 hardcode_libdir_separator
=:
9558 no_undefined_flag
=' -z defs'
9559 if test "$GCC" = yes; then
9561 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9562 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9563 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9565 case `$CC -V 2>&1` in
9568 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9569 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9570 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9574 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9575 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9576 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9580 hardcode_libdir_flag_spec
='-R$libdir'
9581 hardcode_shlibpath_var
=no
9583 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9585 # The compiler driver will combine and reorder linker options,
9586 # but understands `-z linker_flag'. GCC discards it without `$wl',
9587 # but is careful enough not to reorder.
9588 # Supported since Solaris 2.6 (maybe 2.5.1?)
9589 if test "$GCC" = yes; then
9590 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9592 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9596 link_all_deplibs
=yes
9600 if test "x$host_vendor" = xsequent
; then
9601 # Use $CC to link under sequent, because it throws in some extra .o
9602 # files that make .init and .fini sections work.
9603 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9605 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9607 hardcode_libdir_flag_spec
='-L$libdir'
9609 hardcode_minus_L
=yes
9610 hardcode_shlibpath_var
=no
9614 case $host_vendor in
9616 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9617 hardcode_direct
=yes # is this really true???
9620 ## LD is ld it makes a PLAMLIB
9621 ## CC just makes a GrossModule.
9622 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9623 reload_cmds
='$CC -r -o $output$reload_objs'
9627 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9628 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9631 runpath_var
='LD_RUN_PATH'
9632 hardcode_shlibpath_var
=no
9636 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9637 hardcode_shlibpath_var
=no
9638 export_dynamic_flag_spec
='-Bexport'
9642 if test -d /usr
/nec
; then
9643 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9644 hardcode_shlibpath_var
=no
9645 runpath_var
=LD_RUN_PATH
9646 hardcode_runpath_var
=yes
9651 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9652 no_undefined_flag
='${wl}-z,text'
9653 archive_cmds_need_lc
=no
9654 hardcode_shlibpath_var
=no
9655 runpath_var
='LD_RUN_PATH'
9657 if test "$GCC" = yes; then
9658 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9659 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9661 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9662 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9666 sysv5
* | sco3.2v5
* | sco5v6
*)
9667 # Note: We can NOT use -z defs as we might desire, because we do not
9668 # link with -lc, and that would cause any symbols used from libc to
9669 # always be unresolved, which means just about no library would
9670 # ever link correctly. If we're not using GNU ld we use -z text
9671 # though, which does catch some bad symbols but isn't as heavy-handed
9673 no_undefined_flag
='${wl}-z,text'
9674 allow_undefined_flag
='${wl}-z,nodefs'
9675 archive_cmds_need_lc
=no
9676 hardcode_shlibpath_var
=no
9677 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9678 hardcode_libdir_separator
=':'
9679 link_all_deplibs
=yes
9680 export_dynamic_flag_spec
='${wl}-Bexport'
9681 runpath_var
='LD_RUN_PATH'
9683 if test "$GCC" = yes; then
9684 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9685 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9687 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9688 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9693 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9694 hardcode_libdir_flag_spec
='-L$libdir'
9695 hardcode_shlibpath_var
=no
9703 if test x
$host_vendor = xsni
; then
9705 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9706 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9713 $as_echo "$ld_shlibs" >&6; }
9714 test "$ld_shlibs" = no
&& can_build_shared
=no
9716 with_gnu_ld
=$with_gnu_ld
9733 # Do we need to explicitly link libc?
9735 case "x$archive_cmds_need_lc" in
9737 # Assume -lc should be added
9738 archive_cmds_need_lc
=yes
9740 if test "$enable_shared" = yes && test "$GCC" = yes; then
9741 case $archive_cmds in
9743 # FIXME: we may have to deal with multi-command sequences.
9746 # Test whether the compiler implicitly links with -lc since on some
9747 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9748 # to ld, don't add -lc before -lgcc.
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9750 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9751 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9752 $as_echo_n "(cached) " >&6
9755 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9757 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9758 (eval $ac_compile) 2>&5
9760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9761 test $ac_status = 0; } 2>conftest.err
; then
9764 libobjs
=conftest.
$ac_objext
9766 wl
=$lt_prog_compiler_wl
9767 pic_flag
=$lt_prog_compiler_pic
9773 lt_save_allow_undefined_flag
=$allow_undefined_flag
9774 allow_undefined_flag
=
9775 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9776 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9779 test $ac_status = 0; }
9781 lt_cv_archive_cmds_need_lc
=no
9783 lt_cv_archive_cmds_need_lc
=yes
9785 allow_undefined_flag
=$lt_save_allow_undefined_flag
9787 cat conftest.err
1>&5
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9793 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9794 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9958 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9960 if test "$GCC" = yes; then
9962 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9963 *) lt_awk_arg
="/^libraries:/" ;;
9966 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9967 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9969 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9970 case $lt_search_path_spec in
9972 # if the path contains ";" then we assume it to be the separator
9973 # otherwise default to the standard path separator (i.e. ":") - it is
9974 # assumed that no part of a normal pathname contains ";" but that should
9975 # okay in the real world where ";" in dirpaths is itself problematic.
9976 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9979 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9982 # Ok, now we have the path, separated by spaces, we can step through it
9983 # and add multilib dir if necessary.
9984 lt_tmp_lt_search_path_spec
=
9985 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9986 for lt_sys_path
in $lt_search_path_spec; do
9987 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9988 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9990 test -d "$lt_sys_path" && \
9991 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9994 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9995 BEGIN {RS=" "; FS="/|\n";} {
9998 for (lt_i = NF; lt_i > 0; lt_i--) {
9999 if ($lt_i != "" && $lt_i != ".") {
10000 if ($lt_i == "..") {
10003 if (lt_count == 0) {
10004 lt_foo="/" $lt_i lt_foo;
10011 if (lt_foo != "") { lt_freq[lt_foo]++; }
10012 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10014 # AWK program above erroneously prepends '/' to C:/dos/paths
10017 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10018 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10020 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10022 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10024 library_names_spec
=
10025 libname_spec
='lib$name'
10029 postuninstall_cmds
=
10033 shlibpath_overrides_runpath
=unknown
10035 dynamic_linker
="$host_os ld.so"
10036 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10037 need_lib_prefix
=unknown
10038 hardcode_into_libs
=no
10040 # when you set need_version to no, make sure it does not cause -set_version
10041 # flags to be left without arguments
10042 need_version
=unknown
10047 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10048 shlibpath_var
=LIBPATH
10050 # AIX 3 has no versioning support, so we append a major version to the name.
10051 soname_spec
='${libname}${release}${shared_ext}$major'
10058 hardcode_into_libs
=yes
10059 if test "$host_cpu" = ia64
; then
10060 # AIX 5 supports IA64
10061 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10062 shlibpath_var
=LD_LIBRARY_PATH
10064 # With GCC up to 2.95.x, collect2 would create an import file
10065 # for dependence libraries. The import file would start with
10066 # the line `#! .'. This would cause the generated library to
10067 # depend on `.', always an invalid library. This was fixed in
10068 # development snapshots of GCC prior to 3.0.
10070 aix4 | aix4.
[01] | aix4.
[01].
*)
10071 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10073 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10076 can_build_shared
=no
10080 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10081 # soname into executable. Probably we can add versioning support to
10082 # collect2, so additional links can be useful in future.
10083 if test "$aix_use_runtimelinking" = yes; then
10084 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10085 # instead of lib<name>.a to let people know that these are not
10086 # typical AIX shared libraries.
10087 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10089 # We preserve .a as extension for shared libraries through AIX4.2
10090 # and later when we are not doing run time linking.
10091 library_names_spec
='${libname}${release}.a $libname.a'
10092 soname_spec
='${libname}${release}${shared_ext}$major'
10094 shlibpath_var
=LIBPATH
10101 # Since July 2007 AmigaOS4 officially supports .so libraries.
10102 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10103 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10106 library_names_spec
='$libname.ixlibrary $libname.a'
10107 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10108 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'
10114 library_names_spec
='${libname}${shared_ext}'
10115 dynamic_linker
="$host_os ld.so"
10116 shlibpath_var
=LIBRARY_PATH
10122 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10123 soname_spec
='${libname}${release}${shared_ext}$major'
10124 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10125 shlibpath_var
=LD_LIBRARY_PATH
10126 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10127 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10128 # the default ld.so.conf also contains /usr/contrib/lib and
10129 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10130 # libtool to hard-code these into programs
10133 cygwin
* | mingw
* | pw32
* | cegcc
*)
10134 version_type
=windows
10139 case $GCC,$host_os in
10140 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10141 library_names_spec
='$libname.dll.a'
10142 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10143 postinstall_cmds
='base_file=`basename \${file}`~
10144 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10145 dldir=$destdir/`dirname \$dlpath`~
10146 test -d \$dldir || mkdir -p \$dldir~
10147 $install_prog $dir/$dlname \$dldir/$dlname~
10148 chmod a+x \$dldir/$dlname~
10149 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10150 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10152 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10153 dlpath=$dir/\$dldll~
10155 shlibpath_overrides_runpath
=yes
10159 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10160 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10162 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10165 # MinGW DLLs use traditional 'lib' prefix
10166 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10169 # pw32 DLLs use 'pw' prefix rather than 'lib'
10170 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10176 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10179 dynamic_linker
='Win32 ld.exe'
10180 # FIXME: first we should search . and the directory the executable is in
10184 darwin
* | rhapsody
*)
10185 dynamic_linker
="$host_os dyld"
10186 version_type
=darwin
10189 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10190 soname_spec
='${libname}${release}${major}$shared_ext'
10191 shlibpath_overrides_runpath
=yes
10192 shlibpath_var
=DYLD_LIBRARY_PATH
10193 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10195 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10196 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10203 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10204 soname_spec
='${libname}${release}${shared_ext}$major'
10205 shlibpath_var
=LD_LIBRARY_PATH
10208 freebsd
* | dragonfly
*)
10209 # DragonFly does not have aout. When/if they implement a new
10210 # versioning mechanism, adjust this.
10211 if test -x /usr
/bin
/objformat
; then
10212 objformat
=`/usr/bin/objformat`
10215 freebsd
[23].
*) objformat
=aout
;;
10216 *) objformat
=elf
;;
10219 version_type
=freebsd-
$objformat
10220 case $version_type in
10222 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10227 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10231 shlibpath_var
=LD_LIBRARY_PATH
10234 shlibpath_overrides_runpath
=yes
10236 freebsd3.
[01]* | freebsdelf3.
[01]*)
10237 shlibpath_overrides_runpath
=yes
10238 hardcode_into_libs
=yes
10240 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10241 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10242 shlibpath_overrides_runpath
=no
10243 hardcode_into_libs
=yes
10245 *) # from 4.6 on, and DragonFly
10246 shlibpath_overrides_runpath
=yes
10247 hardcode_into_libs
=yes
10256 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10257 soname_spec
='${libname}${release}${shared_ext}$major'
10258 shlibpath_var
=LD_LIBRARY_PATH
10259 hardcode_into_libs
=yes
10266 dynamic_linker
="$host_os runtime_loader"
10267 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10268 soname_spec
='${libname}${release}${shared_ext}$major'
10269 shlibpath_var
=LIBRARY_PATH
10270 shlibpath_overrides_runpath
=yes
10271 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10272 hardcode_into_libs
=yes
10275 hpux9
* | hpux10
* | hpux11
*)
10276 # Give a soname corresponding to the major version so that dld.sl refuses to
10277 # link against other versions.
10284 hardcode_into_libs
=yes
10285 dynamic_linker
="$host_os dld.so"
10286 shlibpath_var
=LD_LIBRARY_PATH
10287 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10288 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10289 soname_spec
='${libname}${release}${shared_ext}$major'
10290 if test "X$HPUX_IA64_MODE" = X32
; then
10291 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10293 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10295 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10299 hardcode_into_libs
=yes
10300 dynamic_linker
="$host_os dld.sl"
10301 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10302 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10303 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10304 soname_spec
='${libname}${release}${shared_ext}$major'
10305 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10306 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10310 dynamic_linker
="$host_os dld.sl"
10311 shlibpath_var
=SHLIB_PATH
10312 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10313 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10314 soname_spec
='${libname}${release}${shared_ext}$major'
10317 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10318 postinstall_cmds
='chmod 555 $lib'
10319 # or fails outright, so override atomically:
10320 install_override_mode
=555
10327 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10328 soname_spec
='${libname}${release}${shared_ext}$major'
10329 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10330 shlibpath_var
=LD_LIBRARY_PATH
10331 shlibpath_overrides_runpath
=no
10332 hardcode_into_libs
=yes
10335 irix5
* | irix6
* | nonstopux
*)
10337 nonstopux
*) version_type
=nonstopux
;;
10339 if test "$lt_cv_prog_gnu_ld" = yes; then
10347 soname_spec
='${libname}${release}${shared_ext}$major'
10348 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10350 irix5
* | nonstopux
*)
10351 libsuff
= shlibsuff
=
10354 case $LD in # libtool.m4 will add one of these switches to LD
10355 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10356 libsuff
= shlibsuff
= libmagic
=32-bit;;
10357 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10358 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10359 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10360 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10361 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10365 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10366 shlibpath_overrides_runpath
=no
10367 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10368 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10369 hardcode_into_libs
=yes
10372 # No shared lib support for Linux oldld, aout, or coff.
10373 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10377 # This must be Linux ELF.
10378 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10382 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10383 soname_spec
='${libname}${release}${shared_ext}$major'
10384 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10385 shlibpath_var
=LD_LIBRARY_PATH
10386 shlibpath_overrides_runpath
=no
10388 # Some binutils ld are patched to set DT_RUNPATH
10389 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10390 $as_echo_n "(cached) " >&6
10392 lt_cv_shlibpath_overrides_runpath
=no
10393 save_LDFLAGS
=$LDFLAGS
10394 save_libdir
=$libdir
10395 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10396 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10398 /* end confdefs.h. */
10408 if ac_fn_c_try_link
"$LINENO"; then :
10409 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10410 lt_cv_shlibpath_overrides_runpath
=yes
10413 rm -f core conftest.err conftest.
$ac_objext \
10414 conftest
$ac_exeext conftest.
$ac_ext
10415 LDFLAGS
=$save_LDFLAGS
10416 libdir
=$save_libdir
10420 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10422 # This implies no fast_install, which is unacceptable.
10423 # Some rework will be needed to allow for fast_install
10424 # before this can be enabled.
10425 hardcode_into_libs
=yes
10427 # Append ld.so.conf contents to the search path
10428 if test -f /etc
/ld.so.conf
; then
10429 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' ' '`
10430 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10433 # We used to test for /lib/ld.so.1 and disable shared libraries on
10434 # powerpc, because MkLinux only supported shared libraries with the
10435 # GNU dynamic linker. Since this was broken with cross compilers,
10436 # most powerpc-linux boxes support dynamic linking these days and
10437 # people can always --disable-shared, the test was removed, and we
10438 # assume the GNU/Linux dynamic linker is in use.
10439 dynamic_linker
='GNU/Linux ld.so'
10446 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10447 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10448 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10449 dynamic_linker
='NetBSD (a.out) ld.so'
10451 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10452 soname_spec
='${libname}${release}${shared_ext}$major'
10453 dynamic_linker
='NetBSD ld.elf_so'
10455 shlibpath_var
=LD_LIBRARY_PATH
10456 shlibpath_overrides_runpath
=yes
10457 hardcode_into_libs
=yes
10462 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10463 shlibpath_var
=LD_LIBRARY_PATH
10464 shlibpath_overrides_runpath
=yes
10471 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10472 soname_spec
='${libname}${release}${shared_ext}$major'
10473 shlibpath_var
=LD_LIBRARY_PATH
10474 shlibpath_overrides_runpath
=no
10475 hardcode_into_libs
=yes
10476 dynamic_linker
='ldqnx.so'
10481 sys_lib_dlsearch_path_spec
="/usr/lib"
10483 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10485 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10486 *) need_version
=no
;;
10488 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10489 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10490 shlibpath_var
=LD_LIBRARY_PATH
10491 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10493 openbsd2.
[89] | openbsd2.
[89].
*)
10494 shlibpath_overrides_runpath
=no
10497 shlibpath_overrides_runpath
=yes
10501 shlibpath_overrides_runpath
=yes
10506 libname_spec
='$name'
10509 library_names_spec
='$libname${shared_ext} $libname.a'
10510 dynamic_linker
='OS/2 ld.exe'
10511 shlibpath_var
=LIBPATH
10514 osf3
* | osf4
* | osf5
*)
10518 soname_spec
='${libname}${release}${shared_ext}$major'
10519 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10520 shlibpath_var
=LD_LIBRARY_PATH
10521 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10522 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10533 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10534 soname_spec
='${libname}${release}${shared_ext}$major'
10535 shlibpath_var
=LD_LIBRARY_PATH
10536 shlibpath_overrides_runpath
=yes
10537 hardcode_into_libs
=yes
10538 # ldd complains unless libraries are executable
10539 postinstall_cmds
='chmod +x $lib'
10544 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10545 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10546 shlibpath_var
=LD_LIBRARY_PATH
10547 shlibpath_overrides_runpath
=yes
10548 if test "$with_gnu_ld" = yes; then
10556 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10557 soname_spec
='${libname}${release}${shared_ext}$major'
10558 shlibpath_var
=LD_LIBRARY_PATH
10559 case $host_vendor in
10561 shlibpath_overrides_runpath
=no
10563 runpath_var
=LD_RUN_PATH
10571 shlibpath_overrides_runpath
=no
10572 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10578 if test -d /usr
/nec
;then
10580 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10581 soname_spec
='$libname${shared_ext}.$major'
10582 shlibpath_var
=LD_LIBRARY_PATH
10586 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10587 version_type
=freebsd-elf
10590 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10591 soname_spec
='${libname}${release}${shared_ext}$major'
10592 shlibpath_var
=LD_LIBRARY_PATH
10593 shlibpath_overrides_runpath
=yes
10594 hardcode_into_libs
=yes
10595 if test "$with_gnu_ld" = yes; then
10596 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10598 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10601 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10605 sys_lib_dlsearch_path_spec
='/usr/lib'
10609 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10613 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10614 shlibpath_var
=LD_LIBRARY_PATH
10615 shlibpath_overrides_runpath
=no
10616 hardcode_into_libs
=yes
10621 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10622 soname_spec
='${libname}${release}${shared_ext}$major'
10623 shlibpath_var
=LD_LIBRARY_PATH
10630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10631 $as_echo "$dynamic_linker" >&6; }
10632 test "$dynamic_linker" = no
&& can_build_shared
=no
10634 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10635 if test "$GCC" = yes; then
10636 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10639 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10640 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10642 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10643 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10738 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10740 if test -n "$hardcode_libdir_flag_spec" ||
10741 test -n "$runpath_var" ||
10742 test "X$hardcode_automatic" = "Xyes" ; then
10744 # We can hardcode non-existent directories.
10745 if test "$hardcode_direct" != no
&&
10746 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10747 # have to relink, otherwise we might link with an installed library
10748 # when we should be linking with a yet-to-be-installed one
10749 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10750 test "$hardcode_minus_L" != no
; then
10751 # Linking always hardcodes the temporary library directory.
10752 hardcode_action
=relink
10754 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10755 hardcode_action
=immediate
10758 # We cannot hardcode anything, or else we can only hardcode existing
10760 hardcode_action
=unsupported
10762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10763 $as_echo "$hardcode_action" >&6; }
10765 if test "$hardcode_action" = relink ||
10766 test "$inherit_rpath" = yes; then
10767 # Fast installation is not supported
10768 enable_fast_install
=no
10769 elif test "$shlibpath_overrides_runpath" = yes ||
10770 test "$enable_shared" = no
; then
10771 # Fast installation is not necessary
10772 enable_fast_install
=needless
10780 if test "x$enable_dlopen" != xyes
; then
10781 enable_dlopen
=unknown
10782 enable_dlopen_self
=unknown
10783 enable_dlopen_self_static
=unknown
10790 lt_cv_dlopen
="load_add_on"
10792 lt_cv_dlopen_self
=yes
10795 mingw
* | pw32
* | cegcc
*)
10796 lt_cv_dlopen
="LoadLibrary"
10801 lt_cv_dlopen
="dlopen"
10806 # if libdl is installed we need to link against it
10807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10808 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10809 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10810 $as_echo_n "(cached) " >&6
10812 ac_check_lib_save_LIBS
=$LIBS
10814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10815 /* end confdefs.h. */
10817 /* Override any GCC internal prototype to avoid an error.
10818 Use char because int might match the return type of a GCC
10819 builtin and then its argument prototype would still apply. */
10832 if ac_fn_c_try_link
"$LINENO"; then :
10833 ac_cv_lib_dl_dlopen
=yes
10835 ac_cv_lib_dl_dlopen
=no
10837 rm -f core conftest.err conftest.
$ac_objext \
10838 conftest
$ac_exeext conftest.
$ac_ext
10839 LIBS
=$ac_check_lib_save_LIBS
10841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10842 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10843 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10844 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10847 lt_cv_dlopen
="dyld"
10849 lt_cv_dlopen_self
=yes
10856 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10857 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10858 lt_cv_dlopen
="shl_load"
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10861 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10862 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10863 $as_echo_n "(cached) " >&6
10865 ac_check_lib_save_LIBS
=$LIBS
10867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10868 /* end confdefs.h. */
10870 /* Override any GCC internal prototype to avoid an error.
10871 Use char because int might match the return type of a GCC
10872 builtin and then its argument prototype would still apply. */
10880 return shl_load ();
10885 if ac_fn_c_try_link
"$LINENO"; then :
10886 ac_cv_lib_dld_shl_load
=yes
10888 ac_cv_lib_dld_shl_load
=no
10890 rm -f core conftest.err conftest.
$ac_objext \
10891 conftest
$ac_exeext conftest.
$ac_ext
10892 LIBS
=$ac_check_lib_save_LIBS
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10895 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10896 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10897 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10899 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10900 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10901 lt_cv_dlopen
="dlopen"
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10904 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10905 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10906 $as_echo_n "(cached) " >&6
10908 ac_check_lib_save_LIBS
=$LIBS
10910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10911 /* end confdefs.h. */
10913 /* Override any GCC internal prototype to avoid an error.
10914 Use char because int might match the return type of a GCC
10915 builtin and then its argument prototype would still apply. */
10928 if ac_fn_c_try_link
"$LINENO"; then :
10929 ac_cv_lib_dl_dlopen
=yes
10931 ac_cv_lib_dl_dlopen
=no
10933 rm -f core conftest.err conftest.
$ac_objext \
10934 conftest
$ac_exeext conftest.
$ac_ext
10935 LIBS
=$ac_check_lib_save_LIBS
10937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10938 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10939 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10940 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10943 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10944 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10945 $as_echo_n "(cached) " >&6
10947 ac_check_lib_save_LIBS
=$LIBS
10948 LIBS
="-lsvld $LIBS"
10949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10950 /* end confdefs.h. */
10952 /* Override any GCC internal prototype to avoid an error.
10953 Use char because int might match the return type of a GCC
10954 builtin and then its argument prototype would still apply. */
10967 if ac_fn_c_try_link
"$LINENO"; then :
10968 ac_cv_lib_svld_dlopen
=yes
10970 ac_cv_lib_svld_dlopen
=no
10972 rm -f core conftest.err conftest.
$ac_objext \
10973 conftest
$ac_exeext conftest.
$ac_ext
10974 LIBS
=$ac_check_lib_save_LIBS
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10977 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10978 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10979 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10982 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10983 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10984 $as_echo_n "(cached) " >&6
10986 ac_check_lib_save_LIBS
=$LIBS
10988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10989 /* end confdefs.h. */
10991 /* Override any GCC internal prototype to avoid an error.
10992 Use char because int might match the return type of a GCC
10993 builtin and then its argument prototype would still apply. */
11001 return dld_link ();
11006 if ac_fn_c_try_link
"$LINENO"; then :
11007 ac_cv_lib_dld_dld_link
=yes
11009 ac_cv_lib_dld_dld_link
=no
11011 rm -f core conftest.err conftest.
$ac_objext \
11012 conftest
$ac_exeext conftest.
$ac_ext
11013 LIBS
=$ac_check_lib_save_LIBS
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11016 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11017 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11018 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11039 if test "x$lt_cv_dlopen" != xno
; then
11045 case $lt_cv_dlopen in
11047 save_CPPFLAGS
="$CPPFLAGS"
11048 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11050 save_LDFLAGS
="$LDFLAGS"
11051 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11054 LIBS
="$lt_cv_dlopen_libs $LIBS"
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11057 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11058 if test "${lt_cv_dlopen_self+set}" = set; then :
11059 $as_echo_n "(cached) " >&6
11061 if test "$cross_compiling" = yes; then :
11062 lt_cv_dlopen_self
=cross
11064 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11065 lt_status
=$lt_dlunknown
11066 cat > conftest.
$ac_ext <<_LT_EOF
11067 #line 11067 "configure"
11068 #include "confdefs.h"
11077 # define LT_DLGLOBAL RTLD_GLOBAL
11080 # define LT_DLGLOBAL DL_GLOBAL
11082 # define LT_DLGLOBAL 0
11086 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11087 find out it does not work in some platform. */
11088 #ifndef LT_DLLAZY_OR_NOW
11090 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11093 # define LT_DLLAZY_OR_NOW DL_LAZY
11096 # define LT_DLLAZY_OR_NOW RTLD_NOW
11099 # define LT_DLLAZY_OR_NOW DL_NOW
11101 # define LT_DLLAZY_OR_NOW 0
11108 /* When -fvisbility=hidden is used, assume the code has been annotated
11109 correspondingly for the symbols needed. */
11110 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11111 void fnord () __attribute__((visibility("default")));
11114 void fnord () { int i=42; }
11117 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11118 int status = $lt_dlunknown;
11122 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11125 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11126 else puts (dlerror ());
11128 /* dlclose (self); */
11136 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11137 (eval $ac_link) 2>&5
11139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11140 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11141 (.
/conftest
; exit; ) >&5 2>/dev
/null
11143 case x
$lt_status in
11144 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11145 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11146 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11149 # compilation failed
11150 lt_cv_dlopen_self
=no
11157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11158 $as_echo "$lt_cv_dlopen_self" >&6; }
11160 if test "x$lt_cv_dlopen_self" = xyes
; then
11161 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11163 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11164 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11165 $as_echo_n "(cached) " >&6
11167 if test "$cross_compiling" = yes; then :
11168 lt_cv_dlopen_self_static
=cross
11170 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11171 lt_status
=$lt_dlunknown
11172 cat > conftest.
$ac_ext <<_LT_EOF
11173 #line 11173 "configure"
11174 #include "confdefs.h"
11183 # define LT_DLGLOBAL RTLD_GLOBAL
11186 # define LT_DLGLOBAL DL_GLOBAL
11188 # define LT_DLGLOBAL 0
11192 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11193 find out it does not work in some platform. */
11194 #ifndef LT_DLLAZY_OR_NOW
11196 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11199 # define LT_DLLAZY_OR_NOW DL_LAZY
11202 # define LT_DLLAZY_OR_NOW RTLD_NOW
11205 # define LT_DLLAZY_OR_NOW DL_NOW
11207 # define LT_DLLAZY_OR_NOW 0
11214 /* When -fvisbility=hidden is used, assume the code has been annotated
11215 correspondingly for the symbols needed. */
11216 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11217 void fnord () __attribute__((visibility("default")));
11220 void fnord () { int i=42; }
11223 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11224 int status = $lt_dlunknown;
11228 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11231 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11232 else puts (dlerror ());
11234 /* dlclose (self); */
11242 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11243 (eval $ac_link) 2>&5
11245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11246 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11247 (.
/conftest
; exit; ) >&5 2>/dev
/null
11249 case x
$lt_status in
11250 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11251 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11252 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11255 # compilation failed
11256 lt_cv_dlopen_self_static
=no
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11264 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11267 CPPFLAGS
="$save_CPPFLAGS"
11268 LDFLAGS
="$save_LDFLAGS"
11273 case $lt_cv_dlopen_self in
11274 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11275 *) enable_dlopen_self
=unknown
;;
11278 case $lt_cv_dlopen_self_static in
11279 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11280 *) enable_dlopen_self_static
=unknown
;;
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11303 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11304 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11305 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11306 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11308 $as_echo "yes" >&6; }
11310 # FIXME - insert some real tests, host_os isn't really good enough
11313 if test -n "$STRIP" ; then
11314 striplib
="$STRIP -x"
11315 old_striplib
="$STRIP -S"
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11317 $as_echo "yes" >&6; }
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11320 $as_echo "no" >&6; }
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11325 $as_echo "no" >&6; }
11341 # Report which library types will actually be built
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11343 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11345 $as_echo "$can_build_shared" >&6; }
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11348 $as_echo_n "checking whether to build shared libraries... " >&6; }
11349 test "$can_build_shared" = "no" && enable_shared
=no
11351 # On AIX, shared libraries and static libraries use the same namespace, and
11352 # are all built from PIC.
11355 test "$enable_shared" = yes && enable_static
=no
11356 if test -n "$RANLIB"; then
11357 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11358 postinstall_cmds
='$RANLIB $lib'
11363 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11364 test "$enable_shared" = yes && enable_static
=no
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11369 $as_echo "$enable_shared" >&6; }
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11372 $as_echo_n "checking whether to build static libraries... " >&6; }
11373 # Make sure either enable_shared or enable_static is yes.
11374 test "$enable_shared" = yes || enable_static
=yes
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11376 $as_echo "$enable_static" >&6; }
11383 ac_cpp
='$CPP $CPPFLAGS'
11384 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11385 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11386 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11390 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11391 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11392 (test "X$CXX" != "Xg++"))) ; then
11394 ac_cpp
='$CXXCPP $CPPFLAGS'
11395 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11396 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11397 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11399 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11400 if test -z "$CXXCPP"; then
11401 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11402 $as_echo_n "(cached) " >&6
11404 # Double quotes because CXXCPP needs to be expanded
11405 for CXXCPP
in "$CXX -E" "/lib/cpp"
11407 ac_preproc_ok
=false
11408 for ac_cxx_preproc_warn_flag
in '' yes
11410 # Use a header file that comes with gcc, so configuring glibc
11411 # with a fresh cross-compiler works.
11412 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11413 # <limits.h> exists even on freestanding compilers.
11414 # On the NeXT, cc -E runs the code through the compiler's parser,
11415 # not just through cpp. "Syntax error" is here to catch this case.
11416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11417 /* end confdefs.h. */
11419 # include <limits.h>
11421 # include <assert.h>
11425 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11428 # Broken: fails on valid input.
11431 rm -f conftest.err conftest.
$ac_ext
11433 # OK, works on sane cases. Now check whether nonexistent headers
11434 # can be detected and how.
11435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11436 /* end confdefs.h. */
11437 #include <ac_nonexistent.h>
11439 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11440 # Broken: success on invalid input.
11443 # Passes both tests.
11447 rm -f conftest.err conftest.
$ac_ext
11450 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11451 rm -f conftest.err conftest.
$ac_ext
11452 if $ac_preproc_ok; then :
11457 ac_cv_prog_CXXCPP
=$CXXCPP
11460 CXXCPP
=$ac_cv_prog_CXXCPP
11462 ac_cv_prog_CXXCPP
=$CXXCPP
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11465 $as_echo "$CXXCPP" >&6; }
11466 ac_preproc_ok
=false
11467 for ac_cxx_preproc_warn_flag
in '' yes
11469 # Use a header file that comes with gcc, so configuring glibc
11470 # with a fresh cross-compiler works.
11471 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11472 # <limits.h> exists even on freestanding compilers.
11473 # On the NeXT, cc -E runs the code through the compiler's parser,
11474 # not just through cpp. "Syntax error" is here to catch this case.
11475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11476 /* end confdefs.h. */
11478 # include <limits.h>
11480 # include <assert.h>
11484 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11487 # Broken: fails on valid input.
11490 rm -f conftest.err conftest.
$ac_ext
11492 # OK, works on sane cases. Now check whether nonexistent headers
11493 # can be detected and how.
11494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11495 /* end confdefs.h. */
11496 #include <ac_nonexistent.h>
11498 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11499 # Broken: success on invalid input.
11502 # Passes both tests.
11506 rm -f conftest.err conftest.
$ac_ext
11509 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11510 rm -f conftest.err conftest.
$ac_ext
11511 if $ac_preproc_ok; then :
11514 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11515 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11516 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
11517 See \`config.log' for more details." "$LINENO" 5; }
11521 ac_cpp
='$CPP $CPPFLAGS'
11522 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11523 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11524 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11527 _lt_caught_CXX_error
=yes
11531 ac_cpp
='$CXXCPP $CPPFLAGS'
11532 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11533 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11534 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11536 archive_cmds_need_lc_CXX
=no
11537 allow_undefined_flag_CXX
=
11538 always_export_symbols_CXX
=no
11539 archive_expsym_cmds_CXX
=
11540 compiler_needs_object_CXX
=no
11541 export_dynamic_flag_spec_CXX
=
11542 hardcode_direct_CXX
=no
11543 hardcode_direct_absolute_CXX
=no
11544 hardcode_libdir_flag_spec_CXX
=
11545 hardcode_libdir_flag_spec_ld_CXX
=
11546 hardcode_libdir_separator_CXX
=
11547 hardcode_minus_L_CXX
=no
11548 hardcode_shlibpath_var_CXX
=unsupported
11549 hardcode_automatic_CXX
=no
11550 inherit_rpath_CXX
=no
11552 module_expsym_cmds_CXX
=
11553 link_all_deplibs_CXX
=unknown
11554 old_archive_cmds_CXX
=$old_archive_cmds
11555 reload_flag_CXX
=$reload_flag
11556 reload_cmds_CXX
=$reload_cmds
11557 no_undefined_flag_CXX
=
11558 whole_archive_flag_spec_CXX
=
11559 enable_shared_with_static_runtimes_CXX
=no
11561 # Source file extension for C++ test sources.
11564 # Object file extension for compiled C++ test sources.
11568 # No sense in running all these tests if we already determined that
11569 # the CXX compiler isn't working. Some variables (like enable_shared)
11570 # are currently assumed to apply to all compilers on this platform,
11571 # and will be corrupted by setting them based on a non-working compiler.
11572 if test "$_lt_caught_CXX_error" != yes; then
11573 # Code to be used in simple compile tests
11574 lt_simple_compile_test_code
="int some_variable = 0;"
11576 # Code to be used in simple link tests
11577 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11579 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11586 # If no C compiler was specified, use CC.
11589 # If no C compiler flags were specified, use CFLAGS.
11590 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11592 # Allow CC to be a program name with arguments.
11596 # save warnings/boilerplate of simple test code
11597 ac_outfile
=conftest.
$ac_objext
11598 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11599 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11600 _lt_compiler_boilerplate
=`cat conftest.err`
11603 ac_outfile
=conftest.
$ac_objext
11604 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11605 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11606 _lt_linker_boilerplate
=`cat conftest.err`
11610 # Allow CC to be a program name with arguments.
11615 lt_save_with_gnu_ld
=$with_gnu_ld
11616 lt_save_path_LD
=$lt_cv_path_LD
11617 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11618 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11620 $as_unset lt_cv_prog_gnu_ld
11622 if test -n "${lt_cv_path_LDCXX+set}"; then
11623 lt_cv_path_LD
=$lt_cv_path_LDCXX
11625 $as_unset lt_cv_path_LD
11627 test -z "${LDCXX+set}" || LD
=$LDCXX
11631 for cc_temp
in $compiler""; do
11633 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11634 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11639 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11642 if test -n "$compiler"; then
11643 # We don't want -fno-exception when compiling C++ code, so set the
11644 # no_builtin_flag separately
11645 if test "$GXX" = yes; then
11646 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11648 lt_prog_compiler_no_builtin_flag_CXX
=
11651 if test "$GXX" = yes; then
11652 # Set up default GNU C++ configuration
11656 # Check whether --with-gnu-ld was given.
11657 if test "${with_gnu_ld+set}" = set; then :
11658 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
11664 if test "$GCC" = yes; then
11665 # Check if gcc -print-prog-name=ld gives a path.
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11667 $as_echo_n "checking for ld used by $CC... " >&6; }
11670 # gcc leaves a trailing carriage return which upsets mingw
11671 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11673 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11676 # Accept absolute paths.
11678 re_direlt
='/[^/][^/]*/\.\./'
11679 # Canonicalize the pathname of ld
11680 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11681 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
11682 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11684 test -z "$LD" && LD
="$ac_prog"
11687 # If it fails, then pretend we aren't using GCC.
11691 # If it is relative, then search for the first ld in PATH.
11692 with_gnu_ld
=unknown
11695 elif test "$with_gnu_ld" = yes; then
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11697 $as_echo_n "checking for GNU ld... " >&6; }
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11700 $as_echo_n "checking for non-GNU ld... " >&6; }
11702 if test "${lt_cv_path_LD+set}" = set; then :
11703 $as_echo_n "(cached) " >&6
11705 if test -z "$LD"; then
11706 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11707 for ac_dir
in $PATH; do
11709 test -z "$ac_dir" && ac_dir
=.
11710 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
11711 lt_cv_path_LD
="$ac_dir/$ac_prog"
11712 # Check to see if the program is GNU ld. I'd rather use --version,
11713 # but apparently some variants of GNU ld only accept -v.
11714 # Break only if it was the GNU/non-GNU ld that we prefer.
11715 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11716 *GNU
* |
*'with BFD'*)
11717 test "$with_gnu_ld" != no
&& break
11720 test "$with_gnu_ld" != yes && break
11727 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11731 LD
="$lt_cv_path_LD"
11732 if test -n "$LD"; then
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11734 $as_echo "$LD" >&6; }
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11737 $as_echo "no" >&6; }
11739 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11741 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11742 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11743 $as_echo_n "(cached) " >&6
11745 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11746 case `$LD -v 2>&1 </dev/null` in
11747 *GNU
* |
*'with BFD'*)
11748 lt_cv_prog_gnu_ld
=yes
11751 lt_cv_prog_gnu_ld
=no
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11756 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11757 with_gnu_ld
=$lt_cv_prog_gnu_ld
11765 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11766 # archiving commands below assume that GNU ld is being used.
11767 if test "$with_gnu_ld" = yes; then
11768 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11769 archive_expsym_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11771 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11772 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11774 # If archive_cmds runs LD, not CC, wlarc should be empty
11775 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11776 # investigate it a little bit more. (MM)
11779 # ancient GNU ld didn't support --whole-archive et. al.
11780 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11781 $GREP 'no-whole-archive' > /dev
/null
; then
11782 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11784 whole_archive_flag_spec_CXX
=
11790 # A generic and very simple default shared library creation
11791 # command for GNU C++ for the case where it uses the native
11792 # linker, instead of GNU ld. If possible, this setting should
11793 # overridden to take advantage of the native linker features on
11794 # the platform it is being used on.
11795 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11798 # Commands to make compiler produce verbose output that lists
11799 # what "hidden" libraries, object files and flags are used when
11800 # linking a shared library.
11801 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
11809 # PORTME: fill in a description of your system's C++ link characteristics
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11811 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11815 # FIXME: insert proper C++ library support
11819 if test "$host_cpu" = ia64
; then
11820 # On IA64, the linker does run time linking by default, so we don't
11821 # have to do anything special.
11822 aix_use_runtimelinking
=no
11823 exp_sym_flag
='-Bexport'
11826 aix_use_runtimelinking
=no
11828 # Test if we are trying to use run time linking or normal
11829 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11830 # need to do runtime linking.
11831 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11832 for ld_flag
in $LDFLAGS; do
11835 aix_use_runtimelinking
=yes
11843 exp_sym_flag
='-bexport'
11844 no_entry_flag
='-bnoentry'
11847 # When large executables or shared objects are built, AIX ld can
11848 # have problems creating the table of contents. If linking a library
11849 # or program results in "error TOC overflow" add -mminimal-toc to
11850 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11851 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11853 archive_cmds_CXX
=''
11854 hardcode_direct_CXX
=yes
11855 hardcode_direct_absolute_CXX
=yes
11856 hardcode_libdir_separator_CXX
=':'
11857 link_all_deplibs_CXX
=yes
11858 file_list_spec_CXX
='${wl}-f,'
11860 if test "$GXX" = yes; then
11861 case $host_os in aix4.
[012]|aix4.
[012].
*)
11862 # We only want to do this on AIX 4.2 and lower, the check
11863 # below for broken collect2 doesn't work under 4.3+
11864 collect2name
=`${CC} -print-prog-name=collect2`
11865 if test -f "$collect2name" &&
11866 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11868 # We have reworked collect2
11871 # We have old collect2
11872 hardcode_direct_CXX
=unsupported
11873 # It fails to find uninstalled libraries when the uninstalled
11874 # path is not listed in the libpath. Setting hardcode_minus_L
11875 # to unsupported forces relinking
11876 hardcode_minus_L_CXX
=yes
11877 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11878 hardcode_libdir_separator_CXX
=
11881 shared_flag
='-shared'
11882 if test "$aix_use_runtimelinking" = yes; then
11883 shared_flag
="$shared_flag "'${wl}-G'
11887 if test "$host_cpu" = ia64
; then
11888 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11889 # chokes on -Wl,-G. The following line is correct:
11892 if test "$aix_use_runtimelinking" = yes; then
11893 shared_flag
='${wl}-G'
11895 shared_flag
='${wl}-bM:SRE'
11900 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
11901 # It seems that -bexpall does not export symbols beginning with
11902 # underscore (_), so it is better to generate a list of symbols to
11904 always_export_symbols_CXX
=yes
11905 if test "$aix_use_runtimelinking" = yes; then
11906 # Warning - without using the other runtime loading flags (-brtl),
11907 # -berok will link without error, but may produce a broken library.
11908 allow_undefined_flag_CXX
='-berok'
11909 # Determine the default libpath from the value encoded in an empty
11911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11912 /* end confdefs.h. */
11922 if ac_fn_cxx_try_link
"$LINENO"; then :
11924 lt_aix_libpath_sed
='
11925 /Import File Strings/,/^$/ {
11931 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11932 # Check for a 64-bit object if we didn't find anything.
11933 if test -z "$aix_libpath"; then
11934 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11937 rm -f core conftest.err conftest.
$ac_objext \
11938 conftest
$ac_exeext conftest.
$ac_ext
11939 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11941 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11943 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"
11945 if test "$host_cpu" = ia64
; then
11946 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11947 allow_undefined_flag_CXX
="-z nodefs"
11948 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"
11950 # Determine the default libpath from the value encoded in an
11951 # empty executable.
11952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11953 /* end confdefs.h. */
11963 if ac_fn_cxx_try_link
"$LINENO"; then :
11965 lt_aix_libpath_sed
='
11966 /Import File Strings/,/^$/ {
11972 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11973 # Check for a 64-bit object if we didn't find anything.
11974 if test -z "$aix_libpath"; then
11975 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11978 rm -f core conftest.err conftest.
$ac_objext \
11979 conftest
$ac_exeext conftest.
$ac_ext
11980 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11982 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11983 # Warning - without using the other run time loading flags,
11984 # -berok will link without error, but may produce a broken library.
11985 no_undefined_flag_CXX
=' ${wl}-bernotok'
11986 allow_undefined_flag_CXX
=' ${wl}-berok'
11987 if test "$with_gnu_ld" = yes; then
11988 # We only use this code for GNU lds that support --whole-archive.
11989 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11991 # Exported symbols can be pulled into shared objects from archives
11992 whole_archive_flag_spec_CXX
='$convenience'
11994 archive_cmds_need_lc_CXX
=yes
11995 # This is similar to how AIX traditionally builds its shared
11997 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'
12003 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12004 allow_undefined_flag_CXX
=unsupported
12005 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12006 # support --undefined. This deserves some investigation. FIXME
12007 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12014 case $cc_basename in
12016 # FIXME: insert proper C++ library support
12022 cygwin
* | mingw
* | pw32
* | cegcc
*)
12023 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12024 # as there is no search path for DLLs.
12025 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12026 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
12027 allow_undefined_flag_CXX
=unsupported
12028 always_export_symbols_CXX
=no
12029 enable_shared_with_static_runtimes_CXX
=yes
12031 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12032 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'
12033 # If the export-symbols file already is a .def file (1st line
12034 # is EXPORTS), use it as is; otherwise, prepend...
12035 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12036 cp $export_symbols $output_objdir/$soname.def;
12038 echo EXPORTS > $output_objdir/$soname.def;
12039 cat $export_symbols >> $output_objdir/$soname.def;
12041 $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'
12046 darwin
* | rhapsody
*)
12049 archive_cmds_need_lc_CXX
=no
12050 hardcode_direct_CXX
=no
12051 hardcode_automatic_CXX
=yes
12052 hardcode_shlibpath_var_CXX
=unsupported
12053 if test "$lt_cv_ld_force_load" = "yes"; then
12054 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\"`'
12056 whole_archive_flag_spec_CXX
=''
12058 link_all_deplibs_CXX
=yes
12059 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12060 case $cc_basename in
12061 ifort
*) _lt_dar_can_shared
=yes ;;
12062 *) _lt_dar_can_shared
=$GCC ;;
12064 if test "$_lt_dar_can_shared" = "yes"; then
12065 output_verbose_link_cmd
=func_echo_all
12066 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}"
12067 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12068 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}"
12069 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}"
12070 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12071 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}"
12072 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}"
12082 case $cc_basename in
12084 # FIXME: insert proper C++ library support
12088 # Green Hills C++ Compiler
12089 # FIXME: insert proper C++ library support
12093 # FIXME: insert proper C++ library support
12100 # C++ shared libraries reported to be fairly broken before
12106 archive_cmds_need_lc_CXX
=no
12109 freebsd
* | dragonfly
*)
12110 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12119 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12120 link_all_deplibs_CXX
=yes
12124 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12125 hardcode_libdir_separator_CXX
=:
12126 export_dynamic_flag_spec_CXX
='${wl}-E'
12127 hardcode_direct_CXX
=yes
12128 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12129 # but as the default
12130 # location of the library.
12132 case $cc_basename in
12134 # FIXME: insert proper C++ library support
12138 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'
12139 # Commands to make compiler produce verbose output that lists
12140 # what "hidden" libraries, object files and flags are used when
12141 # linking a shared library.
12143 # There doesn't appear to be a way to prevent this compiler from
12144 # explicitly linking system object files so we need to strip them
12145 # from the output so that they don't get included in the library
12147 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"'
12150 if test "$GXX" = yes; then
12151 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'
12153 # FIXME: insert proper C++ library support
12161 if test $with_gnu_ld = no
; then
12162 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12163 hardcode_libdir_separator_CXX
=:
12169 export_dynamic_flag_spec_CXX
='${wl}-E'
12175 hardcode_direct_CXX
=no
12176 hardcode_shlibpath_var_CXX
=no
12179 hardcode_direct_CXX
=yes
12180 hardcode_direct_absolute_CXX
=yes
12181 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12182 # but as the default
12183 # location of the library.
12187 case $cc_basename in
12189 # FIXME: insert proper C++ library support
12195 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12198 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12201 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12204 # Commands to make compiler produce verbose output that lists
12205 # what "hidden" libraries, object files and flags are used when
12206 # linking a shared library.
12208 # There doesn't appear to be a way to prevent this compiler from
12209 # explicitly linking system object files so we need to strip them
12210 # from the output so that they don't get included in the library
12212 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"'
12215 if test "$GXX" = yes; then
12216 if test $with_gnu_ld = no
; then
12219 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12222 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12225 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'
12230 # FIXME: insert proper C++ library support
12238 hardcode_direct_CXX
=no
12239 hardcode_shlibpath_var_CXX
=no
12240 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12241 export_dynamic_flag_spec_CXX
='${wl}-E'
12242 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12243 # Instead, shared libraries are loaded at an image base (0x10000000 by
12244 # default) and relocated if they conflict, which is a slow very memory
12245 # consuming and fragmenting process. To avoid this, we pick a random,
12246 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12247 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12248 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'
12249 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'
12252 case $cc_basename in
12255 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'
12257 # Archives containing C++ object files must be created using
12258 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12259 # necessary to make sure instantiated templates are included
12261 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12264 if test "$GXX" = yes; then
12265 if test "$with_gnu_ld" = no
; then
12266 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'
12268 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'
12271 link_all_deplibs_CXX
=yes
12274 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12275 hardcode_libdir_separator_CXX
=:
12276 inherit_rpath_CXX
=yes
12279 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12280 case $cc_basename in
12282 # Kuck and Associates, Inc. (KAI) C++ Compiler
12284 # KCC will only create a shared library if the output file
12285 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12286 # to its proper name (with version) after linking.
12287 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'
12288 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'
12289 # Commands to make compiler produce verbose output that lists
12290 # what "hidden" libraries, object files and flags are used when
12291 # linking a shared library.
12293 # There doesn't appear to be a way to prevent this compiler from
12294 # explicitly linking system object files so we need to strip them
12295 # from the output so that they don't get included in the library
12297 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"'
12299 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12300 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12302 # Archives containing C++ object files must be created using
12303 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12304 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12309 # version 8.0 and above of icpc choke on multiply defined symbols
12310 # if we add $predep_objects and $postdep_objects, however 7.1 and
12311 # earlier do not add the objects themselves.
12312 case `$CC -V 2>&1` in
12314 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12315 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'
12317 *) # Version 8.0 or newer
12320 ia64
*) tmp_idyn
=' -i_dynamic';;
12322 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12323 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'
12326 archive_cmds_need_lc_CXX
=no
12327 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12328 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12329 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12332 # Portland Group C++ compiler
12334 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
12335 prelink_cmds_CXX
='tpldir=Template.dir~
12337 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12338 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12339 old_archive_cmds_CXX
='tpldir=Template.dir~
12341 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12342 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12344 archive_cmds_CXX
='tpldir=Template.dir~
12346 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12347 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12348 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12350 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12351 $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'
12353 *) # Version 6 and above use weak symbols
12354 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12355 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'
12359 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12360 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12361 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'
12365 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12366 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'
12368 runpath_var
=LD_RUN_PATH
12369 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12370 hardcode_libdir_separator_CXX
=:
12372 # Commands to make compiler produce verbose output that lists
12373 # what "hidden" libraries, object files and flags are used when
12374 # linking a shared library.
12376 # There doesn't appear to be a way to prevent this compiler from
12377 # explicitly linking system object files so we need to strip them
12378 # from the output so that they don't get included in the library
12380 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'
12382 xl
* | mpixl
* | bgxl
*)
12383 # IBM XL 8.0 on PPC, with GNU ld
12384 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12385 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12386 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12387 if test "x$supports_anon_versioning" = xyes
; then
12388 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12389 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12390 echo "local: *; };" >> $output_objdir/$libname.ver~
12391 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12395 case `$CC -V 2>&1 | sed 5q` in
12398 no_undefined_flag_CXX
=' -zdefs'
12399 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12400 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'
12401 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12402 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'
12403 compiler_needs_object_CXX
=yes
12405 # Not sure whether something based on
12406 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12408 output_verbose_link_cmd
='func_echo_all'
12410 # Archives containing C++ object files must be created using
12411 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12412 # necessary to make sure instantiated templates are included
12414 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12422 # FIXME: insert proper C++ library support
12427 # FIXME: insert proper C++ library support
12432 case $cc_basename in
12434 # FIXME: insert proper C++ library support
12438 # FIXME: insert proper C++ library support
12445 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12446 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12448 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12449 hardcode_direct_CXX
=yes
12450 hardcode_shlibpath_var_CXX
=no
12452 # Workaround some broken pre-1.5 toolchains
12453 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12461 # C++ shared libraries are fairly broken
12466 if test -f /usr
/libexec
/ld.so
; then
12467 hardcode_direct_CXX
=yes
12468 hardcode_shlibpath_var_CXX
=no
12469 hardcode_direct_absolute_CXX
=yes
12470 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12471 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12472 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12473 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12474 export_dynamic_flag_spec_CXX
='${wl}-E'
12475 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12477 output_verbose_link_cmd
=func_echo_all
12483 osf3
* | osf4
* | osf5
*)
12484 case $cc_basename in
12486 # Kuck and Associates, Inc. (KAI) C++ Compiler
12488 # KCC will only create a shared library if the output file
12489 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12490 # to its proper name (with version) after linking.
12491 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'
12493 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12494 hardcode_libdir_separator_CXX
=:
12496 # Archives containing C++ object files must be created using
12497 # the KAI C++ compiler.
12499 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12500 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12504 # Rational C++ 2.4.1
12505 # FIXME: insert proper C++ library support
12511 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12512 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'
12513 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12516 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12517 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'
12518 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12519 echo "-hidden">> $lib.exp~
12520 $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~
12522 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12526 hardcode_libdir_separator_CXX
=:
12528 # Commands to make compiler produce verbose output that lists
12529 # what "hidden" libraries, object files and flags are used when
12530 # linking a shared library.
12532 # There doesn't appear to be a way to prevent this compiler from
12533 # explicitly linking system object files so we need to strip them
12534 # from the output so that they don't get included in the library
12536 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"'
12539 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12540 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12543 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'
12546 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'
12550 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12551 hardcode_libdir_separator_CXX
=:
12553 # Commands to make compiler produce verbose output that lists
12554 # what "hidden" libraries, object files and flags are used when
12555 # linking a shared library.
12556 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12559 # FIXME: insert proper C++ library support
12567 # FIXME: insert proper C++ library support
12572 case $cc_basename in
12575 # FIXME: insert proper C++ library support
12580 # FIXME: insert proper C++ library support
12584 # FIXME: insert proper C++ library support
12591 case $cc_basename in
12593 # Sun C++ 4.2, 5.x and Centerline C++
12594 archive_cmds_need_lc_CXX
=yes
12595 no_undefined_flag_CXX
=' -zdefs'
12596 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12597 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12598 $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'
12600 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12601 hardcode_shlibpath_var_CXX
=no
12603 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12605 # The compiler driver will combine and reorder linker options,
12606 # but understands `-z linker_flag'.
12607 # Supported since Solaris 2.6 (maybe 2.5.1?)
12608 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12611 link_all_deplibs_CXX
=yes
12613 output_verbose_link_cmd
='func_echo_all'
12615 # Archives containing C++ object files must be created using
12616 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12617 # necessary to make sure instantiated templates are included
12619 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12622 # Green Hills C++ Compiler
12623 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12625 # The C++ compiler must be used to create the archive.
12626 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12629 # GNU C++ compiler with Solaris linker
12630 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12631 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12632 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
12633 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12634 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12635 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12637 # Commands to make compiler produce verbose output that lists
12638 # what "hidden" libraries, object files and flags are used when
12639 # linking a shared library.
12640 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12642 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12644 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12645 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12646 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12648 # Commands to make compiler produce verbose output that lists
12649 # what "hidden" libraries, object files and flags are used when
12650 # linking a shared library.
12651 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12654 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12656 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12658 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12666 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12667 no_undefined_flag_CXX
='${wl}-z,text'
12668 archive_cmds_need_lc_CXX
=no
12669 hardcode_shlibpath_var_CXX
=no
12670 runpath_var
='LD_RUN_PATH'
12672 case $cc_basename in
12674 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12675 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12678 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12679 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12684 sysv5
* | sco3.2v5
* | sco5v6
*)
12685 # Note: We can NOT use -z defs as we might desire, because we do not
12686 # link with -lc, and that would cause any symbols used from libc to
12687 # always be unresolved, which means just about no library would
12688 # ever link correctly. If we're not using GNU ld we use -z text
12689 # though, which does catch some bad symbols but isn't as heavy-handed
12691 no_undefined_flag_CXX
='${wl}-z,text'
12692 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12693 archive_cmds_need_lc_CXX
=no
12694 hardcode_shlibpath_var_CXX
=no
12695 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
12696 hardcode_libdir_separator_CXX
=':'
12697 link_all_deplibs_CXX
=yes
12698 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12699 runpath_var
='LD_RUN_PATH'
12701 case $cc_basename in
12703 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12704 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12705 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
12706 '"$old_archive_cmds_CXX"
12707 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
12708 '"$reload_cmds_CXX"
12711 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12712 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12718 case $cc_basename in
12720 # NonStop-UX NCC 3.20
12721 # FIXME: insert proper C++ library support
12725 # FIXME: insert proper C++ library support
12732 # FIXME: insert proper C++ library support
12737 # FIXME: insert proper C++ library support
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12743 $as_echo "$ld_shlibs_CXX" >&6; }
12744 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12750 ## There is no encapsulation within the following macros, do not change
12751 ## the running order or otherwise move them around unless you know exactly
12752 ## what you are doing...
12753 # Dependencies to place before and after the object being linked:
12754 predep_objects_CXX
=
12755 postdep_objects_CXX
=
12758 compiler_lib_search_path_CXX
=
12760 cat > conftest.
$ac_ext <<_LT_EOF
12764 Foo (void) { a = 0; }
12770 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12771 (eval $ac_compile) 2>&5
12773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12774 test $ac_status = 0; }; then
12775 # Parse the compiler output and extract the necessary
12776 # objects, libraries and library flags.
12778 # Sentinel used to keep track of whether or not we are before
12779 # the conftest object file.
12780 pre_test_object_deps_done
=no
12782 for p
in `eval "$output_verbose_link_cmd"`; do
12786 # Some compilers place space between "-{L,R}" and the path.
12787 # Remove the space.
12788 if test $p = "-L" ||
12789 test $p = "-R"; then
12796 if test "$pre_test_object_deps_done" = no
; then
12799 # Internal compiler library paths should come after those
12800 # provided the user. The postdeps already come after the
12801 # user supplied libs so there is no need to process them.
12802 if test -z "$compiler_lib_search_path_CXX"; then
12803 compiler_lib_search_path_CXX
="${prev}${p}"
12805 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12808 # The "-l" case would never come before the object being
12809 # linked, so don't bother handling this case.
12812 if test -z "$postdeps_CXX"; then
12813 postdeps_CXX
="${prev}${p}"
12815 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12821 # This assumes that the test object file only shows up
12822 # once in the compiler output.
12823 if test "$p" = "conftest.$objext"; then
12824 pre_test_object_deps_done
=yes
12828 if test "$pre_test_object_deps_done" = no
; then
12829 if test -z "$predep_objects_CXX"; then
12830 predep_objects_CXX
="$p"
12832 predep_objects_CXX
="$predep_objects_CXX $p"
12835 if test -z "$postdep_objects_CXX"; then
12836 postdep_objects_CXX
="$p"
12838 postdep_objects_CXX
="$postdep_objects_CXX $p"
12843 *) ;; # Ignore the rest.
12851 echo "libtool.m4: error: problem compiling CXX test program"
12854 $RM -f confest.
$objext
12856 # PORTME: override above test on systems where it is broken
12859 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12860 # hack all around it, let's just trust "g++" to DTRT.
12861 predep_objects_CXX
=
12862 postdep_objects_CXX
=
12867 case `$CC -V 2>&1 | sed 5q` in
12871 # The more standards-conforming stlport4 library is
12872 # incompatible with the Cstd library. Avoid specifying
12873 # it if it's in CXXFLAGS. Ignore libCrun as
12874 # -library=stlport4 depends on it.
12875 case " $CXX $CXXFLAGS " in
12876 *" -library=stlport4 "*)
12877 solaris_use_stlport4
=yes
12881 if test "$solaris_use_stlport4" != yes; then
12882 postdeps_CXX
='-library=Cstd -library=Crun'
12889 case $cc_basename in
12891 # The more standards-conforming stlport4 library is
12892 # incompatible with the Cstd library. Avoid specifying
12893 # it if it's in CXXFLAGS. Ignore libCrun as
12894 # -library=stlport4 depends on it.
12895 case " $CXX $CXXFLAGS " in
12896 *" -library=stlport4 "*)
12897 solaris_use_stlport4
=yes
12901 # Adding this requires a known-good setup of shared libraries for
12902 # Sun compiler versions before 5.6, else PIC objects from an old
12903 # archive will be linked into the output, leading to subtle bugs.
12904 if test "$solaris_use_stlport4" != yes; then
12905 postdeps_CXX
='-library=Cstd -library=Crun'
12913 case " $postdeps_CXX " in
12914 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12916 compiler_lib_search_dirs_CXX
=
12917 if test -n "${compiler_lib_search_path_CXX}"; then
12918 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12951 lt_prog_compiler_wl_CXX
=
12952 lt_prog_compiler_pic_CXX
=
12953 lt_prog_compiler_static_CXX
=
12955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12956 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12958 # C++ specific cases for pic, static, wl, etc.
12959 if test "$GXX" = yes; then
12960 lt_prog_compiler_wl_CXX
='-Wl,'
12961 lt_prog_compiler_static_CXX
='-static'
12965 # All AIX code is PIC.
12966 if test "$host_cpu" = ia64
; then
12967 # AIX 5 now supports IA64 processor
12968 lt_prog_compiler_static_CXX
='-Bstatic'
12970 lt_prog_compiler_pic_CXX
='-fPIC'
12976 # see comment about AmigaOS4 .so support
12977 lt_prog_compiler_pic_CXX
='-fPIC'
12980 # FIXME: we need at least 68020 code to build shared libraries, but
12981 # adding the `-m68020' flag to GCC prevents building anything better,
12983 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12988 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12989 # PIC is the default for these OSes.
12991 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
12992 # This hack is so that the source file can tell whether it is being
12993 # built for inclusion in a dll (and should export symbols for example).
12994 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12995 # (--disable-auto-import) libraries
12996 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12998 darwin
* | rhapsody
*)
12999 # PIC is the default on this platform
13000 # Common symbols not allowed in MH_DYLIB files
13001 lt_prog_compiler_pic_CXX
='-fno-common'
13004 # DJGPP does not support shared libraries at all
13005 lt_prog_compiler_pic_CXX
=
13008 # PIC is the default for Haiku.
13009 # The "-static" flag exists, but is broken.
13010 lt_prog_compiler_static_CXX
=
13013 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13014 # Instead, we relocate shared libraries at runtime.
13017 if test -d /usr
/nec
; then
13018 lt_prog_compiler_pic_CXX
=-Kconform_pic
13022 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13023 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13024 # sets the default TLS model and affects inlining.
13029 lt_prog_compiler_pic_CXX
='-fPIC'
13034 # QNX uses GNU C++, but need to define -shared option too, otherwise
13035 # it will coredump.
13036 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13039 lt_prog_compiler_pic_CXX
='-fPIC'
13045 # All AIX code is PIC.
13046 if test "$host_cpu" = ia64
; then
13047 # AIX 5 now supports IA64 processor
13048 lt_prog_compiler_static_CXX
='-Bstatic'
13050 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13054 case $cc_basename in
13056 # Green Hills C++ Compiler
13057 # _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"
13062 case $cc_basename in
13064 lt_prog_compiler_pic_CXX
='-KPIC'
13067 # Green Hills C++ Compiler
13068 lt_prog_compiler_pic_CXX
='-pic'
13074 freebsd
* | dragonfly
*)
13075 # FreeBSD uses GNU C++
13077 hpux9
* | hpux10
* | hpux11
*)
13078 case $cc_basename in
13080 lt_prog_compiler_wl_CXX
='-Wl,'
13081 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13082 if test "$host_cpu" != ia64
; then
13083 lt_prog_compiler_pic_CXX
='+Z'
13087 lt_prog_compiler_wl_CXX
='-Wl,'
13088 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13094 lt_prog_compiler_pic_CXX
='+Z'
13103 # This is c89, which is MS Visual C++ (no shared libs)
13104 # Anyone wants to do a port?
13106 irix5
* | irix6
* | nonstopux
*)
13107 case $cc_basename in
13109 lt_prog_compiler_wl_CXX
='-Wl,'
13110 lt_prog_compiler_static_CXX
='-non_shared'
13111 # CC pic flag -KPIC is the default.
13117 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13118 case $cc_basename in
13121 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13122 lt_prog_compiler_pic_CXX
='-fPIC'
13125 # old Intel C++ for x86_64 which still supported -KPIC.
13126 lt_prog_compiler_wl_CXX
='-Wl,'
13127 lt_prog_compiler_pic_CXX
='-KPIC'
13128 lt_prog_compiler_static_CXX
='-static'
13131 # Intel C++, used to be incompatible with GCC.
13132 # ICC 10 doesn't accept -KPIC any more.
13133 lt_prog_compiler_wl_CXX
='-Wl,'
13134 lt_prog_compiler_pic_CXX
='-fPIC'
13135 lt_prog_compiler_static_CXX
='-static'
13138 # Portland Group C++ compiler
13139 lt_prog_compiler_wl_CXX
='-Wl,'
13140 lt_prog_compiler_pic_CXX
='-fpic'
13141 lt_prog_compiler_static_CXX
='-Bstatic'
13145 # Make sure the PIC flag is empty. It appears that all Alpha
13146 # Linux and Compaq Tru64 Unix objects are PIC.
13147 lt_prog_compiler_pic_CXX
=
13148 lt_prog_compiler_static_CXX
='-non_shared'
13150 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
13151 # IBM XL 8.0, 9.0 on PPC and BlueGene
13152 lt_prog_compiler_wl_CXX
='-Wl,'
13153 lt_prog_compiler_pic_CXX
='-qpic'
13154 lt_prog_compiler_static_CXX
='-qstaticlink'
13157 case `$CC -V 2>&1 | sed 5q` in
13160 lt_prog_compiler_pic_CXX
='-KPIC'
13161 lt_prog_compiler_static_CXX
='-Bstatic'
13162 lt_prog_compiler_wl_CXX
='-Qoption ld '
13173 case $cc_basename in
13175 lt_prog_compiler_pic_CXX
='-W c,exportall'
13184 # QNX uses GNU C++, but need to define -shared option too, otherwise
13185 # it will coredump.
13186 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13188 osf3
* | osf4
* | osf5
*)
13189 case $cc_basename in
13191 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13194 # Rational C++ 2.4.1
13195 lt_prog_compiler_pic_CXX
='-pic'
13198 # Digital/Compaq C++
13199 lt_prog_compiler_wl_CXX
='-Wl,'
13200 # Make sure the PIC flag is empty. It appears that all Alpha
13201 # Linux and Compaq Tru64 Unix objects are PIC.
13202 lt_prog_compiler_pic_CXX
=
13203 lt_prog_compiler_static_CXX
='-non_shared'
13212 case $cc_basename in
13214 # Sun C++ 4.2, 5.x and Centerline C++
13215 lt_prog_compiler_pic_CXX
='-KPIC'
13216 lt_prog_compiler_static_CXX
='-Bstatic'
13217 lt_prog_compiler_wl_CXX
='-Qoption ld '
13220 # Green Hills C++ Compiler
13221 lt_prog_compiler_pic_CXX
='-PIC'
13228 case $cc_basename in
13231 lt_prog_compiler_pic_CXX
='-pic'
13232 lt_prog_compiler_static_CXX
='-Bstatic'
13236 lt_prog_compiler_pic_CXX
='-pic'
13242 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13243 case $cc_basename in
13245 lt_prog_compiler_wl_CXX
='-Wl,'
13246 lt_prog_compiler_pic_CXX
='-KPIC'
13247 lt_prog_compiler_static_CXX
='-Bstatic'
13252 case $cc_basename in
13254 # NonStop-UX NCC 3.20
13255 lt_prog_compiler_pic_CXX
='-KPIC'
13264 lt_prog_compiler_can_build_shared_CXX
=no
13270 # For platforms which do not support PIC, -DPIC is meaningless:
13272 lt_prog_compiler_pic_CXX
=
13275 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13279 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13284 # Check to make sure the PIC flag actually works.
13286 if test -n "$lt_prog_compiler_pic_CXX"; then
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13288 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13289 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13290 $as_echo_n "(cached) " >&6
13292 lt_cv_prog_compiler_pic_works_CXX
=no
13293 ac_outfile
=conftest.
$ac_objext
13294 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13295 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13296 # Insert the option either (1) after the last *FLAGS variable, or
13297 # (2) before a word containing "conftest.", or (3) at the end.
13298 # Note that $ac_compile itself does not contain backslashes and begins
13299 # with a dollar sign (not a hyphen), so the echo should work correctly.
13300 # The option is referenced via a variable to avoid confusing sed.
13301 lt_compile
=`echo "$ac_compile" | $SED \
13302 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13303 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13304 -e 's:$: $lt_compiler_flag:'`
13305 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13306 (eval "$lt_compile" 2>conftest.err
)
13308 cat conftest.err
>&5
13309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13310 if (exit $ac_status) && test -s "$ac_outfile"; then
13311 # The compiler can only warn and ignore the option if not recognized
13312 # So say no if there are warnings other than the usual output.
13313 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13314 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13315 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13316 lt_cv_prog_compiler_pic_works_CXX
=yes
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13323 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13325 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13326 case $lt_prog_compiler_pic_CXX in
13328 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13331 lt_prog_compiler_pic_CXX
=
13332 lt_prog_compiler_can_build_shared_CXX
=no
13340 # Check to make sure the static flag actually works.
13342 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13344 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13345 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13346 $as_echo_n "(cached) " >&6
13348 lt_cv_prog_compiler_static_works_CXX
=no
13349 save_LDFLAGS
="$LDFLAGS"
13350 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13351 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13352 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13353 # The linker can only warn and ignore the option if not recognized
13354 # So say no if there are warnings
13355 if test -s conftest.err
; then
13356 # Append any errors to the config.log.
13357 cat conftest.err
1>&5
13358 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13359 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13360 if diff conftest.exp conftest.er2
>/dev
/null
; then
13361 lt_cv_prog_compiler_static_works_CXX
=yes
13364 lt_cv_prog_compiler_static_works_CXX
=yes
13368 LDFLAGS
="$save_LDFLAGS"
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13372 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13374 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13377 lt_prog_compiler_static_CXX
=
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13384 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13385 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13386 $as_echo_n "(cached) " >&6
13388 lt_cv_prog_compiler_c_o_CXX
=no
13389 $RM -r conftest
2>/dev
/null
13393 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13395 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13396 # Insert the option either (1) after the last *FLAGS variable, or
13397 # (2) before a word containing "conftest.", or (3) at the end.
13398 # Note that $ac_compile itself does not contain backslashes and begins
13399 # with a dollar sign (not a hyphen), so the echo should work correctly.
13400 lt_compile
=`echo "$ac_compile" | $SED \
13401 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13402 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13403 -e 's:$: $lt_compiler_flag:'`
13404 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13405 (eval "$lt_compile" 2>out
/conftest.err
)
13407 cat out
/conftest.err
>&5
13408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13409 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13411 # The compiler can only warn and ignore the option if not recognized
13412 # So say no if there are warnings
13413 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13414 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13415 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13416 lt_cv_prog_compiler_c_o_CXX
=yes
13421 # SGI C++ compiler will create directory out/ii_files/ for
13422 # template instantiation
13423 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13424 $RM out
/* && rmdir out
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13431 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13436 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13437 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13438 $as_echo_n "(cached) " >&6
13440 lt_cv_prog_compiler_c_o_CXX
=no
13441 $RM -r conftest
2>/dev
/null
13445 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13447 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13448 # Insert the option either (1) after the last *FLAGS variable, or
13449 # (2) before a word containing "conftest.", or (3) at the end.
13450 # Note that $ac_compile itself does not contain backslashes and begins
13451 # with a dollar sign (not a hyphen), so the echo should work correctly.
13452 lt_compile
=`echo "$ac_compile" | $SED \
13453 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13454 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13455 -e 's:$: $lt_compiler_flag:'`
13456 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13457 (eval "$lt_compile" 2>out
/conftest.err
)
13459 cat out
/conftest.err
>&5
13460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13461 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13463 # The compiler can only warn and ignore the option if not recognized
13464 # So say no if there are warnings
13465 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13466 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13467 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13468 lt_cv_prog_compiler_c_o_CXX
=yes
13473 # SGI C++ compiler will create directory out/ii_files/ for
13474 # template instantiation
13475 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13476 $RM out
/* && rmdir out
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13483 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13488 hard_links
="nottested"
13489 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13490 # do not overwrite the value of need_locks provided by the user
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13492 $as_echo_n "checking if we can lock with hard links... " >&6; }
13495 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13497 ln conftest.a conftest.b
2>&5 || hard_links
=no
13498 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13500 $as_echo "$hard_links" >&6; }
13501 if test "$hard_links" = no
; then
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13503 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13513 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13515 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13518 # If we're using GNU nm, then we don't want the "-C" option.
13519 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13520 # Also, AIX nm treats weak defined symbols like other global defined
13521 # symbols, whereas GNU nm marks them as "W".
13522 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13523 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'
13525 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'
13529 export_symbols_cmds_CXX
="$ltdll_cmds"
13531 cygwin
* | mingw
* | cegcc
*)
13532 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'
13535 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13538 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13541 $as_echo "$ld_shlibs_CXX" >&6; }
13542 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13544 with_gnu_ld_CXX
=$with_gnu_ld
13552 # Do we need to explicitly link libc?
13554 case "x$archive_cmds_need_lc_CXX" in
13556 # Assume -lc should be added
13557 archive_cmds_need_lc_CXX
=yes
13559 if test "$enable_shared" = yes && test "$GCC" = yes; then
13560 case $archive_cmds_CXX in
13562 # FIXME: we may have to deal with multi-command sequences.
13565 # Test whether the compiler implicitly links with -lc since on some
13566 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13567 # to ld, don't add -lc before -lgcc.
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13569 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13570 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13571 $as_echo_n "(cached) " >&6
13574 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13576 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13577 (eval $ac_compile) 2>&5
13579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13580 test $ac_status = 0; } 2>conftest.err
; then
13583 libobjs
=conftest.
$ac_objext
13585 wl
=$lt_prog_compiler_wl_CXX
13586 pic_flag
=$lt_prog_compiler_pic_CXX
13592 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13593 allow_undefined_flag_CXX
=
13594 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13595 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13598 test $ac_status = 0; }
13600 lt_cv_archive_cmds_need_lc_CXX
=no
13602 lt_cv_archive_cmds_need_lc_CXX
=yes
13604 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13606 cat conftest.err
1>&5
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
13612 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
13613 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13684 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13686 library_names_spec
=
13687 libname_spec
='lib$name'
13691 postuninstall_cmds
=
13695 shlibpath_overrides_runpath
=unknown
13697 dynamic_linker
="$host_os ld.so"
13698 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13699 need_lib_prefix
=unknown
13700 hardcode_into_libs
=no
13702 # when you set need_version to no, make sure it does not cause -set_version
13703 # flags to be left without arguments
13704 need_version
=unknown
13709 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13710 shlibpath_var
=LIBPATH
13712 # AIX 3 has no versioning support, so we append a major version to the name.
13713 soname_spec
='${libname}${release}${shared_ext}$major'
13720 hardcode_into_libs
=yes
13721 if test "$host_cpu" = ia64
; then
13722 # AIX 5 supports IA64
13723 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13724 shlibpath_var
=LD_LIBRARY_PATH
13726 # With GCC up to 2.95.x, collect2 would create an import file
13727 # for dependence libraries. The import file would start with
13728 # the line `#! .'. This would cause the generated library to
13729 # depend on `.', always an invalid library. This was fixed in
13730 # development snapshots of GCC prior to 3.0.
13732 aix4 | aix4.
[01] | aix4.
[01].
*)
13733 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13735 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
13738 can_build_shared
=no
13742 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13743 # soname into executable. Probably we can add versioning support to
13744 # collect2, so additional links can be useful in future.
13745 if test "$aix_use_runtimelinking" = yes; then
13746 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13747 # instead of lib<name>.a to let people know that these are not
13748 # typical AIX shared libraries.
13749 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13751 # We preserve .a as extension for shared libraries through AIX4.2
13752 # and later when we are not doing run time linking.
13753 library_names_spec
='${libname}${release}.a $libname.a'
13754 soname_spec
='${libname}${release}${shared_ext}$major'
13756 shlibpath_var
=LIBPATH
13763 # Since July 2007 AmigaOS4 officially supports .so libraries.
13764 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13765 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13768 library_names_spec
='$libname.ixlibrary $libname.a'
13769 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13770 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'
13776 library_names_spec
='${libname}${shared_ext}'
13777 dynamic_linker
="$host_os ld.so"
13778 shlibpath_var
=LIBRARY_PATH
13784 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13785 soname_spec
='${libname}${release}${shared_ext}$major'
13786 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13787 shlibpath_var
=LD_LIBRARY_PATH
13788 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13789 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13790 # the default ld.so.conf also contains /usr/contrib/lib and
13791 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13792 # libtool to hard-code these into programs
13795 cygwin
* | mingw
* | pw32
* | cegcc
*)
13796 version_type
=windows
13801 case $GCC,$host_os in
13802 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
13803 library_names_spec
='$libname.dll.a'
13804 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13805 postinstall_cmds
='base_file=`basename \${file}`~
13806 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13807 dldir=$destdir/`dirname \$dlpath`~
13808 test -d \$dldir || mkdir -p \$dldir~
13809 $install_prog $dir/$dlname \$dldir/$dlname~
13810 chmod a+x \$dldir/$dlname~
13811 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13812 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13814 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13815 dlpath=$dir/\$dldll~
13817 shlibpath_overrides_runpath
=yes
13821 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13822 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13826 # MinGW DLLs use traditional 'lib' prefix
13827 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13830 # pw32 DLLs use 'pw' prefix rather than 'lib'
13831 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13837 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13840 dynamic_linker
='Win32 ld.exe'
13841 # FIXME: first we should search . and the directory the executable is in
13845 darwin
* | rhapsody
*)
13846 dynamic_linker
="$host_os dyld"
13847 version_type
=darwin
13850 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13851 soname_spec
='${libname}${release}${major}$shared_ext'
13852 shlibpath_overrides_runpath
=yes
13853 shlibpath_var
=DYLD_LIBRARY_PATH
13854 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13856 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13863 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13864 soname_spec
='${libname}${release}${shared_ext}$major'
13865 shlibpath_var
=LD_LIBRARY_PATH
13868 freebsd
* | dragonfly
*)
13869 # DragonFly does not have aout. When/if they implement a new
13870 # versioning mechanism, adjust this.
13871 if test -x /usr
/bin
/objformat
; then
13872 objformat
=`/usr/bin/objformat`
13875 freebsd
[23].
*) objformat
=aout
;;
13876 *) objformat
=elf
;;
13879 version_type
=freebsd-
$objformat
13880 case $version_type in
13882 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13887 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13891 shlibpath_var
=LD_LIBRARY_PATH
13894 shlibpath_overrides_runpath
=yes
13896 freebsd3.
[01]* | freebsdelf3.
[01]*)
13897 shlibpath_overrides_runpath
=yes
13898 hardcode_into_libs
=yes
13900 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13901 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13902 shlibpath_overrides_runpath
=no
13903 hardcode_into_libs
=yes
13905 *) # from 4.6 on, and DragonFly
13906 shlibpath_overrides_runpath
=yes
13907 hardcode_into_libs
=yes
13916 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13917 soname_spec
='${libname}${release}${shared_ext}$major'
13918 shlibpath_var
=LD_LIBRARY_PATH
13919 hardcode_into_libs
=yes
13926 dynamic_linker
="$host_os runtime_loader"
13927 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13928 soname_spec
='${libname}${release}${shared_ext}$major'
13929 shlibpath_var
=LIBRARY_PATH
13930 shlibpath_overrides_runpath
=yes
13931 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
13932 hardcode_into_libs
=yes
13935 hpux9
* | hpux10
* | hpux11
*)
13936 # Give a soname corresponding to the major version so that dld.sl refuses to
13937 # link against other versions.
13944 hardcode_into_libs
=yes
13945 dynamic_linker
="$host_os dld.so"
13946 shlibpath_var
=LD_LIBRARY_PATH
13947 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13948 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13949 soname_spec
='${libname}${release}${shared_ext}$major'
13950 if test "X$HPUX_IA64_MODE" = X32
; then
13951 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13953 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13955 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13959 hardcode_into_libs
=yes
13960 dynamic_linker
="$host_os dld.sl"
13961 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13962 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13963 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13964 soname_spec
='${libname}${release}${shared_ext}$major'
13965 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13966 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13970 dynamic_linker
="$host_os dld.sl"
13971 shlibpath_var
=SHLIB_PATH
13972 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13973 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13974 soname_spec
='${libname}${release}${shared_ext}$major'
13977 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13978 postinstall_cmds
='chmod 555 $lib'
13979 # or fails outright, so override atomically:
13980 install_override_mode
=555
13987 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13988 soname_spec
='${libname}${release}${shared_ext}$major'
13989 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13990 shlibpath_var
=LD_LIBRARY_PATH
13991 shlibpath_overrides_runpath
=no
13992 hardcode_into_libs
=yes
13995 irix5
* | irix6
* | nonstopux
*)
13997 nonstopux
*) version_type
=nonstopux
;;
13999 if test "$lt_cv_prog_gnu_ld" = yes; then
14007 soname_spec
='${libname}${release}${shared_ext}$major'
14008 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14010 irix5
* | nonstopux
*)
14011 libsuff
= shlibsuff
=
14014 case $LD in # libtool.m4 will add one of these switches to LD
14015 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14016 libsuff
= shlibsuff
= libmagic
=32-bit;;
14017 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14018 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14019 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14020 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14021 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14025 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14026 shlibpath_overrides_runpath
=no
14027 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14028 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14029 hardcode_into_libs
=yes
14032 # No shared lib support for Linux oldld, aout, or coff.
14033 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14037 # This must be Linux ELF.
14038 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14042 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14043 soname_spec
='${libname}${release}${shared_ext}$major'
14044 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14045 shlibpath_var
=LD_LIBRARY_PATH
14046 shlibpath_overrides_runpath
=no
14048 # Some binutils ld are patched to set DT_RUNPATH
14049 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14050 $as_echo_n "(cached) " >&6
14052 lt_cv_shlibpath_overrides_runpath
=no
14053 save_LDFLAGS
=$LDFLAGS
14054 save_libdir
=$libdir
14055 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14056 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14058 /* end confdefs.h. */
14068 if ac_fn_cxx_try_link
"$LINENO"; then :
14069 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14070 lt_cv_shlibpath_overrides_runpath
=yes
14073 rm -f core conftest.err conftest.
$ac_objext \
14074 conftest
$ac_exeext conftest.
$ac_ext
14075 LDFLAGS
=$save_LDFLAGS
14076 libdir
=$save_libdir
14080 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14082 # This implies no fast_install, which is unacceptable.
14083 # Some rework will be needed to allow for fast_install
14084 # before this can be enabled.
14085 hardcode_into_libs
=yes
14087 # Append ld.so.conf contents to the search path
14088 if test -f /etc
/ld.so.conf
; then
14089 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' ' '`
14090 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14093 # We used to test for /lib/ld.so.1 and disable shared libraries on
14094 # powerpc, because MkLinux only supported shared libraries with the
14095 # GNU dynamic linker. Since this was broken with cross compilers,
14096 # most powerpc-linux boxes support dynamic linking these days and
14097 # people can always --disable-shared, the test was removed, and we
14098 # assume the GNU/Linux dynamic linker is in use.
14099 dynamic_linker
='GNU/Linux ld.so'
14106 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14107 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14108 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14109 dynamic_linker
='NetBSD (a.out) ld.so'
14111 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14112 soname_spec
='${libname}${release}${shared_ext}$major'
14113 dynamic_linker
='NetBSD ld.elf_so'
14115 shlibpath_var
=LD_LIBRARY_PATH
14116 shlibpath_overrides_runpath
=yes
14117 hardcode_into_libs
=yes
14122 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14123 shlibpath_var
=LD_LIBRARY_PATH
14124 shlibpath_overrides_runpath
=yes
14131 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14132 soname_spec
='${libname}${release}${shared_ext}$major'
14133 shlibpath_var
=LD_LIBRARY_PATH
14134 shlibpath_overrides_runpath
=no
14135 hardcode_into_libs
=yes
14136 dynamic_linker
='ldqnx.so'
14141 sys_lib_dlsearch_path_spec
="/usr/lib"
14143 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14145 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14146 *) need_version
=no
;;
14148 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14149 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14150 shlibpath_var
=LD_LIBRARY_PATH
14151 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14153 openbsd2.
[89] | openbsd2.
[89].
*)
14154 shlibpath_overrides_runpath
=no
14157 shlibpath_overrides_runpath
=yes
14161 shlibpath_overrides_runpath
=yes
14166 libname_spec
='$name'
14169 library_names_spec
='$libname${shared_ext} $libname.a'
14170 dynamic_linker
='OS/2 ld.exe'
14171 shlibpath_var
=LIBPATH
14174 osf3
* | osf4
* | osf5
*)
14178 soname_spec
='${libname}${release}${shared_ext}$major'
14179 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14180 shlibpath_var
=LD_LIBRARY_PATH
14181 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14182 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14193 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14194 soname_spec
='${libname}${release}${shared_ext}$major'
14195 shlibpath_var
=LD_LIBRARY_PATH
14196 shlibpath_overrides_runpath
=yes
14197 hardcode_into_libs
=yes
14198 # ldd complains unless libraries are executable
14199 postinstall_cmds
='chmod +x $lib'
14204 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14205 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14206 shlibpath_var
=LD_LIBRARY_PATH
14207 shlibpath_overrides_runpath
=yes
14208 if test "$with_gnu_ld" = yes; then
14216 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14217 soname_spec
='${libname}${release}${shared_ext}$major'
14218 shlibpath_var
=LD_LIBRARY_PATH
14219 case $host_vendor in
14221 shlibpath_overrides_runpath
=no
14223 runpath_var
=LD_RUN_PATH
14231 shlibpath_overrides_runpath
=no
14232 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14238 if test -d /usr
/nec
;then
14240 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14241 soname_spec
='$libname${shared_ext}.$major'
14242 shlibpath_var
=LD_LIBRARY_PATH
14246 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14247 version_type
=freebsd-elf
14250 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14251 soname_spec
='${libname}${release}${shared_ext}$major'
14252 shlibpath_var
=LD_LIBRARY_PATH
14253 shlibpath_overrides_runpath
=yes
14254 hardcode_into_libs
=yes
14255 if test "$with_gnu_ld" = yes; then
14256 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14258 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14261 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14265 sys_lib_dlsearch_path_spec
='/usr/lib'
14269 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14273 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14274 shlibpath_var
=LD_LIBRARY_PATH
14275 shlibpath_overrides_runpath
=no
14276 hardcode_into_libs
=yes
14281 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14282 soname_spec
='${libname}${release}${shared_ext}$major'
14283 shlibpath_var
=LD_LIBRARY_PATH
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14291 $as_echo "$dynamic_linker" >&6; }
14292 test "$dynamic_linker" = no
&& can_build_shared
=no
14294 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14295 if test "$GCC" = yes; then
14296 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14299 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14300 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14302 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14303 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14344 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14345 hardcode_action_CXX
=
14346 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14347 test -n "$runpath_var_CXX" ||
14348 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14350 # We can hardcode non-existent directories.
14351 if test "$hardcode_direct_CXX" != no
&&
14352 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14353 # have to relink, otherwise we might link with an installed library
14354 # when we should be linking with a yet-to-be-installed one
14355 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14356 test "$hardcode_minus_L_CXX" != no
; then
14357 # Linking always hardcodes the temporary library directory.
14358 hardcode_action_CXX
=relink
14360 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14361 hardcode_action_CXX
=immediate
14364 # We cannot hardcode anything, or else we can only hardcode existing
14366 hardcode_action_CXX
=unsupported
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14369 $as_echo "$hardcode_action_CXX" >&6; }
14371 if test "$hardcode_action_CXX" = relink ||
14372 test "$inherit_rpath_CXX" = yes; then
14373 # Fast installation is not supported
14374 enable_fast_install
=no
14375 elif test "$shlibpath_overrides_runpath" = yes ||
14376 test "$enable_shared" = no
; then
14377 # Fast installation is not necessary
14378 enable_fast_install
=needless
14387 fi # test -n "$compiler"
14393 with_gnu_ld
=$lt_save_with_gnu_ld
14394 lt_cv_path_LDCXX
=$lt_cv_path_LD
14395 lt_cv_path_LD
=$lt_save_path_LD
14396 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14397 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14398 fi # test "$_lt_caught_CXX_error" != yes
14401 ac_cpp
='$CPP $CPPFLAGS'
14402 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14403 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14404 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14418 ac_config_commands
="$ac_config_commands libtool"
14423 # Only expand once:
14431 # Check to see if -pthread or -lpthread is needed. Prefer the former.
14432 # Note that the CILK_SELF_SPEC in gcc.c may force -pthread.
14433 # In case the pthread.h system header is not found, this test will fail.
14436 CFLAGS
="$CFLAGS -pthread"
14437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14438 /* end confdefs.h. */
14439 #include <pthread.h>
14440 void *g(void *d) { return NULL; }
14444 pthread_t t; pthread_create(&t,NULL,g,NULL);
14449 if ac_fn_c_try_link
"$LINENO"; then :
14450 XCFLAGS
=" -Wc,-pthread"
14452 CFLAGS
="$save_CFLAGS" LIBS
="-lpthread $LIBS"
14453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14454 /* end confdefs.h. */
14455 #include <pthread.h>
14456 void *g(void *d) { return NULL; }
14460 pthread_t t; pthread_create(&t,NULL,g,NULL);
14465 if ac_fn_c_try_link
"$LINENO"; then :
14468 as_fn_error
"Pthreads are required to build libcilkrts" "$LINENO" 5
14470 rm -f core conftest.err conftest.
$ac_objext \
14471 conftest
$ac_exeext conftest.
$ac_ext
14473 rm -f core conftest.err conftest.
$ac_objext \
14474 conftest
$ac_exeext conftest.
$ac_ext
14476 # Check for pthread_{,attr_}[sg]etaffinity_np.
14477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14478 /* end confdefs.h. */
14479 #define _GNU_SOURCE
14480 #include <pthread.h>
14485 pthread_attr_t attr;
14486 pthread_getaffinity_np (pthread_self (), sizeof (cpu_set_t), &cpuset);
14487 if (CPU_ISSET (0, &cpuset))
14488 CPU_SET (1, &cpuset);
14490 CPU_ZERO (&cpuset);
14491 pthread_setaffinity_np (pthread_self (), sizeof (cpu_set_t), &cpuset);
14492 pthread_attr_init (&attr);
14493 pthread_attr_getaffinity_np (&attr, sizeof (cpu_set_t), &cpuset);
14494 pthread_attr_setaffinity_np (&attr, sizeof (cpu_set_t), &cpuset);
14499 if ac_fn_c_try_link
"$LINENO"; then :
14501 $as_echo "#define HAVE_PTHREAD_AFFINITY_NP 1" >>confdefs.h
14504 rm -f core conftest.err conftest.
$ac_objext \
14505 conftest
$ac_exeext conftest.
$ac_ext
14507 # Every c++ lib is linking by default with -nostdlib, which leads to the
14508 # fact, that proper pthread library will not be given at link time. We have
14509 # to hard-code that.
14510 case "${target}" in
14513 XLDFLAGS
="$XLDFLAGS -lc"
14516 XLDFLAGS
="$XLDFLAGS -lpthread"
14524 CFLAGS
="$save_CFLAGS"
14526 if test $enable_shared = yes; then
14527 link_cilkrts
="-lcilkrts %{static: $LIBS}"
14529 link_cilkrts
="-lcilkrts $LIBS"
14535 cat >confcache
<<\_ACEOF
14536 # This file is a shell script that caches the results of configure
14537 # tests run on this system so they can be shared between configure
14538 # scripts and configure runs, see configure's option --config-cache.
14539 # It is not useful on other systems. If it contains results you don't
14540 # want to keep, you may remove or edit it.
14542 # config.status only pays attention to the cache file if you give it
14543 # the --recheck option to rerun configure.
14545 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14546 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14547 # following values.
14551 # The following way of writing the cache mishandles newlines in values,
14552 # but we know of no workaround that is simple, portable, and efficient.
14553 # So, we kill variables containing newlines.
14554 # Ultrix sh set writes to stderr and can't be redirected directly,
14555 # and sets the high bit in the cache file unless we assign to the vars.
14557 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14558 eval ac_val
=\$
$ac_var
14562 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14563 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14566 _ | IFS | as_nl
) ;; #(
14567 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14568 *) { eval $ac_var=; unset $ac_var;} ;;
14574 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14575 *${as_nl}ac_space
=\
*)
14576 # `set' does not quote correctly, so add quotes: double-quote
14577 # substitution turns \\\\ into \\, and sed turns \\ into \.
14580 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14583 # `set' quotes correctly as required by POSIX, so do not add quotes.
14584 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14593 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14595 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14597 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14598 if test -w "$cache_file"; then
14599 test "x$cache_file" != "x/dev/null" &&
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14601 $as_echo "$as_me: updating cache $cache_file" >&6;}
14602 cat confcache
>$cache_file
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14605 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14610 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14611 # Let make expand exec_prefix.
14612 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14614 # Transform confdefs.h into DEFS.
14615 # Protect against shell expansion while executing Makefile rules.
14616 # Protect against Makefile macro expansion.
14618 # If the first sed substitution is executed (which looks for macros that
14619 # take arguments), then branch to the quote section. Otherwise,
14620 # look for a macro that doesn't take arguments.
14630 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14632 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14636 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
14649 DEFS
=`sed -n "$ac_script" confdefs.h`
14654 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14655 # 1. Remove the extension, and $U if already installed.
14656 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14657 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14658 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14659 # will be set to the directory where LIBOBJS objects are built.
14660 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14661 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14663 LIBOBJS
=$ac_libobjs
14665 LTLIBOBJS
=$ac_ltlibobjs
14668 if test -n "$EXEEXT"; then
14670 am__EXEEXT_FALSE
='#'
14672 am__EXEEXT_TRUE
='#'
14676 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14677 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
14678 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14680 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14681 as_fn_error
"conditional \"AMDEP\" was never defined.
14682 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14684 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14685 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
14686 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14688 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
14689 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
14690 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14692 if test -z "${LINUX_LINKER_SCRIPT_TRUE}" && test -z "${LINUX_LINKER_SCRIPT_FALSE}"; then
14693 as_fn_error
"conditional \"LINUX_LINKER_SCRIPT\" was never defined.
14694 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14696 if test -z "${MAC_LINKER_SCRIPT_TRUE}" && test -z "${MAC_LINKER_SCRIPT_FALSE}"; then
14697 as_fn_error
"conditional \"MAC_LINKER_SCRIPT\" was never defined.
14698 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14701 : ${CONFIG_STATUS=./config.status}
14703 ac_clean_files_save
=$ac_clean_files
14704 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14706 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14708 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14710 # Generated by $as_me.
14711 # Run this file to recreate the current configuration.
14712 # Compiler output produced by configure, useful for debugging
14713 # configure, is in config.log if it exists.
14716 ac_cs_recheck=false
14719 SHELL=\${CONFIG_SHELL-$SHELL}
14722 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14723 ## -------------------- ##
14724 ## M4sh Initialization. ##
14725 ## -------------------- ##
14727 # Be more Bourne compatible
14728 DUALCASE
=1; export DUALCASE
# for MKS sh
14729 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14732 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14733 # is contrary to our usage. Disable this feature.
14734 alias -g '${1+"$@"}'='"$@"'
14735 setopt NO_GLOB_SUBST
14737 case `(set -o) 2>/dev/null` in #(
14749 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14750 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14751 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14752 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14753 # Prefer a ksh shell builtin over an external printf program on Solaris,
14754 # but without wasting forks for bash or zsh.
14755 if test -z "$BASH_VERSION$ZSH_VERSION" \
14756 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14757 as_echo='print
-r --'
14758 as_echo_n='print
-rn --'
14759 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14760 as_echo='printf %s
\n'
14761 as_echo_n='printf %s
'
14763 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14764 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14765 as_echo_n='/usr
/ucb
/echo -n'
14767 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14768 as_echo_n_body='eval
14772 expr "X$arg" : "X\\(.*\\)$as_nl";
14773 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14775 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14777 export as_echo_n_body
14778 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14780 export as_echo_body
14781 as_echo='sh
-c $as_echo_body as_echo
'
14784 # The user is always right.
14785 if test "${PATH_SEPARATOR+set}" != set; then
14787 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14788 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14795 # We need space, tab and new line, in precisely that order. Quoting is
14796 # there to prevent editors from complaining about space-tab.
14797 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14798 # splitting by setting IFS to empty value.)
14801 # Find who we are. Look in the path if we contain no directory separator.
14803 *[\\/]* ) as_myself=$0 ;;
14804 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14805 for as_dir in $PATH
14808 test -z "$as_dir" && as_dir=.
14809 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14815 # We did not find ourselves, most probably we were run as `sh COMMAND'
14816 # in which case we are not to be found in the path.
14817 if test "x$as_myself" = x
; then
14820 if test ! -f "$as_myself"; then
14821 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14825 # Unset variables that we do not need and which cause bugs (e.g. in
14826 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14827 # suppresses any "Segmentation fault" message there. '((' could
14828 # trigger a bug in pdksh 5.2.14.
14829 for as_var
in BASH_ENV ENV MAIL MAILPATH
14830 do eval test x\
${$as_var+set} = xset \
14831 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14844 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14847 # as_fn_error ERROR [LINENO LOG_FD]
14848 # ---------------------------------
14849 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14850 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14851 # script with status $?, using 1 if that was 0.
14854 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14856 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14857 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14859 $as_echo "$as_me: error: $1" >&2
14860 as_fn_exit
$as_status
14864 # as_fn_set_status STATUS
14865 # -----------------------
14866 # Set $? to STATUS, without forking.
14867 as_fn_set_status
()
14870 } # as_fn_set_status
14872 # as_fn_exit STATUS
14873 # -----------------
14874 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14878 as_fn_set_status
$1
14884 # Portably unset VAR.
14887 { eval $1=; unset $1;}
14889 as_unset
=as_fn_unset
14890 # as_fn_append VAR VALUE
14891 # ----------------------
14892 # Append the text in VALUE to the end of the definition contained in VAR. Take
14893 # advantage of any shell optimizations that allow amortized linear growth over
14894 # repeated appends, instead of the typical quadratic growth present in naive
14896 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14897 eval 'as_fn_append ()
14908 # as_fn_arith ARG...
14909 # ------------------
14910 # Perform arithmetic evaluation on the ARGs, and store the result in the
14911 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14912 # must be portable across $(()) and expr.
14913 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14914 eval 'as_fn_arith ()
14921 as_val
=`expr "$@" || test $? -eq 1`
14926 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14927 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14933 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14934 as_basename
=basename
14939 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14945 as_me
=`$as_basename -- "$0" ||
14946 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14947 X"$0" : 'X\(//\)$' \| \
14948 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14950 sed '/^.*\/\([^/][^/]*\)\/*$/{
14964 # Avoid depending upon Character Ranges.
14965 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14966 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14967 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14968 as_cr_digits
='0123456789'
14969 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14971 ECHO_C
= ECHO_N
= ECHO_T
=
14972 case `echo -n x` in #(((((
14974 case `echo 'xy\c'` in
14975 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14977 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14984 rm -f conf$$ conf$$.exe conf$$.
file
14985 if test -d conf$$.dir
; then
14986 rm -f conf$$.dir
/conf$$.
file
14989 mkdir conf$$.dir
2>/dev
/null
14991 if (echo >conf$$.
file) 2>/dev
/null
; then
14992 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14994 # ... but there are two gotchas:
14995 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14996 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14997 # In both cases, we have to default to `cp -p'.
14998 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15000 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15008 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15009 rmdir conf$$.dir
2>/dev
/null
15014 # Create "$as_dir" as a directory, including parents if necessary.
15019 -*) as_dir
=.
/$as_dir;;
15021 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15025 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15026 *) as_qdir
=$as_dir;;
15028 as_dirs
="'$as_qdir' $as_dirs"
15029 as_dir
=`$as_dirname -- "$as_dir" ||
15030 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15031 X"$as_dir" : 'X\(//\)[^/]' \| \
15032 X"$as_dir" : 'X\(//\)$' \| \
15033 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15034 $as_echo X"$as_dir" |
15035 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15039 /^X\(\/\/\)[^/].*/{
15052 test -d "$as_dir" && break
15054 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15055 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15059 if mkdir
-p .
2>/dev
/null
; then
15060 as_mkdir_p
='mkdir -p "$as_dir"'
15062 test -d .
/-p && rmdir .
/-p
15066 if test -x / >/dev
/null
2>&1; then
15067 as_test_x
='test -x'
15069 if ls -dL / >/dev
/null
2>&1; then
15076 if test -d "$1"; then
15082 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15083 ???[sx]*):;;*)false;;esac;fi
15087 as_executable_p
=$as_test_x
15089 # Sed expression to map a string onto a valid CPP name.
15090 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15092 # Sed expression to map a string onto a valid variable name.
15093 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15097 ## ----------------------------------- ##
15098 ## Main body of $CONFIG_STATUS script. ##
15099 ## ----------------------------------- ##
15101 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15103 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15104 # Save the log message, to keep $0 and so on meaningful, and to
15105 # report actual input values of CONFIG_FILES etc. instead of their
15106 # values after options handling.
15108 This file was extended by Cilk Runtime Library $as_me 2.0, which was
15109 generated by GNU Autoconf 2.64. Invocation command line was
15111 CONFIG_FILES = $CONFIG_FILES
15112 CONFIG_HEADERS = $CONFIG_HEADERS
15113 CONFIG_LINKS = $CONFIG_LINKS
15114 CONFIG_COMMANDS = $CONFIG_COMMANDS
15117 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15122 case $ac_config_files in *"
15123 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15128 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15129 # Files that config.status was made for.
15130 config_files="$ac_config_files"
15131 config_commands="$ac_config_commands"
15135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15137 \`$as_me' instantiates files and other configuration actions
15138 from templates according to the current configuration. Unless the files
15139 and actions are specified as TAGs, all are instantiated by default.
15141 Usage: $0 [OPTION]... [TAG]...
15143 -h, --help print this help, then exit
15144 -V, --version print version number and configuration settings, then exit
15145 -q, --quiet, --silent
15146 do not print progress messages
15147 -d, --debug don't remove temporary files
15148 --recheck update $as_me by reconfiguring in the same conditions
15149 --file=FILE[:TEMPLATE]
15150 instantiate the configuration file FILE
15152 Configuration files:
15155 Configuration commands:
15158 Report bugs to <cilk@intel.com>."
15161 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15163 Cilk Runtime Library config.status 2.0
15164 configured by $0, generated by GNU Autoconf 2.64,
15165 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15167 Copyright (C) 2009 Free Software Foundation, Inc.
15168 This config.status script is free software; the Free Software Foundation
15169 gives unlimited permission to copy, distribute and modify it."
15176 test -n "\$AWK" || AWK=awk
15179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15180 # The default lists apply if the user does not specify any file.
15186 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15187 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15198 # Handling of the options.
15199 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15201 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15202 $as_echo "$ac_cs_version"; exit ;;
15203 --debug |
--debu |
--deb |
--de |
--d |
-d )
15205 --file |
--fil |
--fi |
--f )
15208 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15210 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15211 ac_need_defaults
=false
;;
15212 --he |
--h |
--help |
--hel |
-h )
15213 $as_echo "$ac_cs_usage"; exit ;;
15214 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15215 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15218 # This is an error.
15219 -*) as_fn_error
"unrecognized option: \`$1'
15220 Try \`$0 --help' for more information." ;;
15222 *) as_fn_append ac_config_targets
" $1"
15223 ac_need_defaults
=false
;;
15229 ac_configure_extra_args
=
15231 if $ac_cs_silent; then
15233 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15237 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15238 if \$ac_cs_recheck; then
15239 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15241 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15242 CONFIG_SHELL='$SHELL'
15243 export CONFIG_SHELL
15248 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15252 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15253 ## Running $as_me. ##
15259 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15267 with_multisubdir="$with_multisubdir"
15268 with_multisrctop="$with_multisrctop"
15269 with_target_subdir="$with_target_subdir"
15270 ac_configure_args="${multilib_arg} ${ac_configure_args}"
15271 multi_basedir="$multi_basedir"
15272 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
15275 GFORTRAN="$GFORTRAN"
15277 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15280 # The HP-UX ksh and POSIX shell print the target directory to stdout
15281 # if CDPATH is set.
15282 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15284 sed_quote_subst='$sed_quote_subst'
15285 double_quote_subst='$double_quote_subst'
15286 delay_variable_subst='$delay_variable_subst'
15287 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15288 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15289 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15290 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15291 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15292 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15293 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15294 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15295 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15296 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15297 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15298 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15299 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15300 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15301 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15302 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15303 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15304 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15305 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15306 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15307 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15308 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15309 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15310 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15311 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15312 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15313 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15314 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15315 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15316 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15317 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15318 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15319 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15320 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15321 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15322 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15323 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15324 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15325 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15326 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15327 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15328 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15329 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15330 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15331 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15332 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15333 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15334 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15335 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"`'
15336 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15337 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15338 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15339 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15340 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15341 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15342 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15343 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15344 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15345 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15346 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15347 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15348 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15349 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15350 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15351 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15352 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15353 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15354 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15355 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15356 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15357 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15358 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15359 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15360 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15361 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15362 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15363 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15364 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15365 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15366 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15367 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15368 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15369 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15370 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15371 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15372 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15373 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15374 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15375 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15376 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15377 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15378 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15379 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15380 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15381 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15382 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15383 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15384 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15385 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15386 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15387 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15388 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15389 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15390 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15391 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15392 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15393 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15394 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15395 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15396 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15397 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15398 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15399 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15400 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15401 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15402 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15403 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15404 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15405 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15406 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15407 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
15408 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
15409 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
15410 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
15411 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
15412 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
15413 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
15414 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
15415 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15416 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15417 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
15418 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
15419 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
15420 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
15421 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
15422 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
15423 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
15424 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
15425 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
15426 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15427 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15428 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
15429 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15430 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15431 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15432 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15433 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15434 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15435 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
15436 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15437 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15438 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15439 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
15440 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
15441 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
15442 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
15443 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
15444 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
15445 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
15446 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
15447 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
15448 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
15449 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
15450 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15451 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15452 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15453 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15454 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
15455 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
15456 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
15457 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15458 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15459 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
15460 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
15461 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
15464 LTCFLAGS='$LTCFLAGS'
15465 compiler='$compiler_DEFAULT'
15467 # A function that is used when there is no print builtin or printf.
15468 func_fallback_echo ()
15470 eval 'cat <<_LTECHO_EOF
15475 # Quote evaled strings.
15489 deplibs_check_method \
15498 lt_cv_sys_global_symbol_pipe \
15499 lt_cv_sys_global_symbol_to_cdecl \
15500 lt_cv_sys_global_symbol_to_c_name_address \
15501 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15502 lt_prog_compiler_no_builtin_flag \
15503 lt_prog_compiler_wl \
15504 lt_prog_compiler_pic \
15505 lt_prog_compiler_static \
15506 lt_cv_prog_compiler_c_o \
15514 export_dynamic_flag_spec \
15515 whole_archive_flag_spec \
15516 compiler_needs_object \
15518 allow_undefined_flag \
15519 no_undefined_flag \
15520 hardcode_libdir_flag_spec \
15521 hardcode_libdir_flag_spec_ld \
15522 hardcode_libdir_separator \
15527 variables_saved_for_relink \
15529 library_names_spec \
15531 install_override_mode \
15535 compiler_lib_search_dirs \
15540 compiler_lib_search_path \
15544 lt_prog_compiler_no_builtin_flag_CXX \
15545 lt_prog_compiler_wl_CXX \
15546 lt_prog_compiler_pic_CXX \
15547 lt_prog_compiler_static_CXX \
15548 lt_cv_prog_compiler_c_o_CXX \
15549 export_dynamic_flag_spec_CXX \
15550 whole_archive_flag_spec_CXX \
15551 compiler_needs_object_CXX \
15553 allow_undefined_flag_CXX \
15554 no_undefined_flag_CXX \
15555 hardcode_libdir_flag_spec_CXX \
15556 hardcode_libdir_flag_spec_ld_CXX \
15557 hardcode_libdir_separator_CXX \
15558 fix_srcfile_path_CXX \
15559 exclude_expsyms_CXX \
15560 include_expsyms_CXX \
15561 file_list_spec_CXX \
15562 compiler_lib_search_dirs_CXX \
15563 predep_objects_CXX \
15564 postdep_objects_CXX \
15567 compiler_lib_search_path_CXX; do
15568 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15569 *[\\\\\\\`\\"\\\$]*)
15570 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15573 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15578 # Double-quote double-evaled strings.
15579 for var in reload_cmds \
15580 old_postinstall_cmds \
15581 old_postuninstall_cmds \
15583 extract_expsyms_cmds \
15584 old_archive_from_new_cmds \
15585 old_archive_from_expsyms_cmds \
15587 archive_expsym_cmds \
15589 module_expsym_cmds \
15590 export_symbols_cmds \
15593 postuninstall_cmds \
15595 sys_lib_search_path_spec \
15596 sys_lib_dlsearch_path_spec \
15598 old_archive_cmds_CXX \
15599 old_archive_from_new_cmds_CXX \
15600 old_archive_from_expsyms_cmds_CXX \
15602 archive_expsym_cmds_CXX \
15604 module_expsym_cmds_CXX \
15605 export_symbols_cmds_CXX \
15606 prelink_cmds_CXX; do
15607 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15608 *[\\\\\\\`\\"\\\$]*)
15609 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15612 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15617 ac_aux_dir='$ac_aux_dir'
15618 xsi_shell='$xsi_shell'
15619 lt_shell_append='$lt_shell_append'
15621 # See if we are running on zsh, and set the options which allow our
15622 # commands through without removal of \ escapes INIT.
15623 if test -n "\${ZSH_VERSION+set}" ; then
15624 setopt NO_GLOB_SUBST
15630 TIMESTAMP='$TIMESTAMP'
15641 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15643 # Handling of arguments.
15644 for ac_config_target
in $ac_config_targets
15646 case $ac_config_target in
15647 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
15648 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15649 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15650 "libcilkrts.spec") CONFIG_FILES
="$CONFIG_FILES libcilkrts.spec" ;;
15651 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15653 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15658 # If the user did not use the arguments to specify the items to instantiate,
15659 # then the envvar interface is used. Set only those that are not.
15660 # We use the long form for the default assignment because of an extremely
15661 # bizarre bug on SunOS 4.1.3.
15662 if $ac_need_defaults; then
15663 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15664 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15667 # Have a temporary directory for convenience. Make it in the build tree
15668 # simply because there is no reason against having it here, and in addition,
15669 # creating and moving files from /tmp can sometimes cause problems.
15670 # Hook for its removal unless debugging.
15671 # Note that there is a small window in which the directory will not be cleaned:
15672 # after its creation but before its name has been assigned to `$tmp'.
15676 trap 'exit_status=$?
15677 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15679 trap 'as_fn_exit 1' 1 2 13 15
15681 # Create a (secure) tmp directory for tmp files.
15684 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15685 test -n "$tmp" && test -d "$tmp"
15688 tmp
=.
/conf$$
-$RANDOM
15689 (umask 077 && mkdir
"$tmp")
15690 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15692 # Set up the scripts for CONFIG_FILES section.
15693 # No need to generate them if there are no CONFIG_FILES.
15694 # This happens for instance with `./config.status config.h'.
15695 if test -n "$CONFIG_FILES"; then
15698 ac_cr
=`echo X | tr X '\015'`
15699 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15700 # But we know of no other shell where ac_cr would be empty at this
15701 # point, so we can use a bashism as a fallback.
15702 if test "x$ac_cr" = x
; then
15703 eval ac_cr
=\$
\'\\r
\'
15705 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15706 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15709 ac_cs_awk_cr
=$ac_cr
15712 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15717 echo "cat >conf$$subs.awk <<_ACEOF" &&
15718 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15720 } >conf$$subs.sh ||
15721 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15722 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15724 for ac_last_try in false false false false false :; do
15725 . ./conf$$subs.sh ||
15726 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15728 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15729 if test $ac_delim_n = $ac_delim_num; then
15731 elif $ac_last_try; then
15732 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15734 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15737 rm -f conf$$subs.sh
15739 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15740 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15744 s/^/S["/; s
/!.
*/"]=/
15754 s/\(.\{148\}\).*/\1/
15756 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15761 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15768 s/\(.\{148\}\).*/\1/
15770 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15774 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15779 ' <conf$$subs.awk | sed '
15784 ' >>$CONFIG_STATUS || ac_write_fail=1
15785 rm -f conf$$subs.awk
15786 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15788 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15789 for (key in S) S_is_set[key] = 1
15795 nfields = split(line, field, "@
")
15797 len = length(field[1])
15798 for (i = 2; i < nfields; i++) {
15800 keylen = length(key)
15801 if (S_is_set[key]) {
15803 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15804 len += length(value) + length(field[++i])
15815 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15816 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15817 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15820 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15821 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15824 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15825 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15826 # trailing colons and then remove the whole line if VPATH becomes empty
15827 # (actually we leave an empty line to preserve line numbers).
15828 if test "x
$srcdir" = x.; then
15829 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15830 s/:*\$(srcdir):*/:/
15831 s/:*\${srcdir}:*/:/
15833 s/^\([^=]*=[ ]*\):*/\1/
15839 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15840 fi # test -n "$CONFIG_FILES"
15843 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
15848 :[FHLC]) ac_mode=$ac_tag; continue;;
15850 case $ac_mode$ac_tag in
15852 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15853 :[FH]-) ac_tag=-:-;;
15854 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15871 -) ac_f="$tmp/stdin";;
15872 *) # Look for the file first in the build tree, then in the source tree
15873 # (if the path is not absolute). The absolute path cannot be DOS-style,
15874 # because $ac_f cannot contain `:'.
15878 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15880 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15882 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15883 as_fn_append ac_file_inputs " '$ac_f'"
15886 # Let's still pretend it is `configure' which instantiates (i.e., don't
15887 # use $as_me), people would be surprised to read:
15888 # /* config.h. Generated by config.status. */
15889 configure_input='Generated from '`
15890 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15892 if test x"$ac_file" != x-; then
15893 configure_input="$ac_file.
$configure_input"
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15895 $as_echo "$as_me: creating
$ac_file" >&6;}
15897 # Neutralize special characters interpreted by sed in replacement strings.
15898 case $configure_input in #(
15899 *\&* | *\|* | *\\* )
15900 ac_sed_conf_input=`$as_echo "$configure_input" |
15901 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15902 *) ac_sed_conf_input=$configure_input;;
15906 *:-:* | *:-) cat >"$tmp/stdin
" \
15907 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15912 ac_dir=`$as_dirname -- "$ac_file" ||
15913 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15914 X"$ac_file" : 'X\(//\)[^/]' \| \
15915 X"$ac_file" : 'X\(//\)$' \| \
15916 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15917 $as_echo X"$ac_file" |
15918 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15922 /^X\(\/\/\)[^/].*/{
15935 as_dir="$ac_dir"; as_fn_mkdir_p
15939 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15941 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15942 # A "..
" for each directory in $ac_dir_suffix.
15943 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15944 case $ac_top_builddir_sub in
15945 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15946 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15949 ac_abs_top_builddir=$ac_pwd
15950 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15951 # for backward compatibility:
15952 ac_top_builddir=$ac_top_build_prefix
15955 .) # We are building in place.
15957 ac_top_srcdir=$ac_top_builddir_sub
15958 ac_abs_top_srcdir=$ac_pwd ;;
15959 [\\/]* | ?:[\\/]* ) # Absolute name.
15960 ac_srcdir=$srcdir$ac_dir_suffix;
15961 ac_top_srcdir=$srcdir
15962 ac_abs_top_srcdir=$srcdir ;;
15963 *) # Relative name.
15964 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15965 ac_top_srcdir=$ac_top_build_prefix$srcdir
15966 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15968 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15978 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15979 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15981 ac_MKDIR_P=$MKDIR_P
15983 [\\/$]* | ?:[\\/]* ) ;;
15984 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15988 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15989 # If the template does not know about datarootdir, expand it.
15990 # FIXME: This hack should be removed a few years after 2.60.
15991 ac_datarootdir_hack=; ac_datarootdir_seen=
16002 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
16003 *datarootdir*) ac_datarootdir_seen=yes;;
16004 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
16006 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
16008 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16009 ac_datarootdir_hack='
16010 s&@datadir@&$datadir&g
16011 s&@docdir@&$docdir&g
16012 s&@infodir@&$infodir&g
16013 s&@localedir@&$localedir&g
16014 s&@mandir@&$mandir&g
16015 s&\\\${datarootdir}&$datarootdir&g' ;;
16019 # Neutralize VPATH when `$srcdir' = `.'.
16020 # Shell code in configure.ac might set extrasub.
16021 # FIXME: do we really want to maintain this feature?
16022 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16023 ac_sed_extra="$ac_vpsub
16026 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16028 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16029 s|@configure_input@|
$ac_sed_conf_input|
;t t
16030 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16031 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16032 s
&@srcdir@
&$ac_srcdir&;t t
16033 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16034 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16035 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16036 s
&@builddir@
&$ac_builddir&;t t
16037 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16038 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16039 s
&@INSTALL@
&$ac_INSTALL&;t t
16040 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16041 $ac_datarootdir_hack
16043 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16044 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16046 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16047 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16048 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16050 which seems to be undefined. Please make sure it is defined." >&5
16051 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16052 which seems to be undefined. Please make sure it is defined." >&2;}
16056 -) cat "$tmp/out" && rm -f "$tmp/out";;
16057 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16059 || as_fn_error "could not create $ac_file" "$LINENO" 5
16063 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16064 $as_echo "$as_me: executing $ac_file commands" >&6;}
16069 case $ac_file$ac_mode in
16071 # Only add multilib support code if we just rebuilt the top-level
16073 case " $CONFIG_FILES " in
16075 ac_file=Makefile . ${multi_basedir}/config-ml.in
16078 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16079 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16080 # are listed without --file. Let's play safe and only
enable the
eval
16081 # if we detect the quoting.
16082 case $CONFIG_FILES in
16083 *\'*) eval set x
"$CONFIG_FILES" ;;
16084 *) set x
$CONFIG_FILES ;;
16089 # Strip MF so we end up with the name of the file.
16090 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16091 # Check whether this is an Automake generated Makefile or not.
16092 # We used to match only the files named `Makefile.in', but
16093 # some people rename them; so instead we look at the file content.
16094 # Grep'ing the first line is not enough: some people post-process
16095 # each Makefile.in and add a new line on top of each file to say so.
16096 # Grep'ing the whole file is not good either: AIX grep has a line
16097 # limit of 2048, but all sed's we know have understand at least 4000.
16098 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16099 dirpart
=`$as_dirname -- "$mf" ||
16100 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16101 X"$mf" : 'X\(//\)[^/]' \| \
16102 X"$mf" : 'X\(//\)$' \| \
16103 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16105 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16109 /^X\(\/\/\)[^/].*/{
16125 # Extract the definition of DEPDIR, am__include, and am__quote
16126 # from the Makefile without running `make'.
16127 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16128 test -z "$DEPDIR" && continue
16129 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16130 test -z "am__include" && continue
16131 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16132 # When using ansi2knr, U may be empty or an underscore; expand it
16133 U
=`sed -n 's/^U = //p' < "$mf"`
16134 # Find all dependency output files, they are included files with
16135 # $(DEPDIR) in their names. We invoke sed twice because it is the
16136 # simplest approach to changing $(DEPDIR) to its actual value in the
16138 for file in `sed -n "
16139 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16140 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16141 # Make sure the directory exists.
16142 test -f "$dirpart/$file" && continue
16143 fdir
=`$as_dirname -- "$file" ||
16144 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16145 X"$file" : 'X\(//\)[^/]' \| \
16146 X"$file" : 'X\(//\)$' \| \
16147 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16148 $as_echo X"$file" |
16149 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16153 /^X\(\/\/\)[^/].*/{
16166 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16167 # echo "creating $dirpart/$file"
16168 echo '# dummy' > "$dirpart/$file"
16175 # See if we are running on zsh, and set the options which allow our
16176 # commands through without removal of \ escapes.
16177 if test -n "${ZSH_VERSION+set}" ; then
16178 setopt NO_GLOB_SUBST
16181 cfgfile
="${ofile}T"
16182 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16185 cat <<_LT_EOF >> "$cfgfile"
16188 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16189 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16190 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16191 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16193 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16194 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16195 # Written by Gordon Matzigkeit, 1996
16197 # This file is part of GNU Libtool.
16199 # GNU Libtool is free software; you can redistribute it and/or
16200 # modify it under the terms of the GNU General Public License as
16201 # published by the Free Software Foundation; either version 2 of
16202 # the License, or (at your option) any later version.
16204 # As a special exception to the GNU General Public License,
16205 # if you distribute this file as part of a program or library that
16206 # is built using GNU Libtool, you may include this file under the
16207 # same distribution terms that you use for the rest of that program.
16209 # GNU Libtool is distributed in the hope that it will be useful,
16210 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16211 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16212 # GNU General Public License for more details.
16214 # You should have received a copy of the GNU General Public License
16215 # along with GNU Libtool; see the file COPYING. If not, a copy
16216 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16217 # obtained by writing to the Free Software Foundation, Inc.,
16218 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16221 # The names of the tagged configurations supported by this script.
16222 available_tags="CXX "
16224 # ### BEGIN LIBTOOL CONFIG
16226 # Which release of libtool.m4 was used?
16227 macro_version=$macro_version
16228 macro_revision=$macro_revision
16230 # Whether or not to build shared libraries.
16231 build_libtool_libs=$enable_shared
16233 # Whether or not to build static libraries.
16234 build_old_libs=$enable_static
16236 # What type of objects to build.
16239 # Whether or not to optimize for fast installation.
16240 fast_install=$enable_fast_install
16242 # Shell to use when invoking shell scripts.
16245 # An echo program that protects backslashes.
16249 host_alias=$host_alias
16253 # The build system.
16254 build_alias=$build_alias
16258 # A sed program that does not truncate output.
16261 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16262 Xsed="\$SED -e 1s/^X//"
16264 # A grep program that handles long lines.
16270 # A literal string matcher.
16273 # A BSD- or MS-compatible name lister.
16276 # Whether we need soft or hard links.
16279 # What is the maximum length of a command?
16280 max_cmd_len=$max_cmd_len
16282 # Object file suffix (normally "o").
16285 # Executable file suffix (normally "").
16288 # whether the shell understands "unset".
16291 # turn spaces into newlines.
16294 # turn newlines into spaces.
16297 # An object symbol dumper.
16298 OBJDUMP=$lt_OBJDUMP
16300 # Method to check whether dependent libraries are shared objects.
16301 deplibs_check_method=$lt_deplibs_check_method
16303 # Command to use when deplibs_check_method == "file_magic".
16304 file_magic_cmd=$lt_file_magic_cmd
16308 AR_FLAGS=$lt_AR_FLAGS
16310 # A symbol stripping program.
16313 # Commands used to install an old-style archive.
16315 old_postinstall_cmds=$lt_old_postinstall_cmds
16316 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16318 # Whether to use a lock for old archive extraction.
16319 lock_old_archive_extraction=$lock_old_archive_extraction
16324 # LTCC compiler flags.
16325 LTCFLAGS=$lt_CFLAGS
16327 # Take the output of nm and produce a listing of raw symbols and C names.
16328 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16330 # Transform the output of nm in a proper C declaration.
16331 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16333 # Transform the output of nm in a C name address pair.
16334 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16336 # Transform the output of nm in a C name address pair when lib prefix is needed.
16337 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16339 # The name of the directory that contains temporary libtool files.
16342 # Used to examine libraries when file_magic_cmd begins with "file".
16343 MAGIC_CMD=$MAGIC_CMD
16345 # Must we lock files when doing compilation?
16346 need_locks=$lt_need_locks
16348 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16349 DSYMUTIL=$lt_DSYMUTIL
16351 # Tool to change global to local symbols on Mac OS X.
16354 # Tool to manipulate fat objects and archives on Mac OS X.
16357 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16360 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16361 OTOOL64=$lt_OTOOL64
16363 # Old archive suffix (normally "a").
16366 # Shared library suffix (normally ".so").
16367 shrext_cmds=$lt_shrext_cmds
16369 # The commands to extract the exported symbol list from a shared archive.
16370 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16372 # Variables whose values should be saved in libtool wrapper scripts and
16373 # restored at link time.
16374 variables_saved_for_relink=$lt_variables_saved_for_relink
16376 # Do we need the "lib" prefix for modules?
16377 need_lib_prefix=$need_lib_prefix
16379 # Do we need a version for libraries?
16380 need_version=$need_version
16382 # Library versioning type.
16383 version_type=$version_type
16385 # Shared library runtime path variable.
16386 runpath_var=$runpath_var
16388 # Shared library path variable.
16389 shlibpath_var=$shlibpath_var
16391 # Is shlibpath searched before the hard-coded library search path?
16392 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16394 # Format of library name prefix.
16395 libname_spec=$lt_libname_spec
16397 # List of archive names. First name is the real one, the rest are links.
16398 # The last name is the one that the linker finds with -lNAME
16399 library_names_spec=$lt_library_names_spec
16401 # The coded name of the library, if different from the real name.
16402 soname_spec=$lt_soname_spec
16404 # Permission mode override for installation of shared libraries.
16405 install_override_mode=$lt_install_override_mode
16407 # Command to use after installation of a shared archive.
16408 postinstall_cmds=$lt_postinstall_cmds
16410 # Command to use after uninstallation of a shared archive.
16411 postuninstall_cmds=$lt_postuninstall_cmds
16413 # Commands used to finish a libtool library installation in a directory.
16414 finish_cmds=$lt_finish_cmds
16416 # As "finish_cmds", except a single script fragment to be evaled but
16418 finish_eval=$lt_finish_eval
16420 # Whether we should hardcode library paths into libraries.
16421 hardcode_into_libs=$hardcode_into_libs
16423 # Compile-time system search path for libraries.
16424 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16426 # Run-time system search path for libraries.
16427 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16429 # Whether dlopen is supported.
16430 dlopen_support=$enable_dlopen
16432 # Whether dlopen of programs is supported.
16433 dlopen_self=$enable_dlopen_self
16435 # Whether dlopen of statically linked programs is supported.
16436 dlopen_self_static=$enable_dlopen_self_static
16438 # Commands to strip libraries.
16439 old_striplib=$lt_old_striplib
16440 striplib=$lt_striplib
16443 # The linker used to build libraries.
16446 # How to create reloadable object files.
16447 reload_flag=$lt_reload_flag
16448 reload_cmds=$lt_reload_cmds
16450 # Commands used to build an old-style archive.
16451 old_archive_cmds=$lt_old_archive_cmds
16453 # A language specific compiler.
16456 # Is the compiler the GNU compiler?
16459 # Compiler flag to turn off builtin functions.
16460 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16462 # How to pass a linker flag through the compiler.
16463 wl=$lt_lt_prog_compiler_wl
16465 # Additional compiler flags for building library objects.
16466 pic_flag=$lt_lt_prog_compiler_pic
16468 # Compiler flag to prevent dynamic linking.
16469 link_static_flag=$lt_lt_prog_compiler_static
16471 # Does compiler simultaneously support -c and -o options?
16472 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16474 # Whether or not to add -lc for building shared libraries.
16475 build_libtool_need_lc=$archive_cmds_need_lc
16477 # Whether or not to disallow shared libs when runtime libs are static.
16478 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16480 # Compiler flag to allow reflexive dlopens.
16481 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16483 # Compiler flag to generate shared objects directly from archives.
16484 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16486 # Whether the compiler copes with passing no objects directly.
16487 compiler_needs_object=$lt_compiler_needs_object
16489 # Create an old-style archive from a shared archive.
16490 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16492 # Create a temporary old-style archive to link instead of a shared archive.
16493 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16495 # Commands used to build a shared archive.
16496 archive_cmds=$lt_archive_cmds
16497 archive_expsym_cmds=$lt_archive_expsym_cmds
16499 # Commands used to build a loadable module if different from building
16500 # a shared archive.
16501 module_cmds=$lt_module_cmds
16502 module_expsym_cmds=$lt_module_expsym_cmds
16504 # Whether we are building with GNU ld or not.
16505 with_gnu_ld=$lt_with_gnu_ld
16507 # Flag that allows shared libraries with undefined symbols to be built.
16508 allow_undefined_flag=$lt_allow_undefined_flag
16510 # Flag that enforces no undefined symbols.
16511 no_undefined_flag=$lt_no_undefined_flag
16513 # Flag to hardcode \$libdir into a binary during linking.
16514 # This must work even if \$libdir does not exist
16515 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16517 # If ld is used when linking, flag to hardcode \$libdir into a binary
16518 # during linking. This must work even if \$libdir does not exist.
16519 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16521 # Whether we need a single "-rpath" flag with a separated argument.
16522 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16524 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16525 # DIR into the resulting binary.
16526 hardcode_direct=$hardcode_direct
16528 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16529 # DIR into the resulting binary and the resulting library dependency is
16530 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16531 # library is relocated.
16532 hardcode_direct_absolute=$hardcode_direct_absolute
16534 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16535 # into the resulting binary.
16536 hardcode_minus_L=$hardcode_minus_L
16538 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16539 # into the resulting binary.
16540 hardcode_shlibpath_var=$hardcode_shlibpath_var
16542 # Set to "yes" if building a shared library automatically hardcodes DIR
16543 # into the library and all subsequent libraries and executables linked
16545 hardcode_automatic=$hardcode_automatic
16547 # Set to yes if linker adds runtime paths of dependent libraries
16548 # to runtime path list.
16549 inherit_rpath=$inherit_rpath
16551 # Whether libtool must link a program against all its dependency libraries.
16552 link_all_deplibs=$link_all_deplibs
16554 # Fix the shell variable \$srcfile for the compiler.
16555 fix_srcfile_path=$lt_fix_srcfile_path
16557 # Set to "yes" if exported symbols are required.
16558 always_export_symbols=$always_export_symbols
16560 # The commands to list exported symbols.
16561 export_symbols_cmds=$lt_export_symbols_cmds
16563 # Symbols that should not be listed in the preloaded symbols.
16564 exclude_expsyms=$lt_exclude_expsyms
16566 # Symbols that must always be exported.
16567 include_expsyms=$lt_include_expsyms
16569 # Commands necessary for linking programs (against libraries) with templates.
16570 prelink_cmds=$lt_prelink_cmds
16572 # Specify filename containing input files.
16573 file_list_spec=$lt_file_list_spec
16575 # How to hardcode a shared library path into an executable.
16576 hardcode_action=$hardcode_action
16578 # The directories searched by this compiler when creating a shared library.
16579 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
16581 # Dependencies to place before and after the objects being linked to
16582 # create a shared library.
16583 predep_objects=$lt_predep_objects
16584 postdep_objects=$lt_postdep_objects
16585 predeps=$lt_predeps
16586 postdeps=$lt_postdeps
16588 # The library search path used internally by the compiler when linking
16589 # a shared library.
16590 compiler_lib_search_path=$lt_compiler_lib_search_path
16592 # ### END LIBTOOL CONFIG
16598 cat <<\_LT_EOF
>> "$cfgfile"
16599 # AIX sometimes has problems with the GCC collect2 program. For some
16600 # reason, if we set the COLLECT_NAMES environment variable, the problems
16601 # vanish in a puff of smoke.
16602 if test "X${COLLECT_NAMES+set}" != Xset
; then
16604 export COLLECT_NAMES
16611 ltmain
="$ac_aux_dir/ltmain.sh"
16614 # We use sed instead of cat because bash on DJGPP gets confused if
16615 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16616 # text mode, it properly converts lines to CR/LF. This bash problem
16617 # is reportedly fixed, but why not run on old versions too?
16618 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16619 ||
(rm -f "$cfgfile"; exit 1)
16623 cat << \_LT_EOF
>> "$cfgfile"
16625 # func_dirname file append nondir_replacement
16626 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16627 # otherwise set result to NONDIR_REPLACEMENT.
16631 */*) func_dirname_result
="${1%/*}${2}" ;;
16632 * ) func_dirname_result
="${3}" ;;
16636 # func_basename file
16639 func_basename_result
="${1##*/}"
16642 # func_dirname_and_basename file append nondir_replacement
16643 # perform func_basename and func_dirname in a single function
16645 # dirname: Compute the dirname of FILE. If nonempty,
16646 # add APPEND to the result, otherwise set result
16647 # to NONDIR_REPLACEMENT.
16648 # value returned in "$func_dirname_result"
16649 # basename: Compute filename of FILE.
16650 # value retuned in "$func_basename_result"
16651 # Implementation must be kept synchronized with func_dirname
16652 # and func_basename. For efficiency, we do not delegate to
16653 # those functions but instead duplicate the functionality here.
16654 func_dirname_and_basename
()
16657 */*) func_dirname_result
="${1%/*}${2}" ;;
16658 * ) func_dirname_result
="${3}" ;;
16660 func_basename_result
="${1##*/}"
16663 # func_stripname prefix suffix name
16664 # strip PREFIX and SUFFIX off of NAME.
16665 # PREFIX and SUFFIX must not contain globbing or regex special
16666 # characters, hashes, percent signs, but SUFFIX may contain a leading
16667 # dot (in which case that matches only a dot).
16670 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16671 # positional parameters, so assign one to ordinary parameter first.
16672 func_stripname_result
=${3}
16673 func_stripname_result
=${func_stripname_result#"${1}"}
16674 func_stripname_result
=${func_stripname_result%"${2}"}
16680 func_opt_split_opt
=${1%%=*}
16681 func_opt_split_arg
=${1#*=}
16688 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16689 *) func_lo2o_result
=${1} ;;
16693 # func_xform libobj-or-source
16696 func_xform_result
=${1%.*}.lo
16699 # func_arith arithmetic-term...
16702 func_arith_result
=$
(( $
* ))
16706 # STRING may not start with a hyphen.
16709 func_len_result
=${#1}
16714 *) # Bourne compatible functions.
16715 cat << \_LT_EOF
>> "$cfgfile"
16717 # func_dirname file append nondir_replacement
16718 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16719 # otherwise set result to NONDIR_REPLACEMENT.
16722 # Extract subdirectory from the argument.
16723 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
16724 if test "X$func_dirname_result" = "X${1}"; then
16725 func_dirname_result
="${3}"
16727 func_dirname_result
="$func_dirname_result${2}"
16731 # func_basename file
16734 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
16738 # func_stripname prefix suffix name
16739 # strip PREFIX and SUFFIX off of NAME.
16740 # PREFIX and SUFFIX must not contain globbing or regex special
16741 # characters, hashes, percent signs, but SUFFIX may contain a leading
16742 # dot (in which case that matches only a dot).
16743 # func_strip_suffix prefix name
16747 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16748 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16753 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16754 my_sed_long_arg
='1s/^-[^=]*=//'
16759 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16760 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16766 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
16769 # func_xform libobj-or-source
16772 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16775 # func_arith arithmetic-term...
16778 func_arith_result
=`expr "$@"`
16782 # STRING may not start with a hyphen.
16785 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16791 case $lt_shell_append in
16793 cat << \_LT_EOF
>> "$cfgfile"
16795 # func_append var value
16796 # Append VALUE to the end of shell variable VAR.
16804 cat << \_LT_EOF
>> "$cfgfile"
16806 # func_append var value
16807 # Append VALUE to the end of shell variable VAR.
16818 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16819 ||
(rm -f "$cfgfile"; exit 1)
16821 mv -f "$cfgfile" "$ofile" ||
16822 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16826 cat <<_LT_EOF >> "$ofile"
16828 # ### BEGIN LIBTOOL TAG CONFIG: CXX
16830 # The linker used to build libraries.
16833 # How to create reloadable object files.
16834 reload_flag=$lt_reload_flag_CXX
16835 reload_cmds=$lt_reload_cmds_CXX
16837 # Commands used to build an old-style archive.
16838 old_archive_cmds=$lt_old_archive_cmds_CXX
16840 # A language specific compiler.
16841 CC=$lt_compiler_CXX
16843 # Is the compiler the GNU compiler?
16846 # Compiler flag to turn off builtin functions.
16847 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
16849 # How to pass a linker flag through the compiler.
16850 wl=$lt_lt_prog_compiler_wl_CXX
16852 # Additional compiler flags for building library objects.
16853 pic_flag=$lt_lt_prog_compiler_pic_CXX
16855 # Compiler flag to prevent dynamic linking.
16856 link_static_flag=$lt_lt_prog_compiler_static_CXX
16858 # Does compiler simultaneously support -c and -o options?
16859 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
16861 # Whether or not to add -lc for building shared libraries.
16862 build_libtool_need_lc=$archive_cmds_need_lc_CXX
16864 # Whether or not to disallow shared libs when runtime libs are static.
16865 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
16867 # Compiler flag to allow reflexive dlopens.
16868 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
16870 # Compiler flag to generate shared objects directly from archives.
16871 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
16873 # Whether the compiler copes with passing no objects directly.
16874 compiler_needs_object=$lt_compiler_needs_object_CXX
16876 # Create an old-style archive from a shared archive.
16877 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
16879 # Create a temporary old-style archive to link instead of a shared archive.
16880 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
16882 # Commands used to build a shared archive.
16883 archive_cmds=$lt_archive_cmds_CXX
16884 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
16886 # Commands used to build a loadable module if different from building
16887 # a shared archive.
16888 module_cmds=$lt_module_cmds_CXX
16889 module_expsym_cmds=$lt_module_expsym_cmds_CXX
16891 # Whether we are building with GNU ld or not.
16892 with_gnu_ld=$lt_with_gnu_ld_CXX
16894 # Flag that allows shared libraries with undefined symbols to be built.
16895 allow_undefined_flag=$lt_allow_undefined_flag_CXX
16897 # Flag that enforces no undefined symbols.
16898 no_undefined_flag=$lt_no_undefined_flag_CXX
16900 # Flag to hardcode \$libdir into a binary during linking.
16901 # This must work even if \$libdir does not exist
16902 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
16904 # If ld is used when linking, flag to hardcode \$libdir into a binary
16905 # during linking. This must work even if \$libdir does not exist.
16906 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
16908 # Whether we need a single "-rpath" flag with a separated argument.
16909 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
16911 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16912 # DIR into the resulting binary.
16913 hardcode_direct=$hardcode_direct_CXX
16915 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16916 # DIR into the resulting binary and the resulting library dependency is
16917 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16918 # library is relocated.
16919 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
16921 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16922 # into the resulting binary.
16923 hardcode_minus_L=$hardcode_minus_L_CXX
16925 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16926 # into the resulting binary.
16927 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
16929 # Set to "yes" if building a shared library automatically hardcodes DIR
16930 # into the library and all subsequent libraries and executables linked
16932 hardcode_automatic=$hardcode_automatic_CXX
16934 # Set to yes if linker adds runtime paths of dependent libraries
16935 # to runtime path list.
16936 inherit_rpath=$inherit_rpath_CXX
16938 # Whether libtool must link a program against all its dependency libraries.
16939 link_all_deplibs=$link_all_deplibs_CXX
16941 # Fix the shell variable \$srcfile for the compiler.
16942 fix_srcfile_path=$lt_fix_srcfile_path_CXX
16944 # Set to "yes" if exported symbols are required.
16945 always_export_symbols=$always_export_symbols_CXX
16947 # The commands to list exported symbols.
16948 export_symbols_cmds=$lt_export_symbols_cmds_CXX
16950 # Symbols that should not be listed in the preloaded symbols.
16951 exclude_expsyms=$lt_exclude_expsyms_CXX
16953 # Symbols that must always be exported.
16954 include_expsyms=$lt_include_expsyms_CXX
16956 # Commands necessary for linking programs (against libraries) with templates.
16957 prelink_cmds=$lt_prelink_cmds_CXX
16959 # Specify filename containing input files.
16960 file_list_spec=$lt_file_list_spec_CXX
16962 # How to hardcode a shared library path into an executable.
16963 hardcode_action=$hardcode_action_CXX
16965 # The directories searched by this compiler when creating a shared library.
16966 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
16968 # Dependencies to place before and after the objects being linked to
16969 # create a shared library.
16970 predep_objects=$lt_predep_objects_CXX
16971 postdep_objects=$lt_postdep_objects_CXX
16972 predeps=$lt_predeps_CXX
16973 postdeps=$lt_postdeps_CXX
16975 # The library search path used internally by the compiler when linking
16976 # a shared library.
16977 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
16979 # ### END LIBTOOL TAG CONFIG: CXX
16990 ac_clean_files
=$ac_clean_files_save
16992 test $ac_write_fail = 0 ||
16993 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16996 # configure is writing to config.log, and then calls config.status.
16997 # config.status does its own redirection, appending to config.log.
16998 # Unfortunately, on DOS this fails, as config.log is still kept open
16999 # by configure, so config.status won't be able to write to it; its
17000 # output is simply discarded. So we exec the FD to /dev/null,
17001 # effectively closing config.log, so it can be properly (re)opened and
17002 # appended to by config.status. When coming back to configure, we
17003 # need to make the FD available again.
17004 if test "$no_create" != yes; then
17006 ac_config_status_args
=
17007 test "$silent" = yes &&
17008 ac_config_status_args
="$ac_config_status_args --quiet"
17010 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17012 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17013 # would make configure fail if this is the last instruction.
17014 $ac_cs_success || as_fn_exit $?
17016 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17018 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}