2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for phsa HSAIL runtime library 1.0.
5 # Report bugs to <pekka.jaaskelainen@parmance.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
175 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
176 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
179 PATH=/empty FPATH=/empty; export PATH FPATH
180 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
181 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
182 test \$(( 1 + 1 )) = 2 || 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
240 $0: pekka.jaaskelainen@parmance.com about your system,
241 $0: including any error possibly output before this
242 $0: message. Then install a modern shell, or manually run
243 $0: the script under such a shell if you do have one."
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
='phsa HSAIL runtime library'
561 PACKAGE_TARNAME
='phsa-hsail-runtime-library'
562 PACKAGE_VERSION
='1.0'
563 PACKAGE_STRING
='phsa HSAIL runtime library 1.0'
564 PACKAGE_BUGREPORT
='pekka.jaaskelainen@parmance.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
659 MAINTAINER_MODE_FALSE
669 INSTALL_STRIP_PROGRAM
723 program_transform_name
736 enable_option_checking
737 enable_maintainer_mode
738 enable_dependency_tracking
739 enable_version_specific_runtime_libs
746 with_gcc_major_version_only
748 ac_precious_vars
='build_alias
763 # Initialize some variables set by options.
765 ac_init_version
=false
766 ac_unrecognized_opts
=
768 # The variables have the same names as the options, with
769 # dashes changed to underlines.
777 program_transform_name
=s
,x
,x
,
785 # Installation directory options.
786 # These are left unexpanded so users can "make install exec_prefix=/foo"
787 # and all the variables that are supposed to be based on exec_prefix
788 # by default will actually change.
789 # Use braces instead of parens because sh, perl, etc. also accept them.
790 # (The list follows the same order as the GNU Coding Standards.)
791 bindir
='${exec_prefix}/bin'
792 sbindir
='${exec_prefix}/sbin'
793 libexecdir
='${exec_prefix}/libexec'
794 datarootdir
='${prefix}/share'
795 datadir
='${datarootdir}'
796 sysconfdir
='${prefix}/etc'
797 sharedstatedir
='${prefix}/com'
798 localstatedir
='${prefix}/var'
799 includedir
='${prefix}/include'
800 oldincludedir
='/usr/include'
801 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
802 infodir
='${datarootdir}/info'
807 libdir
='${exec_prefix}/lib'
808 localedir
='${datarootdir}/locale'
809 mandir
='${datarootdir}/man'
815 # If the previous option needs an argument, assign it.
816 if test -n "$ac_prev"; then
817 eval $ac_prev=\
$ac_option
823 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
827 # Accept the important Cygnus configure options, so we can diagnose typos.
829 case $ac_dashdash$ac_option in
833 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
835 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
838 -build |
--build |
--buil |
--bui |
--bu)
839 ac_prev
=build_alias
;;
840 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
841 build_alias
=$ac_optarg ;;
843 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
844 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
845 ac_prev
=cache_file
;;
846 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
847 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
848 cache_file
=$ac_optarg ;;
851 cache_file
=config.cache
;;
853 -datadir |
--datadir |
--datadi |
--datad)
855 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
856 datadir
=$ac_optarg ;;
858 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
859 |
--dataroo |
--dataro |
--datar)
860 ac_prev
=datarootdir
;;
861 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
862 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
863 datarootdir
=$ac_optarg ;;
865 -disable-* |
--disable-*)
866 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
867 # Reject names that are not valid shell variable names.
868 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
869 as_fn_error
"invalid feature name: $ac_useropt"
870 ac_useropt_orig
=$ac_useropt
871 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
872 case $ac_user_opts in
876 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
877 ac_unrecognized_sep
=', ';;
879 eval enable_
$ac_useropt=no
;;
881 -docdir |
--docdir |
--docdi |
--doc |
--do)
883 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
886 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
888 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
891 -enable-* |
--enable-*)
892 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
893 # Reject names that are not valid shell variable names.
894 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
895 as_fn_error
"invalid feature name: $ac_useropt"
896 ac_useropt_orig
=$ac_useropt
897 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
898 case $ac_user_opts in
902 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
903 ac_unrecognized_sep
=', ';;
905 eval enable_
$ac_useropt=\
$ac_optarg ;;
907 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
908 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
909 |
--exec |
--exe |
--ex)
910 ac_prev
=exec_prefix
;;
911 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
912 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
913 |
--exec=* |
--exe=* |
--ex=*)
914 exec_prefix
=$ac_optarg ;;
916 -gas |
--gas |
--ga |
--g)
917 # Obsolete; use --with-gas.
920 -help |
--help |
--hel |
--he |
-h)
922 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
923 ac_init_help
=recursive
;;
924 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
925 ac_init_help
=short
;;
927 -host |
--host |
--hos |
--ho)
928 ac_prev
=host_alias
;;
929 -host=* |
--host=* |
--hos=* |
--ho=*)
930 host_alias
=$ac_optarg ;;
932 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
934 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
936 htmldir
=$ac_optarg ;;
938 -includedir |
--includedir |
--includedi |
--included |
--include \
939 |
--includ |
--inclu |
--incl |
--inc)
940 ac_prev
=includedir
;;
941 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
942 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
943 includedir
=$ac_optarg ;;
945 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
947 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
948 infodir
=$ac_optarg ;;
950 -libdir |
--libdir |
--libdi |
--libd)
952 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
955 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
956 |
--libexe |
--libex |
--libe)
957 ac_prev
=libexecdir
;;
958 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
959 |
--libexe=* |
--libex=* |
--libe=*)
960 libexecdir
=$ac_optarg ;;
962 -localedir |
--localedir |
--localedi |
--localed |
--locale)
964 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
965 localedir
=$ac_optarg ;;
967 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
968 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
969 ac_prev
=localstatedir
;;
970 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
971 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
972 localstatedir
=$ac_optarg ;;
974 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
976 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
980 # Obsolete; use --without-fp.
983 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
984 |
--no-cr |
--no-c |
-n)
987 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
988 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
991 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
992 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
993 |
--oldin |
--oldi |
--old |
--ol |
--o)
994 ac_prev
=oldincludedir
;;
995 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
996 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
997 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
998 oldincludedir
=$ac_optarg ;;
1000 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1002 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1003 prefix
=$ac_optarg ;;
1005 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1006 |
--program-pre |
--program-pr |
--program-p)
1007 ac_prev
=program_prefix
;;
1008 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1009 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1010 program_prefix
=$ac_optarg ;;
1012 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1013 |
--program-suf |
--program-su |
--program-s)
1014 ac_prev
=program_suffix
;;
1015 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1016 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1017 program_suffix
=$ac_optarg ;;
1019 -program-transform-name |
--program-transform-name \
1020 |
--program-transform-nam |
--program-transform-na \
1021 |
--program-transform-n |
--program-transform- \
1022 |
--program-transform |
--program-transfor \
1023 |
--program-transfo |
--program-transf \
1024 |
--program-trans |
--program-tran \
1025 |
--progr-tra |
--program-tr |
--program-t)
1026 ac_prev
=program_transform_name
;;
1027 -program-transform-name=* |
--program-transform-name=* \
1028 |
--program-transform-nam=* |
--program-transform-na=* \
1029 |
--program-transform-n=* |
--program-transform-=* \
1030 |
--program-transform=* |
--program-transfor=* \
1031 |
--program-transfo=* |
--program-transf=* \
1032 |
--program-trans=* |
--program-tran=* \
1033 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1034 program_transform_name
=$ac_optarg ;;
1036 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1038 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1039 pdfdir
=$ac_optarg ;;
1041 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1043 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1046 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1047 |
-silent |
--silent |
--silen |
--sile |
--sil)
1050 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1052 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1054 sbindir
=$ac_optarg ;;
1056 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1057 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1058 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1060 ac_prev
=sharedstatedir
;;
1061 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1062 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1063 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1065 sharedstatedir
=$ac_optarg ;;
1067 -site |
--site |
--sit)
1069 -site=* |
--site=* |
--sit=*)
1072 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1074 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1075 srcdir
=$ac_optarg ;;
1077 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1078 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1079 ac_prev
=sysconfdir
;;
1080 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1081 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1082 sysconfdir
=$ac_optarg ;;
1084 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1085 ac_prev
=target_alias
;;
1086 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1087 target_alias
=$ac_optarg ;;
1089 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1092 -version |
--version |
--versio |
--versi |
--vers |
-V)
1093 ac_init_version
=: ;;
1096 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1097 # Reject names that are not valid shell variable names.
1098 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1099 as_fn_error
"invalid package name: $ac_useropt"
1100 ac_useropt_orig
=$ac_useropt
1101 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1102 case $ac_user_opts in
1106 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1107 ac_unrecognized_sep
=', ';;
1109 eval with_
$ac_useropt=\
$ac_optarg ;;
1111 -without-* |
--without-*)
1112 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1113 # Reject names that are not valid shell variable names.
1114 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1115 as_fn_error
"invalid package name: $ac_useropt"
1116 ac_useropt_orig
=$ac_useropt
1117 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1118 case $ac_user_opts in
1122 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1123 ac_unrecognized_sep
=', ';;
1125 eval with_
$ac_useropt=no
;;
1128 # Obsolete; use --with-x.
1131 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1132 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1133 ac_prev
=x_includes
;;
1134 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1135 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1136 x_includes
=$ac_optarg ;;
1138 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1139 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1140 ac_prev
=x_libraries
;;
1141 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1142 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1143 x_libraries
=$ac_optarg ;;
1145 -*) as_fn_error
"unrecognized option: \`$ac_option'
1146 Try \`$0 --help' for more information."
1150 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1151 # Reject names that are not valid shell variable names.
1152 case $ac_envvar in #(
1153 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1154 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1156 eval $ac_envvar=\
$ac_optarg
1157 export $ac_envvar ;;
1160 # FIXME: should be removed in autoconf 3.0.
1161 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1162 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1163 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1164 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1170 if test -n "$ac_prev"; then
1171 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1172 as_fn_error
"missing argument to $ac_option"
1175 if test -n "$ac_unrecognized_opts"; then
1176 case $enable_option_checking in
1178 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1179 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1183 # Check all directory arguments for consistency.
1184 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1185 datadir sysconfdir sharedstatedir localstatedir includedir \
1186 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1187 libdir localedir mandir
1189 eval ac_val
=\$
$ac_var
1190 # Remove trailing slashes.
1193 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1194 eval $ac_var=\
$ac_val;;
1196 # Be sure to have absolute directory names.
1198 [\\/$
]* | ?
:[\\/]* ) continue;;
1199 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1201 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1204 # There might be people who depend on the old broken behavior: `$host'
1205 # used to hold the argument of --host etc.
1206 # FIXME: To remove some day.
1209 target
=$target_alias
1211 # FIXME: To remove some day.
1212 if test "x$host_alias" != x
; then
1213 if test "x$build_alias" = x
; then
1214 cross_compiling
=maybe
1215 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1216 If a cross compiler is detected then cross compile mode will be used." >&2
1217 elif test "x$build_alias" != "x$host_alias"; then
1223 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1225 test "$silent" = yes && exec 6>/dev
/null
1228 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1229 ac_ls_di
=`ls -di .` &&
1230 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1231 as_fn_error
"working directory cannot be determined"
1232 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1233 as_fn_error
"pwd does not report name of working directory"
1236 # Find the source files, if location was not specified.
1237 if test -z "$srcdir"; then
1238 ac_srcdir_defaulted
=yes
1239 # Try the directory containing this script, then the parent directory.
1240 ac_confdir
=`$as_dirname -- "$as_myself" ||
1241 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1242 X"$as_myself" : 'X\(//\)[^/]' \| \
1243 X"$as_myself" : 'X\(//\)$' \| \
1244 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1245 $as_echo X"$as_myself" |
1246 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1264 if test ! -r "$srcdir/$ac_unique_file"; then
1268 ac_srcdir_defaulted
=no
1270 if test ! -r "$srcdir/$ac_unique_file"; then
1271 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1272 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1274 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1276 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1278 # When building in place, set srcdir=.
1279 if test "$ac_abs_confdir" = "$ac_pwd"; then
1282 # Remove unnecessary trailing slashes from srcdir.
1283 # Double slashes in file names in object file debugging info
1284 # mess up M-x gdb in Emacs.
1286 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1288 for ac_var
in $ac_precious_vars; do
1289 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1290 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1291 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1292 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1296 # Report the --help message.
1298 if test "$ac_init_help" = "long"; then
1299 # Omit some internal or obsolete options to make the list less imposing.
1300 # This message is too long to be a string in the A/UX 3.1 sh.
1302 \`configure' configures phsa HSAIL runtime library 1.0 to adapt to many kinds of systems.
1304 Usage: $0 [OPTION]... [VAR=VALUE]...
1306 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1307 VAR=VALUE. See below for descriptions of some of the useful variables.
1309 Defaults for the options are specified in brackets.
1312 -h, --help display this help and exit
1313 --help=short display options specific to this package
1314 --help=recursive display the short help of all the included packages
1315 -V, --version display version information and exit
1316 -q, --quiet, --silent do not print \`checking...' messages
1317 --cache-file=FILE cache test results in FILE [disabled]
1318 -C, --config-cache alias for \`--cache-file=config.cache'
1319 -n, --no-create do not create output files
1320 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1322 Installation directories:
1323 --prefix=PREFIX install architecture-independent files in PREFIX
1324 [$ac_default_prefix]
1325 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1328 By default, \`make install' will install all the files in
1329 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1330 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1331 for instance \`--prefix=\$HOME'.
1333 For better control, use the options below.
1335 Fine tuning of the installation directories:
1336 --bindir=DIR user executables [EPREFIX/bin]
1337 --sbindir=DIR system admin executables [EPREFIX/sbin]
1338 --libexecdir=DIR program executables [EPREFIX/libexec]
1339 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1340 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1341 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1342 --libdir=DIR object code libraries [EPREFIX/lib]
1343 --includedir=DIR C header files [PREFIX/include]
1344 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1345 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1346 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1347 --infodir=DIR info documentation [DATAROOTDIR/info]
1348 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1349 --mandir=DIR man documentation [DATAROOTDIR/man]
1350 --docdir=DIR documentation root
1351 [DATAROOTDIR/doc/phsa-hsail-runtime-library]
1352 --htmldir=DIR html documentation [DOCDIR]
1353 --dvidir=DIR dvi documentation [DOCDIR]
1354 --pdfdir=DIR pdf documentation [DOCDIR]
1355 --psdir=DIR ps documentation [DOCDIR]
1361 --program-prefix=PREFIX prepend PREFIX to installed program names
1362 --program-suffix=SUFFIX append SUFFIX to installed program names
1363 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1366 --build=BUILD configure
for building on BUILD
[guessed
]
1367 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1368 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1372 if test -n "$ac_init_help"; then
1373 case $ac_init_help in
1374 short | recursive
) echo "Configuration of phsa HSAIL runtime library 1.0:";;
1379 --disable-option-checking ignore unrecognized
--enable/--with options
1380 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1381 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1382 --enable-maintainer-mode enable make rules and dependencies not useful
1383 (and sometimes confusing
) to the casual installer
1384 --disable-dependency-tracking speeds up one-time build
1385 --enable-dependency-tracking do not reject slow dependency extractors
1386 --enable-version-specific-runtime-libs
1387 Specify that runtime libraries should be installed
1388 in a compi ler-specific directory
1389 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1390 --enable-static[=PKGS
] build static libraries
[default
=yes]
1391 --enable-fast-install[=PKGS
]
1392 optimize
for fast installation
[default
=yes]
1393 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1396 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1397 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1398 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1400 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1401 --with-gcc-major-version-only
1402 use only GCC major number
in filesystem paths
1404 Some influential environment variables
:
1405 CC C compiler
command
1406 CFLAGS C compiler flags
1407 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1408 nonstandard directory
<lib dir
>
1409 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1410 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1411 you have headers
in a nonstandard directory
<include dir
>
1412 CXX C
++ compiler
command
1413 CXXFLAGS C
++ compiler flags
1415 CXXCPP C
++ preprocessor
1417 Use these variables to override the choices made by
`configure' or to help
1418 it to find libraries and programs with nonstandard names/locations.
1420 Report bugs to <pekka.jaaskelainen@parmance.com>.
1425 if test "$ac_init_help" = "recursive"; then
1426 # If there are subdirs, report their specific --help.
1427 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1428 test -d "$ac_dir" ||
1429 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1434 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1436 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1437 # A ".." for each directory in $ac_dir_suffix.
1438 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1439 case $ac_top_builddir_sub in
1440 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1441 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1444 ac_abs_top_builddir=$ac_pwd
1445 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1446 # for backward compatibility:
1447 ac_top_builddir=$ac_top_build_prefix
1450 .) # We are building in place.
1452 ac_top_srcdir=$ac_top_builddir_sub
1453 ac_abs_top_srcdir=$ac_pwd ;;
1454 [\\/]* | ?:[\\/]* ) # Absolute name.
1455 ac_srcdir=$srcdir$ac_dir_suffix;
1456 ac_top_srcdir=$srcdir
1457 ac_abs_top_srcdir=$srcdir ;;
1459 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1460 ac_top_srcdir=$ac_top_build_prefix$srcdir
1461 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1463 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1465 cd "$ac_dir" || { ac_status=$?; continue; }
1466 # Check for guested configure.
1467 if test -f "$ac_srcdir/configure.gnu"; then
1469 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1470 elif test -f "$ac_srcdir/configure"; then
1472 $SHELL "$ac_srcdir/configure" --help=recursive
1474 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1476 cd "$ac_pwd" || { ac_status=$?; break; }
1480 test -n "$ac_init_help" && exit $ac_status
1481 if $ac_init_version; then
1483 phsa HSAIL runtime library configure 1.0
1484 generated by GNU Autoconf 2.64
1486 Copyright (C) 2009 Free Software Foundation, Inc.
1487 This configure script is free software; the Free Software Foundation
1488 gives unlimited permission to copy, distribute and modify it.
1493 ## ------------------------ ##
1494 ## Autoconf initialization. ##
1495 ## ------------------------ ##
1497 # ac_fn_c_try_compile LINENO
1498 # --------------------------
1499 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1500 ac_fn_c_try_compile ()
1502 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1503 rm -f conftest.$ac_objext
1504 if { { ac_try="$ac_compile"
1506 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1507 *) ac_try_echo
=$ac_try;;
1509 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1510 $as_echo "$ac_try_echo"; } >&5
1511 (eval "$ac_compile") 2>conftest.err
1513 if test -s conftest.err
; then
1514 grep -v '^ *+' conftest.err
>conftest.er1
1515 cat conftest.er1
>&5
1516 mv -f conftest.er1 conftest.err
1518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1519 test $ac_status = 0; } && {
1520 test -z "$ac_c_werror_flag" ||
1521 test ! -s conftest.err
1522 } && test -s conftest.
$ac_objext; then :
1525 $as_echo "$as_me: failed program was:" >&5
1526 sed 's/^/| /' conftest.
$ac_ext >&5
1530 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1533 } # ac_fn_c_try_compile
1535 # ac_fn_cxx_try_compile LINENO
1536 # ----------------------------
1537 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1538 ac_fn_cxx_try_compile
()
1540 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1541 rm -f conftest.
$ac_objext
1542 if { { ac_try
="$ac_compile"
1544 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1545 *) ac_try_echo=$ac_try;;
1547 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1548 $as_echo "$ac_try_echo"; } >&5
1549 (eval "$ac_compile") 2>conftest.err
1551 if test -s conftest.err; then
1552 grep -v '^ *+' conftest.err >conftest.er1
1553 cat conftest.er1 >&5
1554 mv -f conftest.er1 conftest.err
1556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1557 test $ac_status = 0; } && {
1558 test -z "$ac_cxx_werror_flag" ||
1559 test ! -s conftest.err
1560 } && test -s conftest.$ac_objext; then :
1563 $as_echo "$as_me: failed program was:" >&5
1564 sed 's/^/| /' conftest.$ac_ext >&5
1568 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1571 } # ac_fn_cxx_try_compile
1573 # ac_fn_c_try_link LINENO
1574 # -----------------------
1575 # Try to link conftest.$ac_ext, and return whether this succeeded.
1578 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1579 rm -f conftest.$ac_objext conftest$ac_exeext
1580 if { { ac_try="$ac_link"
1582 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1583 *) ac_try_echo
=$ac_try;;
1585 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1586 $as_echo "$ac_try_echo"; } >&5
1587 (eval "$ac_link") 2>conftest.err
1589 if test -s conftest.err
; then
1590 grep -v '^ *+' conftest.err
>conftest.er1
1591 cat conftest.er1
>&5
1592 mv -f conftest.er1 conftest.err
1594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1595 test $ac_status = 0; } && {
1596 test -z "$ac_c_werror_flag" ||
1597 test ! -s conftest.err
1598 } && test -s conftest
$ac_exeext && {
1599 test "$cross_compiling" = yes ||
1600 $as_test_x conftest
$ac_exeext
1604 $as_echo "$as_me: failed program was:" >&5
1605 sed 's/^/| /' conftest.
$ac_ext >&5
1609 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1610 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1611 # interfere with the next link command; also delete a directory that is
1612 # left behind by Apple's compiler. We do this before executing the actions.
1613 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1614 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1617 } # ac_fn_c_try_link
1619 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1620 # -------------------------------------------------------
1621 # Tests whether HEADER exists and can be compiled using the include files in
1622 # INCLUDES, setting the cache variable VAR accordingly.
1623 ac_fn_c_check_header_compile
()
1625 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1627 $as_echo_n "checking for $2... " >&6; }
1628 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1629 $as_echo_n "(cached) " >&6
1631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1632 /* end confdefs.h. */
1636 if ac_fn_c_try_compile
"$LINENO"; then :
1641 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1645 $as_echo "$ac_res" >&6; }
1646 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1648 } # ac_fn_c_check_header_compile
1650 # ac_fn_c_try_cpp LINENO
1651 # ----------------------
1652 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1655 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1656 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1658 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1659 *) ac_try_echo=$ac_try;;
1661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1662 $as_echo "$ac_try_echo"; } >&5
1663 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1665 if test -s conftest.err; then
1666 grep -v '^ *+' conftest.err >conftest.er1
1667 cat conftest.er1 >&5
1668 mv -f conftest.er1 conftest.err
1670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1671 test $ac_status = 0; } >/dev/null && {
1672 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1673 test ! -s conftest.err
1677 $as_echo "$as_me: failed program was:" >&5
1678 sed 's/^/| /' conftest.$ac_ext >&5
1682 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1687 # ac_fn_c_try_run LINENO
1688 # ----------------------
1689 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1690 # that executables *can* be run.
1693 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1694 if { { ac_try="$ac_link"
1696 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1697 *) ac_try_echo
=$ac_try;;
1699 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1700 $as_echo "$ac_try_echo"; } >&5
1701 (eval "$ac_link") 2>&5
1703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1704 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1705 { { case "(($ac_try" in
1706 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1707 *) ac_try_echo=$ac_try;;
1709 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1710 $as_echo "$ac_try_echo"; } >&5
1711 (eval "$ac_try") 2>&5
1713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1714 test $ac_status = 0; }; }; then :
1717 $as_echo "$as_me: program exited with status $ac_status" >&5
1718 $as_echo "$as_me: failed program was:" >&5
1719 sed 's/^/| /' conftest.$ac_ext >&5
1721 ac_retval=$ac_status
1723 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1724 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1729 # ac_fn_c_check_func LINENO FUNC VAR
1730 # ----------------------------------
1731 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1732 ac_fn_c_check_func ()
1734 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1736 $as_echo_n "checking for $2... " >&6; }
1737 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1738 $as_echo_n "(cached) " >&6
1740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1741 /* end confdefs.h. */
1742 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1744 #define $2 innocuous_$2
1746 /* System header to define __stub macros and hopefully few prototypes,
1747 which can conflict with char $2 (); below.
1748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1749 <limits.h> exists even on freestanding compilers. */
1752 # include <limits.h>
1754 # include <assert.h>
1759 /* Override any GCC internal prototype to avoid an error.
1760 Use char because int might match the return type of a GCC
1761 builtin and then its argument prototype would still apply. */
1766 /* The GNU C library defines this for functions which it implements
1767 to always fail with ENOSYS. Some functions are actually named
1768 something starting with __ and the normal name is an alias. */
1769 #if defined __stub_$2 || defined __stub___$2
1781 if ac_fn_c_try_link "$LINENO"; then :
1786 rm -f core conftest.err conftest.$ac_objext \
1787 conftest$ac_exeext conftest.$ac_ext
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1791 $as_echo "$ac_res" >&6; }
1792 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1794 } # ac_fn_c_check_func
1796 # ac_fn_cxx_try_cpp LINENO
1797 # ------------------------
1798 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1799 ac_fn_cxx_try_cpp ()
1801 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1802 if { { ac_try="$ac_cpp conftest.$ac_ext"
1804 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1805 *) ac_try_echo
=$ac_try;;
1807 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1808 $as_echo "$ac_try_echo"; } >&5
1809 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1811 if test -s conftest.err
; then
1812 grep -v '^ *+' conftest.err
>conftest.er1
1813 cat conftest.er1
>&5
1814 mv -f conftest.er1 conftest.err
1816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1817 test $ac_status = 0; } >/dev
/null
&& {
1818 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1819 test ! -s conftest.err
1823 $as_echo "$as_me: failed program was:" >&5
1824 sed 's/^/| /' conftest.
$ac_ext >&5
1828 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1831 } # ac_fn_cxx_try_cpp
1833 # ac_fn_cxx_try_link LINENO
1834 # -------------------------
1835 # Try to link conftest.$ac_ext, and return whether this succeeded.
1836 ac_fn_cxx_try_link
()
1838 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1839 rm -f conftest.
$ac_objext conftest
$ac_exeext
1840 if { { ac_try
="$ac_link"
1842 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1843 *) ac_try_echo=$ac_try;;
1845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1846 $as_echo "$ac_try_echo"; } >&5
1847 (eval "$ac_link") 2>conftest.err
1849 if test -s conftest.err; then
1850 grep -v '^ *+' conftest.err >conftest.er1
1851 cat conftest.er1 >&5
1852 mv -f conftest.er1 conftest.err
1854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1855 test $ac_status = 0; } && {
1856 test -z "$ac_cxx_werror_flag" ||
1857 test ! -s conftest.err
1858 } && test -s conftest$ac_exeext && {
1859 test "$cross_compiling" = yes ||
1860 $as_test_x conftest$ac_exeext
1864 $as_echo "$as_me: failed program was:" >&5
1865 sed 's/^/| /' conftest.$ac_ext >&5
1869 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1870 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1871 # interfere with the next link command; also delete a directory that is
1872 # left behind by Apple's compiler. We do this before executing the actions.
1873 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1874 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1877 } # ac_fn_cxx_try_link
1879 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1880 # --------------------------------------------
1881 # Tries to find the compile-time value of EXPR in a program that includes
1882 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1884 ac_fn_c_compute_int ()
1886 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1887 if test "$cross_compiling" = yes; then
1888 # Depending upon the size, compute the lo and hi bounds.
1889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1890 /* end confdefs.h. */
1895 static int test_array [1 - 2 * !(($2) >= 0)];
1902 if ac_fn_c_try_compile "$LINENO"; then :
1905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1906 /* end confdefs.h. */
1911 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1918 if ac_fn_c_try_compile "$LINENO"; then :
1919 ac_hi=$ac_mid; break
1921 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1922 if test $ac_lo -le $ac_mid; then
1926 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1932 /* end confdefs.h. */
1937 static int test_array [1 - 2 * !(($2) < 0)];
1944 if ac_fn_c_try_compile "$LINENO"; then :
1947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1948 /* end confdefs.h. */
1953 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1960 if ac_fn_c_try_compile "$LINENO"; then :
1961 ac_lo=$ac_mid; break
1963 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1964 if test $ac_mid -le $ac_hi; then
1968 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1978 # Binary search between lo and hi bounds.
1979 while test "x$ac_lo" != "x$ac_hi"; do
1980 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1982 /* end confdefs.h. */
1987 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1994 if ac_fn_c_try_compile "$LINENO"; then :
1997 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2002 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2007 /* end confdefs.h. */
2009 static long int longval () { return $2; }
2010 static unsigned long int ulongval () { return $2; }
2017 FILE *f = fopen ("conftest.val", "w");
2022 long int i = longval ();
2025 fprintf (f, "%ld", i);
2029 unsigned long int i = ulongval ();
2032 fprintf (f, "%lu", i);
2034 /* Do not output a trailing newline, as this causes \r\n confusion
2035 on some platforms. */
2036 return ferror (f) || fclose (f) != 0;
2042 if ac_fn_c_try_run "$LINENO"; then :
2043 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2047 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2048 conftest.$ac_objext conftest.beam conftest.$ac_ext
2052 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2055 } # ac_fn_c_compute_int
2056 cat >config.log <<_ACEOF
2057 This file contains any messages produced by compilers while
2058 running configure, to aid debugging if configure makes a mistake.
2060 It was created by phsa HSAIL runtime library $as_me 1.0, which was
2061 generated by GNU Autoconf 2.64. Invocation command line was
2073 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2074 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2075 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2076 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2077 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2079 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2080 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2082 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2083 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2084 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2085 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2086 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2087 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2088 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2096 test -z "$as_dir" && as_dir=.
2097 $as_echo "PATH: $as_dir"
2113 # Keep a trace of the command line.
2114 # Strip out --no-create and --no-recursion so they do not pile up.
2115 # Strip out --silent because we don't want to record it for future runs.
2116 # Also quote any args containing shell meta-characters.
2117 # Make two passes to allow for proper duplicate-argument suppression.
2121 ac_must_keep_next=false
2127 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2128 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2129 | -silent | --silent | --silen | --sile | --sil)
2132 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2135 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2137 as_fn_append ac_configure_args1 " '$ac_arg'"
2138 if test $ac_must_keep_next = true; then
2139 ac_must_keep_next=false # Got value, back to normal.
2142 *=* | --config-cache | -C | -disable-* | --disable-* \
2143 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2144 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2145 | -with-* | --with-* | -without-* | --without-* | --x)
2146 case "$ac_configure_args0 " in
2147 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2150 -* ) ac_must_keep_next=true ;;
2153 as_fn_append ac_configure_args " '$ac_arg'"
2158 { ac_configure_args0=; unset ac_configure_args0;}
2159 { ac_configure_args1=; unset ac_configure_args1;}
2161 # When interrupted or exit'd, cleanup temporary files, and complete
2162 # config.log. We remove comments because anyway the quotes in there
2163 # would cause problems or look ugly.
2164 # WARNING: Use '\'' to represent an apostrophe within the trap.
2165 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2166 trap 'exit_status=$?
2167 # Save into config.log some information that might help in debugging.
2172 ## ---------------- ##
2173 ## Cache variables. ##
2174 ## ---------------- ##
2177 # The following way of writing the cache mishandles newlines in values,
2179 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2180 eval ac_val=\$$ac_var
2184 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2185 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2188 _ | IFS | as_nl) ;; #(
2189 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2190 *) { eval $ac_var=; unset $ac_var;} ;;
2195 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2196 *${as_nl}ac_space=\ *)
2198 "s/'\''/'\''\\\\'\'''\''/g;
2199 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2202 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2210 ## ----------------- ##
2211 ## Output variables. ##
2212 ## ----------------- ##
2215 for ac_var in $ac_subst_vars
2217 eval ac_val=\$$ac_var
2219 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2221 $as_echo "$ac_var='\''$ac_val'\''"
2225 if test -n "$ac_subst_files"; then
2227 ## ------------------- ##
2228 ## File substitutions. ##
2229 ## ------------------- ##
2232 for ac_var in $ac_subst_files
2234 eval ac_val=\$$ac_var
2236 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2238 $as_echo "$ac_var='\''$ac_val'\''"
2243 if test -s confdefs.h; then
2253 test "$ac_signal" != 0 &&
2254 $as_echo "$as_me: caught signal $ac_signal"
2255 $as_echo "$as_me: exit $exit_status"
2257 rm -f core *.core core.conftest.* &&
2258 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2261 for ac_signal in 1 2 13 15; do
2262 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2266 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2267 rm -f -r conftest* confdefs.h
2269 $as_echo "/* confdefs.h */" > confdefs.h
2271 # Predefined preprocessor variables.
2273 cat >>confdefs.h <<_ACEOF
2274 #define PACKAGE_NAME "$PACKAGE_NAME"
2277 cat >>confdefs.h <<_ACEOF
2278 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2281 cat >>confdefs.h <<_ACEOF
2282 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2285 cat >>confdefs.h <<_ACEOF
2286 #define PACKAGE_STRING "$PACKAGE_STRING"
2289 cat >>confdefs.h <<_ACEOF
2290 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2293 cat >>confdefs.h <<_ACEOF
2294 #define PACKAGE_URL "$PACKAGE_URL"
2298 # Let the site file select an alternate cache file if it wants to.
2299 # Prefer an explicitly selected file to automatically selected ones.
2302 if test -n "$CONFIG_SITE"; then
2303 ac_site_file1=$CONFIG_SITE
2304 elif test "x$prefix" != xNONE; then
2305 ac_site_file1=$prefix/share/config.site
2306 ac_site_file2=$prefix/etc/config.site
2308 ac_site_file1=$ac_default_prefix/share/config.site
2309 ac_site_file2=$ac_default_prefix/etc/config.site
2311 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2313 test "x$ac_site_file" = xNONE && continue
2314 if test -r "$ac_site_file"; then
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2316 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2317 sed 's/^/| /' "$ac_site_file" >&5
2322 if test -r "$cache_file"; then
2323 # Some versions of bash will fail to source /dev/null (special
2324 # files actually), so we avoid doing that.
2325 if test -f "$cache_file"; then
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2327 $as_echo "$as_me: loading cache $cache_file" >&6;}
2329 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2330 *) . "./$cache_file";;
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2335 $as_echo "$as_me: creating cache $cache_file" >&6;}
2339 # Check that the precious variables saved in the cache have kept the same
2341 ac_cache_corrupted=false
2342 for ac_var in $ac_precious_vars; do
2343 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2344 eval ac_new_set=\$ac_env_${ac_var}_set
2345 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2346 eval ac_new_val=\$ac_env_${ac_var}_value
2347 case $ac_old_set,$ac_new_set in
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2350 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2351 ac_cache_corrupted=: ;;
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2354 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2355 ac_cache_corrupted=: ;;
2358 if test "x$ac_old_val" != "x$ac_new_val"; then
2359 # differences in whitespace do not lead to failure.
2360 ac_old_val_w=`echo x
$ac_old_val`
2361 ac_new_val_w=`echo x
$ac_new_val`
2362 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2364 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2365 ac_cache_corrupted=:
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2368 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2369 eval $ac_var=\$ac_old_val
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2372 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2374 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2377 # Pass precious variables to config.status.
2378 if test "$ac_new_set" = set; then
2380 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2381 *) ac_arg=$ac_var=$ac_new_val ;;
2383 case " $ac_configure_args " in
2384 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2385 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2389 if $ac_cache_corrupted; then
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2393 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2394 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2396 ## -------------------- ##
2397 ## Main body of script. ##
2398 ## -------------------- ##
2401 ac_cpp='$CPP $CPPFLAGS'
2402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2412 # Needed to define ${target}. Needs to be very early to avoid annoying
2413 # warning about calling AC_ARG_PROGRAM before AC_CANONICAL_SYSTEM
2415 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2416 for ac_t in install-sh install.sh shtool; do
2417 if test -f "$ac_dir/$ac_t"; then
2419 ac_install_sh="$ac_aux_dir/$ac_t -c"
2424 if test -z "$ac_aux_dir"; then
2425 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2428 # These three variables are undocumented and unsupported,
2429 # and are intended to be withdrawn in a future Autoconf release.
2430 # They can cause serious problems if a builder's source tree is in a directory
2431 # whose full name contains unusual characters.
2432 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2433 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2434 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2437 # Make sure we can run config.sub.
2438 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2439 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2442 $as_echo_n "checking build system type... " >&6; }
2443 if test "${ac_cv_build+set}" = set; then :
2444 $as_echo_n "(cached) " >&6
2446 ac_build_alias=$build_alias
2447 test "x$ac_build_alias" = x &&
2448 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2449 test "x$ac_build_alias" = x &&
2450 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2451 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2452 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2456 $as_echo "$ac_cv_build" >&6; }
2457 case $ac_cv_build in
2459 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2462 ac_save_IFS=$IFS; IFS='-'
2468 # Remember, the first character of IFS is used to create $*,
2469 # except with old shells:
2472 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2476 $as_echo_n "checking host system type... " >&6; }
2477 if test "${ac_cv_host+set}" = set; then :
2478 $as_echo_n "(cached) " >&6
2480 if test "x$host_alias" = x; then
2481 ac_cv_host=$ac_cv_build
2483 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2484 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2489 $as_echo "$ac_cv_host" >&6; }
2492 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2495 ac_save_IFS=$IFS; IFS='-'
2501 # Remember, the first character of IFS is used to create $*,
2502 # except with old shells:
2505 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2509 $as_echo_n "checking target system type... " >&6; }
2510 if test "${ac_cv_target+set}" = set; then :
2511 $as_echo_n "(cached) " >&6
2513 if test "x$target_alias" = x; then
2514 ac_cv_target=$ac_cv_host
2516 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2517 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2522 $as_echo "$ac_cv_target" >&6; }
2523 case $ac_cv_target in
2525 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2527 target=$ac_cv_target
2528 ac_save_IFS=$IFS; IFS='-'
2534 # Remember, the first character of IFS is used to create $*,
2535 # except with old shells:
2538 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2541 # The aliases save the names the user supplied, while $host etc.
2542 # will get canonicalized.
2543 test -n "$target_alias" &&
2544 test "$program_prefix$program_suffix$program_transform_name" = \
2546 program_prefix=${target_alias}-
2548 target_alias=${target_alias-$host_alias}
2550 am__api_version='1.11'
2552 # Find a good install program. We prefer a C program (faster),
2553 # so one script is as good as another. But avoid the broken or
2554 # incompatible versions:
2555 # SysV /etc/install, /usr/sbin/install
2556 # SunOS /usr/etc/install
2557 # IRIX /sbin/install
2559 # AmigaOS /C/install, which installs bootblocks on floppy discs
2560 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2561 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2562 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2563 # OS/2's system install, which has a completely different semantic
2564 # ./install, which can be erroneously created by make from ./install.sh.
2565 # Reject install programs that cannot install multiple files.
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2567 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2568 if test -z "$INSTALL"; then
2569 if test "${ac_cv_path_install+set}" = set; then :
2570 $as_echo_n "(cached) " >&6
2572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2576 test -z "$as_dir" && as_dir=.
2577 # Account for people who put trailing slashes in PATH elements.
2578 case $as_dir/ in #((
2579 ./ | .// | /[cC]/* | \
2580 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2581 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2584 # OSF1 and SCO ODT 3.0 have their own names for install.
2585 # Don't use installbsd from OSF since it installs stuff as root
2587 for ac_prog in ginstall scoinst install; do
2588 for ac_exec_ext in '' $ac_executable_extensions; do
2589 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2590 if test $ac_prog = install &&
2591 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2592 # AIX install. It has an incompatible calling convention.
2594 elif test $ac_prog = install &&
2595 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2596 # program-specific install script used by HP pwplus--don't use.
2599 rm -rf conftest.one conftest.two conftest.dir
2600 echo one > conftest.one
2601 echo two > conftest.two
2603 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2604 test -s conftest.one && test -s conftest.two &&
2605 test -s conftest.dir/conftest.one &&
2606 test -s conftest.dir/conftest.two
2608 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2621 rm -rf conftest.one conftest.two conftest.dir
2624 if test "${ac_cv_path_install+set}" = set; then
2625 INSTALL=$ac_cv_path_install
2627 # As a last resort, use the slow shell script. Don't cache a
2628 # value for INSTALL within a source directory, because that will
2629 # break other packages using the cache if that directory is
2630 # removed, or if the value is a relative name.
2631 INSTALL=$ac_install_sh
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2635 $as_echo "$INSTALL" >&6; }
2637 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2638 # It thinks the first close brace ends the variable substitution.
2639 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2641 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2643 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2646 $as_echo_n "checking whether build environment is sane... " >&6; }
2649 echo timestamp > conftest.file
2650 # Reject unsafe characters in $srcdir or the absolute working directory
2651 # name. Accept space and tab only in the latter.
2655 *[\\\"\#\$\&\'\`$am_lf]*)
2656 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2659 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2660 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2663 # Do `set' in a subshell so we don't clobber the current shell's
2664 # arguments. Must try -L first in case configure is actually a
2665 # symlink; some systems play weird games with the mod time of symlinks
2666 # (eg FreeBSD returns the mod time of the symlink's containing
2669 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2670 if test "$*" = "X"; then
2672 set X
`ls -t "$srcdir/configure" conftest.file`
2675 if test "$*" != "X $srcdir/configure conftest.file" \
2676 && test "$*" != "X conftest.file $srcdir/configure"; then
2678 # If neither matched, then we have a broken ls. This can happen
2679 # if, for instance, CONFIG_SHELL is bash and it inherits a
2680 # broken ls alias from the environment. This has actually
2681 # happened. Such a system could not be considered "sane".
2682 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2683 alias in your environment" "$LINENO" 5
2686 test "$2" = conftest.
file
2692 as_fn_error
"newly created file is older than distributed files!
2693 Check your system clock" "$LINENO" 5
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2696 $as_echo "yes" >&6; }
2697 test "$program_prefix" != NONE
&&
2698 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2699 # Use a double $ so make ignores it.
2700 test "$program_suffix" != NONE
&&
2701 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2702 # Double any \ or $.
2703 # By default was `s,x,x', remove it if useless.
2704 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2705 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2707 # expand $ac_aux_dir to an absolute path
2708 am_aux_dir
=`cd $ac_aux_dir && pwd`
2710 if test x
"${MISSING+set}" != xset
; then
2713 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2715 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2718 # Use eval to expand $SHELL
2719 if eval "$MISSING --run true"; then
2720 am_missing_run
="$MISSING --run "
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2724 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2727 if test x
"${install_sh}" != xset
; then
2730 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2732 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2736 # Installed binaries are usually stripped using `strip' when the user
2737 # run `make install-strip'. However `strip' might not be the right
2738 # tool to use in cross-compilation environments, therefore Automake
2739 # will honor the `STRIP' environment variable to overrule this program.
2740 if test "$cross_compiling" != no
; then
2741 if test -n "$ac_tool_prefix"; then
2742 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2743 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2745 $as_echo_n "checking for $ac_word... " >&6; }
2746 if test "${ac_cv_prog_STRIP+set}" = set; then :
2747 $as_echo_n "(cached) " >&6
2749 if test -n "$STRIP"; then
2750 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2756 test -z "$as_dir" && as_dir
=.
2757 for ac_exec_ext
in '' $ac_executable_extensions; do
2758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2759 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2769 STRIP
=$ac_cv_prog_STRIP
2770 if test -n "$STRIP"; then
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2772 $as_echo "$STRIP" >&6; }
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2775 $as_echo "no" >&6; }
2780 if test -z "$ac_cv_prog_STRIP"; then
2782 # Extract the first word of "strip", so it can be a program name with args.
2783 set dummy strip
; ac_word
=$2
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2785 $as_echo_n "checking for $ac_word... " >&6; }
2786 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2787 $as_echo_n "(cached) " >&6
2789 if test -n "$ac_ct_STRIP"; then
2790 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2796 test -z "$as_dir" && as_dir
=.
2797 for ac_exec_ext
in '' $ac_executable_extensions; do
2798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2799 ac_cv_prog_ac_ct_STRIP
="strip"
2800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2809 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2810 if test -n "$ac_ct_STRIP"; then
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2812 $as_echo "$ac_ct_STRIP" >&6; }
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2815 $as_echo "no" >&6; }
2818 if test "x$ac_ct_STRIP" = x
; then
2821 case $cross_compiling:$ac_tool_warned in
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2824 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2825 ac_tool_warned
=yes ;;
2830 STRIP
="$ac_cv_prog_STRIP"
2834 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2837 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2838 if test -z "$MKDIR_P"; then
2839 if test "${ac_cv_path_mkdir+set}" = set; then :
2840 $as_echo_n "(cached) " >&6
2842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2843 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2846 test -z "$as_dir" && as_dir
=.
2847 for ac_prog
in mkdir gmkdir
; do
2848 for ac_exec_ext
in '' $ac_executable_extensions; do
2849 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2850 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2851 'mkdir (GNU coreutils) '* | \
2852 'mkdir (coreutils) '* | \
2853 'mkdir (fileutils) '4.1*)
2854 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2864 if test "${ac_cv_path_mkdir+set}" = set; then
2865 MKDIR_P
="$ac_cv_path_mkdir -p"
2867 # As a last resort, use the slow shell script. Don't cache a
2868 # value for MKDIR_P within a source directory, because that will
2869 # break other packages using the cache if that directory is
2870 # removed, or if the value is a relative name.
2871 test -d .
/--version && rmdir .
/--version
2872 MKDIR_P
="$ac_install_sh -d"
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2876 $as_echo "$MKDIR_P" >&6; }
2880 [\\/$
]* | ?
:[\\/]*) ;;
2881 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2884 for ac_prog
in gawk mawk nawk
awk
2886 # Extract the first word of "$ac_prog", so it can be a program name with args.
2887 set dummy
$ac_prog; ac_word
=$2
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2889 $as_echo_n "checking for $ac_word... " >&6; }
2890 if test "${ac_cv_prog_AWK+set}" = set; then :
2891 $as_echo_n "(cached) " >&6
2893 if test -n "$AWK"; then
2894 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2900 test -z "$as_dir" && as_dir
=.
2901 for ac_exec_ext
in '' $ac_executable_extensions; do
2902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2903 ac_cv_prog_AWK
="$ac_prog"
2904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2914 if test -n "$AWK"; then
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2916 $as_echo "$AWK" >&6; }
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2919 $as_echo "no" >&6; }
2923 test -n "$AWK" && break
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2927 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2929 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2930 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2931 $as_echo_n "(cached) " >&6
2933 cat >conftest.
make <<\_ACEOF
2936 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2938 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2939 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2941 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2943 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2947 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2949 $as_echo "yes" >&6; }
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2953 $as_echo "no" >&6; }
2954 SET_MAKE
="MAKE=${MAKE-make}"
2957 rm -rf .tst
2>/dev
/null
2958 mkdir .tst
2>/dev
/null
2959 if test -d .tst
; then
2964 rmdir .tst
2>/dev
/null
2966 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2967 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2968 # is not polluted with repeated "-I."
2969 am__isrc
=' -I$(srcdir)'
2970 # test to see if srcdir already configured
2971 if test -f $srcdir/config.status
; then
2972 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2976 # test whether we have cygpath
2977 if test -z "$CYGPATH_W"; then
2978 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2979 CYGPATH_W
='cygpath -w'
2986 # Define the identity of the package.
2987 PACKAGE
='phsa-hsail-runtime-library'
2991 cat >>confdefs.h
<<_ACEOF
2992 #define PACKAGE "$PACKAGE"
2996 cat >>confdefs.h
<<_ACEOF
2997 #define VERSION "$VERSION"
3000 # Some tools Automake needs.
3002 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3005 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3008 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3011 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3014 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3016 # We need awk for the "check" target. The system "awk" is bad on
3018 # Always define AMTAR for backward compatibility. Yes, it's still used
3019 # in the wild :-( We should find a proper way to deprecate it ...
3022 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3031 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3032 # Check whether --enable-maintainer-mode was given.
3033 if test "${enable_maintainer_mode+set}" = set; then :
3034 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3036 USE_MAINTAINER_MODE
=no
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3040 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3041 if test $USE_MAINTAINER_MODE = yes; then
3042 MAINTAINER_MODE_TRUE
=
3043 MAINTAINER_MODE_FALSE
='#'
3045 MAINTAINER_MODE_TRUE
='#'
3046 MAINTAINER_MODE_FALSE
=
3049 MAINT
=$MAINTAINER_MODE_TRUE
3054 ac_cpp
='$CPP $CPPFLAGS'
3055 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3056 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3057 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3058 if test -n "$ac_tool_prefix"; then
3059 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3060 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3062 $as_echo_n "checking for $ac_word... " >&6; }
3063 if test "${ac_cv_prog_CC+set}" = set; then :
3064 $as_echo_n "(cached) " >&6
3066 if test -n "$CC"; then
3067 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 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3087 if test -n "$CC"; then
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3089 $as_echo "$CC" >&6; }
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3092 $as_echo "no" >&6; }
3097 if test -z "$ac_cv_prog_CC"; then
3099 # Extract the first word of "gcc", so it can be a program name with args.
3100 set dummy gcc
; ac_word
=$2
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3102 $as_echo_n "checking for $ac_word... " >&6; }
3103 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3104 $as_echo_n "(cached) " >&6
3106 if test -n "$ac_ct_CC"; then
3107 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3113 test -z "$as_dir" && as_dir
=.
3114 for ac_exec_ext
in '' $ac_executable_extensions; do
3115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3116 ac_cv_prog_ac_ct_CC
="gcc"
3117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3126 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3127 if test -n "$ac_ct_CC"; then
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3129 $as_echo "$ac_ct_CC" >&6; }
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3132 $as_echo "no" >&6; }
3135 if test "x$ac_ct_CC" = x
; then
3138 case $cross_compiling:$ac_tool_warned in
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3141 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3142 ac_tool_warned
=yes ;;
3150 if test -z "$CC"; then
3151 if test -n "$ac_tool_prefix"; then
3152 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3153 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3155 $as_echo_n "checking for $ac_word... " >&6; }
3156 if test "${ac_cv_prog_CC+set}" = set; then :
3157 $as_echo_n "(cached) " >&6
3159 if test -n "$CC"; then
3160 ac_cv_prog_CC
="$CC" # Let the user override the test.
3162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3166 test -z "$as_dir" && as_dir
=.
3167 for ac_exec_ext
in '' $ac_executable_extensions; do
3168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3169 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3180 if test -n "$CC"; then
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3182 $as_echo "$CC" >&6; }
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3185 $as_echo "no" >&6; }
3191 if test -z "$CC"; then
3192 # Extract the first word of "cc", so it can be a program name with args.
3193 set dummy cc
; ac_word
=$2
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3195 $as_echo_n "checking for $ac_word... " >&6; }
3196 if test "${ac_cv_prog_CC+set}" = set; then :
3197 $as_echo_n "(cached) " >&6
3199 if test -n "$CC"; then
3200 ac_cv_prog_CC
="$CC" # Let the user override the test.
3203 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3207 test -z "$as_dir" && as_dir
=.
3208 for ac_exec_ext
in '' $ac_executable_extensions; do
3209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3210 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3211 ac_prog_rejected
=yes
3215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3222 if test $ac_prog_rejected = yes; then
3223 # We found a bogon in the path, so make sure we never use it.
3224 set dummy
$ac_cv_prog_CC
3226 if test $# != 0; then
3227 # We chose a different compiler from the bogus one.
3228 # However, it has the same basename, so the bogon will be chosen
3229 # first if we set CC to just the basename; use the full file name.
3231 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3237 if test -n "$CC"; then
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3239 $as_echo "$CC" >&6; }
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3242 $as_echo "no" >&6; }
3247 if test -z "$CC"; then
3248 if test -n "$ac_tool_prefix"; then
3249 for ac_prog
in cl.exe
3251 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3252 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3254 $as_echo_n "checking for $ac_word... " >&6; }
3255 if test "${ac_cv_prog_CC+set}" = set; then :
3256 $as_echo_n "(cached) " >&6
3258 if test -n "$CC"; then
3259 ac_cv_prog_CC
="$CC" # Let the user override the test.
3261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3265 test -z "$as_dir" && as_dir
=.
3266 for ac_exec_ext
in '' $ac_executable_extensions; do
3267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3268 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3279 if test -n "$CC"; then
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3281 $as_echo "$CC" >&6; }
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3284 $as_echo "no" >&6; }
3288 test -n "$CC" && break
3291 if test -z "$CC"; then
3293 for ac_prog
in cl.exe
3295 # Extract the first word of "$ac_prog", so it can be a program name with args.
3296 set dummy
$ac_prog; ac_word
=$2
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3298 $as_echo_n "checking for $ac_word... " >&6; }
3299 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3300 $as_echo_n "(cached) " >&6
3302 if test -n "$ac_ct_CC"; then
3303 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3309 test -z "$as_dir" && as_dir
=.
3310 for ac_exec_ext
in '' $ac_executable_extensions; do
3311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3312 ac_cv_prog_ac_ct_CC
="$ac_prog"
3313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3322 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3323 if test -n "$ac_ct_CC"; then
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3325 $as_echo "$ac_ct_CC" >&6; }
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3328 $as_echo "no" >&6; }
3332 test -n "$ac_ct_CC" && break
3335 if test "x$ac_ct_CC" = x
; then
3338 case $cross_compiling:$ac_tool_warned in
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3342 ac_tool_warned
=yes ;;
3351 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3352 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3353 as_fn_error
"no acceptable C compiler found in \$PATH
3354 See \`config.log' for more details." "$LINENO" 5; }
3356 # Provide some information about the compiler.
3357 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3360 for ac_option
in --version -v -V -qversion; do
3361 { { ac_try
="$ac_compiler $ac_option >&5"
3363 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3364 *) ac_try_echo=$ac_try;;
3366 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3367 $as_echo "$ac_try_echo"; } >&5
3368 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3370 if test -s conftest.err; then
3372 ... rest of stderr output deleted ...
3373 10q' conftest.err >conftest.er1
3374 cat conftest.er1 >&5
3375 rm -f conftest.er1 conftest.err
3377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3378 test $ac_status = 0; }
3381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3382 /* end confdefs.h. */
3392 ac_clean_files_save=$ac_clean_files
3393 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3394 # Try to create an executable without -o first, disregard a.out.
3395 # It will help us diagnose broken compilers, and finding out an intuition
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3398 $as_echo_n "checking for C compiler default output file name... " >&6; }
3399 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3401 # The possible output files:
3402 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3405 for ac_file in $ac_files
3408 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3409 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3414 if { { ac_try="$ac_link_default"
3416 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3417 *) ac_try_echo
=$ac_try;;
3419 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3420 $as_echo "$ac_try_echo"; } >&5
3421 (eval "$ac_link_default") 2>&5
3423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3424 test $ac_status = 0; }; then :
3425 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3426 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3427 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3428 # so that the user can short-circuit this test for compilers unknown to
3430 for ac_file
in $ac_files ''
3432 test -f "$ac_file" ||
continue
3434 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3437 # We found the default executable, but exeext='' is most
3441 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3443 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3445 # We set ac_cv_exeext here because the later test for it is not
3446 # safe: cross compilers may not add the suffix if given an `-o'
3447 # argument, so we may need to know it at that point already.
3448 # Even if this section looks crufty: it has the advantage of
3455 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3461 $as_echo "$ac_file" >&6; }
3462 if test -z "$ac_file"; then :
3463 $as_echo "$as_me: failed program was:" >&5
3464 sed 's/^/| /' conftest.
$ac_ext >&5
3466 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3467 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3468 { as_fn_set_status
77
3469 as_fn_error
"C compiler cannot create executables
3470 See \`config.log' for more details." "$LINENO" 5; }; }
3472 ac_exeext
=$ac_cv_exeext
3474 # Check that the compiler produces executables we can run. If not, either
3475 # the compiler is broken, or we cross compile.
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3477 $as_echo_n "checking whether the C compiler works... " >&6; }
3478 # If not cross compiling, check that we can run a simple program.
3479 if test "$cross_compiling" != yes; then
3480 if { ac_try
='./$ac_file'
3481 { { case "(($ac_try" in
3482 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3483 *) ac_try_echo=$ac_try;;
3485 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3486 $as_echo "$ac_try_echo"; } >&5
3487 (eval "$ac_try") 2>&5
3489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3490 test $ac_status = 0; }; }; then
3493 if test "$cross_compiling" = maybe; then
3496 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3497 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3498 as_fn_error "cannot run C compiled programs.
3499 If you meant to cross compile
, use \
`--host'.
3500 See \`config.log
' for more details." "$LINENO" 5; }
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3505 $as_echo "yes" >&6; }
3507 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3508 ac_clean_files=$ac_clean_files_save
3509 # Check that the compiler produces executables we can run. If not, either
3510 # the compiler is broken, or we cross compile.
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3512 $as_echo_n "checking whether we are cross compiling... " >&6; }
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3514 $as_echo "$cross_compiling" >&6; }
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3517 $as_echo_n "checking for suffix of executables... " >&6; }
3518 if { { ac_try="$ac_link"
3520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3521 *) ac_try_echo=$ac_try;;
3523 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3524 $as_echo "$ac_try_echo"; } >&5
3525 (eval "$ac_link") 2>&5
3527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3528 test $ac_status = 0; }; then :
3529 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3530 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3531 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3533 for ac_file
in conftest.exe conftest conftest.
*; do
3534 test -f "$ac_file" ||
continue
3536 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3537 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3543 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3544 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3545 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3546 See \`config.log' for more details." "$LINENO" 5; }
3548 rm -f conftest
$ac_cv_exeext
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3550 $as_echo "$ac_cv_exeext" >&6; }
3552 rm -f conftest.
$ac_ext
3553 EXEEXT
=$ac_cv_exeext
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3556 $as_echo_n "checking for suffix of object files... " >&6; }
3557 if test "${ac_cv_objext+set}" = set; then :
3558 $as_echo_n "(cached) " >&6
3560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3561 /* end confdefs.h. */
3571 rm -f conftest.o conftest.obj
3572 if { { ac_try
="$ac_compile"
3574 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3575 *) ac_try_echo=$ac_try;;
3577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3578 $as_echo "$ac_try_echo"; } >&5
3579 (eval "$ac_compile") 2>&5
3581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3582 test $ac_status = 0; }; then :
3583 for ac_file in conftest.o conftest.obj conftest.*; do
3584 test -f "$ac_file" || continue;
3586 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3587 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3592 $as_echo "$as_me: failed program was:" >&5
3593 sed 's/^/| /' conftest.$ac_ext >&5
3595 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3596 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3597 as_fn_error "cannot compute suffix of object files
: cannot compile
3598 See \
`config.log' for more details." "$LINENO" 5; }
3600 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3603 $as_echo "$ac_cv_objext" >&6; }
3604 OBJEXT=$ac_cv_objext
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3607 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3608 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3609 $as_echo_n "(cached) " >&6
3611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3612 /* end confdefs.h. */
3625 if ac_fn_c_try_compile "$LINENO"; then :
3630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3631 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3635 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3636 if test $ac_compiler_gnu = yes; then
3641 ac_test_CFLAGS=${CFLAGS+set}
3642 ac_save_CFLAGS=$CFLAGS
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3644 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3645 if test "${ac_cv_prog_cc_g+set}" = set; then :
3646 $as_echo_n "(cached) " >&6
3648 ac_save_c_werror_flag=$ac_c_werror_flag
3649 ac_c_werror_flag=yes
3652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3653 /* end confdefs.h. */
3663 if ac_fn_c_try_compile "$LINENO"; then :
3667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3668 /* end confdefs.h. */
3678 if ac_fn_c_try_compile "$LINENO"; then :
3681 ac_c_werror_flag=$ac_save_c_werror_flag
3683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3684 /* end confdefs.h. */
3694 if ac_fn_c_try_compile "$LINENO"; then :
3697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3702 ac_c_werror_flag=$ac_save_c_werror_flag
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3705 $as_echo "$ac_cv_prog_cc_g" >&6; }
3706 if test "$ac_test_CFLAGS" = set; then
3707 CFLAGS=$ac_save_CFLAGS
3708 elif test $ac_cv_prog_cc_g = yes; then
3709 if test "$GCC" = yes; then
3715 if test "$GCC" = yes; then
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3722 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3723 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3724 $as_echo_n "(cached) " >&6
3726 ac_cv_prog_cc_c89=no
3728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3729 /* end confdefs.h. */
3732 #include <sys/types.h>
3733 #include <sys/stat.h>
3734 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3735 struct buf { int x; };
3736 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3737 static char *e (p, i)
3743 static char *f (char * (*g) (char **, int), char **p, ...)
3748 s = g (p, va_arg (v,int));
3753 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3754 function prototypes and stuff, but not '\xHH' hex character constants.
3755 These don't provoke an error unfortunately, instead are silently treated
3756 as 'x'. The following induces an error, until -std is added to get
3757 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3758 array size at least. It's necessary to write '\x00'==0 to get something
3759 that's true only with -std. */
3760 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3762 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3763 inside strings and character constants. */
3765 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3767 int test (int i, double x);
3768 struct s1 {int (*f) (int a);};
3769 struct s2 {int (*f) (double a);};
3770 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3776 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3781 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3782 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3784 CC="$ac_save_CC $ac_arg"
3785 if ac_fn_c_try_compile "$LINENO"; then :
3786 ac_cv_prog_cc_c89=$ac_arg
3788 rm -f core conftest.err conftest.$ac_objext
3789 test "x$ac_cv_prog_cc_c89" != "xno" && break
3791 rm -f conftest.$ac_ext
3796 case "x$ac_cv_prog_cc_c89" in
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3799 $as_echo "none needed" >&6; } ;;
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3802 $as_echo "unsupported" >&6; } ;;
3804 CC="$CC $ac_cv_prog_cc_c89"
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3806 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3808 if test "x$ac_cv_prog_cc_c89" != xno; then :
3813 ac_cpp='$CPP $CPPFLAGS'
3814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3817 DEPDIR="${am__leading_dot}deps"
3819 ac_config_commands="$ac_config_commands depfiles"
3822 am_make=${MAKE-make}
3823 cat > confinc << 'END'
3825 @echo this is the am__doit target
3828 # If we don't find an include directive, just comment out the code.
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3830 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3834 # First try GNU make style include.
3835 echo "include confinc" > confmf
3836 # Ignore all kinds of additional output from `make'.
3837 case `$am_make -s -f confmf 2> /dev/null` in #(
3838 *the\ am__doit\ target*)
3844 # Now try BSD make style include.
3845 if test "$am__include" = "#"; then
3846 echo '.include
"confinc"' > confmf
3847 case `$am_make -s -f confmf 2> /dev/null` in #(
3848 *the\ am__doit\ target*)
3849 am__include=.include
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3858 $as_echo "$_am_result" >&6; }
3859 rm -f confinc confmf
3861 # Check whether --enable-dependency-tracking was given.
3862 if test "${enable_dependency_tracking+set}" = set; then :
3863 enableval=$enable_dependency_tracking;
3866 if test "x$enable_dependency_tracking" != xno; then
3867 am_depcomp="$ac_aux_dir/depcomp"
3871 if test "x$enable_dependency_tracking" != xno
; then
3881 depcc
="$CC" am_compiler_list
=
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3884 $as_echo_n "checking dependency style of $depcc... " >&6; }
3885 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3886 $as_echo_n "(cached) " >&6
3888 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3889 # We make a subdir and do the tests there. Otherwise we can end up
3890 # making bogus files that we don't know about and never remove. For
3891 # instance it was reported that on HP-UX the gcc test will end up
3892 # making a dummy file named `D' -- because `-MD' means `put the output
3896 # Copy depcomp to subdir because otherwise we won't find it if we're
3897 # using a relative directory.
3898 cp "$am_depcomp" conftest.dir
3900 # We will build objects and dependencies in a subdirectory because
3901 # it helps to detect inapplicable dependency modes. For instance
3902 # both Tru64's cc and ICC support -MD to output dependencies as a
3903 # side effect of compilation, but ICC will put the dependencies in
3904 # the current directory while Tru64 will put them in the object
3908 am_cv_CC_dependencies_compiler_type
=none
3909 if test "$am_compiler_list" = ""; then
3910 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3913 case " $depcc " in #(
3914 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3917 for depmode
in $am_compiler_list; do
3918 # Setup a source with many dependencies, because some compilers
3919 # like to wrap large dependency lists on column 80 (with \), and
3920 # we should not choose a depcomp mode which is confused by this.
3922 # We need to recreate these files for each test, as the compiler may
3923 # overwrite some of them when testing with obscure command lines.
3924 # This happens at least with the AIX C compiler.
3926 for i
in 1 2 3 4 5 6; do
3927 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3928 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3929 # Solaris 8's {/usr,}/bin/sh.
3930 touch sub
/conftst
$i.h
3932 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3934 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3935 # mode. It turns out that the SunPro C++ compiler does not properly
3936 # handle `-M -o', and we need to detect this. Also, some Intel
3937 # versions had trouble with output in subdirs
3938 am__obj
=sub
/conftest.
${OBJEXT-o}
3939 am__minus_obj
="-o $am__obj"
3942 # This depmode causes a compiler race in universal mode.
3943 test "$am__universal" = false ||
continue
3946 # after this tag, mechanisms are not by side-effect, so they'll
3947 # only be used when explicitly requested
3948 if test "x$enable_dependency_tracking" = xyes
; then
3954 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
3955 # This compiler won't grok `-c -o', but also, the minuso test has
3956 # not run yet. These depmodes are late enough in the game, and
3957 # so weak that their functioning should not be impacted.
3958 am__obj
=conftest.
${OBJEXT-o}
3963 if depmode
=$depmode \
3964 source=sub
/conftest.c object
=$am__obj \
3965 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3966 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3967 >/dev
/null
2>conftest.err
&&
3968 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3969 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3970 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3971 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3972 # icc doesn't choke on unknown options, it will just issue warnings
3973 # or remarks (even with -Werror). So we grep stderr for any message
3974 # that says an option was ignored or not supported.
3975 # When given -MP, icc 7.0 and 7.1 complain thusly:
3976 # icc: Command line warning: ignoring option '-M'; no argument required
3977 # The diagnosis changed in icc 8.0:
3978 # icc: Command line remark: option '-MP' not supported
3979 if (grep 'ignoring option' conftest.err ||
3980 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3981 am_cv_CC_dependencies_compiler_type
=$depmode
3990 am_cv_CC_dependencies_compiler_type
=none
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3995 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3996 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3999 test "x$enable_dependency_tracking" != xno \
4000 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4002 am__fastdepCC_FALSE
='#'
4004 am__fastdepCC_TRUE
='#'
4005 am__fastdepCC_FALSE
=
4010 ac_cpp
='$CXXCPP $CPPFLAGS'
4011 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4012 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4013 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4014 if test -z "$CXX"; then
4015 if test -n "$CCC"; then
4018 if test -n "$ac_tool_prefix"; then
4019 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4021 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4022 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4024 $as_echo_n "checking for $ac_word... " >&6; }
4025 if test "${ac_cv_prog_CXX+set}" = set; then :
4026 $as_echo_n "(cached) " >&6
4028 if test -n "$CXX"; then
4029 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4035 test -z "$as_dir" && as_dir
=.
4036 for ac_exec_ext
in '' $ac_executable_extensions; do
4037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4038 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4049 if test -n "$CXX"; then
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4051 $as_echo "$CXX" >&6; }
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4054 $as_echo "no" >&6; }
4058 test -n "$CXX" && break
4061 if test -z "$CXX"; then
4063 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4065 # Extract the first word of "$ac_prog", so it can be a program name with args.
4066 set dummy
$ac_prog; ac_word
=$2
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4068 $as_echo_n "checking for $ac_word... " >&6; }
4069 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4070 $as_echo_n "(cached) " >&6
4072 if test -n "$ac_ct_CXX"; then
4073 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4079 test -z "$as_dir" && as_dir
=.
4080 for ac_exec_ext
in '' $ac_executable_extensions; do
4081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4082 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4092 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4093 if test -n "$ac_ct_CXX"; then
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4095 $as_echo "$ac_ct_CXX" >&6; }
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4098 $as_echo "no" >&6; }
4102 test -n "$ac_ct_CXX" && break
4105 if test "x$ac_ct_CXX" = x
; then
4108 case $cross_compiling:$ac_tool_warned in
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4112 ac_tool_warned
=yes ;;
4120 # Provide some information about the compiler.
4121 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4124 for ac_option
in --version -v -V -qversion; do
4125 { { ac_try
="$ac_compiler $ac_option >&5"
4127 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4128 *) ac_try_echo=$ac_try;;
4130 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4131 $as_echo "$ac_try_echo"; } >&5
4132 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4134 if test -s conftest.err; then
4136 ... rest of stderr output deleted ...
4137 10q' conftest.err >conftest.er1
4138 cat conftest.er1 >&5
4139 rm -f conftest.er1 conftest.err
4141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4142 test $ac_status = 0; }
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4146 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4147 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4148 $as_echo_n "(cached) " >&6
4150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4151 /* end confdefs.h. */
4164 if ac_fn_cxx_try_compile "$LINENO"; then :
4169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4170 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4174 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4175 if test $ac_compiler_gnu = yes; then
4180 ac_test_CXXFLAGS=${CXXFLAGS+set}
4181 ac_save_CXXFLAGS=$CXXFLAGS
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4183 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4184 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4185 $as_echo_n "(cached) " >&6
4187 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4188 ac_cxx_werror_flag=yes
4191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4192 /* end confdefs.h. */
4202 if ac_fn_cxx_try_compile "$LINENO"; then :
4203 ac_cv_prog_cxx_g=yes
4206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4207 /* end confdefs.h. */
4217 if ac_fn_cxx_try_compile "$LINENO"; then :
4220 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4223 /* end confdefs.h. */
4233 if ac_fn_cxx_try_compile "$LINENO"; then :
4234 ac_cv_prog_cxx_g=yes
4236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4241 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4244 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4245 if test "$ac_test_CXXFLAGS" = set; then
4246 CXXFLAGS=$ac_save_CXXFLAGS
4247 elif test $ac_cv_prog_cxx_g = yes; then
4248 if test "$GXX" = yes; then
4254 if test "$GXX" = yes; then
4261 ac_cpp='$CPP $CPPFLAGS'
4262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4266 depcc="$CXX" am_compiler_list=
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4269 $as_echo_n "checking dependency style of $depcc... " >&6; }
4270 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4271 $as_echo_n "(cached) " >&6
4273 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4274 # We make a subdir and do the tests there. Otherwise we can end up
4275 # making bogus files that we don't know about and never remove. For
4276 # instance it was reported that on HP-UX the gcc test will end up
4277 # making a dummy file named `D
' -- because `-MD' means
`put the output
4281 # Copy depcomp to subdir because otherwise we won't find it if we're
4282 # using a relative directory.
4283 cp "$am_depcomp" conftest.dir
4285 # We will build objects and dependencies in a subdirectory because
4286 # it helps to detect inapplicable dependency modes. For instance
4287 # both Tru64's cc and ICC support -MD to output dependencies as a
4288 # side effect of compilation, but ICC will put the dependencies in
4289 # the current directory while Tru64 will put them in the object
4293 am_cv_CXX_dependencies_compiler_type=none
4294 if test "$am_compiler_list" = ""; then
4295 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4298 case " $depcc " in #(
4299 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4302 for depmode in $am_compiler_list; do
4303 # Setup a source with many dependencies, because some compilers
4304 # like to wrap large dependency lists on column 80 (with \), and
4305 # we should not choose a depcomp mode which is confused by this.
4307 # We need to recreate these files for each test, as the compiler may
4308 # overwrite some of them when testing with obscure command lines.
4309 # This happens at least with the AIX C compiler.
4311 for i in 1 2 3 4 5 6; do
4312 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4313 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4314 # Solaris 8's
{/usr
,}/bin
/sh.
4315 touch sub
/conftst
$i.h
4317 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4319 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4320 # mode. It turns out that the SunPro C++ compiler does not properly
4321 # handle `-M -o', and we need to detect this. Also, some Intel
4322 # versions had trouble with output in subdirs
4323 am__obj
=sub
/conftest.
${OBJEXT-o}
4324 am__minus_obj
="-o $am__obj"
4327 # This depmode causes a compiler race in universal mode.
4328 test "$am__universal" = false ||
continue
4331 # after this tag, mechanisms are not by side-effect, so they'll
4332 # only be used when explicitly requested
4333 if test "x$enable_dependency_tracking" = xyes
; then
4339 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4340 # This compiler won't grok `-c -o', but also, the minuso test has
4341 # not run yet. These depmodes are late enough in the game, and
4342 # so weak that their functioning should not be impacted.
4343 am__obj
=conftest.
${OBJEXT-o}
4348 if depmode
=$depmode \
4349 source=sub
/conftest.c object
=$am__obj \
4350 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4351 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4352 >/dev
/null
2>conftest.err
&&
4353 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4354 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4355 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4356 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4357 # icc doesn't choke on unknown options, it will just issue warnings
4358 # or remarks (even with -Werror). So we grep stderr for any message
4359 # that says an option was ignored or not supported.
4360 # When given -MP, icc 7.0 and 7.1 complain thusly:
4361 # icc: Command line warning: ignoring option '-M'; no argument required
4362 # The diagnosis changed in icc 8.0:
4363 # icc: Command line remark: option '-MP' not supported
4364 if (grep 'ignoring option' conftest.err ||
4365 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4366 am_cv_CXX_dependencies_compiler_type
=$depmode
4375 am_cv_CXX_dependencies_compiler_type
=none
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4380 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4381 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4384 test "x$enable_dependency_tracking" != xno \
4385 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4386 am__fastdepCXX_TRUE
=
4387 am__fastdepCXX_FALSE
='#'
4389 am__fastdepCXX_TRUE
='#'
4390 am__fastdepCXX_FALSE
=
4395 ac_config_files
="$ac_config_files Makefile"
4398 if test "${multilib}" = "yes"; then
4399 multilib_arg
="--enable-multilib"
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
4405 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
4406 # Check whether --enable-version-specific-runtime-libs was given.
4407 if test "${enable_version_specific_runtime_libs+set}" = set; then :
4408 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
4409 yes) enable_version_specific_runtime_libs
=yes ;;
4410 no
) enable_version_specific_runtime_libs
=no
;;
4411 *) as_fn_error
"Unknown argument to enable/disable version-specific libs
4415 enable_version_specific_runtime_libs
=no
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_version_specific_runtime_libs" >&5
4419 $as_echo "$enable_version_specific_runtime_libs" >&6; }
4421 # Calculate toolexeclibdir
4422 # Also toolexecdir, though it's only used in toolexeclibdir
4423 case ${enable_version_specific_runtime_libs} in
4425 # Need the gcc compiler version to know where to install libraries
4426 # and header files if --enable-version-specific-runtime-libs option
4428 toolexecdir
='$(libdir)/gcc/$(target_alias)'
4429 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4432 if test -n "$with_cross_host" &&
4433 test x
"$with_cross_host" != x
"no"; then
4434 # Install a library built with a cross compiler in tooldir, not libdir.
4435 toolexecdir
='$(exec_prefix)/$(target_alias)'
4436 toolexeclibdir
='$(toolexecdir)/lib'
4438 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
4439 toolexeclibdir
='$(libdir)'
4441 multi_os_directory
=`$CC -print-multi-os-directory`
4442 case $multi_os_directory in
4443 .
) ;; # Avoid trailing /.
4444 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
4449 # Set config_dir based on the target. config_dir specifies where to get
4450 # target-specific files. The generic implementation is incomplete, but
4451 # contains information on what's needed
4463 config_dir
="generic"
4469 # We have linker scripts for appropriate operating systems
4470 linux_linker_script
=no
4473 linux_linker_script
=yes
4476 if test "$linux_linker_script" = "yes"; then
4477 LINUX_LINKER_SCRIPT_TRUE
=
4478 LINUX_LINKER_SCRIPT_FALSE
='#'
4480 LINUX_LINKER_SCRIPT_TRUE
='#'
4481 LINUX_LINKER_SCRIPT_FALSE
=
4485 mac_linker_script
=no
4488 mac_linker_script
=yes
4491 if test "$mac_linker_script" = "yes"; then
4492 MAC_LINKER_SCRIPT_TRUE
=
4493 MAC_LINKER_SCRIPT_FALSE
='#'
4495 MAC_LINKER_SCRIPT_TRUE
='#'
4496 MAC_LINKER_SCRIPT_FALSE
=
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4507 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4512 macro_version
='2.2.7a'
4513 macro_revision
='1.3134'
4527 ltmain
="$ac_aux_dir/ltmain.sh"
4529 # Backslashify metacharacters that are still active within
4530 # double-quoted strings.
4531 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4533 # Same as above, but do not quote variable references.
4534 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4536 # Sed substitution to delay expansion of an escaped shell variable in a
4537 # double_quote_subst'ed string.
4538 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4540 # Sed substitution to delay expansion of an escaped single quote.
4541 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4543 # Sed substitution to avoid accidental globbing in evaled expressions
4544 no_glob_subst
='s/\*/\\\*/g'
4546 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4547 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4548 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4551 $as_echo_n "checking how to print strings... " >&6; }
4552 # Test print first, because it will be a builtin if present.
4553 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4554 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4556 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4559 # Use this function as a fallback that always works.
4560 func_fallback_echo ()
4562 eval 'cat <<_LTECHO_EOF
4566 ECHO='func_fallback_echo
'
4569 # func_echo_all arg...
4570 # Invoke $ECHO with all args, space-separated.
4577 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4578 $as_echo "printf" >&6; } ;;
4579 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4580 $as_echo "print -r" >&6; } ;;
4581 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4582 $as_echo "cat" >&6; } ;;
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4599 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4600 if test "${ac_cv_path_SED+set}" = set; then :
4601 $as_echo_n "(cached) " >&6
4603 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4604 for ac_i in 1 2 3 4 5 6 7; do
4605 ac_script="$ac_script$as_nl$ac_script"
4607 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4608 { ac_script=; unset ac_script;}
4609 if test -z "$SED"; then
4610 ac_path_SED_found=false
4611 # Loop through the user's path and
test for each of PROGNAME-LIST
4612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4616 test -z "$as_dir" && as_dir
=.
4617 for ac_prog
in sed gsed
; do
4618 for ac_exec_ext
in '' $ac_executable_extensions; do
4619 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4620 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4621 # Check for GNU ac_path_SED and select it if it is found.
4622 # Check for GNU $ac_path_SED
4623 case `"$ac_path_SED" --version 2>&1` in
4625 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4628 $as_echo_n 0123456789 >"conftest.in"
4631 cat "conftest.in" "conftest.in" >"conftest.tmp"
4632 mv "conftest.tmp" "conftest.in"
4633 cp "conftest.in" "conftest.nl"
4634 $as_echo '' >> "conftest.nl"
4635 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4636 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4637 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4638 if test $ac_count -gt ${ac_path_SED_max-0}; then
4639 # Best one so far, save it but keep looking for a better one
4640 ac_cv_path_SED
="$ac_path_SED"
4641 ac_path_SED_max
=$ac_count
4643 # 10*(2^10) chars as input seems more than enough
4644 test $ac_count -gt 10 && break
4646 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4649 $ac_path_SED_found && break 3
4654 if test -z "$ac_cv_path_SED"; then
4655 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4663 $as_echo "$ac_cv_path_SED" >&6; }
4664 SED
="$ac_cv_path_SED"
4667 test -z "$SED" && SED
=sed
4668 Xsed
="$SED -e 1s/^X//"
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4681 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4682 if test "${ac_cv_path_GREP+set}" = set; then :
4683 $as_echo_n "(cached) " >&6
4685 if test -z "$GREP"; then
4686 ac_path_GREP_found
=false
4687 # Loop through the user's path and test for each of PROGNAME-LIST
4688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4689 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4692 test -z "$as_dir" && as_dir
=.
4693 for ac_prog
in grep ggrep
; do
4694 for ac_exec_ext
in '' $ac_executable_extensions; do
4695 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4696 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4697 # Check for GNU ac_path_GREP and select it if it is found.
4698 # Check for GNU $ac_path_GREP
4699 case `"$ac_path_GREP" --version 2>&1` in
4701 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4704 $as_echo_n 0123456789 >"conftest.in"
4707 cat "conftest.in" "conftest.in" >"conftest.tmp"
4708 mv "conftest.tmp" "conftest.in"
4709 cp "conftest.in" "conftest.nl"
4710 $as_echo 'GREP' >> "conftest.nl"
4711 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4712 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4713 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4714 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4715 # Best one so far, save it but keep looking for a better one
4716 ac_cv_path_GREP
="$ac_path_GREP"
4717 ac_path_GREP_max
=$ac_count
4719 # 10*(2^10) chars as input seems more than enough
4720 test $ac_count -gt 10 && break
4722 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4725 $ac_path_GREP_found && break 3
4730 if test -z "$ac_cv_path_GREP"; then
4731 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4734 ac_cv_path_GREP
=$GREP
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4739 $as_echo "$ac_cv_path_GREP" >&6; }
4740 GREP
="$ac_cv_path_GREP"
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4744 $as_echo_n "checking for egrep... " >&6; }
4745 if test "${ac_cv_path_EGREP+set}" = set; then :
4746 $as_echo_n "(cached) " >&6
4748 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4749 then ac_cv_path_EGREP
="$GREP -E"
4751 if test -z "$EGREP"; then
4752 ac_path_EGREP_found
=false
4753 # Loop through the user's path and test for each of PROGNAME-LIST
4754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4755 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4758 test -z "$as_dir" && as_dir
=.
4759 for ac_prog
in egrep; do
4760 for ac_exec_ext
in '' $ac_executable_extensions; do
4761 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4762 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4763 # Check for GNU ac_path_EGREP and select it if it is found.
4764 # Check for GNU $ac_path_EGREP
4765 case `"$ac_path_EGREP" --version 2>&1` in
4767 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4770 $as_echo_n 0123456789 >"conftest.in"
4773 cat "conftest.in" "conftest.in" >"conftest.tmp"
4774 mv "conftest.tmp" "conftest.in"
4775 cp "conftest.in" "conftest.nl"
4776 $as_echo 'EGREP' >> "conftest.nl"
4777 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4778 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4779 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4780 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4781 # Best one so far, save it but keep looking for a better one
4782 ac_cv_path_EGREP
="$ac_path_EGREP"
4783 ac_path_EGREP_max
=$ac_count
4785 # 10*(2^10) chars as input seems more than enough
4786 test $ac_count -gt 10 && break
4788 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4791 $ac_path_EGREP_found && break 3
4796 if test -z "$ac_cv_path_EGREP"; then
4797 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4800 ac_cv_path_EGREP
=$EGREP
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4806 $as_echo "$ac_cv_path_EGREP" >&6; }
4807 EGREP
="$ac_cv_path_EGREP"
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4811 $as_echo_n "checking for fgrep... " >&6; }
4812 if test "${ac_cv_path_FGREP+set}" = set; then :
4813 $as_echo_n "(cached) " >&6
4815 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4816 then ac_cv_path_FGREP
="$GREP -F"
4818 if test -z "$FGREP"; then
4819 ac_path_FGREP_found
=false
4820 # Loop through the user's path and test for each of PROGNAME-LIST
4821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4822 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4825 test -z "$as_dir" && as_dir
=.
4826 for ac_prog
in fgrep
; do
4827 for ac_exec_ext
in '' $ac_executable_extensions; do
4828 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4829 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4830 # Check for GNU ac_path_FGREP and select it if it is found.
4831 # Check for GNU $ac_path_FGREP
4832 case `"$ac_path_FGREP" --version 2>&1` in
4834 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4837 $as_echo_n 0123456789 >"conftest.in"
4840 cat "conftest.in" "conftest.in" >"conftest.tmp"
4841 mv "conftest.tmp" "conftest.in"
4842 cp "conftest.in" "conftest.nl"
4843 $as_echo 'FGREP' >> "conftest.nl"
4844 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4845 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4846 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4847 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4848 # Best one so far, save it but keep looking for a better one
4849 ac_cv_path_FGREP
="$ac_path_FGREP"
4850 ac_path_FGREP_max
=$ac_count
4852 # 10*(2^10) chars as input seems more than enough
4853 test $ac_count -gt 10 && break
4855 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4858 $ac_path_FGREP_found && break 3
4863 if test -z "$ac_cv_path_FGREP"; then
4864 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4867 ac_cv_path_FGREP
=$FGREP
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4873 $as_echo "$ac_cv_path_FGREP" >&6; }
4874 FGREP
="$ac_cv_path_FGREP"
4877 test -z "$GREP" && GREP
=grep
4897 # Check whether --with-gnu-ld was given.
4898 if test "${with_gnu_ld+set}" = set; then :
4899 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4905 if test "$GCC" = yes; then
4906 # Check if gcc -print-prog-name=ld gives a path.
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4908 $as_echo_n "checking for ld used by $CC... " >&6; }
4911 # gcc leaves a trailing carriage return which upsets mingw
4912 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4914 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4917 # Accept absolute paths.
4919 re_direlt
='/[^/][^/]*/\.\./'
4920 # Canonicalize the pathname of ld
4921 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4922 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4923 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4925 test -z "$LD" && LD
="$ac_prog"
4928 # If it fails, then pretend we aren't using GCC.
4932 # If it is relative, then search for the first ld in PATH.
4936 elif test "$with_gnu_ld" = yes; then
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4938 $as_echo_n "checking for GNU ld... " >&6; }
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4941 $as_echo_n "checking for non-GNU ld... " >&6; }
4943 if test "${lt_cv_path_LD+set}" = set; then :
4944 $as_echo_n "(cached) " >&6
4946 if test -z "$LD"; then
4947 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4948 for ac_dir
in $PATH; do
4950 test -z "$ac_dir" && ac_dir
=.
4951 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4952 lt_cv_path_LD
="$ac_dir/$ac_prog"
4953 # Check to see if the program is GNU ld. I'd rather use --version,
4954 # but apparently some variants of GNU ld only accept -v.
4955 # Break only if it was the GNU/non-GNU ld that we prefer.
4956 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4957 *GNU
* |
*'with BFD'*)
4958 test "$with_gnu_ld" != no
&& break
4961 test "$with_gnu_ld" != yes && break
4968 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4973 if test -n "$LD"; then
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4975 $as_echo "$LD" >&6; }
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4978 $as_echo "no" >&6; }
4980 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4982 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4983 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4984 $as_echo_n "(cached) " >&6
4986 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4987 case `$LD -v 2>&1 </dev/null` in
4988 *GNU
* |
*'with BFD'*)
4989 lt_cv_prog_gnu_ld
=yes
4992 lt_cv_prog_gnu_ld
=no
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4997 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4998 with_gnu_ld
=$lt_cv_prog_gnu_ld
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5009 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5010 if test "${lt_cv_path_NM+set}" = set; then :
5011 $as_echo_n "(cached) " >&6
5013 if test -n "$NM"; then
5014 # Let the user override the test.
5017 lt_nm_to_check
="${ac_tool_prefix}nm"
5018 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5019 lt_nm_to_check
="$lt_nm_to_check nm"
5021 for lt_tmp_nm
in $lt_nm_to_check; do
5022 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5023 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5025 test -z "$ac_dir" && ac_dir
=.
5026 tmp_nm
="$ac_dir/$lt_tmp_nm"
5027 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5028 # Check to see if the nm accepts a BSD-compat flag.
5029 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5030 # nm: unknown option "B" ignored
5031 # Tru64's nm complains that /dev/null is an invalid object file
5032 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5033 */dev
/null
* |
*'Invalid file or object type'*)
5034 lt_cv_path_NM
="$tmp_nm -B"
5038 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5040 lt_cv_path_NM
="$tmp_nm -p"
5044 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5045 continue # so that we can try to find one that supports BSD flags
5054 : ${lt_cv_path_NM=no}
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5058 $as_echo "$lt_cv_path_NM" >&6; }
5059 if test "$lt_cv_path_NM" != "no"; then
5062 # Didn't find any BSD compatible name lister, look for dumpbin.
5063 if test -n "$DUMPBIN"; then :
5064 # Let the user override the test.
5066 if test -n "$ac_tool_prefix"; then
5067 for ac_prog
in dumpbin
"link -dump"
5069 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5070 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5072 $as_echo_n "checking for $ac_word... " >&6; }
5073 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5074 $as_echo_n "(cached) " >&6
5076 if test -n "$DUMPBIN"; then
5077 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5083 test -z "$as_dir" && as_dir
=.
5084 for ac_exec_ext
in '' $ac_executable_extensions; do
5085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5086 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5096 DUMPBIN
=$ac_cv_prog_DUMPBIN
5097 if test -n "$DUMPBIN"; then
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5099 $as_echo "$DUMPBIN" >&6; }
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5102 $as_echo "no" >&6; }
5106 test -n "$DUMPBIN" && break
5109 if test -z "$DUMPBIN"; then
5110 ac_ct_DUMPBIN
=$DUMPBIN
5111 for ac_prog
in dumpbin
"link -dump"
5113 # Extract the first word of "$ac_prog", so it can be a program name with args.
5114 set dummy
$ac_prog; ac_word
=$2
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5116 $as_echo_n "checking for $ac_word... " >&6; }
5117 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5118 $as_echo_n "(cached) " >&6
5120 if test -n "$ac_ct_DUMPBIN"; then
5121 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5127 test -z "$as_dir" && as_dir
=.
5128 for ac_exec_ext
in '' $ac_executable_extensions; do
5129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5130 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5140 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5141 if test -n "$ac_ct_DUMPBIN"; then
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5143 $as_echo "$ac_ct_DUMPBIN" >&6; }
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5146 $as_echo "no" >&6; }
5150 test -n "$ac_ct_DUMPBIN" && break
5153 if test "x$ac_ct_DUMPBIN" = x
; then
5156 case $cross_compiling:$ac_tool_warned in
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5159 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5160 ac_tool_warned
=yes ;;
5162 DUMPBIN
=$ac_ct_DUMPBIN
5166 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5168 DUMPBIN
="$DUMPBIN -symbols"
5176 if test "$DUMPBIN" != ":"; then
5180 test -z "$NM" && NM
=nm
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5188 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5189 if test "${lt_cv_nm_interface+set}" = set; then :
5190 $as_echo_n "(cached) " >&6
5192 lt_cv_nm_interface
="BSD nm"
5193 echo "int some_variable = 0;" > conftest.
$ac_ext
5194 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5195 (eval "$ac_compile" 2>conftest.err
)
5196 cat conftest.err
>&5
5197 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5198 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5199 cat conftest.err
>&5
5200 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5201 cat conftest.out
>&5
5202 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5203 lt_cv_nm_interface
="MS dumpbin"
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5208 $as_echo "$lt_cv_nm_interface" >&6; }
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5211 $as_echo_n "checking whether ln -s works... " >&6; }
5213 if test "$LN_S" = "ln -s"; then
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5215 $as_echo "yes" >&6; }
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5218 $as_echo "no, using $LN_S" >&6; }
5221 # find the maximum length of command line arguments
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5223 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5224 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5225 $as_echo_n "(cached) " >&6
5232 # On DJGPP, this test can blow up pretty badly due to problems in libc
5233 # (any single argument exceeding 2000 bytes causes a buffer overrun
5234 # during glob expansion). Even if it were fixed, the result of this
5235 # check would be larger than it should be.
5236 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5240 # Under GNU Hurd, this test is not required because there is
5241 # no limit to the length of command line arguments.
5242 # Libtool will interpret -1 as no limit whatsoever
5243 lt_cv_sys_max_cmd_len
=-1;
5246 cygwin
* | mingw
* | cegcc
*)
5247 # On Win9x/ME, this test blows up -- it succeeds, but takes
5248 # about 5 minutes as the teststring grows exponentially.
5249 # Worse, since 9x/ME are not pre-emptively multitasking,
5250 # you end up with a "frozen" computer, even though with patience
5251 # the test eventually succeeds (with a max line length of 256k).
5252 # Instead, let's just punt: use the minimum linelength reported by
5253 # all of the supported platforms: 8192 (on NT/2K/XP).
5254 lt_cv_sys_max_cmd_len
=8192;
5258 # On MiNT this can take a long time and run out of memory.
5259 lt_cv_sys_max_cmd_len
=8192;
5263 # On AmigaOS with pdksh, this test takes hours, literally.
5264 # So we just punt and use a minimum line length of 8192.
5265 lt_cv_sys_max_cmd_len
=8192;
5268 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5269 # This has been around since 386BSD, at least. Likely further.
5270 if test -x /sbin
/sysctl
; then
5271 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5272 elif test -x /usr
/sbin
/sysctl
; then
5273 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5275 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5277 # And add a safety zone
5278 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5279 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5283 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5284 lt_cv_sys_max_cmd_len
=196608
5288 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5289 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5290 # nice to cause kernel panics so lets avoid the loop below.
5291 # First set a reasonable default.
5292 lt_cv_sys_max_cmd_len
=16384
5294 if test -x /sbin
/sysconfig
; then
5295 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5296 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5301 lt_cv_sys_max_cmd_len
=102400
5303 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5304 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5305 if test -n "$kargmax"; then
5306 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5308 lt_cv_sys_max_cmd_len
=32768
5312 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5313 if test -n "$lt_cv_sys_max_cmd_len"; then
5314 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5315 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5317 # Make teststring a little bigger before we do anything with it.
5318 # a 1K string should be a reasonable start.
5319 for i
in 1 2 3 4 5 6 7 8 ; do
5320 teststring
=$teststring$teststring
5322 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5323 # If test is not a shell built-in, we'll probably end up computing a
5324 # maximum length that is only half of the actual maximum length, but
5326 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5327 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5328 test $i != 17 # 1/2 MB should be enough
5331 teststring
=$teststring$teststring
5333 # Only check the string length outside the loop.
5334 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5336 # Add a significant safety factor because C++ compilers can tack on
5337 # massive amounts of additional arguments before passing them to the
5338 # linker. It appears as though 1/2 is a usable value.
5339 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5346 if test -n $lt_cv_sys_max_cmd_len ; then
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5348 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5351 $as_echo "none" >&6; }
5353 max_cmd_len
=$lt_cv_sys_max_cmd_len
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5365 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5366 # Try some XSI features
5369 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5371 && eval 'test $(( 1 + 1 )) -eq 2 \
5372 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5375 $as_echo "$xsi_shell" >&6; }
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5379 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5381 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5383 && lt_shell_append=yes
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5385 $as_echo "$lt_shell_append" >&6; }
5388 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5398 # test EBCDIC or ASCII
5399 case `echo X|tr X '\101'` in
5400 A) # ASCII based system
5401 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5402 lt_SP2NL='tr \040 \012'
5403 lt_NL2SP='tr \015\012 \040\040'
5405 *) # EBCDIC based system
5406 lt_SP2NL='tr \100 \n'
5407 lt_NL2SP='tr \r\n \100\100'
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5420 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5421 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5422 $as_echo_n "(cached
) " >&6
5424 lt_cv_ld_reload_flag='-r'
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5427 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5428 reload_flag=$lt_cv_ld_reload_flag
5429 case $reload_flag in
5431 *) reload_flag=" $reload_flag" ;;
5433 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5436 if test "$GCC" = yes; then
5437 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5439 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5452 if test -n "$ac_tool_prefix"; then
5453 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5454 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5456 $as_echo_n "checking
for $ac_word...
" >&6; }
5457 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5458 $as_echo_n "(cached
) " >&6
5460 if test -n "$OBJDUMP"; then
5461 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5467 test -z "$as_dir" && as_dir=.
5468 for ac_exec_ext in '' $ac_executable_extensions; do
5469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5470 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5471 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5480 OBJDUMP=$ac_cv_prog_OBJDUMP
5481 if test -n "$OBJDUMP"; then
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5483 $as_echo "$OBJDUMP" >&6; }
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5486 $as_echo "no
" >&6; }
5491 if test -z "$ac_cv_prog_OBJDUMP"; then
5492 ac_ct_OBJDUMP=$OBJDUMP
5493 # Extract the first word of "objdump
", so it can be a program name with args.
5494 set dummy objdump; ac_word=$2
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5496 $as_echo_n "checking
for $ac_word...
" >&6; }
5497 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5498 $as_echo_n "(cached
) " >&6
5500 if test -n "$ac_ct_OBJDUMP"; then
5501 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5507 test -z "$as_dir" && as_dir=.
5508 for ac_exec_ext in '' $ac_executable_extensions; do
5509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5510 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5511 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5520 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5521 if test -n "$ac_ct_OBJDUMP"; then
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5523 $as_echo "$ac_ct_OBJDUMP" >&6; }
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5526 $as_echo "no
" >&6; }
5529 if test "x
$ac_ct_OBJDUMP" = x; then
5532 case $cross_compiling:$ac_tool_warned in
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5535 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5536 ac_tool_warned=yes ;;
5538 OBJDUMP=$ac_ct_OBJDUMP
5541 OBJDUMP="$ac_cv_prog_OBJDUMP"
5544 test -z "$OBJDUMP" && OBJDUMP=objdump
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5555 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5556 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5557 $as_echo_n "(cached
) " >&6
5559 lt_cv_file_magic_cmd='$MAGIC_CMD'
5560 lt_cv_file_magic_test_file=
5561 lt_cv_deplibs_check_method='unknown'
5562 # Need to set the preceding variable on all platforms that support
5563 # interlibrary dependencies.
5564 # 'none' -- dependencies not supported.
5565 # `unknown' -- same as none, but documents that we really don't know.
5566 # 'pass_all' -- all dependencies passed with no checks.
5567 # 'test_compile' -- check by making test program.
5568 # 'file_magic [[regex]]' -- check by looking for files in library path
5569 # which responds to the $file_magic_cmd with a given extended regex.
5570 # If you have `file' or equivalent on your system and you're not sure
5571 # whether `pass_all' will *always* work, you probably want this one.
5575 lt_cv_deplibs_check_method=pass_all
5579 lt_cv_deplibs_check_method=pass_all
5583 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5584 lt_cv_file_magic_cmd='/usr/bin/file -L'
5585 lt_cv_file_magic_test_file=/shlib/libc.so
5589 # func_win32_libid is a shell function defined in ltmain.sh
5590 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5591 lt_cv_file_magic_cmd='func_win32_libid'
5595 # Base MSYS/MinGW do not provide the 'file' command needed by
5596 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5597 # unless we find 'file', for example because we are cross-compiling.
5598 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5599 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5600 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5601 lt_cv_file_magic_cmd='func_win32_libid'
5603 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5604 lt_cv_file_magic_cmd='$OBJDUMP -f'
5609 # use the weaker test based on 'objdump'. See mingw*.
5610 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5611 lt_cv_file_magic_cmd='$OBJDUMP -f'
5614 darwin* | rhapsody*)
5615 lt_cv_deplibs_check_method=pass_all
5618 freebsd* | dragonfly*)
5619 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5622 # Not sure whether the presence of OpenBSD here was a mistake.
5623 # Let's accept both of them until this is cleared up.
5624 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5625 lt_cv_file_magic_cmd=/usr/bin/file
5626 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5630 lt_cv_deplibs_check_method=pass_all
5635 lt_cv_deplibs_check_method=pass_all
5639 lt_cv_deplibs_check_method=pass_all
5642 hpux10.20* | hpux11*)
5643 lt_cv_file_magic_cmd=/usr/bin/file
5646 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5647 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5650 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]'
5651 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5654 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5655 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5661 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5662 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5665 irix5* | irix6* | nonstopux*)
5667 *-32|*"-32 ") libmagic=32-bit;;
5668 *-n32|*"-n32 ") libmagic=N32;;
5669 *-64|*"-64 ") libmagic=64-bit;;
5670 *) libmagic=never-match;;
5672 lt_cv_deplibs_check_method=pass_all
5675 # This must be Linux ELF.
5676 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5677 lt_cv_deplibs_check_method=pass_all
5681 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5682 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5684 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5689 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5690 lt_cv_file_magic_cmd=/usr/bin/file
5691 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5695 lt_cv_deplibs_check_method=pass_all
5699 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5700 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5702 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5706 osf3* | osf4* | osf5*)
5707 lt_cv_deplibs_check_method=pass_all
5711 lt_cv_deplibs_check_method=pass_all
5715 lt_cv_deplibs_check_method=pass_all
5718 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5719 lt_cv_deplibs_check_method=pass_all
5723 case $host_vendor in
5725 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]'
5726 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5729 lt_cv_deplibs_check_method=pass_all
5732 lt_cv_file_magic_cmd='/bin/file'
5733 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5736 lt_cv_file_magic_cmd='/bin/file'
5737 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5738 lt_cv_file_magic_test_file=/lib/libc.so
5741 lt_cv_deplibs_check_method=pass_all
5744 lt_cv_deplibs_check_method=pass_all
5750 lt_cv_deplibs_check_method=pass_all
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5756 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5757 file_magic_cmd=$lt_cv_file_magic_cmd
5758 deplibs_check_method=$lt_cv_deplibs_check_method
5759 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5772 if test -n "$ac_tool_prefix"; then
5773 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5774 set dummy ${ac_tool_prefix}ar; ac_word=$2
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5776 $as_echo_n "checking
for $ac_word...
" >&6; }
5777 if test "${ac_cv_prog_AR+set}" = set; then :
5778 $as_echo_n "(cached
) " >&6
5780 if test -n "$AR"; then
5781 ac_cv_prog_AR="$AR" # Let the user override the test.
5783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5787 test -z "$as_dir" && as_dir=.
5788 for ac_exec_ext in '' $ac_executable_extensions; do
5789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5790 ac_cv_prog_AR="${ac_tool_prefix}ar"
5791 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5801 if test -n "$AR"; then
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5803 $as_echo "$AR" >&6; }
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5806 $as_echo "no
" >&6; }
5811 if test -z "$ac_cv_prog_AR"; then
5813 # Extract the first word of "ar", so it can be a program name with args.
5814 set dummy ar; 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_ac_ct_AR+set}" = set; then :
5818 $as_echo_n "(cached
) " >&6
5820 if test -n "$ac_ct_AR"; then
5821 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # 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_ac_ct_AR="ar"
5831 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5840 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5841 if test -n "$ac_ct_AR"; then
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5843 $as_echo "$ac_ct_AR" >&6; }
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5846 $as_echo "no
" >&6; }
5849 if test "x
$ac_ct_AR" = x; then
5852 case $cross_compiling:$ac_tool_warned in
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5855 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5856 ac_tool_warned=yes ;;
5864 test -z "$AR" && AR=ar
5865 test -z "$AR_FLAGS" && AR_FLAGS=cru
5877 if test -n "$ac_tool_prefix"; then
5878 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5879 set dummy ${ac_tool_prefix}strip; ac_word=$2
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5881 $as_echo_n "checking
for $ac_word...
" >&6; }
5882 if test "${ac_cv_prog_STRIP+set}" = set; then :
5883 $as_echo_n "(cached
) " >&6
5885 if test -n "$STRIP"; then
5886 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5892 test -z "$as_dir" && as_dir=.
5893 for ac_exec_ext in '' $ac_executable_extensions; do
5894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5895 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5896 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5905 STRIP=$ac_cv_prog_STRIP
5906 if test -n "$STRIP"; then
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5908 $as_echo "$STRIP" >&6; }
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5911 $as_echo "no
" >&6; }
5916 if test -z "$ac_cv_prog_STRIP"; then
5918 # Extract the first word of "strip
", so it can be a program name with args.
5919 set dummy strip; ac_word=$2
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5921 $as_echo_n "checking
for $ac_word...
" >&6; }
5922 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5923 $as_echo_n "(cached
) " >&6
5925 if test -n "$ac_ct_STRIP"; then
5926 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5932 test -z "$as_dir" && as_dir=.
5933 for ac_exec_ext in '' $ac_executable_extensions; do
5934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5935 ac_cv_prog_ac_ct_STRIP="strip
"
5936 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5945 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5946 if test -n "$ac_ct_STRIP"; then
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5948 $as_echo "$ac_ct_STRIP" >&6; }
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5951 $as_echo "no
" >&6; }
5954 if test "x
$ac_ct_STRIP" = x; then
5957 case $cross_compiling:$ac_tool_warned in
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5960 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5961 ac_tool_warned=yes ;;
5966 STRIP="$ac_cv_prog_STRIP"
5969 test -z "$STRIP" && STRIP=:
5976 if test -n "$ac_tool_prefix"; then
5977 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5978 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5980 $as_echo_n "checking
for $ac_word...
" >&6; }
5981 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5982 $as_echo_n "(cached
) " >&6
5984 if test -n "$RANLIB"; then
5985 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5991 test -z "$as_dir" && as_dir=.
5992 for ac_exec_ext in '' $ac_executable_extensions; do
5993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5994 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5995 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6004 RANLIB=$ac_cv_prog_RANLIB
6005 if test -n "$RANLIB"; then
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6007 $as_echo "$RANLIB" >&6; }
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6010 $as_echo "no
" >&6; }
6015 if test -z "$ac_cv_prog_RANLIB"; then
6016 ac_ct_RANLIB=$RANLIB
6017 # Extract the first word of "ranlib
", so it can be a program name with args.
6018 set dummy ranlib; ac_word=$2
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6020 $as_echo_n "checking
for $ac_word...
" >&6; }
6021 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6022 $as_echo_n "(cached
) " >&6
6024 if test -n "$ac_ct_RANLIB"; then
6025 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6031 test -z "$as_dir" && as_dir=.
6032 for ac_exec_ext in '' $ac_executable_extensions; do
6033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6034 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6035 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6044 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6045 if test -n "$ac_ct_RANLIB"; then
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6047 $as_echo "$ac_ct_RANLIB" >&6; }
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6050 $as_echo "no
" >&6; }
6053 if test "x
$ac_ct_RANLIB" = x; then
6056 case $cross_compiling:$ac_tool_warned in
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6059 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6060 ac_tool_warned=yes ;;
6062 RANLIB=$ac_ct_RANLIB
6065 RANLIB="$ac_cv_prog_RANLIB"
6068 test -z "$RANLIB" && RANLIB=:
6075 # Determine commands to create old-style static archives.
6076 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6077 old_postinstall_cmds='chmod 644 $oldlib'
6078 old_postuninstall_cmds=
6080 if test -n "$RANLIB"; then
6083 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6086 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6089 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6094 lock_old_archive_extraction=yes ;;
6096 lock_old_archive_extraction=no ;;
6137 # If no C compiler was specified, use CC.
6140 # If no C compiler flags were specified, use CFLAGS.
6141 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6143 # Allow CC to be a program name with arguments.
6147 # Check for command to grab the raw symbol name followed by C symbol from nm.
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6149 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6150 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6151 $as_echo_n "(cached
) " >&6
6154 # These are sane defaults that work on at least a few old systems.
6155 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6157 # Character class describing NM global symbol codes.
6158 symcode='[BCDEGRST]'
6160 # Regexp to match symbols that can be accessed directly from C.
6161 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6163 # Define system-specific variables.
6168 cygwin* | mingw* | pw32* | cegcc*)
6169 symcode='[ABCDGISTW]'
6172 if test "$host_cpu" = ia64; then
6173 symcode='[ABCDEGRST]'
6177 symcode='[BCDEGRST]'
6180 symcode='[BCDEGQRST]'
6191 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6199 # If we're using GNU nm, then use its standard symbol codes.
6200 case `$NM -V 2>&1` in
6201 *GNU* | *'with BFD'*)
6202 symcode='[ABCDGIRSTW]' ;;
6205 # Transform an extracted symbol line into a proper C declaration.
6206 # Some systems (esp. on ia64) link data and code symbols differently,
6207 # so use this general approach.
6208 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6210 # Transform an extracted symbol line into symbol name and symbol address
6211 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6212 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'"
6214 # Handle CRLF in mingw tool chain
6218 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6222 # Try without a prefix underscore, then with it.
6223 for ac_symprfx in "" "_
"; do
6225 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6226 symxfrm="\\1 $ac_symprfx\\2 \\2"
6228 # Write the raw and C identifiers.
6229 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6230 # Fake it for dumpbin and say T for any non-static function
6231 # and D for any global variable.
6232 # Also find C++ and __fastcall symbols from MSVC++,
6233 # which start with @ or ?.
6234 lt_cv_sys_global_symbol_pipe="$AWK '"\
6235 " {last_section=section; section=\$ 3};"\
6236 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6237 " \$ 0!~/External *\|/{next};"\
6238 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6239 " {if(hide[section]) next};"\
6240 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6241 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6242 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6243 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6244 " ' prfx
=^
$ac_symprfx"
6246 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6249 # Check to see that the pipe works correctly.
6253 cat > conftest.$ac_ext <<_LT_EOF
6258 void nm_test_func(void);
6259 void nm_test_func(void){}
6263 int main(){nm_test_var='a';nm_test_func();return(0);}
6266 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6267 (eval $ac_compile) 2>&5
6269 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6270 test $ac_status = 0; }; then
6271 # Now try to grab the symbols.
6273 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6274 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6276 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6277 test $ac_status = 0; } && test -s "$nlist"; then
6278 # Try sorting and uniquifying the output.
6279 if sort "$nlist" | uniq > "$nlist"T; then
6280 mv -f "$nlist"T "$nlist"
6285 # Make sure that we snagged all the symbols we need.
6286 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6287 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6288 cat <<_LT_EOF > conftest.$ac_ext
6294 # Now generate the symbol file.
6295 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6297 cat <<_LT_EOF >> conftest.$ac_ext
6299 /* The mapping between symbol names and symbols. */
6304 lt__PROGRAM__LTX_preloaded_symbols[] =
6306 { "@PROGRAM@
", (void *) 0 },
6308 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6309 cat <<\_LT_EOF >> conftest.$ac_ext
6313 /* This works around a problem in FreeBSD linker */
6314 #ifdef FREEBSD_WORKAROUND
6315 static const void *lt_preloaded_setup() {
6316 return lt__PROGRAM__LTX_preloaded_symbols;
6324 # Now try linking the two files.
6325 mv conftest.$ac_objext conftstm.$ac_objext
6326 lt_save_LIBS="$LIBS"
6327 lt_save_CFLAGS="$CFLAGS"
6328 LIBS="conftstm.
$ac_objext"
6329 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6330 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6331 (eval $ac_link) 2>&5
6333 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6334 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6337 LIBS="$lt_save_LIBS"
6338 CFLAGS="$lt_save_CFLAGS"
6340 echo "cannot
find nm_test_func
in $nlist" >&5
6343 echo "cannot
find nm_test_var
in $nlist" >&5
6346 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6349 echo "$progname: failed program was
:" >&5
6350 cat conftest.$ac_ext >&5
6352 rm -rf conftest* conftst*
6354 # Do not use the global_symbol_pipe unless it works.
6355 if test "$pipe_works" = yes; then
6358 lt_cv_sys_global_symbol_pipe=
6364 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6365 lt_cv_sys_global_symbol_to_cdecl=
6367 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6369 $as_echo "failed
" >&6; }
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6372 $as_echo "ok
" >&6; }
6397 # Check whether --enable-libtool-lock was given.
6398 if test "${enable_libtool_lock+set}" = set; then :
6399 enableval=$enable_libtool_lock;
6402 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6404 # Some flags need to be propagated to the compiler or linker for good
6408 # Find out which ABI we are using.
6409 echo 'int i;' > conftest.$ac_ext
6410 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6411 (eval $ac_compile) 2>&5
6413 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6414 test $ac_status = 0; }; then
6415 case `/usr/bin/file conftest.$ac_objext` in
6427 # Find out which ABI we are using.
6428 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6429 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6430 (eval $ac_compile) 2>&5
6432 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6433 test $ac_status = 0; }; then
6434 if test "$lt_cv_prog_gnu_ld" = yes; then
6435 case `/usr/bin/file conftest.$ac_objext` in
6437 LD="${LD-ld} -melf32bsmip"
6440 LD="${LD-ld} -melf32bmipn32"
6443 LD="${LD-ld} -melf64bmip"
6447 case `/usr/bin/file conftest.$ac_objext` in
6463 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6464 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6465 # Find out which ABI we are using.
6466 echo 'int i;' > conftest.$ac_ext
6467 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6468 (eval $ac_compile) 2>&5
6470 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6471 test $ac_status = 0; }; then
6472 case `/usr/bin/file conftest.o` in
6475 x86_64-*kfreebsd*-gnu)
6476 LD="${LD-ld} -m elf_i386_fbsd
"
6479 case `/usr/bin/file conftest.o` in
6481 LD="${LD-ld} -m elf32_x86_64
"
6484 LD="${LD-ld} -m elf_i386
"
6488 powerpc64le-*linux*)
6489 LD="${LD-ld} -m elf32lppclinux
"
6492 LD="${LD-ld} -m elf32ppclinux
"
6495 LD="${LD-ld} -m elf_s390
"
6498 LD="${LD-ld} -m elf32_sparc
"
6504 x86_64-*kfreebsd*-gnu)
6505 LD="${LD-ld} -m elf_x86_64_fbsd
"
6508 LD="${LD-ld} -m elf_x86_64
"
6511 LD="${LD-ld} -m elf64lppc
"
6514 LD="${LD-ld} -m elf64ppc
"
6516 s390*-*linux*|s390*-*tpf*)
6517 LD="${LD-ld} -m elf64_s390
"
6520 LD="${LD-ld} -m elf64_sparc
"
6530 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6531 SAVE_CFLAGS="$CFLAGS"
6532 CFLAGS="$CFLAGS -belf"
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6534 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6535 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6536 $as_echo_n "(cached
) " >&6
6539 ac_cpp='$CPP $CPPFLAGS'
6540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6545 /* end confdefs.h. */
6555 if ac_fn_c_try_link "$LINENO"; then :
6556 lt_cv_cc_needs_belf=yes
6558 lt_cv_cc_needs_belf=no
6560 rm -f core conftest.err conftest.$ac_objext \
6561 conftest$ac_exeext conftest.$ac_ext
6563 ac_cpp='$CPP $CPPFLAGS'
6564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6570 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6571 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6572 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6573 CFLAGS="$SAVE_CFLAGS"
6577 # Find out which ABI we are using.
6578 echo 'int i;' > conftest.$ac_ext
6579 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6580 (eval $ac_compile) 2>&5
6582 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6583 test $ac_status = 0; }; then
6584 case `/usr/bin/file conftest.o` in
6586 case $lt_cv_prog_gnu_ld in
6587 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6589 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6601 need_locks="$enable_libtool_lock"
6605 rhapsody* | darwin*)
6606 if test -n "$ac_tool_prefix"; then
6607 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6608 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6610 $as_echo_n "checking
for $ac_word...
" >&6; }
6611 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6612 $as_echo_n "(cached
) " >&6
6614 if test -n "$DSYMUTIL"; then
6615 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6621 test -z "$as_dir" && as_dir=.
6622 for ac_exec_ext in '' $ac_executable_extensions; do
6623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6624 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6625 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6634 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6635 if test -n "$DSYMUTIL"; then
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6637 $as_echo "$DSYMUTIL" >&6; }
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6640 $as_echo "no
" >&6; }
6645 if test -z "$ac_cv_prog_DSYMUTIL"; then
6646 ac_ct_DSYMUTIL=$DSYMUTIL
6647 # Extract the first word of "dsymutil
", so it can be a program name with args.
6648 set dummy dsymutil; ac_word=$2
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6650 $as_echo_n "checking
for $ac_word...
" >&6; }
6651 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6652 $as_echo_n "(cached
) " >&6
6654 if test -n "$ac_ct_DSYMUTIL"; then
6655 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6661 test -z "$as_dir" && as_dir=.
6662 for ac_exec_ext in '' $ac_executable_extensions; do
6663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6664 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6665 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6674 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6675 if test -n "$ac_ct_DSYMUTIL"; then
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6677 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6680 $as_echo "no
" >&6; }
6683 if test "x
$ac_ct_DSYMUTIL" = x; then
6686 case $cross_compiling:$ac_tool_warned in
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6689 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6690 ac_tool_warned=yes ;;
6692 DSYMUTIL=$ac_ct_DSYMUTIL
6695 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6698 if test -n "$ac_tool_prefix"; then
6699 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6700 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6702 $as_echo_n "checking
for $ac_word...
" >&6; }
6703 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6704 $as_echo_n "(cached
) " >&6
6706 if test -n "$NMEDIT"; then
6707 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6713 test -z "$as_dir" && as_dir=.
6714 for ac_exec_ext in '' $ac_executable_extensions; do
6715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6716 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6717 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6726 NMEDIT=$ac_cv_prog_NMEDIT
6727 if test -n "$NMEDIT"; then
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6729 $as_echo "$NMEDIT" >&6; }
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6732 $as_echo "no
" >&6; }
6737 if test -z "$ac_cv_prog_NMEDIT"; then
6738 ac_ct_NMEDIT=$NMEDIT
6739 # Extract the first word of "nmedit
", so it can be a program name with args.
6740 set dummy nmedit; ac_word=$2
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6742 $as_echo_n "checking
for $ac_word...
" >&6; }
6743 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6744 $as_echo_n "(cached
) " >&6
6746 if test -n "$ac_ct_NMEDIT"; then
6747 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6753 test -z "$as_dir" && as_dir=.
6754 for ac_exec_ext in '' $ac_executable_extensions; do
6755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6756 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6757 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6766 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6767 if test -n "$ac_ct_NMEDIT"; then
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6769 $as_echo "$ac_ct_NMEDIT" >&6; }
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6772 $as_echo "no
" >&6; }
6775 if test "x
$ac_ct_NMEDIT" = x; then
6778 case $cross_compiling:$ac_tool_warned in
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6781 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6782 ac_tool_warned=yes ;;
6784 NMEDIT=$ac_ct_NMEDIT
6787 NMEDIT="$ac_cv_prog_NMEDIT"
6790 if test -n "$ac_tool_prefix"; then
6791 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6792 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6794 $as_echo_n "checking
for $ac_word...
" >&6; }
6795 if test "${ac_cv_prog_LIPO+set}" = set; then :
6796 $as_echo_n "(cached
) " >&6
6798 if test -n "$LIPO"; then
6799 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6805 test -z "$as_dir" && as_dir=.
6806 for ac_exec_ext in '' $ac_executable_extensions; do
6807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6808 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6809 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6818 LIPO=$ac_cv_prog_LIPO
6819 if test -n "$LIPO"; then
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6821 $as_echo "$LIPO" >&6; }
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6824 $as_echo "no
" >&6; }
6829 if test -z "$ac_cv_prog_LIPO"; then
6831 # Extract the first word of "lipo
", so it can be a program name with args.
6832 set dummy lipo; ac_word=$2
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6834 $as_echo_n "checking
for $ac_word...
" >&6; }
6835 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6836 $as_echo_n "(cached
) " >&6
6838 if test -n "$ac_ct_LIPO"; then
6839 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6845 test -z "$as_dir" && as_dir=.
6846 for ac_exec_ext in '' $ac_executable_extensions; do
6847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6848 ac_cv_prog_ac_ct_LIPO="lipo
"
6849 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6858 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6859 if test -n "$ac_ct_LIPO"; then
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6861 $as_echo "$ac_ct_LIPO" >&6; }
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6864 $as_echo "no
" >&6; }
6867 if test "x
$ac_ct_LIPO" = x; then
6870 case $cross_compiling:$ac_tool_warned in
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6873 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6874 ac_tool_warned=yes ;;
6879 LIPO="$ac_cv_prog_LIPO"
6882 if test -n "$ac_tool_prefix"; then
6883 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6884 set dummy ${ac_tool_prefix}otool; ac_word=$2
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6886 $as_echo_n "checking
for $ac_word...
" >&6; }
6887 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6888 $as_echo_n "(cached
) " >&6
6890 if test -n "$OTOOL"; then
6891 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6897 test -z "$as_dir" && as_dir=.
6898 for ac_exec_ext in '' $ac_executable_extensions; do
6899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6900 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6901 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6910 OTOOL=$ac_cv_prog_OTOOL
6911 if test -n "$OTOOL"; then
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6913 $as_echo "$OTOOL" >&6; }
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6916 $as_echo "no
" >&6; }
6921 if test -z "$ac_cv_prog_OTOOL"; then
6923 # Extract the first word of "otool
", so it can be a program name with args.
6924 set dummy otool; ac_word=$2
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6926 $as_echo_n "checking
for $ac_word...
" >&6; }
6927 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6928 $as_echo_n "(cached
) " >&6
6930 if test -n "$ac_ct_OTOOL"; then
6931 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6937 test -z "$as_dir" && as_dir=.
6938 for ac_exec_ext in '' $ac_executable_extensions; do
6939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6940 ac_cv_prog_ac_ct_OTOOL="otool
"
6941 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6950 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6951 if test -n "$ac_ct_OTOOL"; then
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6953 $as_echo "$ac_ct_OTOOL" >&6; }
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6956 $as_echo "no
" >&6; }
6959 if test "x
$ac_ct_OTOOL" = x; then
6962 case $cross_compiling:$ac_tool_warned in
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6965 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6966 ac_tool_warned=yes ;;
6971 OTOOL="$ac_cv_prog_OTOOL"
6974 if test -n "$ac_tool_prefix"; then
6975 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6976 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6978 $as_echo_n "checking
for $ac_word...
" >&6; }
6979 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6980 $as_echo_n "(cached
) " >&6
6982 if test -n "$OTOOL64"; then
6983 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6989 test -z "$as_dir" && as_dir=.
6990 for ac_exec_ext in '' $ac_executable_extensions; do
6991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6992 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6993 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7002 OTOOL64=$ac_cv_prog_OTOOL64
7003 if test -n "$OTOOL64"; then
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7005 $as_echo "$OTOOL64" >&6; }
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7008 $as_echo "no
" >&6; }
7013 if test -z "$ac_cv_prog_OTOOL64"; then
7014 ac_ct_OTOOL64=$OTOOL64
7015 # Extract the first word of "otool64
", so it can be a program name with args.
7016 set dummy otool64; ac_word=$2
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7018 $as_echo_n "checking
for $ac_word...
" >&6; }
7019 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7020 $as_echo_n "(cached
) " >&6
7022 if test -n "$ac_ct_OTOOL64"; then
7023 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7029 test -z "$as_dir" && as_dir=.
7030 for ac_exec_ext in '' $ac_executable_extensions; do
7031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7032 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7033 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7042 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7043 if test -n "$ac_ct_OTOOL64"; then
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7045 $as_echo "$ac_ct_OTOOL64" >&6; }
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7048 $as_echo "no
" >&6; }
7051 if test "x
$ac_ct_OTOOL64" = x; then
7054 case $cross_compiling:$ac_tool_warned in
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7057 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7058 ac_tool_warned=yes ;;
7060 OTOOL64=$ac_ct_OTOOL64
7063 OTOOL64="$ac_cv_prog_OTOOL64"
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7093 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7094 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7095 $as_echo_n "(cached
) " >&6
7097 lt_cv_apple_cc_single_mod=no
7098 if test -z "${LT_MULTI_MODULE}"; then
7099 # By default we will add the -single_module flag. You can override
7100 # by either setting the environment variable LT_MULTI_MODULE
7101 # non-empty at configure time, or by adding -multi_module to the
7103 rm -rf libconftest.dylib*
7104 echo "int foo
(void
){return 1;}" > conftest.c
7105 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7106 -dynamiclib -Wl,-single_module conftest.c
" >&5
7107 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7108 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7110 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7111 lt_cv_apple_cc_single_mod=yes
7113 cat conftest.err >&5
7115 rm -rf libconftest.dylib*
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7120 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7122 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7123 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7124 $as_echo_n "(cached
) " >&6
7126 lt_cv_ld_exported_symbols_list=no
7127 save_LDFLAGS=$LDFLAGS
7128 echo "_main
" > conftest.sym
7129 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7131 /* end confdefs.h. */
7141 if ac_fn_c_try_link "$LINENO"; then :
7142 lt_cv_ld_exported_symbols_list=yes
7144 lt_cv_ld_exported_symbols_list=no
7146 rm -f core conftest.err conftest.$ac_objext \
7147 conftest$ac_exeext conftest.$ac_ext
7148 LDFLAGS="$save_LDFLAGS"
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7152 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7154 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7155 if test "${lt_cv_ld_force_load+set}" = set; then :
7156 $as_echo_n "(cached
) " >&6
7158 lt_cv_ld_force_load=no
7159 cat > conftest.c << _LT_EOF
7160 int forced_loaded() { return 2;}
7162 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7163 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7164 echo "$AR cru libconftest.a conftest.o
" >&5
7165 $AR cru libconftest.a conftest.o 2>&5
7166 cat > conftest.c << _LT_EOF
7167 int main() { return 0;}
7169 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7170 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7172 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7173 lt_cv_ld_force_load=yes
7175 cat conftest.err >&5
7177 rm -f conftest.err libconftest.a conftest conftest.c
7178 rm -rf conftest.dSYM
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7182 $as_echo "$lt_cv_ld_force_load" >&6; }
7184 rhapsody* | darwin1.[012])
7185 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7187 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7188 darwin*) # darwin 5.x on
7189 # if running on 10.5 or later, the deployment target defaults
7190 # to the OS version, if on x86, and 10.4, the deployment
7191 # target defaults to 10.4. Don't you love it?
7192 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7193 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7194 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7196 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7198 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7202 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7203 _lt_dar_single_mod='$single_module'
7205 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7206 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7208 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7210 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7211 _lt_dsymutil='~$DSYMUTIL $lib || :'
7219 ac_cpp='$CPP $CPPFLAGS'
7220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7224 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7225 # On Suns, sometimes $CPP names a directory.
7226 if test -n "$CPP" && test -d "$CPP"; then
7229 if test -z "$CPP"; then
7230 if test "${ac_cv_prog_CPP+set}" = set; then :
7231 $as_echo_n "(cached
) " >&6
7233 # Double quotes because CPP needs to be expanded
7234 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7237 for ac_c_preproc_warn_flag in '' yes
7239 # Use a header file that comes with gcc, so configuring glibc
7240 # with a fresh cross-compiler works.
7241 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7242 # <limits.h> exists even on freestanding compilers.
7243 # On the NeXT, cc -E runs the code through the compiler's parser,
7244 # not just through cpp. "Syntax error
" is here to catch this case.
7245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7246 /* end confdefs.h. */
7248 # include <limits.h>
7250 # include <assert.h>
7254 if ac_fn_c_try_cpp "$LINENO"; then :
7257 # Broken: fails on valid input.
7260 rm -f conftest.err conftest.$ac_ext
7262 # OK, works on sane cases. Now check whether nonexistent headers
7263 # can be detected and how.
7264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7265 /* end confdefs.h. */
7266 #include <ac_nonexistent.h>
7268 if ac_fn_c_try_cpp "$LINENO"; then :
7269 # Broken: success on invalid input.
7272 # Passes both tests.
7276 rm -f conftest.err conftest.$ac_ext
7279 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7280 rm -f conftest.err conftest.$ac_ext
7281 if $ac_preproc_ok; then :
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7294 $as_echo "$CPP" >&6; }
7296 for ac_c_preproc_warn_flag in '' yes
7298 # Use a header file that comes with gcc, so configuring glibc
7299 # with a fresh cross-compiler works.
7300 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7301 # <limits.h> exists even on freestanding compilers.
7302 # On the NeXT, cc -E runs the code through the compiler's parser,
7303 # not just through cpp. "Syntax error
" is here to catch this case.
7304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7305 /* end confdefs.h. */
7307 # include <limits.h>
7309 # include <assert.h>
7313 if ac_fn_c_try_cpp "$LINENO"; then :
7316 # Broken: fails on valid input.
7319 rm -f conftest.err conftest.$ac_ext
7321 # OK, works on sane cases. Now check whether nonexistent headers
7322 # can be detected and how.
7323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7324 /* end confdefs.h. */
7325 #include <ac_nonexistent.h>
7327 if ac_fn_c_try_cpp "$LINENO"; then :
7328 # Broken: success on invalid input.
7331 # Passes both tests.
7335 rm -f conftest.err conftest.$ac_ext
7338 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7339 rm -f conftest.err conftest.$ac_ext
7340 if $ac_preproc_ok; then :
7343 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7344 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7345 as_fn_error "C preprocessor \"$CPP\" fails sanity check
7346 See \`config.log' for more details.
" "$LINENO" 5; }
7350 ac_cpp='$CPP $CPPFLAGS'
7351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7357 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7358 if test "${ac_cv_header_stdc+set}" = set; then :
7359 $as_echo_n "(cached
) " >&6
7361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7362 /* end confdefs.h. */
7376 if ac_fn_c_try_compile "$LINENO"; then :
7377 ac_cv_header_stdc=yes
7379 ac_cv_header_stdc=no
7381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7383 if test $ac_cv_header_stdc = yes; then
7384 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7386 /* end confdefs.h. */
7390 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7391 $EGREP "memchr
" >/dev/null 2>&1; then :
7394 ac_cv_header_stdc=no
7400 if test $ac_cv_header_stdc = yes; then
7401 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7403 /* end confdefs.h. */
7407 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7408 $EGREP "free
" >/dev/null 2>&1; then :
7411 ac_cv_header_stdc=no
7417 if test $ac_cv_header_stdc = yes; then
7418 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7419 if test "$cross_compiling" = yes; then :
7422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7423 /* end confdefs.h. */
7426 #if ((' ' & 0x0FF) == 0x020)
7427 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7428 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7430 # define ISLOWER(c) \
7431 (('a' <= (c) && (c) <= 'i') \
7432 || ('j' <= (c) && (c) <= 'r') \
7433 || ('s' <= (c) && (c) <= 'z'))
7434 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7437 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7442 for (i = 0; i < 256; i++)
7443 if (XOR (islower (i), ISLOWER (i))
7444 || toupper (i) != TOUPPER (i))
7449 if ac_fn_c_try_run "$LINENO"; then :
7452 ac_cv_header_stdc=no
7454 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7455 conftest.$ac_objext conftest.beam conftest.$ac_ext
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7461 $as_echo "$ac_cv_header_stdc" >&6; }
7462 if test $ac_cv_header_stdc = yes; then
7464 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7468 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7469 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7470 inttypes.h stdint.h unistd.h
7472 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7473 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7475 eval as_val
=\$
$as_ac_Header
7476 if test "x$as_val" = x
""yes; then :
7477 cat >>confdefs.h
<<_ACEOF
7478 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7486 for ac_header
in dlfcn.h
7488 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7490 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7491 cat >>confdefs.h
<<_ACEOF
7492 #define HAVE_DLFCN_H 1
7512 # Check whether --enable-shared was given.
7513 if test "${enable_shared+set}" = set; then :
7514 enableval
=$enable_shared; p
=${PACKAGE-default}
7516 yes) enable_shared
=yes ;;
7517 no
) enable_shared
=no
;;
7520 # Look at the argument we got. We use all the common list separators.
7521 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7522 for pkg
in $enableval; do
7524 if test "X$pkg" = "X$p"; then
7543 # Check whether --enable-static was given.
7544 if test "${enable_static+set}" = set; then :
7545 enableval
=$enable_static; p
=${PACKAGE-default}
7547 yes) enable_static
=yes ;;
7548 no
) enable_static
=no
;;
7551 # Look at the argument we got. We use all the common list separators.
7552 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7553 for pkg
in $enableval; do
7555 if test "X$pkg" = "X$p"; then
7575 # Check whether --with-pic was given.
7576 if test "${with_pic+set}" = set; then :
7577 withval
=$with_pic; pic_mode
="$withval"
7583 test -z "$pic_mode" && pic_mode
=default
7591 # Check whether --enable-fast-install was given.
7592 if test "${enable_fast_install+set}" = set; then :
7593 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7595 yes) enable_fast_install
=yes ;;
7596 no
) enable_fast_install
=no
;;
7598 enable_fast_install
=no
7599 # Look at the argument we got. We use all the common list separators.
7600 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7601 for pkg
in $enableval; do
7603 if test "X$pkg" = "X$p"; then
7604 enable_fast_install
=yes
7611 enable_fast_install
=yes
7624 # This can be used to rebuild libtool when needed
7625 LIBTOOL_DEPS
="$ltmain"
7627 # Always use our own libtool.
7628 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7655 test -z "$LN_S" && LN_S
="ln -s"
7670 if test -n "${ZSH_VERSION+set}" ; then
7671 setopt NO_GLOB_SUBST
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7675 $as_echo_n "checking for objdir... " >&6; }
7676 if test "${lt_cv_objdir+set}" = set; then :
7677 $as_echo_n "(cached) " >&6
7679 rm -f .libs
2>/dev
/null
7680 mkdir .libs
2>/dev
/null
7681 if test -d .libs
; then
7684 # MS-DOS does not allow filenames that begin with a dot.
7687 rmdir .libs
2>/dev
/null
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7690 $as_echo "$lt_cv_objdir" >&6; }
7691 objdir
=$lt_cv_objdir
7697 cat >>confdefs.h
<<_ACEOF
7698 #define LT_OBJDIR "$lt_cv_objdir/"
7706 # AIX sometimes has problems with the GCC collect2 program. For some
7707 # reason, if we set the COLLECT_NAMES environment variable, the problems
7708 # vanish in a puff of smoke.
7709 if test "X${COLLECT_NAMES+set}" != Xset
; then
7711 export COLLECT_NAMES
7718 can_build_shared
=yes
7720 # All known linkers require a `.a' archive for static linking (except MSVC,
7721 # which needs '.lib').
7724 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7727 old_CFLAGS
="$CFLAGS"
7729 # Set sane defaults for various variables
7730 test -z "$CC" && CC
=cc
7731 test -z "$LTCC" && LTCC
=$CC
7732 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7733 test -z "$LD" && LD
=ld
7734 test -z "$ac_objext" && ac_objext
=o
7736 for cc_temp
in $compiler""; do
7738 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7739 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7744 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7747 # Only perform the check for file, if the check method requires it
7748 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7749 case $deplibs_check_method in
7751 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7753 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7754 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7755 $as_echo_n "(cached) " >&6
7759 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7762 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7763 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7764 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7765 for ac_dir
in $ac_dummy; do
7767 test -z "$ac_dir" && ac_dir
=.
7768 if test -f $ac_dir/${ac_tool_prefix}file; then
7769 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7770 if test -n "$file_magic_test_file"; then
7771 case $deplibs_check_method in
7773 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7774 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7775 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7776 $EGREP "$file_magic_regex" > /dev
/null
; then
7781 *** Warning: the command libtool uses to detect shared libraries,
7782 *** $file_magic_cmd, produces output that libtool cannot recognize.
7783 *** The result is that libtool may fail to recognize shared libraries
7784 *** as such. This will affect the creation of libtool libraries that
7785 *** depend on shared libraries, but programs linked with such libtool
7786 *** libraries will work regardless of this problem. Nevertheless, you
7787 *** may want to report the problem to your system manager and/or to
7788 *** bug-libtool@gnu.org
7798 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7803 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7804 if test -n "$MAGIC_CMD"; then
7805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7806 $as_echo "$MAGIC_CMD" >&6; }
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7809 $as_echo "no" >&6; }
7816 if test -z "$lt_cv_path_MAGIC_CMD"; then
7817 if test -n "$ac_tool_prefix"; then
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7819 $as_echo_n "checking for file... " >&6; }
7820 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7821 $as_echo_n "(cached) " >&6
7825 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7828 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7829 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7830 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7831 for ac_dir
in $ac_dummy; do
7833 test -z "$ac_dir" && ac_dir
=.
7834 if test -f $ac_dir/file; then
7835 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7836 if test -n "$file_magic_test_file"; then
7837 case $deplibs_check_method in
7839 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7840 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7841 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7842 $EGREP "$file_magic_regex" > /dev
/null
; then
7847 *** Warning: the command libtool uses to detect shared libraries,
7848 *** $file_magic_cmd, produces output that libtool cannot recognize.
7849 *** The result is that libtool may fail to recognize shared libraries
7850 *** as such. This will affect the creation of libtool libraries that
7851 *** depend on shared libraries, but programs linked with such libtool
7852 *** libraries will work regardless of this problem. Nevertheless, you
7853 *** may want to report the problem to your system manager and/or to
7854 *** bug-libtool@gnu.org
7864 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7869 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7870 if test -n "$MAGIC_CMD"; then
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7872 $as_echo "$MAGIC_CMD" >&6; }
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7875 $as_echo "no" >&6; }
7888 # Use C for the default configuration in the libtool script
7892 ac_cpp
='$CPP $CPPFLAGS'
7893 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7894 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7895 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7898 # Source file extension for C test sources.
7901 # Object file extension for compiled C test sources.
7905 # Code to be used in simple compile tests
7906 lt_simple_compile_test_code
="int some_variable = 0;"
7908 # Code to be used in simple link tests
7909 lt_simple_link_test_code
='int main(){return(0);}'
7917 # If no C compiler was specified, use CC.
7920 # If no C compiler flags were specified, use CFLAGS.
7921 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7923 # Allow CC to be a program name with arguments.
7926 # Save the default compiler, since it gets overwritten when the other
7927 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7928 compiler_DEFAULT
=$CC
7930 # save warnings/boilerplate of simple test code
7931 ac_outfile
=conftest.
$ac_objext
7932 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7933 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7934 _lt_compiler_boilerplate
=`cat conftest.err`
7937 ac_outfile
=conftest.
$ac_objext
7938 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7939 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7940 _lt_linker_boilerplate
=`cat conftest.err`
7945 ## There is no encapsulation within the following macros, do not change
7946 ## the running order or otherwise move them around unless you know exactly
7947 ## what you are doing...
7948 if test -n "$compiler"; then
7950 lt_prog_compiler_no_builtin_flag
=
7952 if test "$GCC" = yes; then
7953 case $cc_basename in
7955 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7957 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7961 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7962 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7963 $as_echo_n "(cached) " >&6
7965 lt_cv_prog_compiler_rtti_exceptions
=no
7966 ac_outfile
=conftest.
$ac_objext
7967 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7968 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7969 # Insert the option either (1) after the last *FLAGS variable, or
7970 # (2) before a word containing "conftest.", or (3) at the end.
7971 # Note that $ac_compile itself does not contain backslashes and begins
7972 # with a dollar sign (not a hyphen), so the echo should work correctly.
7973 # The option is referenced via a variable to avoid confusing sed.
7974 lt_compile
=`echo "$ac_compile" | $SED \
7975 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7976 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7977 -e 's:$: $lt_compiler_flag:'`
7978 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7979 (eval "$lt_compile" 2>conftest.err
)
7981 cat conftest.err
>&5
7982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7983 if (exit $ac_status) && test -s "$ac_outfile"; then
7984 # The compiler can only warn and ignore the option if not recognized
7985 # So say no if there are warnings other than the usual output.
7986 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7987 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7988 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7989 lt_cv_prog_compiler_rtti_exceptions
=yes
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7996 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7998 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7999 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8011 lt_prog_compiler_wl
=
8012 lt_prog_compiler_pic
=
8013 lt_prog_compiler_static
=
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8016 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8018 if test "$GCC" = yes; then
8019 lt_prog_compiler_wl
='-Wl,'
8020 lt_prog_compiler_static
='-static'
8024 # All AIX code is PIC.
8025 if test "$host_cpu" = ia64
; then
8026 # AIX 5 now supports IA64 processor
8027 lt_prog_compiler_static
='-Bstatic'
8029 lt_prog_compiler_pic
='-fPIC'
8035 # see comment about AmigaOS4 .so support
8036 lt_prog_compiler_pic
='-fPIC'
8039 # FIXME: we need at least 68020 code to build shared libraries, but
8040 # adding the `-m68020' flag to GCC prevents building anything better,
8042 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8047 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8048 # PIC is the default for these OSes.
8051 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8052 # This hack is so that the source file can tell whether it is being
8053 # built for inclusion in a dll (and should export symbols for example).
8054 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8055 # (--disable-auto-import) libraries
8056 lt_prog_compiler_pic
='-DDLL_EXPORT'
8059 darwin
* | rhapsody
*)
8060 # PIC is the default on this platform
8061 # Common symbols not allowed in MH_DYLIB files
8062 lt_prog_compiler_pic
='-fno-common'
8066 # PIC is the default for Haiku.
8067 # The "-static" flag exists, but is broken.
8068 lt_prog_compiler_static
=
8072 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8073 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8074 # sets the default TLS model and affects inlining.
8080 lt_prog_compiler_pic
='-fPIC'
8086 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8087 # Instead, we relocate shared libraries at runtime.
8091 # Just because we use GCC doesn't mean we suddenly get shared libraries
8092 # on systems that don't support them.
8093 lt_prog_compiler_can_build_shared
=no
8098 # QNX uses GNU C++, but need to define -shared option too, otherwise
8100 lt_prog_compiler_pic
='-fPIC -shared'
8104 if test -d /usr
/nec
; then
8105 lt_prog_compiler_pic
=-Kconform_pic
8110 lt_prog_compiler_pic
='-fPIC'
8114 case $cc_basename in
8115 nvcc
*) # Cuda Compiler Driver 2.2
8116 lt_prog_compiler_wl
='-Xlinker '
8117 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8121 # PORTME Check for flag to pass linker flags through the system compiler.
8124 lt_prog_compiler_wl
='-Wl,'
8125 if test "$host_cpu" = ia64
; then
8126 # AIX 5 now supports IA64 processor
8127 lt_prog_compiler_static
='-Bstatic'
8129 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8133 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8134 # This hack is so that the source file can tell whether it is being
8135 # built for inclusion in a dll (and should export symbols for example).
8136 lt_prog_compiler_pic
='-DDLL_EXPORT'
8139 hpux9
* | hpux10
* | hpux11
*)
8140 lt_prog_compiler_wl
='-Wl,'
8141 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8148 lt_prog_compiler_pic
='+Z'
8151 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8152 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8155 irix5
* | irix6
* | nonstopux
*)
8156 lt_prog_compiler_wl
='-Wl,'
8157 # PIC (with -KPIC) is the default.
8158 lt_prog_compiler_static
='-non_shared'
8161 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8162 case $cc_basename in
8163 # old Intel for x86_64 which still supported -KPIC.
8165 lt_prog_compiler_wl
='-Wl,'
8166 lt_prog_compiler_pic
='-KPIC'
8167 lt_prog_compiler_static
='-static'
8169 # icc used to be incompatible with GCC.
8170 # ICC 10 doesn't accept -KPIC any more.
8172 lt_prog_compiler_wl
='-Wl,'
8173 lt_prog_compiler_pic
='-fPIC'
8174 lt_prog_compiler_static
='-static'
8176 # Lahey Fortran 8.1.
8178 lt_prog_compiler_wl
='-Wl,'
8179 lt_prog_compiler_pic
='--shared'
8180 lt_prog_compiler_static
='--static'
8182 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8183 # Portland Group compilers (*not* the Pentium gcc compiler,
8184 # which looks to be a dead project)
8185 lt_prog_compiler_wl
='-Wl,'
8186 lt_prog_compiler_pic
='-fpic'
8187 lt_prog_compiler_static
='-Bstatic'
8190 lt_prog_compiler_wl
='-Wl,'
8191 # All Alpha code is PIC.
8192 lt_prog_compiler_static
='-non_shared'
8194 xl
* | bgxl
* | bgf
* | mpixl
*)
8195 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8196 lt_prog_compiler_wl
='-Wl,'
8197 lt_prog_compiler_pic
='-qpic'
8198 lt_prog_compiler_static
='-qstaticlink'
8201 case `$CC -V 2>&1 | sed 5q` in
8202 *Sun\ F
* |
*Sun
*Fortran
*)
8203 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8204 lt_prog_compiler_pic
='-KPIC'
8205 lt_prog_compiler_static
='-Bstatic'
8206 lt_prog_compiler_wl
=''
8210 lt_prog_compiler_pic
='-KPIC'
8211 lt_prog_compiler_static
='-Bstatic'
8212 lt_prog_compiler_wl
='-Wl,'
8220 lt_prog_compiler_pic
='-KPIC'
8221 lt_prog_compiler_static
='-Bstatic'
8225 # QNX uses GNU C++, but need to define -shared option too, otherwise
8227 lt_prog_compiler_pic
='-fPIC -shared'
8230 osf3
* | osf4
* | osf5
*)
8231 lt_prog_compiler_wl
='-Wl,'
8232 # All OSF/1 code is PIC.
8233 lt_prog_compiler_static
='-non_shared'
8237 lt_prog_compiler_static
='-non_shared'
8241 lt_prog_compiler_pic
='-KPIC'
8242 lt_prog_compiler_static
='-Bstatic'
8243 case $cc_basename in
8245 lt_prog_compiler_wl
='-Qoption ld ';;
8247 lt_prog_compiler_wl
='-Wl,';;
8252 lt_prog_compiler_wl
='-Qoption ld '
8253 lt_prog_compiler_pic
='-PIC'
8254 lt_prog_compiler_static
='-Bstatic'
8257 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8258 lt_prog_compiler_wl
='-Wl,'
8259 lt_prog_compiler_pic
='-KPIC'
8260 lt_prog_compiler_static
='-Bstatic'
8264 if test -d /usr
/nec
;then
8265 lt_prog_compiler_pic
='-Kconform_pic'
8266 lt_prog_compiler_static
='-Bstatic'
8270 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8271 lt_prog_compiler_wl
='-Wl,'
8272 lt_prog_compiler_pic
='-KPIC'
8273 lt_prog_compiler_static
='-Bstatic'
8277 lt_prog_compiler_wl
='-Wl,'
8278 lt_prog_compiler_can_build_shared
=no
8282 lt_prog_compiler_pic
='-pic'
8283 lt_prog_compiler_static
='-Bstatic'
8287 lt_prog_compiler_can_build_shared
=no
8293 # For platforms which do not support PIC, -DPIC is meaningless:
8295 lt_prog_compiler_pic
=
8298 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8302 $as_echo "$lt_prog_compiler_pic" >&6; }
8310 # Check to make sure the PIC flag actually works.
8312 if test -n "$lt_prog_compiler_pic"; then
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8314 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8315 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8316 $as_echo_n "(cached) " >&6
8318 lt_cv_prog_compiler_pic_works
=no
8319 ac_outfile
=conftest.
$ac_objext
8320 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8321 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8322 # Insert the option either (1) after the last *FLAGS variable, or
8323 # (2) before a word containing "conftest.", or (3) at the end.
8324 # Note that $ac_compile itself does not contain backslashes and begins
8325 # with a dollar sign (not a hyphen), so the echo should work correctly.
8326 # The option is referenced via a variable to avoid confusing sed.
8327 lt_compile
=`echo "$ac_compile" | $SED \
8328 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8329 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8330 -e 's:$: $lt_compiler_flag:'`
8331 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8332 (eval "$lt_compile" 2>conftest.err
)
8334 cat conftest.err
>&5
8335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8336 if (exit $ac_status) && test -s "$ac_outfile"; then
8337 # The compiler can only warn and ignore the option if not recognized
8338 # So say no if there are warnings other than the usual output.
8339 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8340 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8341 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8342 lt_cv_prog_compiler_pic_works
=yes
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8349 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8351 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8352 case $lt_prog_compiler_pic in
8354 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8357 lt_prog_compiler_pic
=
8358 lt_prog_compiler_can_build_shared
=no
8369 # Check to make sure the static flag actually works.
8371 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8373 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8374 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8375 $as_echo_n "(cached) " >&6
8377 lt_cv_prog_compiler_static_works
=no
8378 save_LDFLAGS
="$LDFLAGS"
8379 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8380 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8381 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8382 # The linker can only warn and ignore the option if not recognized
8383 # So say no if there are warnings
8384 if test -s conftest.err
; then
8385 # Append any errors to the config.log.
8386 cat conftest.err
1>&5
8387 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8388 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8389 if diff conftest.exp conftest.er2
>/dev
/null
; then
8390 lt_cv_prog_compiler_static_works
=yes
8393 lt_cv_prog_compiler_static_works
=yes
8397 LDFLAGS
="$save_LDFLAGS"
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8401 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8403 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8406 lt_prog_compiler_static
=
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8416 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8417 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8418 $as_echo_n "(cached) " >&6
8420 lt_cv_prog_compiler_c_o
=no
8421 $RM -r conftest
2>/dev
/null
8425 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8427 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8428 # Insert the option either (1) after the last *FLAGS variable, or
8429 # (2) before a word containing "conftest.", or (3) at the end.
8430 # Note that $ac_compile itself does not contain backslashes and begins
8431 # with a dollar sign (not a hyphen), so the echo should work correctly.
8432 lt_compile
=`echo "$ac_compile" | $SED \
8433 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8434 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8435 -e 's:$: $lt_compiler_flag:'`
8436 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8437 (eval "$lt_compile" 2>out
/conftest.err
)
8439 cat out
/conftest.err
>&5
8440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8441 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8443 # The compiler can only warn and ignore the option if not recognized
8444 # So say no if there are warnings
8445 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8446 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8447 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8448 lt_cv_prog_compiler_c_o
=yes
8453 # SGI C++ compiler will create directory out/ii_files/ for
8454 # template instantiation
8455 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8456 $RM out
/* && rmdir out
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8463 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8471 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8472 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8473 $as_echo_n "(cached) " >&6
8475 lt_cv_prog_compiler_c_o
=no
8476 $RM -r conftest
2>/dev
/null
8480 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8482 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8483 # Insert the option either (1) after the last *FLAGS variable, or
8484 # (2) before a word containing "conftest.", or (3) at the end.
8485 # Note that $ac_compile itself does not contain backslashes and begins
8486 # with a dollar sign (not a hyphen), so the echo should work correctly.
8487 lt_compile
=`echo "$ac_compile" | $SED \
8488 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8489 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8490 -e 's:$: $lt_compiler_flag:'`
8491 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8492 (eval "$lt_compile" 2>out
/conftest.err
)
8494 cat out
/conftest.err
>&5
8495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8496 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8498 # The compiler can only warn and ignore the option if not recognized
8499 # So say no if there are warnings
8500 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8501 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8502 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8503 lt_cv_prog_compiler_c_o
=yes
8508 # SGI C++ compiler will create directory out/ii_files/ for
8509 # template instantiation
8510 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8511 $RM out
/* && rmdir out
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8518 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8523 hard_links
="nottested"
8524 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8525 # do not overwrite the value of need_locks provided by the user
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8527 $as_echo_n "checking if we can lock with hard links... " >&6; }
8530 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8532 ln conftest.a conftest.b
2>&5 || hard_links
=no
8533 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8535 $as_echo "$hard_links" >&6; }
8536 if test "$hard_links" = no
; then
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8538 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8551 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8554 allow_undefined_flag
=
8555 always_export_symbols
=no
8557 archive_expsym_cmds
=
8558 compiler_needs_object
=no
8559 enable_shared_with_static_runtimes
=no
8560 export_dynamic_flag_spec
=
8561 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8562 hardcode_automatic
=no
8564 hardcode_direct_absolute
=no
8565 hardcode_libdir_flag_spec
=
8566 hardcode_libdir_flag_spec_ld
=
8567 hardcode_libdir_separator
=
8569 hardcode_shlibpath_var
=unsupported
8571 link_all_deplibs
=unknown
8574 old_archive_from_new_cmds
=
8575 old_archive_from_expsyms_cmds
=
8576 thread_safe_flag_spec
=
8577 whole_archive_flag_spec
=
8578 # include_expsyms should be a list of space-separated symbols to be *always*
8579 # included in the symbol list
8581 # exclude_expsyms can be an extended regexp of symbols to exclude
8582 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8583 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8584 # as well as any symbol that contains `d'.
8585 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8586 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8587 # platforms (ab)use it in PIC code, but their linkers get confused if
8588 # the symbol is explicitly referenced. Since portable code cannot
8589 # rely on this symbol name, it's probably fine to never include it in
8590 # preloaded symbol tables.
8591 # Exclude shared library initialization/finalization symbols.
8592 extract_expsyms_cmds
=
8595 cygwin
* | mingw
* | pw32
* | cegcc
*)
8596 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8597 # When not using gcc, we currently assume that we are using
8598 # Microsoft Visual C++.
8599 if test "$GCC" != yes; then
8604 # we just hope/assume this is gcc and not c89 (= MSVC++)
8614 # On some targets, GNU ld is compatible enough with the native linker
8615 # that we're better off using the native interface for both.
8616 lt_use_gnu_ld_interface
=no
8617 if test "$with_gnu_ld" = yes; then
8620 # The AIX port of GNU ld has always aspired to compatibility
8621 # with the native linker. However, as the warning in the GNU ld
8622 # block says, versions before 2.19.5* couldn't really create working
8623 # shared libraries, regardless of the interface used.
8624 case `$LD -v 2>&1` in
8625 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8626 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8627 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8629 lt_use_gnu_ld_interface
=yes
8634 lt_use_gnu_ld_interface
=yes
8639 if test "$lt_use_gnu_ld_interface" = yes; then
8640 # If archive_cmds runs LD, not CC, wlarc should be empty
8643 # Set some defaults for GNU ld with shared library support. These
8644 # are reset later if shared libraries are not supported. Putting them
8645 # here allows them to be overridden if necessary.
8646 runpath_var
=LD_RUN_PATH
8647 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8648 export_dynamic_flag_spec
='${wl}--export-dynamic'
8649 # ancient GNU ld didn't support --whole-archive et. al.
8650 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8651 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8653 whole_archive_flag_spec
=
8655 supports_anon_versioning
=no
8656 case `$LD -v 2>&1` in
8657 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8658 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8659 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8660 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8661 *\
2.11.
*) ;; # other 2.11 versions
8662 *) supports_anon_versioning
=yes ;;
8665 # See if GNU ld supports shared libraries.
8668 # On AIX/PPC, the GNU linker is very broken
8669 if test "$host_cpu" != ia64
; then
8673 *** Warning: the GNU linker, at least up to release 2.19, is reported
8674 *** to be unable to reliably create shared libraries on AIX.
8675 *** Therefore, libtool is disabling shared libraries support. If you
8676 *** really care for shared libraries, you may want to install binutils
8677 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8678 *** You will then need to restart the configuration process.
8687 # see comment about AmigaOS4 .so support
8688 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8689 archive_expsym_cmds
=''
8692 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)'
8693 hardcode_libdir_flag_spec
='-L$libdir'
8694 hardcode_minus_L
=yes
8700 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8701 allow_undefined_flag
=unsupported
8702 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8703 # support --undefined. This deserves some investigation. FIXME
8704 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8710 cygwin
* | mingw
* | pw32
* | cegcc
*)
8711 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8712 # as there is no search path for DLLs.
8713 hardcode_libdir_flag_spec
='-L$libdir'
8714 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8715 allow_undefined_flag
=unsupported
8716 always_export_symbols
=no
8717 enable_shared_with_static_runtimes
=yes
8718 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8720 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8721 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8722 # If the export-symbols file already is a .def file (1st line
8723 # is EXPORTS), use it as is; otherwise, prepend...
8724 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8725 cp $export_symbols $output_objdir/$soname.def;
8727 echo EXPORTS > $output_objdir/$soname.def;
8728 cat $export_symbols >> $output_objdir/$soname.def;
8730 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8737 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8738 link_all_deplibs
=yes
8743 hardcode_shlibpath_var
=no
8744 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8745 export_dynamic_flag_spec
='${wl}-E'
8746 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8747 # Instead, shared libraries are loaded at an image base (0x10000000 by
8748 # default) and relocated if they conflict, which is a slow very memory
8749 # consuming and fragmenting process. To avoid this, we pick a random,
8750 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8751 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8752 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8753 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'
8756 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8758 if test "$host_os" = linux-dietlibc
; then
8759 case $cc_basename in
8760 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8763 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8764 && test "$tmp_diet" = no
8766 tmp_addflag
=' $pic_flag'
8767 tmp_sharedflag
='-shared'
8768 case $cc_basename,$host_cpu in
8769 pgcc
*) # Portland Group C compiler
8770 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'
8771 tmp_addflag
=' $pic_flag'
8773 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8774 # Portland Group f77 and f90 compilers
8775 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'
8776 tmp_addflag
=' $pic_flag -Mnomain' ;;
8777 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8778 tmp_addflag
=' -i_dynamic' ;;
8779 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8780 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8781 ifc
* | ifort
*) # Intel Fortran compiler
8782 tmp_addflag
=' -nofor_main' ;;
8783 lf95
*) # Lahey Fortran 8.1
8784 whole_archive_flag_spec
=
8785 tmp_sharedflag
='--shared' ;;
8786 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8787 tmp_sharedflag
='-qmkshrobj'
8789 nvcc
*) # Cuda Compiler Driver 2.2
8790 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'
8791 compiler_needs_object
=yes
8794 case `$CC -V 2>&1 | sed 5q` in
8795 *Sun\ C
*) # Sun C 5.9
8796 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'
8797 compiler_needs_object
=yes
8798 tmp_sharedflag
='-G' ;;
8799 *Sun\ F
*) # Sun Fortran 8.3
8800 tmp_sharedflag
='-G' ;;
8802 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8804 if test "x$supports_anon_versioning" = xyes
; then
8805 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8806 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8807 echo "local: *; };" >> $output_objdir/$libname.ver~
8808 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8811 case $cc_basename in
8812 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8813 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8814 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8815 hardcode_libdir_flag_spec
=
8816 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8817 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8818 if test "x$supports_anon_versioning" = xyes
; then
8819 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8820 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8821 echo "local: *; };" >> $output_objdir/$libname.ver~
8822 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8832 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8833 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8836 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8837 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8842 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8846 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8847 *** create shared libraries on Solaris systems. Therefore, libtool
8848 *** is disabling shared libraries support. We urge you to upgrade GNU
8849 *** binutils to release 2.9.1 or newer. Another option is to modify
8850 *** your PATH or compiler configuration so that the native linker is
8851 *** used, and then restart.
8854 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8855 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8856 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8862 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8863 case `$LD -v 2>&1` in
8864 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8868 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8869 *** reliably create shared libraries on SCO systems. Therefore, libtool
8870 *** is disabling shared libraries support. We urge you to upgrade GNU
8871 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8872 *** your PATH or compiler configuration so that the native linker is
8873 *** used, and then restart.
8878 # For security reasons, it is highly recommended that you always
8879 # use absolute paths for naming shared libraries, and exclude the
8880 # DT_RUNPATH tag from executables and libraries. But doing so
8881 # requires that you compile everything twice, which is a pain.
8882 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8883 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8884 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8885 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8894 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8897 hardcode_shlibpath_var
=no
8901 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8902 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8903 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8910 if test "$ld_shlibs" = no
; then
8912 hardcode_libdir_flag_spec
=
8913 export_dynamic_flag_spec
=
8914 whole_archive_flag_spec
=
8917 # PORTME fill in a description of your system's linker (not GNU ld)
8920 allow_undefined_flag
=unsupported
8921 always_export_symbols
=yes
8922 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'
8923 # Note: this linker hardcodes the directories in LIBPATH if there
8924 # are no directories specified by -L.
8925 hardcode_minus_L
=yes
8926 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8927 # Neither direct hardcoding nor static linking is supported with a
8929 hardcode_direct
=unsupported
8934 if test "$host_cpu" = ia64
; then
8935 # On IA64, the linker does run time linking by default, so we don't
8936 # have to do anything special.
8937 aix_use_runtimelinking
=no
8938 exp_sym_flag
='-Bexport'
8941 # If we're using GNU nm, then we don't want the "-C" option.
8942 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8943 # Also, AIX nm treats weak defined symbols like other global
8944 # defined symbols, whereas GNU nm marks them as "W".
8945 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8946 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'
8948 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8950 aix_use_runtimelinking
=no
8952 # Test if we are trying to use run time linking or normal
8953 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8954 # need to do runtime linking.
8955 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8956 for ld_flag
in $LDFLAGS; do
8957 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8958 aix_use_runtimelinking
=yes
8965 exp_sym_flag
='-bexport'
8966 no_entry_flag
='-bnoentry'
8969 # When large executables or shared objects are built, AIX ld can
8970 # have problems creating the table of contents. If linking a library
8971 # or program results in "error TOC overflow" add -mminimal-toc to
8972 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8973 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8977 hardcode_direct_absolute
=yes
8978 hardcode_libdir_separator
=':'
8979 link_all_deplibs
=yes
8980 file_list_spec
='${wl}-f,'
8982 if test "$GCC" = yes; then
8983 case $host_os in aix4.
[012]|aix4.
[012].
*)
8984 # We only want to do this on AIX 4.2 and lower, the check
8985 # below for broken collect2 doesn't work under 4.3+
8986 collect2name
=`${CC} -print-prog-name=collect2`
8987 if test -f "$collect2name" &&
8988 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8990 # We have reworked collect2
8993 # We have old collect2
8994 hardcode_direct
=unsupported
8995 # It fails to find uninstalled libraries when the uninstalled
8996 # path is not listed in the libpath. Setting hardcode_minus_L
8997 # to unsupported forces relinking
8998 hardcode_minus_L
=yes
8999 hardcode_libdir_flag_spec
='-L$libdir'
9000 hardcode_libdir_separator
=
9004 shared_flag
='-shared'
9005 if test "$aix_use_runtimelinking" = yes; then
9006 shared_flag
="$shared_flag "'${wl}-G'
9010 if test "$host_cpu" = ia64
; then
9011 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9012 # chokes on -Wl,-G. The following line is correct:
9015 if test "$aix_use_runtimelinking" = yes; then
9016 shared_flag
='${wl}-G'
9018 shared_flag
='${wl}-bM:SRE'
9023 export_dynamic_flag_spec
='${wl}-bexpall'
9024 # It seems that -bexpall does not export symbols beginning with
9025 # underscore (_), so it is better to generate a list of symbols to export.
9026 always_export_symbols
=yes
9027 if test "$aix_use_runtimelinking" = yes; then
9028 # Warning - without using the other runtime loading flags (-brtl),
9029 # -berok will link without error, but may produce a broken library.
9030 allow_undefined_flag
='-berok'
9031 # Determine the default libpath from the value encoded in an
9033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9034 /* end confdefs.h. */
9044 if ac_fn_c_try_link
"$LINENO"; then :
9046 lt_aix_libpath_sed
='
9047 /Import File Strings/,/^$/ {
9053 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9054 # Check for a 64-bit object if we didn't find anything.
9055 if test -z "$aix_libpath"; then
9056 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9059 rm -f core conftest.err conftest.
$ac_objext \
9060 conftest
$ac_exeext conftest.
$ac_ext
9061 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9063 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9064 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"
9066 if test "$host_cpu" = ia64
; then
9067 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9068 allow_undefined_flag
="-z nodefs"
9069 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"
9071 # Determine the default libpath from the value encoded in an
9073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9074 /* end confdefs.h. */
9084 if ac_fn_c_try_link
"$LINENO"; then :
9086 lt_aix_libpath_sed
='
9087 /Import File Strings/,/^$/ {
9093 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9094 # Check for a 64-bit object if we didn't find anything.
9095 if test -z "$aix_libpath"; then
9096 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9099 rm -f core conftest.err conftest.
$ac_objext \
9100 conftest
$ac_exeext conftest.
$ac_ext
9101 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9103 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9104 # Warning - without using the other run time loading flags,
9105 # -berok will link without error, but may produce a broken library.
9106 no_undefined_flag
=' ${wl}-bernotok'
9107 allow_undefined_flag
=' ${wl}-berok'
9108 if test "$with_gnu_ld" = yes; then
9109 # We only use this code for GNU lds that support --whole-archive.
9110 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9112 # Exported symbols can be pulled into shared objects from archives
9113 whole_archive_flag_spec
='$convenience'
9115 archive_cmds_need_lc
=yes
9116 # This is similar to how AIX traditionally builds its shared libraries.
9117 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'
9125 # see comment about AmigaOS4 .so support
9126 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9127 archive_expsym_cmds
=''
9130 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)'
9131 hardcode_libdir_flag_spec
='-L$libdir'
9132 hardcode_minus_L
=yes
9138 export_dynamic_flag_spec
=-rdynamic
9141 cygwin
* | mingw
* | pw32
* | cegcc
*)
9142 # When not using gcc, we currently assume that we are using
9143 # Microsoft Visual C++.
9144 # hardcode_libdir_flag_spec is actually meaningless, as there is
9145 # no search path for DLLs.
9146 hardcode_libdir_flag_spec
=' '
9147 allow_undefined_flag
=unsupported
9148 # Tell ltmain to make .lib files, not .a files.
9150 # Tell ltmain to make .dll files, not .so files.
9152 # FIXME: Setting linknames here is a bad hack.
9153 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9154 # The linker will automatically build a .lib file if we build a DLL.
9155 old_archive_from_new_cmds
='true'
9156 # FIXME: Should let the user specify the lib program.
9157 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9158 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9159 enable_shared_with_static_runtimes
=yes
9162 darwin
* | rhapsody
*)
9165 archive_cmds_need_lc
=no
9167 hardcode_automatic
=yes
9168 hardcode_shlibpath_var
=unsupported
9169 if test "$lt_cv_ld_force_load" = "yes"; then
9170 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\"`'
9172 whole_archive_flag_spec
=''
9174 link_all_deplibs
=yes
9175 allow_undefined_flag
="$_lt_dar_allow_undefined"
9176 case $cc_basename in
9177 ifort
*) _lt_dar_can_shared
=yes ;;
9178 *) _lt_dar_can_shared
=$GCC ;;
9180 if test "$_lt_dar_can_shared" = "yes"; then
9181 output_verbose_link_cmd
=func_echo_all
9182 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9183 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9184 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}"
9185 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}"
9194 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9195 hardcode_libdir_flag_spec
='-L$libdir'
9196 hardcode_shlibpath_var
=no
9199 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9200 # support. Future versions do this automatically, but an explicit c++rt0.o
9201 # does not break anything, and helps significantly (at the cost of a little
9204 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9205 hardcode_libdir_flag_spec
='-R$libdir'
9207 hardcode_shlibpath_var
=no
9210 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9212 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9214 hardcode_minus_L
=yes
9215 hardcode_shlibpath_var
=no
9218 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9219 freebsd
* | dragonfly
*)
9220 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9221 hardcode_libdir_flag_spec
='-R$libdir'
9223 hardcode_shlibpath_var
=no
9227 if test "$GCC" = yes; then
9228 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'
9230 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'
9232 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9233 hardcode_libdir_separator
=:
9236 # hardcode_minus_L: Not really in the search PATH,
9237 # but as the default location of the library.
9238 hardcode_minus_L
=yes
9239 export_dynamic_flag_spec
='${wl}-E'
9243 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9244 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9246 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9248 if test "$with_gnu_ld" = no
; then
9249 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9250 hardcode_libdir_flag_spec_ld
='+b $libdir'
9251 hardcode_libdir_separator
=:
9253 hardcode_direct_absolute
=yes
9254 export_dynamic_flag_spec
='${wl}-E'
9255 # hardcode_minus_L: Not really in the search PATH,
9256 # but as the default location of the library.
9257 hardcode_minus_L
=yes
9262 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9265 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9268 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9271 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9277 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9280 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9284 # Older versions of the 11.00 compiler do not understand -b yet
9285 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9287 $as_echo_n "checking if $CC understands -b... " >&6; }
9288 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9289 $as_echo_n "(cached) " >&6
9291 lt_cv_prog_compiler__b
=no
9292 save_LDFLAGS
="$LDFLAGS"
9293 LDFLAGS
="$LDFLAGS -b"
9294 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9295 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9296 # The linker can only warn and ignore the option if not recognized
9297 # So say no if there are warnings
9298 if test -s conftest.err
; then
9299 # Append any errors to the config.log.
9300 cat conftest.err
1>&5
9301 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9302 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9303 if diff conftest.exp conftest.er2
>/dev
/null
; then
9304 lt_cv_prog_compiler__b
=yes
9307 lt_cv_prog_compiler__b
=yes
9311 LDFLAGS
="$save_LDFLAGS"
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9315 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9317 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9318 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9320 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9326 if test "$with_gnu_ld" = no
; then
9327 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9328 hardcode_libdir_separator
=:
9333 hardcode_shlibpath_var
=no
9337 hardcode_direct_absolute
=yes
9338 export_dynamic_flag_spec
='${wl}-E'
9340 # hardcode_minus_L: Not really in the search PATH,
9341 # but as the default location of the library.
9342 hardcode_minus_L
=yes
9348 irix5
* | irix6
* | nonstopux
*)
9349 if test "$GCC" = yes; then
9350 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'
9351 # Try to use the -exported_symbol ld option, if it does not
9352 # work, assume that -exports_file does not work either and
9353 # implicitly export all symbols.
9354 save_LDFLAGS
="$LDFLAGS"
9355 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9357 /* end confdefs.h. */
9360 if ac_fn_c_try_link
"$LINENO"; then :
9361 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'
9364 rm -f core conftest.err conftest.
$ac_objext \
9365 conftest
$ac_exeext conftest.
$ac_ext
9366 LDFLAGS
="$save_LDFLAGS"
9368 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'
9369 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'
9371 archive_cmds_need_lc
='no'
9372 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9373 hardcode_libdir_separator
=:
9375 link_all_deplibs
=yes
9379 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9380 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9382 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9384 hardcode_libdir_flag_spec
='-R$libdir'
9386 hardcode_shlibpath_var
=no
9390 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9392 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9393 hardcode_libdir_separator
=:
9394 hardcode_shlibpath_var
=no
9401 if test -f /usr
/libexec
/ld.so
; then
9403 hardcode_shlibpath_var
=no
9404 hardcode_direct_absolute
=yes
9405 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9406 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9407 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9408 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9409 export_dynamic_flag_spec
='${wl}-E'
9412 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9413 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9414 hardcode_libdir_flag_spec
='-R$libdir'
9417 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9418 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9428 hardcode_libdir_flag_spec
='-L$libdir'
9429 hardcode_minus_L
=yes
9430 allow_undefined_flag
=unsupported
9431 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'
9432 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9436 if test "$GCC" = yes; then
9437 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9438 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'
9440 allow_undefined_flag
=' -expect_unresolved \*'
9441 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'
9443 archive_cmds_need_lc
='no'
9444 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9445 hardcode_libdir_separator
=:
9448 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9449 if test "$GCC" = yes; then
9450 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9451 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'
9452 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9454 allow_undefined_flag
=' -expect_unresolved \*'
9455 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'
9456 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~
9457 $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'
9459 # Both c and cxx compiler support -rpath directly
9460 hardcode_libdir_flag_spec
='-rpath $libdir'
9462 archive_cmds_need_lc
='no'
9463 hardcode_libdir_separator
=:
9467 no_undefined_flag
=' -z defs'
9468 if test "$GCC" = yes; then
9470 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9471 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9472 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9474 case `$CC -V 2>&1` in
9477 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9478 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9479 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9483 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9484 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9485 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9489 hardcode_libdir_flag_spec
='-R$libdir'
9490 hardcode_shlibpath_var
=no
9492 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9494 # The compiler driver will combine and reorder linker options,
9495 # but understands `-z linker_flag'. GCC discards it without `$wl',
9496 # but is careful enough not to reorder.
9497 # Supported since Solaris 2.6 (maybe 2.5.1?)
9498 if test "$GCC" = yes; then
9499 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9501 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9505 link_all_deplibs
=yes
9509 if test "x$host_vendor" = xsequent
; then
9510 # Use $CC to link under sequent, because it throws in some extra .o
9511 # files that make .init and .fini sections work.
9512 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9514 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9516 hardcode_libdir_flag_spec
='-L$libdir'
9518 hardcode_minus_L
=yes
9519 hardcode_shlibpath_var
=no
9523 case $host_vendor in
9525 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9526 hardcode_direct
=yes # is this really true???
9529 ## LD is ld it makes a PLAMLIB
9530 ## CC just makes a GrossModule.
9531 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9532 reload_cmds
='$CC -r -o $output$reload_objs'
9536 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9537 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9540 runpath_var
='LD_RUN_PATH'
9541 hardcode_shlibpath_var
=no
9545 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9546 hardcode_shlibpath_var
=no
9547 export_dynamic_flag_spec
='-Bexport'
9551 if test -d /usr
/nec
; then
9552 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9553 hardcode_shlibpath_var
=no
9554 runpath_var
=LD_RUN_PATH
9555 hardcode_runpath_var
=yes
9560 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9561 no_undefined_flag
='${wl}-z,text'
9562 archive_cmds_need_lc
=no
9563 hardcode_shlibpath_var
=no
9564 runpath_var
='LD_RUN_PATH'
9566 if test "$GCC" = yes; then
9567 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9568 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9570 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9571 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9575 sysv5
* | sco3.2v5
* | sco5v6
*)
9576 # Note: We can NOT use -z defs as we might desire, because we do not
9577 # link with -lc, and that would cause any symbols used from libc to
9578 # always be unresolved, which means just about no library would
9579 # ever link correctly. If we're not using GNU ld we use -z text
9580 # though, which does catch some bad symbols but isn't as heavy-handed
9582 no_undefined_flag
='${wl}-z,text'
9583 allow_undefined_flag
='${wl}-z,nodefs'
9584 archive_cmds_need_lc
=no
9585 hardcode_shlibpath_var
=no
9586 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9587 hardcode_libdir_separator
=':'
9588 link_all_deplibs
=yes
9589 export_dynamic_flag_spec
='${wl}-Bexport'
9590 runpath_var
='LD_RUN_PATH'
9592 if test "$GCC" = yes; then
9593 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9594 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9596 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9597 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9602 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9603 hardcode_libdir_flag_spec
='-L$libdir'
9604 hardcode_shlibpath_var
=no
9612 if test x
$host_vendor = xsni
; then
9614 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9615 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9622 $as_echo "$ld_shlibs" >&6; }
9623 test "$ld_shlibs" = no
&& can_build_shared
=no
9625 with_gnu_ld
=$with_gnu_ld
9642 # Do we need to explicitly link libc?
9644 case "x$archive_cmds_need_lc" in
9646 # Assume -lc should be added
9647 archive_cmds_need_lc
=yes
9649 if test "$enable_shared" = yes && test "$GCC" = yes; then
9650 case $archive_cmds in
9652 # FIXME: we may have to deal with multi-command sequences.
9655 # Test whether the compiler implicitly links with -lc since on some
9656 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9657 # to ld, don't add -lc before -lgcc.
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9659 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9660 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9661 $as_echo_n "(cached) " >&6
9664 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9666 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9667 (eval $ac_compile) 2>&5
9669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9670 test $ac_status = 0; } 2>conftest.err
; then
9673 libobjs
=conftest.
$ac_objext
9675 wl
=$lt_prog_compiler_wl
9676 pic_flag
=$lt_prog_compiler_pic
9682 lt_save_allow_undefined_flag
=$allow_undefined_flag
9683 allow_undefined_flag
=
9684 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9685 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9688 test $ac_status = 0; }
9690 lt_cv_archive_cmds_need_lc
=no
9692 lt_cv_archive_cmds_need_lc
=yes
9694 allow_undefined_flag
=$lt_save_allow_undefined_flag
9696 cat conftest.err
1>&5
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9702 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9703 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9867 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9869 if test "$GCC" = yes; then
9871 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9872 *) lt_awk_arg
="/^libraries:/" ;;
9875 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9876 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9878 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9879 case $lt_search_path_spec in
9881 # if the path contains ";" then we assume it to be the separator
9882 # otherwise default to the standard path separator (i.e. ":") - it is
9883 # assumed that no part of a normal pathname contains ";" but that should
9884 # okay in the real world where ";" in dirpaths is itself problematic.
9885 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9888 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9891 # Ok, now we have the path, separated by spaces, we can step through it
9892 # and add multilib dir if necessary.
9893 lt_tmp_lt_search_path_spec
=
9894 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9895 for lt_sys_path
in $lt_search_path_spec; do
9896 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9897 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9899 test -d "$lt_sys_path" && \
9900 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9903 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9904 BEGIN {RS=" "; FS="/|\n";} {
9907 for (lt_i = NF; lt_i > 0; lt_i--) {
9908 if ($lt_i != "" && $lt_i != ".") {
9909 if ($lt_i == "..") {
9912 if (lt_count == 0) {
9913 lt_foo="/" $lt_i lt_foo;
9920 if (lt_foo != "") { lt_freq[lt_foo]++; }
9921 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9923 # AWK program above erroneously prepends '/' to C:/dos/paths
9926 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9927 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9929 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9931 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9934 libname_spec
='lib$name'
9942 shlibpath_overrides_runpath
=unknown
9944 dynamic_linker
="$host_os ld.so"
9945 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9946 need_lib_prefix
=unknown
9947 hardcode_into_libs
=no
9949 # when you set need_version to no, make sure it does not cause -set_version
9950 # flags to be left without arguments
9951 need_version
=unknown
9956 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9957 shlibpath_var
=LIBPATH
9959 # AIX 3 has no versioning support, so we append a major version to the name.
9960 soname_spec
='${libname}${release}${shared_ext}$major'
9967 hardcode_into_libs
=yes
9968 if test "$host_cpu" = ia64
; then
9969 # AIX 5 supports IA64
9970 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9971 shlibpath_var
=LD_LIBRARY_PATH
9973 # With GCC up to 2.95.x, collect2 would create an import file
9974 # for dependence libraries. The import file would start with
9975 # the line `#! .'. This would cause the generated library to
9976 # depend on `.', always an invalid library. This was fixed in
9977 # development snapshots of GCC prior to 3.0.
9979 aix4 | aix4.
[01] | aix4.
[01].
*)
9980 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9982 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9989 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9990 # soname into executable. Probably we can add versioning support to
9991 # collect2, so additional links can be useful in future.
9992 if test "$aix_use_runtimelinking" = yes; then
9993 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9994 # instead of lib<name>.a to let people know that these are not
9995 # typical AIX shared libraries.
9996 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9998 # We preserve .a as extension for shared libraries through AIX4.2
9999 # and later when we are not doing run time linking.
10000 library_names_spec
='${libname}${release}.a $libname.a'
10001 soname_spec
='${libname}${release}${shared_ext}$major'
10003 shlibpath_var
=LIBPATH
10010 # Since July 2007 AmigaOS4 officially supports .so libraries.
10011 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10012 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10015 library_names_spec
='$libname.ixlibrary $libname.a'
10016 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10017 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'
10023 library_names_spec
='${libname}${shared_ext}'
10024 dynamic_linker
="$host_os ld.so"
10025 shlibpath_var
=LIBRARY_PATH
10031 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10032 soname_spec
='${libname}${release}${shared_ext}$major'
10033 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10034 shlibpath_var
=LD_LIBRARY_PATH
10035 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10036 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10037 # the default ld.so.conf also contains /usr/contrib/lib and
10038 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10039 # libtool to hard-code these into programs
10042 cygwin
* | mingw
* | pw32
* | cegcc
*)
10043 version_type
=windows
10048 case $GCC,$host_os in
10049 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10050 library_names_spec
='$libname.dll.a'
10051 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10052 postinstall_cmds
='base_file=`basename \${file}`~
10053 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10054 dldir=$destdir/`dirname \$dlpath`~
10055 test -d \$dldir || mkdir -p \$dldir~
10056 $install_prog $dir/$dlname \$dldir/$dlname~
10057 chmod a+x \$dldir/$dlname~
10058 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10059 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10061 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10062 dlpath=$dir/\$dldll~
10064 shlibpath_overrides_runpath
=yes
10068 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10069 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10071 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10074 # MinGW DLLs use traditional 'lib' prefix
10075 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10078 # pw32 DLLs use 'pw' prefix rather than 'lib'
10079 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10085 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10088 dynamic_linker
='Win32 ld.exe'
10089 # FIXME: first we should search . and the directory the executable is in
10093 darwin
* | rhapsody
*)
10094 dynamic_linker
="$host_os dyld"
10095 version_type
=darwin
10098 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10099 soname_spec
='${libname}${release}${major}$shared_ext'
10100 shlibpath_overrides_runpath
=yes
10101 shlibpath_var
=DYLD_LIBRARY_PATH
10102 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10104 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10105 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10112 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10113 soname_spec
='${libname}${release}${shared_ext}$major'
10114 shlibpath_var
=LD_LIBRARY_PATH
10117 freebsd
* | dragonfly
*)
10118 # DragonFly does not have aout. When/if they implement a new
10119 # versioning mechanism, adjust this.
10120 if test -x /usr
/bin
/objformat
; then
10121 objformat
=`/usr/bin/objformat`
10124 freebsd
[23].
*) objformat
=aout
;;
10125 *) objformat
=elf
;;
10128 version_type
=freebsd-
$objformat
10129 case $version_type in
10131 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10136 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10140 shlibpath_var
=LD_LIBRARY_PATH
10143 shlibpath_overrides_runpath
=yes
10145 freebsd3.
[01]* | freebsdelf3.
[01]*)
10146 shlibpath_overrides_runpath
=yes
10147 hardcode_into_libs
=yes
10149 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10150 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10151 shlibpath_overrides_runpath
=no
10152 hardcode_into_libs
=yes
10154 *) # from 4.6 on, and DragonFly
10155 shlibpath_overrides_runpath
=yes
10156 hardcode_into_libs
=yes
10165 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10166 soname_spec
='${libname}${release}${shared_ext}$major'
10167 shlibpath_var
=LD_LIBRARY_PATH
10168 hardcode_into_libs
=yes
10175 dynamic_linker
="$host_os runtime_loader"
10176 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10177 soname_spec
='${libname}${release}${shared_ext}$major'
10178 shlibpath_var
=LIBRARY_PATH
10179 shlibpath_overrides_runpath
=yes
10180 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10181 hardcode_into_libs
=yes
10184 hpux9
* | hpux10
* | hpux11
*)
10185 # Give a soname corresponding to the major version so that dld.sl refuses to
10186 # link against other versions.
10193 hardcode_into_libs
=yes
10194 dynamic_linker
="$host_os dld.so"
10195 shlibpath_var
=LD_LIBRARY_PATH
10196 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10197 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10198 soname_spec
='${libname}${release}${shared_ext}$major'
10199 if test "X$HPUX_IA64_MODE" = X32
; then
10200 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10202 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10204 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10208 hardcode_into_libs
=yes
10209 dynamic_linker
="$host_os dld.sl"
10210 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10211 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10212 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10213 soname_spec
='${libname}${release}${shared_ext}$major'
10214 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10215 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10219 dynamic_linker
="$host_os dld.sl"
10220 shlibpath_var
=SHLIB_PATH
10221 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10222 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10223 soname_spec
='${libname}${release}${shared_ext}$major'
10226 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10227 postinstall_cmds
='chmod 555 $lib'
10228 # or fails outright, so override atomically:
10229 install_override_mode
=555
10236 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10237 soname_spec
='${libname}${release}${shared_ext}$major'
10238 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10239 shlibpath_var
=LD_LIBRARY_PATH
10240 shlibpath_overrides_runpath
=no
10241 hardcode_into_libs
=yes
10244 irix5
* | irix6
* | nonstopux
*)
10246 nonstopux
*) version_type
=nonstopux
;;
10248 if test "$lt_cv_prog_gnu_ld" = yes; then
10256 soname_spec
='${libname}${release}${shared_ext}$major'
10257 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10259 irix5
* | nonstopux
*)
10260 libsuff
= shlibsuff
=
10263 case $LD in # libtool.m4 will add one of these switches to LD
10264 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10265 libsuff
= shlibsuff
= libmagic
=32-bit;;
10266 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10267 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10268 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10269 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10270 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10274 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10275 shlibpath_overrides_runpath
=no
10276 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10277 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10278 hardcode_into_libs
=yes
10281 # No shared lib support for Linux oldld, aout, or coff.
10282 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10286 # This must be Linux ELF.
10287 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10291 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10292 soname_spec
='${libname}${release}${shared_ext}$major'
10293 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10294 shlibpath_var
=LD_LIBRARY_PATH
10295 shlibpath_overrides_runpath
=no
10297 # Some binutils ld are patched to set DT_RUNPATH
10298 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10299 $as_echo_n "(cached) " >&6
10301 lt_cv_shlibpath_overrides_runpath
=no
10302 save_LDFLAGS
=$LDFLAGS
10303 save_libdir
=$libdir
10304 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10305 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10307 /* end confdefs.h. */
10317 if ac_fn_c_try_link
"$LINENO"; then :
10318 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10319 lt_cv_shlibpath_overrides_runpath
=yes
10322 rm -f core conftest.err conftest.
$ac_objext \
10323 conftest
$ac_exeext conftest.
$ac_ext
10324 LDFLAGS
=$save_LDFLAGS
10325 libdir
=$save_libdir
10329 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10331 # This implies no fast_install, which is unacceptable.
10332 # Some rework will be needed to allow for fast_install
10333 # before this can be enabled.
10334 hardcode_into_libs
=yes
10336 # Append ld.so.conf contents to the search path
10337 if test -f /etc
/ld.so.conf
; then
10338 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' ' '`
10339 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10342 # We used to test for /lib/ld.so.1 and disable shared libraries on
10343 # powerpc, because MkLinux only supported shared libraries with the
10344 # GNU dynamic linker. Since this was broken with cross compilers,
10345 # most powerpc-linux boxes support dynamic linking these days and
10346 # people can always --disable-shared, the test was removed, and we
10347 # assume the GNU/Linux dynamic linker is in use.
10348 dynamic_linker
='GNU/Linux ld.so'
10355 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10356 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10357 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10358 dynamic_linker
='NetBSD (a.out) ld.so'
10360 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10361 soname_spec
='${libname}${release}${shared_ext}$major'
10362 dynamic_linker
='NetBSD ld.elf_so'
10364 shlibpath_var
=LD_LIBRARY_PATH
10365 shlibpath_overrides_runpath
=yes
10366 hardcode_into_libs
=yes
10371 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10372 shlibpath_var
=LD_LIBRARY_PATH
10373 shlibpath_overrides_runpath
=yes
10380 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10381 soname_spec
='${libname}${release}${shared_ext}$major'
10382 shlibpath_var
=LD_LIBRARY_PATH
10383 shlibpath_overrides_runpath
=no
10384 hardcode_into_libs
=yes
10385 dynamic_linker
='ldqnx.so'
10390 sys_lib_dlsearch_path_spec
="/usr/lib"
10392 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10394 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10395 *) need_version
=no
;;
10397 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10398 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10399 shlibpath_var
=LD_LIBRARY_PATH
10400 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10402 openbsd2.
[89] | openbsd2.
[89].
*)
10403 shlibpath_overrides_runpath
=no
10406 shlibpath_overrides_runpath
=yes
10410 shlibpath_overrides_runpath
=yes
10415 libname_spec
='$name'
10418 library_names_spec
='$libname${shared_ext} $libname.a'
10419 dynamic_linker
='OS/2 ld.exe'
10420 shlibpath_var
=LIBPATH
10423 osf3
* | osf4
* | osf5
*)
10427 soname_spec
='${libname}${release}${shared_ext}$major'
10428 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10429 shlibpath_var
=LD_LIBRARY_PATH
10430 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10431 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10442 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10443 soname_spec
='${libname}${release}${shared_ext}$major'
10444 shlibpath_var
=LD_LIBRARY_PATH
10445 shlibpath_overrides_runpath
=yes
10446 hardcode_into_libs
=yes
10447 # ldd complains unless libraries are executable
10448 postinstall_cmds
='chmod +x $lib'
10453 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10454 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10455 shlibpath_var
=LD_LIBRARY_PATH
10456 shlibpath_overrides_runpath
=yes
10457 if test "$with_gnu_ld" = yes; then
10465 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10466 soname_spec
='${libname}${release}${shared_ext}$major'
10467 shlibpath_var
=LD_LIBRARY_PATH
10468 case $host_vendor in
10470 shlibpath_overrides_runpath
=no
10472 runpath_var
=LD_RUN_PATH
10480 shlibpath_overrides_runpath
=no
10481 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10487 if test -d /usr
/nec
;then
10489 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10490 soname_spec
='$libname${shared_ext}.$major'
10491 shlibpath_var
=LD_LIBRARY_PATH
10495 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10496 version_type
=freebsd-elf
10499 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10500 soname_spec
='${libname}${release}${shared_ext}$major'
10501 shlibpath_var
=LD_LIBRARY_PATH
10502 shlibpath_overrides_runpath
=yes
10503 hardcode_into_libs
=yes
10504 if test "$with_gnu_ld" = yes; then
10505 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10507 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10510 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10514 sys_lib_dlsearch_path_spec
='/usr/lib'
10518 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10522 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10523 shlibpath_var
=LD_LIBRARY_PATH
10524 shlibpath_overrides_runpath
=no
10525 hardcode_into_libs
=yes
10530 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10531 soname_spec
='${libname}${release}${shared_ext}$major'
10532 shlibpath_var
=LD_LIBRARY_PATH
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10540 $as_echo "$dynamic_linker" >&6; }
10541 test "$dynamic_linker" = no
&& can_build_shared
=no
10543 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10544 if test "$GCC" = yes; then
10545 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10548 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10549 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10551 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10552 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10647 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10649 if test -n "$hardcode_libdir_flag_spec" ||
10650 test -n "$runpath_var" ||
10651 test "X$hardcode_automatic" = "Xyes" ; then
10653 # We can hardcode non-existent directories.
10654 if test "$hardcode_direct" != no
&&
10655 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10656 # have to relink, otherwise we might link with an installed library
10657 # when we should be linking with a yet-to-be-installed one
10658 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10659 test "$hardcode_minus_L" != no
; then
10660 # Linking always hardcodes the temporary library directory.
10661 hardcode_action
=relink
10663 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10664 hardcode_action
=immediate
10667 # We cannot hardcode anything, or else we can only hardcode existing
10669 hardcode_action
=unsupported
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10672 $as_echo "$hardcode_action" >&6; }
10674 if test "$hardcode_action" = relink ||
10675 test "$inherit_rpath" = yes; then
10676 # Fast installation is not supported
10677 enable_fast_install
=no
10678 elif test "$shlibpath_overrides_runpath" = yes ||
10679 test "$enable_shared" = no
; then
10680 # Fast installation is not necessary
10681 enable_fast_install
=needless
10689 if test "x$enable_dlopen" != xyes
; then
10690 enable_dlopen
=unknown
10691 enable_dlopen_self
=unknown
10692 enable_dlopen_self_static
=unknown
10699 lt_cv_dlopen
="load_add_on"
10701 lt_cv_dlopen_self
=yes
10704 mingw
* | pw32
* | cegcc
*)
10705 lt_cv_dlopen
="LoadLibrary"
10710 lt_cv_dlopen
="dlopen"
10715 # if libdl is installed we need to link against it
10716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10717 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10718 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10719 $as_echo_n "(cached) " >&6
10721 ac_check_lib_save_LIBS
=$LIBS
10723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10724 /* end confdefs.h. */
10726 /* Override any GCC internal prototype to avoid an error.
10727 Use char because int might match the return type of a GCC
10728 builtin and then its argument prototype would still apply. */
10741 if ac_fn_c_try_link
"$LINENO"; then :
10742 ac_cv_lib_dl_dlopen
=yes
10744 ac_cv_lib_dl_dlopen
=no
10746 rm -f core conftest.err conftest.
$ac_objext \
10747 conftest
$ac_exeext conftest.
$ac_ext
10748 LIBS
=$ac_check_lib_save_LIBS
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10751 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10752 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10753 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10756 lt_cv_dlopen
="dyld"
10758 lt_cv_dlopen_self
=yes
10765 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10766 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10767 lt_cv_dlopen
="shl_load"
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10770 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10771 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10772 $as_echo_n "(cached) " >&6
10774 ac_check_lib_save_LIBS
=$LIBS
10776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10777 /* end confdefs.h. */
10779 /* Override any GCC internal prototype to avoid an error.
10780 Use char because int might match the return type of a GCC
10781 builtin and then its argument prototype would still apply. */
10789 return shl_load ();
10794 if ac_fn_c_try_link
"$LINENO"; then :
10795 ac_cv_lib_dld_shl_load
=yes
10797 ac_cv_lib_dld_shl_load
=no
10799 rm -f core conftest.err conftest.
$ac_objext \
10800 conftest
$ac_exeext conftest.
$ac_ext
10801 LIBS
=$ac_check_lib_save_LIBS
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10804 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10805 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10806 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10808 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10809 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10810 lt_cv_dlopen
="dlopen"
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10813 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10814 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10815 $as_echo_n "(cached) " >&6
10817 ac_check_lib_save_LIBS
=$LIBS
10819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10820 /* end confdefs.h. */
10822 /* Override any GCC internal prototype to avoid an error.
10823 Use char because int might match the return type of a GCC
10824 builtin and then its argument prototype would still apply. */
10837 if ac_fn_c_try_link
"$LINENO"; then :
10838 ac_cv_lib_dl_dlopen
=yes
10840 ac_cv_lib_dl_dlopen
=no
10842 rm -f core conftest.err conftest.
$ac_objext \
10843 conftest
$ac_exeext conftest.
$ac_ext
10844 LIBS
=$ac_check_lib_save_LIBS
10846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10847 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10848 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10849 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10852 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10853 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10854 $as_echo_n "(cached) " >&6
10856 ac_check_lib_save_LIBS
=$LIBS
10857 LIBS
="-lsvld $LIBS"
10858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10859 /* end confdefs.h. */
10861 /* Override any GCC internal prototype to avoid an error.
10862 Use char because int might match the return type of a GCC
10863 builtin and then its argument prototype would still apply. */
10876 if ac_fn_c_try_link
"$LINENO"; then :
10877 ac_cv_lib_svld_dlopen
=yes
10879 ac_cv_lib_svld_dlopen
=no
10881 rm -f core conftest.err conftest.
$ac_objext \
10882 conftest
$ac_exeext conftest.
$ac_ext
10883 LIBS
=$ac_check_lib_save_LIBS
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10886 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10887 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10888 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10891 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10892 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10893 $as_echo_n "(cached) " >&6
10895 ac_check_lib_save_LIBS
=$LIBS
10897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10898 /* end confdefs.h. */
10900 /* Override any GCC internal prototype to avoid an error.
10901 Use char because int might match the return type of a GCC
10902 builtin and then its argument prototype would still apply. */
10910 return dld_link ();
10915 if ac_fn_c_try_link
"$LINENO"; then :
10916 ac_cv_lib_dld_dld_link
=yes
10918 ac_cv_lib_dld_dld_link
=no
10920 rm -f core conftest.err conftest.
$ac_objext \
10921 conftest
$ac_exeext conftest.
$ac_ext
10922 LIBS
=$ac_check_lib_save_LIBS
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10925 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10926 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10927 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10948 if test "x$lt_cv_dlopen" != xno
; then
10954 case $lt_cv_dlopen in
10956 save_CPPFLAGS
="$CPPFLAGS"
10957 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10959 save_LDFLAGS
="$LDFLAGS"
10960 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10963 LIBS
="$lt_cv_dlopen_libs $LIBS"
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10966 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10967 if test "${lt_cv_dlopen_self+set}" = set; then :
10968 $as_echo_n "(cached) " >&6
10970 if test "$cross_compiling" = yes; then :
10971 lt_cv_dlopen_self
=cross
10973 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10974 lt_status
=$lt_dlunknown
10975 cat > conftest.
$ac_ext <<_LT_EOF
10976 #line 10976 "configure"
10977 #include "confdefs.h"
10986 # define LT_DLGLOBAL RTLD_GLOBAL
10989 # define LT_DLGLOBAL DL_GLOBAL
10991 # define LT_DLGLOBAL 0
10995 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10996 find out it does not work in some platform. */
10997 #ifndef LT_DLLAZY_OR_NOW
10999 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11002 # define LT_DLLAZY_OR_NOW DL_LAZY
11005 # define LT_DLLAZY_OR_NOW RTLD_NOW
11008 # define LT_DLLAZY_OR_NOW DL_NOW
11010 # define LT_DLLAZY_OR_NOW 0
11017 /* When -fvisbility=hidden is used, assume the code has been annotated
11018 correspondingly for the symbols needed. */
11019 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11020 void fnord () __attribute__((visibility("default")));
11023 void fnord () { int i=42; }
11026 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11027 int status = $lt_dlunknown;
11031 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11034 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11035 else puts (dlerror ());
11037 /* dlclose (self); */
11045 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11046 (eval $ac_link) 2>&5
11048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11049 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11050 (.
/conftest
; exit; ) >&5 2>/dev
/null
11052 case x
$lt_status in
11053 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11054 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11055 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11058 # compilation failed
11059 lt_cv_dlopen_self
=no
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11067 $as_echo "$lt_cv_dlopen_self" >&6; }
11069 if test "x$lt_cv_dlopen_self" = xyes
; then
11070 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11072 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11073 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11074 $as_echo_n "(cached) " >&6
11076 if test "$cross_compiling" = yes; then :
11077 lt_cv_dlopen_self_static
=cross
11079 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11080 lt_status
=$lt_dlunknown
11081 cat > conftest.
$ac_ext <<_LT_EOF
11082 #line 11082 "configure"
11083 #include "confdefs.h"
11092 # define LT_DLGLOBAL RTLD_GLOBAL
11095 # define LT_DLGLOBAL DL_GLOBAL
11097 # define LT_DLGLOBAL 0
11101 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11102 find out it does not work in some platform. */
11103 #ifndef LT_DLLAZY_OR_NOW
11105 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11108 # define LT_DLLAZY_OR_NOW DL_LAZY
11111 # define LT_DLLAZY_OR_NOW RTLD_NOW
11114 # define LT_DLLAZY_OR_NOW DL_NOW
11116 # define LT_DLLAZY_OR_NOW 0
11123 /* When -fvisbility=hidden is used, assume the code has been annotated
11124 correspondingly for the symbols needed. */
11125 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11126 void fnord () __attribute__((visibility("default")));
11129 void fnord () { int i=42; }
11132 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11133 int status = $lt_dlunknown;
11137 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11140 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11141 else puts (dlerror ());
11143 /* dlclose (self); */
11151 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11152 (eval $ac_link) 2>&5
11154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11155 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11156 (.
/conftest
; exit; ) >&5 2>/dev
/null
11158 case x
$lt_status in
11159 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11160 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11161 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11164 # compilation failed
11165 lt_cv_dlopen_self_static
=no
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11173 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11176 CPPFLAGS
="$save_CPPFLAGS"
11177 LDFLAGS
="$save_LDFLAGS"
11182 case $lt_cv_dlopen_self in
11183 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11184 *) enable_dlopen_self
=unknown
;;
11187 case $lt_cv_dlopen_self_static in
11188 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11189 *) enable_dlopen_self_static
=unknown
;;
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11212 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11213 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11214 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11215 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11217 $as_echo "yes" >&6; }
11219 # FIXME - insert some real tests, host_os isn't really good enough
11222 if test -n "$STRIP" ; then
11223 striplib
="$STRIP -x"
11224 old_striplib
="$STRIP -S"
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11226 $as_echo "yes" >&6; }
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11229 $as_echo "no" >&6; }
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11234 $as_echo "no" >&6; }
11250 # Report which library types will actually be built
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11252 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11254 $as_echo "$can_build_shared" >&6; }
11256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11257 $as_echo_n "checking whether to build shared libraries... " >&6; }
11258 test "$can_build_shared" = "no" && enable_shared
=no
11260 # On AIX, shared libraries and static libraries use the same namespace, and
11261 # are all built from PIC.
11264 test "$enable_shared" = yes && enable_static
=no
11265 if test -n "$RANLIB"; then
11266 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11267 postinstall_cmds
='$RANLIB $lib'
11272 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11273 test "$enable_shared" = yes && enable_static
=no
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11278 $as_echo "$enable_shared" >&6; }
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11281 $as_echo_n "checking whether to build static libraries... " >&6; }
11282 # Make sure either enable_shared or enable_static is yes.
11283 test "$enable_shared" = yes || enable_static
=yes
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11285 $as_echo "$enable_static" >&6; }
11292 ac_cpp
='$CPP $CPPFLAGS'
11293 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11294 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11295 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11299 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11300 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11301 (test "X$CXX" != "Xg++"))) ; then
11303 ac_cpp
='$CXXCPP $CPPFLAGS'
11304 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11305 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11306 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11308 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11309 if test -z "$CXXCPP"; then
11310 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11311 $as_echo_n "(cached) " >&6
11313 # Double quotes because CXXCPP needs to be expanded
11314 for CXXCPP
in "$CXX -E" "/lib/cpp"
11316 ac_preproc_ok
=false
11317 for ac_cxx_preproc_warn_flag
in '' yes
11319 # Use a header file that comes with gcc, so configuring glibc
11320 # with a fresh cross-compiler works.
11321 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11322 # <limits.h> exists even on freestanding compilers.
11323 # On the NeXT, cc -E runs the code through the compiler's parser,
11324 # not just through cpp. "Syntax error" is here to catch this case.
11325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11326 /* end confdefs.h. */
11328 # include <limits.h>
11330 # include <assert.h>
11334 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11337 # Broken: fails on valid input.
11340 rm -f conftest.err conftest.
$ac_ext
11342 # OK, works on sane cases. Now check whether nonexistent headers
11343 # can be detected and how.
11344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11345 /* end confdefs.h. */
11346 #include <ac_nonexistent.h>
11348 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11349 # Broken: success on invalid input.
11352 # Passes both tests.
11356 rm -f conftest.err conftest.
$ac_ext
11359 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11360 rm -f conftest.err conftest.
$ac_ext
11361 if $ac_preproc_ok; then :
11366 ac_cv_prog_CXXCPP
=$CXXCPP
11369 CXXCPP
=$ac_cv_prog_CXXCPP
11371 ac_cv_prog_CXXCPP
=$CXXCPP
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11374 $as_echo "$CXXCPP" >&6; }
11375 ac_preproc_ok
=false
11376 for ac_cxx_preproc_warn_flag
in '' yes
11378 # Use a header file that comes with gcc, so configuring glibc
11379 # with a fresh cross-compiler works.
11380 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11381 # <limits.h> exists even on freestanding compilers.
11382 # On the NeXT, cc -E runs the code through the compiler's parser,
11383 # not just through cpp. "Syntax error" is here to catch this case.
11384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11385 /* end confdefs.h. */
11387 # include <limits.h>
11389 # include <assert.h>
11393 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11396 # Broken: fails on valid input.
11399 rm -f conftest.err conftest.
$ac_ext
11401 # OK, works on sane cases. Now check whether nonexistent headers
11402 # can be detected and how.
11403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11404 /* end confdefs.h. */
11405 #include <ac_nonexistent.h>
11407 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11408 # Broken: success on invalid input.
11411 # Passes both tests.
11415 rm -f conftest.err conftest.
$ac_ext
11418 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11419 rm -f conftest.err conftest.
$ac_ext
11420 if $ac_preproc_ok; then :
11423 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11424 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11425 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
11426 See \`config.log' for more details." "$LINENO" 5; }
11430 ac_cpp
='$CPP $CPPFLAGS'
11431 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11432 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11433 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11436 _lt_caught_CXX_error
=yes
11440 ac_cpp
='$CXXCPP $CPPFLAGS'
11441 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11442 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11443 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11445 archive_cmds_need_lc_CXX
=no
11446 allow_undefined_flag_CXX
=
11447 always_export_symbols_CXX
=no
11448 archive_expsym_cmds_CXX
=
11449 compiler_needs_object_CXX
=no
11450 export_dynamic_flag_spec_CXX
=
11451 hardcode_direct_CXX
=no
11452 hardcode_direct_absolute_CXX
=no
11453 hardcode_libdir_flag_spec_CXX
=
11454 hardcode_libdir_flag_spec_ld_CXX
=
11455 hardcode_libdir_separator_CXX
=
11456 hardcode_minus_L_CXX
=no
11457 hardcode_shlibpath_var_CXX
=unsupported
11458 hardcode_automatic_CXX
=no
11459 inherit_rpath_CXX
=no
11461 module_expsym_cmds_CXX
=
11462 link_all_deplibs_CXX
=unknown
11463 old_archive_cmds_CXX
=$old_archive_cmds
11464 reload_flag_CXX
=$reload_flag
11465 reload_cmds_CXX
=$reload_cmds
11466 no_undefined_flag_CXX
=
11467 whole_archive_flag_spec_CXX
=
11468 enable_shared_with_static_runtimes_CXX
=no
11470 # Source file extension for C++ test sources.
11473 # Object file extension for compiled C++ test sources.
11477 # No sense in running all these tests if we already determined that
11478 # the CXX compiler isn't working. Some variables (like enable_shared)
11479 # are currently assumed to apply to all compilers on this platform,
11480 # and will be corrupted by setting them based on a non-working compiler.
11481 if test "$_lt_caught_CXX_error" != yes; then
11482 # Code to be used in simple compile tests
11483 lt_simple_compile_test_code
="int some_variable = 0;"
11485 # Code to be used in simple link tests
11486 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11488 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11495 # If no C compiler was specified, use CC.
11498 # If no C compiler flags were specified, use CFLAGS.
11499 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11501 # Allow CC to be a program name with arguments.
11505 # save warnings/boilerplate of simple test code
11506 ac_outfile
=conftest.
$ac_objext
11507 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11508 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11509 _lt_compiler_boilerplate
=`cat conftest.err`
11512 ac_outfile
=conftest.
$ac_objext
11513 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11514 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11515 _lt_linker_boilerplate
=`cat conftest.err`
11519 # Allow CC to be a program name with arguments.
11524 lt_save_with_gnu_ld
=$with_gnu_ld
11525 lt_save_path_LD
=$lt_cv_path_LD
11526 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11527 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11529 $as_unset lt_cv_prog_gnu_ld
11531 if test -n "${lt_cv_path_LDCXX+set}"; then
11532 lt_cv_path_LD
=$lt_cv_path_LDCXX
11534 $as_unset lt_cv_path_LD
11536 test -z "${LDCXX+set}" || LD
=$LDCXX
11540 for cc_temp
in $compiler""; do
11542 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11543 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11548 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11551 if test -n "$compiler"; then
11552 # We don't want -fno-exception when compiling C++ code, so set the
11553 # no_builtin_flag separately
11554 if test "$GXX" = yes; then
11555 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11557 lt_prog_compiler_no_builtin_flag_CXX
=
11560 if test "$GXX" = yes; then
11561 # Set up default GNU C++ configuration
11565 # Check whether --with-gnu-ld was given.
11566 if test "${with_gnu_ld+set}" = set; then :
11567 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
11573 if test "$GCC" = yes; then
11574 # Check if gcc -print-prog-name=ld gives a path.
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11576 $as_echo_n "checking for ld used by $CC... " >&6; }
11579 # gcc leaves a trailing carriage return which upsets mingw
11580 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11582 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11585 # Accept absolute paths.
11587 re_direlt
='/[^/][^/]*/\.\./'
11588 # Canonicalize the pathname of ld
11589 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11590 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
11591 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11593 test -z "$LD" && LD
="$ac_prog"
11596 # If it fails, then pretend we aren't using GCC.
11600 # If it is relative, then search for the first ld in PATH.
11601 with_gnu_ld
=unknown
11604 elif test "$with_gnu_ld" = yes; then
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11606 $as_echo_n "checking for GNU ld... " >&6; }
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11609 $as_echo_n "checking for non-GNU ld... " >&6; }
11611 if test "${lt_cv_path_LD+set}" = set; then :
11612 $as_echo_n "(cached) " >&6
11614 if test -z "$LD"; then
11615 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11616 for ac_dir
in $PATH; do
11618 test -z "$ac_dir" && ac_dir
=.
11619 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
11620 lt_cv_path_LD
="$ac_dir/$ac_prog"
11621 # Check to see if the program is GNU ld. I'd rather use --version,
11622 # but apparently some variants of GNU ld only accept -v.
11623 # Break only if it was the GNU/non-GNU ld that we prefer.
11624 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11625 *GNU
* |
*'with BFD'*)
11626 test "$with_gnu_ld" != no
&& break
11629 test "$with_gnu_ld" != yes && break
11636 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11640 LD
="$lt_cv_path_LD"
11641 if test -n "$LD"; then
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11643 $as_echo "$LD" >&6; }
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11646 $as_echo "no" >&6; }
11648 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
11649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11650 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11651 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11652 $as_echo_n "(cached) " >&6
11654 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11655 case `$LD -v 2>&1 </dev/null` in
11656 *GNU
* |
*'with BFD'*)
11657 lt_cv_prog_gnu_ld
=yes
11660 lt_cv_prog_gnu_ld
=no
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11665 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11666 with_gnu_ld
=$lt_cv_prog_gnu_ld
11674 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11675 # archiving commands below assume that GNU ld is being used.
11676 if test "$with_gnu_ld" = yes; then
11677 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11678 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'
11680 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11681 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11683 # If archive_cmds runs LD, not CC, wlarc should be empty
11684 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11685 # investigate it a little bit more. (MM)
11688 # ancient GNU ld didn't support --whole-archive et. al.
11689 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11690 $GREP 'no-whole-archive' > /dev
/null
; then
11691 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11693 whole_archive_flag_spec_CXX
=
11699 # A generic and very simple default shared library creation
11700 # command for GNU C++ for the case where it uses the native
11701 # linker, instead of GNU ld. If possible, this setting should
11702 # overridden to take advantage of the native linker features on
11703 # the platform it is being used on.
11704 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11707 # Commands to make compiler produce verbose output that lists
11708 # what "hidden" libraries, object files and flags are used when
11709 # linking a shared library.
11710 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
11718 # PORTME: fill in a description of your system's C++ link characteristics
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11720 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11724 # FIXME: insert proper C++ library support
11728 if test "$host_cpu" = ia64
; then
11729 # On IA64, the linker does run time linking by default, so we don't
11730 # have to do anything special.
11731 aix_use_runtimelinking
=no
11732 exp_sym_flag
='-Bexport'
11735 aix_use_runtimelinking
=no
11737 # Test if we are trying to use run time linking or normal
11738 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11739 # need to do runtime linking.
11740 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11741 for ld_flag
in $LDFLAGS; do
11744 aix_use_runtimelinking
=yes
11752 exp_sym_flag
='-bexport'
11753 no_entry_flag
='-bnoentry'
11756 # When large executables or shared objects are built, AIX ld can
11757 # have problems creating the table of contents. If linking a library
11758 # or program results in "error TOC overflow" add -mminimal-toc to
11759 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11760 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11762 archive_cmds_CXX
=''
11763 hardcode_direct_CXX
=yes
11764 hardcode_direct_absolute_CXX
=yes
11765 hardcode_libdir_separator_CXX
=':'
11766 link_all_deplibs_CXX
=yes
11767 file_list_spec_CXX
='${wl}-f,'
11769 if test "$GXX" = yes; then
11770 case $host_os in aix4.
[012]|aix4.
[012].
*)
11771 # We only want to do this on AIX 4.2 and lower, the check
11772 # below for broken collect2 doesn't work under 4.3+
11773 collect2name
=`${CC} -print-prog-name=collect2`
11774 if test -f "$collect2name" &&
11775 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11777 # We have reworked collect2
11780 # We have old collect2
11781 hardcode_direct_CXX
=unsupported
11782 # It fails to find uninstalled libraries when the uninstalled
11783 # path is not listed in the libpath. Setting hardcode_minus_L
11784 # to unsupported forces relinking
11785 hardcode_minus_L_CXX
=yes
11786 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11787 hardcode_libdir_separator_CXX
=
11790 shared_flag
='-shared'
11791 if test "$aix_use_runtimelinking" = yes; then
11792 shared_flag
="$shared_flag "'${wl}-G'
11796 if test "$host_cpu" = ia64
; then
11797 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11798 # chokes on -Wl,-G. The following line is correct:
11801 if test "$aix_use_runtimelinking" = yes; then
11802 shared_flag
='${wl}-G'
11804 shared_flag
='${wl}-bM:SRE'
11809 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
11810 # It seems that -bexpall does not export symbols beginning with
11811 # underscore (_), so it is better to generate a list of symbols to
11813 always_export_symbols_CXX
=yes
11814 if test "$aix_use_runtimelinking" = yes; then
11815 # Warning - without using the other runtime loading flags (-brtl),
11816 # -berok will link without error, but may produce a broken library.
11817 allow_undefined_flag_CXX
='-berok'
11818 # Determine the default libpath from the value encoded in an empty
11820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11821 /* end confdefs.h. */
11831 if ac_fn_cxx_try_link
"$LINENO"; then :
11833 lt_aix_libpath_sed
='
11834 /Import File Strings/,/^$/ {
11840 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11841 # Check for a 64-bit object if we didn't find anything.
11842 if test -z "$aix_libpath"; then
11843 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11846 rm -f core conftest.err conftest.
$ac_objext \
11847 conftest
$ac_exeext conftest.
$ac_ext
11848 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11850 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11852 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"
11854 if test "$host_cpu" = ia64
; then
11855 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11856 allow_undefined_flag_CXX
="-z nodefs"
11857 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"
11859 # Determine the default libpath from the value encoded in an
11860 # empty executable.
11861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11862 /* end confdefs.h. */
11872 if ac_fn_cxx_try_link
"$LINENO"; then :
11874 lt_aix_libpath_sed
='
11875 /Import File Strings/,/^$/ {
11881 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11882 # Check for a 64-bit object if we didn't find anything.
11883 if test -z "$aix_libpath"; then
11884 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11887 rm -f core conftest.err conftest.
$ac_objext \
11888 conftest
$ac_exeext conftest.
$ac_ext
11889 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11891 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11892 # Warning - without using the other run time loading flags,
11893 # -berok will link without error, but may produce a broken library.
11894 no_undefined_flag_CXX
=' ${wl}-bernotok'
11895 allow_undefined_flag_CXX
=' ${wl}-berok'
11896 if test "$with_gnu_ld" = yes; then
11897 # We only use this code for GNU lds that support --whole-archive.
11898 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11900 # Exported symbols can be pulled into shared objects from archives
11901 whole_archive_flag_spec_CXX
='$convenience'
11903 archive_cmds_need_lc_CXX
=yes
11904 # This is similar to how AIX traditionally builds its shared
11906 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'
11912 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11913 allow_undefined_flag_CXX
=unsupported
11914 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11915 # support --undefined. This deserves some investigation. FIXME
11916 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11923 case $cc_basename in
11925 # FIXME: insert proper C++ library support
11931 cygwin
* | mingw
* | pw32
* | cegcc
*)
11932 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11933 # as there is no search path for DLLs.
11934 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11935 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
11936 allow_undefined_flag_CXX
=unsupported
11937 always_export_symbols_CXX
=no
11938 enable_shared_with_static_runtimes_CXX
=yes
11940 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
11941 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'
11942 # If the export-symbols file already is a .def file (1st line
11943 # is EXPORTS), use it as is; otherwise, prepend...
11944 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11945 cp $export_symbols $output_objdir/$soname.def;
11947 echo EXPORTS > $output_objdir/$soname.def;
11948 cat $export_symbols >> $output_objdir/$soname.def;
11950 $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'
11955 darwin
* | rhapsody
*)
11958 archive_cmds_need_lc_CXX
=no
11959 hardcode_direct_CXX
=no
11960 hardcode_automatic_CXX
=yes
11961 hardcode_shlibpath_var_CXX
=unsupported
11962 if test "$lt_cv_ld_force_load" = "yes"; then
11963 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\"`'
11965 whole_archive_flag_spec_CXX
=''
11967 link_all_deplibs_CXX
=yes
11968 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
11969 case $cc_basename in
11970 ifort
*) _lt_dar_can_shared
=yes ;;
11971 *) _lt_dar_can_shared
=$GCC ;;
11973 if test "$_lt_dar_can_shared" = "yes"; then
11974 output_verbose_link_cmd
=func_echo_all
11975 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}"
11976 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11977 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}"
11978 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}"
11979 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11980 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}"
11981 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}"
11991 case $cc_basename in
11993 # FIXME: insert proper C++ library support
11997 # Green Hills C++ Compiler
11998 # FIXME: insert proper C++ library support
12002 # FIXME: insert proper C++ library support
12009 # C++ shared libraries reported to be fairly broken before
12015 archive_cmds_need_lc_CXX
=no
12018 freebsd
* | dragonfly
*)
12019 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12028 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12029 link_all_deplibs_CXX
=yes
12033 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12034 hardcode_libdir_separator_CXX
=:
12035 export_dynamic_flag_spec_CXX
='${wl}-E'
12036 hardcode_direct_CXX
=yes
12037 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12038 # but as the default
12039 # location of the library.
12041 case $cc_basename in
12043 # FIXME: insert proper C++ library support
12047 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'
12048 # Commands to make compiler produce verbose output that lists
12049 # what "hidden" libraries, object files and flags are used when
12050 # linking a shared library.
12052 # There doesn't appear to be a way to prevent this compiler from
12053 # explicitly linking system object files so we need to strip them
12054 # from the output so that they don't get included in the library
12056 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"'
12059 if test "$GXX" = yes; then
12060 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'
12062 # FIXME: insert proper C++ library support
12070 if test $with_gnu_ld = no
; then
12071 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12072 hardcode_libdir_separator_CXX
=:
12078 export_dynamic_flag_spec_CXX
='${wl}-E'
12084 hardcode_direct_CXX
=no
12085 hardcode_shlibpath_var_CXX
=no
12088 hardcode_direct_CXX
=yes
12089 hardcode_direct_absolute_CXX
=yes
12090 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12091 # but as the default
12092 # location of the library.
12096 case $cc_basename in
12098 # FIXME: insert proper C++ library support
12104 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12107 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12110 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12113 # Commands to make compiler produce verbose output that lists
12114 # what "hidden" libraries, object files and flags are used when
12115 # linking a shared library.
12117 # There doesn't appear to be a way to prevent this compiler from
12118 # explicitly linking system object files so we need to strip them
12119 # from the output so that they don't get included in the library
12121 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"'
12124 if test "$GXX" = yes; then
12125 if test $with_gnu_ld = no
; then
12128 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12131 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12134 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'
12139 # FIXME: insert proper C++ library support
12147 hardcode_direct_CXX
=no
12148 hardcode_shlibpath_var_CXX
=no
12149 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12150 export_dynamic_flag_spec_CXX
='${wl}-E'
12151 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12152 # Instead, shared libraries are loaded at an image base (0x10000000 by
12153 # default) and relocated if they conflict, which is a slow very memory
12154 # consuming and fragmenting process. To avoid this, we pick a random,
12155 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12156 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12157 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'
12158 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'
12161 case $cc_basename in
12164 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'
12166 # Archives containing C++ object files must be created using
12167 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12168 # necessary to make sure instantiated templates are included
12170 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12173 if test "$GXX" = yes; then
12174 if test "$with_gnu_ld" = no
; then
12175 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'
12177 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'
12180 link_all_deplibs_CXX
=yes
12183 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12184 hardcode_libdir_separator_CXX
=:
12185 inherit_rpath_CXX
=yes
12188 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12189 case $cc_basename in
12191 # Kuck and Associates, Inc. (KAI) C++ Compiler
12193 # KCC will only create a shared library if the output file
12194 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12195 # to its proper name (with version) after linking.
12196 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'
12197 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'
12198 # Commands to make compiler produce verbose output that lists
12199 # what "hidden" libraries, object files and flags are used when
12200 # linking a shared library.
12202 # There doesn't appear to be a way to prevent this compiler from
12203 # explicitly linking system object files so we need to strip them
12204 # from the output so that they don't get included in the library
12206 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"'
12208 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12209 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12211 # Archives containing C++ object files must be created using
12212 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12213 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12218 # version 8.0 and above of icpc choke on multiply defined symbols
12219 # if we add $predep_objects and $postdep_objects, however 7.1 and
12220 # earlier do not add the objects themselves.
12221 case `$CC -V 2>&1` in
12223 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12224 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'
12226 *) # Version 8.0 or newer
12229 ia64
*) tmp_idyn
=' -i_dynamic';;
12231 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12232 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'
12235 archive_cmds_need_lc_CXX
=no
12236 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12237 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12238 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12241 # Portland Group C++ compiler
12243 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
12244 prelink_cmds_CXX
='tpldir=Template.dir~
12246 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12247 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12248 old_archive_cmds_CXX
='tpldir=Template.dir~
12250 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12251 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12253 archive_cmds_CXX
='tpldir=Template.dir~
12255 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12256 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12257 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12259 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12260 $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'
12262 *) # Version 6 and above use weak symbols
12263 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12264 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'
12268 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12269 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12270 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'
12274 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12275 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12277 runpath_var
=LD_RUN_PATH
12278 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12279 hardcode_libdir_separator_CXX
=:
12281 # Commands to make compiler produce verbose output that lists
12282 # what "hidden" libraries, object files and flags are used when
12283 # linking a shared library.
12285 # There doesn't appear to be a way to prevent this compiler from
12286 # explicitly linking system object files so we need to strip them
12287 # from the output so that they don't get included in the library
12289 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'
12291 xl
* | mpixl
* | bgxl
*)
12292 # IBM XL 8.0 on PPC, with GNU ld
12293 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12294 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12295 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12296 if test "x$supports_anon_versioning" = xyes
; then
12297 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12298 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12299 echo "local: *; };" >> $output_objdir/$libname.ver~
12300 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12304 case `$CC -V 2>&1 | sed 5q` in
12307 no_undefined_flag_CXX
=' -zdefs'
12308 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12309 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'
12310 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12311 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'
12312 compiler_needs_object_CXX
=yes
12314 # Not sure whether something based on
12315 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12317 output_verbose_link_cmd
='func_echo_all'
12319 # Archives containing C++ object files must be created using
12320 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12321 # necessary to make sure instantiated templates are included
12323 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12331 # FIXME: insert proper C++ library support
12336 # FIXME: insert proper C++ library support
12341 case $cc_basename in
12343 # FIXME: insert proper C++ library support
12347 # FIXME: insert proper C++ library support
12354 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12355 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12357 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12358 hardcode_direct_CXX
=yes
12359 hardcode_shlibpath_var_CXX
=no
12361 # Workaround some broken pre-1.5 toolchains
12362 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12370 # C++ shared libraries are fairly broken
12375 if test -f /usr
/libexec
/ld.so
; then
12376 hardcode_direct_CXX
=yes
12377 hardcode_shlibpath_var_CXX
=no
12378 hardcode_direct_absolute_CXX
=yes
12379 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12380 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12381 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12382 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12383 export_dynamic_flag_spec_CXX
='${wl}-E'
12384 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12386 output_verbose_link_cmd
=func_echo_all
12392 osf3
* | osf4
* | osf5
*)
12393 case $cc_basename in
12395 # Kuck and Associates, Inc. (KAI) C++ Compiler
12397 # KCC will only create a shared library if the output file
12398 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12399 # to its proper name (with version) after linking.
12400 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'
12402 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12403 hardcode_libdir_separator_CXX
=:
12405 # Archives containing C++ object files must be created using
12406 # the KAI C++ compiler.
12408 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12409 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12413 # Rational C++ 2.4.1
12414 # FIXME: insert proper C++ library support
12420 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12421 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'
12422 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12425 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12426 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'
12427 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12428 echo "-hidden">> $lib.exp~
12429 $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~
12431 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12435 hardcode_libdir_separator_CXX
=:
12437 # Commands to make compiler produce verbose output that lists
12438 # what "hidden" libraries, object files and flags are used when
12439 # linking a shared library.
12441 # There doesn't appear to be a way to prevent this compiler from
12442 # explicitly linking system object files so we need to strip them
12443 # from the output so that they don't get included in the library
12445 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"'
12448 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12449 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12452 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'
12455 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'
12459 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12460 hardcode_libdir_separator_CXX
=:
12462 # Commands to make compiler produce verbose output that lists
12463 # what "hidden" libraries, object files and flags are used when
12464 # linking a shared library.
12465 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12468 # FIXME: insert proper C++ library support
12476 # FIXME: insert proper C++ library support
12481 case $cc_basename in
12484 # FIXME: insert proper C++ library support
12489 # FIXME: insert proper C++ library support
12493 # FIXME: insert proper C++ library support
12500 case $cc_basename in
12502 # Sun C++ 4.2, 5.x and Centerline C++
12503 archive_cmds_need_lc_CXX
=yes
12504 no_undefined_flag_CXX
=' -zdefs'
12505 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12506 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12507 $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'
12509 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12510 hardcode_shlibpath_var_CXX
=no
12512 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12514 # The compiler driver will combine and reorder linker options,
12515 # but understands `-z linker_flag'.
12516 # Supported since Solaris 2.6 (maybe 2.5.1?)
12517 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12520 link_all_deplibs_CXX
=yes
12522 output_verbose_link_cmd
='func_echo_all'
12524 # Archives containing C++ object files must be created using
12525 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12526 # necessary to make sure instantiated templates are included
12528 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12531 # Green Hills C++ Compiler
12532 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12534 # The C++ compiler must be used to create the archive.
12535 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12538 # GNU C++ compiler with Solaris linker
12539 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12540 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12541 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
12542 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12543 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12544 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12546 # Commands to make compiler produce verbose output that lists
12547 # what "hidden" libraries, object files and flags are used when
12548 # linking a shared library.
12549 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12551 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12553 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12554 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12555 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12557 # Commands to make compiler produce verbose output that lists
12558 # what "hidden" libraries, object files and flags are used when
12559 # linking a shared library.
12560 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12563 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12565 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12567 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12575 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12576 no_undefined_flag_CXX
='${wl}-z,text'
12577 archive_cmds_need_lc_CXX
=no
12578 hardcode_shlibpath_var_CXX
=no
12579 runpath_var
='LD_RUN_PATH'
12581 case $cc_basename in
12583 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12584 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12587 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12588 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12593 sysv5
* | sco3.2v5
* | sco5v6
*)
12594 # Note: We can NOT use -z defs as we might desire, because we do not
12595 # link with -lc, and that would cause any symbols used from libc to
12596 # always be unresolved, which means just about no library would
12597 # ever link correctly. If we're not using GNU ld we use -z text
12598 # though, which does catch some bad symbols but isn't as heavy-handed
12600 no_undefined_flag_CXX
='${wl}-z,text'
12601 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12602 archive_cmds_need_lc_CXX
=no
12603 hardcode_shlibpath_var_CXX
=no
12604 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
12605 hardcode_libdir_separator_CXX
=':'
12606 link_all_deplibs_CXX
=yes
12607 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12608 runpath_var
='LD_RUN_PATH'
12610 case $cc_basename in
12612 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12613 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12614 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
12615 '"$old_archive_cmds_CXX"
12616 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
12617 '"$reload_cmds_CXX"
12620 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12621 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12627 case $cc_basename in
12629 # NonStop-UX NCC 3.20
12630 # FIXME: insert proper C++ library support
12634 # FIXME: insert proper C++ library support
12641 # FIXME: insert proper C++ library support
12646 # FIXME: insert proper C++ library support
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12652 $as_echo "$ld_shlibs_CXX" >&6; }
12653 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12659 ## There is no encapsulation within the following macros, do not change
12660 ## the running order or otherwise move them around unless you know exactly
12661 ## what you are doing...
12662 # Dependencies to place before and after the object being linked:
12663 predep_objects_CXX
=
12664 postdep_objects_CXX
=
12667 compiler_lib_search_path_CXX
=
12669 cat > conftest.
$ac_ext <<_LT_EOF
12673 Foo (void) { a = 0; }
12679 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12680 (eval $ac_compile) 2>&5
12682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12683 test $ac_status = 0; }; then
12684 # Parse the compiler output and extract the necessary
12685 # objects, libraries and library flags.
12687 # Sentinel used to keep track of whether or not we are before
12688 # the conftest object file.
12689 pre_test_object_deps_done
=no
12691 for p
in `eval "$output_verbose_link_cmd"`; do
12695 # Some compilers place space between "-{L,R}" and the path.
12696 # Remove the space.
12697 if test $p = "-L" ||
12698 test $p = "-R"; then
12705 if test "$pre_test_object_deps_done" = no
; then
12708 # Internal compiler library paths should come after those
12709 # provided the user. The postdeps already come after the
12710 # user supplied libs so there is no need to process them.
12711 if test -z "$compiler_lib_search_path_CXX"; then
12712 compiler_lib_search_path_CXX
="${prev}${p}"
12714 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12717 # The "-l" case would never come before the object being
12718 # linked, so don't bother handling this case.
12721 if test -z "$postdeps_CXX"; then
12722 postdeps_CXX
="${prev}${p}"
12724 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12730 # This assumes that the test object file only shows up
12731 # once in the compiler output.
12732 if test "$p" = "conftest.$objext"; then
12733 pre_test_object_deps_done
=yes
12737 if test "$pre_test_object_deps_done" = no
; then
12738 if test -z "$predep_objects_CXX"; then
12739 predep_objects_CXX
="$p"
12741 predep_objects_CXX
="$predep_objects_CXX $p"
12744 if test -z "$postdep_objects_CXX"; then
12745 postdep_objects_CXX
="$p"
12747 postdep_objects_CXX
="$postdep_objects_CXX $p"
12752 *) ;; # Ignore the rest.
12760 echo "libtool.m4: error: problem compiling CXX test program"
12763 $RM -f confest.
$objext
12765 # PORTME: override above test on systems where it is broken
12768 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12769 # hack all around it, let's just trust "g++" to DTRT.
12770 predep_objects_CXX
=
12771 postdep_objects_CXX
=
12776 case `$CC -V 2>&1 | sed 5q` in
12780 # The more standards-conforming stlport4 library is
12781 # incompatible with the Cstd library. Avoid specifying
12782 # it if it's in CXXFLAGS. Ignore libCrun as
12783 # -library=stlport4 depends on it.
12784 case " $CXX $CXXFLAGS " in
12785 *" -library=stlport4 "*)
12786 solaris_use_stlport4
=yes
12790 if test "$solaris_use_stlport4" != yes; then
12791 postdeps_CXX
='-library=Cstd -library=Crun'
12798 case $cc_basename in
12800 # The more standards-conforming stlport4 library is
12801 # incompatible with the Cstd library. Avoid specifying
12802 # it if it's in CXXFLAGS. Ignore libCrun as
12803 # -library=stlport4 depends on it.
12804 case " $CXX $CXXFLAGS " in
12805 *" -library=stlport4 "*)
12806 solaris_use_stlport4
=yes
12810 # Adding this requires a known-good setup of shared libraries for
12811 # Sun compiler versions before 5.6, else PIC objects from an old
12812 # archive will be linked into the output, leading to subtle bugs.
12813 if test "$solaris_use_stlport4" != yes; then
12814 postdeps_CXX
='-library=Cstd -library=Crun'
12822 case " $postdeps_CXX " in
12823 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12825 compiler_lib_search_dirs_CXX
=
12826 if test -n "${compiler_lib_search_path_CXX}"; then
12827 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12860 lt_prog_compiler_wl_CXX
=
12861 lt_prog_compiler_pic_CXX
=
12862 lt_prog_compiler_static_CXX
=
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12865 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12867 # C++ specific cases for pic, static, wl, etc.
12868 if test "$GXX" = yes; then
12869 lt_prog_compiler_wl_CXX
='-Wl,'
12870 lt_prog_compiler_static_CXX
='-static'
12874 # All AIX code is PIC.
12875 if test "$host_cpu" = ia64
; then
12876 # AIX 5 now supports IA64 processor
12877 lt_prog_compiler_static_CXX
='-Bstatic'
12879 lt_prog_compiler_pic_CXX
='-fPIC'
12885 # see comment about AmigaOS4 .so support
12886 lt_prog_compiler_pic_CXX
='-fPIC'
12889 # FIXME: we need at least 68020 code to build shared libraries, but
12890 # adding the `-m68020' flag to GCC prevents building anything better,
12892 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12897 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12898 # PIC is the default for these OSes.
12900 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
12901 # This hack is so that the source file can tell whether it is being
12902 # built for inclusion in a dll (and should export symbols for example).
12903 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12904 # (--disable-auto-import) libraries
12905 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12907 darwin
* | rhapsody
*)
12908 # PIC is the default on this platform
12909 # Common symbols not allowed in MH_DYLIB files
12910 lt_prog_compiler_pic_CXX
='-fno-common'
12913 # DJGPP does not support shared libraries at all
12914 lt_prog_compiler_pic_CXX
=
12917 # PIC is the default for Haiku.
12918 # The "-static" flag exists, but is broken.
12919 lt_prog_compiler_static_CXX
=
12922 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12923 # Instead, we relocate shared libraries at runtime.
12926 if test -d /usr
/nec
; then
12927 lt_prog_compiler_pic_CXX
=-Kconform_pic
12931 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12932 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12933 # sets the default TLS model and affects inlining.
12938 lt_prog_compiler_pic_CXX
='-fPIC'
12943 # QNX uses GNU C++, but need to define -shared option too, otherwise
12944 # it will coredump.
12945 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12948 lt_prog_compiler_pic_CXX
='-fPIC'
12954 # All AIX code is PIC.
12955 if test "$host_cpu" = ia64
; then
12956 # AIX 5 now supports IA64 processor
12957 lt_prog_compiler_static_CXX
='-Bstatic'
12959 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12963 case $cc_basename in
12965 # Green Hills C++ Compiler
12966 # _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"
12971 case $cc_basename in
12973 lt_prog_compiler_pic_CXX
='-KPIC'
12976 # Green Hills C++ Compiler
12977 lt_prog_compiler_pic_CXX
='-pic'
12983 freebsd
* | dragonfly
*)
12984 # FreeBSD uses GNU C++
12986 hpux9
* | hpux10
* | hpux11
*)
12987 case $cc_basename in
12989 lt_prog_compiler_wl_CXX
='-Wl,'
12990 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12991 if test "$host_cpu" != ia64
; then
12992 lt_prog_compiler_pic_CXX
='+Z'
12996 lt_prog_compiler_wl_CXX
='-Wl,'
12997 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13003 lt_prog_compiler_pic_CXX
='+Z'
13012 # This is c89, which is MS Visual C++ (no shared libs)
13013 # Anyone wants to do a port?
13015 irix5
* | irix6
* | nonstopux
*)
13016 case $cc_basename in
13018 lt_prog_compiler_wl_CXX
='-Wl,'
13019 lt_prog_compiler_static_CXX
='-non_shared'
13020 # CC pic flag -KPIC is the default.
13026 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13027 case $cc_basename in
13030 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13031 lt_prog_compiler_pic_CXX
='-fPIC'
13034 # old Intel C++ for x86_64 which still supported -KPIC.
13035 lt_prog_compiler_wl_CXX
='-Wl,'
13036 lt_prog_compiler_pic_CXX
='-KPIC'
13037 lt_prog_compiler_static_CXX
='-static'
13040 # Intel C++, used to be incompatible with GCC.
13041 # ICC 10 doesn't accept -KPIC any more.
13042 lt_prog_compiler_wl_CXX
='-Wl,'
13043 lt_prog_compiler_pic_CXX
='-fPIC'
13044 lt_prog_compiler_static_CXX
='-static'
13047 # Portland Group C++ compiler
13048 lt_prog_compiler_wl_CXX
='-Wl,'
13049 lt_prog_compiler_pic_CXX
='-fpic'
13050 lt_prog_compiler_static_CXX
='-Bstatic'
13054 # Make sure the PIC flag is empty. It appears that all Alpha
13055 # Linux and Compaq Tru64 Unix objects are PIC.
13056 lt_prog_compiler_pic_CXX
=
13057 lt_prog_compiler_static_CXX
='-non_shared'
13059 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
13060 # IBM XL 8.0, 9.0 on PPC and BlueGene
13061 lt_prog_compiler_wl_CXX
='-Wl,'
13062 lt_prog_compiler_pic_CXX
='-qpic'
13063 lt_prog_compiler_static_CXX
='-qstaticlink'
13066 case `$CC -V 2>&1 | sed 5q` in
13069 lt_prog_compiler_pic_CXX
='-KPIC'
13070 lt_prog_compiler_static_CXX
='-Bstatic'
13071 lt_prog_compiler_wl_CXX
='-Qoption ld '
13082 case $cc_basename in
13084 lt_prog_compiler_pic_CXX
='-W c,exportall'
13093 # QNX uses GNU C++, but need to define -shared option too, otherwise
13094 # it will coredump.
13095 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13097 osf3
* | osf4
* | osf5
*)
13098 case $cc_basename in
13100 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13103 # Rational C++ 2.4.1
13104 lt_prog_compiler_pic_CXX
='-pic'
13107 # Digital/Compaq C++
13108 lt_prog_compiler_wl_CXX
='-Wl,'
13109 # Make sure the PIC flag is empty. It appears that all Alpha
13110 # Linux and Compaq Tru64 Unix objects are PIC.
13111 lt_prog_compiler_pic_CXX
=
13112 lt_prog_compiler_static_CXX
='-non_shared'
13121 case $cc_basename in
13123 # Sun C++ 4.2, 5.x and Centerline C++
13124 lt_prog_compiler_pic_CXX
='-KPIC'
13125 lt_prog_compiler_static_CXX
='-Bstatic'
13126 lt_prog_compiler_wl_CXX
='-Qoption ld '
13129 # Green Hills C++ Compiler
13130 lt_prog_compiler_pic_CXX
='-PIC'
13137 case $cc_basename in
13140 lt_prog_compiler_pic_CXX
='-pic'
13141 lt_prog_compiler_static_CXX
='-Bstatic'
13145 lt_prog_compiler_pic_CXX
='-pic'
13151 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13152 case $cc_basename in
13154 lt_prog_compiler_wl_CXX
='-Wl,'
13155 lt_prog_compiler_pic_CXX
='-KPIC'
13156 lt_prog_compiler_static_CXX
='-Bstatic'
13161 case $cc_basename in
13163 # NonStop-UX NCC 3.20
13164 lt_prog_compiler_pic_CXX
='-KPIC'
13173 lt_prog_compiler_can_build_shared_CXX
=no
13179 # For platforms which do not support PIC, -DPIC is meaningless:
13181 lt_prog_compiler_pic_CXX
=
13184 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13188 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13193 # Check to make sure the PIC flag actually works.
13195 if test -n "$lt_prog_compiler_pic_CXX"; then
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13197 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13198 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13199 $as_echo_n "(cached) " >&6
13201 lt_cv_prog_compiler_pic_works_CXX
=no
13202 ac_outfile
=conftest.
$ac_objext
13203 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13204 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13205 # Insert the option either (1) after the last *FLAGS variable, or
13206 # (2) before a word containing "conftest.", or (3) at the end.
13207 # Note that $ac_compile itself does not contain backslashes and begins
13208 # with a dollar sign (not a hyphen), so the echo should work correctly.
13209 # The option is referenced via a variable to avoid confusing sed.
13210 lt_compile
=`echo "$ac_compile" | $SED \
13211 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13212 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13213 -e 's:$: $lt_compiler_flag:'`
13214 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13215 (eval "$lt_compile" 2>conftest.err
)
13217 cat conftest.err
>&5
13218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13219 if (exit $ac_status) && test -s "$ac_outfile"; then
13220 # The compiler can only warn and ignore the option if not recognized
13221 # So say no if there are warnings other than the usual output.
13222 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13223 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13224 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13225 lt_cv_prog_compiler_pic_works_CXX
=yes
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13232 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13234 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13235 case $lt_prog_compiler_pic_CXX in
13237 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13240 lt_prog_compiler_pic_CXX
=
13241 lt_prog_compiler_can_build_shared_CXX
=no
13249 # Check to make sure the static flag actually works.
13251 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13253 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13254 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13255 $as_echo_n "(cached) " >&6
13257 lt_cv_prog_compiler_static_works_CXX
=no
13258 save_LDFLAGS
="$LDFLAGS"
13259 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13260 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13261 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13262 # The linker can only warn and ignore the option if not recognized
13263 # So say no if there are warnings
13264 if test -s conftest.err
; then
13265 # Append any errors to the config.log.
13266 cat conftest.err
1>&5
13267 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13268 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13269 if diff conftest.exp conftest.er2
>/dev
/null
; then
13270 lt_cv_prog_compiler_static_works_CXX
=yes
13273 lt_cv_prog_compiler_static_works_CXX
=yes
13277 LDFLAGS
="$save_LDFLAGS"
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13281 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13283 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13286 lt_prog_compiler_static_CXX
=
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13293 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13294 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13295 $as_echo_n "(cached) " >&6
13297 lt_cv_prog_compiler_c_o_CXX
=no
13298 $RM -r conftest
2>/dev
/null
13302 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13304 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13305 # Insert the option either (1) after the last *FLAGS variable, or
13306 # (2) before a word containing "conftest.", or (3) at the end.
13307 # Note that $ac_compile itself does not contain backslashes and begins
13308 # with a dollar sign (not a hyphen), so the echo should work correctly.
13309 lt_compile
=`echo "$ac_compile" | $SED \
13310 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13311 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13312 -e 's:$: $lt_compiler_flag:'`
13313 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13314 (eval "$lt_compile" 2>out
/conftest.err
)
13316 cat out
/conftest.err
>&5
13317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13318 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13320 # The compiler can only warn and ignore the option if not recognized
13321 # So say no if there are warnings
13322 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13323 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13324 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13325 lt_cv_prog_compiler_c_o_CXX
=yes
13330 # SGI C++ compiler will create directory out/ii_files/ for
13331 # template instantiation
13332 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13333 $RM out
/* && rmdir out
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13340 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13345 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13346 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13347 $as_echo_n "(cached) " >&6
13349 lt_cv_prog_compiler_c_o_CXX
=no
13350 $RM -r conftest
2>/dev
/null
13354 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13356 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13357 # Insert the option either (1) after the last *FLAGS variable, or
13358 # (2) before a word containing "conftest.", or (3) at the end.
13359 # Note that $ac_compile itself does not contain backslashes and begins
13360 # with a dollar sign (not a hyphen), so the echo should work correctly.
13361 lt_compile
=`echo "$ac_compile" | $SED \
13362 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13363 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13364 -e 's:$: $lt_compiler_flag:'`
13365 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13366 (eval "$lt_compile" 2>out
/conftest.err
)
13368 cat out
/conftest.err
>&5
13369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13370 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13372 # The compiler can only warn and ignore the option if not recognized
13373 # So say no if there are warnings
13374 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13375 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13376 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13377 lt_cv_prog_compiler_c_o_CXX
=yes
13382 # SGI C++ compiler will create directory out/ii_files/ for
13383 # template instantiation
13384 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13385 $RM out
/* && rmdir out
13391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13392 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13397 hard_links
="nottested"
13398 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13399 # do not overwrite the value of need_locks provided by the user
13400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13401 $as_echo_n "checking if we can lock with hard links... " >&6; }
13404 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13406 ln conftest.a conftest.b
2>&5 || hard_links
=no
13407 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13409 $as_echo "$hard_links" >&6; }
13410 if test "$hard_links" = no
; then
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13412 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13422 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13424 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13427 # If we're using GNU nm, then we don't want the "-C" option.
13428 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13429 # Also, AIX nm treats weak defined symbols like other global defined
13430 # symbols, whereas GNU nm marks them as "W".
13431 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13432 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'
13434 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13438 export_symbols_cmds_CXX
="$ltdll_cmds"
13440 cygwin
* | mingw
* | cegcc
*)
13441 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'
13444 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13447 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13450 $as_echo "$ld_shlibs_CXX" >&6; }
13451 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13453 with_gnu_ld_CXX
=$with_gnu_ld
13461 # Do we need to explicitly link libc?
13463 case "x$archive_cmds_need_lc_CXX" in
13465 # Assume -lc should be added
13466 archive_cmds_need_lc_CXX
=yes
13468 if test "$enable_shared" = yes && test "$GCC" = yes; then
13469 case $archive_cmds_CXX in
13471 # FIXME: we may have to deal with multi-command sequences.
13474 # Test whether the compiler implicitly links with -lc since on some
13475 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13476 # to ld, don't add -lc before -lgcc.
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13478 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13479 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13480 $as_echo_n "(cached) " >&6
13483 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13485 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13486 (eval $ac_compile) 2>&5
13488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13489 test $ac_status = 0; } 2>conftest.err
; then
13492 libobjs
=conftest.
$ac_objext
13494 wl
=$lt_prog_compiler_wl_CXX
13495 pic_flag
=$lt_prog_compiler_pic_CXX
13501 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13502 allow_undefined_flag_CXX
=
13503 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13504 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13507 test $ac_status = 0; }
13509 lt_cv_archive_cmds_need_lc_CXX
=no
13511 lt_cv_archive_cmds_need_lc_CXX
=yes
13513 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13515 cat conftest.err
1>&5
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
13521 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
13522 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13593 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13595 library_names_spec
=
13596 libname_spec
='lib$name'
13600 postuninstall_cmds
=
13604 shlibpath_overrides_runpath
=unknown
13606 dynamic_linker
="$host_os ld.so"
13607 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13608 need_lib_prefix
=unknown
13609 hardcode_into_libs
=no
13611 # when you set need_version to no, make sure it does not cause -set_version
13612 # flags to be left without arguments
13613 need_version
=unknown
13618 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13619 shlibpath_var
=LIBPATH
13621 # AIX 3 has no versioning support, so we append a major version to the name.
13622 soname_spec
='${libname}${release}${shared_ext}$major'
13629 hardcode_into_libs
=yes
13630 if test "$host_cpu" = ia64
; then
13631 # AIX 5 supports IA64
13632 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13633 shlibpath_var
=LD_LIBRARY_PATH
13635 # With GCC up to 2.95.x, collect2 would create an import file
13636 # for dependence libraries. The import file would start with
13637 # the line `#! .'. This would cause the generated library to
13638 # depend on `.', always an invalid library. This was fixed in
13639 # development snapshots of GCC prior to 3.0.
13641 aix4 | aix4.
[01] | aix4.
[01].
*)
13642 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13644 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
13647 can_build_shared
=no
13651 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13652 # soname into executable. Probably we can add versioning support to
13653 # collect2, so additional links can be useful in future.
13654 if test "$aix_use_runtimelinking" = yes; then
13655 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13656 # instead of lib<name>.a to let people know that these are not
13657 # typical AIX shared libraries.
13658 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13660 # We preserve .a as extension for shared libraries through AIX4.2
13661 # and later when we are not doing run time linking.
13662 library_names_spec
='${libname}${release}.a $libname.a'
13663 soname_spec
='${libname}${release}${shared_ext}$major'
13665 shlibpath_var
=LIBPATH
13672 # Since July 2007 AmigaOS4 officially supports .so libraries.
13673 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13674 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13677 library_names_spec
='$libname.ixlibrary $libname.a'
13678 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13679 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'
13685 library_names_spec
='${libname}${shared_ext}'
13686 dynamic_linker
="$host_os ld.so"
13687 shlibpath_var
=LIBRARY_PATH
13693 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13694 soname_spec
='${libname}${release}${shared_ext}$major'
13695 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13696 shlibpath_var
=LD_LIBRARY_PATH
13697 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13698 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13699 # the default ld.so.conf also contains /usr/contrib/lib and
13700 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13701 # libtool to hard-code these into programs
13704 cygwin
* | mingw
* | pw32
* | cegcc
*)
13705 version_type
=windows
13710 case $GCC,$host_os in
13711 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
13712 library_names_spec
='$libname.dll.a'
13713 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13714 postinstall_cmds
='base_file=`basename \${file}`~
13715 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13716 dldir=$destdir/`dirname \$dlpath`~
13717 test -d \$dldir || mkdir -p \$dldir~
13718 $install_prog $dir/$dlname \$dldir/$dlname~
13719 chmod a+x \$dldir/$dlname~
13720 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13721 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13723 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13724 dlpath=$dir/\$dldll~
13726 shlibpath_overrides_runpath
=yes
13730 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13731 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13735 # MinGW DLLs use traditional 'lib' prefix
13736 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13739 # pw32 DLLs use 'pw' prefix rather than 'lib'
13740 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13746 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13749 dynamic_linker
='Win32 ld.exe'
13750 # FIXME: first we should search . and the directory the executable is in
13754 darwin
* | rhapsody
*)
13755 dynamic_linker
="$host_os dyld"
13756 version_type
=darwin
13759 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13760 soname_spec
='${libname}${release}${major}$shared_ext'
13761 shlibpath_overrides_runpath
=yes
13762 shlibpath_var
=DYLD_LIBRARY_PATH
13763 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13765 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13772 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13773 soname_spec
='${libname}${release}${shared_ext}$major'
13774 shlibpath_var
=LD_LIBRARY_PATH
13777 freebsd
* | dragonfly
*)
13778 # DragonFly does not have aout. When/if they implement a new
13779 # versioning mechanism, adjust this.
13780 if test -x /usr
/bin
/objformat
; then
13781 objformat
=`/usr/bin/objformat`
13784 freebsd
[23].
*) objformat
=aout
;;
13785 *) objformat
=elf
;;
13788 version_type
=freebsd-
$objformat
13789 case $version_type in
13791 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13796 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13800 shlibpath_var
=LD_LIBRARY_PATH
13803 shlibpath_overrides_runpath
=yes
13805 freebsd3.
[01]* | freebsdelf3.
[01]*)
13806 shlibpath_overrides_runpath
=yes
13807 hardcode_into_libs
=yes
13809 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13810 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13811 shlibpath_overrides_runpath
=no
13812 hardcode_into_libs
=yes
13814 *) # from 4.6 on, and DragonFly
13815 shlibpath_overrides_runpath
=yes
13816 hardcode_into_libs
=yes
13825 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13826 soname_spec
='${libname}${release}${shared_ext}$major'
13827 shlibpath_var
=LD_LIBRARY_PATH
13828 hardcode_into_libs
=yes
13835 dynamic_linker
="$host_os runtime_loader"
13836 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13837 soname_spec
='${libname}${release}${shared_ext}$major'
13838 shlibpath_var
=LIBRARY_PATH
13839 shlibpath_overrides_runpath
=yes
13840 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
13841 hardcode_into_libs
=yes
13844 hpux9
* | hpux10
* | hpux11
*)
13845 # Give a soname corresponding to the major version so that dld.sl refuses to
13846 # link against other versions.
13853 hardcode_into_libs
=yes
13854 dynamic_linker
="$host_os dld.so"
13855 shlibpath_var
=LD_LIBRARY_PATH
13856 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13857 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13858 soname_spec
='${libname}${release}${shared_ext}$major'
13859 if test "X$HPUX_IA64_MODE" = X32
; then
13860 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13862 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13864 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13868 hardcode_into_libs
=yes
13869 dynamic_linker
="$host_os dld.sl"
13870 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13871 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13872 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13873 soname_spec
='${libname}${release}${shared_ext}$major'
13874 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13875 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13879 dynamic_linker
="$host_os dld.sl"
13880 shlibpath_var
=SHLIB_PATH
13881 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13882 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13883 soname_spec
='${libname}${release}${shared_ext}$major'
13886 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13887 postinstall_cmds
='chmod 555 $lib'
13888 # or fails outright, so override atomically:
13889 install_override_mode
=555
13896 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13897 soname_spec
='${libname}${release}${shared_ext}$major'
13898 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13899 shlibpath_var
=LD_LIBRARY_PATH
13900 shlibpath_overrides_runpath
=no
13901 hardcode_into_libs
=yes
13904 irix5
* | irix6
* | nonstopux
*)
13906 nonstopux
*) version_type
=nonstopux
;;
13908 if test "$lt_cv_prog_gnu_ld" = yes; then
13916 soname_spec
='${libname}${release}${shared_ext}$major'
13917 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13919 irix5
* | nonstopux
*)
13920 libsuff
= shlibsuff
=
13923 case $LD in # libtool.m4 will add one of these switches to LD
13924 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13925 libsuff
= shlibsuff
= libmagic
=32-bit;;
13926 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13927 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13928 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13929 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13930 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13934 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13935 shlibpath_overrides_runpath
=no
13936 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13937 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13938 hardcode_into_libs
=yes
13941 # No shared lib support for Linux oldld, aout, or coff.
13942 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13946 # This must be Linux ELF.
13947 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13951 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13952 soname_spec
='${libname}${release}${shared_ext}$major'
13953 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13954 shlibpath_var
=LD_LIBRARY_PATH
13955 shlibpath_overrides_runpath
=no
13957 # Some binutils ld are patched to set DT_RUNPATH
13958 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
13959 $as_echo_n "(cached) " >&6
13961 lt_cv_shlibpath_overrides_runpath
=no
13962 save_LDFLAGS
=$LDFLAGS
13963 save_libdir
=$libdir
13964 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13965 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13967 /* end confdefs.h. */
13977 if ac_fn_cxx_try_link
"$LINENO"; then :
13978 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
13979 lt_cv_shlibpath_overrides_runpath
=yes
13982 rm -f core conftest.err conftest.
$ac_objext \
13983 conftest
$ac_exeext conftest.
$ac_ext
13984 LDFLAGS
=$save_LDFLAGS
13985 libdir
=$save_libdir
13989 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
13991 # This implies no fast_install, which is unacceptable.
13992 # Some rework will be needed to allow for fast_install
13993 # before this can be enabled.
13994 hardcode_into_libs
=yes
13996 # Append ld.so.conf contents to the search path
13997 if test -f /etc
/ld.so.conf
; then
13998 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' ' '`
13999 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14002 # We used to test for /lib/ld.so.1 and disable shared libraries on
14003 # powerpc, because MkLinux only supported shared libraries with the
14004 # GNU dynamic linker. Since this was broken with cross compilers,
14005 # most powerpc-linux boxes support dynamic linking these days and
14006 # people can always --disable-shared, the test was removed, and we
14007 # assume the GNU/Linux dynamic linker is in use.
14008 dynamic_linker
='GNU/Linux ld.so'
14015 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14016 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14017 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14018 dynamic_linker
='NetBSD (a.out) ld.so'
14020 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14021 soname_spec
='${libname}${release}${shared_ext}$major'
14022 dynamic_linker
='NetBSD ld.elf_so'
14024 shlibpath_var
=LD_LIBRARY_PATH
14025 shlibpath_overrides_runpath
=yes
14026 hardcode_into_libs
=yes
14031 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14032 shlibpath_var
=LD_LIBRARY_PATH
14033 shlibpath_overrides_runpath
=yes
14040 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14041 soname_spec
='${libname}${release}${shared_ext}$major'
14042 shlibpath_var
=LD_LIBRARY_PATH
14043 shlibpath_overrides_runpath
=no
14044 hardcode_into_libs
=yes
14045 dynamic_linker
='ldqnx.so'
14050 sys_lib_dlsearch_path_spec
="/usr/lib"
14052 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14054 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14055 *) need_version
=no
;;
14057 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14058 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14059 shlibpath_var
=LD_LIBRARY_PATH
14060 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14062 openbsd2.
[89] | openbsd2.
[89].
*)
14063 shlibpath_overrides_runpath
=no
14066 shlibpath_overrides_runpath
=yes
14070 shlibpath_overrides_runpath
=yes
14075 libname_spec
='$name'
14078 library_names_spec
='$libname${shared_ext} $libname.a'
14079 dynamic_linker
='OS/2 ld.exe'
14080 shlibpath_var
=LIBPATH
14083 osf3
* | osf4
* | osf5
*)
14087 soname_spec
='${libname}${release}${shared_ext}$major'
14088 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14089 shlibpath_var
=LD_LIBRARY_PATH
14090 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14091 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14102 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14103 soname_spec
='${libname}${release}${shared_ext}$major'
14104 shlibpath_var
=LD_LIBRARY_PATH
14105 shlibpath_overrides_runpath
=yes
14106 hardcode_into_libs
=yes
14107 # ldd complains unless libraries are executable
14108 postinstall_cmds
='chmod +x $lib'
14113 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14114 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14115 shlibpath_var
=LD_LIBRARY_PATH
14116 shlibpath_overrides_runpath
=yes
14117 if test "$with_gnu_ld" = yes; then
14125 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14126 soname_spec
='${libname}${release}${shared_ext}$major'
14127 shlibpath_var
=LD_LIBRARY_PATH
14128 case $host_vendor in
14130 shlibpath_overrides_runpath
=no
14132 runpath_var
=LD_RUN_PATH
14140 shlibpath_overrides_runpath
=no
14141 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14147 if test -d /usr
/nec
;then
14149 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14150 soname_spec
='$libname${shared_ext}.$major'
14151 shlibpath_var
=LD_LIBRARY_PATH
14155 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14156 version_type
=freebsd-elf
14159 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14160 soname_spec
='${libname}${release}${shared_ext}$major'
14161 shlibpath_var
=LD_LIBRARY_PATH
14162 shlibpath_overrides_runpath
=yes
14163 hardcode_into_libs
=yes
14164 if test "$with_gnu_ld" = yes; then
14165 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14167 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14170 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14174 sys_lib_dlsearch_path_spec
='/usr/lib'
14178 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14182 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14183 shlibpath_var
=LD_LIBRARY_PATH
14184 shlibpath_overrides_runpath
=no
14185 hardcode_into_libs
=yes
14190 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14191 soname_spec
='${libname}${release}${shared_ext}$major'
14192 shlibpath_var
=LD_LIBRARY_PATH
14199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14200 $as_echo "$dynamic_linker" >&6; }
14201 test "$dynamic_linker" = no
&& can_build_shared
=no
14203 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14204 if test "$GCC" = yes; then
14205 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14208 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14209 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14211 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14212 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14253 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14254 hardcode_action_CXX
=
14255 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14256 test -n "$runpath_var_CXX" ||
14257 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14259 # We can hardcode non-existent directories.
14260 if test "$hardcode_direct_CXX" != no
&&
14261 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14262 # have to relink, otherwise we might link with an installed library
14263 # when we should be linking with a yet-to-be-installed one
14264 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14265 test "$hardcode_minus_L_CXX" != no
; then
14266 # Linking always hardcodes the temporary library directory.
14267 hardcode_action_CXX
=relink
14269 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14270 hardcode_action_CXX
=immediate
14273 # We cannot hardcode anything, or else we can only hardcode existing
14275 hardcode_action_CXX
=unsupported
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14278 $as_echo "$hardcode_action_CXX" >&6; }
14280 if test "$hardcode_action_CXX" = relink ||
14281 test "$inherit_rpath_CXX" = yes; then
14282 # Fast installation is not supported
14283 enable_fast_install
=no
14284 elif test "$shlibpath_overrides_runpath" = yes ||
14285 test "$enable_shared" = no
; then
14286 # Fast installation is not necessary
14287 enable_fast_install
=needless
14296 fi # test -n "$compiler"
14302 with_gnu_ld
=$lt_save_with_gnu_ld
14303 lt_cv_path_LDCXX
=$lt_cv_path_LD
14304 lt_cv_path_LD
=$lt_save_path_LD
14305 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14306 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14307 fi # test "$_lt_caught_CXX_error" != yes
14310 ac_cpp
='$CPP $CPPFLAGS'
14311 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14312 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14313 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14327 ac_config_commands
="$ac_config_commands libtool"
14332 # Only expand once:
14338 ac_config_headers
="$ac_config_headers target-config.h"
14341 # The cast to long int works around a bug in the HP C Compiler
14342 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14343 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14344 # This bug is HP SR number 8606223364.
14345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
14346 $as_echo_n "checking size of int... " >&6; }
14347 if test "${ac_cv_sizeof_int+set}" = set; then :
14348 $as_echo_n "(cached) " >&6
14350 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
14353 if test "$ac_cv_type_int" = yes; then
14354 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14355 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14356 { as_fn_set_status
77
14357 as_fn_error
"cannot compute sizeof (int)
14358 See \`config.log' for more details." "$LINENO" 5; }; }
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
14366 $as_echo "$ac_cv_sizeof_int" >&6; }
14370 cat >>confdefs.h
<<_ACEOF
14371 #define SIZEOF_INT $ac_cv_sizeof_int
14375 # The cast to long int works around a bug in the HP C Compiler
14376 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14377 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14378 # This bug is HP SR number 8606223364.
14379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
14380 $as_echo_n "checking size of void*... " >&6; }
14381 if test "${ac_cv_sizeof_voidp+set}" = set; then :
14382 $as_echo_n "(cached) " >&6
14384 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp" "$ac_includes_default"; then :
14387 if test "$ac_cv_type_voidp" = yes; then
14388 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14389 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14390 { as_fn_set_status
77
14391 as_fn_error
"cannot compute sizeof (void*)
14392 See \`config.log' for more details." "$LINENO" 5; }; }
14394 ac_cv_sizeof_voidp
=0
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
14400 $as_echo "$ac_cv_sizeof_voidp" >&6; }
14404 cat >>confdefs.h
<<_ACEOF
14405 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
14410 # Determine what GCC version number to use in filesystem paths.
14412 get_gcc_base_ver
="cat"
14414 # Check whether --with-gcc-major-version-only was given.
14415 if test "${with_gcc_major_version_only+set}" = set; then :
14416 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
14417 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
14426 cat >confcache
<<\_ACEOF
14427 # This file is a shell script that caches the results of configure
14428 # tests run on this system so they can be shared between configure
14429 # scripts and configure runs, see configure's option --config-cache.
14430 # It is not useful on other systems. If it contains results you don't
14431 # want to keep, you may remove or edit it.
14433 # config.status only pays attention to the cache file if you give it
14434 # the --recheck option to rerun configure.
14436 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14437 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14438 # following values.
14442 # The following way of writing the cache mishandles newlines in values,
14443 # but we know of no workaround that is simple, portable, and efficient.
14444 # So, we kill variables containing newlines.
14445 # Ultrix sh set writes to stderr and can't be redirected directly,
14446 # and sets the high bit in the cache file unless we assign to the vars.
14448 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14449 eval ac_val
=\$
$ac_var
14453 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14454 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14457 _ | IFS | as_nl
) ;; #(
14458 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14459 *) { eval $ac_var=; unset $ac_var;} ;;
14465 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14466 *${as_nl}ac_space
=\
*)
14467 # `set' does not quote correctly, so add quotes: double-quote
14468 # substitution turns \\\\ into \\, and sed turns \\ into \.
14471 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14474 # `set' quotes correctly as required by POSIX, so do not add quotes.
14475 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14484 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14486 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14488 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14489 if test -w "$cache_file"; then
14490 test "x$cache_file" != "x/dev/null" &&
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14492 $as_echo "$as_me: updating cache $cache_file" >&6;}
14493 cat confcache
>$cache_file
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14496 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14501 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14502 # Let make expand exec_prefix.
14503 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14505 DEFS
=-DHAVE_CONFIG_H
14509 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14510 # 1. Remove the extension, and $U if already installed.
14511 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14512 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14513 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14514 # will be set to the directory where LIBOBJS objects are built.
14515 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14516 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14518 LIBOBJS
=$ac_libobjs
14520 LTLIBOBJS
=$ac_ltlibobjs
14523 if test -n "$EXEEXT"; then
14525 am__EXEEXT_FALSE
='#'
14527 am__EXEEXT_TRUE
='#'
14531 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14532 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
14533 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14535 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14536 as_fn_error
"conditional \"AMDEP\" was never defined.
14537 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14539 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14540 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
14541 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14543 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
14544 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
14545 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14547 if test -z "${LINUX_LINKER_SCRIPT_TRUE}" && test -z "${LINUX_LINKER_SCRIPT_FALSE}"; then
14548 as_fn_error
"conditional \"LINUX_LINKER_SCRIPT\" was never defined.
14549 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14551 if test -z "${MAC_LINKER_SCRIPT_TRUE}" && test -z "${MAC_LINKER_SCRIPT_FALSE}"; then
14552 as_fn_error
"conditional \"MAC_LINKER_SCRIPT\" was never defined.
14553 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14556 : ${CONFIG_STATUS=./config.status}
14558 ac_clean_files_save
=$ac_clean_files
14559 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14561 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14563 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14565 # Generated by $as_me.
14566 # Run this file to recreate the current configuration.
14567 # Compiler output produced by configure, useful for debugging
14568 # configure, is in config.log if it exists.
14571 ac_cs_recheck=false
14574 SHELL=\${CONFIG_SHELL-$SHELL}
14577 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14578 ## -------------------- ##
14579 ## M4sh Initialization. ##
14580 ## -------------------- ##
14582 # Be more Bourne compatible
14583 DUALCASE
=1; export DUALCASE
# for MKS sh
14584 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14587 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14588 # is contrary to our usage. Disable this feature.
14589 alias -g '${1+"$@"}'='"$@"'
14590 setopt NO_GLOB_SUBST
14592 case `(set -o) 2>/dev/null` in #(
14604 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14605 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14606 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14607 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14608 # Prefer a ksh shell builtin over an external printf program on Solaris,
14609 # but without wasting forks for bash or zsh.
14610 if test -z "$BASH_VERSION$ZSH_VERSION" \
14611 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14612 as_echo='print
-r --'
14613 as_echo_n='print
-rn --'
14614 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14615 as_echo='printf %s
\n'
14616 as_echo_n='printf %s
'
14618 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14619 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14620 as_echo_n='/usr
/ucb
/echo -n'
14622 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14623 as_echo_n_body='eval
14627 expr "X$arg" : "X\\(.*\\)$as_nl";
14628 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14630 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14632 export as_echo_n_body
14633 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14635 export as_echo_body
14636 as_echo='sh
-c $as_echo_body as_echo
'
14639 # The user is always right.
14640 if test "${PATH_SEPARATOR+set}" != set; then
14642 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14643 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14650 # We need space, tab and new line, in precisely that order. Quoting is
14651 # there to prevent editors from complaining about space-tab.
14652 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14653 # splitting by setting IFS to empty value.)
14656 # Find who we are. Look in the path if we contain no directory separator.
14658 *[\\/]* ) as_myself=$0 ;;
14659 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14660 for as_dir in $PATH
14663 test -z "$as_dir" && as_dir=.
14664 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14670 # We did not find ourselves, most probably we were run as `sh COMMAND'
14671 # in which case we are not to be found in the path.
14672 if test "x$as_myself" = x
; then
14675 if test ! -f "$as_myself"; then
14676 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14680 # Unset variables that we do not need and which cause bugs (e.g. in
14681 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14682 # suppresses any "Segmentation fault" message there. '((' could
14683 # trigger a bug in pdksh 5.2.14.
14684 for as_var
in BASH_ENV ENV MAIL MAILPATH
14685 do eval test x\
${$as_var+set} = xset \
14686 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14699 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14702 # as_fn_error ERROR [LINENO LOG_FD]
14703 # ---------------------------------
14704 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14705 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14706 # script with status $?, using 1 if that was 0.
14709 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14711 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14712 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14714 $as_echo "$as_me: error: $1" >&2
14715 as_fn_exit
$as_status
14719 # as_fn_set_status STATUS
14720 # -----------------------
14721 # Set $? to STATUS, without forking.
14722 as_fn_set_status
()
14725 } # as_fn_set_status
14727 # as_fn_exit STATUS
14728 # -----------------
14729 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14733 as_fn_set_status
$1
14739 # Portably unset VAR.
14742 { eval $1=; unset $1;}
14744 as_unset
=as_fn_unset
14745 # as_fn_append VAR VALUE
14746 # ----------------------
14747 # Append the text in VALUE to the end of the definition contained in VAR. Take
14748 # advantage of any shell optimizations that allow amortized linear growth over
14749 # repeated appends, instead of the typical quadratic growth present in naive
14751 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14752 eval 'as_fn_append ()
14763 # as_fn_arith ARG...
14764 # ------------------
14765 # Perform arithmetic evaluation on the ARGs, and store the result in the
14766 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14767 # must be portable across $(()) and expr.
14768 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14769 eval 'as_fn_arith ()
14776 as_val
=`expr "$@" || test $? -eq 1`
14781 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14782 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14788 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14789 as_basename
=basename
14794 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14800 as_me
=`$as_basename -- "$0" ||
14801 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14802 X"$0" : 'X\(//\)$' \| \
14803 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14805 sed '/^.*\/\([^/][^/]*\)\/*$/{
14819 # Avoid depending upon Character Ranges.
14820 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14821 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14822 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14823 as_cr_digits
='0123456789'
14824 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14826 ECHO_C
= ECHO_N
= ECHO_T
=
14827 case `echo -n x` in #(((((
14829 case `echo 'xy\c'` in
14830 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14832 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14839 rm -f conf$$ conf$$.exe conf$$.
file
14840 if test -d conf$$.dir
; then
14841 rm -f conf$$.dir
/conf$$.
file
14844 mkdir conf$$.dir
2>/dev
/null
14846 if (echo >conf$$.
file) 2>/dev
/null
; then
14847 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14849 # ... but there are two gotchas:
14850 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14851 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14852 # In both cases, we have to default to `cp -p'.
14853 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14855 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14863 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14864 rmdir conf$$.dir
2>/dev
/null
14869 # Create "$as_dir" as a directory, including parents if necessary.
14874 -*) as_dir
=.
/$as_dir;;
14876 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14880 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14881 *) as_qdir
=$as_dir;;
14883 as_dirs
="'$as_qdir' $as_dirs"
14884 as_dir
=`$as_dirname -- "$as_dir" ||
14885 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14886 X"$as_dir" : 'X\(//\)[^/]' \| \
14887 X"$as_dir" : 'X\(//\)$' \| \
14888 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14889 $as_echo X"$as_dir" |
14890 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14894 /^X\(\/\/\)[^/].*/{
14907 test -d "$as_dir" && break
14909 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14910 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14914 if mkdir
-p .
2>/dev
/null
; then
14915 as_mkdir_p
='mkdir -p "$as_dir"'
14917 test -d .
/-p && rmdir .
/-p
14921 if test -x / >/dev
/null
2>&1; then
14922 as_test_x
='test -x'
14924 if ls -dL / >/dev
/null
2>&1; then
14931 if test -d "$1"; then
14937 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14938 ???[sx]*):;;*)false;;esac;fi
14942 as_executable_p
=$as_test_x
14944 # Sed expression to map a string onto a valid CPP name.
14945 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14947 # Sed expression to map a string onto a valid variable name.
14948 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14952 ## ----------------------------------- ##
14953 ## Main body of $CONFIG_STATUS script. ##
14954 ## ----------------------------------- ##
14956 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14958 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14959 # Save the log message, to keep $0 and so on meaningful, and to
14960 # report actual input values of CONFIG_FILES etc. instead of their
14961 # values after options handling.
14963 This file was extended by phsa HSAIL runtime library $as_me 1.0, which was
14964 generated by GNU Autoconf 2.64. Invocation command line was
14966 CONFIG_FILES = $CONFIG_FILES
14967 CONFIG_HEADERS = $CONFIG_HEADERS
14968 CONFIG_LINKS = $CONFIG_LINKS
14969 CONFIG_COMMANDS = $CONFIG_COMMANDS
14972 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14977 case $ac_config_files in *"
14978 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14981 case $ac_config_headers in *"
14982 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14987 # Files that config.status was made for.
14988 config_files="$ac_config_files"
14989 config_headers="$ac_config_headers"
14990 config_commands="$ac_config_commands"
14994 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14996 \`$as_me' instantiates files and other configuration actions
14997 from templates according to the current configuration. Unless the files
14998 and actions are specified as TAGs, all are instantiated by default.
15000 Usage: $0 [OPTION]... [TAG]...
15002 -h, --help print this help, then exit
15003 -V, --version print version number and configuration settings, then exit
15004 -q, --quiet, --silent
15005 do not print progress messages
15006 -d, --debug don't remove temporary files
15007 --recheck update $as_me by reconfiguring in the same conditions
15008 --file=FILE[:TEMPLATE]
15009 instantiate the configuration file FILE
15010 --header=FILE[:TEMPLATE]
15011 instantiate the configuration header FILE
15013 Configuration files:
15016 Configuration headers:
15019 Configuration commands:
15022 Report bugs to <pekka.jaaskelainen@parmance.com>."
15025 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15027 phsa HSAIL runtime library config.status 1.0
15028 configured by $0, generated by GNU Autoconf 2.64,
15029 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15031 Copyright (C) 2009 Free Software Foundation, Inc.
15032 This config.status script is free software; the Free Software Foundation
15033 gives unlimited permission to copy, distribute and modify it."
15040 test -n "\$AWK" || AWK=awk
15043 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15044 # The default lists apply if the user does not specify any file.
15050 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15051 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15062 # Handling of the options.
15063 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15065 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15066 $as_echo "$ac_cs_version"; exit ;;
15067 --debug |
--debu |
--deb |
--de |
--d |
-d )
15069 --file |
--fil |
--fi |
--f )
15072 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15074 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15075 ac_need_defaults
=false
;;
15076 --header |
--heade |
--head |
--hea )
15079 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15081 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15082 ac_need_defaults
=false
;;
15084 # Conflict between --help and --header
15085 as_fn_error
"ambiguous option: \`$1'
15086 Try \`$0 --help' for more information.";;
15087 --help |
--hel |
-h )
15088 $as_echo "$ac_cs_usage"; exit ;;
15089 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15090 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15093 # This is an error.
15094 -*) as_fn_error
"unrecognized option: \`$1'
15095 Try \`$0 --help' for more information." ;;
15097 *) as_fn_append ac_config_targets
" $1"
15098 ac_need_defaults
=false
;;
15104 ac_configure_extra_args
=
15106 if $ac_cs_silent; then
15108 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15112 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15113 if \$ac_cs_recheck; then
15114 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15116 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15117 CONFIG_SHELL='$SHELL'
15118 export CONFIG_SHELL
15123 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15127 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15128 ## Running $as_me. ##
15134 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15138 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15141 # The HP-UX ksh and POSIX shell print the target directory to stdout
15142 # if CDPATH is set.
15143 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15145 sed_quote_subst='$sed_quote_subst'
15146 double_quote_subst='$double_quote_subst'
15147 delay_variable_subst='$delay_variable_subst'
15148 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15149 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15150 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15151 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15152 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15153 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15154 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15155 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15156 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15157 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15158 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15159 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15160 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15161 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15162 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15163 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15164 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15165 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15166 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15167 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15168 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15169 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15170 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15171 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15172 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15173 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15174 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15175 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15176 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15177 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15178 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15179 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15180 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15181 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15182 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15183 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15184 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15185 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15186 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15187 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15188 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15189 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15190 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15191 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15192 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15193 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15194 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15195 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15196 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"`'
15197 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15198 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15199 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15200 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15201 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15202 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15203 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15204 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15205 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15206 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15207 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15208 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15209 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15210 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15211 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15212 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15213 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15214 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15215 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15216 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15217 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15218 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15219 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15220 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15221 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15222 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15223 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15224 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15225 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15226 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15227 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15228 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15229 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15230 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15231 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15232 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15233 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15234 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15235 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15236 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15237 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15238 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15239 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15240 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15241 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15242 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15243 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15244 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15245 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15246 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15247 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15248 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15249 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15250 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15251 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15252 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15253 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15254 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15255 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15256 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15257 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15258 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15259 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15260 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15261 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15262 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15263 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15264 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15265 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15266 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15267 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15268 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
15269 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
15270 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
15271 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
15272 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
15273 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
15274 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
15275 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
15276 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15277 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15278 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
15279 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
15280 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
15281 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
15282 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
15283 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
15284 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
15285 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
15286 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
15287 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15288 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15289 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
15290 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15291 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15292 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15293 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15294 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15295 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15296 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
15297 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15298 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15299 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15300 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
15301 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
15302 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
15303 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
15304 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
15305 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
15306 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
15307 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
15308 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
15309 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
15310 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
15311 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15312 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15313 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15314 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15315 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
15316 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
15317 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
15318 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15319 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15320 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
15321 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
15322 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
15325 LTCFLAGS='$LTCFLAGS'
15326 compiler='$compiler_DEFAULT'
15328 # A function that is used when there is no print builtin or printf.
15329 func_fallback_echo ()
15331 eval 'cat <<_LTECHO_EOF
15336 # Quote evaled strings.
15350 deplibs_check_method \
15359 lt_cv_sys_global_symbol_pipe \
15360 lt_cv_sys_global_symbol_to_cdecl \
15361 lt_cv_sys_global_symbol_to_c_name_address \
15362 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15363 lt_prog_compiler_no_builtin_flag \
15364 lt_prog_compiler_wl \
15365 lt_prog_compiler_pic \
15366 lt_prog_compiler_static \
15367 lt_cv_prog_compiler_c_o \
15375 export_dynamic_flag_spec \
15376 whole_archive_flag_spec \
15377 compiler_needs_object \
15379 allow_undefined_flag \
15380 no_undefined_flag \
15381 hardcode_libdir_flag_spec \
15382 hardcode_libdir_flag_spec_ld \
15383 hardcode_libdir_separator \
15388 variables_saved_for_relink \
15390 library_names_spec \
15392 install_override_mode \
15396 compiler_lib_search_dirs \
15401 compiler_lib_search_path \
15405 lt_prog_compiler_no_builtin_flag_CXX \
15406 lt_prog_compiler_wl_CXX \
15407 lt_prog_compiler_pic_CXX \
15408 lt_prog_compiler_static_CXX \
15409 lt_cv_prog_compiler_c_o_CXX \
15410 export_dynamic_flag_spec_CXX \
15411 whole_archive_flag_spec_CXX \
15412 compiler_needs_object_CXX \
15414 allow_undefined_flag_CXX \
15415 no_undefined_flag_CXX \
15416 hardcode_libdir_flag_spec_CXX \
15417 hardcode_libdir_flag_spec_ld_CXX \
15418 hardcode_libdir_separator_CXX \
15419 fix_srcfile_path_CXX \
15420 exclude_expsyms_CXX \
15421 include_expsyms_CXX \
15422 file_list_spec_CXX \
15423 compiler_lib_search_dirs_CXX \
15424 predep_objects_CXX \
15425 postdep_objects_CXX \
15428 compiler_lib_search_path_CXX; do
15429 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15430 *[\\\\\\\`\\"\\\$]*)
15431 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15434 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15439 # Double-quote double-evaled strings.
15440 for var in reload_cmds \
15441 old_postinstall_cmds \
15442 old_postuninstall_cmds \
15444 extract_expsyms_cmds \
15445 old_archive_from_new_cmds \
15446 old_archive_from_expsyms_cmds \
15448 archive_expsym_cmds \
15450 module_expsym_cmds \
15451 export_symbols_cmds \
15454 postuninstall_cmds \
15456 sys_lib_search_path_spec \
15457 sys_lib_dlsearch_path_spec \
15459 old_archive_cmds_CXX \
15460 old_archive_from_new_cmds_CXX \
15461 old_archive_from_expsyms_cmds_CXX \
15463 archive_expsym_cmds_CXX \
15465 module_expsym_cmds_CXX \
15466 export_symbols_cmds_CXX \
15467 prelink_cmds_CXX; do
15468 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15469 *[\\\\\\\`\\"\\\$]*)
15470 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15473 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15478 ac_aux_dir='$ac_aux_dir'
15479 xsi_shell='$xsi_shell'
15480 lt_shell_append='$lt_shell_append'
15482 # See if we are running on zsh, and set the options which allow our
15483 # commands through without removal of \ escapes INIT.
15484 if test -n "\${ZSH_VERSION+set}" ; then
15485 setopt NO_GLOB_SUBST
15491 TIMESTAMP='$TIMESTAMP'
15502 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15504 # Handling of arguments.
15505 for ac_config_target
in $ac_config_targets
15507 case $ac_config_target in
15508 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15509 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15510 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15511 "target-config.h") CONFIG_HEADERS
="$CONFIG_HEADERS target-config.h" ;;
15513 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15518 # If the user did not use the arguments to specify the items to instantiate,
15519 # then the envvar interface is used. Set only those that are not.
15520 # We use the long form for the default assignment because of an extremely
15521 # bizarre bug on SunOS 4.1.3.
15522 if $ac_need_defaults; then
15523 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15524 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15525 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15528 # Have a temporary directory for convenience. Make it in the build tree
15529 # simply because there is no reason against having it here, and in addition,
15530 # creating and moving files from /tmp can sometimes cause problems.
15531 # Hook for its removal unless debugging.
15532 # Note that there is a small window in which the directory will not be cleaned:
15533 # after its creation but before its name has been assigned to `$tmp'.
15537 trap 'exit_status=$?
15538 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15540 trap 'as_fn_exit 1' 1 2 13 15
15542 # Create a (secure) tmp directory for tmp files.
15545 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15546 test -n "$tmp" && test -d "$tmp"
15549 tmp
=.
/conf$$
-$RANDOM
15550 (umask 077 && mkdir
"$tmp")
15551 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15553 # Set up the scripts for CONFIG_FILES section.
15554 # No need to generate them if there are no CONFIG_FILES.
15555 # This happens for instance with `./config.status config.h'.
15556 if test -n "$CONFIG_FILES"; then
15559 ac_cr
=`echo X | tr X '\015'`
15560 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15561 # But we know of no other shell where ac_cr would be empty at this
15562 # point, so we can use a bashism as a fallback.
15563 if test "x$ac_cr" = x
; then
15564 eval ac_cr
=\$
\'\\r
\'
15566 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15567 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15570 ac_cs_awk_cr
=$ac_cr
15573 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15578 echo "cat >conf$$subs.awk <<_ACEOF" &&
15579 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15581 } >conf$$subs.sh ||
15582 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15583 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15585 for ac_last_try in false false false false false :; do
15586 . ./conf$$subs.sh ||
15587 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15589 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15590 if test $ac_delim_n = $ac_delim_num; then
15592 elif $ac_last_try; then
15593 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15595 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15598 rm -f conf$$subs.sh
15600 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15601 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15605 s/^/S["/; s
/!.
*/"]=/
15615 s/\(.\{148\}\).*/\1/
15617 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15622 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15629 s/\(.\{148\}\).*/\1/
15631 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15635 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15640 ' <conf$$subs.awk | sed '
15645 ' >>$CONFIG_STATUS || ac_write_fail=1
15646 rm -f conf$$subs.awk
15647 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15649 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15650 for (key in S) S_is_set[key] = 1
15656 nfields = split(line, field, "@
")
15658 len = length(field[1])
15659 for (i = 2; i < nfields; i++) {
15661 keylen = length(key)
15662 if (S_is_set[key]) {
15664 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15665 len += length(value) + length(field[++i])
15676 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15677 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15678 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15681 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15682 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15685 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15686 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15687 # trailing colons and then remove the whole line if VPATH becomes empty
15688 # (actually we leave an empty line to preserve line numbers).
15689 if test "x
$srcdir" = x.; then
15690 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15691 s/:*\$(srcdir):*/:/
15692 s/:*\${srcdir}:*/:/
15694 s/^\([^=]*=[ ]*\):*/\1/
15700 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15701 fi # test -n "$CONFIG_FILES"
15703 # Set up the scripts for CONFIG_HEADERS section.
15704 # No need to generate them if there are no CONFIG_HEADERS.
15705 # This happens for instance with `./config.status Makefile'.
15706 if test -n "$CONFIG_HEADERS"; then
15707 cat >"$tmp/defines.
awk" <<\_ACAWK ||
15711 # Transform confdefs.h into an awk script `defines.awk', embedded as
15712 # here-document in config.status, that substitutes the proper values into
15713 # config.h.in to produce config.h.
15715 # Create a delimiter string that does not exist in confdefs.h, to ease
15716 # handling of long lines.
15718 for ac_last_try in false false :; do
15719 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
15720 if test -z "$ac_t"; then
15722 elif $ac_last_try; then
15723 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
15725 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15729 # For the awk script, D is an array of macro values keyed by name,
15730 # likewise P contains macro parameters if any. Preserve backslash
15731 # newline sequences.
15733 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15735 s/.\{148\}/&'"$ac_delim"'/g
15738 s/^[ ]*#[ ]*define[ ][ ]*/ /
15745 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15747 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15751 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15752 D["\
1"]=" \
3\\\\\\n
"\\/p
15754 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15759 s/.\{148\}/&'"$ac_delim"'/g
15764 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15767 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15769 ' <confdefs.h | sed '
15770 s/'"$ac_delim"'/"\\\
15771 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15773 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15774 for (key in D) D_is_set[key] = 1
15777 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15779 split(line, arg, " ")
15780 if (arg[1] == "#") {
15784 defundef
= substr
(arg
[1], 2)
15787 split(mac1
, mac2
, "(") #)
15789 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15790 if (D_is_set
[macro
]) {
15791 # Preserve the white space surrounding the "#".
15792 print prefix
"define", macro P
[macro
] D
[macro
]
15795 # Replace #undef with comments. This is necessary, for example,
15796 # in the case of _POSIX_SOURCE, which is predefined and required
15797 # on some systems where configure will not decide to define it.
15798 if (defundef
== "undef") {
15799 print
"/*", prefix defundef
, macro
, "*/"
15807 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15808 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
15809 fi # test -n "$CONFIG_HEADERS"
15812 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15817 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15819 case $ac_mode$ac_tag in
15821 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15822 :[FH
]-) ac_tag
=-:-;;
15823 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15840 -) ac_f
="$tmp/stdin";;
15841 *) # Look for the file first in the build tree, then in the source tree
15842 # (if the path is not absolute). The absolute path cannot be DOS-style,
15843 # because $ac_f cannot contain `:'.
15847 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15849 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
15851 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15852 as_fn_append ac_file_inputs
" '$ac_f'"
15855 # Let's still pretend it is `configure' which instantiates (i.e., don't
15856 # use $as_me), people would be surprised to read:
15857 # /* config.h. Generated by config.status. */
15858 configure_input
='Generated from '`
15859 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15861 if test x
"$ac_file" != x-
; then
15862 configure_input
="$ac_file. $configure_input"
15863 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15864 $as_echo "$as_me: creating $ac_file" >&6;}
15866 # Neutralize special characters interpreted by sed in replacement strings.
15867 case $configure_input in #(
15868 *\
&* |
*\|
* |
*\\* )
15869 ac_sed_conf_input
=`$as_echo "$configure_input" |
15870 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15871 *) ac_sed_conf_input
=$configure_input;;
15875 *:-:* |
*:-) cat >"$tmp/stdin" \
15876 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
15881 ac_dir
=`$as_dirname -- "$ac_file" ||
15882 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15883 X"$ac_file" : 'X\(//\)[^/]' \| \
15884 X"$ac_file" : 'X\(//\)$' \| \
15885 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15886 $as_echo X"$ac_file" |
15887 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15891 /^X\(\/\/\)[^/].*/{
15904 as_dir
="$ac_dir"; as_fn_mkdir_p
15908 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15910 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15911 # A ".." for each directory in $ac_dir_suffix.
15912 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15913 case $ac_top_builddir_sub in
15914 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15915 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15918 ac_abs_top_builddir
=$ac_pwd
15919 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15920 # for backward compatibility:
15921 ac_top_builddir
=$ac_top_build_prefix
15924 .
) # We are building in place.
15926 ac_top_srcdir
=$ac_top_builddir_sub
15927 ac_abs_top_srcdir
=$ac_pwd ;;
15928 [\\/]* | ?
:[\\/]* ) # Absolute name.
15929 ac_srcdir
=$srcdir$ac_dir_suffix;
15930 ac_top_srcdir
=$srcdir
15931 ac_abs_top_srcdir
=$srcdir ;;
15932 *) # Relative name.
15933 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15934 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15935 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15937 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15947 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15948 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15950 ac_MKDIR_P
=$MKDIR_P
15952 [\\/$
]* | ?
:[\\/]* ) ;;
15953 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
15957 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15958 # If the template does not know about datarootdir, expand it.
15959 # FIXME: This hack should be removed a few years after 2.60.
15960 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15971 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15972 *datarootdir
*) ac_datarootdir_seen
=yes;;
15973 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15975 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15977 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15978 ac_datarootdir_hack='
15979 s&@datadir@&$datadir&g
15980 s&@docdir@&$docdir&g
15981 s&@infodir@&$infodir&g
15982 s&@localedir@&$localedir&g
15983 s&@mandir@&$mandir&g
15984 s&\\\${datarootdir}&$datarootdir&g' ;;
15988 # Neutralize VPATH when `$srcdir' = `.'.
15989 # Shell code in configure.ac might set extrasub.
15990 # FIXME: do we really want to maintain this feature?
15991 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15992 ac_sed_extra="$ac_vpsub
15995 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15997 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15998 s|@configure_input@|
$ac_sed_conf_input|
;t t
15999 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16000 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16001 s
&@srcdir@
&$ac_srcdir&;t t
16002 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16003 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16004 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16005 s
&@builddir@
&$ac_builddir&;t t
16006 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16007 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16008 s
&@INSTALL@
&$ac_INSTALL&;t t
16009 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16010 $ac_datarootdir_hack
16012 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16013 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16015 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16016 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16017 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16019 which seems to be undefined. Please make sure it is defined." >&5
16020 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16021 which seems to be undefined. Please make sure it is defined." >&2;}
16025 -) cat "$tmp/out" && rm -f "$tmp/out";;
16026 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16028 || as_fn_error "could not create $ac_file" "$LINENO" 5
16034 if test x"$ac_file" != x-; then
16036 $as_echo "/* $configure_input */" \
16037 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16038 } >"$tmp/config.h" \
16039 || as_fn_error "could not create $ac_file" "$LINENO" 5
16040 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16041 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16042 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16045 mv "$tmp/config.h" "$ac_file" \
16046 || as_fn_error "could not create $ac_file" "$LINENO" 5
16049 $as_echo "/* $configure_input */" \
16050 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16051 || as_fn_error "could not create -" "$LINENO" 5
16053 # Compute "$ac_file"'s index
in $config_headers.
16056 for _am_header
in $config_headers :; do
16057 case $_am_header in
16058 $_am_arg |
$_am_arg:* )
16061 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16064 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16065 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16066 X"$_am_arg" : 'X\(//\)[^/]' \| \
16067 X"$_am_arg" : 'X\(//\)$' \| \
16068 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16069 $as_echo X"$_am_arg" |
16070 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16074 /^X\(\/\/\)[^/].*/{
16086 s/.*/./; q'`/stamp-h
$_am_stamp_count
16089 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16090 $as_echo "$as_me: executing $ac_file commands" >&6;}
16095 case $ac_file$ac_mode in
16096 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
16097 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16098 # are listed without --file. Let's play safe and only enable the eval
16099 # if we detect the quoting.
16100 case $CONFIG_FILES in
16101 *\'*) eval set x
"$CONFIG_FILES" ;;
16102 *) set x
$CONFIG_FILES ;;
16107 # Strip MF so we end up with the name of the file.
16108 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16109 # Check whether this is an Automake generated Makefile or not.
16110 # We used to match only the files named `Makefile.in', but
16111 # some people rename them; so instead we look at the file content.
16112 # Grep'ing the first line is not enough: some people post-process
16113 # each Makefile.in and add a new line on top of each file to say so.
16114 # Grep'ing the whole file is not good either: AIX grep has a line
16115 # limit of 2048, but all sed's we know have understand at least 4000.
16116 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16117 dirpart
=`$as_dirname -- "$mf" ||
16118 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16119 X"$mf" : 'X\(//\)[^/]' \| \
16120 X"$mf" : 'X\(//\)$' \| \
16121 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16123 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16127 /^X\(\/\/\)[^/].*/{
16143 # Extract the definition of DEPDIR, am__include, and am__quote
16144 # from the Makefile without running `make'.
16145 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16146 test -z "$DEPDIR" && continue
16147 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16148 test -z "am__include" && continue
16149 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16150 # When using ansi2knr, U may be empty or an underscore; expand it
16151 U
=`sed -n 's/^U = //p' < "$mf"`
16152 # Find all dependency output files, they are included files with
16153 # $(DEPDIR) in their names. We invoke sed twice because it is the
16154 # simplest approach to changing $(DEPDIR) to its actual value in the
16156 for file in `sed -n "
16157 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16158 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16159 # Make sure the directory exists.
16160 test -f "$dirpart/$file" && continue
16161 fdir
=`$as_dirname -- "$file" ||
16162 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16163 X"$file" : 'X\(//\)[^/]' \| \
16164 X"$file" : 'X\(//\)$' \| \
16165 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16166 $as_echo X"$file" |
16167 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16171 /^X\(\/\/\)[^/].*/{
16184 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16185 # echo "creating $dirpart/$file"
16186 echo '# dummy' > "$dirpart/$file"
16193 # See if we are running on zsh, and set the options which allow our
16194 # commands through without removal of \ escapes.
16195 if test -n "${ZSH_VERSION+set}" ; then
16196 setopt NO_GLOB_SUBST
16199 cfgfile
="${ofile}T"
16200 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16203 cat <<_LT_EOF >> "$cfgfile"
16206 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16207 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16208 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16209 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16211 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16212 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16213 # Written by Gordon Matzigkeit, 1996
16215 # This file is part of GNU Libtool.
16217 # GNU Libtool is free software; you can redistribute it and/or
16218 # modify it under the terms of the GNU General Public License as
16219 # published by the Free Software Foundation; either version 2 of
16220 # the License, or (at your option) any later version.
16222 # As a special exception to the GNU General Public License,
16223 # if you distribute this file as part of a program or library that
16224 # is built using GNU Libtool, you may include this file under the
16225 # same distribution terms that you use for the rest of that program.
16227 # GNU Libtool is distributed in the hope that it will be useful,
16228 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16229 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16230 # GNU General Public License for more details.
16232 # You should have received a copy of the GNU General Public License
16233 # along with GNU Libtool; see the file COPYING. If not, a copy
16234 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16235 # obtained by writing to the Free Software Foundation, Inc.,
16236 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16239 # The names of the tagged configurations supported by this script.
16240 available_tags="CXX "
16242 # ### BEGIN LIBTOOL CONFIG
16244 # Which release of libtool.m4 was used?
16245 macro_version=$macro_version
16246 macro_revision=$macro_revision
16248 # Whether or not to build shared libraries.
16249 build_libtool_libs=$enable_shared
16251 # Whether or not to build static libraries.
16252 build_old_libs=$enable_static
16254 # What type of objects to build.
16257 # Whether or not to optimize for fast installation.
16258 fast_install=$enable_fast_install
16260 # Shell to use when invoking shell scripts.
16263 # An echo program that protects backslashes.
16267 host_alias=$host_alias
16271 # The build system.
16272 build_alias=$build_alias
16276 # A sed program that does not truncate output.
16279 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16280 Xsed="\$SED -e 1s/^X//"
16282 # A grep program that handles long lines.
16288 # A literal string matcher.
16291 # A BSD- or MS-compatible name lister.
16294 # Whether we need soft or hard links.
16297 # What is the maximum length of a command?
16298 max_cmd_len=$max_cmd_len
16300 # Object file suffix (normally "o").
16303 # Executable file suffix (normally "").
16306 # whether the shell understands "unset".
16309 # turn spaces into newlines.
16312 # turn newlines into spaces.
16315 # An object symbol dumper.
16316 OBJDUMP=$lt_OBJDUMP
16318 # Method to check whether dependent libraries are shared objects.
16319 deplibs_check_method=$lt_deplibs_check_method
16321 # Command to use when deplibs_check_method == "file_magic".
16322 file_magic_cmd=$lt_file_magic_cmd
16326 AR_FLAGS=$lt_AR_FLAGS
16328 # A symbol stripping program.
16331 # Commands used to install an old-style archive.
16333 old_postinstall_cmds=$lt_old_postinstall_cmds
16334 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16336 # Whether to use a lock for old archive extraction.
16337 lock_old_archive_extraction=$lock_old_archive_extraction
16342 # LTCC compiler flags.
16343 LTCFLAGS=$lt_CFLAGS
16345 # Take the output of nm and produce a listing of raw symbols and C names.
16346 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16348 # Transform the output of nm in a proper C declaration.
16349 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16351 # Transform the output of nm in a C name address pair.
16352 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16354 # Transform the output of nm in a C name address pair when lib prefix is needed.
16355 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16357 # The name of the directory that contains temporary libtool files.
16360 # Used to examine libraries when file_magic_cmd begins with "file".
16361 MAGIC_CMD=$MAGIC_CMD
16363 # Must we lock files when doing compilation?
16364 need_locks=$lt_need_locks
16366 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16367 DSYMUTIL=$lt_DSYMUTIL
16369 # Tool to change global to local symbols on Mac OS X.
16372 # Tool to manipulate fat objects and archives on Mac OS X.
16375 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16378 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16379 OTOOL64=$lt_OTOOL64
16381 # Old archive suffix (normally "a").
16384 # Shared library suffix (normally ".so").
16385 shrext_cmds=$lt_shrext_cmds
16387 # The commands to extract the exported symbol list from a shared archive.
16388 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16390 # Variables whose values should be saved in libtool wrapper scripts and
16391 # restored at link time.
16392 variables_saved_for_relink=$lt_variables_saved_for_relink
16394 # Do we need the "lib" prefix for modules?
16395 need_lib_prefix=$need_lib_prefix
16397 # Do we need a version for libraries?
16398 need_version=$need_version
16400 # Library versioning type.
16401 version_type=$version_type
16403 # Shared library runtime path variable.
16404 runpath_var=$runpath_var
16406 # Shared library path variable.
16407 shlibpath_var=$shlibpath_var
16409 # Is shlibpath searched before the hard-coded library search path?
16410 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16412 # Format of library name prefix.
16413 libname_spec=$lt_libname_spec
16415 # List of archive names. First name is the real one, the rest are links.
16416 # The last name is the one that the linker finds with -lNAME
16417 library_names_spec=$lt_library_names_spec
16419 # The coded name of the library, if different from the real name.
16420 soname_spec=$lt_soname_spec
16422 # Permission mode override for installation of shared libraries.
16423 install_override_mode=$lt_install_override_mode
16425 # Command to use after installation of a shared archive.
16426 postinstall_cmds=$lt_postinstall_cmds
16428 # Command to use after uninstallation of a shared archive.
16429 postuninstall_cmds=$lt_postuninstall_cmds
16431 # Commands used to finish a libtool library installation in a directory.
16432 finish_cmds=$lt_finish_cmds
16434 # As "finish_cmds", except a single script fragment to be evaled but
16436 finish_eval=$lt_finish_eval
16438 # Whether we should hardcode library paths into libraries.
16439 hardcode_into_libs=$hardcode_into_libs
16441 # Compile-time system search path for libraries.
16442 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16444 # Run-time system search path for libraries.
16445 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16447 # Whether dlopen is supported.
16448 dlopen_support=$enable_dlopen
16450 # Whether dlopen of programs is supported.
16451 dlopen_self=$enable_dlopen_self
16453 # Whether dlopen of statically linked programs is supported.
16454 dlopen_self_static=$enable_dlopen_self_static
16456 # Commands to strip libraries.
16457 old_striplib=$lt_old_striplib
16458 striplib=$lt_striplib
16461 # The linker used to build libraries.
16464 # How to create reloadable object files.
16465 reload_flag=$lt_reload_flag
16466 reload_cmds=$lt_reload_cmds
16468 # Commands used to build an old-style archive.
16469 old_archive_cmds=$lt_old_archive_cmds
16471 # A language specific compiler.
16474 # Is the compiler the GNU compiler?
16477 # Compiler flag to turn off builtin functions.
16478 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16480 # How to pass a linker flag through the compiler.
16481 wl=$lt_lt_prog_compiler_wl
16483 # Additional compiler flags for building library objects.
16484 pic_flag=$lt_lt_prog_compiler_pic
16486 # Compiler flag to prevent dynamic linking.
16487 link_static_flag=$lt_lt_prog_compiler_static
16489 # Does compiler simultaneously support -c and -o options?
16490 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16492 # Whether or not to add -lc for building shared libraries.
16493 build_libtool_need_lc=$archive_cmds_need_lc
16495 # Whether or not to disallow shared libs when runtime libs are static.
16496 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16498 # Compiler flag to allow reflexive dlopens.
16499 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16501 # Compiler flag to generate shared objects directly from archives.
16502 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16504 # Whether the compiler copes with passing no objects directly.
16505 compiler_needs_object=$lt_compiler_needs_object
16507 # Create an old-style archive from a shared archive.
16508 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16510 # Create a temporary old-style archive to link instead of a shared archive.
16511 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16513 # Commands used to build a shared archive.
16514 archive_cmds=$lt_archive_cmds
16515 archive_expsym_cmds=$lt_archive_expsym_cmds
16517 # Commands used to build a loadable module if different from building
16518 # a shared archive.
16519 module_cmds=$lt_module_cmds
16520 module_expsym_cmds=$lt_module_expsym_cmds
16522 # Whether we are building with GNU ld or not.
16523 with_gnu_ld=$lt_with_gnu_ld
16525 # Flag that allows shared libraries with undefined symbols to be built.
16526 allow_undefined_flag=$lt_allow_undefined_flag
16528 # Flag that enforces no undefined symbols.
16529 no_undefined_flag=$lt_no_undefined_flag
16531 # Flag to hardcode \$libdir into a binary during linking.
16532 # This must work even if \$libdir does not exist
16533 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16535 # If ld is used when linking, flag to hardcode \$libdir into a binary
16536 # during linking. This must work even if \$libdir does not exist.
16537 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16539 # Whether we need a single "-rpath" flag with a separated argument.
16540 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16542 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16543 # DIR into the resulting binary.
16544 hardcode_direct=$hardcode_direct
16546 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16547 # DIR into the resulting binary and the resulting library dependency is
16548 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16549 # library is relocated.
16550 hardcode_direct_absolute=$hardcode_direct_absolute
16552 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16553 # into the resulting binary.
16554 hardcode_minus_L=$hardcode_minus_L
16556 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16557 # into the resulting binary.
16558 hardcode_shlibpath_var=$hardcode_shlibpath_var
16560 # Set to "yes" if building a shared library automatically hardcodes DIR
16561 # into the library and all subsequent libraries and executables linked
16563 hardcode_automatic=$hardcode_automatic
16565 # Set to yes if linker adds runtime paths of dependent libraries
16566 # to runtime path list.
16567 inherit_rpath=$inherit_rpath
16569 # Whether libtool must link a program against all its dependency libraries.
16570 link_all_deplibs=$link_all_deplibs
16572 # Fix the shell variable \$srcfile for the compiler.
16573 fix_srcfile_path=$lt_fix_srcfile_path
16575 # Set to "yes" if exported symbols are required.
16576 always_export_symbols=$always_export_symbols
16578 # The commands to list exported symbols.
16579 export_symbols_cmds=$lt_export_symbols_cmds
16581 # Symbols that should not be listed in the preloaded symbols.
16582 exclude_expsyms=$lt_exclude_expsyms
16584 # Symbols that must always be exported.
16585 include_expsyms=$lt_include_expsyms
16587 # Commands necessary for linking programs (against libraries) with templates.
16588 prelink_cmds=$lt_prelink_cmds
16590 # Specify filename containing input files.
16591 file_list_spec=$lt_file_list_spec
16593 # How to hardcode a shared library path into an executable.
16594 hardcode_action=$hardcode_action
16596 # The directories searched by this compiler when creating a shared library.
16597 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
16599 # Dependencies to place before and after the objects being linked to
16600 # create a shared library.
16601 predep_objects=$lt_predep_objects
16602 postdep_objects=$lt_postdep_objects
16603 predeps=$lt_predeps
16604 postdeps=$lt_postdeps
16606 # The library search path used internally by the compiler when linking
16607 # a shared library.
16608 compiler_lib_search_path=$lt_compiler_lib_search_path
16610 # ### END LIBTOOL CONFIG
16616 cat <<\_LT_EOF
>> "$cfgfile"
16617 # AIX sometimes has problems with the GCC collect2 program. For some
16618 # reason, if we set the COLLECT_NAMES environment variable, the problems
16619 # vanish in a puff of smoke.
16620 if test "X${COLLECT_NAMES+set}" != Xset
; then
16622 export COLLECT_NAMES
16629 ltmain
="$ac_aux_dir/ltmain.sh"
16632 # We use sed instead of cat because bash on DJGPP gets confused if
16633 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16634 # text mode, it properly converts lines to CR/LF. This bash problem
16635 # is reportedly fixed, but why not run on old versions too?
16636 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16637 ||
(rm -f "$cfgfile"; exit 1)
16641 cat << \_LT_EOF
>> "$cfgfile"
16643 # func_dirname file append nondir_replacement
16644 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16645 # otherwise set result to NONDIR_REPLACEMENT.
16649 */*) func_dirname_result
="${1%/*}${2}" ;;
16650 * ) func_dirname_result
="${3}" ;;
16654 # func_basename file
16657 func_basename_result
="${1##*/}"
16660 # func_dirname_and_basename file append nondir_replacement
16661 # perform func_basename and func_dirname in a single function
16663 # dirname: Compute the dirname of FILE. If nonempty,
16664 # add APPEND to the result, otherwise set result
16665 # to NONDIR_REPLACEMENT.
16666 # value returned in "$func_dirname_result"
16667 # basename: Compute filename of FILE.
16668 # value retuned in "$func_basename_result"
16669 # Implementation must be kept synchronized with func_dirname
16670 # and func_basename. For efficiency, we do not delegate to
16671 # those functions but instead duplicate the functionality here.
16672 func_dirname_and_basename
()
16675 */*) func_dirname_result
="${1%/*}${2}" ;;
16676 * ) func_dirname_result
="${3}" ;;
16678 func_basename_result
="${1##*/}"
16681 # func_stripname prefix suffix name
16682 # strip PREFIX and SUFFIX off of NAME.
16683 # PREFIX and SUFFIX must not contain globbing or regex special
16684 # characters, hashes, percent signs, but SUFFIX may contain a leading
16685 # dot (in which case that matches only a dot).
16688 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16689 # positional parameters, so assign one to ordinary parameter first.
16690 func_stripname_result
=${3}
16691 func_stripname_result
=${func_stripname_result#"${1}"}
16692 func_stripname_result
=${func_stripname_result%"${2}"}
16698 func_opt_split_opt
=${1%%=*}
16699 func_opt_split_arg
=${1#*=}
16706 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16707 *) func_lo2o_result
=${1} ;;
16711 # func_xform libobj-or-source
16714 func_xform_result
=${1%.*}.lo
16717 # func_arith arithmetic-term...
16720 func_arith_result
=$
(( $
* ))
16724 # STRING may not start with a hyphen.
16727 func_len_result
=${#1}
16732 *) # Bourne compatible functions.
16733 cat << \_LT_EOF
>> "$cfgfile"
16735 # func_dirname file append nondir_replacement
16736 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16737 # otherwise set result to NONDIR_REPLACEMENT.
16740 # Extract subdirectory from the argument.
16741 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
16742 if test "X$func_dirname_result" = "X${1}"; then
16743 func_dirname_result
="${3}"
16745 func_dirname_result
="$func_dirname_result${2}"
16749 # func_basename file
16752 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
16756 # func_stripname prefix suffix name
16757 # strip PREFIX and SUFFIX off of NAME.
16758 # PREFIX and SUFFIX must not contain globbing or regex special
16759 # characters, hashes, percent signs, but SUFFIX may contain a leading
16760 # dot (in which case that matches only a dot).
16761 # func_strip_suffix prefix name
16765 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16766 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16771 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16772 my_sed_long_arg
='1s/^-[^=]*=//'
16777 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16778 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16784 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
16787 # func_xform libobj-or-source
16790 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16793 # func_arith arithmetic-term...
16796 func_arith_result
=`expr "$@"`
16800 # STRING may not start with a hyphen.
16803 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16809 case $lt_shell_append in
16811 cat << \_LT_EOF
>> "$cfgfile"
16813 # func_append var value
16814 # Append VALUE to the end of shell variable VAR.
16822 cat << \_LT_EOF
>> "$cfgfile"
16824 # func_append var value
16825 # Append VALUE to the end of shell variable VAR.
16836 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16837 ||
(rm -f "$cfgfile"; exit 1)
16839 mv -f "$cfgfile" "$ofile" ||
16840 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16844 cat <<_LT_EOF >> "$ofile"
16846 # ### BEGIN LIBTOOL TAG CONFIG: CXX
16848 # The linker used to build libraries.
16851 # How to create reloadable object files.
16852 reload_flag=$lt_reload_flag_CXX
16853 reload_cmds=$lt_reload_cmds_CXX
16855 # Commands used to build an old-style archive.
16856 old_archive_cmds=$lt_old_archive_cmds_CXX
16858 # A language specific compiler.
16859 CC=$lt_compiler_CXX
16861 # Is the compiler the GNU compiler?
16864 # Compiler flag to turn off builtin functions.
16865 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
16867 # How to pass a linker flag through the compiler.
16868 wl=$lt_lt_prog_compiler_wl_CXX
16870 # Additional compiler flags for building library objects.
16871 pic_flag=$lt_lt_prog_compiler_pic_CXX
16873 # Compiler flag to prevent dynamic linking.
16874 link_static_flag=$lt_lt_prog_compiler_static_CXX
16876 # Does compiler simultaneously support -c and -o options?
16877 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
16879 # Whether or not to add -lc for building shared libraries.
16880 build_libtool_need_lc=$archive_cmds_need_lc_CXX
16882 # Whether or not to disallow shared libs when runtime libs are static.
16883 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
16885 # Compiler flag to allow reflexive dlopens.
16886 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
16888 # Compiler flag to generate shared objects directly from archives.
16889 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
16891 # Whether the compiler copes with passing no objects directly.
16892 compiler_needs_object=$lt_compiler_needs_object_CXX
16894 # Create an old-style archive from a shared archive.
16895 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
16897 # Create a temporary old-style archive to link instead of a shared archive.
16898 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
16900 # Commands used to build a shared archive.
16901 archive_cmds=$lt_archive_cmds_CXX
16902 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
16904 # Commands used to build a loadable module if different from building
16905 # a shared archive.
16906 module_cmds=$lt_module_cmds_CXX
16907 module_expsym_cmds=$lt_module_expsym_cmds_CXX
16909 # Whether we are building with GNU ld or not.
16910 with_gnu_ld=$lt_with_gnu_ld_CXX
16912 # Flag that allows shared libraries with undefined symbols to be built.
16913 allow_undefined_flag=$lt_allow_undefined_flag_CXX
16915 # Flag that enforces no undefined symbols.
16916 no_undefined_flag=$lt_no_undefined_flag_CXX
16918 # Flag to hardcode \$libdir into a binary during linking.
16919 # This must work even if \$libdir does not exist
16920 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
16922 # If ld is used when linking, flag to hardcode \$libdir into a binary
16923 # during linking. This must work even if \$libdir does not exist.
16924 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
16926 # Whether we need a single "-rpath" flag with a separated argument.
16927 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
16929 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16930 # DIR into the resulting binary.
16931 hardcode_direct=$hardcode_direct_CXX
16933 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16934 # DIR into the resulting binary and the resulting library dependency is
16935 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16936 # library is relocated.
16937 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
16939 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16940 # into the resulting binary.
16941 hardcode_minus_L=$hardcode_minus_L_CXX
16943 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16944 # into the resulting binary.
16945 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
16947 # Set to "yes" if building a shared library automatically hardcodes DIR
16948 # into the library and all subsequent libraries and executables linked
16950 hardcode_automatic=$hardcode_automatic_CXX
16952 # Set to yes if linker adds runtime paths of dependent libraries
16953 # to runtime path list.
16954 inherit_rpath=$inherit_rpath_CXX
16956 # Whether libtool must link a program against all its dependency libraries.
16957 link_all_deplibs=$link_all_deplibs_CXX
16959 # Fix the shell variable \$srcfile for the compiler.
16960 fix_srcfile_path=$lt_fix_srcfile_path_CXX
16962 # Set to "yes" if exported symbols are required.
16963 always_export_symbols=$always_export_symbols_CXX
16965 # The commands to list exported symbols.
16966 export_symbols_cmds=$lt_export_symbols_cmds_CXX
16968 # Symbols that should not be listed in the preloaded symbols.
16969 exclude_expsyms=$lt_exclude_expsyms_CXX
16971 # Symbols that must always be exported.
16972 include_expsyms=$lt_include_expsyms_CXX
16974 # Commands necessary for linking programs (against libraries) with templates.
16975 prelink_cmds=$lt_prelink_cmds_CXX
16977 # Specify filename containing input files.
16978 file_list_spec=$lt_file_list_spec_CXX
16980 # How to hardcode a shared library path into an executable.
16981 hardcode_action=$hardcode_action_CXX
16983 # The directories searched by this compiler when creating a shared library.
16984 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
16986 # Dependencies to place before and after the objects being linked to
16987 # create a shared library.
16988 predep_objects=$lt_predep_objects_CXX
16989 postdep_objects=$lt_postdep_objects_CXX
16990 predeps=$lt_predeps_CXX
16991 postdeps=$lt_postdeps_CXX
16993 # The library search path used internally by the compiler when linking
16994 # a shared library.
16995 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
16997 # ### END LIBTOOL TAG CONFIG: CXX
17008 ac_clean_files
=$ac_clean_files_save
17010 test $ac_write_fail = 0 ||
17011 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17014 # configure is writing to config.log, and then calls config.status.
17015 # config.status does its own redirection, appending to config.log.
17016 # Unfortunately, on DOS this fails, as config.log is still kept open
17017 # by configure, so config.status won't be able to write to it; its
17018 # output is simply discarded. So we exec the FD to /dev/null,
17019 # effectively closing config.log, so it can be properly (re)opened and
17020 # appended to by config.status. When coming back to configure, we
17021 # need to make the FD available again.
17022 if test "$no_create" != yes; then
17024 ac_config_status_args
=
17025 test "$silent" = yes &&
17026 ac_config_status_args
="$ac_config_status_args --quiet"
17028 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17030 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17031 # would make configure fail if this is the last instruction.
17032 $ac_cs_success || as_fn_exit $?
17034 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17036 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}