2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev
/null
; then :
186 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
191 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir
=.
198 for as_base
in sh bash ksh sh5
; do
199 # Try only shells that exist, to save several forks.
200 as_shell
=$as_dir/$as_base
201 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
203 CONFIG_SHELL
=$as_shell as_have_required
=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
212 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
214 CONFIG_SHELL
=$SHELL as_have_required
=yes
219 if test "x$CONFIG_SHELL" != x
; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x
$as_have_required = xno
; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x
${ZSH_VERSION+set} = xset
; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL
=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE
= GREP_OPTIONS
=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir
=.
/$as_dir;;
291 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
295 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs
="'$as_qdir' $as_dirs"
299 as_dir
=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
325 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
360 as_val
=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status
=$?
; test $as_status -eq 0 && as_status
=1
374 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit
$as_status
381 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
388 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
400 as_me
=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits
='0123456789'
424 as_cr_alnum
=$as_cr_Letters$as_cr_digits
427 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
428 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x
"$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C
= ECHO_N
= ECHO_T
=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
471 rm -f conf$$ conf$$.exe conf$$.
file
472 if test -d conf$$.dir
; then
473 rm -f conf$$.dir
/conf$$.
file
476 mkdir conf$$.dir
2>/dev
/null
478 if (echo >conf$$.
file) 2>/dev
/null
; then
479 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
487 elif ln conf$$.
file conf$$
2>/dev
/null
; then
495 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
496 rmdir conf$$.dir
2>/dev
/null
498 if mkdir
-p .
2>/dev
/null
; then
499 as_mkdir_p
='mkdir -p "$as_dir"'
501 test -d .
/-p && rmdir .
/-p
505 if test -x / >/dev
/null
2>&1; then
508 if ls -dL / >/dev
/null
2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p
=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL
=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev
/null
6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix
=/usr
/local
549 ac_config_libobj_dir
=.
556 # Identity of this package.
557 PACKAGE_NAME
='package-unused'
558 PACKAGE_TARNAME
='libgo'
559 PACKAGE_VERSION
='version-unused'
560 PACKAGE_STRING
='package-unused version-unused'
564 ac_unique_file
="Makefile.am"
565 # Factoring default headers for most tests.
566 ac_includes_default
="\
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
578 # ifdef HAVE_STDLIB_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
601 ac_subst_vars
='am__EXEEXT_FALSE
606 HAVE_SYS_MMAN_H_FALSE
612 USING_SPLIT_STACK_FALSE
613 USING_SPLIT_STACK_TRUE
615 GO_DEBUG_PROC_REGS_OS_ARCH_FILE
616 GO_SYSCALLS_SYSCALL_OS_ARCH_FILE
618 LIBGO_IS_X86_64_FALSE
620 LIBGO_IS_SPARC64_FALSE
621 LIBGO_IS_SPARC64_TRUE
628 LIBGO_IS_MIPS64_FALSE
639 LIBGO_IS_SOLARIS_FALSE
640 LIBGO_IS_SOLARIS_TRUE
645 LIBGO_IS_FREEBSD_FALSE
646 LIBGO_IS_FREEBSD_TRUE
647 LIBGO_IS_DARWIN_FALSE
651 glibgo_toolexeclibdir
679 MAINTAINER_MODE_FALSE
707 INSTALL_STRIP_PROGRAM
763 program_transform_name
776 enable_option_checking
778 enable_dependency_tracking
779 enable_maintainer_mode
786 enable_version_specific_runtime_libs
788 with_system_libunwind
789 enable_sjlj_exceptions
791 ac_precious_vars
='build_alias
798 # Initialize some variables set by options.
800 ac_init_version
=false
801 ac_unrecognized_opts
=
803 # The variables have the same names as the options, with
804 # dashes changed to underlines.
812 program_transform_name
=s
,x
,x
,
820 # Installation directory options.
821 # These are left unexpanded so users can "make install exec_prefix=/foo"
822 # and all the variables that are supposed to be based on exec_prefix
823 # by default will actually change.
824 # Use braces instead of parens because sh, perl, etc. also accept them.
825 # (The list follows the same order as the GNU Coding Standards.)
826 bindir
='${exec_prefix}/bin'
827 sbindir
='${exec_prefix}/sbin'
828 libexecdir
='${exec_prefix}/libexec'
829 datarootdir
='${prefix}/share'
830 datadir
='${datarootdir}'
831 sysconfdir
='${prefix}/etc'
832 sharedstatedir
='${prefix}/com'
833 localstatedir
='${prefix}/var'
834 includedir
='${prefix}/include'
835 oldincludedir
='/usr/include'
836 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
837 infodir
='${datarootdir}/info'
842 libdir
='${exec_prefix}/lib'
843 localedir
='${datarootdir}/locale'
844 mandir
='${datarootdir}/man'
850 # If the previous option needs an argument, assign it.
851 if test -n "$ac_prev"; then
852 eval $ac_prev=\
$ac_option
858 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
862 # Accept the important Cygnus configure options, so we can diagnose typos.
864 case $ac_dashdash$ac_option in
868 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
870 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
873 -build |
--build |
--buil |
--bui |
--bu)
874 ac_prev
=build_alias
;;
875 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
876 build_alias
=$ac_optarg ;;
878 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
879 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
880 ac_prev
=cache_file
;;
881 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
882 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
883 cache_file
=$ac_optarg ;;
886 cache_file
=config.cache
;;
888 -datadir |
--datadir |
--datadi |
--datad)
890 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
891 datadir
=$ac_optarg ;;
893 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
894 |
--dataroo |
--dataro |
--datar)
895 ac_prev
=datarootdir
;;
896 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
897 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
898 datarootdir
=$ac_optarg ;;
900 -disable-* |
--disable-*)
901 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
902 # Reject names that are not valid shell variable names.
903 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
904 as_fn_error
"invalid feature name: $ac_useropt"
905 ac_useropt_orig
=$ac_useropt
906 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
907 case $ac_user_opts in
911 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
912 ac_unrecognized_sep
=', ';;
914 eval enable_
$ac_useropt=no
;;
916 -docdir |
--docdir |
--docdi |
--doc |
--do)
918 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
921 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
923 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
926 -enable-* |
--enable-*)
927 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
928 # Reject names that are not valid shell variable names.
929 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
930 as_fn_error
"invalid feature name: $ac_useropt"
931 ac_useropt_orig
=$ac_useropt
932 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
933 case $ac_user_opts in
937 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
938 ac_unrecognized_sep
=', ';;
940 eval enable_
$ac_useropt=\
$ac_optarg ;;
942 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
943 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
944 |
--exec |
--exe |
--ex)
945 ac_prev
=exec_prefix
;;
946 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
947 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
948 |
--exec=* |
--exe=* |
--ex=*)
949 exec_prefix
=$ac_optarg ;;
951 -gas |
--gas |
--ga |
--g)
952 # Obsolete; use --with-gas.
955 -help |
--help |
--hel |
--he |
-h)
957 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
958 ac_init_help
=recursive
;;
959 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
960 ac_init_help
=short
;;
962 -host |
--host |
--hos |
--ho)
963 ac_prev
=host_alias
;;
964 -host=* |
--host=* |
--hos=* |
--ho=*)
965 host_alias
=$ac_optarg ;;
967 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
969 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
971 htmldir
=$ac_optarg ;;
973 -includedir |
--includedir |
--includedi |
--included |
--include \
974 |
--includ |
--inclu |
--incl |
--inc)
975 ac_prev
=includedir
;;
976 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
977 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
978 includedir
=$ac_optarg ;;
980 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
982 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
983 infodir
=$ac_optarg ;;
985 -libdir |
--libdir |
--libdi |
--libd)
987 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
990 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
991 |
--libexe |
--libex |
--libe)
992 ac_prev
=libexecdir
;;
993 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
994 |
--libexe=* |
--libex=* |
--libe=*)
995 libexecdir
=$ac_optarg ;;
997 -localedir |
--localedir |
--localedi |
--localed |
--locale)
999 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1000 localedir
=$ac_optarg ;;
1002 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1003 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1004 ac_prev
=localstatedir
;;
1005 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1006 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1007 localstatedir
=$ac_optarg ;;
1009 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1011 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1012 mandir
=$ac_optarg ;;
1014 -nfp |
--nfp |
--nf)
1015 # Obsolete; use --without-fp.
1018 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1019 |
--no-cr |
--no-c |
-n)
1022 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1023 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1026 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1027 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1028 |
--oldin |
--oldi |
--old |
--ol |
--o)
1029 ac_prev
=oldincludedir
;;
1030 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1031 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1032 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1033 oldincludedir
=$ac_optarg ;;
1035 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1037 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1038 prefix
=$ac_optarg ;;
1040 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1041 |
--program-pre |
--program-pr |
--program-p)
1042 ac_prev
=program_prefix
;;
1043 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1044 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1045 program_prefix
=$ac_optarg ;;
1047 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1048 |
--program-suf |
--program-su |
--program-s)
1049 ac_prev
=program_suffix
;;
1050 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1051 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1052 program_suffix
=$ac_optarg ;;
1054 -program-transform-name |
--program-transform-name \
1055 |
--program-transform-nam |
--program-transform-na \
1056 |
--program-transform-n |
--program-transform- \
1057 |
--program-transform |
--program-transfor \
1058 |
--program-transfo |
--program-transf \
1059 |
--program-trans |
--program-tran \
1060 |
--progr-tra |
--program-tr |
--program-t)
1061 ac_prev
=program_transform_name
;;
1062 -program-transform-name=* |
--program-transform-name=* \
1063 |
--program-transform-nam=* |
--program-transform-na=* \
1064 |
--program-transform-n=* |
--program-transform-=* \
1065 |
--program-transform=* |
--program-transfor=* \
1066 |
--program-transfo=* |
--program-transf=* \
1067 |
--program-trans=* |
--program-tran=* \
1068 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1069 program_transform_name
=$ac_optarg ;;
1071 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1073 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1074 pdfdir
=$ac_optarg ;;
1076 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1078 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1081 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1082 |
-silent |
--silent |
--silen |
--sile |
--sil)
1085 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1087 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1089 sbindir
=$ac_optarg ;;
1091 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1092 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1093 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1095 ac_prev
=sharedstatedir
;;
1096 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1097 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1098 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1100 sharedstatedir
=$ac_optarg ;;
1102 -site |
--site |
--sit)
1104 -site=* |
--site=* |
--sit=*)
1107 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1109 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1110 srcdir
=$ac_optarg ;;
1112 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1113 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1114 ac_prev
=sysconfdir
;;
1115 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1116 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1117 sysconfdir
=$ac_optarg ;;
1119 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1120 ac_prev
=target_alias
;;
1121 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1122 target_alias
=$ac_optarg ;;
1124 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1127 -version |
--version |
--versio |
--versi |
--vers |
-V)
1128 ac_init_version
=: ;;
1131 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1132 # Reject names that are not valid shell variable names.
1133 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1134 as_fn_error
"invalid package name: $ac_useropt"
1135 ac_useropt_orig
=$ac_useropt
1136 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1137 case $ac_user_opts in
1141 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1142 ac_unrecognized_sep
=', ';;
1144 eval with_
$ac_useropt=\
$ac_optarg ;;
1146 -without-* |
--without-*)
1147 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1148 # Reject names that are not valid shell variable names.
1149 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1150 as_fn_error
"invalid package name: $ac_useropt"
1151 ac_useropt_orig
=$ac_useropt
1152 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1153 case $ac_user_opts in
1157 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1158 ac_unrecognized_sep
=', ';;
1160 eval with_
$ac_useropt=no
;;
1163 # Obsolete; use --with-x.
1166 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1167 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1168 ac_prev
=x_includes
;;
1169 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1170 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1171 x_includes
=$ac_optarg ;;
1173 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1174 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1175 ac_prev
=x_libraries
;;
1176 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1177 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1178 x_libraries
=$ac_optarg ;;
1180 -*) as_fn_error
"unrecognized option: \`$ac_option'
1181 Try \`$0 --help' for more information."
1185 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1186 # Reject names that are not valid shell variable names.
1187 case $ac_envvar in #(
1188 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1189 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1191 eval $ac_envvar=\
$ac_optarg
1192 export $ac_envvar ;;
1195 # FIXME: should be removed in autoconf 3.0.
1196 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1197 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1198 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1199 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1205 if test -n "$ac_prev"; then
1206 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1207 as_fn_error
"missing argument to $ac_option"
1210 if test -n "$ac_unrecognized_opts"; then
1211 case $enable_option_checking in
1213 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1214 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1218 # Check all directory arguments for consistency.
1219 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1220 datadir sysconfdir sharedstatedir localstatedir includedir \
1221 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1222 libdir localedir mandir
1224 eval ac_val
=\$
$ac_var
1225 # Remove trailing slashes.
1228 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1229 eval $ac_var=\
$ac_val;;
1231 # Be sure to have absolute directory names.
1233 [\\/$
]* | ?
:[\\/]* ) continue;;
1234 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1236 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1239 # There might be people who depend on the old broken behavior: `$host'
1240 # used to hold the argument of --host etc.
1241 # FIXME: To remove some day.
1244 target
=$target_alias
1246 # FIXME: To remove some day.
1247 if test "x$host_alias" != x
; then
1248 if test "x$build_alias" = x
; then
1249 cross_compiling
=maybe
1250 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1251 If a cross compiler is detected then cross compile mode will be used." >&2
1252 elif test "x$build_alias" != "x$host_alias"; then
1258 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1260 test "$silent" = yes && exec 6>/dev
/null
1263 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1264 ac_ls_di
=`ls -di .` &&
1265 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1266 as_fn_error
"working directory cannot be determined"
1267 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1268 as_fn_error
"pwd does not report name of working directory"
1271 # Find the source files, if location was not specified.
1272 if test -z "$srcdir"; then
1273 ac_srcdir_defaulted
=yes
1274 # Try the directory containing this script, then the parent directory.
1275 ac_confdir
=`$as_dirname -- "$as_myself" ||
1276 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1277 X"$as_myself" : 'X\(//\)[^/]' \| \
1278 X"$as_myself" : 'X\(//\)$' \| \
1279 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1280 $as_echo X"$as_myself" |
1281 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1299 if test ! -r "$srcdir/$ac_unique_file"; then
1303 ac_srcdir_defaulted
=no
1305 if test ! -r "$srcdir/$ac_unique_file"; then
1306 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1307 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1309 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1311 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1313 # When building in place, set srcdir=.
1314 if test "$ac_abs_confdir" = "$ac_pwd"; then
1317 # Remove unnecessary trailing slashes from srcdir.
1318 # Double slashes in file names in object file debugging info
1319 # mess up M-x gdb in Emacs.
1321 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1323 for ac_var
in $ac_precious_vars; do
1324 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1325 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1326 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1327 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1331 # Report the --help message.
1333 if test "$ac_init_help" = "long"; then
1334 # Omit some internal or obsolete options to make the list less imposing.
1335 # This message is too long to be a string in the A/UX 3.1 sh.
1337 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1339 Usage: $0 [OPTION]... [VAR=VALUE]...
1341 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1342 VAR=VALUE. See below for descriptions of some of the useful variables.
1344 Defaults for the options are specified in brackets.
1347 -h, --help display this help and exit
1348 --help=short display options specific to this package
1349 --help=recursive display the short help of all the included packages
1350 -V, --version display version information and exit
1351 -q, --quiet, --silent do not print \`checking...' messages
1352 --cache-file=FILE cache test results in FILE [disabled]
1353 -C, --config-cache alias for \`--cache-file=config.cache'
1354 -n, --no-create do not create output files
1355 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1357 Installation directories:
1358 --prefix=PREFIX install architecture-independent files in PREFIX
1359 [$ac_default_prefix]
1360 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1363 By default, \`make install' will install all the files in
1364 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1365 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1366 for instance \`--prefix=\$HOME'.
1368 For better control, use the options below.
1370 Fine tuning of the installation directories:
1371 --bindir=DIR user executables [EPREFIX/bin]
1372 --sbindir=DIR system admin executables [EPREFIX/sbin]
1373 --libexecdir=DIR program executables [EPREFIX/libexec]
1374 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1375 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1376 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1377 --libdir=DIR object code libraries [EPREFIX/lib]
1378 --includedir=DIR C header files [PREFIX/include]
1379 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1380 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1381 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1382 --infodir=DIR info documentation [DATAROOTDIR/info]
1383 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1384 --mandir=DIR man documentation [DATAROOTDIR/man]
1385 --docdir=DIR documentation root [DATAROOTDIR/doc/libgo]
1386 --htmldir=DIR html documentation [DOCDIR]
1387 --dvidir=DIR dvi documentation [DOCDIR]
1388 --pdfdir=DIR pdf documentation [DOCDIR]
1389 --psdir=DIR ps documentation [DOCDIR]
1395 --program-prefix=PREFIX prepend PREFIX to installed program names
1396 --program-suffix=SUFFIX append SUFFIX to installed program names
1397 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1400 --build=BUILD configure
for building on BUILD
[guessed
]
1401 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1402 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1406 if test -n "$ac_init_help"; then
1407 case $ac_init_help in
1408 short | recursive
) echo "Configuration of package-unused version-unused:";;
1413 --disable-option-checking ignore unrecognized
--enable/--with options
1414 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1415 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1416 --enable-multilib build many library versions
(default
)
1417 --disable-dependency-tracking speeds up one-time build
1418 --enable-dependency-tracking do not reject slow dependency extractors
1419 --enable-maintainer-mode enable make rules and dependencies not useful
1420 (and sometimes confusing
) to the casual installer
1421 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1422 --enable-static[=PKGS
] build static libraries
[default
=yes]
1423 --enable-fast-install[=PKGS
]
1424 optimize
for fast installation
[default
=yes]
1425 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1426 --enable-version-specific-runtime-libs
1427 Specify that runtime libraries should be installed
1428 in a compiler-specific directory
1429 --enable-sjlj-exceptions
1430 force use of builtin_setjmp
for exceptions
1433 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1434 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1435 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1436 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1438 --without-libffi don
't use libffi
1439 --with-system-libunwind use installed libunwind
1441 Some influential environment variables:
1442 CC C compiler command
1443 CFLAGS C compiler flags
1444 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1445 nonstandard directory <lib dir>
1446 LIBS libraries to pass to the linker, e.g. -l<library>
1447 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1448 you have headers in a nonstandard directory <include dir>
1449 GOC Go compiler command
1450 GOCFLAGS Go compiler flags
1453 Use these variables to override the choices made by `configure' or to
help
1454 it to
find libraries and programs with nonstandard names
/locations.
1456 Report bugs to the package provider.
1461 if test "$ac_init_help" = "recursive"; then
1462 # If there are subdirs, report their specific --help.
1463 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1464 test -d "$ac_dir" ||
1465 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1470 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1472 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1473 # A ".." for each directory in $ac_dir_suffix.
1474 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1475 case $ac_top_builddir_sub in
1476 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1477 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1480 ac_abs_top_builddir
=$ac_pwd
1481 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1482 # for backward compatibility:
1483 ac_top_builddir
=$ac_top_build_prefix
1486 .
) # We are building in place.
1488 ac_top_srcdir
=$ac_top_builddir_sub
1489 ac_abs_top_srcdir
=$ac_pwd ;;
1490 [\\/]* | ?
:[\\/]* ) # Absolute name.
1491 ac_srcdir
=$srcdir$ac_dir_suffix;
1492 ac_top_srcdir
=$srcdir
1493 ac_abs_top_srcdir
=$srcdir ;;
1495 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1496 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1497 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1499 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1501 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1502 # Check for guested configure.
1503 if test -f "$ac_srcdir/configure.gnu"; then
1505 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1506 elif test -f "$ac_srcdir/configure"; then
1508 $SHELL "$ac_srcdir/configure" --help=recursive
1510 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1512 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1516 test -n "$ac_init_help" && exit $ac_status
1517 if $ac_init_version; then
1519 package-unused configure version-unused
1520 generated by GNU Autoconf
2.64
1522 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1523 This configure
script is free software
; the Free Software Foundation
1524 gives unlimited permission to copy
, distribute and modify it.
1529 ## ------------------------ ##
1530 ## Autoconf initialization. ##
1531 ## ------------------------ ##
1533 # ac_fn_c_try_compile LINENO
1534 # --------------------------
1535 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1536 ac_fn_c_try_compile
()
1538 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1539 rm -f conftest.
$ac_objext
1540 if { { ac_try
="$ac_compile"
1542 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1543 *) ac_try_echo=$ac_try;;
1545 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1546 $as_echo "$ac_try_echo"; } >&5
1547 (eval "$ac_compile") 2>conftest.err
1549 if test -s conftest.err; then
1550 grep -v '^ *+' conftest.err >conftest.er1
1551 cat conftest.er1 >&5
1552 mv -f conftest.er1 conftest.err
1554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1555 test $ac_status = 0; } && {
1556 test -z "$ac_c_werror_flag" ||
1557 test ! -s conftest.err
1558 } && test -s conftest.$ac_objext; then :
1561 $as_echo "$as_me: failed program was:" >&5
1562 sed 's/^/| /' conftest.$ac_ext >&5
1566 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1569 } # ac_fn_c_try_compile
1571 # ac_fn_c_try_link LINENO
1572 # -----------------------
1573 # Try to link conftest.$ac_ext, and return whether this succeeded.
1576 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1577 rm -f conftest.$ac_objext conftest$ac_exeext
1578 if { { ac_try="$ac_link"
1580 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1581 *) ac_try_echo
=$ac_try;;
1583 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1584 $as_echo "$ac_try_echo"; } >&5
1585 (eval "$ac_link") 2>conftest.err
1587 if test -s conftest.err
; then
1588 grep -v '^ *+' conftest.err
>conftest.er1
1589 cat conftest.er1
>&5
1590 mv -f conftest.er1 conftest.err
1592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1593 test $ac_status = 0; } && {
1594 test -z "$ac_c_werror_flag" ||
1595 test ! -s conftest.err
1596 } && test -s conftest
$ac_exeext && {
1597 test "$cross_compiling" = yes ||
1598 $as_test_x conftest
$ac_exeext
1602 $as_echo "$as_me: failed program was:" >&5
1603 sed 's/^/| /' conftest.
$ac_ext >&5
1607 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1608 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1609 # interfere with the next link command; also delete a directory that is
1610 # left behind by Apple's compiler. We do this before executing the actions.
1611 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1612 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1615 } # ac_fn_c_try_link
1617 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1618 # -------------------------------------------------------
1619 # Tests whether HEADER exists and can be compiled using the include files in
1620 # INCLUDES, setting the cache variable VAR accordingly.
1621 ac_fn_c_check_header_compile
()
1623 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1625 $as_echo_n "checking for $2... " >&6; }
1626 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1627 $as_echo_n "(cached) " >&6
1629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1630 /* end confdefs.h. */
1634 if ac_fn_c_try_compile
"$LINENO"; then :
1639 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1643 $as_echo "$ac_res" >&6; }
1644 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1646 } # ac_fn_c_check_header_compile
1648 # ac_fn_c_try_cpp LINENO
1649 # ----------------------
1650 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1653 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1654 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1656 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1657 *) ac_try_echo=$ac_try;;
1659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1660 $as_echo "$ac_try_echo"; } >&5
1661 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1663 if test -s conftest.err; then
1664 grep -v '^ *+' conftest.err >conftest.er1
1665 cat conftest.er1 >&5
1666 mv -f conftest.er1 conftest.err
1668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1669 test $ac_status = 0; } >/dev/null && {
1670 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1671 test ! -s conftest.err
1675 $as_echo "$as_me: failed program was:" >&5
1676 sed 's/^/| /' conftest.$ac_ext >&5
1680 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1685 # ac_fn_c_try_run LINENO
1686 # ----------------------
1687 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1688 # that executables *can* be run.
1691 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1692 if { { ac_try="$ac_link"
1694 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1695 *) ac_try_echo
=$ac_try;;
1697 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1698 $as_echo "$ac_try_echo"; } >&5
1699 (eval "$ac_link") 2>&5
1701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1702 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1703 { { case "(($ac_try" in
1704 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1705 *) ac_try_echo=$ac_try;;
1707 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1708 $as_echo "$ac_try_echo"; } >&5
1709 (eval "$ac_try") 2>&5
1711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1712 test $ac_status = 0; }; }; then :
1715 $as_echo "$as_me: program exited with status $ac_status" >&5
1716 $as_echo "$as_me: failed program was:" >&5
1717 sed 's/^/| /' conftest.$ac_ext >&5
1719 ac_retval=$ac_status
1721 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1722 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1727 # ac_fn_c_check_func LINENO FUNC VAR
1728 # ----------------------------------
1729 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1730 ac_fn_c_check_func ()
1732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1734 $as_echo_n "checking for $2... " >&6; }
1735 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1736 $as_echo_n "(cached) " >&6
1738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1739 /* end confdefs.h. */
1740 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1742 #define $2 innocuous_$2
1744 /* System header to define __stub macros and hopefully few prototypes,
1745 which can conflict with char $2 (); below.
1746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1747 <limits.h> exists even on freestanding compilers. */
1750 # include <limits.h>
1752 # include <assert.h>
1757 /* Override any GCC internal prototype to avoid an error.
1758 Use char because int might match the return type of a GCC
1759 builtin and then its argument prototype would still apply. */
1764 /* The GNU C library defines this for functions which it implements
1765 to always fail with ENOSYS. Some functions are actually named
1766 something starting with __ and the normal name is an alias. */
1767 #if defined __stub_$2 || defined __stub___$2
1779 if ac_fn_c_try_link "$LINENO"; then :
1784 rm -f core conftest.err conftest.$ac_objext \
1785 conftest$ac_exeext conftest.$ac_ext
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1789 $as_echo "$ac_res" >&6; }
1790 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1792 } # ac_fn_c_check_func
1794 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1795 # -------------------------------------------------------
1796 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1797 # the include files in INCLUDES and setting the cache variable VAR
1799 ac_fn_c_check_header_mongrel ()
1801 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1802 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1804 $as_echo_n "checking for $2... " >&6; }
1805 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1806 $as_echo_n "(cached) " >&6
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1810 $as_echo "$ac_res" >&6; }
1812 # Is the header compilable?
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1814 $as_echo_n "checking $2 usability... " >&6; }
1815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1816 /* end confdefs.h. */
1820 if ac_fn_c_try_compile "$LINENO"; then :
1821 ac_header_compiler=yes
1823 ac_header_compiler=no
1825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1827 $as_echo "$ac_header_compiler" >&6; }
1829 # Is the header present?
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1831 $as_echo_n "checking $2 presence... " >&6; }
1832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1833 /* end confdefs.h. */
1836 if ac_fn_c_try_cpp "$LINENO"; then :
1837 ac_header_preproc=yes
1839 ac_header_preproc=no
1841 rm -f conftest.err conftest.$ac_ext
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1843 $as_echo "$ac_header_preproc" >&6; }
1845 # So? What about this header?
1846 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1849 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1851 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1855 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1857 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1859 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1861 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1863 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1867 $as_echo_n "checking for $2... " >&6; }
1868 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1869 $as_echo_n "(cached) " >&6
1871 eval "$3=\$ac_header_compiler"
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1875 $as_echo "$ac_res" >&6; }
1877 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1879 } # ac_fn_c_check_header_mongrel
1881 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1882 # -------------------------------------------
1883 # Tests whether TYPE exists after having included INCLUDES, setting cache
1884 # variable VAR accordingly.
1885 ac_fn_c_check_type ()
1887 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1889 $as_echo_n "checking for $2... " >&6; }
1890 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1891 $as_echo_n "(cached) " >&6
1894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1895 /* end confdefs.h. */
1906 if ac_fn_c_try_compile "$LINENO"; then :
1907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1908 /* end confdefs.h. */
1919 if ac_fn_c_try_compile "$LINENO"; then :
1924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1930 $as_echo "$ac_res" >&6; }
1931 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1933 } # ac_fn_c_check_type
1934 cat >config.log <<_ACEOF
1935 This file contains any messages produced by compilers while
1936 running configure, to aid debugging if configure makes a mistake.
1938 It was created by package-unused $as_me version-unused, which was
1939 generated by GNU Autoconf 2.64. Invocation command line was
1951 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1952 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1953 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1954 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1955 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1957 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1958 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1960 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1961 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1962 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1963 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1964 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1965 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1966 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1974 test -z "$as_dir" && as_dir=.
1975 $as_echo "PATH: $as_dir"
1991 # Keep a trace of the command line.
1992 # Strip out --no-create and --no-recursion so they do not pile up.
1993 # Strip out --silent because we don't want to record it for future runs.
1994 # Also quote any args containing shell meta-characters.
1995 # Make two passes to allow for proper duplicate-argument suppression.
1999 ac_must_keep_next=false
2005 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2006 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2007 | -silent | --silent | --silen | --sile | --sil)
2010 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2013 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2015 as_fn_append ac_configure_args1 " '$ac_arg'"
2016 if test $ac_must_keep_next = true; then
2017 ac_must_keep_next=false # Got value, back to normal.
2020 *=* | --config-cache | -C | -disable-* | --disable-* \
2021 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2022 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2023 | -with-* | --with-* | -without-* | --without-* | --x)
2024 case "$ac_configure_args0 " in
2025 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2028 -* ) ac_must_keep_next=true ;;
2031 as_fn_append ac_configure_args " '$ac_arg'"
2036 { ac_configure_args0=; unset ac_configure_args0;}
2037 { ac_configure_args1=; unset ac_configure_args1;}
2039 # When interrupted or exit'd, cleanup temporary files, and complete
2040 # config.log. We remove comments because anyway the quotes in there
2041 # would cause problems or look ugly.
2042 # WARNING: Use '\'' to represent an apostrophe within the trap.
2043 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2044 trap 'exit_status=$?
2045 # Save into config.log some information that might help in debugging.
2050 ## ---------------- ##
2051 ## Cache variables. ##
2052 ## ---------------- ##
2055 # The following way of writing the cache mishandles newlines in values,
2057 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2058 eval ac_val=\$$ac_var
2062 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2063 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2066 _ | IFS | as_nl) ;; #(
2067 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2068 *) { eval $ac_var=; unset $ac_var;} ;;
2073 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2074 *${as_nl}ac_space=\ *)
2076 "s/'\''/'\''\\\\'\'''\''/g;
2077 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2080 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2088 ## ----------------- ##
2089 ## Output variables. ##
2090 ## ----------------- ##
2093 for ac_var in $ac_subst_vars
2095 eval ac_val=\$$ac_var
2097 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2099 $as_echo "$ac_var='\''$ac_val'\''"
2103 if test -n "$ac_subst_files"; then
2105 ## ------------------- ##
2106 ## File substitutions. ##
2107 ## ------------------- ##
2110 for ac_var in $ac_subst_files
2112 eval ac_val=\$$ac_var
2114 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2116 $as_echo "$ac_var='\''$ac_val'\''"
2121 if test -s confdefs.h; then
2131 test "$ac_signal" != 0 &&
2132 $as_echo "$as_me: caught signal $ac_signal"
2133 $as_echo "$as_me: exit $exit_status"
2135 rm -f core *.core core.conftest.* &&
2136 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2139 for ac_signal in 1 2 13 15; do
2140 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2144 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2145 rm -f -r conftest* confdefs.h
2147 $as_echo "/* confdefs.h */" > confdefs.h
2149 # Predefined preprocessor variables.
2151 cat >>confdefs.h <<_ACEOF
2152 #define PACKAGE_NAME "$PACKAGE_NAME"
2155 cat >>confdefs.h <<_ACEOF
2156 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2159 cat >>confdefs.h <<_ACEOF
2160 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2163 cat >>confdefs.h <<_ACEOF
2164 #define PACKAGE_STRING "$PACKAGE_STRING"
2167 cat >>confdefs.h <<_ACEOF
2168 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2171 cat >>confdefs.h <<_ACEOF
2172 #define PACKAGE_URL "$PACKAGE_URL"
2176 # Let the site file select an alternate cache file if it wants to.
2177 # Prefer an explicitly selected file to automatically selected ones.
2180 if test -n "$CONFIG_SITE"; then
2181 ac_site_file1=$CONFIG_SITE
2182 elif test "x$prefix" != xNONE; then
2183 ac_site_file1=$prefix/share/config.site
2184 ac_site_file2=$prefix/etc/config.site
2186 ac_site_file1=$ac_default_prefix/share/config.site
2187 ac_site_file2=$ac_default_prefix/etc/config.site
2189 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2191 test "x$ac_site_file" = xNONE && continue
2192 if test -r "$ac_site_file"; then
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2194 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2195 sed 's/^/| /' "$ac_site_file" >&5
2200 if test -r "$cache_file"; then
2201 # Some versions of bash will fail to source /dev/null (special
2202 # files actually), so we avoid doing that.
2203 if test -f "$cache_file"; then
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2205 $as_echo "$as_me: loading cache $cache_file" >&6;}
2207 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2208 *) . "./$cache_file";;
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2213 $as_echo "$as_me: creating cache $cache_file" >&6;}
2217 # Check that the precious variables saved in the cache have kept the same
2219 ac_cache_corrupted=false
2220 for ac_var in $ac_precious_vars; do
2221 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2222 eval ac_new_set=\$ac_env_${ac_var}_set
2223 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2224 eval ac_new_val=\$ac_env_${ac_var}_value
2225 case $ac_old_set,$ac_new_set in
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2228 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2229 ac_cache_corrupted=: ;;
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2232 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2233 ac_cache_corrupted=: ;;
2236 if test "x$ac_old_val" != "x$ac_new_val"; then
2237 # differences in whitespace do not lead to failure.
2238 ac_old_val_w=`echo x
$ac_old_val`
2239 ac_new_val_w=`echo x
$ac_new_val`
2240 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2242 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2243 ac_cache_corrupted=:
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2246 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2247 eval $ac_var=\$ac_old_val
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2250 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2252 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2255 # Pass precious variables to config.status.
2256 if test "$ac_new_set" = set; then
2258 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2259 *) ac_arg=$ac_var=$ac_new_val ;;
2261 case " $ac_configure_args " in
2262 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2263 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2267 if $ac_cache_corrupted; then
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2269 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2271 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2272 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2274 ## -------------------- ##
2275 ## Main body of script. ##
2276 ## -------------------- ##
2279 ac_cpp='$CPP $CPPFLAGS'
2280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2289 ac_config_headers="$ac_config_headers config.h"
2292 libtool_VERSION=1:0:0
2295 # Default to --enable-multilib
2296 # Check whether --enable-multilib was given.
2297 if test "${enable_multilib+set}" = set; then :
2298 enableval=$enable_multilib; case "$enableval" in
2299 yes) multilib=yes ;;
2301 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2308 # We may get other options which we leave undocumented:
2309 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2310 # See config-ml.in if you want the gory details.
2312 if test "$srcdir" = "."; then
2313 if test "$with_target_subdir" != "."; then
2314 multi_basedir="$srcdir/$with_multisrctop../.."
2316 multi_basedir="$srcdir/$with_multisrctop.."
2319 multi_basedir="$srcdir/.."
2323 # Even if the default multilib is not a cross compilation,
2324 # it may be that some of the other multilibs are.
2325 if test $cross_compiling = no && test $multilib = yes \
2326 && test "x${with_multisubdir}" != x ; then
2327 cross_compiling=maybe
2330 ac_config_commands="$ac_config_commands default-1"
2334 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2335 for ac_t in install-sh install.sh shtool; do
2336 if test -f "$ac_dir/$ac_t"; then
2338 ac_install_sh="$ac_aux_dir/$ac_t -c"
2343 if test -z "$ac_aux_dir"; then
2344 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2347 # These three variables are undocumented and unsupported,
2348 # and are intended to be withdrawn in a future Autoconf release.
2349 # They can cause serious problems if a builder's source tree is in a directory
2350 # whose full name contains unusual characters.
2351 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2352 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2353 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2356 # Make sure we can run config.sub.
2357 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2358 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2361 $as_echo_n "checking build system type... " >&6; }
2362 if test "${ac_cv_build+set}" = set; then :
2363 $as_echo_n "(cached) " >&6
2365 ac_build_alias=$build_alias
2366 test "x$ac_build_alias" = x &&
2367 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2368 test "x$ac_build_alias" = x &&
2369 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2370 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2371 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2375 $as_echo "$ac_cv_build" >&6; }
2376 case $ac_cv_build in
2378 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2381 ac_save_IFS=$IFS; IFS='-'
2387 # Remember, the first character of IFS is used to create $*,
2388 # except with old shells:
2391 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2395 $as_echo_n "checking host system type... " >&6; }
2396 if test "${ac_cv_host+set}" = set; then :
2397 $as_echo_n "(cached) " >&6
2399 if test "x$host_alias" = x; then
2400 ac_cv_host=$ac_cv_build
2402 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2403 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2408 $as_echo "$ac_cv_host" >&6; }
2411 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2414 ac_save_IFS=$IFS; IFS='-'
2420 # Remember, the first character of IFS is used to create $*,
2421 # except with old shells:
2424 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2428 $as_echo_n "checking target system type... " >&6; }
2429 if test "${ac_cv_target+set}" = set; then :
2430 $as_echo_n "(cached) " >&6
2432 if test "x$target_alias" = x; then
2433 ac_cv_target=$ac_cv_host
2435 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2436 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2441 $as_echo "$ac_cv_target" >&6; }
2442 case $ac_cv_target in
2444 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2446 target=$ac_cv_target
2447 ac_save_IFS=$IFS; IFS='-'
2453 # Remember, the first character of IFS is used to create $*,
2454 # except with old shells:
2457 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2460 # The aliases save the names the user supplied, while $host etc.
2461 # will get canonicalized.
2462 test -n "$target_alias" &&
2463 test "$program_prefix$program_suffix$program_transform_name" = \
2465 program_prefix=${target_alias}-
2467 target_alias=${target_alias-$host_alias}
2469 am__api_version='1.11'
2471 # Find a good install program. We prefer a C program (faster),
2472 # so one script is as good as another. But avoid the broken or
2473 # incompatible versions:
2474 # SysV /etc/install, /usr/sbin/install
2475 # SunOS /usr/etc/install
2476 # IRIX /sbin/install
2478 # AmigaOS /C/install, which installs bootblocks on floppy discs
2479 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2480 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2481 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2482 # OS/2's system install, which has a completely different semantic
2483 # ./install, which can be erroneously created by make from ./install.sh.
2484 # Reject install programs that cannot install multiple files.
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2486 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2487 if test -z "$INSTALL"; then
2488 if test "${ac_cv_path_install+set}" = set; then :
2489 $as_echo_n "(cached) " >&6
2491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2495 test -z "$as_dir" && as_dir=.
2496 # Account for people who put trailing slashes in PATH elements.
2497 case $as_dir/ in #((
2498 ./ | .// | /[cC]/* | \
2499 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2500 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2503 # OSF1 and SCO ODT 3.0 have their own names for install.
2504 # Don't use installbsd from OSF since it installs stuff as root
2506 for ac_prog in ginstall scoinst install; do
2507 for ac_exec_ext in '' $ac_executable_extensions; do
2508 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2509 if test $ac_prog = install &&
2510 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2511 # AIX install. It has an incompatible calling convention.
2513 elif test $ac_prog = install &&
2514 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2515 # program-specific install script used by HP pwplus--don't use.
2518 rm -rf conftest.one conftest.two conftest.dir
2519 echo one > conftest.one
2520 echo two > conftest.two
2522 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2523 test -s conftest.one && test -s conftest.two &&
2524 test -s conftest.dir/conftest.one &&
2525 test -s conftest.dir/conftest.two
2527 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2540 rm -rf conftest.one conftest.two conftest.dir
2543 if test "${ac_cv_path_install+set}" = set; then
2544 INSTALL=$ac_cv_path_install
2546 # As a last resort, use the slow shell script. Don't cache a
2547 # value for INSTALL within a source directory, because that will
2548 # break other packages using the cache if that directory is
2549 # removed, or if the value is a relative name.
2550 INSTALL=$ac_install_sh
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2554 $as_echo "$INSTALL" >&6; }
2556 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2557 # It thinks the first close brace ends the variable substitution.
2558 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2560 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2562 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2565 $as_echo_n "checking whether build environment is sane... " >&6; }
2568 echo timestamp > conftest.file
2569 # Reject unsafe characters in $srcdir or the absolute working directory
2570 # name. Accept space and tab only in the latter.
2574 *[\\\"\#\$\&\'\`$am_lf]*)
2575 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2578 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2579 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2582 # Do `set' in a subshell so we don't clobber the current shell's
2583 # arguments. Must try -L first in case configure is actually a
2584 # symlink; some systems play weird games with the mod time of symlinks
2585 # (eg FreeBSD returns the mod time of the symlink's containing
2588 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2589 if test "$*" = "X"; then
2591 set X
`ls -t "$srcdir/configure" conftest.file`
2594 if test "$*" != "X $srcdir/configure conftest.file" \
2595 && test "$*" != "X conftest.file $srcdir/configure"; then
2597 # If neither matched, then we have a broken ls. This can happen
2598 # if, for instance, CONFIG_SHELL is bash and it inherits a
2599 # broken ls alias from the environment. This has actually
2600 # happened. Such a system could not be considered "sane".
2601 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2602 alias in your environment" "$LINENO" 5
2605 test "$2" = conftest.
file
2611 as_fn_error
"newly created file is older than distributed files!
2612 Check your system clock" "$LINENO" 5
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2615 $as_echo "yes" >&6; }
2616 test "$program_prefix" != NONE
&&
2617 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2618 # Use a double $ so make ignores it.
2619 test "$program_suffix" != NONE
&&
2620 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2621 # Double any \ or $.
2622 # By default was `s,x,x', remove it if useless.
2623 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2624 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2626 # expand $ac_aux_dir to an absolute path
2627 am_aux_dir
=`cd $ac_aux_dir && pwd`
2629 if test x
"${MISSING+set}" != xset
; then
2632 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2634 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2637 # Use eval to expand $SHELL
2638 if eval "$MISSING --run true"; then
2639 am_missing_run
="$MISSING --run "
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2643 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2646 if test x
"${install_sh}" != xset
; then
2649 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2651 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2655 # Installed binaries are usually stripped using `strip' when the user
2656 # run `make install-strip'. However `strip' might not be the right
2657 # tool to use in cross-compilation environments, therefore Automake
2658 # will honor the `STRIP' environment variable to overrule this program.
2659 if test "$cross_compiling" != no
; then
2660 if test -n "$ac_tool_prefix"; then
2661 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2662 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2664 $as_echo_n "checking for $ac_word... " >&6; }
2665 if test "${ac_cv_prog_STRIP+set}" = set; then :
2666 $as_echo_n "(cached) " >&6
2668 if test -n "$STRIP"; then
2669 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2675 test -z "$as_dir" && as_dir
=.
2676 for ac_exec_ext
in '' $ac_executable_extensions; do
2677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2678 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2688 STRIP
=$ac_cv_prog_STRIP
2689 if test -n "$STRIP"; then
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2691 $as_echo "$STRIP" >&6; }
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2694 $as_echo "no" >&6; }
2699 if test -z "$ac_cv_prog_STRIP"; then
2701 # Extract the first word of "strip", so it can be a program name with args.
2702 set dummy strip
; ac_word
=$2
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2704 $as_echo_n "checking for $ac_word... " >&6; }
2705 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2706 $as_echo_n "(cached) " >&6
2708 if test -n "$ac_ct_STRIP"; then
2709 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2715 test -z "$as_dir" && as_dir
=.
2716 for ac_exec_ext
in '' $ac_executable_extensions; do
2717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2718 ac_cv_prog_ac_ct_STRIP
="strip"
2719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2728 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2729 if test -n "$ac_ct_STRIP"; then
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2731 $as_echo "$ac_ct_STRIP" >&6; }
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2734 $as_echo "no" >&6; }
2737 if test "x$ac_ct_STRIP" = x
; then
2740 case $cross_compiling:$ac_tool_warned in
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2743 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2744 ac_tool_warned
=yes ;;
2749 STRIP
="$ac_cv_prog_STRIP"
2753 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2756 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2757 if test -z "$MKDIR_P"; then
2758 if test "${ac_cv_path_mkdir+set}" = set; then :
2759 $as_echo_n "(cached) " >&6
2761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2762 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2765 test -z "$as_dir" && as_dir
=.
2766 for ac_prog
in mkdir gmkdir
; do
2767 for ac_exec_ext
in '' $ac_executable_extensions; do
2768 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2769 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2770 'mkdir (GNU coreutils) '* | \
2771 'mkdir (coreutils) '* | \
2772 'mkdir (fileutils) '4.1*)
2773 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2783 if test "${ac_cv_path_mkdir+set}" = set; then
2784 MKDIR_P
="$ac_cv_path_mkdir -p"
2786 # As a last resort, use the slow shell script. Don't cache a
2787 # value for MKDIR_P within a source directory, because that will
2788 # break other packages using the cache if that directory is
2789 # removed, or if the value is a relative name.
2790 test -d .
/--version && rmdir .
/--version
2791 MKDIR_P
="$ac_install_sh -d"
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2795 $as_echo "$MKDIR_P" >&6; }
2799 [\\/$
]* | ?
:[\\/]*) ;;
2800 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2803 for ac_prog
in gawk mawk nawk
awk
2805 # Extract the first word of "$ac_prog", so it can be a program name with args.
2806 set dummy
$ac_prog; ac_word
=$2
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2808 $as_echo_n "checking for $ac_word... " >&6; }
2809 if test "${ac_cv_prog_AWK+set}" = set; then :
2810 $as_echo_n "(cached) " >&6
2812 if test -n "$AWK"; then
2813 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2819 test -z "$as_dir" && as_dir
=.
2820 for ac_exec_ext
in '' $ac_executable_extensions; do
2821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2822 ac_cv_prog_AWK
="$ac_prog"
2823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2833 if test -n "$AWK"; then
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2835 $as_echo "$AWK" >&6; }
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2838 $as_echo "no" >&6; }
2842 test -n "$AWK" && break
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2846 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2848 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2849 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2850 $as_echo_n "(cached) " >&6
2852 cat >conftest.
make <<\_ACEOF
2855 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2857 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2858 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2860 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2862 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2866 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2868 $as_echo "yes" >&6; }
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2872 $as_echo "no" >&6; }
2873 SET_MAKE
="MAKE=${MAKE-make}"
2876 rm -rf .tst
2>/dev
/null
2877 mkdir .tst
2>/dev
/null
2878 if test -d .tst
; then
2883 rmdir .tst
2>/dev
/null
2885 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2886 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2887 # is not polluted with repeated "-I."
2888 am__isrc
=' -I$(srcdir)'
2889 # test to see if srcdir already configured
2890 if test -f $srcdir/config.status
; then
2891 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2895 # test whether we have cygpath
2896 if test -z "$CYGPATH_W"; then
2897 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2898 CYGPATH_W
='cygpath -w'
2905 # Define the identity of the package.
2907 VERSION
='version-unused'
2910 # Some tools Automake needs.
2912 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2915 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2918 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2921 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2924 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2926 # We need awk for the "check" target. The system "awk" is bad on
2928 # Always define AMTAR for backward compatibility.
2930 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2932 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2944 ac_cpp
='$CPP $CPPFLAGS'
2945 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2946 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2947 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2948 if test -n "$ac_tool_prefix"; then
2949 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2950 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2952 $as_echo_n "checking for $ac_word... " >&6; }
2953 if test "${ac_cv_prog_CC+set}" = set; then :
2954 $as_echo_n "(cached) " >&6
2956 if test -n "$CC"; then
2957 ac_cv_prog_CC
="$CC" # Let the user override the test.
2959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2963 test -z "$as_dir" && as_dir
=.
2964 for ac_exec_ext
in '' $ac_executable_extensions; do
2965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2966 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2977 if test -n "$CC"; then
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2979 $as_echo "$CC" >&6; }
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2982 $as_echo "no" >&6; }
2987 if test -z "$ac_cv_prog_CC"; then
2989 # Extract the first word of "gcc", so it can be a program name with args.
2990 set dummy gcc
; ac_word
=$2
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2992 $as_echo_n "checking for $ac_word... " >&6; }
2993 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2994 $as_echo_n "(cached) " >&6
2996 if test -n "$ac_ct_CC"; then
2997 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3003 test -z "$as_dir" && as_dir
=.
3004 for ac_exec_ext
in '' $ac_executable_extensions; do
3005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3006 ac_cv_prog_ac_ct_CC
="gcc"
3007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3016 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3017 if test -n "$ac_ct_CC"; then
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3019 $as_echo "$ac_ct_CC" >&6; }
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3022 $as_echo "no" >&6; }
3025 if test "x$ac_ct_CC" = x
; then
3028 case $cross_compiling:$ac_tool_warned in
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3031 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3032 ac_tool_warned
=yes ;;
3040 if test -z "$CC"; then
3041 if test -n "$ac_tool_prefix"; then
3042 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3043 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3045 $as_echo_n "checking for $ac_word... " >&6; }
3046 if test "${ac_cv_prog_CC+set}" = set; then :
3047 $as_echo_n "(cached) " >&6
3049 if test -n "$CC"; then
3050 ac_cv_prog_CC
="$CC" # Let the user override the test.
3052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3056 test -z "$as_dir" && as_dir
=.
3057 for ac_exec_ext
in '' $ac_executable_extensions; do
3058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3059 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3070 if test -n "$CC"; then
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3072 $as_echo "$CC" >&6; }
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3075 $as_echo "no" >&6; }
3081 if test -z "$CC"; then
3082 # Extract the first word of "cc", so it can be a program name with args.
3083 set dummy cc
; ac_word
=$2
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3085 $as_echo_n "checking for $ac_word... " >&6; }
3086 if test "${ac_cv_prog_CC+set}" = set; then :
3087 $as_echo_n "(cached) " >&6
3089 if test -n "$CC"; then
3090 ac_cv_prog_CC
="$CC" # Let the user override the test.
3093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3097 test -z "$as_dir" && as_dir
=.
3098 for ac_exec_ext
in '' $ac_executable_extensions; do
3099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3100 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3101 ac_prog_rejected
=yes
3105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3112 if test $ac_prog_rejected = yes; then
3113 # We found a bogon in the path, so make sure we never use it.
3114 set dummy
$ac_cv_prog_CC
3116 if test $# != 0; then
3117 # We chose a different compiler from the bogus one.
3118 # However, it has the same basename, so the bogon will be chosen
3119 # first if we set CC to just the basename; use the full file name.
3121 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3127 if test -n "$CC"; then
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3129 $as_echo "$CC" >&6; }
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3132 $as_echo "no" >&6; }
3137 if test -z "$CC"; then
3138 if test -n "$ac_tool_prefix"; then
3139 for ac_prog
in cl.exe
3141 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3142 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3144 $as_echo_n "checking for $ac_word... " >&6; }
3145 if test "${ac_cv_prog_CC+set}" = set; then :
3146 $as_echo_n "(cached) " >&6
3148 if test -n "$CC"; then
3149 ac_cv_prog_CC
="$CC" # Let the user override the test.
3151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3155 test -z "$as_dir" && as_dir
=.
3156 for ac_exec_ext
in '' $ac_executable_extensions; do
3157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3158 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3169 if test -n "$CC"; then
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3171 $as_echo "$CC" >&6; }
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3174 $as_echo "no" >&6; }
3178 test -n "$CC" && break
3181 if test -z "$CC"; then
3183 for ac_prog
in cl.exe
3185 # Extract the first word of "$ac_prog", so it can be a program name with args.
3186 set dummy
$ac_prog; ac_word
=$2
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3188 $as_echo_n "checking for $ac_word... " >&6; }
3189 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3190 $as_echo_n "(cached) " >&6
3192 if test -n "$ac_ct_CC"; then
3193 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3199 test -z "$as_dir" && as_dir
=.
3200 for ac_exec_ext
in '' $ac_executable_extensions; do
3201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3202 ac_cv_prog_ac_ct_CC
="$ac_prog"
3203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3212 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3213 if test -n "$ac_ct_CC"; then
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3215 $as_echo "$ac_ct_CC" >&6; }
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3218 $as_echo "no" >&6; }
3222 test -n "$ac_ct_CC" && break
3225 if test "x$ac_ct_CC" = x
; then
3228 case $cross_compiling:$ac_tool_warned in
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3231 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3232 ac_tool_warned
=yes ;;
3241 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3242 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3243 as_fn_error
"no acceptable C compiler found in \$PATH
3244 See \`config.log' for more details." "$LINENO" 5; }
3246 # Provide some information about the compiler.
3247 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3250 for ac_option
in --version -v -V -qversion; do
3251 { { ac_try
="$ac_compiler $ac_option >&5"
3253 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3254 *) ac_try_echo=$ac_try;;
3256 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3257 $as_echo "$ac_try_echo"; } >&5
3258 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3260 if test -s conftest.err; then
3262 ... rest of stderr output deleted ...
3263 10q' conftest.err >conftest.er1
3264 cat conftest.er1 >&5
3265 rm -f conftest.er1 conftest.err
3267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3268 test $ac_status = 0; }
3271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3272 /* end confdefs.h. */
3282 ac_clean_files_save=$ac_clean_files
3283 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3284 # Try to create an executable without -o first, disregard a.out.
3285 # It will help us diagnose broken compilers, and finding out an intuition
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3288 $as_echo_n "checking for C compiler default output file name... " >&6; }
3289 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3291 # The possible output files:
3292 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3295 for ac_file in $ac_files
3298 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3299 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3304 if { { ac_try="$ac_link_default"
3306 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3307 *) ac_try_echo
=$ac_try;;
3309 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3310 $as_echo "$ac_try_echo"; } >&5
3311 (eval "$ac_link_default") 2>&5
3313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3314 test $ac_status = 0; }; then :
3315 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3316 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3317 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3318 # so that the user can short-circuit this test for compilers unknown to
3320 for ac_file
in $ac_files ''
3322 test -f "$ac_file" ||
continue
3324 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3327 # We found the default executable, but exeext='' is most
3331 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3333 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3335 # We set ac_cv_exeext here because the later test for it is not
3336 # safe: cross compilers may not add the suffix if given an `-o'
3337 # argument, so we may need to know it at that point already.
3338 # Even if this section looks crufty: it has the advantage of
3345 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3351 $as_echo "$ac_file" >&6; }
3352 if test -z "$ac_file"; then :
3353 $as_echo "$as_me: failed program was:" >&5
3354 sed 's/^/| /' conftest.
$ac_ext >&5
3356 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3357 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3358 { as_fn_set_status
77
3359 as_fn_error
"C compiler cannot create executables
3360 See \`config.log' for more details." "$LINENO" 5; }; }
3362 ac_exeext
=$ac_cv_exeext
3364 # Check that the compiler produces executables we can run. If not, either
3365 # the compiler is broken, or we cross compile.
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3367 $as_echo_n "checking whether the C compiler works... " >&6; }
3368 # If not cross compiling, check that we can run a simple program.
3369 if test "$cross_compiling" != yes; then
3370 if { ac_try
='./$ac_file'
3371 { { case "(($ac_try" in
3372 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3373 *) ac_try_echo=$ac_try;;
3375 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3376 $as_echo "$ac_try_echo"; } >&5
3377 (eval "$ac_try") 2>&5
3379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3380 test $ac_status = 0; }; }; then
3383 if test "$cross_compiling" = maybe; then
3386 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3387 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3388 as_fn_error "cannot run C compiled programs.
3389 If you meant to cross compile
, use \
`--host'.
3390 See \`config.log
' for more details." "$LINENO" 5; }
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3395 $as_echo "yes" >&6; }
3397 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3398 ac_clean_files=$ac_clean_files_save
3399 # Check that the compiler produces executables we can run. If not, either
3400 # the compiler is broken, or we cross compile.
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3402 $as_echo_n "checking whether we are cross compiling... " >&6; }
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3404 $as_echo "$cross_compiling" >&6; }
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3407 $as_echo_n "checking for suffix of executables... " >&6; }
3408 if { { ac_try="$ac_link"
3410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3411 *) ac_try_echo=$ac_try;;
3413 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3414 $as_echo "$ac_try_echo"; } >&5
3415 (eval "$ac_link") 2>&5
3417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3418 test $ac_status = 0; }; then :
3419 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3420 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3421 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3423 for ac_file
in conftest.exe conftest conftest.
*; do
3424 test -f "$ac_file" ||
continue
3426 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3427 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3433 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3435 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3436 See \`config.log' for more details." "$LINENO" 5; }
3438 rm -f conftest
$ac_cv_exeext
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3440 $as_echo "$ac_cv_exeext" >&6; }
3442 rm -f conftest.
$ac_ext
3443 EXEEXT
=$ac_cv_exeext
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3446 $as_echo_n "checking for suffix of object files... " >&6; }
3447 if test "${ac_cv_objext+set}" = set; then :
3448 $as_echo_n "(cached) " >&6
3450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3451 /* end confdefs.h. */
3461 rm -f conftest.o conftest.obj
3462 if { { ac_try
="$ac_compile"
3464 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3465 *) ac_try_echo=$ac_try;;
3467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3468 $as_echo "$ac_try_echo"; } >&5
3469 (eval "$ac_compile") 2>&5
3471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3472 test $ac_status = 0; }; then :
3473 for ac_file in conftest.o conftest.obj conftest.*; do
3474 test -f "$ac_file" || continue;
3476 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3477 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3482 $as_echo "$as_me: failed program was:" >&5
3483 sed 's/^/| /' conftest.$ac_ext >&5
3485 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3486 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3487 as_fn_error "cannot compute suffix of object files
: cannot compile
3488 See \
`config.log' for more details." "$LINENO" 5; }
3490 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3493 $as_echo "$ac_cv_objext" >&6; }
3494 OBJEXT=$ac_cv_objext
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3497 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3498 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3499 $as_echo_n "(cached) " >&6
3501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3502 /* end confdefs.h. */
3515 if ac_fn_c_try_compile "$LINENO"; then :
3520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3521 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3525 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3526 if test $ac_compiler_gnu = yes; then
3531 ac_test_CFLAGS=${CFLAGS+set}
3532 ac_save_CFLAGS=$CFLAGS
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3534 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3535 if test "${ac_cv_prog_cc_g+set}" = set; then :
3536 $as_echo_n "(cached) " >&6
3538 ac_save_c_werror_flag=$ac_c_werror_flag
3539 ac_c_werror_flag=yes
3542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3543 /* end confdefs.h. */
3553 if ac_fn_c_try_compile "$LINENO"; then :
3557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3558 /* end confdefs.h. */
3568 if ac_fn_c_try_compile "$LINENO"; then :
3571 ac_c_werror_flag=$ac_save_c_werror_flag
3573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3574 /* end confdefs.h. */
3584 if ac_fn_c_try_compile "$LINENO"; then :
3587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3592 ac_c_werror_flag=$ac_save_c_werror_flag
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3595 $as_echo "$ac_cv_prog_cc_g" >&6; }
3596 if test "$ac_test_CFLAGS" = set; then
3597 CFLAGS=$ac_save_CFLAGS
3598 elif test $ac_cv_prog_cc_g = yes; then
3599 if test "$GCC" = yes; then
3605 if test "$GCC" = yes; then
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3612 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3613 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3614 $as_echo_n "(cached) " >&6
3616 ac_cv_prog_cc_c89=no
3618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3619 /* end confdefs.h. */
3622 #include <sys/types.h>
3623 #include <sys/stat.h>
3624 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3625 struct buf { int x; };
3626 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3627 static char *e (p, i)
3633 static char *f (char * (*g) (char **, int), char **p, ...)
3638 s = g (p, va_arg (v,int));
3643 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3644 function prototypes and stuff, but not '\xHH' hex character constants.
3645 These don't provoke an error unfortunately, instead are silently treated
3646 as 'x'. The following induces an error, until -std is added to get
3647 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3648 array size at least. It's necessary to write '\x00'==0 to get something
3649 that's true only with -std. */
3650 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3652 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3653 inside strings and character constants. */
3655 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3657 int test (int i, double x);
3658 struct s1 {int (*f) (int a);};
3659 struct s2 {int (*f) (double a);};
3660 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3666 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3671 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3672 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3674 CC="$ac_save_CC $ac_arg"
3675 if ac_fn_c_try_compile "$LINENO"; then :
3676 ac_cv_prog_cc_c89=$ac_arg
3678 rm -f core conftest.err conftest.$ac_objext
3679 test "x$ac_cv_prog_cc_c89" != "xno" && break
3681 rm -f conftest.$ac_ext
3686 case "x$ac_cv_prog_cc_c89" in
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3689 $as_echo "none needed" >&6; } ;;
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3692 $as_echo "unsupported" >&6; } ;;
3694 CC="$CC $ac_cv_prog_cc_c89"
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3696 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3698 if test "x$ac_cv_prog_cc_c89" != xno; then :
3703 ac_cpp='$CPP $CPPFLAGS'
3704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3707 DEPDIR="${am__leading_dot}deps"
3709 ac_config_commands="$ac_config_commands depfiles"
3712 am_make=${MAKE-make}
3713 cat > confinc << 'END'
3715 @echo this is the am__doit target
3718 # If we don't find an include directive, just comment out the code.
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3720 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3724 # First try GNU make style include.
3725 echo "include confinc" > confmf
3726 # Ignore all kinds of additional output from `make'.
3727 case `$am_make -s -f confmf 2> /dev/null` in #(
3728 *the\ am__doit\ target*)
3734 # Now try BSD make style include.
3735 if test "$am__include" = "#"; then
3736 echo '.include
"confinc"' > confmf
3737 case `$am_make -s -f confmf 2> /dev/null` in #(
3738 *the\ am__doit\ target*)
3739 am__include=.include
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3748 $as_echo "$_am_result" >&6; }
3749 rm -f confinc confmf
3751 # Check whether --enable-dependency-tracking was given.
3752 if test "${enable_dependency_tracking+set}" = set; then :
3753 enableval=$enable_dependency_tracking;
3756 if test "x$enable_dependency_tracking" != xno; then
3757 am_depcomp="$ac_aux_dir/depcomp"
3760 if test "x$enable_dependency_tracking" != xno
; then
3770 depcc
="$CC" am_compiler_list
=
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3773 $as_echo_n "checking dependency style of $depcc... " >&6; }
3774 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3775 $as_echo_n "(cached) " >&6
3777 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3778 # We make a subdir and do the tests there. Otherwise we can end up
3779 # making bogus files that we don't know about and never remove. For
3780 # instance it was reported that on HP-UX the gcc test will end up
3781 # making a dummy file named `D' -- because `-MD' means `put the output
3784 # Copy depcomp to subdir because otherwise we won't find it if we're
3785 # using a relative directory.
3786 cp "$am_depcomp" conftest.dir
3788 # We will build objects and dependencies in a subdirectory because
3789 # it helps to detect inapplicable dependency modes. For instance
3790 # both Tru64's cc and ICC support -MD to output dependencies as a
3791 # side effect of compilation, but ICC will put the dependencies in
3792 # the current directory while Tru64 will put them in the object
3796 am_cv_CC_dependencies_compiler_type
=none
3797 if test "$am_compiler_list" = ""; then
3798 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3801 case " $depcc " in #(
3802 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3805 for depmode
in $am_compiler_list; do
3806 # Setup a source with many dependencies, because some compilers
3807 # like to wrap large dependency lists on column 80 (with \), and
3808 # we should not choose a depcomp mode which is confused by this.
3810 # We need to recreate these files for each test, as the compiler may
3811 # overwrite some of them when testing with obscure command lines.
3812 # This happens at least with the AIX C compiler.
3814 for i
in 1 2 3 4 5 6; do
3815 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3816 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3817 # Solaris 8's {/usr,}/bin/sh.
3818 touch sub
/conftst
$i.h
3820 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3822 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3823 # mode. It turns out that the SunPro C++ compiler does not properly
3824 # handle `-M -o', and we need to detect this. Also, some Intel
3825 # versions had trouble with output in subdirs
3826 am__obj
=sub
/conftest.
${OBJEXT-o}
3827 am__minus_obj
="-o $am__obj"
3830 # This depmode causes a compiler race in universal mode.
3831 test "$am__universal" = false ||
continue
3834 # after this tag, mechanisms are not by side-effect, so they'll
3835 # only be used when explicitly requested
3836 if test "x$enable_dependency_tracking" = xyes
; then
3842 msvisualcpp | msvcmsys
)
3843 # This compiler won't grok `-c -o', but also, the minuso test has
3844 # not run yet. These depmodes are late enough in the game, and
3845 # so weak that their functioning should not be impacted.
3846 am__obj
=conftest.
${OBJEXT-o}
3851 if depmode
=$depmode \
3852 source=sub
/conftest.c object
=$am__obj \
3853 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3854 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3855 >/dev
/null
2>conftest.err
&&
3856 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3857 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3858 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3859 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3860 # icc doesn't choke on unknown options, it will just issue warnings
3861 # or remarks (even with -Werror). So we grep stderr for any message
3862 # that says an option was ignored or not supported.
3863 # When given -MP, icc 7.0 and 7.1 complain thusly:
3864 # icc: Command line warning: ignoring option '-M'; no argument required
3865 # The diagnosis changed in icc 8.0:
3866 # icc: Command line remark: option '-MP' not supported
3867 if (grep 'ignoring option' conftest.err ||
3868 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3869 am_cv_CC_dependencies_compiler_type
=$depmode
3878 am_cv_CC_dependencies_compiler_type
=none
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3883 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3884 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3887 test "x$enable_dependency_tracking" != xno \
3888 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3890 am__fastdepCC_FALSE
='#'
3892 am__fastdepCC_TRUE
='#'
3893 am__fastdepCC_FALSE
=
3898 ac_compile
='$GOC -c $GOCFLAGS conftest.$ac_ext >&5'
3899 ac_link
='$GOC -o conftest$ac_exeext $GOCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3901 if test -n "$ac_tool_prefix"; then
3902 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
3903 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3905 $as_echo_n "checking for $ac_word... " >&6; }
3906 if test "${ac_cv_prog_GOC+set}" = set; then :
3907 $as_echo_n "(cached) " >&6
3909 if test -n "$GOC"; then
3910 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
3912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3916 test -z "$as_dir" && as_dir
=.
3917 for ac_exec_ext
in '' $ac_executable_extensions; do
3918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3919 ac_cv_prog_GOC
="${ac_tool_prefix}gccgo"
3920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3930 if test -n "$GOC"; then
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
3932 $as_echo "$GOC" >&6; }
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3935 $as_echo "no" >&6; }
3940 if test -z "$ac_cv_prog_GOC"; then
3942 # Extract the first word of "gccgo", so it can be a program name with args.
3943 set dummy gccgo
; ac_word
=$2
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3945 $as_echo_n "checking for $ac_word... " >&6; }
3946 if test "${ac_cv_prog_ac_ct_GOC+set}" = set; then :
3947 $as_echo_n "(cached) " >&6
3949 if test -n "$ac_ct_GOC"; then
3950 ac_cv_prog_ac_ct_GOC
="$ac_ct_GOC" # Let the user override the test.
3952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3956 test -z "$as_dir" && as_dir
=.
3957 for ac_exec_ext
in '' $ac_executable_extensions; do
3958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3959 ac_cv_prog_ac_ct_GOC
="gccgo"
3960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3969 ac_ct_GOC
=$ac_cv_prog_ac_ct_GOC
3970 if test -n "$ac_ct_GOC"; then
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
3972 $as_echo "$ac_ct_GOC" >&6; }
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3975 $as_echo "no" >&6; }
3978 if test "x$ac_ct_GOC" = x
; then
3981 case $cross_compiling:$ac_tool_warned in
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3984 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3985 ac_tool_warned
=yes ;;
3990 GOC
="$ac_cv_prog_GOC"
3993 if test -z "$GOC"; then
3994 if test -n "$ac_tool_prefix"; then
3995 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
3996 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3998 $as_echo_n "checking for $ac_word... " >&6; }
3999 if test "${ac_cv_prog_GOC+set}" = set; then :
4000 $as_echo_n "(cached) " >&6
4002 if test -n "$GOC"; then
4003 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
4005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4009 test -z "$as_dir" && as_dir
=.
4010 for ac_exec_ext
in '' $ac_executable_extensions; do
4011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4012 ac_cv_prog_GOC
="$ac_tool_prefix}gccgo"
4013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4023 if test -n "$GOC"; then
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4025 $as_echo "$GOC" >&6; }
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4028 $as_echo "no" >&6; }
4034 if test -z "$GOC"; then
4035 # Extract the first word of "gccgo", so it can be a program name with args.
4036 set dummy gccgo
; ac_word
=$2
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4038 $as_echo_n "checking for $ac_word... " >&6; }
4039 if test "${ac_cv_prog_GOC+set}" = set; then :
4040 $as_echo_n "(cached) " >&6
4042 if test -n "$GOC"; then
4043 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
4046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4050 test -z "$as_dir" && as_dir
=.
4051 for ac_exec_ext
in '' $ac_executable_extensions; do
4052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4053 if test "$as_dir/$ac_word$ac_exec_ext" = "gccgo"; then
4054 ac_prog_rejected
=yes
4057 ac_cv_prog_GOC
="gccgo"
4058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4065 if test $ac_prog_rejected = yes; then
4066 # We found a bogon in the path, so make sure we never use it.
4067 set dummy
$ac_cv_prog_GOC
4069 if test $# != 0; then
4070 # We chose a different compiler from the bogus one.
4071 # However, it has the same basename, so the bogon will be chosen
4072 # first if we set GOC to just the basename; use the full file name.
4074 ac_cv_prog_GOC
="$as_dir/$ac_word${1+' '}$@"
4080 if test -n "$GOC"; then
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4082 $as_echo "$GOC" >&6; }
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4085 $as_echo "no" >&6; }
4092 # Provide some information about the compiler.
4093 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Go compiler version" >&5
4096 { { ac_try
="$ac_compiler --version >&5"
4098 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4099 *) ac_try_echo=$ac_try;;
4101 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4102 $as_echo "$ac_try_echo"; } >&5
4103 (eval "$ac_compiler --version >&5") 2>conftest.err
4105 if test -s conftest.err; then
4107 ... rest of stderr output deleted ...
4108 10q' conftest.err >conftest.er1
4109 cat conftest.er1 >&5
4110 rm -f conftest.er1 conftest.err
4112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4113 test $ac_status = 0; }
4116 ac_cpp='$CPP $CPPFLAGS'
4117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4127 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4128 # Check whether --enable-maintainer-mode was given.
4129 if test "${enable_maintainer_mode+set}" = set; then :
4130 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4132 USE_MAINTAINER_MODE=no
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4136 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4137 if test $USE_MAINTAINER_MODE = yes; then
4138 MAINTAINER_MODE_TRUE=
4139 MAINTAINER_MODE_FALSE='#'
4141 MAINTAINER_MODE_TRUE='#'
4142 MAINTAINER_MODE_FALSE=
4145 MAINT=$MAINTAINER_MODE_TRUE
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4150 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4151 if test "${ac_cv_path_SED+set}" = set; then :
4152 $as_echo_n "(cached) " >&6
4154 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4155 for ac_i in 1 2 3 4 5 6 7; do
4156 ac_script="$ac_script$as_nl$ac_script"
4158 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4159 { ac_script=; unset ac_script;}
4160 if test -z "$SED"; then
4161 ac_path_SED_found=false
4162 # Loop through the user's path and test for each of PROGNAME-LIST
4163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4167 test -z "$as_dir" && as_dir=.
4168 for ac_prog in sed gsed; do
4169 for ac_exec_ext in '' $ac_executable_extensions; do
4170 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4171 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4172 # Check for GNU ac_path_SED and select it if it is found.
4173 # Check for GNU $ac_path_SED
4174 case `"$ac_path_SED" --version 2>&1` in
4176 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4179 $as_echo_n 0123456789 >"conftest.in"
4182 cat "conftest.in" "conftest.in" >"conftest.tmp"
4183 mv "conftest.tmp" "conftest.in"
4184 cp "conftest.in" "conftest.nl"
4185 $as_echo '' >> "conftest.nl"
4186 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4187 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4188 as_fn_arith $ac_count + 1 && ac_count=$as_val
4189 if test $ac_count -gt ${ac_path_SED_max-0}; then
4190 # Best one so far, save it but keep looking for a better one
4191 ac_cv_path_SED="$ac_path_SED"
4192 ac_path_SED_max=$ac_count
4194 # 10*(2^10) chars as input seems more than enough
4195 test $ac_count -gt 10 && break
4197 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4200 $ac_path_SED_found && break 3
4205 if test -z "$ac_cv_path_SED"; then
4206 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4214 $as_echo "$ac_cv_path_SED" >&6; }
4215 SED="$ac_cv_path_SED"
4218 test -z "$SED" && SED=sed
4219 Xsed="$SED -e 1s/^X//"
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4232 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4233 if test "${ac_cv_path_GREP+set}" = set; then :
4234 $as_echo_n "(cached) " >&6
4236 if test -z "$GREP"; then
4237 ac_path_GREP_found=false
4238 # Loop through the user's path and test for each of PROGNAME-LIST
4239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4240 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4243 test -z "$as_dir" && as_dir=.
4244 for ac_prog in grep ggrep; do
4245 for ac_exec_ext in '' $ac_executable_extensions; do
4246 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4247 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4248 # Check for GNU ac_path_GREP and select it if it is found.
4249 # Check for GNU $ac_path_GREP
4250 case `"$ac_path_GREP" --version 2>&1` in
4252 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4255 $as_echo_n 0123456789 >"conftest.in"
4258 cat "conftest.in" "conftest.in" >"conftest.tmp"
4259 mv "conftest.tmp" "conftest.in"
4260 cp "conftest.in" "conftest.nl"
4261 $as_echo 'GREP' >> "conftest.nl"
4262 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4263 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4264 as_fn_arith $ac_count + 1 && ac_count=$as_val
4265 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4266 # Best one so far, save it but keep looking for a better one
4267 ac_cv_path_GREP="$ac_path_GREP"
4268 ac_path_GREP_max=$ac_count
4270 # 10*(2^10) chars as input seems more than enough
4271 test $ac_count -gt 10 && break
4273 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4276 $ac_path_GREP_found && break 3
4281 if test -z "$ac_cv_path_GREP"; then
4282 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4285 ac_cv_path_GREP=$GREP
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4290 $as_echo "$ac_cv_path_GREP" >&6; }
4291 GREP="$ac_cv_path_GREP"
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4295 $as_echo_n "checking for egrep... " >&6; }
4296 if test "${ac_cv_path_EGREP+set}" = set; then :
4297 $as_echo_n "(cached) " >&6
4299 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4300 then ac_cv_path_EGREP="$GREP -E"
4302 if test -z "$EGREP"; then
4303 ac_path_EGREP_found=false
4304 # Loop through the user's path and test for each of PROGNAME-LIST
4305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4306 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4309 test -z "$as_dir" && as_dir=.
4310 for ac_prog in egrep; do
4311 for ac_exec_ext in '' $ac_executable_extensions; do
4312 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4313 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4314 # Check for GNU ac_path_EGREP and select it if it is found.
4315 # Check for GNU $ac_path_EGREP
4316 case `"$ac_path_EGREP" --version 2>&1` in
4318 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4321 $as_echo_n 0123456789 >"conftest.in"
4324 cat "conftest.in" "conftest.in" >"conftest.tmp"
4325 mv "conftest.tmp" "conftest.in"
4326 cp "conftest.in" "conftest.nl"
4327 $as_echo 'EGREP' >> "conftest.nl"
4328 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4329 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4330 as_fn_arith $ac_count + 1 && ac_count=$as_val
4331 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4332 # Best one so far, save it but keep looking for a better one
4333 ac_cv_path_EGREP="$ac_path_EGREP"
4334 ac_path_EGREP_max=$ac_count
4336 # 10*(2^10) chars as input seems more than enough
4337 test $ac_count -gt 10 && break
4339 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4342 $ac_path_EGREP_found && break 3
4347 if test -z "$ac_cv_path_EGREP"; then
4348 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4351 ac_cv_path_EGREP=$EGREP
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4357 $as_echo "$ac_cv_path_EGREP" >&6; }
4358 EGREP="$ac_cv_path_EGREP"
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4362 $as_echo_n "checking for fgrep... " >&6; }
4363 if test "${ac_cv_path_FGREP+set}" = set; then :
4364 $as_echo_n "(cached) " >&6
4366 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4367 then ac_cv_path_FGREP="$GREP -F"
4369 if test -z "$FGREP"; then
4370 ac_path_FGREP_found=false
4371 # Loop through the user's path and test for each of PROGNAME-LIST
4372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4373 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4376 test -z "$as_dir" && as_dir=.
4377 for ac_prog in fgrep; do
4378 for ac_exec_ext in '' $ac_executable_extensions; do
4379 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4380 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4381 # Check for GNU ac_path_FGREP and select it if it is found.
4382 # Check for GNU $ac_path_FGREP
4383 case `"$ac_path_FGREP" --version 2>&1` in
4385 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4388 $as_echo_n 0123456789 >"conftest.in"
4391 cat "conftest.in" "conftest.in" >"conftest.tmp"
4392 mv "conftest.tmp" "conftest.in"
4393 cp "conftest.in" "conftest.nl"
4394 $as_echo 'FGREP' >> "conftest.nl"
4395 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4396 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4397 as_fn_arith $ac_count + 1 && ac_count=$as_val
4398 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4399 # Best one so far, save it but keep looking for a better one
4400 ac_cv_path_FGREP="$ac_path_FGREP"
4401 ac_path_FGREP_max=$ac_count
4403 # 10*(2^10) chars as input seems more than enough
4404 test $ac_count -gt 10 && break
4406 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4409 $ac_path_FGREP_found && break 3
4414 if test -z "$ac_cv_path_FGREP"; then
4415 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4418 ac_cv_path_FGREP=$FGREP
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4424 $as_echo "$ac_cv_path_FGREP" >&6; }
4425 FGREP="$ac_cv_path_FGREP"
4428 test -z "$GREP" && GREP=grep
4446 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4447 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4448 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4451 $as_echo_n "checking how to print strings... " >&6; }
4452 # Test print first, because it will be a builtin if present.
4453 if test "X`print
-r -- -n 2>/dev
/null
`" = X-n && \
4454 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
4456 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
4459 # Use this function as a fallback that always works.
4460 func_fallback_echo ()
4462 eval 'cat <<_LTECHO_EOF
4466 ECHO='func_fallback_echo'
4469 # func_echo_all arg...
4470 # Invoke $ECHO with all args, space-separated.
4477 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4478 $as_echo "printf" >&6; } ;;
4479 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4480 $as_echo "print -r" >&6; } ;;
4481 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4482 $as_echo "cat" >&6; } ;;
4500 # Check whether --with-gnu-ld was given.
4501 if test "${with_gnu_ld+set}" = set; then :
4502 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4508 if test "$GCC" = yes; then
4509 # Check if gcc -print-prog-name=ld gives a path.
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4511 $as_echo_n "checking for ld used by $CC... " >&6; }
4514 # gcc leaves a trailing carriage return which upsets mingw
4515 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
4517 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
4520 # Accept absolute paths.
4522 re_direlt='/[^/][^/]*/\.\./'
4523 # Canonicalize the pathname of ld
4524 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
4525 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4526 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
4528 test -z "$LD" && LD="$ac_prog"
4531 # If it fails, then pretend we aren't using GCC.
4535 # If it is relative, then search for the first ld in PATH.
4539 elif test "$with_gnu_ld" = yes; then
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4541 $as_echo_n "checking for GNU ld... " >&6; }
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4544 $as_echo_n "checking for non-GNU ld... " >&6; }
4546 if test "${lt_cv_path_LD+set}" = set; then :
4547 $as_echo_n "(cached) " >&6
4549 if test -z "$LD"; then
4550 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4551 for ac_dir in $PATH; do
4553 test -z "$ac_dir" && ac_dir=.
4554 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4555 lt_cv_path_LD="$ac_dir/$ac_prog"
4556 # Check to see if the program is GNU ld. I'd rather use --version,
4557 # but apparently some variants of GNU ld only accept -v.
4558 # Break only if it was the GNU/non-GNU ld that we prefer.
4559 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
4560 *GNU* | *'with BFD'*)
4561 test "$with_gnu_ld" != no && break
4564 test "$with_gnu_ld" != yes && break
4571 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4576 if test -n "$LD"; then
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4578 $as_echo "$LD" >&6; }
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4581 $as_echo "no" >&6; }
4583 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4585 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4586 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4587 $as_echo_n "(cached) " >&6
4589 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4590 case `$LD -v 2>&1 </dev
/null
` in
4591 *GNU* | *'with BFD'*)
4592 lt_cv_prog_gnu_ld=yes
4595 lt_cv_prog_gnu_ld=no
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4600 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4601 with_gnu_ld=$lt_cv_prog_gnu_ld
4611 if test -n "$ac_tool_prefix"; then
4612 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4613 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4615 $as_echo_n "checking for $ac_word... " >&6; }
4616 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4617 $as_echo_n "(cached) " >&6
4619 if test -n "$RANLIB"; then
4620 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4626 test -z "$as_dir" && as_dir=.
4627 for ac_exec_ext in '' $ac_executable_extensions; do
4628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4629 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4639 RANLIB=$ac_cv_prog_RANLIB
4640 if test -n "$RANLIB"; then
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4642 $as_echo "$RANLIB" >&6; }
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4645 $as_echo "no" >&6; }
4650 if test -z "$ac_cv_prog_RANLIB"; then
4651 ac_ct_RANLIB=$RANLIB
4652 # Extract the first word of "ranlib", so it can be a program name with args.
4653 set dummy ranlib; ac_word=$2
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4655 $as_echo_n "checking for $ac_word... " >&6; }
4656 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4657 $as_echo_n "(cached) " >&6
4659 if test -n "$ac_ct_RANLIB"; then
4660 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4666 test -z "$as_dir" && as_dir=.
4667 for ac_exec_ext in '' $ac_executable_extensions; do
4668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4669 ac_cv_prog_ac_ct_RANLIB="ranlib"
4670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4679 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4680 if test -n "$ac_ct_RANLIB"; then
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4682 $as_echo "$ac_ct_RANLIB" >&6; }
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4685 $as_echo "no" >&6; }
4688 if test "x$ac_ct_RANLIB" = x; then
4691 case $cross_compiling:$ac_tool_warned in
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4695 ac_tool_warned=yes ;;
4697 RANLIB=$ac_ct_RANLIB
4700 RANLIB="$ac_cv_prog_RANLIB"
4703 if test -n "$ac_tool_prefix"; then
4704 # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
4705 set dummy ${ac_tool_prefix}objcopy; ac_word=$2
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4707 $as_echo_n "checking for $ac_word... " >&6; }
4708 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
4709 $as_echo_n "(cached) " >&6
4711 if test -n "$OBJCOPY"; then
4712 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
4714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4718 test -z "$as_dir" && as_dir=.
4719 for ac_exec_ext in '' $ac_executable_extensions; do
4720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4721 ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
4722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4731 OBJCOPY=$ac_cv_prog_OBJCOPY
4732 if test -n "$OBJCOPY"; then
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
4734 $as_echo "$OBJCOPY" >&6; }
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4737 $as_echo "no" >&6; }
4742 if test -z "$ac_cv_prog_OBJCOPY"; then
4743 ac_ct_OBJCOPY=$OBJCOPY
4744 # Extract the first word of "objcopy", so it can be a program name with args.
4745 set dummy objcopy; ac_word=$2
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4747 $as_echo_n "checking for $ac_word... " >&6; }
4748 if test "${ac_cv_prog_ac_ct_OBJCOPY+set}" = set; then :
4749 $as_echo_n "(cached) " >&6
4751 if test -n "$ac_ct_OBJCOPY"; then
4752 ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
4754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4758 test -z "$as_dir" && as_dir=.
4759 for ac_exec_ext in '' $ac_executable_extensions; do
4760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4761 ac_cv_prog_ac_ct_OBJCOPY="objcopy"
4762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4771 ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
4772 if test -n "$ac_ct_OBJCOPY"; then
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
4774 $as_echo "$ac_ct_OBJCOPY" >&6; }
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4777 $as_echo "no" >&6; }
4780 if test "x$ac_ct_OBJCOPY" = x; then
4781 OBJCOPY="missing-objcopy"
4783 case $cross_compiling:$ac_tool_warned in
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4787 ac_tool_warned=yes ;;
4789 OBJCOPY=$ac_ct_OBJCOPY
4792 OBJCOPY="$ac_cv_prog_OBJCOPY"
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
4803 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
4808 macro_version='2.2.7a'
4809 macro_revision='1.3134'
4823 ltmain="$ac_aux_dir/ltmain.sh"
4825 # Backslashify metacharacters that are still active within
4826 # double-quoted strings.
4827 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
4829 # Same as above, but do not quote variable references.
4830 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
4832 # Sed substitution to delay expansion of an escaped shell variable in a
4833 # double_quote_subst'ed string.
4834 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4836 # Sed substitution to delay expansion of an escaped single quote.
4837 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4839 # Sed substitution to avoid accidental globbing in evaled expressions
4840 no_glob_subst='s/\*/\\\*/g'
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
4843 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
4844 if test "${lt_cv_path_NM+set}" = set; then :
4845 $as_echo_n "(cached
) " >&6
4847 if test -n "$NM"; then
4848 # Let the user override the test.
4851 lt_nm_to_check="${ac_tool_prefix}nm
"
4852 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4853 lt_nm_to_check="$lt_nm_to_check nm
"
4855 for lt_tmp_nm in $lt_nm_to_check; do
4856 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4857 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4859 test -z "$ac_dir" && ac_dir=.
4860 tmp_nm="$ac_dir/$lt_tmp_nm"
4861 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4862 # Check to see if the nm accepts a BSD-compat flag.
4863 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4864 # nm: unknown option "B
" ignored
4865 # Tru64's nm complains that /dev/null is an invalid object file
4866 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4867 */dev/null* | *'Invalid file or object type'*)
4868 lt_cv_path_NM="$tmp_nm -B"
4872 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4874 lt_cv_path_NM="$tmp_nm -p"
4878 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4879 continue # so that we can try to find one that supports BSD flags
4888 : ${lt_cv_path_NM=no}
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
4892 $as_echo "$lt_cv_path_NM" >&6; }
4893 if test "$lt_cv_path_NM" != "no
"; then
4896 # Didn't find any BSD compatible name lister, look for dumpbin.
4897 if test -n "$DUMPBIN"; then :
4898 # Let the user override the test.
4900 if test -n "$ac_tool_prefix"; then
4901 for ac_prog in dumpbin "link
-dump"
4903 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4904 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4906 $as_echo_n "checking
for $ac_word...
" >&6; }
4907 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4908 $as_echo_n "(cached
) " >&6
4910 if test -n "$DUMPBIN"; then
4911 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4917 test -z "$as_dir" && as_dir=.
4918 for ac_exec_ext in '' $ac_executable_extensions; do
4919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4920 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4921 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4930 DUMPBIN=$ac_cv_prog_DUMPBIN
4931 if test -n "$DUMPBIN"; then
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
4933 $as_echo "$DUMPBIN" >&6; }
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4936 $as_echo "no
" >&6; }
4940 test -n "$DUMPBIN" && break
4943 if test -z "$DUMPBIN"; then
4944 ac_ct_DUMPBIN=$DUMPBIN
4945 for ac_prog in dumpbin "link
-dump"
4947 # Extract the first word of "$ac_prog", so it can be a program name with args.
4948 set dummy $ac_prog; ac_word=$2
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4950 $as_echo_n "checking
for $ac_word...
" >&6; }
4951 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4952 $as_echo_n "(cached
) " >&6
4954 if test -n "$ac_ct_DUMPBIN"; then
4955 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4961 test -z "$as_dir" && as_dir=.
4962 for ac_exec_ext in '' $ac_executable_extensions; do
4963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4964 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4965 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4974 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4975 if test -n "$ac_ct_DUMPBIN"; then
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
4977 $as_echo "$ac_ct_DUMPBIN" >&6; }
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4980 $as_echo "no
" >&6; }
4984 test -n "$ac_ct_DUMPBIN" && break
4987 if test "x
$ac_ct_DUMPBIN" = x; then
4990 case $cross_compiling:$ac_tool_warned in
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4993 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4994 ac_tool_warned=yes ;;
4996 DUMPBIN=$ac_ct_DUMPBIN
5000 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5002 DUMPBIN="$DUMPBIN -symbols"
5010 if test "$DUMPBIN" != ":"; then
5014 test -z "$NM" && NM=nm
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5022 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5023 if test "${lt_cv_nm_interface+set}" = set; then :
5024 $as_echo_n "(cached
) " >&6
5026 lt_cv_nm_interface="BSD nm
"
5027 echo "int some_variable
= 0;" > conftest.$ac_ext
5028 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5029 (eval "$ac_compile" 2>conftest.err)
5030 cat conftest.err >&5
5031 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5032 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5033 cat conftest.err >&5
5034 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5035 cat conftest.out >&5
5036 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5037 lt_cv_nm_interface="MS dumpbin
"
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5042 $as_echo "$lt_cv_nm_interface" >&6; }
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5045 $as_echo_n "checking whether
ln -s works...
" >&6; }
5047 if test "$LN_S" = "ln -s"; then
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5049 $as_echo "yes" >&6; }
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5052 $as_echo "no
, using
$LN_S" >&6; }
5055 # find the maximum length of command line arguments
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5057 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5058 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5059 $as_echo_n "(cached
) " >&6
5066 # On DJGPP, this test can blow up pretty badly due to problems in libc
5067 # (any single argument exceeding 2000 bytes causes a buffer overrun
5068 # during glob expansion). Even if it were fixed, the result of this
5069 # check would be larger than it should be.
5070 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5074 # Under GNU Hurd, this test is not required because there is
5075 # no limit to the length of command line arguments.
5076 # Libtool will interpret -1 as no limit whatsoever
5077 lt_cv_sys_max_cmd_len=-1;
5080 cygwin* | mingw* | cegcc*)
5081 # On Win9x/ME, this test blows up -- it succeeds, but takes
5082 # about 5 minutes as the teststring grows exponentially.
5083 # Worse, since 9x/ME are not pre-emptively multitasking,
5084 # you end up with a "frozen
" computer, even though with patience
5085 # the test eventually succeeds (with a max line length of 256k).
5086 # Instead, let's just punt: use the minimum linelength reported by
5087 # all of the supported platforms: 8192 (on NT/2K/XP).
5088 lt_cv_sys_max_cmd_len=8192;
5092 # On MiNT this can take a long time and run out of memory.
5093 lt_cv_sys_max_cmd_len=8192;
5097 # On AmigaOS with pdksh, this test takes hours, literally.
5098 # So we just punt and use a minimum line length of 8192.
5099 lt_cv_sys_max_cmd_len=8192;
5102 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5103 # This has been around since 386BSD, at least. Likely further.
5104 if test -x /sbin/sysctl; then
5105 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5106 elif test -x /usr/sbin/sysctl; then
5107 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5109 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5111 # And add a safety zone
5112 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5113 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5117 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5118 lt_cv_sys_max_cmd_len=196608
5122 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5123 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5124 # nice to cause kernel panics so lets avoid the loop below.
5125 # First set a reasonable default.
5126 lt_cv_sys_max_cmd_len=16384
5128 if test -x /sbin/sysconfig; then
5129 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5130 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5135 lt_cv_sys_max_cmd_len=102400
5137 sysv5* | sco5v6* | sysv4.2uw2*)
5138 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5139 if test -n "$kargmax"; then
5140 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5142 lt_cv_sys_max_cmd_len=32768
5146 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5147 if test -n "$lt_cv_sys_max_cmd_len"; then
5148 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5149 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5151 # Make teststring a little bigger before we do anything with it.
5152 # a 1K string should be a reasonable start.
5153 for i in 1 2 3 4 5 6 7 8 ; do
5154 teststring=$teststring$teststring
5156 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5157 # If test is not a shell built-in, we'll probably end up computing a
5158 # maximum length that is only half of the actual maximum length, but
5160 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5161 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5162 test $i != 17 # 1/2 MB should be enough
5165 teststring=$teststring$teststring
5167 # Only check the string length outside the loop.
5168 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5170 # Add a significant safety factor because C++ compilers can tack on
5171 # massive amounts of additional arguments before passing them to the
5172 # linker. It appears as though 1/2 is a usable value.
5173 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5180 if test -n $lt_cv_sys_max_cmd_len ; then
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5182 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5185 $as_echo "none
" >&6; }
5187 max_cmd_len=$lt_cv_sys_max_cmd_len
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5199 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5200 # Try some XSI features
5203 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5205 && eval 'test $(( 1 + 1 )) -eq 2 \
5206 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5209 $as_echo "$xsi_shell" >&6; }
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5213 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5215 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
5217 && lt_shell_append
=yes
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5219 $as_echo "$lt_shell_append" >&6; }
5222 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5232 # test EBCDIC or ASCII
5233 case `echo X|tr X '\101'` in
5234 A
) # ASCII based system
5235 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5236 lt_SP2NL
='tr \040 \012'
5237 lt_NL2SP
='tr \015\012 \040\040'
5239 *) # EBCDIC based system
5240 lt_SP2NL
='tr \100 \n'
5241 lt_NL2SP
='tr \r\n \100\100'
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5254 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5255 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5256 $as_echo_n "(cached) " >&6
5258 lt_cv_ld_reload_flag
='-r'
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5261 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5262 reload_flag
=$lt_cv_ld_reload_flag
5263 case $reload_flag in
5265 *) reload_flag
=" $reload_flag" ;;
5267 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5270 if test "$GCC" = yes; then
5271 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5273 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5286 if test -n "$ac_tool_prefix"; then
5287 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5288 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5290 $as_echo_n "checking for $ac_word... " >&6; }
5291 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5292 $as_echo_n "(cached) " >&6
5294 if test -n "$OBJDUMP"; then
5295 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5301 test -z "$as_dir" && as_dir
=.
5302 for ac_exec_ext
in '' $ac_executable_extensions; do
5303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5304 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5314 OBJDUMP
=$ac_cv_prog_OBJDUMP
5315 if test -n "$OBJDUMP"; then
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5317 $as_echo "$OBJDUMP" >&6; }
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5320 $as_echo "no" >&6; }
5325 if test -z "$ac_cv_prog_OBJDUMP"; then
5326 ac_ct_OBJDUMP
=$OBJDUMP
5327 # Extract the first word of "objdump", so it can be a program name with args.
5328 set dummy objdump
; ac_word
=$2
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5330 $as_echo_n "checking for $ac_word... " >&6; }
5331 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5332 $as_echo_n "(cached) " >&6
5334 if test -n "$ac_ct_OBJDUMP"; then
5335 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5341 test -z "$as_dir" && as_dir
=.
5342 for ac_exec_ext
in '' $ac_executable_extensions; do
5343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5344 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5354 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5355 if test -n "$ac_ct_OBJDUMP"; then
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5357 $as_echo "$ac_ct_OBJDUMP" >&6; }
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5360 $as_echo "no" >&6; }
5363 if test "x$ac_ct_OBJDUMP" = x
; then
5366 case $cross_compiling:$ac_tool_warned in
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5369 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5370 ac_tool_warned
=yes ;;
5372 OBJDUMP
=$ac_ct_OBJDUMP
5375 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5378 test -z "$OBJDUMP" && OBJDUMP
=objdump
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5389 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5390 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5391 $as_echo_n "(cached) " >&6
5393 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5394 lt_cv_file_magic_test_file
=
5395 lt_cv_deplibs_check_method
='unknown'
5396 # Need to set the preceding variable on all platforms that support
5397 # interlibrary dependencies.
5398 # 'none' -- dependencies not supported.
5399 # `unknown' -- same as none, but documents that we really don't know.
5400 # 'pass_all' -- all dependencies passed with no checks.
5401 # 'test_compile' -- check by making test program.
5402 # 'file_magic [[regex]]' -- check by looking for files in library path
5403 # which responds to the $file_magic_cmd with a given extended regex.
5404 # If you have `file' or equivalent on your system and you're not sure
5405 # whether `pass_all' will *always* work, you probably want this one.
5409 lt_cv_deplibs_check_method
=pass_all
5413 lt_cv_deplibs_check_method
=pass_all
5417 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5418 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5419 lt_cv_file_magic_test_file
=/shlib
/libc.so
5423 # func_win32_libid is a shell function defined in ltmain.sh
5424 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5425 lt_cv_file_magic_cmd
='func_win32_libid'
5429 # Base MSYS/MinGW do not provide the 'file' command needed by
5430 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5431 # unless we find 'file', for example because we are cross-compiling.
5432 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5433 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
5434 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5435 lt_cv_file_magic_cmd
='func_win32_libid'
5437 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5438 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5443 # use the weaker test based on 'objdump'. See mingw*.
5444 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5445 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5448 darwin
* | rhapsody
*)
5449 lt_cv_deplibs_check_method
=pass_all
5452 freebsd
* | dragonfly
*)
5453 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5456 # Not sure whether the presence of OpenBSD here was a mistake.
5457 # Let's accept both of them until this is cleared up.
5458 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5459 lt_cv_file_magic_cmd
=/usr
/bin
/file
5460 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5464 lt_cv_deplibs_check_method
=pass_all
5469 lt_cv_deplibs_check_method
=pass_all
5473 lt_cv_deplibs_check_method
=pass_all
5476 hpux10.20
* | hpux11
*)
5477 lt_cv_file_magic_cmd
=/usr
/bin
/file
5480 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5481 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5484 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]'
5485 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
5488 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5489 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5495 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5496 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5499 irix5
* | irix6
* | nonstopux
*)
5501 *-32|
*"-32 ") libmagic
=32-bit;;
5502 *-n32|
*"-n32 ") libmagic
=N32
;;
5503 *-64|
*"-64 ") libmagic
=64-bit;;
5504 *) libmagic
=never-match
;;
5506 lt_cv_deplibs_check_method
=pass_all
5509 # This must be Linux ELF.
5510 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
5511 lt_cv_deplibs_check_method
=pass_all
5515 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5516 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5518 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5523 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5524 lt_cv_file_magic_cmd
=/usr
/bin
/file
5525 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5529 lt_cv_deplibs_check_method
=pass_all
5533 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5534 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5536 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5540 osf3
* | osf4
* | osf5
*)
5541 lt_cv_deplibs_check_method
=pass_all
5545 lt_cv_deplibs_check_method
=pass_all
5549 lt_cv_deplibs_check_method
=pass_all
5552 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5553 lt_cv_deplibs_check_method
=pass_all
5557 case $host_vendor in
5559 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]'
5560 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5563 lt_cv_deplibs_check_method
=pass_all
5566 lt_cv_file_magic_cmd
='/bin/file'
5567 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5570 lt_cv_file_magic_cmd
='/bin/file'
5571 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5572 lt_cv_file_magic_test_file
=/lib
/libc.so
5575 lt_cv_deplibs_check_method
=pass_all
5578 lt_cv_deplibs_check_method
=pass_all
5584 lt_cv_deplibs_check_method
=pass_all
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5590 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5591 file_magic_cmd
=$lt_cv_file_magic_cmd
5592 deplibs_check_method
=$lt_cv_deplibs_check_method
5593 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5606 if test -n "$ac_tool_prefix"; then
5607 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5608 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5610 $as_echo_n "checking for $ac_word... " >&6; }
5611 if test "${ac_cv_prog_AR+set}" = set; then :
5612 $as_echo_n "(cached) " >&6
5614 if test -n "$AR"; then
5615 ac_cv_prog_AR
="$AR" # Let the user override the test.
5617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5621 test -z "$as_dir" && as_dir
=.
5622 for ac_exec_ext
in '' $ac_executable_extensions; do
5623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5624 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5635 if test -n "$AR"; then
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5637 $as_echo "$AR" >&6; }
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5640 $as_echo "no" >&6; }
5645 if test -z "$ac_cv_prog_AR"; then
5647 # Extract the first word of "ar", so it can be a program name with args.
5648 set dummy
ar; ac_word
=$2
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5650 $as_echo_n "checking for $ac_word... " >&6; }
5651 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5652 $as_echo_n "(cached) " >&6
5654 if test -n "$ac_ct_AR"; then
5655 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5661 test -z "$as_dir" && as_dir
=.
5662 for ac_exec_ext
in '' $ac_executable_extensions; do
5663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5664 ac_cv_prog_ac_ct_AR
="ar"
5665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5674 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5675 if test -n "$ac_ct_AR"; then
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5677 $as_echo "$ac_ct_AR" >&6; }
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5680 $as_echo "no" >&6; }
5683 if test "x$ac_ct_AR" = x
; then
5686 case $cross_compiling:$ac_tool_warned in
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5689 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5690 ac_tool_warned
=yes ;;
5698 test -z "$AR" && AR
=ar
5699 test -z "$AR_FLAGS" && AR_FLAGS
=cru
5711 if test -n "$ac_tool_prefix"; then
5712 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5713 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5715 $as_echo_n "checking for $ac_word... " >&6; }
5716 if test "${ac_cv_prog_STRIP+set}" = set; then :
5717 $as_echo_n "(cached) " >&6
5719 if test -n "$STRIP"; then
5720 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5726 test -z "$as_dir" && as_dir
=.
5727 for ac_exec_ext
in '' $ac_executable_extensions; do
5728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5729 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5739 STRIP
=$ac_cv_prog_STRIP
5740 if test -n "$STRIP"; then
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5742 $as_echo "$STRIP" >&6; }
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5745 $as_echo "no" >&6; }
5750 if test -z "$ac_cv_prog_STRIP"; then
5752 # Extract the first word of "strip", so it can be a program name with args.
5753 set dummy strip
; ac_word
=$2
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5755 $as_echo_n "checking for $ac_word... " >&6; }
5756 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5757 $as_echo_n "(cached) " >&6
5759 if test -n "$ac_ct_STRIP"; then
5760 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5766 test -z "$as_dir" && as_dir
=.
5767 for ac_exec_ext
in '' $ac_executable_extensions; do
5768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5769 ac_cv_prog_ac_ct_STRIP
="strip"
5770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5779 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5780 if test -n "$ac_ct_STRIP"; then
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5782 $as_echo "$ac_ct_STRIP" >&6; }
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5785 $as_echo "no" >&6; }
5788 if test "x$ac_ct_STRIP" = x
; then
5791 case $cross_compiling:$ac_tool_warned in
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5794 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5795 ac_tool_warned
=yes ;;
5800 STRIP
="$ac_cv_prog_STRIP"
5803 test -z "$STRIP" && STRIP
=:
5810 if test -n "$ac_tool_prefix"; then
5811 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5812 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5814 $as_echo_n "checking for $ac_word... " >&6; }
5815 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5816 $as_echo_n "(cached) " >&6
5818 if test -n "$RANLIB"; then
5819 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5825 test -z "$as_dir" && as_dir
=.
5826 for ac_exec_ext
in '' $ac_executable_extensions; do
5827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5828 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5838 RANLIB
=$ac_cv_prog_RANLIB
5839 if test -n "$RANLIB"; then
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5841 $as_echo "$RANLIB" >&6; }
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5844 $as_echo "no" >&6; }
5849 if test -z "$ac_cv_prog_RANLIB"; then
5850 ac_ct_RANLIB
=$RANLIB
5851 # Extract the first word of "ranlib", so it can be a program name with args.
5852 set dummy ranlib
; ac_word
=$2
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5854 $as_echo_n "checking for $ac_word... " >&6; }
5855 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5856 $as_echo_n "(cached) " >&6
5858 if test -n "$ac_ct_RANLIB"; then
5859 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5865 test -z "$as_dir" && as_dir
=.
5866 for ac_exec_ext
in '' $ac_executable_extensions; do
5867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5868 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5878 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5879 if test -n "$ac_ct_RANLIB"; then
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5881 $as_echo "$ac_ct_RANLIB" >&6; }
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5884 $as_echo "no" >&6; }
5887 if test "x$ac_ct_RANLIB" = x
; then
5890 case $cross_compiling:$ac_tool_warned in
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5893 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5894 ac_tool_warned
=yes ;;
5896 RANLIB
=$ac_ct_RANLIB
5899 RANLIB
="$ac_cv_prog_RANLIB"
5902 test -z "$RANLIB" && RANLIB
=:
5909 # Determine commands to create old-style static archives.
5910 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
5911 old_postinstall_cmds
='chmod 644 $oldlib'
5912 old_postuninstall_cmds
=
5914 if test -n "$RANLIB"; then
5917 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5920 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
5923 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
5928 lock_old_archive_extraction
=yes ;;
5930 lock_old_archive_extraction
=no
;;
5971 # If no C compiler was specified, use CC.
5974 # If no C compiler flags were specified, use CFLAGS.
5975 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
5977 # Allow CC to be a program name with arguments.
5981 # Check for command to grab the raw symbol name followed by C symbol from nm.
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5983 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5984 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5985 $as_echo_n "(cached) " >&6
5988 # These are sane defaults that work on at least a few old systems.
5989 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5991 # Character class describing NM global symbol codes.
5992 symcode
='[BCDEGRST]'
5994 # Regexp to match symbols that can be accessed directly from C.
5995 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5997 # Define system-specific variables.
6002 cygwin
* | mingw
* | pw32
* | cegcc
*)
6003 symcode
='[ABCDGISTW]'
6006 if test "$host_cpu" = ia64
; then
6007 symcode
='[ABCDEGRST]'
6011 symcode
='[BCDEGRST]'
6014 symcode
='[BCDEGQRST]'
6025 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6033 # If we're using GNU nm, then use its standard symbol codes.
6034 case `$NM -V 2>&1` in
6035 *GNU
* |
*'with BFD'*)
6036 symcode
='[ABCDGIRSTW]' ;;
6039 # Transform an extracted symbol line into a proper C declaration.
6040 # Some systems (esp. on ia64) link data and code symbols differently,
6041 # so use this general approach.
6042 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6044 # Transform an extracted symbol line into symbol name and symbol address
6045 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6046 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'"
6048 # Handle CRLF in mingw tool chain
6052 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6056 # Try without a prefix underscore, then with it.
6057 for ac_symprfx
in "" "_"; do
6059 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6060 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6062 # Write the raw and C identifiers.
6063 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6064 # Fake it for dumpbin and say T for any non-static function
6065 # and D for any global variable.
6066 # Also find C++ and __fastcall symbols from MSVC++,
6067 # which start with @ or ?.
6068 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6069 " {last_section=section; section=\$ 3};"\
6070 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6071 " \$ 0!~/External *\|/{next};"\
6072 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6073 " {if(hide[section]) next};"\
6074 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6075 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6076 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6077 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6078 " ' prfx=^$ac_symprfx"
6080 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6083 # Check to see that the pipe works correctly.
6087 cat > conftest.
$ac_ext <<_LT_EOF
6092 void nm_test_func(void);
6093 void nm_test_func(void){}
6097 int main(){nm_test_var='a';nm_test_func();return(0);}
6100 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6101 (eval $ac_compile) 2>&5
6103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6104 test $ac_status = 0; }; then
6105 # Now try to grab the symbols.
6107 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6108 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6111 test $ac_status = 0; } && test -s "$nlist"; then
6112 # Try sorting and uniquifying the output.
6113 if sort "$nlist" |
uniq > "$nlist"T
; then
6114 mv -f "$nlist"T
"$nlist"
6119 # Make sure that we snagged all the symbols we need.
6120 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6121 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6122 cat <<_LT_EOF > conftest.$ac_ext
6128 # Now generate the symbol file.
6129 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6131 cat <<_LT_EOF >> conftest.$ac_ext
6133 /* The mapping between symbol names and symbols. */
6138 lt__PROGRAM__LTX_preloaded_symbols[] =
6140 { "@PROGRAM@", (void *) 0 },
6142 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
6143 cat <<\_LT_EOF
>> conftest.
$ac_ext
6147 /* This works around a problem
in FreeBSD linker
*/
6148 #ifdef FREEBSD_WORKAROUND
6149 static const void
*lt_preloaded_setup
() {
6150 return lt__PROGRAM__LTX_preloaded_symbols
;
6158 # Now try linking the two files.
6159 mv conftest.
$ac_objext conftstm.
$ac_objext
6160 lt_save_LIBS
="$LIBS"
6161 lt_save_CFLAGS
="$CFLAGS"
6162 LIBS
="conftstm.$ac_objext"
6163 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6164 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6165 (eval $ac_link) 2>&5
6167 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6168 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6171 LIBS
="$lt_save_LIBS"
6172 CFLAGS
="$lt_save_CFLAGS"
6174 echo "cannot find nm_test_func in $nlist" >&5
6177 echo "cannot find nm_test_var in $nlist" >&5
6180 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6183 echo "$progname: failed program was:" >&5
6184 cat conftest.
$ac_ext >&5
6186 rm -rf conftest
* conftst
*
6188 # Do not use the global_symbol_pipe unless it works.
6189 if test "$pipe_works" = yes; then
6192 lt_cv_sys_global_symbol_pipe
=
6198 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6199 lt_cv_sys_global_symbol_to_cdecl
=
6201 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6203 $as_echo "failed" >&6; }
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6206 $as_echo "ok" >&6; }
6231 # Check whether --enable-libtool-lock was given.
6232 if test "${enable_libtool_lock+set}" = set; then :
6233 enableval
=$enable_libtool_lock;
6236 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6238 # Some flags need to be propagated to the compiler or linker for good
6242 # Find out which ABI we are using.
6243 echo 'int i;' > conftest.
$ac_ext
6244 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6245 (eval $ac_compile) 2>&5
6247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6248 test $ac_status = 0; }; then
6249 case `/usr/bin/file conftest.$ac_objext` in
6261 # Find out which ABI we are using.
6262 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6263 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6264 (eval $ac_compile) 2>&5
6266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6267 test $ac_status = 0; }; then
6268 if test "$lt_cv_prog_gnu_ld" = yes; then
6269 case `/usr/bin/file conftest.$ac_objext` in
6271 LD
="${LD-ld} -melf32bsmip"
6274 LD
="${LD-ld} -melf32bmipn32"
6277 LD
="${LD-ld} -melf64bmip"
6281 case `/usr/bin/file conftest.$ac_objext` in
6297 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
6298 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6299 # Find out which ABI we are using.
6300 echo 'int i;' > conftest.
$ac_ext
6301 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6302 (eval $ac_compile) 2>&5
6304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6305 test $ac_status = 0; }; then
6306 case `/usr/bin/file conftest.o` in
6309 x86_64-
*kfreebsd
*-gnu)
6310 LD
="${LD-ld} -m elf_i386_fbsd"
6313 LD
="${LD-ld} -m elf_i386"
6315 ppc64-
*linux
*|powerpc64-
*linux
*)
6316 LD
="${LD-ld} -m elf32ppclinux"
6319 LD
="${LD-ld} -m elf_s390"
6322 LD
="${LD-ld} -m elf32_sparc"
6328 x86_64-
*kfreebsd
*-gnu)
6329 LD
="${LD-ld} -m elf_x86_64_fbsd"
6332 LD
="${LD-ld} -m elf_x86_64"
6334 ppc
*-*linux
*|powerpc
*-*linux
*)
6335 LD
="${LD-ld} -m elf64ppc"
6337 s390
*-*linux
*|s390
*-*tpf
*)
6338 LD
="${LD-ld} -m elf64_s390"
6341 LD
="${LD-ld} -m elf64_sparc"
6351 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6352 SAVE_CFLAGS
="$CFLAGS"
6353 CFLAGS
="$CFLAGS -belf"
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6355 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6356 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6357 $as_echo_n "(cached) " >&6
6360 ac_cpp
='$CPP $CPPFLAGS'
6361 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6362 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6363 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6366 /* end confdefs.h. */
6376 if ac_fn_c_try_link
"$LINENO"; then :
6377 lt_cv_cc_needs_belf
=yes
6379 lt_cv_cc_needs_belf
=no
6381 rm -f core conftest.err conftest.
$ac_objext \
6382 conftest
$ac_exeext conftest.
$ac_ext
6384 ac_cpp
='$CPP $CPPFLAGS'
6385 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6386 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6387 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6391 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6392 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6393 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6394 CFLAGS
="$SAVE_CFLAGS"
6398 # Find out which ABI we are using.
6399 echo 'int i;' > conftest.
$ac_ext
6400 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6401 (eval $ac_compile) 2>&5
6403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6404 test $ac_status = 0; }; then
6405 case `/usr/bin/file conftest.o` in
6407 case $lt_cv_prog_gnu_ld in
6411 LD
="${LD-ld} -m elf_x86_64"
6414 LD
="${LD-ld} -m elf64_sparc"
6417 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6418 if ${LD-ld} -V |
grep _sol2
>/dev
/null
2>&1; then
6423 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
6435 need_locks
="$enable_libtool_lock"
6439 rhapsody
* | darwin
*)
6440 if test -n "$ac_tool_prefix"; then
6441 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6442 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6444 $as_echo_n "checking for $ac_word... " >&6; }
6445 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6446 $as_echo_n "(cached) " >&6
6448 if test -n "$DSYMUTIL"; then
6449 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6455 test -z "$as_dir" && as_dir
=.
6456 for ac_exec_ext
in '' $ac_executable_extensions; do
6457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6458 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6468 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6469 if test -n "$DSYMUTIL"; then
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6471 $as_echo "$DSYMUTIL" >&6; }
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6474 $as_echo "no" >&6; }
6479 if test -z "$ac_cv_prog_DSYMUTIL"; then
6480 ac_ct_DSYMUTIL
=$DSYMUTIL
6481 # Extract the first word of "dsymutil", so it can be a program name with args.
6482 set dummy dsymutil
; ac_word
=$2
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6484 $as_echo_n "checking for $ac_word... " >&6; }
6485 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6486 $as_echo_n "(cached) " >&6
6488 if test -n "$ac_ct_DSYMUTIL"; then
6489 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
6491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6495 test -z "$as_dir" && as_dir
=.
6496 for ac_exec_ext
in '' $ac_executable_extensions; do
6497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6498 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
6499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6508 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
6509 if test -n "$ac_ct_DSYMUTIL"; then
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6511 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6514 $as_echo "no" >&6; }
6517 if test "x$ac_ct_DSYMUTIL" = x
; then
6520 case $cross_compiling:$ac_tool_warned in
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6524 ac_tool_warned
=yes ;;
6526 DSYMUTIL
=$ac_ct_DSYMUTIL
6529 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
6532 if test -n "$ac_tool_prefix"; then
6533 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6534 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6536 $as_echo_n "checking for $ac_word... " >&6; }
6537 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6538 $as_echo_n "(cached) " >&6
6540 if test -n "$NMEDIT"; then
6541 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
6543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6547 test -z "$as_dir" && as_dir
=.
6548 for ac_exec_ext
in '' $ac_executable_extensions; do
6549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6550 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
6551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6560 NMEDIT
=$ac_cv_prog_NMEDIT
6561 if test -n "$NMEDIT"; then
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6563 $as_echo "$NMEDIT" >&6; }
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6566 $as_echo "no" >&6; }
6571 if test -z "$ac_cv_prog_NMEDIT"; then
6572 ac_ct_NMEDIT
=$NMEDIT
6573 # Extract the first word of "nmedit", so it can be a program name with args.
6574 set dummy nmedit
; ac_word
=$2
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6576 $as_echo_n "checking for $ac_word... " >&6; }
6577 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6578 $as_echo_n "(cached) " >&6
6580 if test -n "$ac_ct_NMEDIT"; then
6581 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
6583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6587 test -z "$as_dir" && as_dir
=.
6588 for ac_exec_ext
in '' $ac_executable_extensions; do
6589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6590 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
6591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6600 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
6601 if test -n "$ac_ct_NMEDIT"; then
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6603 $as_echo "$ac_ct_NMEDIT" >&6; }
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6606 $as_echo "no" >&6; }
6609 if test "x$ac_ct_NMEDIT" = x
; then
6612 case $cross_compiling:$ac_tool_warned in
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6615 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6616 ac_tool_warned
=yes ;;
6618 NMEDIT
=$ac_ct_NMEDIT
6621 NMEDIT
="$ac_cv_prog_NMEDIT"
6624 if test -n "$ac_tool_prefix"; then
6625 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6626 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6628 $as_echo_n "checking for $ac_word... " >&6; }
6629 if test "${ac_cv_prog_LIPO+set}" = set; then :
6630 $as_echo_n "(cached) " >&6
6632 if test -n "$LIPO"; then
6633 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
6635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6639 test -z "$as_dir" && as_dir
=.
6640 for ac_exec_ext
in '' $ac_executable_extensions; do
6641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6642 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
6643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6652 LIPO
=$ac_cv_prog_LIPO
6653 if test -n "$LIPO"; then
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6655 $as_echo "$LIPO" >&6; }
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6658 $as_echo "no" >&6; }
6663 if test -z "$ac_cv_prog_LIPO"; then
6665 # Extract the first word of "lipo", so it can be a program name with args.
6666 set dummy lipo
; ac_word
=$2
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6668 $as_echo_n "checking for $ac_word... " >&6; }
6669 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6670 $as_echo_n "(cached) " >&6
6672 if test -n "$ac_ct_LIPO"; then
6673 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
6675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6679 test -z "$as_dir" && as_dir
=.
6680 for ac_exec_ext
in '' $ac_executable_extensions; do
6681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6682 ac_cv_prog_ac_ct_LIPO
="lipo"
6683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6692 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
6693 if test -n "$ac_ct_LIPO"; then
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6695 $as_echo "$ac_ct_LIPO" >&6; }
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6698 $as_echo "no" >&6; }
6701 if test "x$ac_ct_LIPO" = x
; then
6704 case $cross_compiling:$ac_tool_warned in
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6707 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6708 ac_tool_warned
=yes ;;
6713 LIPO
="$ac_cv_prog_LIPO"
6716 if test -n "$ac_tool_prefix"; then
6717 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6718 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6720 $as_echo_n "checking for $ac_word... " >&6; }
6721 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6722 $as_echo_n "(cached) " >&6
6724 if test -n "$OTOOL"; then
6725 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
6727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6731 test -z "$as_dir" && as_dir
=.
6732 for ac_exec_ext
in '' $ac_executable_extensions; do
6733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6734 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
6735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6744 OTOOL
=$ac_cv_prog_OTOOL
6745 if test -n "$OTOOL"; then
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6747 $as_echo "$OTOOL" >&6; }
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6750 $as_echo "no" >&6; }
6755 if test -z "$ac_cv_prog_OTOOL"; then
6757 # Extract the first word of "otool", so it can be a program name with args.
6758 set dummy otool
; ac_word
=$2
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6760 $as_echo_n "checking for $ac_word... " >&6; }
6761 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6762 $as_echo_n "(cached) " >&6
6764 if test -n "$ac_ct_OTOOL"; then
6765 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
6767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6771 test -z "$as_dir" && as_dir
=.
6772 for ac_exec_ext
in '' $ac_executable_extensions; do
6773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6774 ac_cv_prog_ac_ct_OTOOL
="otool"
6775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6784 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
6785 if test -n "$ac_ct_OTOOL"; then
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6787 $as_echo "$ac_ct_OTOOL" >&6; }
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6790 $as_echo "no" >&6; }
6793 if test "x$ac_ct_OTOOL" = x
; then
6796 case $cross_compiling:$ac_tool_warned in
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6800 ac_tool_warned
=yes ;;
6805 OTOOL
="$ac_cv_prog_OTOOL"
6808 if test -n "$ac_tool_prefix"; then
6809 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6810 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6812 $as_echo_n "checking for $ac_word... " >&6; }
6813 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6814 $as_echo_n "(cached) " >&6
6816 if test -n "$OTOOL64"; then
6817 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
6819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6823 test -z "$as_dir" && as_dir
=.
6824 for ac_exec_ext
in '' $ac_executable_extensions; do
6825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6826 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
6827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6836 OTOOL64
=$ac_cv_prog_OTOOL64
6837 if test -n "$OTOOL64"; then
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6839 $as_echo "$OTOOL64" >&6; }
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6842 $as_echo "no" >&6; }
6847 if test -z "$ac_cv_prog_OTOOL64"; then
6848 ac_ct_OTOOL64
=$OTOOL64
6849 # Extract the first word of "otool64", so it can be a program name with args.
6850 set dummy otool64
; ac_word
=$2
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6852 $as_echo_n "checking for $ac_word... " >&6; }
6853 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6854 $as_echo_n "(cached) " >&6
6856 if test -n "$ac_ct_OTOOL64"; then
6857 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
6859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6863 test -z "$as_dir" && as_dir
=.
6864 for ac_exec_ext
in '' $ac_executable_extensions; do
6865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6866 ac_cv_prog_ac_ct_OTOOL64
="otool64"
6867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6876 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
6877 if test -n "$ac_ct_OTOOL64"; then
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6879 $as_echo "$ac_ct_OTOOL64" >&6; }
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6882 $as_echo "no" >&6; }
6885 if test "x$ac_ct_OTOOL64" = x
; then
6888 case $cross_compiling:$ac_tool_warned in
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6891 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6892 ac_tool_warned
=yes ;;
6894 OTOOL64
=$ac_ct_OTOOL64
6897 OTOOL64
="$ac_cv_prog_OTOOL64"
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6927 $as_echo_n "checking for -single_module linker flag... " >&6; }
6928 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6929 $as_echo_n "(cached) " >&6
6931 lt_cv_apple_cc_single_mod
=no
6932 if test -z "${LT_MULTI_MODULE}"; then
6933 # By default we will add the -single_module flag. You can override
6934 # by either setting the environment variable LT_MULTI_MODULE
6935 # non-empty at configure time, or by adding -multi_module to the
6937 rm -rf libconftest.dylib
*
6938 echo "int foo(void){return 1;}" > conftest.c
6939 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6940 -dynamiclib -Wl,-single_module conftest.c" >&5
6941 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6942 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
6944 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
6945 lt_cv_apple_cc_single_mod
=yes
6947 cat conftest.err
>&5
6949 rm -rf libconftest.dylib
*
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6954 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6956 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6957 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6958 $as_echo_n "(cached) " >&6
6960 lt_cv_ld_exported_symbols_list
=no
6961 save_LDFLAGS
=$LDFLAGS
6962 echo "_main" > conftest.sym
6963 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6965 /* end confdefs.h. */
6975 if ac_fn_c_try_link
"$LINENO"; then :
6976 lt_cv_ld_exported_symbols_list
=yes
6978 lt_cv_ld_exported_symbols_list
=no
6980 rm -f core conftest.err conftest.
$ac_objext \
6981 conftest
$ac_exeext conftest.
$ac_ext
6982 LDFLAGS
="$save_LDFLAGS"
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6986 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6988 $as_echo_n "checking for -force_load linker flag... " >&6; }
6989 if test "${lt_cv_ld_force_load+set}" = set; then :
6990 $as_echo_n "(cached) " >&6
6992 lt_cv_ld_force_load
=no
6993 cat > conftest.c
<< _LT_EOF
6994 int forced_loaded() { return 2;}
6996 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6997 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
6998 echo "$AR cru libconftest.a conftest.o" >&5
6999 $AR cru libconftest.a conftest.o
2>&5
7000 cat > conftest.c
<< _LT_EOF
7001 int main() { return 0;}
7003 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7004 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7006 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
7007 lt_cv_ld_force_load
=yes
7009 cat conftest.err
>&5
7011 rm -f conftest.err libconftest.a conftest conftest.c
7012 rm -rf conftest.dSYM
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7016 $as_echo "$lt_cv_ld_force_load" >&6; }
7018 rhapsody
* | darwin1.
[012])
7019 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7021 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7022 darwin
*) # darwin 5.x on
7023 # if running on 10.5 or later, the deployment target defaults
7024 # to the OS version, if on x86, and 10.4, the deployment
7025 # target defaults to 10.4. Don't you love it?
7026 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7027 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
7028 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7030 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7032 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7036 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7037 _lt_dar_single_mod
='$single_module'
7039 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7040 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7042 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7044 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7045 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7053 ac_cpp
='$CPP $CPPFLAGS'
7054 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7055 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7056 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7058 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7059 # On Suns, sometimes $CPP names a directory.
7060 if test -n "$CPP" && test -d "$CPP"; then
7063 if test -z "$CPP"; then
7064 if test "${ac_cv_prog_CPP+set}" = set; then :
7065 $as_echo_n "(cached) " >&6
7067 # Double quotes because CPP needs to be expanded
7068 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7071 for ac_c_preproc_warn_flag
in '' yes
7073 # Use a header file that comes with gcc, so configuring glibc
7074 # with a fresh cross-compiler works.
7075 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7076 # <limits.h> exists even on freestanding compilers.
7077 # On the NeXT, cc -E runs the code through the compiler's parser,
7078 # not just through cpp. "Syntax error" is here to catch this case.
7079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7080 /* end confdefs.h. */
7082 # include <limits.h>
7084 # include <assert.h>
7088 if ac_fn_c_try_cpp
"$LINENO"; then :
7091 # Broken: fails on valid input.
7094 rm -f conftest.err conftest.
$ac_ext
7096 # OK, works on sane cases. Now check whether nonexistent headers
7097 # can be detected and how.
7098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7099 /* end confdefs.h. */
7100 #include <ac_nonexistent.h>
7102 if ac_fn_c_try_cpp
"$LINENO"; then :
7103 # Broken: success on invalid input.
7106 # Passes both tests.
7110 rm -f conftest.err conftest.
$ac_ext
7113 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7114 rm -f conftest.err conftest.
$ac_ext
7115 if $ac_preproc_ok; then :
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7128 $as_echo "$CPP" >&6; }
7130 for ac_c_preproc_warn_flag
in '' yes
7132 # Use a header file that comes with gcc, so configuring glibc
7133 # with a fresh cross-compiler works.
7134 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7135 # <limits.h> exists even on freestanding compilers.
7136 # On the NeXT, cc -E runs the code through the compiler's parser,
7137 # not just through cpp. "Syntax error" is here to catch this case.
7138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7139 /* end confdefs.h. */
7141 # include <limits.h>
7143 # include <assert.h>
7147 if ac_fn_c_try_cpp
"$LINENO"; then :
7150 # Broken: fails on valid input.
7153 rm -f conftest.err conftest.
$ac_ext
7155 # OK, works on sane cases. Now check whether nonexistent headers
7156 # can be detected and how.
7157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7158 /* end confdefs.h. */
7159 #include <ac_nonexistent.h>
7161 if ac_fn_c_try_cpp
"$LINENO"; then :
7162 # Broken: success on invalid input.
7165 # Passes both tests.
7169 rm -f conftest.err conftest.
$ac_ext
7172 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7173 rm -f conftest.err conftest.
$ac_ext
7174 if $ac_preproc_ok; then :
7177 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7178 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7179 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
7180 See \`config.log' for more details." "$LINENO" 5; }
7184 ac_cpp
='$CPP $CPPFLAGS'
7185 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7186 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7187 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7191 $as_echo_n "checking for ANSI C header files... " >&6; }
7192 if test "${ac_cv_header_stdc+set}" = set; then :
7193 $as_echo_n "(cached) " >&6
7195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7196 /* end confdefs.h. */
7210 if ac_fn_c_try_compile
"$LINENO"; then :
7211 ac_cv_header_stdc
=yes
7213 ac_cv_header_stdc
=no
7215 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7217 if test $ac_cv_header_stdc = yes; then
7218 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7220 /* end confdefs.h. */
7224 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7225 $EGREP "memchr" >/dev
/null
2>&1; then :
7228 ac_cv_header_stdc
=no
7234 if test $ac_cv_header_stdc = yes; then
7235 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7237 /* end confdefs.h. */
7241 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7242 $EGREP "free" >/dev
/null
2>&1; then :
7245 ac_cv_header_stdc
=no
7251 if test $ac_cv_header_stdc = yes; then
7252 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7253 if test "$cross_compiling" = yes; then :
7256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7257 /* end confdefs.h. */
7260 #if ((' ' & 0x0FF) == 0x020)
7261 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7262 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7264 # define ISLOWER(c) \
7265 (('a' <= (c) && (c) <= 'i') \
7266 || ('j' <= (c) && (c) <= 'r') \
7267 || ('s' <= (c) && (c) <= 'z'))
7268 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7271 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7276 for (i = 0; i < 256; i++)
7277 if (XOR (islower (i), ISLOWER (i))
7278 || toupper (i) != TOUPPER (i))
7283 if ac_fn_c_try_run
"$LINENO"; then :
7286 ac_cv_header_stdc
=no
7288 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7289 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7295 $as_echo "$ac_cv_header_stdc" >&6; }
7296 if test $ac_cv_header_stdc = yes; then
7298 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7302 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7303 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7304 inttypes.h stdint.h unistd.h
7306 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7307 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7309 eval as_val
=\$
$as_ac_Header
7310 if test "x$as_val" = x
""yes; then :
7311 cat >>confdefs.h
<<_ACEOF
7312 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7320 for ac_header
in dlfcn.h
7322 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7324 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7325 cat >>confdefs.h
<<_ACEOF
7326 #define HAVE_DLFCN_H 1
7333 if test -n "$ac_tool_prefix"; then
7334 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
7335 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7337 $as_echo_n "checking for $ac_word... " >&6; }
7338 if test "${ac_cv_prog_GOC+set}" = set; then :
7339 $as_echo_n "(cached) " >&6
7341 if test -n "$GOC"; then
7342 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
7344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7348 test -z "$as_dir" && as_dir
=.
7349 for ac_exec_ext
in '' $ac_executable_extensions; do
7350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7351 ac_cv_prog_GOC
="${ac_tool_prefix}gccgo"
7352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7362 if test -n "$GOC"; then
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
7364 $as_echo "$GOC" >&6; }
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7367 $as_echo "no" >&6; }
7372 if test -z "$ac_cv_prog_GOC"; then
7374 # Extract the first word of "gccgo", so it can be a program name with args.
7375 set dummy gccgo
; ac_word
=$2
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7377 $as_echo_n "checking for $ac_word... " >&6; }
7378 if test "${ac_cv_prog_ac_ct_GOC+set}" = set; then :
7379 $as_echo_n "(cached) " >&6
7381 if test -n "$ac_ct_GOC"; then
7382 ac_cv_prog_ac_ct_GOC
="$ac_ct_GOC" # Let the user override the test.
7384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7388 test -z "$as_dir" && as_dir
=.
7389 for ac_exec_ext
in '' $ac_executable_extensions; do
7390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7391 ac_cv_prog_ac_ct_GOC
="gccgo"
7392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7401 ac_ct_GOC
=$ac_cv_prog_ac_ct_GOC
7402 if test -n "$ac_ct_GOC"; then
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
7404 $as_echo "$ac_ct_GOC" >&6; }
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7407 $as_echo "no" >&6; }
7410 if test "x$ac_ct_GOC" = x
; then
7413 case $cross_compiling:$ac_tool_warned in
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7416 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7417 ac_tool_warned
=yes ;;
7422 GOC
="$ac_cv_prog_GOC"
7438 # Check whether --enable-shared was given.
7439 if test "${enable_shared+set}" = set; then :
7440 enableval
=$enable_shared; p
=${PACKAGE-default}
7442 yes) enable_shared
=yes ;;
7443 no
) enable_shared
=no
;;
7446 # Look at the argument we got. We use all the common list separators.
7447 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7448 for pkg
in $enableval; do
7450 if test "X$pkg" = "X$p"; then
7469 # Check whether --enable-static was given.
7470 if test "${enable_static+set}" = set; then :
7471 enableval
=$enable_static; p
=${PACKAGE-default}
7473 yes) enable_static
=yes ;;
7474 no
) enable_static
=no
;;
7477 # Look at the argument we got. We use all the common list separators.
7478 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7479 for pkg
in $enableval; do
7481 if test "X$pkg" = "X$p"; then
7501 # Check whether --with-pic was given.
7502 if test "${with_pic+set}" = set; then :
7503 withval
=$with_pic; pic_mode
="$withval"
7509 test -z "$pic_mode" && pic_mode
=default
7517 # Check whether --enable-fast-install was given.
7518 if test "${enable_fast_install+set}" = set; then :
7519 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7521 yes) enable_fast_install
=yes ;;
7522 no
) enable_fast_install
=no
;;
7524 enable_fast_install
=no
7525 # Look at the argument we got. We use all the common list separators.
7526 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7527 for pkg
in $enableval; do
7529 if test "X$pkg" = "X$p"; then
7530 enable_fast_install
=yes
7537 enable_fast_install
=yes
7550 # This can be used to rebuild libtool when needed
7551 LIBTOOL_DEPS
="$ltmain"
7553 # Always use our own libtool.
7554 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7581 test -z "$LN_S" && LN_S
="ln -s"
7596 if test -n "${ZSH_VERSION+set}" ; then
7597 setopt NO_GLOB_SUBST
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7601 $as_echo_n "checking for objdir... " >&6; }
7602 if test "${lt_cv_objdir+set}" = set; then :
7603 $as_echo_n "(cached) " >&6
7605 rm -f .libs
2>/dev
/null
7606 mkdir .libs
2>/dev
/null
7607 if test -d .libs
; then
7610 # MS-DOS does not allow filenames that begin with a dot.
7613 rmdir .libs
2>/dev
/null
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7616 $as_echo "$lt_cv_objdir" >&6; }
7617 objdir
=$lt_cv_objdir
7623 cat >>confdefs.h
<<_ACEOF
7624 #define LT_OBJDIR "$lt_cv_objdir/"
7632 # AIX sometimes has problems with the GCC collect2 program. For some
7633 # reason, if we set the COLLECT_NAMES environment variable, the problems
7634 # vanish in a puff of smoke.
7635 if test "X${COLLECT_NAMES+set}" != Xset
; then
7637 export COLLECT_NAMES
7644 can_build_shared
=yes
7646 # All known linkers require a `.a' archive for static linking (except MSVC,
7647 # which needs '.lib').
7650 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7653 old_CFLAGS
="$CFLAGS"
7655 # Set sane defaults for various variables
7656 test -z "$CC" && CC
=cc
7657 test -z "$LTCC" && LTCC
=$CC
7658 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7659 test -z "$LD" && LD
=ld
7660 test -z "$ac_objext" && ac_objext
=o
7662 for cc_temp
in $compiler""; do
7664 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7665 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7670 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7673 # Only perform the check for file, if the check method requires it
7674 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7675 case $deplibs_check_method in
7677 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7679 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7680 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7681 $as_echo_n "(cached) " >&6
7685 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7688 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7689 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7690 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7691 for ac_dir
in $ac_dummy; do
7693 test -z "$ac_dir" && ac_dir
=.
7694 if test -f $ac_dir/${ac_tool_prefix}file; then
7695 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7696 if test -n "$file_magic_test_file"; then
7697 case $deplibs_check_method in
7699 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7700 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7701 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7702 $EGREP "$file_magic_regex" > /dev
/null
; then
7707 *** Warning: the command libtool uses to detect shared libraries,
7708 *** $file_magic_cmd, produces output that libtool cannot recognize.
7709 *** The result is that libtool may fail to recognize shared libraries
7710 *** as such. This will affect the creation of libtool libraries that
7711 *** depend on shared libraries, but programs linked with such libtool
7712 *** libraries will work regardless of this problem. Nevertheless, you
7713 *** may want to report the problem to your system manager and/or to
7714 *** bug-libtool@gnu.org
7724 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7729 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7730 if test -n "$MAGIC_CMD"; then
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7732 $as_echo "$MAGIC_CMD" >&6; }
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7735 $as_echo "no" >&6; }
7742 if test -z "$lt_cv_path_MAGIC_CMD"; then
7743 if test -n "$ac_tool_prefix"; then
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7745 $as_echo_n "checking for file... " >&6; }
7746 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7747 $as_echo_n "(cached) " >&6
7751 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7754 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7755 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7756 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7757 for ac_dir
in $ac_dummy; do
7759 test -z "$ac_dir" && ac_dir
=.
7760 if test -f $ac_dir/file; then
7761 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7762 if test -n "$file_magic_test_file"; then
7763 case $deplibs_check_method in
7765 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7766 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7767 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7768 $EGREP "$file_magic_regex" > /dev
/null
; then
7773 *** Warning: the command libtool uses to detect shared libraries,
7774 *** $file_magic_cmd, produces output that libtool cannot recognize.
7775 *** The result is that libtool may fail to recognize shared libraries
7776 *** as such. This will affect the creation of libtool libraries that
7777 *** depend on shared libraries, but programs linked with such libtool
7778 *** libraries will work regardless of this problem. Nevertheless, you
7779 *** may want to report the problem to your system manager and/or to
7780 *** bug-libtool@gnu.org
7790 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7795 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7796 if test -n "$MAGIC_CMD"; then
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7798 $as_echo "$MAGIC_CMD" >&6; }
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7801 $as_echo "no" >&6; }
7814 # Use C for the default configuration in the libtool script
7818 ac_cpp
='$CPP $CPPFLAGS'
7819 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7820 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7821 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7824 # Source file extension for C test sources.
7827 # Object file extension for compiled C test sources.
7831 # Code to be used in simple compile tests
7832 lt_simple_compile_test_code
="int some_variable = 0;"
7834 # Code to be used in simple link tests
7835 lt_simple_link_test_code
='int main(){return(0);}'
7843 # If no C compiler was specified, use CC.
7846 # If no C compiler flags were specified, use CFLAGS.
7847 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7849 # Allow CC to be a program name with arguments.
7852 # Save the default compiler, since it gets overwritten when the other
7853 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7854 compiler_DEFAULT
=$CC
7856 # save warnings/boilerplate of simple test code
7857 ac_outfile
=conftest.
$ac_objext
7858 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7859 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7860 _lt_compiler_boilerplate
=`cat conftest.err`
7863 ac_outfile
=conftest.
$ac_objext
7864 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7865 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7866 _lt_linker_boilerplate
=`cat conftest.err`
7871 ## There is no encapsulation within the following macros, do not change
7872 ## the running order or otherwise move them around unless you know exactly
7873 ## what you are doing...
7874 if test -n "$compiler"; then
7876 lt_prog_compiler_no_builtin_flag
=
7878 if test "$GCC" = yes; then
7879 case $cc_basename in
7881 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7883 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7887 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7888 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7889 $as_echo_n "(cached) " >&6
7891 lt_cv_prog_compiler_rtti_exceptions
=no
7892 ac_outfile
=conftest.
$ac_objext
7893 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7894 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7895 # Insert the option either (1) after the last *FLAGS variable, or
7896 # (2) before a word containing "conftest.", or (3) at the end.
7897 # Note that $ac_compile itself does not contain backslashes and begins
7898 # with a dollar sign (not a hyphen), so the echo should work correctly.
7899 # The option is referenced via a variable to avoid confusing sed.
7900 lt_compile
=`echo "$ac_compile" | $SED \
7901 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7902 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7903 -e 's:$: $lt_compiler_flag:'`
7904 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7905 (eval "$lt_compile" 2>conftest.err
)
7907 cat conftest.err
>&5
7908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7909 if (exit $ac_status) && test -s "$ac_outfile"; then
7910 # The compiler can only warn and ignore the option if not recognized
7911 # So say no if there are warnings other than the usual output.
7912 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7913 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7914 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7915 lt_cv_prog_compiler_rtti_exceptions
=yes
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7922 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7924 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7925 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7937 lt_prog_compiler_wl
=
7938 lt_prog_compiler_pic
=
7939 lt_prog_compiler_static
=
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7942 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7944 if test "$GCC" = yes; then
7945 lt_prog_compiler_wl
='-Wl,'
7946 lt_prog_compiler_static
='-static'
7950 # All AIX code is PIC.
7951 if test "$host_cpu" = ia64
; then
7952 # AIX 5 now supports IA64 processor
7953 lt_prog_compiler_static
='-Bstatic'
7960 # see comment about AmigaOS4 .so support
7961 lt_prog_compiler_pic
='-fPIC'
7964 # FIXME: we need at least 68020 code to build shared libraries, but
7965 # adding the `-m68020' flag to GCC prevents building anything better,
7967 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7972 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7973 # PIC is the default for these OSes.
7976 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7977 # This hack is so that the source file can tell whether it is being
7978 # built for inclusion in a dll (and should export symbols for example).
7979 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7980 # (--disable-auto-import) libraries
7981 lt_prog_compiler_pic
='-DDLL_EXPORT'
7984 darwin
* | rhapsody
*)
7985 # PIC is the default on this platform
7986 # Common symbols not allowed in MH_DYLIB files
7987 lt_prog_compiler_pic
='-fno-common'
7991 # PIC is the default for Haiku.
7992 # The "-static" flag exists, but is broken.
7993 lt_prog_compiler_static
=
7997 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7998 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7999 # sets the default TLS model and affects inlining.
8005 lt_prog_compiler_pic
='-fPIC'
8011 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8012 # Instead, we relocate shared libraries at runtime.
8016 # Just because we use GCC doesn't mean we suddenly get shared libraries
8017 # on systems that don't support them.
8018 lt_prog_compiler_can_build_shared
=no
8023 # QNX uses GNU C++, but need to define -shared option too, otherwise
8025 lt_prog_compiler_pic
='-fPIC -shared'
8029 if test -d /usr
/nec
; then
8030 lt_prog_compiler_pic
=-Kconform_pic
8035 lt_prog_compiler_pic
='-fPIC'
8039 case $cc_basename in
8040 nvcc
*) # Cuda Compiler Driver 2.2
8041 lt_prog_compiler_wl
='-Xlinker '
8042 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8046 # PORTME Check for flag to pass linker flags through the system compiler.
8049 lt_prog_compiler_wl
='-Wl,'
8050 if test "$host_cpu" = ia64
; then
8051 # AIX 5 now supports IA64 processor
8052 lt_prog_compiler_static
='-Bstatic'
8054 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8058 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8059 # This hack is so that the source file can tell whether it is being
8060 # built for inclusion in a dll (and should export symbols for example).
8061 lt_prog_compiler_pic
='-DDLL_EXPORT'
8064 hpux9
* | hpux10
* | hpux11
*)
8065 lt_prog_compiler_wl
='-Wl,'
8066 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8073 lt_prog_compiler_pic
='+Z'
8076 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8077 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8080 irix5
* | irix6
* | nonstopux
*)
8081 lt_prog_compiler_wl
='-Wl,'
8082 # PIC (with -KPIC) is the default.
8083 lt_prog_compiler_static
='-non_shared'
8086 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8087 case $cc_basename in
8088 # old Intel for x86_64 which still supported -KPIC.
8090 lt_prog_compiler_wl
='-Wl,'
8091 lt_prog_compiler_pic
='-KPIC'
8092 lt_prog_compiler_static
='-static'
8094 # icc used to be incompatible with GCC.
8095 # ICC 10 doesn't accept -KPIC any more.
8097 lt_prog_compiler_wl
='-Wl,'
8098 lt_prog_compiler_pic
='-fPIC'
8099 lt_prog_compiler_static
='-static'
8101 # Lahey Fortran 8.1.
8103 lt_prog_compiler_wl
='-Wl,'
8104 lt_prog_compiler_pic
='--shared'
8105 lt_prog_compiler_static
='--static'
8107 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8108 # Portland Group compilers (*not* the Pentium gcc compiler,
8109 # which looks to be a dead project)
8110 lt_prog_compiler_wl
='-Wl,'
8111 lt_prog_compiler_pic
='-fpic'
8112 lt_prog_compiler_static
='-Bstatic'
8115 lt_prog_compiler_wl
='-Wl,'
8116 # All Alpha code is PIC.
8117 lt_prog_compiler_static
='-non_shared'
8119 xl
* | bgxl
* | bgf
* | mpixl
*)
8120 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8121 lt_prog_compiler_wl
='-Wl,'
8122 lt_prog_compiler_pic
='-qpic'
8123 lt_prog_compiler_static
='-qstaticlink'
8126 case `$CC -V 2>&1 | sed 5q` in
8127 *Sun\ F
* |
*Sun
*Fortran
*)
8128 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8129 lt_prog_compiler_pic
='-KPIC'
8130 lt_prog_compiler_static
='-Bstatic'
8131 lt_prog_compiler_wl
=''
8135 lt_prog_compiler_pic
='-KPIC'
8136 lt_prog_compiler_static
='-Bstatic'
8137 lt_prog_compiler_wl
='-Wl,'
8145 lt_prog_compiler_pic
='-KPIC'
8146 lt_prog_compiler_static
='-Bstatic'
8150 # QNX uses GNU C++, but need to define -shared option too, otherwise
8152 lt_prog_compiler_pic
='-fPIC -shared'
8155 osf3
* | osf4
* | osf5
*)
8156 lt_prog_compiler_wl
='-Wl,'
8157 # All OSF/1 code is PIC.
8158 lt_prog_compiler_static
='-non_shared'
8162 lt_prog_compiler_static
='-non_shared'
8166 lt_prog_compiler_pic
='-KPIC'
8167 lt_prog_compiler_static
='-Bstatic'
8168 case $cc_basename in
8170 lt_prog_compiler_wl
='-Qoption ld ';;
8172 lt_prog_compiler_wl
='-Wl,';;
8177 lt_prog_compiler_wl
='-Qoption ld '
8178 lt_prog_compiler_pic
='-PIC'
8179 lt_prog_compiler_static
='-Bstatic'
8182 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8183 lt_prog_compiler_wl
='-Wl,'
8184 lt_prog_compiler_pic
='-KPIC'
8185 lt_prog_compiler_static
='-Bstatic'
8189 if test -d /usr
/nec
;then
8190 lt_prog_compiler_pic
='-Kconform_pic'
8191 lt_prog_compiler_static
='-Bstatic'
8195 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8196 lt_prog_compiler_wl
='-Wl,'
8197 lt_prog_compiler_pic
='-KPIC'
8198 lt_prog_compiler_static
='-Bstatic'
8202 lt_prog_compiler_wl
='-Wl,'
8203 lt_prog_compiler_can_build_shared
=no
8207 lt_prog_compiler_pic
='-pic'
8208 lt_prog_compiler_static
='-Bstatic'
8212 lt_prog_compiler_can_build_shared
=no
8218 # For platforms which do not support PIC, -DPIC is meaningless:
8220 lt_prog_compiler_pic
=
8223 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8227 $as_echo "$lt_prog_compiler_pic" >&6; }
8235 # Check to make sure the PIC flag actually works.
8237 if test -n "$lt_prog_compiler_pic"; then
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8239 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8240 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8241 $as_echo_n "(cached) " >&6
8243 lt_cv_prog_compiler_pic_works
=no
8244 ac_outfile
=conftest.
$ac_objext
8245 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8246 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8247 # Insert the option either (1) after the last *FLAGS variable, or
8248 # (2) before a word containing "conftest.", or (3) at the end.
8249 # Note that $ac_compile itself does not contain backslashes and begins
8250 # with a dollar sign (not a hyphen), so the echo should work correctly.
8251 # The option is referenced via a variable to avoid confusing sed.
8252 lt_compile
=`echo "$ac_compile" | $SED \
8253 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8254 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8255 -e 's:$: $lt_compiler_flag:'`
8256 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8257 (eval "$lt_compile" 2>conftest.err
)
8259 cat conftest.err
>&5
8260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8261 if (exit $ac_status) && test -s "$ac_outfile"; then
8262 # The compiler can only warn and ignore the option if not recognized
8263 # So say no if there are warnings other than the usual output.
8264 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8265 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8266 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8267 lt_cv_prog_compiler_pic_works
=yes
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8274 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8276 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8277 case $lt_prog_compiler_pic in
8279 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8282 lt_prog_compiler_pic
=
8283 lt_prog_compiler_can_build_shared
=no
8294 # Check to make sure the static flag actually works.
8296 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8298 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8299 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8300 $as_echo_n "(cached) " >&6
8302 lt_cv_prog_compiler_static_works
=no
8303 save_LDFLAGS
="$LDFLAGS"
8304 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8305 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8306 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8307 # The linker can only warn and ignore the option if not recognized
8308 # So say no if there are warnings
8309 if test -s conftest.err
; then
8310 # Append any errors to the config.log.
8311 cat conftest.err
1>&5
8312 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8313 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8314 if diff conftest.exp conftest.er2
>/dev
/null
; then
8315 lt_cv_prog_compiler_static_works
=yes
8318 lt_cv_prog_compiler_static_works
=yes
8322 LDFLAGS
="$save_LDFLAGS"
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8326 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8328 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8331 lt_prog_compiler_static
=
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8341 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8342 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8343 $as_echo_n "(cached) " >&6
8345 lt_cv_prog_compiler_c_o
=no
8346 $RM -r conftest
2>/dev
/null
8350 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8352 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8353 # Insert the option either (1) after the last *FLAGS variable, or
8354 # (2) before a word containing "conftest.", or (3) at the end.
8355 # Note that $ac_compile itself does not contain backslashes and begins
8356 # with a dollar sign (not a hyphen), so the echo should work correctly.
8357 lt_compile
=`echo "$ac_compile" | $SED \
8358 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8359 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8360 -e 's:$: $lt_compiler_flag:'`
8361 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8362 (eval "$lt_compile" 2>out
/conftest.err
)
8364 cat out
/conftest.err
>&5
8365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8366 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8368 # The compiler can only warn and ignore the option if not recognized
8369 # So say no if there are warnings
8370 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8371 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8372 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8373 lt_cv_prog_compiler_c_o
=yes
8378 # SGI C++ compiler will create directory out/ii_files/ for
8379 # template instantiation
8380 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8381 $RM out
/* && rmdir out
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8388 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8396 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8397 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8398 $as_echo_n "(cached) " >&6
8400 lt_cv_prog_compiler_c_o
=no
8401 $RM -r conftest
2>/dev
/null
8405 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8407 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8408 # Insert the option either (1) after the last *FLAGS variable, or
8409 # (2) before a word containing "conftest.", or (3) at the end.
8410 # Note that $ac_compile itself does not contain backslashes and begins
8411 # with a dollar sign (not a hyphen), so the echo should work correctly.
8412 lt_compile
=`echo "$ac_compile" | $SED \
8413 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8414 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8415 -e 's:$: $lt_compiler_flag:'`
8416 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8417 (eval "$lt_compile" 2>out
/conftest.err
)
8419 cat out
/conftest.err
>&5
8420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8421 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8423 # The compiler can only warn and ignore the option if not recognized
8424 # So say no if there are warnings
8425 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8426 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8427 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8428 lt_cv_prog_compiler_c_o
=yes
8433 # SGI C++ compiler will create directory out/ii_files/ for
8434 # template instantiation
8435 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8436 $RM out
/* && rmdir out
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8443 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8448 hard_links
="nottested"
8449 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8450 # do not overwrite the value of need_locks provided by the user
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8452 $as_echo_n "checking if we can lock with hard links... " >&6; }
8455 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8457 ln conftest.a conftest.b
2>&5 || hard_links
=no
8458 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8460 $as_echo "$hard_links" >&6; }
8461 if test "$hard_links" = no
; then
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8463 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8476 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8479 allow_undefined_flag
=
8480 always_export_symbols
=no
8482 archive_expsym_cmds
=
8483 compiler_needs_object
=no
8484 enable_shared_with_static_runtimes
=no
8485 export_dynamic_flag_spec
=
8486 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8487 hardcode_automatic
=no
8489 hardcode_direct_absolute
=no
8490 hardcode_libdir_flag_spec
=
8491 hardcode_libdir_flag_spec_ld
=
8492 hardcode_libdir_separator
=
8494 hardcode_shlibpath_var
=unsupported
8496 link_all_deplibs
=unknown
8499 old_archive_from_new_cmds
=
8500 old_archive_from_expsyms_cmds
=
8501 thread_safe_flag_spec
=
8502 whole_archive_flag_spec
=
8503 # include_expsyms should be a list of space-separated symbols to be *always*
8504 # included in the symbol list
8506 # exclude_expsyms can be an extended regexp of symbols to exclude
8507 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8508 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8509 # as well as any symbol that contains `d'.
8510 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8511 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8512 # platforms (ab)use it in PIC code, but their linkers get confused if
8513 # the symbol is explicitly referenced. Since portable code cannot
8514 # rely on this symbol name, it's probably fine to never include it in
8515 # preloaded symbol tables.
8516 # Exclude shared library initialization/finalization symbols.
8517 extract_expsyms_cmds
=
8520 cygwin
* | mingw
* | pw32
* | cegcc
*)
8521 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8522 # When not using gcc, we currently assume that we are using
8523 # Microsoft Visual C++.
8524 if test "$GCC" != yes; then
8529 # we just hope/assume this is gcc and not c89 (= MSVC++)
8539 # On some targets, GNU ld is compatible enough with the native linker
8540 # that we're better off using the native interface for both.
8541 lt_use_gnu_ld_interface
=no
8542 if test "$with_gnu_ld" = yes; then
8545 # The AIX port of GNU ld has always aspired to compatibility
8546 # with the native linker. However, as the warning in the GNU ld
8547 # block says, versions before 2.19.5* couldn't really create working
8548 # shared libraries, regardless of the interface used.
8549 case `$LD -v 2>&1` in
8550 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8551 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8552 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8554 lt_use_gnu_ld_interface
=yes
8559 lt_use_gnu_ld_interface
=yes
8564 if test "$lt_use_gnu_ld_interface" = yes; then
8565 # If archive_cmds runs LD, not CC, wlarc should be empty
8568 # Set some defaults for GNU ld with shared library support. These
8569 # are reset later if shared libraries are not supported. Putting them
8570 # here allows them to be overridden if necessary.
8571 runpath_var
=LD_RUN_PATH
8572 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8573 export_dynamic_flag_spec
='${wl}--export-dynamic'
8574 # ancient GNU ld didn't support --whole-archive et. al.
8575 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8576 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8578 whole_archive_flag_spec
=
8580 supports_anon_versioning
=no
8581 case `$LD -v 2>&1` in
8582 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8583 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8584 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8585 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8586 *\
2.11.
*) ;; # other 2.11 versions
8587 *) supports_anon_versioning
=yes ;;
8590 # See if GNU ld supports shared libraries.
8593 # On AIX/PPC, the GNU linker is very broken
8594 if test "$host_cpu" != ia64
; then
8598 *** Warning: the GNU linker, at least up to release 2.19, is reported
8599 *** to be unable to reliably create shared libraries on AIX.
8600 *** Therefore, libtool is disabling shared libraries support. If you
8601 *** really care for shared libraries, you may want to install binutils
8602 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8603 *** You will then need to restart the configuration process.
8612 # see comment about AmigaOS4 .so support
8613 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8614 archive_expsym_cmds
=''
8617 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)'
8618 hardcode_libdir_flag_spec
='-L$libdir'
8619 hardcode_minus_L
=yes
8625 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8626 allow_undefined_flag
=unsupported
8627 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8628 # support --undefined. This deserves some investigation. FIXME
8629 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8635 cygwin
* | mingw
* | pw32
* | cegcc
*)
8636 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8637 # as there is no search path for DLLs.
8638 hardcode_libdir_flag_spec
='-L$libdir'
8639 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8640 allow_undefined_flag
=unsupported
8641 always_export_symbols
=no
8642 enable_shared_with_static_runtimes
=yes
8643 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8645 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8646 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8647 # If the export-symbols file already is a .def file (1st line
8648 # is EXPORTS), use it as is; otherwise, prepend...
8649 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8650 cp $export_symbols $output_objdir/$soname.def;
8652 echo EXPORTS > $output_objdir/$soname.def;
8653 cat $export_symbols >> $output_objdir/$soname.def;
8655 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8662 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8663 link_all_deplibs
=yes
8668 hardcode_shlibpath_var
=no
8669 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8670 export_dynamic_flag_spec
='${wl}-E'
8671 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8672 # Instead, shared libraries are loaded at an image base (0x10000000 by
8673 # default) and relocated if they conflict, which is a slow very memory
8674 # consuming and fragmenting process. To avoid this, we pick a random,
8675 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8676 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8677 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8678 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'
8681 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8683 if test "$host_os" = linux-dietlibc
; then
8684 case $cc_basename in
8685 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8688 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8689 && test "$tmp_diet" = no
8692 tmp_sharedflag
='-shared'
8693 case $cc_basename,$host_cpu in
8694 pgcc
*) # Portland Group C compiler
8695 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'
8696 tmp_addflag
=' $pic_flag'
8698 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8699 # Portland Group f77 and f90 compilers
8700 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'
8701 tmp_addflag
=' $pic_flag -Mnomain' ;;
8702 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8703 tmp_addflag
=' -i_dynamic' ;;
8704 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8705 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8706 ifc
* | ifort
*) # Intel Fortran compiler
8707 tmp_addflag
=' -nofor_main' ;;
8708 lf95
*) # Lahey Fortran 8.1
8709 whole_archive_flag_spec
=
8710 tmp_sharedflag
='--shared' ;;
8711 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8712 tmp_sharedflag
='-qmkshrobj'
8714 nvcc
*) # Cuda Compiler Driver 2.2
8715 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'
8716 compiler_needs_object
=yes
8719 case `$CC -V 2>&1 | sed 5q` in
8720 *Sun\ C
*) # Sun C 5.9
8721 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'
8722 compiler_needs_object
=yes
8723 tmp_sharedflag
='-G' ;;
8724 *Sun\ F
*) # Sun Fortran 8.3
8725 tmp_sharedflag
='-G' ;;
8727 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8729 if test "x$supports_anon_versioning" = xyes
; then
8730 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8731 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8732 echo "local: *; };" >> $output_objdir/$libname.ver~
8733 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8736 case $cc_basename in
8737 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8738 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8739 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8740 hardcode_libdir_flag_spec
=
8741 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8742 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8743 if test "x$supports_anon_versioning" = xyes
; then
8744 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8745 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8746 echo "local: *; };" >> $output_objdir/$libname.ver~
8747 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8757 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8758 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8761 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8762 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8767 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8771 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8772 *** create shared libraries on Solaris systems. Therefore, libtool
8773 *** is disabling shared libraries support. We urge you to upgrade GNU
8774 *** binutils to release 2.9.1 or newer. Another option is to modify
8775 *** your PATH or compiler configuration so that the native linker is
8776 *** used, and then restart.
8779 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8780 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8781 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8787 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8788 case `$LD -v 2>&1` in
8789 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8793 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8794 *** reliably create shared libraries on SCO systems. Therefore, libtool
8795 *** is disabling shared libraries support. We urge you to upgrade GNU
8796 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8797 *** your PATH or compiler configuration so that the native linker is
8798 *** used, and then restart.
8803 # For security reasons, it is highly recommended that you always
8804 # use absolute paths for naming shared libraries, and exclude the
8805 # DT_RUNPATH tag from executables and libraries. But doing so
8806 # requires that you compile everything twice, which is a pain.
8807 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8808 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8809 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8810 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8819 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8822 hardcode_shlibpath_var
=no
8826 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8827 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8828 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8835 if test "$ld_shlibs" = no
; then
8837 hardcode_libdir_flag_spec
=
8838 export_dynamic_flag_spec
=
8839 whole_archive_flag_spec
=
8842 # PORTME fill in a description of your system's linker (not GNU ld)
8845 allow_undefined_flag
=unsupported
8846 always_export_symbols
=yes
8847 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'
8848 # Note: this linker hardcodes the directories in LIBPATH if there
8849 # are no directories specified by -L.
8850 hardcode_minus_L
=yes
8851 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8852 # Neither direct hardcoding nor static linking is supported with a
8854 hardcode_direct
=unsupported
8859 if test "$host_cpu" = ia64
; then
8860 # On IA64, the linker does run time linking by default, so we don't
8861 # have to do anything special.
8862 aix_use_runtimelinking
=no
8863 exp_sym_flag
='-Bexport'
8866 # If we're using GNU nm, then we don't want the "-C" option.
8867 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8868 # Also, AIX nm treats weak defined symbols like other global
8869 # defined symbols, whereas GNU nm marks them as "W".
8870 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8871 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'
8873 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8875 aix_use_runtimelinking
=no
8877 # Test if we are trying to use run time linking or normal
8878 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8879 # need to do runtime linking.
8880 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8881 for ld_flag
in $LDFLAGS; do
8882 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8883 aix_use_runtimelinking
=yes
8890 exp_sym_flag
='-bexport'
8891 no_entry_flag
='-bnoentry'
8894 # When large executables or shared objects are built, AIX ld can
8895 # have problems creating the table of contents. If linking a library
8896 # or program results in "error TOC overflow" add -mminimal-toc to
8897 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8898 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8902 hardcode_direct_absolute
=yes
8903 hardcode_libdir_separator
=':'
8904 link_all_deplibs
=yes
8905 file_list_spec
='${wl}-f,'
8907 if test "$GCC" = yes; then
8908 case $host_os in aix4.
[012]|aix4.
[012].
*)
8909 # We only want to do this on AIX 4.2 and lower, the check
8910 # below for broken collect2 doesn't work under 4.3+
8911 collect2name
=`${CC} -print-prog-name=collect2`
8912 if test -f "$collect2name" &&
8913 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8915 # We have reworked collect2
8918 # We have old collect2
8919 hardcode_direct
=unsupported
8920 # It fails to find uninstalled libraries when the uninstalled
8921 # path is not listed in the libpath. Setting hardcode_minus_L
8922 # to unsupported forces relinking
8923 hardcode_minus_L
=yes
8924 hardcode_libdir_flag_spec
='-L$libdir'
8925 hardcode_libdir_separator
=
8929 shared_flag
='-shared'
8930 if test "$aix_use_runtimelinking" = yes; then
8931 shared_flag
="$shared_flag "'${wl}-G'
8935 if test "$host_cpu" = ia64
; then
8936 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8937 # chokes on -Wl,-G. The following line is correct:
8940 if test "$aix_use_runtimelinking" = yes; then
8941 shared_flag
='${wl}-G'
8943 shared_flag
='${wl}-bM:SRE'
8948 export_dynamic_flag_spec
='${wl}-bexpall'
8949 # It seems that -bexpall does not export symbols beginning with
8950 # underscore (_), so it is better to generate a list of symbols to export.
8951 always_export_symbols
=yes
8952 if test "$aix_use_runtimelinking" = yes; then
8953 # Warning - without using the other runtime loading flags (-brtl),
8954 # -berok will link without error, but may produce a broken library.
8955 allow_undefined_flag
='-berok'
8956 # Determine the default libpath from the value encoded in an
8958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8959 /* end confdefs.h. */
8969 if ac_fn_c_try_link
"$LINENO"; then :
8971 lt_aix_libpath_sed
='
8972 /Import File Strings/,/^$/ {
8978 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8979 # Check for a 64-bit object if we didn't find anything.
8980 if test -z "$aix_libpath"; then
8981 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8984 rm -f core conftest.err conftest.
$ac_objext \
8985 conftest
$ac_exeext conftest.
$ac_ext
8986 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8988 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8989 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"
8991 if test "$host_cpu" = ia64
; then
8992 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8993 allow_undefined_flag
="-z nodefs"
8994 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"
8996 # Determine the default libpath from the value encoded in an
8998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8999 /* end confdefs.h. */
9009 if ac_fn_c_try_link
"$LINENO"; then :
9011 lt_aix_libpath_sed
='
9012 /Import File Strings/,/^$/ {
9018 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9019 # Check for a 64-bit object if we didn't find anything.
9020 if test -z "$aix_libpath"; then
9021 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9024 rm -f core conftest.err conftest.
$ac_objext \
9025 conftest
$ac_exeext conftest.
$ac_ext
9026 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9028 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9029 # Warning - without using the other run time loading flags,
9030 # -berok will link without error, but may produce a broken library.
9031 no_undefined_flag
=' ${wl}-bernotok'
9032 allow_undefined_flag
=' ${wl}-berok'
9033 if test "$with_gnu_ld" = yes; then
9034 # We only use this code for GNU lds that support --whole-archive.
9035 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9037 # Exported symbols can be pulled into shared objects from archives
9038 whole_archive_flag_spec
='$convenience'
9040 archive_cmds_need_lc
=yes
9041 # This is similar to how AIX traditionally builds its shared libraries.
9042 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'
9050 # see comment about AmigaOS4 .so support
9051 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9052 archive_expsym_cmds
=''
9055 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)'
9056 hardcode_libdir_flag_spec
='-L$libdir'
9057 hardcode_minus_L
=yes
9063 export_dynamic_flag_spec
=-rdynamic
9066 cygwin
* | mingw
* | pw32
* | cegcc
*)
9067 # When not using gcc, we currently assume that we are using
9068 # Microsoft Visual C++.
9069 # hardcode_libdir_flag_spec is actually meaningless, as there is
9070 # no search path for DLLs.
9071 hardcode_libdir_flag_spec
=' '
9072 allow_undefined_flag
=unsupported
9073 # Tell ltmain to make .lib files, not .a files.
9075 # Tell ltmain to make .dll files, not .so files.
9077 # FIXME: Setting linknames here is a bad hack.
9078 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9079 # The linker will automatically build a .lib file if we build a DLL.
9080 old_archive_from_new_cmds
='true'
9081 # FIXME: Should let the user specify the lib program.
9082 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9083 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9084 enable_shared_with_static_runtimes
=yes
9087 darwin
* | rhapsody
*)
9090 archive_cmds_need_lc
=no
9092 hardcode_automatic
=yes
9093 hardcode_shlibpath_var
=unsupported
9094 if test "$lt_cv_ld_force_load" = "yes"; then
9095 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\"`'
9097 whole_archive_flag_spec
=''
9099 link_all_deplibs
=yes
9100 allow_undefined_flag
="$_lt_dar_allow_undefined"
9101 case $cc_basename in
9102 ifort
*) _lt_dar_can_shared
=yes ;;
9103 *) _lt_dar_can_shared
=$GCC ;;
9105 if test "$_lt_dar_can_shared" = "yes"; then
9106 output_verbose_link_cmd
=func_echo_all
9107 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9108 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9109 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}"
9110 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}"
9119 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9120 hardcode_libdir_flag_spec
='-L$libdir'
9121 hardcode_shlibpath_var
=no
9128 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9129 # support. Future versions do this automatically, but an explicit c++rt0.o
9130 # does not break anything, and helps significantly (at the cost of a little
9133 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9134 hardcode_libdir_flag_spec
='-R$libdir'
9136 hardcode_shlibpath_var
=no
9139 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9141 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9143 hardcode_minus_L
=yes
9144 hardcode_shlibpath_var
=no
9147 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9148 freebsd
* | dragonfly
*)
9149 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9150 hardcode_libdir_flag_spec
='-R$libdir'
9152 hardcode_shlibpath_var
=no
9156 if test "$GCC" = yes; then
9157 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'
9159 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'
9161 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9162 hardcode_libdir_separator
=:
9165 # hardcode_minus_L: Not really in the search PATH,
9166 # but as the default location of the library.
9167 hardcode_minus_L
=yes
9168 export_dynamic_flag_spec
='${wl}-E'
9172 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9173 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9175 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9177 if test "$with_gnu_ld" = no
; then
9178 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9179 hardcode_libdir_flag_spec_ld
='+b $libdir'
9180 hardcode_libdir_separator
=:
9182 hardcode_direct_absolute
=yes
9183 export_dynamic_flag_spec
='${wl}-E'
9184 # hardcode_minus_L: Not really in the search PATH,
9185 # but as the default location of the library.
9186 hardcode_minus_L
=yes
9191 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9194 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9197 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9200 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9206 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9209 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9213 # Older versions of the 11.00 compiler do not understand -b yet
9214 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9216 $as_echo_n "checking if $CC understands -b... " >&6; }
9217 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9218 $as_echo_n "(cached) " >&6
9220 lt_cv_prog_compiler__b
=no
9221 save_LDFLAGS
="$LDFLAGS"
9222 LDFLAGS
="$LDFLAGS -b"
9223 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9224 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9225 # The linker can only warn and ignore the option if not recognized
9226 # So say no if there are warnings
9227 if test -s conftest.err
; then
9228 # Append any errors to the config.log.
9229 cat conftest.err
1>&5
9230 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9231 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9232 if diff conftest.exp conftest.er2
>/dev
/null
; then
9233 lt_cv_prog_compiler__b
=yes
9236 lt_cv_prog_compiler__b
=yes
9240 LDFLAGS
="$save_LDFLAGS"
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9244 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9246 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9247 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9249 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9255 if test "$with_gnu_ld" = no
; then
9256 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9257 hardcode_libdir_separator
=:
9262 hardcode_shlibpath_var
=no
9266 hardcode_direct_absolute
=yes
9267 export_dynamic_flag_spec
='${wl}-E'
9269 # hardcode_minus_L: Not really in the search PATH,
9270 # but as the default location of the library.
9271 hardcode_minus_L
=yes
9277 irix5
* | irix6
* | nonstopux
*)
9278 if test "$GCC" = yes; then
9279 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'
9280 # Try to use the -exported_symbol ld option, if it does not
9281 # work, assume that -exports_file does not work either and
9282 # implicitly export all symbols.
9283 save_LDFLAGS
="$LDFLAGS"
9284 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9286 /* end confdefs.h. */
9289 if ac_fn_c_try_link
"$LINENO"; then :
9290 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'
9293 rm -f core conftest.err conftest.
$ac_objext \
9294 conftest
$ac_exeext conftest.
$ac_ext
9295 LDFLAGS
="$save_LDFLAGS"
9297 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'
9298 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'
9300 archive_cmds_need_lc
='no'
9301 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9302 hardcode_libdir_separator
=:
9304 link_all_deplibs
=yes
9308 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9309 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9311 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9313 hardcode_libdir_flag_spec
='-R$libdir'
9315 hardcode_shlibpath_var
=no
9319 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9321 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9322 hardcode_libdir_separator
=:
9323 hardcode_shlibpath_var
=no
9330 if test -f /usr
/libexec
/ld.so
; then
9332 hardcode_shlibpath_var
=no
9333 hardcode_direct_absolute
=yes
9334 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9335 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9336 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9337 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9338 export_dynamic_flag_spec
='${wl}-E'
9341 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9342 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9343 hardcode_libdir_flag_spec
='-R$libdir'
9346 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9347 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9357 hardcode_libdir_flag_spec
='-L$libdir'
9358 hardcode_minus_L
=yes
9359 allow_undefined_flag
=unsupported
9360 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'
9361 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9365 if test "$GCC" = yes; then
9366 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9367 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'
9369 allow_undefined_flag
=' -expect_unresolved \*'
9370 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'
9372 archive_cmds_need_lc
='no'
9373 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9374 hardcode_libdir_separator
=:
9377 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9378 if test "$GCC" = yes; then
9379 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9380 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'
9381 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9383 allow_undefined_flag
=' -expect_unresolved \*'
9384 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'
9385 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~
9386 $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'
9388 # Both c and cxx compiler support -rpath directly
9389 hardcode_libdir_flag_spec
='-rpath $libdir'
9391 archive_cmds_need_lc
='no'
9392 hardcode_libdir_separator
=:
9396 no_undefined_flag
=' -z defs'
9397 if test "$GCC" = yes; then
9399 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9400 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9401 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9403 case `$CC -V 2>&1` in
9406 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9407 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9408 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9412 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9413 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9414 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9418 hardcode_libdir_flag_spec
='-R$libdir'
9419 hardcode_shlibpath_var
=no
9421 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9423 # The compiler driver will combine and reorder linker options,
9424 # but understands `-z linker_flag'. GCC discards it without `$wl',
9425 # but is careful enough not to reorder.
9426 # Supported since Solaris 2.6 (maybe 2.5.1?)
9427 if test "$GCC" = yes; then
9428 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9430 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9434 link_all_deplibs
=yes
9438 if test "x$host_vendor" = xsequent
; then
9439 # Use $CC to link under sequent, because it throws in some extra .o
9440 # files that make .init and .fini sections work.
9441 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9443 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9445 hardcode_libdir_flag_spec
='-L$libdir'
9447 hardcode_minus_L
=yes
9448 hardcode_shlibpath_var
=no
9452 case $host_vendor in
9454 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9455 hardcode_direct
=yes # is this really true???
9458 ## LD is ld it makes a PLAMLIB
9459 ## CC just makes a GrossModule.
9460 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9461 reload_cmds
='$CC -r -o $output$reload_objs'
9465 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9466 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9469 runpath_var
='LD_RUN_PATH'
9470 hardcode_shlibpath_var
=no
9474 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9475 hardcode_shlibpath_var
=no
9476 export_dynamic_flag_spec
='-Bexport'
9480 if test -d /usr
/nec
; then
9481 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9482 hardcode_shlibpath_var
=no
9483 runpath_var
=LD_RUN_PATH
9484 hardcode_runpath_var
=yes
9489 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9490 no_undefined_flag
='${wl}-z,text'
9491 archive_cmds_need_lc
=no
9492 hardcode_shlibpath_var
=no
9493 runpath_var
='LD_RUN_PATH'
9495 if test "$GCC" = yes; then
9496 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9497 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9499 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9500 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9504 sysv5
* | sco3.2v5
* | sco5v6
*)
9505 # Note: We can NOT use -z defs as we might desire, because we do not
9506 # link with -lc, and that would cause any symbols used from libc to
9507 # always be unresolved, which means just about no library would
9508 # ever link correctly. If we're not using GNU ld we use -z text
9509 # though, which does catch some bad symbols but isn't as heavy-handed
9511 no_undefined_flag
='${wl}-z,text'
9512 allow_undefined_flag
='${wl}-z,nodefs'
9513 archive_cmds_need_lc
=no
9514 hardcode_shlibpath_var
=no
9515 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9516 hardcode_libdir_separator
=':'
9517 link_all_deplibs
=yes
9518 export_dynamic_flag_spec
='${wl}-Bexport'
9519 runpath_var
='LD_RUN_PATH'
9521 if test "$GCC" = yes; then
9522 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9523 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9525 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9526 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9531 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9532 hardcode_libdir_flag_spec
='-L$libdir'
9533 hardcode_shlibpath_var
=no
9541 if test x
$host_vendor = xsni
; then
9543 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9544 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9551 $as_echo "$ld_shlibs" >&6; }
9552 test "$ld_shlibs" = no
&& can_build_shared
=no
9554 with_gnu_ld
=$with_gnu_ld
9571 # Do we need to explicitly link libc?
9573 case "x$archive_cmds_need_lc" in
9575 # Assume -lc should be added
9576 archive_cmds_need_lc
=yes
9578 if test "$enable_shared" = yes && test "$GCC" = yes; then
9579 case $archive_cmds in
9581 # FIXME: we may have to deal with multi-command sequences.
9584 # Test whether the compiler implicitly links with -lc since on some
9585 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9586 # to ld, don't add -lc before -lgcc.
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9588 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9589 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9590 $as_echo_n "(cached) " >&6
9593 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9595 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9596 (eval $ac_compile) 2>&5
9598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9599 test $ac_status = 0; } 2>conftest.err
; then
9602 libobjs
=conftest.
$ac_objext
9604 wl
=$lt_prog_compiler_wl
9605 pic_flag
=$lt_prog_compiler_pic
9611 lt_save_allow_undefined_flag
=$allow_undefined_flag
9612 allow_undefined_flag
=
9613 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9614 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9617 test $ac_status = 0; }
9619 lt_cv_archive_cmds_need_lc
=no
9621 lt_cv_archive_cmds_need_lc
=yes
9623 allow_undefined_flag
=$lt_save_allow_undefined_flag
9625 cat conftest.err
1>&5
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9631 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9632 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9796 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9798 if test "$GCC" = yes; then
9800 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9801 *) lt_awk_arg
="/^libraries:/" ;;
9804 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9805 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9807 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9808 case $lt_search_path_spec in
9810 # if the path contains ";" then we assume it to be the separator
9811 # otherwise default to the standard path separator (i.e. ":") - it is
9812 # assumed that no part of a normal pathname contains ";" but that should
9813 # okay in the real world where ";" in dirpaths is itself problematic.
9814 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9817 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9820 # Ok, now we have the path, separated by spaces, we can step through it
9821 # and add multilib dir if necessary.
9822 lt_tmp_lt_search_path_spec
=
9823 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9824 for lt_sys_path
in $lt_search_path_spec; do
9825 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9826 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9828 test -d "$lt_sys_path" && \
9829 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9832 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9833 BEGIN {RS=" "; FS="/|\n";} {
9836 for (lt_i = NF; lt_i > 0; lt_i--) {
9837 if ($lt_i != "" && $lt_i != ".") {
9838 if ($lt_i == "..") {
9841 if (lt_count == 0) {
9842 lt_foo="/" $lt_i lt_foo;
9849 if (lt_foo != "") { lt_freq[lt_foo]++; }
9850 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9852 # AWK program above erroneously prepends '/' to C:/dos/paths
9855 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9856 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9858 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9860 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9863 libname_spec
='lib$name'
9871 shlibpath_overrides_runpath
=unknown
9873 dynamic_linker
="$host_os ld.so"
9874 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9875 need_lib_prefix
=unknown
9876 hardcode_into_libs
=no
9878 # when you set need_version to no, make sure it does not cause -set_version
9879 # flags to be left without arguments
9880 need_version
=unknown
9885 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9886 shlibpath_var
=LIBPATH
9888 # AIX 3 has no versioning support, so we append a major version to the name.
9889 soname_spec
='${libname}${release}${shared_ext}$major'
9896 hardcode_into_libs
=yes
9897 if test "$host_cpu" = ia64
; then
9898 # AIX 5 supports IA64
9899 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9900 shlibpath_var
=LD_LIBRARY_PATH
9902 # With GCC up to 2.95.x, collect2 would create an import file
9903 # for dependence libraries. The import file would start with
9904 # the line `#! .'. This would cause the generated library to
9905 # depend on `.', always an invalid library. This was fixed in
9906 # development snapshots of GCC prior to 3.0.
9908 aix4 | aix4.
[01] | aix4.
[01].
*)
9909 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9911 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9918 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9919 # soname into executable. Probably we can add versioning support to
9920 # collect2, so additional links can be useful in future.
9921 if test "$aix_use_runtimelinking" = yes; then
9922 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9923 # instead of lib<name>.a to let people know that these are not
9924 # typical AIX shared libraries.
9925 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9927 # We preserve .a as extension for shared libraries through AIX4.2
9928 # and later when we are not doing run time linking.
9929 library_names_spec
='${libname}${release}.a $libname.a'
9930 soname_spec
='${libname}${release}${shared_ext}$major'
9932 shlibpath_var
=LIBPATH
9939 # Since July 2007 AmigaOS4 officially supports .so libraries.
9940 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9941 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9944 library_names_spec
='$libname.ixlibrary $libname.a'
9945 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9946 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'
9952 library_names_spec
='${libname}${shared_ext}'
9953 dynamic_linker
="$host_os ld.so"
9954 shlibpath_var
=LIBRARY_PATH
9960 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9961 soname_spec
='${libname}${release}${shared_ext}$major'
9962 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9963 shlibpath_var
=LD_LIBRARY_PATH
9964 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9965 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9966 # the default ld.so.conf also contains /usr/contrib/lib and
9967 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9968 # libtool to hard-code these into programs
9971 cygwin
* | mingw
* | pw32
* | cegcc
*)
9972 version_type
=windows
9977 case $GCC,$host_os in
9978 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9979 library_names_spec
='$libname.dll.a'
9980 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9981 postinstall_cmds
='base_file=`basename \${file}`~
9982 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9983 dldir=$destdir/`dirname \$dlpath`~
9984 test -d \$dldir || mkdir -p \$dldir~
9985 $install_prog $dir/$dlname \$dldir/$dlname~
9986 chmod a+x \$dldir/$dlname~
9987 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9988 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9990 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9991 dlpath=$dir/\$dldll~
9993 shlibpath_overrides_runpath
=yes
9997 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9998 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10000 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10003 # MinGW DLLs use traditional 'lib' prefix
10004 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10007 # pw32 DLLs use 'pw' prefix rather than 'lib'
10008 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10014 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10017 dynamic_linker
='Win32 ld.exe'
10018 # FIXME: first we should search . and the directory the executable is in
10022 darwin
* | rhapsody
*)
10023 dynamic_linker
="$host_os dyld"
10024 version_type
=darwin
10027 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10028 soname_spec
='${libname}${release}${major}$shared_ext'
10029 shlibpath_overrides_runpath
=yes
10030 shlibpath_var
=DYLD_LIBRARY_PATH
10031 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10033 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10034 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10041 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10042 soname_spec
='${libname}${release}${shared_ext}$major'
10043 shlibpath_var
=LD_LIBRARY_PATH
10050 freebsd
* | dragonfly
*)
10051 # DragonFly does not have aout. When/if they implement a new
10052 # versioning mechanism, adjust this.
10053 if test -x /usr
/bin
/objformat
; then
10054 objformat
=`/usr/bin/objformat`
10057 freebsd
[123]*) objformat
=aout
;;
10058 *) objformat
=elf
;;
10061 version_type
=freebsd-
$objformat
10062 case $version_type in
10064 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10069 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10073 shlibpath_var
=LD_LIBRARY_PATH
10076 shlibpath_overrides_runpath
=yes
10078 freebsd3.
[01]* | freebsdelf3.
[01]*)
10079 shlibpath_overrides_runpath
=yes
10080 hardcode_into_libs
=yes
10082 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10083 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10084 shlibpath_overrides_runpath
=no
10085 hardcode_into_libs
=yes
10087 *) # from 4.6 on, and DragonFly
10088 shlibpath_overrides_runpath
=yes
10089 hardcode_into_libs
=yes
10098 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10099 soname_spec
='${libname}${release}${shared_ext}$major'
10100 shlibpath_var
=LD_LIBRARY_PATH
10101 hardcode_into_libs
=yes
10108 dynamic_linker
="$host_os runtime_loader"
10109 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10110 soname_spec
='${libname}${release}${shared_ext}$major'
10111 shlibpath_var
=LIBRARY_PATH
10112 shlibpath_overrides_runpath
=yes
10113 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10114 hardcode_into_libs
=yes
10117 hpux9
* | hpux10
* | hpux11
*)
10118 # Give a soname corresponding to the major version so that dld.sl refuses to
10119 # link against other versions.
10126 hardcode_into_libs
=yes
10127 dynamic_linker
="$host_os dld.so"
10128 shlibpath_var
=LD_LIBRARY_PATH
10129 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10130 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10131 soname_spec
='${libname}${release}${shared_ext}$major'
10132 if test "X$HPUX_IA64_MODE" = X32
; then
10133 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10135 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10137 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10141 hardcode_into_libs
=yes
10142 dynamic_linker
="$host_os dld.sl"
10143 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10144 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10145 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10146 soname_spec
='${libname}${release}${shared_ext}$major'
10147 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10148 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10152 dynamic_linker
="$host_os dld.sl"
10153 shlibpath_var
=SHLIB_PATH
10154 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10155 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10156 soname_spec
='${libname}${release}${shared_ext}$major'
10159 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10160 postinstall_cmds
='chmod 555 $lib'
10161 # or fails outright, so override atomically:
10162 install_override_mode
=555
10169 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10170 soname_spec
='${libname}${release}${shared_ext}$major'
10171 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10172 shlibpath_var
=LD_LIBRARY_PATH
10173 shlibpath_overrides_runpath
=no
10174 hardcode_into_libs
=yes
10177 irix5
* | irix6
* | nonstopux
*)
10179 nonstopux
*) version_type
=nonstopux
;;
10181 if test "$lt_cv_prog_gnu_ld" = yes; then
10189 soname_spec
='${libname}${release}${shared_ext}$major'
10190 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10192 irix5
* | nonstopux
*)
10193 libsuff
= shlibsuff
=
10196 case $LD in # libtool.m4 will add one of these switches to LD
10197 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10198 libsuff
= shlibsuff
= libmagic
=32-bit;;
10199 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10200 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10201 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10202 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10203 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10207 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10208 shlibpath_overrides_runpath
=no
10209 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10210 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10211 hardcode_into_libs
=yes
10214 # No shared lib support for Linux oldld, aout, or coff.
10215 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10219 # This must be Linux ELF.
10220 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10224 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10225 soname_spec
='${libname}${release}${shared_ext}$major'
10226 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10227 shlibpath_var
=LD_LIBRARY_PATH
10228 shlibpath_overrides_runpath
=no
10230 # Some binutils ld are patched to set DT_RUNPATH
10231 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10232 $as_echo_n "(cached) " >&6
10234 lt_cv_shlibpath_overrides_runpath
=no
10235 save_LDFLAGS
=$LDFLAGS
10236 save_libdir
=$libdir
10237 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10238 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10240 /* end confdefs.h. */
10250 if ac_fn_c_try_link
"$LINENO"; then :
10251 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10252 lt_cv_shlibpath_overrides_runpath
=yes
10255 rm -f core conftest.err conftest.
$ac_objext \
10256 conftest
$ac_exeext conftest.
$ac_ext
10257 LDFLAGS
=$save_LDFLAGS
10258 libdir
=$save_libdir
10262 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10264 # This implies no fast_install, which is unacceptable.
10265 # Some rework will be needed to allow for fast_install
10266 # before this can be enabled.
10267 hardcode_into_libs
=yes
10269 # Append ld.so.conf contents to the search path
10270 if test -f /etc
/ld.so.conf
; then
10271 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' ' '`
10272 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10275 # We used to test for /lib/ld.so.1 and disable shared libraries on
10276 # powerpc, because MkLinux only supported shared libraries with the
10277 # GNU dynamic linker. Since this was broken with cross compilers,
10278 # most powerpc-linux boxes support dynamic linking these days and
10279 # people can always --disable-shared, the test was removed, and we
10280 # assume the GNU/Linux dynamic linker is in use.
10281 dynamic_linker
='GNU/Linux ld.so'
10288 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10289 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10290 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10291 dynamic_linker
='NetBSD (a.out) ld.so'
10293 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10294 soname_spec
='${libname}${release}${shared_ext}$major'
10295 dynamic_linker
='NetBSD ld.elf_so'
10297 shlibpath_var
=LD_LIBRARY_PATH
10298 shlibpath_overrides_runpath
=yes
10299 hardcode_into_libs
=yes
10304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10305 shlibpath_var
=LD_LIBRARY_PATH
10306 shlibpath_overrides_runpath
=yes
10313 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10314 soname_spec
='${libname}${release}${shared_ext}$major'
10315 shlibpath_var
=LD_LIBRARY_PATH
10316 shlibpath_overrides_runpath
=no
10317 hardcode_into_libs
=yes
10318 dynamic_linker
='ldqnx.so'
10323 sys_lib_dlsearch_path_spec
="/usr/lib"
10325 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10327 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10328 *) need_version
=no
;;
10330 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10331 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10332 shlibpath_var
=LD_LIBRARY_PATH
10333 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10335 openbsd2.
[89] | openbsd2.
[89].
*)
10336 shlibpath_overrides_runpath
=no
10339 shlibpath_overrides_runpath
=yes
10343 shlibpath_overrides_runpath
=yes
10348 libname_spec
='$name'
10351 library_names_spec
='$libname${shared_ext} $libname.a'
10352 dynamic_linker
='OS/2 ld.exe'
10353 shlibpath_var
=LIBPATH
10356 osf3
* | osf4
* | osf5
*)
10360 soname_spec
='${libname}${release}${shared_ext}$major'
10361 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10362 shlibpath_var
=LD_LIBRARY_PATH
10363 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10364 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10375 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10376 soname_spec
='${libname}${release}${shared_ext}$major'
10377 shlibpath_var
=LD_LIBRARY_PATH
10378 shlibpath_overrides_runpath
=yes
10379 hardcode_into_libs
=yes
10380 # ldd complains unless libraries are executable
10381 postinstall_cmds
='chmod +x $lib'
10386 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10387 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10388 shlibpath_var
=LD_LIBRARY_PATH
10389 shlibpath_overrides_runpath
=yes
10390 if test "$with_gnu_ld" = yes; then
10398 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10399 soname_spec
='${libname}${release}${shared_ext}$major'
10400 shlibpath_var
=LD_LIBRARY_PATH
10401 case $host_vendor in
10403 shlibpath_overrides_runpath
=no
10405 runpath_var
=LD_RUN_PATH
10413 shlibpath_overrides_runpath
=no
10414 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10420 if test -d /usr
/nec
;then
10422 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10423 soname_spec
='$libname${shared_ext}.$major'
10424 shlibpath_var
=LD_LIBRARY_PATH
10428 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10429 version_type
=freebsd-elf
10432 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10433 soname_spec
='${libname}${release}${shared_ext}$major'
10434 shlibpath_var
=LD_LIBRARY_PATH
10435 shlibpath_overrides_runpath
=yes
10436 hardcode_into_libs
=yes
10437 if test "$with_gnu_ld" = yes; then
10438 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10440 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10443 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10447 sys_lib_dlsearch_path_spec
='/usr/lib'
10451 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10455 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10456 shlibpath_var
=LD_LIBRARY_PATH
10457 shlibpath_overrides_runpath
=no
10458 hardcode_into_libs
=yes
10463 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10464 soname_spec
='${libname}${release}${shared_ext}$major'
10465 shlibpath_var
=LD_LIBRARY_PATH
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10473 $as_echo "$dynamic_linker" >&6; }
10474 test "$dynamic_linker" = no
&& can_build_shared
=no
10476 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10477 if test "$GCC" = yes; then
10478 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10481 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10482 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10484 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10485 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10580 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10582 if test -n "$hardcode_libdir_flag_spec" ||
10583 test -n "$runpath_var" ||
10584 test "X$hardcode_automatic" = "Xyes" ; then
10586 # We can hardcode non-existent directories.
10587 if test "$hardcode_direct" != no
&&
10588 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10589 # have to relink, otherwise we might link with an installed library
10590 # when we should be linking with a yet-to-be-installed one
10591 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10592 test "$hardcode_minus_L" != no
; then
10593 # Linking always hardcodes the temporary library directory.
10594 hardcode_action
=relink
10596 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10597 hardcode_action
=immediate
10600 # We cannot hardcode anything, or else we can only hardcode existing
10602 hardcode_action
=unsupported
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10605 $as_echo "$hardcode_action" >&6; }
10607 if test "$hardcode_action" = relink ||
10608 test "$inherit_rpath" = yes; then
10609 # Fast installation is not supported
10610 enable_fast_install
=no
10611 elif test "$shlibpath_overrides_runpath" = yes ||
10612 test "$enable_shared" = no
; then
10613 # Fast installation is not necessary
10614 enable_fast_install
=needless
10622 if test "x$enable_dlopen" != xyes
; then
10623 enable_dlopen
=unknown
10624 enable_dlopen_self
=unknown
10625 enable_dlopen_self_static
=unknown
10632 lt_cv_dlopen
="load_add_on"
10634 lt_cv_dlopen_self
=yes
10637 mingw
* | pw32
* | cegcc
*)
10638 lt_cv_dlopen
="LoadLibrary"
10643 lt_cv_dlopen
="dlopen"
10648 # if libdl is installed we need to link against it
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10650 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10651 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10652 $as_echo_n "(cached) " >&6
10654 ac_check_lib_save_LIBS
=$LIBS
10656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10657 /* end confdefs.h. */
10659 /* Override any GCC internal prototype to avoid an error.
10660 Use char because int might match the return type of a GCC
10661 builtin and then its argument prototype would still apply. */
10674 if ac_fn_c_try_link
"$LINENO"; then :
10675 ac_cv_lib_dl_dlopen
=yes
10677 ac_cv_lib_dl_dlopen
=no
10679 rm -f core conftest.err conftest.
$ac_objext \
10680 conftest
$ac_exeext conftest.
$ac_ext
10681 LIBS
=$ac_check_lib_save_LIBS
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10684 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10685 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10686 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10689 lt_cv_dlopen
="dyld"
10691 lt_cv_dlopen_self
=yes
10698 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10699 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10700 lt_cv_dlopen
="shl_load"
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10703 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10704 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10705 $as_echo_n "(cached) " >&6
10707 ac_check_lib_save_LIBS
=$LIBS
10709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10710 /* end confdefs.h. */
10712 /* Override any GCC internal prototype to avoid an error.
10713 Use char because int might match the return type of a GCC
10714 builtin and then its argument prototype would still apply. */
10722 return shl_load ();
10727 if ac_fn_c_try_link
"$LINENO"; then :
10728 ac_cv_lib_dld_shl_load
=yes
10730 ac_cv_lib_dld_shl_load
=no
10732 rm -f core conftest.err conftest.
$ac_objext \
10733 conftest
$ac_exeext conftest.
$ac_ext
10734 LIBS
=$ac_check_lib_save_LIBS
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10737 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10738 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10739 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10741 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10742 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10743 lt_cv_dlopen
="dlopen"
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10746 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10747 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10748 $as_echo_n "(cached) " >&6
10750 ac_check_lib_save_LIBS
=$LIBS
10752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10753 /* end confdefs.h. */
10755 /* Override any GCC internal prototype to avoid an error.
10756 Use char because int might match the return type of a GCC
10757 builtin and then its argument prototype would still apply. */
10770 if ac_fn_c_try_link
"$LINENO"; then :
10771 ac_cv_lib_dl_dlopen
=yes
10773 ac_cv_lib_dl_dlopen
=no
10775 rm -f core conftest.err conftest.
$ac_objext \
10776 conftest
$ac_exeext conftest.
$ac_ext
10777 LIBS
=$ac_check_lib_save_LIBS
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10780 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10781 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10782 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10785 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10786 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10787 $as_echo_n "(cached) " >&6
10789 ac_check_lib_save_LIBS
=$LIBS
10790 LIBS
="-lsvld $LIBS"
10791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10792 /* end confdefs.h. */
10794 /* Override any GCC internal prototype to avoid an error.
10795 Use char because int might match the return type of a GCC
10796 builtin and then its argument prototype would still apply. */
10809 if ac_fn_c_try_link
"$LINENO"; then :
10810 ac_cv_lib_svld_dlopen
=yes
10812 ac_cv_lib_svld_dlopen
=no
10814 rm -f core conftest.err conftest.
$ac_objext \
10815 conftest
$ac_exeext conftest.
$ac_ext
10816 LIBS
=$ac_check_lib_save_LIBS
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10819 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10820 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10821 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10824 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10825 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10826 $as_echo_n "(cached) " >&6
10828 ac_check_lib_save_LIBS
=$LIBS
10830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10831 /* end confdefs.h. */
10833 /* Override any GCC internal prototype to avoid an error.
10834 Use char because int might match the return type of a GCC
10835 builtin and then its argument prototype would still apply. */
10843 return dld_link ();
10848 if ac_fn_c_try_link
"$LINENO"; then :
10849 ac_cv_lib_dld_dld_link
=yes
10851 ac_cv_lib_dld_dld_link
=no
10853 rm -f core conftest.err conftest.
$ac_objext \
10854 conftest
$ac_exeext conftest.
$ac_ext
10855 LIBS
=$ac_check_lib_save_LIBS
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10858 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10859 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10860 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10881 if test "x$lt_cv_dlopen" != xno
; then
10887 case $lt_cv_dlopen in
10889 save_CPPFLAGS
="$CPPFLAGS"
10890 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10892 save_LDFLAGS
="$LDFLAGS"
10893 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10896 LIBS
="$lt_cv_dlopen_libs $LIBS"
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10899 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10900 if test "${lt_cv_dlopen_self+set}" = set; then :
10901 $as_echo_n "(cached) " >&6
10903 if test "$cross_compiling" = yes; then :
10904 lt_cv_dlopen_self
=cross
10906 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10907 lt_status
=$lt_dlunknown
10908 cat > conftest.
$ac_ext <<_LT_EOF
10909 #line 10909 "configure"
10910 #include "confdefs.h"
10919 # define LT_DLGLOBAL RTLD_GLOBAL
10922 # define LT_DLGLOBAL DL_GLOBAL
10924 # define LT_DLGLOBAL 0
10928 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10929 find out it does not work in some platform. */
10930 #ifndef LT_DLLAZY_OR_NOW
10932 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10935 # define LT_DLLAZY_OR_NOW DL_LAZY
10938 # define LT_DLLAZY_OR_NOW RTLD_NOW
10941 # define LT_DLLAZY_OR_NOW DL_NOW
10943 # define LT_DLLAZY_OR_NOW 0
10950 /* When -fvisbility=hidden is used, assume the code has been annotated
10951 correspondingly for the symbols needed. */
10952 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10953 void fnord () __attribute__((visibility("default")));
10956 void fnord () { int i=42; }
10959 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10960 int status = $lt_dlunknown;
10964 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10967 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10968 else puts (dlerror ());
10970 /* dlclose (self); */
10978 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10979 (eval $ac_link) 2>&5
10981 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10982 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10983 (.
/conftest
; exit; ) >&5 2>/dev
/null
10985 case x
$lt_status in
10986 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10987 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10988 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10991 # compilation failed
10992 lt_cv_dlopen_self
=no
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11000 $as_echo "$lt_cv_dlopen_self" >&6; }
11002 if test "x$lt_cv_dlopen_self" = xyes
; then
11003 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11005 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11006 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11007 $as_echo_n "(cached) " >&6
11009 if test "$cross_compiling" = yes; then :
11010 lt_cv_dlopen_self_static
=cross
11012 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11013 lt_status
=$lt_dlunknown
11014 cat > conftest.
$ac_ext <<_LT_EOF
11015 #line 11015 "configure"
11016 #include "confdefs.h"
11025 # define LT_DLGLOBAL RTLD_GLOBAL
11028 # define LT_DLGLOBAL DL_GLOBAL
11030 # define LT_DLGLOBAL 0
11034 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11035 find out it does not work in some platform. */
11036 #ifndef LT_DLLAZY_OR_NOW
11038 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11041 # define LT_DLLAZY_OR_NOW DL_LAZY
11044 # define LT_DLLAZY_OR_NOW RTLD_NOW
11047 # define LT_DLLAZY_OR_NOW DL_NOW
11049 # define LT_DLLAZY_OR_NOW 0
11056 /* When -fvisbility=hidden is used, assume the code has been annotated
11057 correspondingly for the symbols needed. */
11058 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11059 void fnord () __attribute__((visibility("default")));
11062 void fnord () { int i=42; }
11065 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11066 int status = $lt_dlunknown;
11070 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11073 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11074 else puts (dlerror ());
11076 /* dlclose (self); */
11084 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11085 (eval $ac_link) 2>&5
11087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11088 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11089 (.
/conftest
; exit; ) >&5 2>/dev
/null
11091 case x
$lt_status in
11092 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11093 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11094 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11097 # compilation failed
11098 lt_cv_dlopen_self_static
=no
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11106 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11109 CPPFLAGS
="$save_CPPFLAGS"
11110 LDFLAGS
="$save_LDFLAGS"
11115 case $lt_cv_dlopen_self in
11116 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11117 *) enable_dlopen_self
=unknown
;;
11120 case $lt_cv_dlopen_self_static in
11121 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11122 *) enable_dlopen_self_static
=unknown
;;
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11145 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11146 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11147 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11148 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11150 $as_echo "yes" >&6; }
11152 # FIXME - insert some real tests, host_os isn't really good enough
11155 if test -n "$STRIP" ; then
11156 striplib
="$STRIP -x"
11157 old_striplib
="$STRIP -S"
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11159 $as_echo "yes" >&6; }
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11162 $as_echo "no" >&6; }
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11167 $as_echo "no" >&6; }
11183 # Report which library types will actually be built
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11185 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11187 $as_echo "$can_build_shared" >&6; }
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11190 $as_echo_n "checking whether to build shared libraries... " >&6; }
11191 test "$can_build_shared" = "no" && enable_shared
=no
11193 # On AIX, shared libraries and static libraries use the same namespace, and
11194 # are all built from PIC.
11197 test "$enable_shared" = yes && enable_static
=no
11198 if test -n "$RANLIB"; then
11199 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11200 postinstall_cmds
='$RANLIB $lib'
11205 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11206 test "$enable_shared" = yes && enable_static
=no
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11211 $as_echo "$enable_shared" >&6; }
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11214 $as_echo_n "checking whether to build static libraries... " >&6; }
11215 # Make sure either enable_shared or enable_static is yes.
11216 test "$enable_shared" = yes || enable_static
=yes
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11218 $as_echo "$enable_static" >&6; }
11225 ac_cpp
='$CPP $CPPFLAGS'
11226 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11227 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11228 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11244 # Source file extension for Go test sources.
11247 # Object file extension for compiled Go test sources.
11251 # Code to be used in simple compile tests
11252 lt_simple_compile_test_code
="package main; func main() { }"
11254 # Code to be used in simple link tests
11255 lt_simple_link_test_code
='package main; func main() { }'
11257 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11264 # If no C compiler was specified, use CC.
11267 # If no C compiler flags were specified, use CFLAGS.
11268 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11270 # Allow CC to be a program name with arguments.
11274 # save warnings/boilerplate of simple test code
11275 ac_outfile
=conftest.
$ac_objext
11276 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11277 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11278 _lt_compiler_boilerplate
=`cat conftest.err`
11281 ac_outfile
=conftest.
$ac_objext
11282 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11283 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11284 _lt_linker_boilerplate
=`cat conftest.err`
11288 # Allow CC to be a program name with arguments.
11296 for cc_temp
in $compiler""; do
11298 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11299 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11304 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11307 # Go did not exist at the time GCC didn't implicitly link libc in.
11308 archive_cmds_need_lc_GO
=no
11310 old_archive_cmds_GO
=$old_archive_cmds
11313 ## There is no encapsulation within the following macros, do not change
11314 ## the running order or otherwise move them around unless you know exactly
11315 ## what you are doing...
11316 if test -n "$compiler"; then
11318 lt_prog_compiler_no_builtin_flag_GO
=
11320 if test "$GCC" = yes; then
11321 case $cc_basename in
11323 lt_prog_compiler_no_builtin_flag_GO
=' -Xcompiler -fno-builtin' ;;
11325 lt_prog_compiler_no_builtin_flag_GO
=' -fno-builtin' ;;
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11329 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11330 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
11331 $as_echo_n "(cached) " >&6
11333 lt_cv_prog_compiler_rtti_exceptions
=no
11334 ac_outfile
=conftest.
$ac_objext
11335 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11336 lt_compiler_flag
="-fno-rtti -fno-exceptions"
11337 # Insert the option either (1) after the last *FLAGS variable, or
11338 # (2) before a word containing "conftest.", or (3) at the end.
11339 # Note that $ac_compile itself does not contain backslashes and begins
11340 # with a dollar sign (not a hyphen), so the echo should work correctly.
11341 # The option is referenced via a variable to avoid confusing sed.
11342 lt_compile
=`echo "$ac_compile" | $SED \
11343 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11344 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11345 -e 's:$: $lt_compiler_flag:'`
11346 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11347 (eval "$lt_compile" 2>conftest.err
)
11349 cat conftest.err
>&5
11350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11351 if (exit $ac_status) && test -s "$ac_outfile"; then
11352 # The compiler can only warn and ignore the option if not recognized
11353 # So say no if there are warnings other than the usual output.
11354 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11355 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11356 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11357 lt_cv_prog_compiler_rtti_exceptions
=yes
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11364 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11366 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
11367 lt_prog_compiler_no_builtin_flag_GO
="$lt_prog_compiler_no_builtin_flag_GO -fno-rtti -fno-exceptions"
11376 lt_prog_compiler_wl_GO
=
11377 lt_prog_compiler_pic_GO
=
11378 lt_prog_compiler_static_GO
=
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11381 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11383 if test "$GCC" = yes; then
11384 lt_prog_compiler_wl_GO
='-Wl,'
11385 lt_prog_compiler_static_GO
='-static'
11389 # All AIX code is PIC.
11390 if test "$host_cpu" = ia64
; then
11391 # AIX 5 now supports IA64 processor
11392 lt_prog_compiler_static_GO
='-Bstatic'
11399 # see comment about AmigaOS4 .so support
11400 lt_prog_compiler_pic_GO
='-fPIC'
11403 # FIXME: we need at least 68020 code to build shared libraries, but
11404 # adding the `-m68020' flag to GCC prevents building anything better,
11406 lt_prog_compiler_pic_GO
='-m68020 -resident32 -malways-restore-a4'
11411 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11412 # PIC is the default for these OSes.
11415 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11416 # This hack is so that the source file can tell whether it is being
11417 # built for inclusion in a dll (and should export symbols for example).
11418 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11419 # (--disable-auto-import) libraries
11420 lt_prog_compiler_pic_GO
='-DDLL_EXPORT'
11423 darwin
* | rhapsody
*)
11424 # PIC is the default on this platform
11425 # Common symbols not allowed in MH_DYLIB files
11426 lt_prog_compiler_pic_GO
='-fno-common'
11430 # PIC is the default for Haiku.
11431 # The "-static" flag exists, but is broken.
11432 lt_prog_compiler_static_GO
=
11436 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11437 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11438 # sets the default TLS model and affects inlining.
11444 lt_prog_compiler_pic_GO
='-fPIC'
11450 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11451 # Instead, we relocate shared libraries at runtime.
11455 # Just because we use GCC doesn't mean we suddenly get shared libraries
11456 # on systems that don't support them.
11457 lt_prog_compiler_can_build_shared_GO
=no
11462 # QNX uses GNU C++, but need to define -shared option too, otherwise
11463 # it will coredump.
11464 lt_prog_compiler_pic_GO
='-fPIC -shared'
11468 if test -d /usr
/nec
; then
11469 lt_prog_compiler_pic_GO
=-Kconform_pic
11474 lt_prog_compiler_pic_GO
='-fPIC'
11478 case $cc_basename in
11479 nvcc
*) # Cuda Compiler Driver 2.2
11480 lt_prog_compiler_wl_GO
='-Xlinker '
11481 lt_prog_compiler_pic_GO
='-Xcompiler -fPIC'
11485 # PORTME Check for flag to pass linker flags through the system compiler.
11488 lt_prog_compiler_wl_GO
='-Wl,'
11489 if test "$host_cpu" = ia64
; then
11490 # AIX 5 now supports IA64 processor
11491 lt_prog_compiler_static_GO
='-Bstatic'
11493 lt_prog_compiler_static_GO
='-bnso -bI:/lib/syscalls.exp'
11497 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11498 # This hack is so that the source file can tell whether it is being
11499 # built for inclusion in a dll (and should export symbols for example).
11500 lt_prog_compiler_pic_GO
='-DDLL_EXPORT'
11503 hpux9
* | hpux10
* | hpux11
*)
11504 lt_prog_compiler_wl_GO
='-Wl,'
11505 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11506 # not for PA HP-UX.
11512 lt_prog_compiler_pic_GO
='+Z'
11515 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11516 lt_prog_compiler_static_GO
='${wl}-a ${wl}archive'
11519 irix5
* | irix6
* | nonstopux
*)
11520 lt_prog_compiler_wl_GO
='-Wl,'
11521 # PIC (with -KPIC) is the default.
11522 lt_prog_compiler_static_GO
='-non_shared'
11525 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11526 case $cc_basename in
11527 # old Intel for x86_64 which still supported -KPIC.
11529 lt_prog_compiler_wl_GO
='-Wl,'
11530 lt_prog_compiler_pic_GO
='-KPIC'
11531 lt_prog_compiler_static_GO
='-static'
11533 # icc used to be incompatible with GCC.
11534 # ICC 10 doesn't accept -KPIC any more.
11536 lt_prog_compiler_wl_GO
='-Wl,'
11537 lt_prog_compiler_pic_GO
='-fPIC'
11538 lt_prog_compiler_static_GO
='-static'
11540 # Lahey Fortran 8.1.
11542 lt_prog_compiler_wl_GO
='-Wl,'
11543 lt_prog_compiler_pic_GO
='--shared'
11544 lt_prog_compiler_static_GO
='--static'
11546 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11547 # Portland Group compilers (*not* the Pentium gcc compiler,
11548 # which looks to be a dead project)
11549 lt_prog_compiler_wl_GO
='-Wl,'
11550 lt_prog_compiler_pic_GO
='-fpic'
11551 lt_prog_compiler_static_GO
='-Bstatic'
11554 lt_prog_compiler_wl_GO
='-Wl,'
11555 # All Alpha code is PIC.
11556 lt_prog_compiler_static_GO
='-non_shared'
11558 xl
* | bgxl
* | bgf
* | mpixl
*)
11559 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11560 lt_prog_compiler_wl_GO
='-Wl,'
11561 lt_prog_compiler_pic_GO
='-qpic'
11562 lt_prog_compiler_static_GO
='-qstaticlink'
11565 case `$CC -V 2>&1 | sed 5q` in
11566 *Sun\ F
* |
*Sun
*Fortran
*)
11567 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11568 lt_prog_compiler_pic_GO
='-KPIC'
11569 lt_prog_compiler_static_GO
='-Bstatic'
11570 lt_prog_compiler_wl_GO
=''
11574 lt_prog_compiler_pic_GO
='-KPIC'
11575 lt_prog_compiler_static_GO
='-Bstatic'
11576 lt_prog_compiler_wl_GO
='-Wl,'
11584 lt_prog_compiler_pic_GO
='-KPIC'
11585 lt_prog_compiler_static_GO
='-Bstatic'
11589 # QNX uses GNU C++, but need to define -shared option too, otherwise
11590 # it will coredump.
11591 lt_prog_compiler_pic_GO
='-fPIC -shared'
11594 osf3
* | osf4
* | osf5
*)
11595 lt_prog_compiler_wl_GO
='-Wl,'
11596 # All OSF/1 code is PIC.
11597 lt_prog_compiler_static_GO
='-non_shared'
11601 lt_prog_compiler_static_GO
='-non_shared'
11605 lt_prog_compiler_pic_GO
='-KPIC'
11606 lt_prog_compiler_static_GO
='-Bstatic'
11607 case $cc_basename in
11608 f77
* | f90
* | f95
*)
11609 lt_prog_compiler_wl_GO
='-Qoption ld ';;
11611 lt_prog_compiler_wl_GO
='-Wl,';;
11616 lt_prog_compiler_wl_GO
='-Qoption ld '
11617 lt_prog_compiler_pic_GO
='-PIC'
11618 lt_prog_compiler_static_GO
='-Bstatic'
11621 sysv4 | sysv4.2uw2
* | sysv4.3
*)
11622 lt_prog_compiler_wl_GO
='-Wl,'
11623 lt_prog_compiler_pic_GO
='-KPIC'
11624 lt_prog_compiler_static_GO
='-Bstatic'
11628 if test -d /usr
/nec
;then
11629 lt_prog_compiler_pic_GO
='-Kconform_pic'
11630 lt_prog_compiler_static_GO
='-Bstatic'
11634 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11635 lt_prog_compiler_wl_GO
='-Wl,'
11636 lt_prog_compiler_pic_GO
='-KPIC'
11637 lt_prog_compiler_static_GO
='-Bstatic'
11641 lt_prog_compiler_wl_GO
='-Wl,'
11642 lt_prog_compiler_can_build_shared_GO
=no
11646 lt_prog_compiler_pic_GO
='-pic'
11647 lt_prog_compiler_static_GO
='-Bstatic'
11651 lt_prog_compiler_can_build_shared_GO
=no
11657 # For platforms which do not support PIC, -DPIC is meaningless:
11659 lt_prog_compiler_pic_GO
=
11662 lt_prog_compiler_pic_GO
="$lt_prog_compiler_pic_GO"
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_GO" >&5
11666 $as_echo "$lt_prog_compiler_pic_GO" >&6; }
11671 # Check to make sure the PIC flag actually works.
11673 if test -n "$lt_prog_compiler_pic_GO"; then
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GO works" >&5
11675 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GO works... " >&6; }
11676 if test "${lt_cv_prog_compiler_pic_works_GO+set}" = set; then :
11677 $as_echo_n "(cached) " >&6
11679 lt_cv_prog_compiler_pic_works_GO
=no
11680 ac_outfile
=conftest.
$ac_objext
11681 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11682 lt_compiler_flag
="$lt_prog_compiler_pic_GO"
11683 # Insert the option either (1) after the last *FLAGS variable, or
11684 # (2) before a word containing "conftest.", or (3) at the end.
11685 # Note that $ac_compile itself does not contain backslashes and begins
11686 # with a dollar sign (not a hyphen), so the echo should work correctly.
11687 # The option is referenced via a variable to avoid confusing sed.
11688 lt_compile
=`echo "$ac_compile" | $SED \
11689 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11690 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11691 -e 's:$: $lt_compiler_flag:'`
11692 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11693 (eval "$lt_compile" 2>conftest.err
)
11695 cat conftest.err
>&5
11696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11697 if (exit $ac_status) && test -s "$ac_outfile"; then
11698 # The compiler can only warn and ignore the option if not recognized
11699 # So say no if there are warnings other than the usual output.
11700 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11701 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11702 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11703 lt_cv_prog_compiler_pic_works_GO
=yes
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_GO" >&5
11710 $as_echo "$lt_cv_prog_compiler_pic_works_GO" >&6; }
11712 if test x
"$lt_cv_prog_compiler_pic_works_GO" = xyes
; then
11713 case $lt_prog_compiler_pic_GO in
11715 *) lt_prog_compiler_pic_GO
=" $lt_prog_compiler_pic_GO" ;;
11718 lt_prog_compiler_pic_GO
=
11719 lt_prog_compiler_can_build_shared_GO
=no
11727 # Check to make sure the static flag actually works.
11729 wl
=$lt_prog_compiler_wl_GO eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GO\"
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11731 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11732 if test "${lt_cv_prog_compiler_static_works_GO+set}" = set; then :
11733 $as_echo_n "(cached) " >&6
11735 lt_cv_prog_compiler_static_works_GO
=no
11736 save_LDFLAGS
="$LDFLAGS"
11737 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11738 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11739 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11740 # The linker can only warn and ignore the option if not recognized
11741 # So say no if there are warnings
11742 if test -s conftest.err
; then
11743 # Append any errors to the config.log.
11744 cat conftest.err
1>&5
11745 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11746 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11747 if diff conftest.exp conftest.er2
>/dev
/null
; then
11748 lt_cv_prog_compiler_static_works_GO
=yes
11751 lt_cv_prog_compiler_static_works_GO
=yes
11755 LDFLAGS
="$save_LDFLAGS"
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_GO" >&5
11759 $as_echo "$lt_cv_prog_compiler_static_works_GO" >&6; }
11761 if test x
"$lt_cv_prog_compiler_static_works_GO" = xyes
; then
11764 lt_prog_compiler_static_GO
=
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11771 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11772 if test "${lt_cv_prog_compiler_c_o_GO+set}" = set; then :
11773 $as_echo_n "(cached) " >&6
11775 lt_cv_prog_compiler_c_o_GO
=no
11776 $RM -r conftest
2>/dev
/null
11780 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11782 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11783 # Insert the option either (1) after the last *FLAGS variable, or
11784 # (2) before a word containing "conftest.", or (3) at the end.
11785 # Note that $ac_compile itself does not contain backslashes and begins
11786 # with a dollar sign (not a hyphen), so the echo should work correctly.
11787 lt_compile
=`echo "$ac_compile" | $SED \
11788 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11789 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11790 -e 's:$: $lt_compiler_flag:'`
11791 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11792 (eval "$lt_compile" 2>out
/conftest.err
)
11794 cat out
/conftest.err
>&5
11795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11796 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11798 # The compiler can only warn and ignore the option if not recognized
11799 # So say no if there are warnings
11800 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
11801 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11802 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11803 lt_cv_prog_compiler_c_o_GO
=yes
11808 # SGI C++ compiler will create directory out/ii_files/ for
11809 # template instantiation
11810 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11811 $RM out
/* && rmdir out
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
11818 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11823 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11824 if test "${lt_cv_prog_compiler_c_o_GO+set}" = set; then :
11825 $as_echo_n "(cached) " >&6
11827 lt_cv_prog_compiler_c_o_GO
=no
11828 $RM -r conftest
2>/dev
/null
11832 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11834 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11835 # Insert the option either (1) after the last *FLAGS variable, or
11836 # (2) before a word containing "conftest.", or (3) at the end.
11837 # Note that $ac_compile itself does not contain backslashes and begins
11838 # with a dollar sign (not a hyphen), so the echo should work correctly.
11839 lt_compile
=`echo "$ac_compile" | $SED \
11840 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11841 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11842 -e 's:$: $lt_compiler_flag:'`
11843 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11844 (eval "$lt_compile" 2>out
/conftest.err
)
11846 cat out
/conftest.err
>&5
11847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11848 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11850 # The compiler can only warn and ignore the option if not recognized
11851 # So say no if there are warnings
11852 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
11853 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11854 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11855 lt_cv_prog_compiler_c_o_GO
=yes
11860 # SGI C++ compiler will create directory out/ii_files/ for
11861 # template instantiation
11862 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11863 $RM out
/* && rmdir out
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
11870 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
11875 hard_links
="nottested"
11876 if test "$lt_cv_prog_compiler_c_o_GO" = no
&& test "$need_locks" != no
; then
11877 # do not overwrite the value of need_locks provided by the user
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11879 $as_echo_n "checking if we can lock with hard links... " >&6; }
11882 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11884 ln conftest.a conftest.b
2>&5 || hard_links
=no
11885 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11887 $as_echo "$hard_links" >&6; }
11888 if test "$hard_links" = no
; then
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11890 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11900 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11903 allow_undefined_flag_GO
=
11904 always_export_symbols_GO
=no
11906 archive_expsym_cmds_GO
=
11907 compiler_needs_object_GO
=no
11908 enable_shared_with_static_runtimes_GO
=no
11909 export_dynamic_flag_spec_GO
=
11910 export_symbols_cmds_GO
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11911 hardcode_automatic_GO
=no
11912 hardcode_direct_GO
=no
11913 hardcode_direct_absolute_GO
=no
11914 hardcode_libdir_flag_spec_GO
=
11915 hardcode_libdir_flag_spec_ld_GO
=
11916 hardcode_libdir_separator_GO
=
11917 hardcode_minus_L_GO
=no
11918 hardcode_shlibpath_var_GO
=unsupported
11919 inherit_rpath_GO
=no
11920 link_all_deplibs_GO
=unknown
11922 module_expsym_cmds_GO
=
11923 old_archive_from_new_cmds_GO
=
11924 old_archive_from_expsyms_cmds_GO
=
11925 thread_safe_flag_spec_GO
=
11926 whole_archive_flag_spec_GO
=
11927 # include_expsyms should be a list of space-separated symbols to be *always*
11928 # included in the symbol list
11929 include_expsyms_GO
=
11930 # exclude_expsyms can be an extended regexp of symbols to exclude
11931 # it will be wrapped by ` (' and `)$', so one must not match beginning or
11932 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11933 # as well as any symbol that contains `d'.
11934 exclude_expsyms_GO
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11935 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11936 # platforms (ab)use it in PIC code, but their linkers get confused if
11937 # the symbol is explicitly referenced. Since portable code cannot
11938 # rely on this symbol name, it's probably fine to never include it in
11939 # preloaded symbol tables.
11940 # Exclude shared library initialization/finalization symbols.
11941 extract_expsyms_cmds
=
11944 cygwin
* | mingw
* | pw32
* | cegcc
*)
11945 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11946 # When not using gcc, we currently assume that we are using
11947 # Microsoft Visual C++.
11948 if test "$GCC" != yes; then
11953 # we just hope/assume this is gcc and not c89 (= MSVC++)
11963 # On some targets, GNU ld is compatible enough with the native linker
11964 # that we're better off using the native interface for both.
11965 lt_use_gnu_ld_interface
=no
11966 if test "$with_gnu_ld" = yes; then
11969 # The AIX port of GNU ld has always aspired to compatibility
11970 # with the native linker. However, as the warning in the GNU ld
11971 # block says, versions before 2.19.5* couldn't really create working
11972 # shared libraries, regardless of the interface used.
11973 case `$LD -v 2>&1` in
11974 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
11975 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
11976 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
11978 lt_use_gnu_ld_interface
=yes
11983 lt_use_gnu_ld_interface
=yes
11988 if test "$lt_use_gnu_ld_interface" = yes; then
11989 # If archive_cmds runs LD, not CC, wlarc should be empty
11992 # Set some defaults for GNU ld with shared library support. These
11993 # are reset later if shared libraries are not supported. Putting them
11994 # here allows them to be overridden if necessary.
11995 runpath_var
=LD_RUN_PATH
11996 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
11997 export_dynamic_flag_spec_GO
='${wl}--export-dynamic'
11998 # ancient GNU ld didn't support --whole-archive et. al.
11999 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12000 whole_archive_flag_spec_GO
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12002 whole_archive_flag_spec_GO
=
12004 supports_anon_versioning
=no
12005 case `$LD -v 2>&1` in
12006 *GNU\ gold
*) supports_anon_versioning
=yes ;;
12007 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12008 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12009 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12010 *\
2.11.
*) ;; # other 2.11 versions
12011 *) supports_anon_versioning
=yes ;;
12014 # See if GNU ld supports shared libraries.
12017 # On AIX/PPC, the GNU linker is very broken
12018 if test "$host_cpu" != ia64
; then
12022 *** Warning: the GNU linker, at least up to release 2.19, is reported
12023 *** to be unable to reliably create shared libraries on AIX.
12024 *** Therefore, libtool is disabling shared libraries support. If you
12025 *** really care for shared libraries, you may want to install binutils
12026 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12027 *** You will then need to restart the configuration process.
12036 # see comment about AmigaOS4 .so support
12037 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12038 archive_expsym_cmds_GO
=''
12041 archive_cmds_GO
='$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)'
12042 hardcode_libdir_flag_spec_GO
='-L$libdir'
12043 hardcode_minus_L_GO
=yes
12049 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12050 allow_undefined_flag_GO
=unsupported
12051 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12052 # support --undefined. This deserves some investigation. FIXME
12053 archive_cmds_GO
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12059 cygwin
* | mingw
* | pw32
* | cegcc
*)
12060 # _LT_TAGVAR(hardcode_libdir_flag_spec, GO) is actually meaningless,
12061 # as there is no search path for DLLs.
12062 hardcode_libdir_flag_spec_GO
='-L$libdir'
12063 export_dynamic_flag_spec_GO
='${wl}--export-all-symbols'
12064 allow_undefined_flag_GO
=unsupported
12065 always_export_symbols_GO
=no
12066 enable_shared_with_static_runtimes_GO
=yes
12067 export_symbols_cmds_GO
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12069 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12070 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12071 # If the export-symbols file already is a .def file (1st line
12072 # is EXPORTS), use it as is; otherwise, prepend...
12073 archive_expsym_cmds_GO
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12074 cp $export_symbols $output_objdir/$soname.def;
12076 echo EXPORTS > $output_objdir/$soname.def;
12077 cat $export_symbols >> $output_objdir/$soname.def;
12079 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12086 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12087 link_all_deplibs_GO
=yes
12091 hardcode_direct_GO
=no
12092 hardcode_shlibpath_var_GO
=no
12093 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12094 export_dynamic_flag_spec_GO
='${wl}-E'
12095 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12096 # Instead, shared libraries are loaded at an image base (0x10000000 by
12097 # default) and relocated if they conflict, which is a slow very memory
12098 # consuming and fragmenting process. To avoid this, we pick a random,
12099 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12100 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12101 archive_cmds_GO
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12102 archive_expsym_cmds_GO
='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'
12105 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12107 if test "$host_os" = linux-dietlibc
; then
12108 case $cc_basename in
12109 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12112 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12113 && test "$tmp_diet" = no
12116 tmp_sharedflag
='-shared'
12117 case $cc_basename,$host_cpu in
12118 pgcc
*) # Portland Group C compiler
12119 whole_archive_flag_spec_GO
='${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'
12120 tmp_addflag
=' $pic_flag'
12122 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12123 # Portland Group f77 and f90 compilers
12124 whole_archive_flag_spec_GO
='${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'
12125 tmp_addflag
=' $pic_flag -Mnomain' ;;
12126 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12127 tmp_addflag
=' -i_dynamic' ;;
12128 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12129 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12130 ifc
* | ifort
*) # Intel Fortran compiler
12131 tmp_addflag
=' -nofor_main' ;;
12132 lf95
*) # Lahey Fortran 8.1
12133 whole_archive_flag_spec_GO
=
12134 tmp_sharedflag
='--shared' ;;
12135 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12136 tmp_sharedflag
='-qmkshrobj'
12138 nvcc
*) # Cuda Compiler Driver 2.2
12139 whole_archive_flag_spec_GO
='${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'
12140 compiler_needs_object_GO
=yes
12143 case `$CC -V 2>&1 | sed 5q` in
12144 *Sun\ C
*) # Sun C 5.9
12145 whole_archive_flag_spec_GO
='${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'
12146 compiler_needs_object_GO
=yes
12147 tmp_sharedflag
='-G' ;;
12148 *Sun\ F
*) # Sun Fortran 8.3
12149 tmp_sharedflag
='-G' ;;
12151 archive_cmds_GO
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12153 if test "x$supports_anon_versioning" = xyes
; then
12154 archive_expsym_cmds_GO
='echo "{ global:" > $output_objdir/$libname.ver~
12155 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12156 echo "local: *; };" >> $output_objdir/$libname.ver~
12157 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12160 case $cc_basename in
12161 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12162 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12163 whole_archive_flag_spec_GO
='--whole-archive$convenience --no-whole-archive'
12164 hardcode_libdir_flag_spec_GO
=
12165 hardcode_libdir_flag_spec_ld_GO
='-rpath $libdir'
12166 archive_cmds_GO
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12167 if test "x$supports_anon_versioning" = xyes
; then
12168 archive_expsym_cmds_GO
='echo "{ global:" > $output_objdir/$libname.ver~
12169 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12170 echo "local: *; };" >> $output_objdir/$libname.ver~
12171 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12181 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12182 archive_cmds_GO
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12185 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12186 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12191 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12195 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12196 *** create shared libraries on Solaris systems. Therefore, libtool
12197 *** is disabling shared libraries support. We urge you to upgrade GNU
12198 *** binutils to release 2.9.1 or newer. Another option is to modify
12199 *** your PATH or compiler configuration so that the native linker is
12200 *** used, and then restart.
12203 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12204 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12205 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12211 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12212 case `$LD -v 2>&1` in
12213 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12217 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12218 *** reliably create shared libraries on SCO systems. Therefore, libtool
12219 *** is disabling shared libraries support. We urge you to upgrade GNU
12220 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12221 *** your PATH or compiler configuration so that the native linker is
12222 *** used, and then restart.
12227 # For security reasons, it is highly recommended that you always
12228 # use absolute paths for naming shared libraries, and exclude the
12229 # DT_RUNPATH tag from executables and libraries. But doing so
12230 # requires that you compile everything twice, which is a pain.
12231 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12232 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12233 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12234 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12243 archive_cmds_GO
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12245 hardcode_direct_GO
=yes
12246 hardcode_shlibpath_var_GO
=no
12250 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12251 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12252 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12259 if test "$ld_shlibs_GO" = no
; then
12261 hardcode_libdir_flag_spec_GO
=
12262 export_dynamic_flag_spec_GO
=
12263 whole_archive_flag_spec_GO
=
12266 # PORTME fill in a description of your system's linker (not GNU ld)
12269 allow_undefined_flag_GO
=unsupported
12270 always_export_symbols_GO
=yes
12271 archive_expsym_cmds_GO
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
12272 # Note: this linker hardcodes the directories in LIBPATH if there
12273 # are no directories specified by -L.
12274 hardcode_minus_L_GO
=yes
12275 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12276 # Neither direct hardcoding nor static linking is supported with a
12278 hardcode_direct_GO
=unsupported
12283 if test "$host_cpu" = ia64
; then
12284 # On IA64, the linker does run time linking by default, so we don't
12285 # have to do anything special.
12286 aix_use_runtimelinking
=no
12287 exp_sym_flag
='-Bexport'
12290 # If we're using GNU nm, then we don't want the "-C" option.
12291 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12292 # Also, AIX nm treats weak defined symbols like other global
12293 # defined symbols, whereas GNU nm marks them as "W".
12294 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
12295 export_symbols_cmds_GO
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12297 export_symbols_cmds_GO
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12299 aix_use_runtimelinking
=no
12301 # Test if we are trying to use run time linking or normal
12302 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12303 # need to do runtime linking.
12304 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12305 for ld_flag
in $LDFLAGS; do
12306 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
12307 aix_use_runtimelinking
=yes
12314 exp_sym_flag
='-bexport'
12315 no_entry_flag
='-bnoentry'
12318 # When large executables or shared objects are built, AIX ld can
12319 # have problems creating the table of contents. If linking a library
12320 # or program results in "error TOC overflow" add -mminimal-toc to
12321 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12322 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12325 hardcode_direct_GO
=yes
12326 hardcode_direct_absolute_GO
=yes
12327 hardcode_libdir_separator_GO
=':'
12328 link_all_deplibs_GO
=yes
12329 file_list_spec_GO
='${wl}-f,'
12331 if test "$GCC" = yes; then
12332 case $host_os in aix4.
[012]|aix4.
[012].
*)
12333 # We only want to do this on AIX 4.2 and lower, the check
12334 # below for broken collect2 doesn't work under 4.3+
12335 collect2name
=`${CC} -print-prog-name=collect2`
12336 if test -f "$collect2name" &&
12337 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12339 # We have reworked collect2
12342 # We have old collect2
12343 hardcode_direct_GO
=unsupported
12344 # It fails to find uninstalled libraries when the uninstalled
12345 # path is not listed in the libpath. Setting hardcode_minus_L
12346 # to unsupported forces relinking
12347 hardcode_minus_L_GO
=yes
12348 hardcode_libdir_flag_spec_GO
='-L$libdir'
12349 hardcode_libdir_separator_GO
=
12353 shared_flag
='-shared'
12354 if test "$aix_use_runtimelinking" = yes; then
12355 shared_flag
="$shared_flag "'${wl}-G'
12359 if test "$host_cpu" = ia64
; then
12360 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12361 # chokes on -Wl,-G. The following line is correct:
12364 if test "$aix_use_runtimelinking" = yes; then
12365 shared_flag
='${wl}-G'
12367 shared_flag
='${wl}-bM:SRE'
12372 export_dynamic_flag_spec_GO
='${wl}-bexpall'
12373 # It seems that -bexpall does not export symbols beginning with
12374 # underscore (_), so it is better to generate a list of symbols to export.
12375 always_export_symbols_GO
=yes
12376 if test "$aix_use_runtimelinking" = yes; then
12377 # Warning - without using the other runtime loading flags (-brtl),
12378 # -berok will link without error, but may produce a broken library.
12379 allow_undefined_flag_GO
='-berok'
12380 # Determine the default libpath from the value encoded in an
12381 # empty executable.
12382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12383 /* end confdefs.h. */
12393 if ac_fn_c_try_link
"$LINENO"; then :
12395 lt_aix_libpath_sed
='
12396 /Import File Strings/,/^$/ {
12402 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12403 # Check for a 64-bit object if we didn't find anything.
12404 if test -z "$aix_libpath"; then
12405 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12408 rm -f core conftest.err conftest.
$ac_objext \
12409 conftest
$ac_exeext conftest.
$ac_ext
12410 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12412 hardcode_libdir_flag_spec_GO
='${wl}-blibpath:$libdir:'"$aix_libpath"
12413 archive_expsym_cmds_GO
='$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"
12415 if test "$host_cpu" = ia64
; then
12416 hardcode_libdir_flag_spec_GO
='${wl}-R $libdir:/usr/lib:/lib'
12417 allow_undefined_flag_GO
="-z nodefs"
12418 archive_expsym_cmds_GO
="\$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"
12420 # Determine the default libpath from the value encoded in an
12421 # empty executable.
12422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12423 /* end confdefs.h. */
12433 if ac_fn_c_try_link
"$LINENO"; then :
12435 lt_aix_libpath_sed
='
12436 /Import File Strings/,/^$/ {
12442 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12443 # Check for a 64-bit object if we didn't find anything.
12444 if test -z "$aix_libpath"; then
12445 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12448 rm -f core conftest.err conftest.
$ac_objext \
12449 conftest
$ac_exeext conftest.
$ac_ext
12450 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12452 hardcode_libdir_flag_spec_GO
='${wl}-blibpath:$libdir:'"$aix_libpath"
12453 # Warning - without using the other run time loading flags,
12454 # -berok will link without error, but may produce a broken library.
12455 no_undefined_flag_GO
=' ${wl}-bernotok'
12456 allow_undefined_flag_GO
=' ${wl}-berok'
12457 if test "$with_gnu_ld" = yes; then
12458 # We only use this code for GNU lds that support --whole-archive.
12459 whole_archive_flag_spec_GO
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12461 # Exported symbols can be pulled into shared objects from archives
12462 whole_archive_flag_spec_GO
='$convenience'
12464 archive_cmds_need_lc_GO
=yes
12465 # This is similar to how AIX traditionally builds its shared libraries.
12466 archive_expsym_cmds_GO
="\$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'
12474 # see comment about AmigaOS4 .so support
12475 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12476 archive_expsym_cmds_GO
=''
12479 archive_cmds_GO
='$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)'
12480 hardcode_libdir_flag_spec_GO
='-L$libdir'
12481 hardcode_minus_L_GO
=yes
12487 export_dynamic_flag_spec_GO
=-rdynamic
12490 cygwin
* | mingw
* | pw32
* | cegcc
*)
12491 # When not using gcc, we currently assume that we are using
12492 # Microsoft Visual C++.
12493 # hardcode_libdir_flag_spec is actually meaningless, as there is
12494 # no search path for DLLs.
12495 hardcode_libdir_flag_spec_GO
=' '
12496 allow_undefined_flag_GO
=unsupported
12497 # Tell ltmain to make .lib files, not .a files.
12499 # Tell ltmain to make .dll files, not .so files.
12501 # FIXME: Setting linknames here is a bad hack.
12502 archive_cmds_GO
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12503 # The linker will automatically build a .lib file if we build a DLL.
12504 old_archive_from_new_cmds_GO
='true'
12505 # FIXME: Should let the user specify the lib program.
12506 old_archive_cmds_GO
='lib -OUT:$oldlib$oldobjs$old_deplibs'
12507 fix_srcfile_path_GO
='`cygpath -w "$srcfile"`'
12508 enable_shared_with_static_runtimes_GO
=yes
12511 darwin
* | rhapsody
*)
12514 archive_cmds_need_lc_GO
=no
12515 hardcode_direct_GO
=no
12516 hardcode_automatic_GO
=yes
12517 hardcode_shlibpath_var_GO
=unsupported
12518 if test "$lt_cv_ld_force_load" = "yes"; then
12519 whole_archive_flag_spec_GO
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12521 whole_archive_flag_spec_GO
=''
12523 link_all_deplibs_GO
=yes
12524 allow_undefined_flag_GO
="$_lt_dar_allow_undefined"
12525 case $cc_basename in
12526 ifort
*) _lt_dar_can_shared
=yes ;;
12527 *) _lt_dar_can_shared
=$GCC ;;
12529 if test "$_lt_dar_can_shared" = "yes"; then
12530 output_verbose_link_cmd
=func_echo_all
12531 archive_cmds_GO
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12532 module_cmds_GO
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12533 archive_expsym_cmds_GO
="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}"
12534 module_expsym_cmds_GO
="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}"
12543 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12544 hardcode_libdir_flag_spec_GO
='-L$libdir'
12545 hardcode_shlibpath_var_GO
=no
12552 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12553 # support. Future versions do this automatically, but an explicit c++rt0.o
12554 # does not break anything, and helps significantly (at the cost of a little
12557 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12558 hardcode_libdir_flag_spec_GO
='-R$libdir'
12559 hardcode_direct_GO
=yes
12560 hardcode_shlibpath_var_GO
=no
12563 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12565 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12566 hardcode_direct_GO
=yes
12567 hardcode_minus_L_GO
=yes
12568 hardcode_shlibpath_var_GO
=no
12571 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12572 freebsd
* | dragonfly
*)
12573 archive_cmds_GO
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12574 hardcode_libdir_flag_spec_GO
='-R$libdir'
12575 hardcode_direct_GO
=yes
12576 hardcode_shlibpath_var_GO
=no
12580 if test "$GCC" = yes; then
12581 archive_cmds_GO
='$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'
12583 archive_cmds_GO
='$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'
12585 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12586 hardcode_libdir_separator_GO
=:
12587 hardcode_direct_GO
=yes
12589 # hardcode_minus_L: Not really in the search PATH,
12590 # but as the default location of the library.
12591 hardcode_minus_L_GO
=yes
12592 export_dynamic_flag_spec_GO
='${wl}-E'
12596 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12597 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12599 archive_cmds_GO
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12601 if test "$with_gnu_ld" = no
; then
12602 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12603 hardcode_libdir_flag_spec_ld_GO
='+b $libdir'
12604 hardcode_libdir_separator_GO
=:
12605 hardcode_direct_GO
=yes
12606 hardcode_direct_absolute_GO
=yes
12607 export_dynamic_flag_spec_GO
='${wl}-E'
12608 # hardcode_minus_L: Not really in the search PATH,
12609 # but as the default location of the library.
12610 hardcode_minus_L_GO
=yes
12615 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12618 archive_cmds_GO
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12621 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12624 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12630 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12633 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12636 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12640 if test "$with_gnu_ld" = no
; then
12641 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12642 hardcode_libdir_separator_GO
=:
12646 hardcode_direct_GO
=no
12647 hardcode_shlibpath_var_GO
=no
12650 hardcode_direct_GO
=yes
12651 hardcode_direct_absolute_GO
=yes
12652 export_dynamic_flag_spec_GO
='${wl}-E'
12654 # hardcode_minus_L: Not really in the search PATH,
12655 # but as the default location of the library.
12656 hardcode_minus_L_GO
=yes
12662 irix5
* | irix6
* | nonstopux
*)
12663 if test "$GCC" = yes; then
12664 archive_cmds_GO
='$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'
12665 # Try to use the -exported_symbol ld option, if it does not
12666 # work, assume that -exports_file does not work either and
12667 # implicitly export all symbols.
12668 save_LDFLAGS
="$LDFLAGS"
12669 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12671 /* end confdefs.h. */
12674 if ac_fn_c_try_link
"$LINENO"; then :
12675 archive_expsym_cmds_GO
='$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'
12678 rm -f core conftest.err conftest.
$ac_objext \
12679 conftest
$ac_exeext conftest.
$ac_ext
12680 LDFLAGS
="$save_LDFLAGS"
12682 archive_cmds_GO
='$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'
12683 archive_expsym_cmds_GO
='$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'
12685 archive_cmds_need_lc_GO
='no'
12686 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12687 hardcode_libdir_separator_GO
=:
12688 inherit_rpath_GO
=yes
12689 link_all_deplibs_GO
=yes
12693 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12694 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12696 archive_cmds_GO
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12698 hardcode_libdir_flag_spec_GO
='-R$libdir'
12699 hardcode_direct_GO
=yes
12700 hardcode_shlibpath_var_GO
=no
12704 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12705 hardcode_direct_GO
=yes
12706 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12707 hardcode_libdir_separator_GO
=:
12708 hardcode_shlibpath_var_GO
=no
12715 if test -f /usr
/libexec
/ld.so
; then
12716 hardcode_direct_GO
=yes
12717 hardcode_shlibpath_var_GO
=no
12718 hardcode_direct_absolute_GO
=yes
12719 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12720 archive_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12721 archive_expsym_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12722 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12723 export_dynamic_flag_spec_GO
='${wl}-E'
12726 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
12727 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12728 hardcode_libdir_flag_spec_GO
='-R$libdir'
12731 archive_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12732 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12742 hardcode_libdir_flag_spec_GO
='-L$libdir'
12743 hardcode_minus_L_GO
=yes
12744 allow_undefined_flag_GO
=unsupported
12745 archive_cmds_GO
='$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'
12746 old_archive_from_new_cmds_GO
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12750 if test "$GCC" = yes; then
12751 allow_undefined_flag_GO
=' ${wl}-expect_unresolved ${wl}\*'
12752 archive_cmds_GO
='$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'
12754 allow_undefined_flag_GO
=' -expect_unresolved \*'
12755 archive_cmds_GO
='$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'
12757 archive_cmds_need_lc_GO
='no'
12758 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12759 hardcode_libdir_separator_GO
=:
12762 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
12763 if test "$GCC" = yes; then
12764 allow_undefined_flag_GO
=' ${wl}-expect_unresolved ${wl}\*'
12765 archive_cmds_GO
='$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'
12766 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12768 allow_undefined_flag_GO
=' -expect_unresolved \*'
12769 archive_cmds_GO
='$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'
12770 archive_expsym_cmds_GO
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
12771 $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'
12773 # Both c and cxx compiler support -rpath directly
12774 hardcode_libdir_flag_spec_GO
='-rpath $libdir'
12776 archive_cmds_need_lc_GO
='no'
12777 hardcode_libdir_separator_GO
=:
12781 no_undefined_flag_GO
=' -z defs'
12782 if test "$GCC" = yes; then
12784 archive_cmds_GO
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12785 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12786 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12788 case `$CC -V 2>&1` in
12791 archive_cmds_GO
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12792 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12793 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12797 archive_cmds_GO
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12798 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12799 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12803 hardcode_libdir_flag_spec_GO
='-R$libdir'
12804 hardcode_shlibpath_var_GO
=no
12806 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12808 # The compiler driver will combine and reorder linker options,
12809 # but understands `-z linker_flag'. GCC discards it without `$wl',
12810 # but is careful enough not to reorder.
12811 # Supported since Solaris 2.6 (maybe 2.5.1?)
12812 if test "$GCC" = yes; then
12813 whole_archive_flag_spec_GO
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12815 whole_archive_flag_spec_GO
='-z allextract$convenience -z defaultextract'
12819 link_all_deplibs_GO
=yes
12823 if test "x$host_vendor" = xsequent
; then
12824 # Use $CC to link under sequent, because it throws in some extra .o
12825 # files that make .init and .fini sections work.
12826 archive_cmds_GO
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12828 archive_cmds_GO
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12830 hardcode_libdir_flag_spec_GO
='-L$libdir'
12831 hardcode_direct_GO
=yes
12832 hardcode_minus_L_GO
=yes
12833 hardcode_shlibpath_var_GO
=no
12837 case $host_vendor in
12839 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12840 hardcode_direct_GO
=yes # is this really true???
12843 ## LD is ld it makes a PLAMLIB
12844 ## CC just makes a GrossModule.
12845 archive_cmds_GO
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12846 reload_cmds_GO
='$CC -r -o $output$reload_objs'
12847 hardcode_direct_GO
=no
12850 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12851 hardcode_direct_GO
=no
#Motorola manual says yes, but my tests say they lie
12854 runpath_var
='LD_RUN_PATH'
12855 hardcode_shlibpath_var_GO
=no
12859 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12860 hardcode_shlibpath_var_GO
=no
12861 export_dynamic_flag_spec_GO
='-Bexport'
12865 if test -d /usr
/nec
; then
12866 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12867 hardcode_shlibpath_var_GO
=no
12868 runpath_var
=LD_RUN_PATH
12869 hardcode_runpath_var
=yes
12874 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12875 no_undefined_flag_GO
='${wl}-z,text'
12876 archive_cmds_need_lc_GO
=no
12877 hardcode_shlibpath_var_GO
=no
12878 runpath_var
='LD_RUN_PATH'
12880 if test "$GCC" = yes; then
12881 archive_cmds_GO
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12882 archive_expsym_cmds_GO
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12884 archive_cmds_GO
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12885 archive_expsym_cmds_GO
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12889 sysv5
* | sco3.2v5
* | sco5v6
*)
12890 # Note: We can NOT use -z defs as we might desire, because we do not
12891 # link with -lc, and that would cause any symbols used from libc to
12892 # always be unresolved, which means just about no library would
12893 # ever link correctly. If we're not using GNU ld we use -z text
12894 # though, which does catch some bad symbols but isn't as heavy-handed
12896 no_undefined_flag_GO
='${wl}-z,text'
12897 allow_undefined_flag_GO
='${wl}-z,nodefs'
12898 archive_cmds_need_lc_GO
=no
12899 hardcode_shlibpath_var_GO
=no
12900 hardcode_libdir_flag_spec_GO
='${wl}-R,$libdir'
12901 hardcode_libdir_separator_GO
=':'
12902 link_all_deplibs_GO
=yes
12903 export_dynamic_flag_spec_GO
='${wl}-Bexport'
12904 runpath_var
='LD_RUN_PATH'
12906 if test "$GCC" = yes; then
12907 archive_cmds_GO
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12908 archive_expsym_cmds_GO
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12910 archive_cmds_GO
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12911 archive_expsym_cmds_GO
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12916 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12917 hardcode_libdir_flag_spec_GO
='-L$libdir'
12918 hardcode_shlibpath_var_GO
=no
12926 if test x
$host_vendor = xsni
; then
12928 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
12929 export_dynamic_flag_spec_GO
='${wl}-Blargedynsym'
12935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GO" >&5
12936 $as_echo "$ld_shlibs_GO" >&6; }
12937 test "$ld_shlibs_GO" = no
&& can_build_shared
=no
12939 with_gnu_ld_GO
=$with_gnu_ld
12947 # Do we need to explicitly link libc?
12949 case "x$archive_cmds_need_lc_GO" in
12951 # Assume -lc should be added
12952 archive_cmds_need_lc_GO
=yes
12954 if test "$enable_shared" = yes && test "$GCC" = yes; then
12955 case $archive_cmds_GO in
12957 # FIXME: we may have to deal with multi-command sequences.
12960 # Test whether the compiler implicitly links with -lc since on some
12961 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12962 # to ld, don't add -lc before -lgcc.
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12964 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12965 if test "${lt_cv_archive_cmds_need_lc_GO+set}" = set; then :
12966 $as_echo_n "(cached) " >&6
12969 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12971 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12972 (eval $ac_compile) 2>&5
12974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12975 test $ac_status = 0; } 2>conftest.err
; then
12978 libobjs
=conftest.
$ac_objext
12980 wl
=$lt_prog_compiler_wl_GO
12981 pic_flag
=$lt_prog_compiler_pic_GO
12987 lt_save_allow_undefined_flag
=$allow_undefined_flag_GO
12988 allow_undefined_flag_GO
=
12989 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GO 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12990 (eval $archive_cmds_GO 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12993 test $ac_status = 0; }
12995 lt_cv_archive_cmds_need_lc_GO
=no
12997 lt_cv_archive_cmds_need_lc_GO
=yes
12999 allow_undefined_flag_GO
=$lt_save_allow_undefined_flag
13001 cat conftest.err
1>&5
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_GO" >&5
13007 $as_echo "$lt_cv_archive_cmds_need_lc_GO" >&6; }
13008 archive_cmds_need_lc_GO
=$lt_cv_archive_cmds_need_lc_GO
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13079 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13080 hardcode_action_GO
=
13081 if test -n "$hardcode_libdir_flag_spec_GO" ||
13082 test -n "$runpath_var_GO" ||
13083 test "X$hardcode_automatic_GO" = "Xyes" ; then
13085 # We can hardcode non-existent directories.
13086 if test "$hardcode_direct_GO" != no
&&
13087 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13088 # have to relink, otherwise we might link with an installed library
13089 # when we should be linking with a yet-to-be-installed one
13090 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, GO)" != no &&
13091 test "$hardcode_minus_L_GO" != no
; then
13092 # Linking always hardcodes the temporary library directory.
13093 hardcode_action_GO
=relink
13095 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13096 hardcode_action_GO
=immediate
13099 # We cannot hardcode anything, or else we can only hardcode existing
13101 hardcode_action_GO
=unsupported
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GO" >&5
13104 $as_echo "$hardcode_action_GO" >&6; }
13106 if test "$hardcode_action_GO" = relink ||
13107 test "$inherit_rpath_GO" = yes; then
13108 # Fast installation is not supported
13109 enable_fast_install
=no
13110 elif test "$shlibpath_overrides_runpath" = yes ||
13111 test "$enable_shared" = no
; then
13112 # Fast installation is not necessary
13113 enable_fast_install
=needless
13125 ac_cpp
='$CPP $CPPFLAGS'
13126 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13127 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13128 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13137 ac_config_commands
="$ac_config_commands libtool"
13142 # Only expand once:
13148 WARN_FLAGS
='-Wall -Wextra -Wwrite-strings -Wcast-qual'
13154 glibgo_toolexecdir
=no
13155 glibgo_toolexeclibdir
=no
13156 glibgo_prefixdir
=$prefix
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
13159 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
13160 # Check whether --enable-version-specific-runtime-libs was given.
13161 if test "${enable_version_specific_runtime_libs+set}" = set; then :
13162 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
13163 yes) version_specific_libs
=yes ;;
13164 no
) version_specific_libs
=no
;;
13165 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
13168 version_specific_libs
=no
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
13172 $as_echo "$version_specific_libs" >&6; }
13174 # Version-specific runtime libs processing.
13175 if test $version_specific_libs = yes; then
13176 glibgo_toolexecdir
='${libdir}/gcc/${host_alias}'
13177 glibgo_toolexeclibdir
='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
13180 # Calculate glibgo_toolexecdir, glibgo_toolexeclibdir
13181 # Install a library built with a cross compiler in tooldir, not libdir.
13182 if test x
"$glibgo_toolexecdir" = x
"no"; then
13183 if test -n "$with_cross_host" &&
13184 test x
"$with_cross_host" != x
"no"; then
13185 glibgo_toolexecdir
='${exec_prefix}/${host_alias}'
13186 glibgo_toolexeclibdir
='${toolexecdir}/lib'
13188 glibgo_toolexecdir
='${libdir}/gcc/${host_alias}'
13189 glibgo_toolexeclibdir
='${libdir}'
13191 multi_os_directory
=`$CC -print-multi-os-directory`
13192 case $multi_os_directory in
13193 .
) ;; # Avoid trailing /.
13194 *) glibgo_toolexeclibdir
=$glibgo_toolexeclibdir/$multi_os_directory ;;
13202 # See if the user wants to configure without libffi. Some
13203 # architectures don't support it. FIXME: We should set a default
13204 # based on the host.
13206 # Check whether --with-libffi was given.
13207 if test "${with_libffi+set}" = set; then :
13208 withval
=$with_libffi; :
13210 with_libffi
=${with_libffi_default-yes}
13216 if test "$with_libffi" != no
; then
13218 $as_echo "#define USE_LIBFFI 1" >>confdefs.h
13220 LIBFFI
=..
/libffi
/libffi_convenience.la
13221 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
13233 *-*-darwin*) is_darwin
=yes; GOOS
=darwin
;;
13234 *-*-freebsd*) is_freebsd
=yes; GOOS
=freebsd
;;
13235 *-*-linux*) is_linux
=yes; GOOS
=linux
;;
13236 *-*-rtems*) is_rtems
=yes; GOOS
=rtems
;;
13237 *-*-solaris2*) is_solaris
=yes; GOOS
=solaris
;;
13239 if test $is_darwin = yes; then
13240 LIBGO_IS_DARWIN_TRUE
=
13241 LIBGO_IS_DARWIN_FALSE
='#'
13243 LIBGO_IS_DARWIN_TRUE
='#'
13244 LIBGO_IS_DARWIN_FALSE
=
13247 if test $is_freebsd = yes; then
13248 LIBGO_IS_FREEBSD_TRUE
=
13249 LIBGO_IS_FREEBSD_FALSE
='#'
13251 LIBGO_IS_FREEBSD_TRUE
='#'
13252 LIBGO_IS_FREEBSD_FALSE
=
13255 if test $is_linux = yes; then
13256 LIBGO_IS_LINUX_TRUE
=
13257 LIBGO_IS_LINUX_FALSE
='#'
13259 LIBGO_IS_LINUX_TRUE
='#'
13260 LIBGO_IS_LINUX_FALSE
=
13263 if test $is_rtems = yes; then
13264 LIBGO_IS_RTEMS_TRUE
=
13265 LIBGO_IS_RTEMS_FALSE
='#'
13267 LIBGO_IS_RTEMS_TRUE
='#'
13268 LIBGO_IS_RTEMS_FALSE
=
13271 if test $is_solaris = yes; then
13272 LIBGO_IS_SOLARIS_TRUE
=
13273 LIBGO_IS_SOLARIS_FALSE
='#'
13275 LIBGO_IS_SOLARIS_TRUE
='#'
13276 LIBGO_IS_SOLARIS_FALSE
=
13293 arm
*-*-* | strongarm
*-*-* | ep9312
*-*-* | xscale-
*-*)
13297 i
[34567]86-*-* | x86_64-
*-*)
13298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13299 /* end confdefs.h. */
13305 if ac_fn_c_try_compile
"$LINENO"; then :
13310 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13311 if test "$is_386" = "yes"; then
13322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13323 /* end confdefs.h. */
13329 if ac_fn_c_try_compile
"$LINENO"; then :
13334 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13335 if test "$is_mips" = "yes"; then
13341 rs6000
*-*-* | powerpc
*-*-*)
13342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13343 /* end confdefs.h. */
13349 if ac_fn_c_try_compile
"$LINENO"; then :
13354 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13355 if test "$is_ppc" = "yes"; then
13362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13363 /* end confdefs.h. */
13365 #if defined(__sparcv9) || defined(__arch64__)
13369 if ac_fn_c_try_compile
"$LINENO"; then :
13374 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13375 if test "$is_sparc" = "yes"; then
13382 if test $is_386 = yes; then
13384 LIBGO_IS_386_FALSE
='#'
13386 LIBGO_IS_386_TRUE
='#'
13387 LIBGO_IS_386_FALSE
=
13390 if test $is_arm = yes; then
13392 LIBGO_IS_ARM_FALSE
='#'
13394 LIBGO_IS_ARM_TRUE
='#'
13395 LIBGO_IS_ARM_FALSE
=
13398 if test $is_m68k = yes; then
13399 LIBGO_IS_M68K_TRUE
=
13400 LIBGO_IS_M68K_FALSE
='#'
13402 LIBGO_IS_M68K_TRUE
='#'
13403 LIBGO_IS_M68K_FALSE
=
13406 if test $is_mips = yes; then
13407 LIBGO_IS_MIPS_TRUE
=
13408 LIBGO_IS_MIPS_FALSE
='#'
13410 LIBGO_IS_MIPS_TRUE
='#'
13411 LIBGO_IS_MIPS_FALSE
=
13414 if test $is_mips64 = yes; then
13415 LIBGO_IS_MIPS64_TRUE
=
13416 LIBGO_IS_MIPS64_FALSE
='#'
13418 LIBGO_IS_MIPS64_TRUE
='#'
13419 LIBGO_IS_MIPS64_FALSE
=
13422 if test $is_ppc = yes; then
13424 LIBGO_IS_PPC_FALSE
='#'
13426 LIBGO_IS_PPC_TRUE
='#'
13427 LIBGO_IS_PPC_FALSE
=
13430 if test $is_ppc64 = yes; then
13431 LIBGO_IS_PPC64_TRUE
=
13432 LIBGO_IS_PPC64_FALSE
='#'
13434 LIBGO_IS_PPC64_TRUE
='#'
13435 LIBGO_IS_PPC64_FALSE
=
13438 if test $is_sparc = yes; then
13439 LIBGO_IS_SPARC_TRUE
=
13440 LIBGO_IS_SPARC_FALSE
='#'
13442 LIBGO_IS_SPARC_TRUE
='#'
13443 LIBGO_IS_SPARC_FALSE
=
13446 if test $is_sparc64 = yes; then
13447 LIBGO_IS_SPARC64_TRUE
=
13448 LIBGO_IS_SPARC64_FALSE
='#'
13450 LIBGO_IS_SPARC64_TRUE
='#'
13451 LIBGO_IS_SPARC64_FALSE
=
13454 if test $is_x86_64 = yes; then
13455 LIBGO_IS_X86_64_TRUE
=
13456 LIBGO_IS_X86_64_FALSE
='#'
13458 LIBGO_IS_X86_64_TRUE
='#'
13459 LIBGO_IS_X86_64_FALSE
=
13464 GO_SYSCALLS_SYSCALL_OS_ARCH_FILE
=
13465 if test -f ${srcdir}/syscalls/syscall_${GOOS}_${GOARCH}.go
; then
13466 GO_SYSCALLS_SYSCALL_OS_ARCH_FILE
=syscalls
/syscall_
${GOOS}_
${GOARCH}.go
13470 GO_DEBUG_PROC_REGS_OS_ARCH_FILE
=
13471 if test -f ${srcdir}/go/debug/proc/regs_${GOOS}_${GOARCH}.go
; then
13472 GO_DEBUG_PROC_REGS_OS_ARCH_FILE
=go
/debug
/proc
/regs_
${GOOS}_
${GOARCH}.go
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fsplit-stack is supported" >&5
13477 $as_echo_n "checking whether -fsplit-stack is supported... " >&6; }
13478 if test "${libgo_cv_c_split_stack_supported+set}" = set; then :
13479 $as_echo_n "(cached) " >&6
13481 CFLAGS_hold
=$CFLAGS
13482 CFLAGS
="$CFLAGS -fsplit-stack"
13483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13484 /* end confdefs.h. */
13487 if ac_fn_c_try_compile
"$LINENO"; then :
13488 libgo_cv_c_split_stack_supported
=yes
13490 libgo_cv_c_split_stack_supported
=no
13492 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13493 CFLAGS
=$CFLAGS_hold
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_split_stack_supported" >&5
13496 $as_echo "$libgo_cv_c_split_stack_supported" >&6; }
13497 if test "$libgo_cv_c_split_stack_supported" = yes; then
13498 SPLIT_STACK
=-fsplit-stack
13500 $as_echo "#define USING_SPLIT_STACK 1" >>confdefs.h
13506 if test "$libgo_cv_c_split_stack_supported" = yes; then
13507 USING_SPLIT_STACK_TRUE
=
13508 USING_SPLIT_STACK_FALSE
='#'
13510 USING_SPLIT_STACK_TRUE
='#'
13511 USING_SPLIT_STACK_FALSE
=
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker supports split stack" >&5
13516 $as_echo_n "checking whether linker supports split stack... " >&6; }
13517 if test "${libgo_cv_c_linker_supports_split_stack+set}" = set; then :
13518 $as_echo_n "(cached) " >&6
13520 libgo_cv_c_linker_supports_split_stack
=no
13521 if $LD --help 2>/dev
/null |
grep split-stack-adjust-size
>/dev
/null
2>&1; then
13522 libgo_cv_c_linker_supports_split_stack
=yes
13525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_linker_supports_split_stack" >&5
13526 $as_echo "$libgo_cv_c_linker_supports_split_stack" >&6; }
13527 if test "$libgo_cv_c_linker_supports_split_stack" = yes; then
13529 $as_echo "#define LINKER_SUPPORTS_SPLIT_STACK 1" >>confdefs.h
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
13535 $as_echo_n "checking for sqrt in -lm... " >&6; }
13536 if test "${ac_cv_lib_m_sqrt+set}" = set; then :
13537 $as_echo_n "(cached) " >&6
13539 ac_check_lib_save_LIBS
=$LIBS
13541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13542 /* end confdefs.h. */
13544 /* Override any GCC internal prototype to avoid an error.
13545 Use char because int might match the return type of a GCC
13546 builtin and then its argument prototype would still apply. */
13559 if ac_fn_c_try_link
"$LINENO"; then :
13560 ac_cv_lib_m_sqrt
=yes
13562 ac_cv_lib_m_sqrt
=no
13564 rm -f core conftest.err conftest.
$ac_objext \
13565 conftest
$ac_exeext conftest.
$ac_ext
13566 LIBS
=$ac_check_lib_save_LIBS
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
13569 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
13570 if test "x$ac_cv_lib_m_sqrt" = x
""yes; then :
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
13577 $as_echo_n "checking for socket libraries... " >&6; }
13578 if test "${libgo_cv_lib_sockets+set}" = set; then :
13579 $as_echo_n "(cached) " >&6
13581 libgo_cv_lib_sockets
=
13582 libgo_check_both
=no
13583 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
13584 if test "x$ac_cv_func_connect" = x
""yes; then :
13585 libgo_check_socket
=no
13587 libgo_check_socket
=yes
13590 if test "$libgo_check_socket" = "yes"; then
13591 unset ac_cv_func_connect
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
13593 $as_echo_n "checking for main in -lsocket... " >&6; }
13594 if test "${ac_cv_lib_socket_main+set}" = set; then :
13595 $as_echo_n "(cached) " >&6
13597 ac_check_lib_save_LIBS
=$LIBS
13598 LIBS
="-lsocket $LIBS"
13599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13600 /* end confdefs.h. */
13611 if ac_fn_c_try_link
"$LINENO"; then :
13612 ac_cv_lib_socket_main
=yes
13614 ac_cv_lib_socket_main
=no
13616 rm -f core conftest.err conftest.
$ac_objext \
13617 conftest
$ac_exeext conftest.
$ac_ext
13618 LIBS
=$ac_check_lib_save_LIBS
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
13621 $as_echo "$ac_cv_lib_socket_main" >&6; }
13622 if test "x$ac_cv_lib_socket_main" = x
""yes; then :
13623 libgo_cv_lib_sockets
="-lsocket"
13625 libgo_check_both
=yes
13629 if test "$libgo_check_both" = "yes"; then
13630 libgo_old_libs
=$LIBS
13631 LIBS
="$LIBS -lsocket -lnsl"
13632 unset ac_cv_func_accept
13633 ac_fn_c_check_func
"$LINENO" "accept" "ac_cv_func_accept"
13634 if test "x$ac_cv_func_accept" = x
""yes; then :
13636 libgo_cv_lib_sockets
="-lsocket -lnsl"
13639 unset ac_cv_func_accept
13640 LIBS
=$libgo_old_libs
13642 unset ac_cv_func_gethostbyname
13643 libgo_old_libs
="$LIBS"
13644 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13645 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
13649 $as_echo_n "checking for main in -lnsl... " >&6; }
13650 if test "${ac_cv_lib_nsl_main+set}" = set; then :
13651 $as_echo_n "(cached) " >&6
13653 ac_check_lib_save_LIBS
=$LIBS
13655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13656 /* end confdefs.h. */
13667 if ac_fn_c_try_link
"$LINENO"; then :
13668 ac_cv_lib_nsl_main
=yes
13670 ac_cv_lib_nsl_main
=no
13672 rm -f core conftest.err conftest.
$ac_objext \
13673 conftest
$ac_exeext conftest.
$ac_ext
13674 LIBS
=$ac_check_lib_save_LIBS
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
13677 $as_echo "$ac_cv_lib_nsl_main" >&6; }
13678 if test "x$ac_cv_lib_nsl_main" = x
""yes; then :
13679 libgo_cv_lib_sockets
="$libgo_cv_lib_sockets -lnsl"
13684 unset ac_cv_func_gethostbyname
13685 LIBS
=$libgo_old_libs
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_sockets" >&5
13689 $as_echo "$libgo_cv_lib_sockets" >&6; }
13690 NET_LIBS
="$libgo_cv_lib_sockets"
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -pthread is supported" >&5
13694 $as_echo_n "checking whether -pthread is supported... " >&6; }
13695 if test "${libgo_cv_lib_pthread+set}" = set; then :
13696 $as_echo_n "(cached) " >&6
13698 CFLAGS_hold
=$CFLAGS
13699 CFLAGS
="$CFLAGS -pthread"
13700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13701 /* end confdefs.h. */
13704 if ac_fn_c_try_compile
"$LINENO"; then :
13705 libgo_cv_lib_pthread
=yes
13707 libgo_cv_lib_pthread
=no
13709 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13710 CFLAGS
=$CFLAGS_hold
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_pthread" >&5
13713 $as_echo "$libgo_cv_lib_pthread" >&6; }
13715 if test "$libgo_cv_lib_pthread" = yes; then
13716 PTHREAD_CFLAGS
=-pthread
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13722 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
13723 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
13724 $as_echo_n "(cached) " >&6
13726 ac_check_lib_save_LIBS
=$LIBS
13727 LIBS
="-lpthread $LIBS"
13728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13729 /* end confdefs.h. */
13731 /* Override any GCC internal prototype to avoid an error.
13732 Use char because int might match the return type of a GCC
13733 builtin and then its argument prototype would still apply. */
13737 char pthread_create ();
13741 return pthread_create ();
13746 if ac_fn_c_try_link
"$LINENO"; then :
13747 ac_cv_lib_pthread_pthread_create
=yes
13749 ac_cv_lib_pthread_pthread_create
=no
13751 rm -f core conftest.err conftest.
$ac_objext \
13752 conftest
$ac_exeext conftest.
$ac_ext
13753 LIBS
=$ac_check_lib_save_LIBS
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13756 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
13757 if test "x$ac_cv_lib_pthread_pthread_create" = x
""yes; then :
13758 PTHREAD_LIBS
=-lpthread
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
13764 $as_echo_n "checking for library containing sched_yield... " >&6; }
13765 if test "${ac_cv_search_sched_yield+set}" = set; then :
13766 $as_echo_n "(cached) " >&6
13768 ac_func_search_save_LIBS
=$LIBS
13769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13770 /* end confdefs.h. */
13772 /* Override any GCC internal prototype to avoid an error.
13773 Use char because int might match the return type of a GCC
13774 builtin and then its argument prototype would still apply. */
13778 char sched_yield ();
13782 return sched_yield ();
13787 for ac_lib
in '' rt
; do
13788 if test -z "$ac_lib"; then
13789 ac_res
="none required"
13792 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13794 if ac_fn_c_try_link
"$LINENO"; then :
13795 ac_cv_search_sched_yield
=$ac_res
13797 rm -f core conftest.err conftest.
$ac_objext \
13799 if test "${ac_cv_search_sched_yield+set}" = set; then :
13803 if test "${ac_cv_search_sched_yield+set}" = set; then :
13806 ac_cv_search_sched_yield
=no
13808 rm conftest.
$ac_ext
13809 LIBS
=$ac_func_search_save_LIBS
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
13812 $as_echo "$ac_cv_search_sched_yield" >&6; }
13813 ac_res
=$ac_cv_search_sched_yield
13814 if test "$ac_res" != no
; then :
13815 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13821 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13822 if test "${ac_cv_c_bigendian+set}" = set; then :
13823 $as_echo_n "(cached) " >&6
13825 ac_cv_c_bigendian
=unknown
13826 # See if we're dealing with a universal compiler.
13827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13828 /* end confdefs.h. */
13829 #ifndef __APPLE_CC__
13830 not a universal capable compiler
13835 if ac_fn_c_try_compile
"$LINENO"; then :
13837 # Check for potential -arch flags. It is not universal unless
13838 # there are at least two -arch flags with different values.
13841 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
13842 if test -n "$ac_prev"; then
13844 i?
86 | x86_64 | ppc | ppc64
)
13845 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
13848 ac_cv_c_bigendian
=universal
13854 elif test "x$ac_word" = "x-arch"; then
13859 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13860 if test $ac_cv_c_bigendian = unknown
; then
13861 # See if sys/param.h defines the BYTE_ORDER macro.
13862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13863 /* end confdefs.h. */
13864 #include <sys/types.h>
13865 #include <sys/param.h>
13870 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
13871 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
13873 bogus endian macros
13880 if ac_fn_c_try_compile
"$LINENO"; then :
13881 # It does; now see whether it defined to BIG_ENDIAN or not.
13882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13883 /* end confdefs.h. */
13884 #include <sys/types.h>
13885 #include <sys/param.h>
13890 #if BYTE_ORDER != BIG_ENDIAN
13898 if ac_fn_c_try_compile
"$LINENO"; then :
13899 ac_cv_c_bigendian
=yes
13901 ac_cv_c_bigendian
=no
13903 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13905 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13907 if test $ac_cv_c_bigendian = unknown
; then
13908 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
13909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13910 /* end confdefs.h. */
13911 #include <limits.h>
13916 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
13917 bogus endian macros
13924 if ac_fn_c_try_compile
"$LINENO"; then :
13925 # It does; now see whether it defined to _BIG_ENDIAN or not.
13926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13927 /* end confdefs.h. */
13928 #include <limits.h>
13933 #ifndef _BIG_ENDIAN
13941 if ac_fn_c_try_compile
"$LINENO"; then :
13942 ac_cv_c_bigendian
=yes
13944 ac_cv_c_bigendian
=no
13946 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13948 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13950 if test $ac_cv_c_bigendian = unknown
; then
13951 # Compile a test program.
13952 if test "$cross_compiling" = yes; then :
13953 # Try to guess by grepping values from an object file.
13954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13955 /* end confdefs.h. */
13956 short int ascii_mm[] =
13957 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13958 short int ascii_ii[] =
13959 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
13960 int use_ascii (int i) {
13961 return ascii_mm[i] + ascii_ii[i];
13963 short int ebcdic_ii[] =
13964 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13965 short int ebcdic_mm[] =
13966 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
13967 int use_ebcdic (int i) {
13968 return ebcdic_mm[i] + ebcdic_ii[i];
13975 return use_ascii (foo) == use_ebcdic (foo);
13980 if ac_fn_c_try_compile
"$LINENO"; then :
13981 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
13982 ac_cv_c_bigendian
=yes
13984 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
13985 if test "$ac_cv_c_bigendian" = unknown
; then
13986 ac_cv_c_bigendian
=no
13988 # finding both strings is unlikely to happen, but who knows?
13989 ac_cv_c_bigendian
=unknown
13993 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13996 /* end confdefs.h. */
13997 $ac_includes_default
14002 /* Are we little or big endian? From Harbison&Steele. */
14006 char c[sizeof (long int)];
14009 return u.c[sizeof (long int) - 1] == 1;
14015 if ac_fn_c_try_run
"$LINENO"; then :
14016 ac_cv_c_bigendian
=no
14018 ac_cv_c_bigendian
=yes
14020 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14021 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
14027 $as_echo "$ac_cv_c_bigendian" >&6; }
14028 case $ac_cv_c_bigendian in #(
14030 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
14036 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
14040 as_fn_error
"unknown endianness
14041 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
14047 # Check whether --with-system-libunwind was given.
14048 if test "${with_system_libunwind+set}" = set; then :
14049 withval
=$with_system_libunwind;
14052 # If system-libunwind was not specifically set, pick a default setting.
14053 if test x
$with_system_libunwind = x
; then
14055 ia64-
*-hpux*) with_system_libunwind
=yes ;;
14056 *) with_system_libunwind
=no
;;
14059 # Based on system-libunwind and target, do we have ipinfo?
14060 if test x
$with_system_libunwind = xyes
; then
14062 ia64-
*-*) have_unwind_getipinfo
=no
;;
14063 *) have_unwind_getipinfo
=yes ;;
14066 # Darwin before version 9 does not have _Unwind_GetIPInfo.
14069 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
14070 *) have_unwind_getipinfo
=yes ;;
14075 if test x
$have_unwind_getipinfo = xyes
; then
14077 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
14082 # Check whether --enable-sjlj-exceptions was given.
14083 if test "${enable_sjlj_exceptions+set}" = set; then :
14084 enableval
=$enable_sjlj_exceptions; case "$enableval" in
14086 *) as_fn_error
"unknown argument to --enable-sjlj-exceptions" "$LINENO" 5 ;;
14089 enable_sjlj_exceptions
=auto
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use setjmp/longjmp exceptions" >&5
14094 $as_echo_n "checking whether to use setjmp/longjmp exceptions... " >&6; }
14095 if test "${libgo_cv_lib_sjlj_exceptions+set}" = set; then :
14096 $as_echo_n "(cached) " >&6
14098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14099 /* end confdefs.h. */
14102 void clean (int *);
14105 int i __attribute__ ((cleanup (clean)));
14110 CFLAGS_hold
=$CFLAGS
14111 CFLAGS
="--save-temps -fexceptions"
14112 libgo_cv_lib_sjlj_exceptions
=unknown
14113 if ac_fn_c_try_compile
; then :
14114 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1; then
14115 libgo_cv_lib_sjlj_exceptions
=yes
14116 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1; then
14117 libgo_cv_lib_sjlj_exceptions
=no
14120 CFLAGS
=$CFLAGS_hold
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_sjlj_exceptions" >&5
14125 $as_echo "$libgo_cv_lib_sjlj_exceptions" >&6; }
14127 if test "$enable_sjlj_exceptions" = "auto"; then
14128 enable_sjlj_exceptions
=$libgo_cv_lib_sjlj_exceptions
14131 case $enable_sjlj_exceptions in
14134 $as_echo "#define LIBGO_SJLJ_EXCEPTIONS 1" >>confdefs.h
14140 as_fn_error
"unable to detect exception model" "$LINENO" 5
14144 for ac_header
in sys
/mman.h syscall.h sys
/epoll.h sys
/ptrace.h sys
/user.h sys
/utsname.h
14146 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14147 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14148 eval as_val
=\$
$as_ac_Header
14149 if test "x$as_val" = x
""yes; then :
14150 cat >>confdefs.h
<<_ACEOF
14151 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14158 if test "$ac_cv_header_sys_mman_h" = yes; then
14159 HAVE_SYS_MMAN_H_TRUE
=
14160 HAVE_SYS_MMAN_H_FALSE
='#'
14162 HAVE_SYS_MMAN_H_TRUE
='#'
14163 HAVE_SYS_MMAN_H_FALSE
=
14166 for ac_func
in srandom random strsignal
14168 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14169 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14170 eval as_val
=\$
$as_ac_var
14171 if test "x$as_val" = x
""yes; then :
14172 cat >>confdefs.h
<<_ACEOF
14173 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_bool_compare_and_swap_4" >&5
14181 $as_echo_n "checking for __sync_bool_compare_and_swap_4... " >&6; }
14182 if test "${libgo_cv_func___sync_bool_compare_and_swap_4+set}" = set; then :
14183 $as_echo_n "(cached) " >&6
14185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14186 /* end confdefs.h. */
14188 typedef unsigned int uint32 __attribute__ ((mode (SI)));
14190 int main() { return __sync_bool_compare_and_swap (&i, 0, 1); }
14193 if ac_fn_c_try_link
"$LINENO"; then :
14194 libgo_cv_func___sync_bool_compare_and_swap_4
=yes
14196 libgo_cv_func___sync_bool_compare_and_swap_4
=no
14198 rm -f core conftest.err conftest.
$ac_objext \
14199 conftest
$ac_exeext conftest.
$ac_ext
14201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_bool_compare_and_swap_4" >&5
14202 $as_echo "$libgo_cv_func___sync_bool_compare_and_swap_4" >&6; }
14203 if test "$libgo_cv_func___sync_bool_compare_and_swap_4" = "yes"; then
14205 $as_echo "#define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_4 1" >>confdefs.h
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add_4" >&5
14210 $as_echo_n "checking for __sync_fetch_and_add_4... " >&6; }
14211 if test "${libgo_cv_func___sync_fetch_and_add_4+set}" = set; then :
14212 $as_echo_n "(cached) " >&6
14214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14215 /* end confdefs.h. */
14217 typedef unsigned int uint32 __attribute__ ((mode (SI)));
14219 int main() { return __sync_fetch_and_add (&i, 1); }
14222 if ac_fn_c_try_link
"$LINENO"; then :
14223 libgo_cv_func___sync_fetch_and_add_4
=yes
14225 libgo_cv_func___sync_fetch_and_add_4
=no
14227 rm -f core conftest.err conftest.
$ac_objext \
14228 conftest
$ac_exeext conftest.
$ac_ext
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_fetch_and_add_4" >&5
14231 $as_echo "$libgo_cv_func___sync_fetch_and_add_4" >&6; }
14232 if test "$libgo_cv_func___sync_fetch_and_add_4" = "yes"; then
14234 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD_4 1" >>confdefs.h
14238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -minline-all-stringops" >&5
14239 $as_echo_n "checking whether compiler supports -minline-all-stringops... " >&6; }
14240 if test "${libgo_cv_c_stringops+set}" = set; then :
14241 $as_echo_n "(cached) " >&6
14243 CFLAGS_hold
=$CFLAGS
14244 CFLAGS
="$CFLAGS -minline-all-stringops"
14245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14246 /* end confdefs.h. */
14249 if ac_fn_c_try_compile
"$LINENO"; then :
14250 libgo_cv_c_stringops
=yes
14252 libgo_cv_c_stringops
=no
14254 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14255 CFLAGS
=$CFLAGS_hold
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_stringops" >&5
14258 $as_echo "$libgo_cv_c_stringops" >&6; }
14260 if test "$libgo_cv_c_stringops" = yes; then
14261 STRINGOPS_FLAG
=-minline-all-stringops
14265 CFLAGS_hold
=$CFLAGS
14266 CFLAGS
="$CFLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
14267 ac_fn_c_check_type
"$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default"
14268 if test "x$ac_cv_type_off64_t" = x
""yes; then :
14270 cat >>confdefs.h
<<_ACEOF
14271 #define HAVE_OFF64_T 1
14277 CFLAGS
=$CFLAGS_hold
14279 cat >confcache
<<\_ACEOF
14280 # This file is a shell script that caches the results of configure
14281 # tests run on this system so they can be shared between configure
14282 # scripts and configure runs, see configure's option --config-cache.
14283 # It is not useful on other systems. If it contains results you don't
14284 # want to keep, you may remove or edit it.
14286 # config.status only pays attention to the cache file if you give it
14287 # the --recheck option to rerun configure.
14289 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14290 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14291 # following values.
14295 # The following way of writing the cache mishandles newlines in values,
14296 # but we know of no workaround that is simple, portable, and efficient.
14297 # So, we kill variables containing newlines.
14298 # Ultrix sh set writes to stderr and can't be redirected directly,
14299 # and sets the high bit in the cache file unless we assign to the vars.
14301 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14302 eval ac_val
=\$
$ac_var
14306 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14307 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14310 _ | IFS | as_nl
) ;; #(
14311 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14312 *) { eval $ac_var=; unset $ac_var;} ;;
14318 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14319 *${as_nl}ac_space
=\
*)
14320 # `set' does not quote correctly, so add quotes: double-quote
14321 # substitution turns \\\\ into \\, and sed turns \\ into \.
14324 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14327 # `set' quotes correctly as required by POSIX, so do not add quotes.
14328 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14337 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14339 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14341 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14342 if test -w "$cache_file"; then
14343 test "x$cache_file" != "x/dev/null" &&
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14345 $as_echo "$as_me: updating cache $cache_file" >&6;}
14346 cat confcache
>$cache_file
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14349 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14354 if test ${multilib} = yes; then
14355 multilib_arg
="--enable-multilib"
14360 ac_config_files
="$ac_config_files Makefile testsuite/Makefile"
14363 ac_config_commands
="$ac_config_commands default"
14366 cat >confcache
<<\_ACEOF
14367 # This file is a shell script that caches the results of configure
14368 # tests run on this system so they can be shared between configure
14369 # scripts and configure runs, see configure's option --config-cache.
14370 # It is not useful on other systems. If it contains results you don't
14371 # want to keep, you may remove or edit it.
14373 # config.status only pays attention to the cache file if you give it
14374 # the --recheck option to rerun configure.
14376 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14377 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14378 # following values.
14382 # The following way of writing the cache mishandles newlines in values,
14383 # but we know of no workaround that is simple, portable, and efficient.
14384 # So, we kill variables containing newlines.
14385 # Ultrix sh set writes to stderr and can't be redirected directly,
14386 # and sets the high bit in the cache file unless we assign to the vars.
14388 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14389 eval ac_val
=\$
$ac_var
14393 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14394 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14397 _ | IFS | as_nl
) ;; #(
14398 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14399 *) { eval $ac_var=; unset $ac_var;} ;;
14405 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14406 *${as_nl}ac_space
=\
*)
14407 # `set' does not quote correctly, so add quotes: double-quote
14408 # substitution turns \\\\ into \\, and sed turns \\ into \.
14411 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14414 # `set' quotes correctly as required by POSIX, so do not add quotes.
14415 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14424 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14426 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14428 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14429 if test -w "$cache_file"; then
14430 test "x$cache_file" != "x/dev/null" &&
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14432 $as_echo "$as_me: updating cache $cache_file" >&6;}
14433 cat confcache
>$cache_file
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14436 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14441 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14442 # Let make expand exec_prefix.
14443 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14445 DEFS
=-DHAVE_CONFIG_H
14449 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14450 # 1. Remove the extension, and $U if already installed.
14451 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14452 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14453 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14454 # will be set to the directory where LIBOBJS objects are built.
14455 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14456 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14458 LIBOBJS
=$ac_libobjs
14460 LTLIBOBJS
=$ac_ltlibobjs
14463 if test -n "$EXEEXT"; then
14465 am__EXEEXT_FALSE
='#'
14467 am__EXEEXT_TRUE
='#'
14471 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14472 as_fn_error
"conditional \"AMDEP\" was never defined.
14473 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14475 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14476 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
14477 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14479 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14480 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
14481 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14483 if test -z "${LIBGO_IS_DARWIN_TRUE}" && test -z "${LIBGO_IS_DARWIN_FALSE}"; then
14484 as_fn_error
"conditional \"LIBGO_IS_DARWIN\" was never defined.
14485 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14487 if test -z "${LIBGO_IS_FREEBSD_TRUE}" && test -z "${LIBGO_IS_FREEBSD_FALSE}"; then
14488 as_fn_error
"conditional \"LIBGO_IS_FREEBSD\" was never defined.
14489 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14491 if test -z "${LIBGO_IS_LINUX_TRUE}" && test -z "${LIBGO_IS_LINUX_FALSE}"; then
14492 as_fn_error
"conditional \"LIBGO_IS_LINUX\" was never defined.
14493 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14495 if test -z "${LIBGO_IS_RTEMS_TRUE}" && test -z "${LIBGO_IS_RTEMS_FALSE}"; then
14496 as_fn_error
"conditional \"LIBGO_IS_RTEMS\" was never defined.
14497 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14499 if test -z "${LIBGO_IS_SOLARIS_TRUE}" && test -z "${LIBGO_IS_SOLARIS_FALSE}"; then
14500 as_fn_error
"conditional \"LIBGO_IS_SOLARIS\" was never defined.
14501 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14503 if test -z "${LIBGO_IS_386_TRUE}" && test -z "${LIBGO_IS_386_FALSE}"; then
14504 as_fn_error
"conditional \"LIBGO_IS_386\" was never defined.
14505 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14507 if test -z "${LIBGO_IS_ARM_TRUE}" && test -z "${LIBGO_IS_ARM_FALSE}"; then
14508 as_fn_error
"conditional \"LIBGO_IS_ARM\" was never defined.
14509 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14511 if test -z "${LIBGO_IS_M68K_TRUE}" && test -z "${LIBGO_IS_M68K_FALSE}"; then
14512 as_fn_error
"conditional \"LIBGO_IS_M68K\" was never defined.
14513 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14515 if test -z "${LIBGO_IS_MIPS_TRUE}" && test -z "${LIBGO_IS_MIPS_FALSE}"; then
14516 as_fn_error
"conditional \"LIBGO_IS_MIPS\" was never defined.
14517 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14519 if test -z "${LIBGO_IS_MIPS64_TRUE}" && test -z "${LIBGO_IS_MIPS64_FALSE}"; then
14520 as_fn_error
"conditional \"LIBGO_IS_MIPS64\" was never defined.
14521 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14523 if test -z "${LIBGO_IS_PPC_TRUE}" && test -z "${LIBGO_IS_PPC_FALSE}"; then
14524 as_fn_error
"conditional \"LIBGO_IS_PPC\" was never defined.
14525 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14527 if test -z "${LIBGO_IS_PPC64_TRUE}" && test -z "${LIBGO_IS_PPC64_FALSE}"; then
14528 as_fn_error
"conditional \"LIBGO_IS_PPC64\" was never defined.
14529 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14531 if test -z "${LIBGO_IS_SPARC_TRUE}" && test -z "${LIBGO_IS_SPARC_FALSE}"; then
14532 as_fn_error
"conditional \"LIBGO_IS_SPARC\" was never defined.
14533 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14535 if test -z "${LIBGO_IS_SPARC64_TRUE}" && test -z "${LIBGO_IS_SPARC64_FALSE}"; then
14536 as_fn_error
"conditional \"LIBGO_IS_SPARC64\" was never defined.
14537 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14539 if test -z "${LIBGO_IS_X86_64_TRUE}" && test -z "${LIBGO_IS_X86_64_FALSE}"; then
14540 as_fn_error
"conditional \"LIBGO_IS_X86_64\" was never defined.
14541 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14543 if test -z "${USING_SPLIT_STACK_TRUE}" && test -z "${USING_SPLIT_STACK_FALSE}"; then
14544 as_fn_error
"conditional \"USING_SPLIT_STACK\" was never defined.
14545 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14548 if test -z "${HAVE_SYS_MMAN_H_TRUE}" && test -z "${HAVE_SYS_MMAN_H_FALSE}"; then
14549 as_fn_error
"conditional \"HAVE_SYS_MMAN_H\" was never defined.
14550 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14553 : ${CONFIG_STATUS=./config.status}
14555 ac_clean_files_save
=$ac_clean_files
14556 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14558 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14560 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14562 # Generated by $as_me.
14563 # Run this file to recreate the current configuration.
14564 # Compiler output produced by configure, useful for debugging
14565 # configure, is in config.log if it exists.
14568 ac_cs_recheck=false
14571 SHELL=\${CONFIG_SHELL-$SHELL}
14574 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14575 ## -------------------- ##
14576 ## M4sh Initialization. ##
14577 ## -------------------- ##
14579 # Be more Bourne compatible
14580 DUALCASE
=1; export DUALCASE
# for MKS sh
14581 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14584 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14585 # is contrary to our usage. Disable this feature.
14586 alias -g '${1+"$@"}'='"$@"'
14587 setopt NO_GLOB_SUBST
14589 case `(set -o) 2>/dev/null` in #(
14601 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14602 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14603 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14604 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14605 # Prefer a ksh shell builtin over an external printf program on Solaris,
14606 # but without wasting forks for bash or zsh.
14607 if test -z "$BASH_VERSION$ZSH_VERSION" \
14608 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14609 as_echo='print
-r --'
14610 as_echo_n='print
-rn --'
14611 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14612 as_echo='printf %s
\n'
14613 as_echo_n='printf %s
'
14615 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14616 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14617 as_echo_n='/usr
/ucb
/echo -n'
14619 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14620 as_echo_n_body='eval
14624 expr "X$arg" : "X\\(.*\\)$as_nl";
14625 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14627 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14629 export as_echo_n_body
14630 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14632 export as_echo_body
14633 as_echo='sh
-c $as_echo_body as_echo
'
14636 # The user is always right.
14637 if test "${PATH_SEPARATOR+set}" != set; then
14639 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14640 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14647 # We need space, tab and new line, in precisely that order. Quoting is
14648 # there to prevent editors from complaining about space-tab.
14649 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14650 # splitting by setting IFS to empty value.)
14653 # Find who we are. Look in the path if we contain no directory separator.
14655 *[\\/]* ) as_myself=$0 ;;
14656 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14657 for as_dir in $PATH
14660 test -z "$as_dir" && as_dir=.
14661 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14667 # We did not find ourselves, most probably we were run as `sh COMMAND'
14668 # in which case we are not to be found in the path.
14669 if test "x$as_myself" = x
; then
14672 if test ! -f "$as_myself"; then
14673 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14677 # Unset variables that we do not need and which cause bugs (e.g. in
14678 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14679 # suppresses any "Segmentation fault" message there. '((' could
14680 # trigger a bug in pdksh 5.2.14.
14681 for as_var
in BASH_ENV ENV MAIL MAILPATH
14682 do eval test x\
${$as_var+set} = xset \
14683 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14696 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14699 # as_fn_error ERROR [LINENO LOG_FD]
14700 # ---------------------------------
14701 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14702 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14703 # script with status $?, using 1 if that was 0.
14706 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14708 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14709 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14711 $as_echo "$as_me: error: $1" >&2
14712 as_fn_exit
$as_status
14716 # as_fn_set_status STATUS
14717 # -----------------------
14718 # Set $? to STATUS, without forking.
14719 as_fn_set_status
()
14722 } # as_fn_set_status
14724 # as_fn_exit STATUS
14725 # -----------------
14726 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14730 as_fn_set_status
$1
14736 # Portably unset VAR.
14739 { eval $1=; unset $1;}
14741 as_unset
=as_fn_unset
14742 # as_fn_append VAR VALUE
14743 # ----------------------
14744 # Append the text in VALUE to the end of the definition contained in VAR. Take
14745 # advantage of any shell optimizations that allow amortized linear growth over
14746 # repeated appends, instead of the typical quadratic growth present in naive
14748 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14749 eval 'as_fn_append ()
14760 # as_fn_arith ARG...
14761 # ------------------
14762 # Perform arithmetic evaluation on the ARGs, and store the result in the
14763 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14764 # must be portable across $(()) and expr.
14765 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14766 eval 'as_fn_arith ()
14773 as_val
=`expr "$@" || test $? -eq 1`
14778 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14779 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14785 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14786 as_basename
=basename
14791 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14797 as_me
=`$as_basename -- "$0" ||
14798 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14799 X"$0" : 'X\(//\)$' \| \
14800 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14802 sed '/^.*\/\([^/][^/]*\)\/*$/{
14816 # Avoid depending upon Character Ranges.
14817 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14818 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14819 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14820 as_cr_digits
='0123456789'
14821 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14823 ECHO_C
= ECHO_N
= ECHO_T
=
14824 case `echo -n x` in #(((((
14826 case `echo 'xy\c'` in
14827 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14829 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14836 rm -f conf$$ conf$$.exe conf$$.
file
14837 if test -d conf$$.dir
; then
14838 rm -f conf$$.dir
/conf$$.
file
14841 mkdir conf$$.dir
2>/dev
/null
14843 if (echo >conf$$.
file) 2>/dev
/null
; then
14844 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14846 # ... but there are two gotchas:
14847 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14848 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14849 # In both cases, we have to default to `cp -p'.
14850 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14852 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14860 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14861 rmdir conf$$.dir
2>/dev
/null
14866 # Create "$as_dir" as a directory, including parents if necessary.
14871 -*) as_dir
=.
/$as_dir;;
14873 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14877 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14878 *) as_qdir
=$as_dir;;
14880 as_dirs
="'$as_qdir' $as_dirs"
14881 as_dir
=`$as_dirname -- "$as_dir" ||
14882 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14883 X"$as_dir" : 'X\(//\)[^/]' \| \
14884 X"$as_dir" : 'X\(//\)$' \| \
14885 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14886 $as_echo X"$as_dir" |
14887 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14891 /^X\(\/\/\)[^/].*/{
14904 test -d "$as_dir" && break
14906 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14907 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14911 if mkdir
-p .
2>/dev
/null
; then
14912 as_mkdir_p
='mkdir -p "$as_dir"'
14914 test -d .
/-p && rmdir .
/-p
14918 if test -x / >/dev
/null
2>&1; then
14919 as_test_x
='test -x'
14921 if ls -dL / >/dev
/null
2>&1; then
14928 if test -d "$1"; then
14934 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14935 ???[sx]*):;;*)false;;esac;fi
14939 as_executable_p
=$as_test_x
14941 # Sed expression to map a string onto a valid CPP name.
14942 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14944 # Sed expression to map a string onto a valid variable name.
14945 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14949 ## ----------------------------------- ##
14950 ## Main body of $CONFIG_STATUS script. ##
14951 ## ----------------------------------- ##
14953 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14956 # Save the log message, to keep $0 and so on meaningful, and to
14957 # report actual input values of CONFIG_FILES etc. instead of their
14958 # values after options handling.
14960 This file was extended by package-unused $as_me version-unused, which was
14961 generated by GNU Autoconf 2.64. Invocation command line was
14963 CONFIG_FILES = $CONFIG_FILES
14964 CONFIG_HEADERS = $CONFIG_HEADERS
14965 CONFIG_LINKS = $CONFIG_LINKS
14966 CONFIG_COMMANDS = $CONFIG_COMMANDS
14969 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14974 case $ac_config_files in *"
14975 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14978 case $ac_config_headers in *"
14979 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14983 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14984 # Files that config.status was made for.
14985 config_files="$ac_config_files"
14986 config_headers="$ac_config_headers"
14987 config_commands="$ac_config_commands"
14991 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14993 \`$as_me' instantiates files and other configuration actions
14994 from templates according to the current configuration. Unless the files
14995 and actions are specified as TAGs, all are instantiated by default.
14997 Usage: $0 [OPTION]... [TAG]...
14999 -h, --help print this help, then exit
15000 -V, --version print version number and configuration settings, then exit
15001 -q, --quiet, --silent
15002 do not print progress messages
15003 -d, --debug don't remove temporary files
15004 --recheck update $as_me by reconfiguring in the same conditions
15005 --file=FILE[:TEMPLATE]
15006 instantiate the configuration file FILE
15007 --header=FILE[:TEMPLATE]
15008 instantiate the configuration header FILE
15010 Configuration files:
15013 Configuration headers:
15016 Configuration commands:
15019 Report bugs to the package provider."
15022 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15024 package-unused config.status version-unused
15025 configured by $0, generated by GNU Autoconf 2.64,
15026 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15028 Copyright (C) 2009 Free Software Foundation, Inc.
15029 This config.status script is free software; the Free Software Foundation
15030 gives unlimited permission to copy, distribute and modify it."
15037 test -n "\$AWK" || AWK=awk
15040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15041 # The default lists apply if the user does not specify any file.
15047 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15048 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15059 # Handling of the options.
15060 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15062 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15063 $as_echo "$ac_cs_version"; exit ;;
15064 --debug |
--debu |
--deb |
--de |
--d |
-d )
15066 --file |
--fil |
--fi |
--f )
15069 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15071 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15072 ac_need_defaults
=false
;;
15073 --header |
--heade |
--head |
--hea )
15076 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15078 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15079 ac_need_defaults
=false
;;
15081 # Conflict between --help and --header
15082 as_fn_error
"ambiguous option: \`$1'
15083 Try \`$0 --help' for more information.";;
15084 --help |
--hel |
-h )
15085 $as_echo "$ac_cs_usage"; exit ;;
15086 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15087 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15090 # This is an error.
15091 -*) as_fn_error
"unrecognized option: \`$1'
15092 Try \`$0 --help' for more information." ;;
15094 *) as_fn_append ac_config_targets
" $1"
15095 ac_need_defaults
=false
;;
15101 ac_configure_extra_args
=
15103 if $ac_cs_silent; then
15105 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15109 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15110 if \$ac_cs_recheck; then
15111 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15113 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15114 CONFIG_SHELL='$SHELL'
15115 export CONFIG_SHELL
15120 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15124 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15125 ## Running $as_me. ##
15131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15139 with_multisubdir="$with_multisubdir"
15140 with_multisrctop="$with_multisrctop"
15141 with_target_subdir="$with_target_subdir"
15142 ac_configure_args="${multilib_arg} ${ac_configure_args}"
15143 multi_basedir="$multi_basedir"
15144 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
15147 GFORTRAN="$GFORTRAN"
15149 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15152 # The HP-UX ksh and POSIX shell print the target directory to stdout
15153 # if CDPATH is set.
15154 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15156 sed_quote_subst='$sed_quote_subst'
15157 double_quote_subst='$double_quote_subst'
15158 delay_variable_subst='$delay_variable_subst'
15159 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15160 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15161 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15162 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15163 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15164 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15165 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15166 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15167 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15168 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15169 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15170 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15171 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15172 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15173 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15174 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15175 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15176 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15177 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15178 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15179 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15180 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15181 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15182 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15183 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15184 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15185 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15186 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15187 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15188 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15189 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15190 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15191 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15192 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15193 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15194 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15195 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15196 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15197 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15198 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15199 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15200 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15201 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15202 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15203 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15204 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15205 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15206 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15207 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"`'
15208 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15209 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15210 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15211 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15212 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15213 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15214 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15215 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15216 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15217 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15218 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15219 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15220 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15221 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15222 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15223 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15224 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15225 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15226 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15227 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15228 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15229 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15230 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15231 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15232 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15233 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15234 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15235 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15236 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15237 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15238 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15239 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15240 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15241 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15242 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15243 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15244 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15245 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15246 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15247 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15248 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15249 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15250 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15251 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15252 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15253 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15254 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15255 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15256 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15257 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15258 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15259 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15260 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15261 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15262 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15263 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15264 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15265 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15266 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15267 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15268 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15269 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15270 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15271 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15272 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15273 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15274 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15275 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15276 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15277 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15278 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15279 LD_GO='`$ECHO "$LD_GO" | $SED "$delay_single_quote_subst"`'
15280 reload_flag_GO='`$ECHO "$reload_flag_GO" | $SED "$delay_single_quote_subst"`'
15281 reload_cmds_GO='`$ECHO "$reload_cmds_GO" | $SED "$delay_single_quote_subst"`'
15282 old_archive_cmds_GO='`$ECHO "$old_archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
15283 compiler_GO='`$ECHO "$compiler_GO" | $SED "$delay_single_quote_subst"`'
15284 GCC_GO='`$ECHO "$GCC_GO" | $SED "$delay_single_quote_subst"`'
15285 lt_prog_compiler_no_builtin_flag_GO='`$ECHO "$lt_prog_compiler_no_builtin_flag_GO" | $SED "$delay_single_quote_subst"`'
15286 lt_prog_compiler_wl_GO='`$ECHO "$lt_prog_compiler_wl_GO" | $SED "$delay_single_quote_subst"`'
15287 lt_prog_compiler_pic_GO='`$ECHO "$lt_prog_compiler_pic_GO" | $SED "$delay_single_quote_subst"`'
15288 lt_prog_compiler_static_GO='`$ECHO "$lt_prog_compiler_static_GO" | $SED "$delay_single_quote_subst"`'
15289 lt_cv_prog_compiler_c_o_GO='`$ECHO "$lt_cv_prog_compiler_c_o_GO" | $SED "$delay_single_quote_subst"`'
15290 archive_cmds_need_lc_GO='`$ECHO "$archive_cmds_need_lc_GO" | $SED "$delay_single_quote_subst"`'
15291 enable_shared_with_static_runtimes_GO='`$ECHO "$enable_shared_with_static_runtimes_GO" | $SED "$delay_single_quote_subst"`'
15292 export_dynamic_flag_spec_GO='`$ECHO "$export_dynamic_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
15293 whole_archive_flag_spec_GO='`$ECHO "$whole_archive_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
15294 compiler_needs_object_GO='`$ECHO "$compiler_needs_object_GO" | $SED "$delay_single_quote_subst"`'
15295 old_archive_from_new_cmds_GO='`$ECHO "$old_archive_from_new_cmds_GO" | $SED "$delay_single_quote_subst"`'
15296 old_archive_from_expsyms_cmds_GO='`$ECHO "$old_archive_from_expsyms_cmds_GO" | $SED "$delay_single_quote_subst"`'
15297 archive_cmds_GO='`$ECHO "$archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
15298 archive_expsym_cmds_GO='`$ECHO "$archive_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
15299 module_cmds_GO='`$ECHO "$module_cmds_GO" | $SED "$delay_single_quote_subst"`'
15300 module_expsym_cmds_GO='`$ECHO "$module_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
15301 with_gnu_ld_GO='`$ECHO "$with_gnu_ld_GO" | $SED "$delay_single_quote_subst"`'
15302 allow_undefined_flag_GO='`$ECHO "$allow_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
15303 no_undefined_flag_GO='`$ECHO "$no_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
15304 hardcode_libdir_flag_spec_GO='`$ECHO "$hardcode_libdir_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
15305 hardcode_libdir_flag_spec_ld_GO='`$ECHO "$hardcode_libdir_flag_spec_ld_GO" | $SED "$delay_single_quote_subst"`'
15306 hardcode_libdir_separator_GO='`$ECHO "$hardcode_libdir_separator_GO" | $SED "$delay_single_quote_subst"`'
15307 hardcode_direct_GO='`$ECHO "$hardcode_direct_GO" | $SED "$delay_single_quote_subst"`'
15308 hardcode_direct_absolute_GO='`$ECHO "$hardcode_direct_absolute_GO" | $SED "$delay_single_quote_subst"`'
15309 hardcode_minus_L_GO='`$ECHO "$hardcode_minus_L_GO" | $SED "$delay_single_quote_subst"`'
15310 hardcode_shlibpath_var_GO='`$ECHO "$hardcode_shlibpath_var_GO" | $SED "$delay_single_quote_subst"`'
15311 hardcode_automatic_GO='`$ECHO "$hardcode_automatic_GO" | $SED "$delay_single_quote_subst"`'
15312 inherit_rpath_GO='`$ECHO "$inherit_rpath_GO" | $SED "$delay_single_quote_subst"`'
15313 link_all_deplibs_GO='`$ECHO "$link_all_deplibs_GO" | $SED "$delay_single_quote_subst"`'
15314 fix_srcfile_path_GO='`$ECHO "$fix_srcfile_path_GO" | $SED "$delay_single_quote_subst"`'
15315 always_export_symbols_GO='`$ECHO "$always_export_symbols_GO" | $SED "$delay_single_quote_subst"`'
15316 export_symbols_cmds_GO='`$ECHO "$export_symbols_cmds_GO" | $SED "$delay_single_quote_subst"`'
15317 exclude_expsyms_GO='`$ECHO "$exclude_expsyms_GO" | $SED "$delay_single_quote_subst"`'
15318 include_expsyms_GO='`$ECHO "$include_expsyms_GO" | $SED "$delay_single_quote_subst"`'
15319 prelink_cmds_GO='`$ECHO "$prelink_cmds_GO" | $SED "$delay_single_quote_subst"`'
15320 file_list_spec_GO='`$ECHO "$file_list_spec_GO" | $SED "$delay_single_quote_subst"`'
15321 hardcode_action_GO='`$ECHO "$hardcode_action_GO" | $SED "$delay_single_quote_subst"`'
15324 LTCFLAGS='$LTCFLAGS'
15325 compiler='$compiler_DEFAULT'
15327 # A function that is used when there is no print builtin or printf.
15328 func_fallback_echo ()
15330 eval 'cat <<_LTECHO_EOF
15335 # Quote evaled strings.
15349 deplibs_check_method \
15358 lt_cv_sys_global_symbol_pipe \
15359 lt_cv_sys_global_symbol_to_cdecl \
15360 lt_cv_sys_global_symbol_to_c_name_address \
15361 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15362 lt_prog_compiler_no_builtin_flag \
15363 lt_prog_compiler_wl \
15364 lt_prog_compiler_pic \
15365 lt_prog_compiler_static \
15366 lt_cv_prog_compiler_c_o \
15374 export_dynamic_flag_spec \
15375 whole_archive_flag_spec \
15376 compiler_needs_object \
15378 allow_undefined_flag \
15379 no_undefined_flag \
15380 hardcode_libdir_flag_spec \
15381 hardcode_libdir_flag_spec_ld \
15382 hardcode_libdir_separator \
15387 variables_saved_for_relink \
15389 library_names_spec \
15391 install_override_mode \
15398 lt_prog_compiler_no_builtin_flag_GO \
15399 lt_prog_compiler_wl_GO \
15400 lt_prog_compiler_pic_GO \
15401 lt_prog_compiler_static_GO \
15402 lt_cv_prog_compiler_c_o_GO \
15403 export_dynamic_flag_spec_GO \
15404 whole_archive_flag_spec_GO \
15405 compiler_needs_object_GO \
15407 allow_undefined_flag_GO \
15408 no_undefined_flag_GO \
15409 hardcode_libdir_flag_spec_GO \
15410 hardcode_libdir_flag_spec_ld_GO \
15411 hardcode_libdir_separator_GO \
15412 fix_srcfile_path_GO \
15413 exclude_expsyms_GO \
15414 include_expsyms_GO \
15415 file_list_spec_GO; do
15416 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15417 *[\\\\\\\`\\"\\\$]*)
15418 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15421 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15426 # Double-quote double-evaled strings.
15427 for var in reload_cmds \
15428 old_postinstall_cmds \
15429 old_postuninstall_cmds \
15431 extract_expsyms_cmds \
15432 old_archive_from_new_cmds \
15433 old_archive_from_expsyms_cmds \
15435 archive_expsym_cmds \
15437 module_expsym_cmds \
15438 export_symbols_cmds \
15441 postuninstall_cmds \
15443 sys_lib_search_path_spec \
15444 sys_lib_dlsearch_path_spec \
15446 old_archive_cmds_GO \
15447 old_archive_from_new_cmds_GO \
15448 old_archive_from_expsyms_cmds_GO \
15450 archive_expsym_cmds_GO \
15452 module_expsym_cmds_GO \
15453 export_symbols_cmds_GO \
15454 prelink_cmds_GO; do
15455 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15456 *[\\\\\\\`\\"\\\$]*)
15457 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15460 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15465 ac_aux_dir='$ac_aux_dir'
15466 xsi_shell='$xsi_shell'
15467 lt_shell_append='$lt_shell_append'
15469 # See if we are running on zsh, and set the options which allow our
15470 # commands through without removal of \ escapes INIT.
15471 if test -n "\${ZSH_VERSION+set}" ; then
15472 setopt NO_GLOB_SUBST
15478 TIMESTAMP='$TIMESTAMP'
15487 # Variables needed in config.status (file generation) which aren't already
15488 # passed by autoconf.
15494 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15496 # Handling of arguments.
15497 for ac_config_target
in $ac_config_targets
15499 case $ac_config_target in
15500 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
15501 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
15502 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15503 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15504 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15505 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
15506 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
15508 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15513 # If the user did not use the arguments to specify the items to instantiate,
15514 # then the envvar interface is used. Set only those that are not.
15515 # We use the long form for the default assignment because of an extremely
15516 # bizarre bug on SunOS 4.1.3.
15517 if $ac_need_defaults; then
15518 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15519 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15520 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15523 # Have a temporary directory for convenience. Make it in the build tree
15524 # simply because there is no reason against having it here, and in addition,
15525 # creating and moving files from /tmp can sometimes cause problems.
15526 # Hook for its removal unless debugging.
15527 # Note that there is a small window in which the directory will not be cleaned:
15528 # after its creation but before its name has been assigned to `$tmp'.
15532 trap 'exit_status=$?
15533 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15535 trap 'as_fn_exit 1' 1 2 13 15
15537 # Create a (secure) tmp directory for tmp files.
15540 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15541 test -n "$tmp" && test -d "$tmp"
15544 tmp
=.
/conf$$
-$RANDOM
15545 (umask 077 && mkdir
"$tmp")
15546 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15548 # Set up the scripts for CONFIG_FILES section.
15549 # No need to generate them if there are no CONFIG_FILES.
15550 # This happens for instance with `./config.status config.h'.
15551 if test -n "$CONFIG_FILES"; then
15554 ac_cr
=`echo X | tr X '\015'`
15555 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15556 # But we know of no other shell where ac_cr would be empty at this
15557 # point, so we can use a bashism as a fallback.
15558 if test "x$ac_cr" = x
; then
15559 eval ac_cr
=\$
\'\\r
\'
15561 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15562 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15565 ac_cs_awk_cr
=$ac_cr
15568 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15573 echo "cat >conf$$subs.awk <<_ACEOF" &&
15574 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15576 } >conf$$subs.sh ||
15577 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15578 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15580 for ac_last_try in false false false false false :; do
15581 . ./conf$$subs.sh ||
15582 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15584 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15585 if test $ac_delim_n = $ac_delim_num; then
15587 elif $ac_last_try; then
15588 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15590 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15593 rm -f conf$$subs.sh
15595 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15596 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15600 s/^/S["/; s
/!.
*/"]=/
15610 s/\(.\{148\}\).*/\1/
15612 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15617 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15624 s/\(.\{148\}\).*/\1/
15626 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15630 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15635 ' <conf$$subs.awk | sed '
15640 ' >>$CONFIG_STATUS || ac_write_fail=1
15641 rm -f conf$$subs.awk
15642 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15644 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15645 for (key in S) S_is_set[key] = 1
15651 nfields = split(line, field, "@
")
15653 len = length(field[1])
15654 for (i = 2; i < nfields; i++) {
15656 keylen = length(key)
15657 if (S_is_set[key]) {
15659 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15660 len += length(value) + length(field[++i])
15671 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15672 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15673 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15676 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15677 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15680 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15681 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15682 # trailing colons and then remove the whole line if VPATH becomes empty
15683 # (actually we leave an empty line to preserve line numbers).
15684 if test "x
$srcdir" = x.; then
15685 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15686 s/:*\$(srcdir):*/:/
15687 s/:*\${srcdir}:*/:/
15689 s/^\([^=]*=[ ]*\):*/\1/
15695 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15696 fi # test -n "$CONFIG_FILES"
15698 # Set up the scripts for CONFIG_HEADERS section.
15699 # No need to generate them if there are no CONFIG_HEADERS.
15700 # This happens for instance with `./config.status Makefile'.
15701 if test -n "$CONFIG_HEADERS"; then
15702 cat >"$tmp/defines.
awk" <<\_ACAWK ||
15706 # Transform confdefs.h into an awk script `defines.awk', embedded as
15707 # here-document in config.status, that substitutes the proper values into
15708 # config.h.in to produce config.h.
15710 # Create a delimiter string that does not exist in confdefs.h, to ease
15711 # handling of long lines.
15713 for ac_last_try in false false :; do
15714 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
15715 if test -z "$ac_t"; then
15717 elif $ac_last_try; then
15718 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
15720 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15724 # For the awk script, D is an array of macro values keyed by name,
15725 # likewise P contains macro parameters if any. Preserve backslash
15726 # newline sequences.
15728 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15730 s/.\{148\}/&'"$ac_delim"'/g
15733 s/^[ ]*#[ ]*define[ ][ ]*/ /
15740 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15742 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15746 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15747 D["\
1"]=" \
3\\\\\\n
"\\/p
15749 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15754 s/.\{148\}/&'"$ac_delim"'/g
15759 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15762 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15764 ' <confdefs.h | sed '
15765 s/'"$ac_delim"'/"\\\
15766 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15768 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15769 for (key in D) D_is_set[key] = 1
15772 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15774 split(line, arg, " ")
15775 if (arg[1] == "#") {
15779 defundef
= substr
(arg
[1], 2)
15782 split(mac1
, mac2
, "(") #)
15784 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15785 if (D_is_set
[macro
]) {
15786 # Preserve the white space surrounding the "#".
15787 print prefix
"define", macro P
[macro
] D
[macro
]
15790 # Replace #undef with comments. This is necessary, for example,
15791 # in the case of _POSIX_SOURCE, which is predefined and required
15792 # on some systems where configure will not decide to define it.
15793 if (defundef
== "undef") {
15794 print
"/*", prefix defundef
, macro
, "*/"
15802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15803 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
15804 fi # test -n "$CONFIG_HEADERS"
15807 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15812 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15814 case $ac_mode$ac_tag in
15816 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15817 :[FH
]-) ac_tag
=-:-;;
15818 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15835 -) ac_f
="$tmp/stdin";;
15836 *) # Look for the file first in the build tree, then in the source tree
15837 # (if the path is not absolute). The absolute path cannot be DOS-style,
15838 # because $ac_f cannot contain `:'.
15842 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15844 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
15846 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15847 as_fn_append ac_file_inputs
" '$ac_f'"
15850 # Let's still pretend it is `configure' which instantiates (i.e., don't
15851 # use $as_me), people would be surprised to read:
15852 # /* config.h. Generated by config.status. */
15853 configure_input
='Generated from '`
15854 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15856 if test x
"$ac_file" != x-
; then
15857 configure_input
="$ac_file. $configure_input"
15858 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15859 $as_echo "$as_me: creating $ac_file" >&6;}
15861 # Neutralize special characters interpreted by sed in replacement strings.
15862 case $configure_input in #(
15863 *\
&* |
*\|
* |
*\\* )
15864 ac_sed_conf_input
=`$as_echo "$configure_input" |
15865 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15866 *) ac_sed_conf_input
=$configure_input;;
15870 *:-:* |
*:-) cat >"$tmp/stdin" \
15871 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
15876 ac_dir
=`$as_dirname -- "$ac_file" ||
15877 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15878 X"$ac_file" : 'X\(//\)[^/]' \| \
15879 X"$ac_file" : 'X\(//\)$' \| \
15880 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15881 $as_echo X"$ac_file" |
15882 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15886 /^X\(\/\/\)[^/].*/{
15899 as_dir
="$ac_dir"; as_fn_mkdir_p
15903 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15905 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15906 # A ".." for each directory in $ac_dir_suffix.
15907 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15908 case $ac_top_builddir_sub in
15909 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15910 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15913 ac_abs_top_builddir
=$ac_pwd
15914 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15915 # for backward compatibility:
15916 ac_top_builddir
=$ac_top_build_prefix
15919 .
) # We are building in place.
15921 ac_top_srcdir
=$ac_top_builddir_sub
15922 ac_abs_top_srcdir
=$ac_pwd ;;
15923 [\\/]* | ?
:[\\/]* ) # Absolute name.
15924 ac_srcdir
=$srcdir$ac_dir_suffix;
15925 ac_top_srcdir
=$srcdir
15926 ac_abs_top_srcdir
=$srcdir ;;
15927 *) # Relative name.
15928 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15929 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15930 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15932 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15942 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15943 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15945 ac_MKDIR_P
=$MKDIR_P
15947 [\\/$
]* | ?
:[\\/]* ) ;;
15948 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
15952 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15953 # If the template does not know about datarootdir, expand it.
15954 # FIXME: This hack should be removed a few years after 2.60.
15955 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15966 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15967 *datarootdir
*) ac_datarootdir_seen
=yes;;
15968 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15970 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15972 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15973 ac_datarootdir_hack='
15974 s&@datadir@&$datadir&g
15975 s&@docdir@&$docdir&g
15976 s&@infodir@&$infodir&g
15977 s&@localedir@&$localedir&g
15978 s&@mandir@&$mandir&g
15979 s&\\\${datarootdir}&$datarootdir&g' ;;
15983 # Neutralize VPATH when `$srcdir' = `.'.
15984 # Shell code in configure.ac might set extrasub.
15985 # FIXME: do we really want to maintain this feature?
15986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15987 ac_sed_extra="$ac_vpsub
15990 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15992 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15993 s|@configure_input@|
$ac_sed_conf_input|
;t t
15994 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15995 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15996 s
&@srcdir@
&$ac_srcdir&;t t
15997 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15998 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15999 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16000 s
&@builddir@
&$ac_builddir&;t t
16001 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16002 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16003 s
&@INSTALL@
&$ac_INSTALL&;t t
16004 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16005 $ac_datarootdir_hack
16007 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16008 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16010 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16011 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16012 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16014 which seems to be undefined. Please make sure it is defined." >&5
16015 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16016 which seems to be undefined. Please make sure it is defined." >&2;}
16020 -) cat "$tmp/out" && rm -f "$tmp/out";;
16021 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16023 || as_fn_error "could not create $ac_file" "$LINENO" 5
16029 if test x"$ac_file" != x-; then
16031 $as_echo "/* $configure_input */" \
16032 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16033 } >"$tmp/config.h" \
16034 || as_fn_error "could not create $ac_file" "$LINENO" 5
16035 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16036 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16037 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16040 mv "$tmp/config.h" "$ac_file" \
16041 || as_fn_error "could not create $ac_file" "$LINENO" 5
16044 $as_echo "/* $configure_input */" \
16045 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16046 || as_fn_error "could not create -" "$LINENO" 5
16048 # Compute "$ac_file"'s index
in $config_headers.
16051 for _am_header
in $config_headers :; do
16052 case $_am_header in
16053 $_am_arg |
$_am_arg:* )
16056 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16059 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16060 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16061 X"$_am_arg" : 'X\(//\)[^/]' \| \
16062 X"$_am_arg" : 'X\(//\)$' \| \
16063 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16064 $as_echo X"$_am_arg" |
16065 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16069 /^X\(\/\/\)[^/].*/{
16081 s/.*/./; q'`/stamp-h
$_am_stamp_count
16084 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16085 $as_echo "$as_me: executing $ac_file commands" >&6;}
16090 case $ac_file$ac_mode in
16092 # Only add multilib support code if we just rebuilt the top-level
16094 case " $CONFIG_FILES " in
16096 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
16099 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
16100 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16101 # are listed without --file. Let's play safe and only enable the eval
16102 # if we detect the quoting.
16103 case $CONFIG_FILES in
16104 *\'*) eval set x
"$CONFIG_FILES" ;;
16105 *) set x
$CONFIG_FILES ;;
16110 # Strip MF so we end up with the name of the file.
16111 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16112 # Check whether this is an Automake generated Makefile or not.
16113 # We used to match only the files named `Makefile.in', but
16114 # some people rename them; so instead we look at the file content.
16115 # Grep'ing the first line is not enough: some people post-process
16116 # each Makefile.in and add a new line on top of each file to say so.
16117 # Grep'ing the whole file is not good either: AIX grep has a line
16118 # limit of 2048, but all sed's we know have understand at least 4000.
16119 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16120 dirpart
=`$as_dirname -- "$mf" ||
16121 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16122 X"$mf" : 'X\(//\)[^/]' \| \
16123 X"$mf" : 'X\(//\)$' \| \
16124 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16126 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16130 /^X\(\/\/\)[^/].*/{
16146 # Extract the definition of DEPDIR, am__include, and am__quote
16147 # from the Makefile without running `make'.
16148 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16149 test -z "$DEPDIR" && continue
16150 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16151 test -z "am__include" && continue
16152 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16153 # When using ansi2knr, U may be empty or an underscore; expand it
16154 U
=`sed -n 's/^U = //p' < "$mf"`
16155 # Find all dependency output files, they are included files with
16156 # $(DEPDIR) in their names. We invoke sed twice because it is the
16157 # simplest approach to changing $(DEPDIR) to its actual value in the
16159 for file in `sed -n "
16160 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16161 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16162 # Make sure the directory exists.
16163 test -f "$dirpart/$file" && continue
16164 fdir
=`$as_dirname -- "$file" ||
16165 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16166 X"$file" : 'X\(//\)[^/]' \| \
16167 X"$file" : 'X\(//\)$' \| \
16168 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16169 $as_echo X"$file" |
16170 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16174 /^X\(\/\/\)[^/].*/{
16187 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16188 # echo "creating $dirpart/$file"
16189 echo '# dummy' > "$dirpart/$file"
16196 # See if we are running on zsh, and set the options which allow our
16197 # commands through without removal of \ escapes.
16198 if test -n "${ZSH_VERSION+set}" ; then
16199 setopt NO_GLOB_SUBST
16202 cfgfile
="${ofile}T"
16203 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16206 cat <<_LT_EOF >> "$cfgfile"
16209 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16210 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16211 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16212 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16214 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16215 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16216 # Written by Gordon Matzigkeit, 1996
16218 # This file is part of GNU Libtool.
16220 # GNU Libtool is free software; you can redistribute it and/or
16221 # modify it under the terms of the GNU General Public License as
16222 # published by the Free Software Foundation; either version 2 of
16223 # the License, or (at your option) any later version.
16225 # As a special exception to the GNU General Public License,
16226 # if you distribute this file as part of a program or library that
16227 # is built using GNU Libtool, you may include this file under the
16228 # same distribution terms that you use for the rest of that program.
16230 # GNU Libtool is distributed in the hope that it will be useful,
16231 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16232 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16233 # GNU General Public License for more details.
16235 # You should have received a copy of the GNU General Public License
16236 # along with GNU Libtool; see the file COPYING. If not, a copy
16237 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16238 # obtained by writing to the Free Software Foundation, Inc.,
16239 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16242 # The names of the tagged configurations supported by this script.
16243 available_tags="GO "
16245 # ### BEGIN LIBTOOL CONFIG
16247 # A sed program that does not truncate output.
16250 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16251 Xsed="\$SED -e 1s/^X//"
16253 # A grep program that handles long lines.
16259 # A literal string matcher.
16262 # Shell to use when invoking shell scripts.
16265 # An echo program that protects backslashes.
16268 # Which release of libtool.m4 was used?
16269 macro_version=$macro_version
16270 macro_revision=$macro_revision
16272 # Whether or not to build shared libraries.
16273 build_libtool_libs=$enable_shared
16275 # Whether or not to build static libraries.
16276 build_old_libs=$enable_static
16278 # What type of objects to build.
16281 # Whether or not to optimize for fast installation.
16282 fast_install=$enable_fast_install
16285 host_alias=$host_alias
16289 # The build system.
16290 build_alias=$build_alias
16294 # A BSD- or MS-compatible name lister.
16297 # Whether we need soft or hard links.
16300 # What is the maximum length of a command?
16301 max_cmd_len=$max_cmd_len
16303 # Object file suffix (normally "o").
16306 # Executable file suffix (normally "").
16309 # whether the shell understands "unset".
16312 # turn spaces into newlines.
16315 # turn newlines into spaces.
16318 # An object symbol dumper.
16319 OBJDUMP=$lt_OBJDUMP
16321 # Method to check whether dependent libraries are shared objects.
16322 deplibs_check_method=$lt_deplibs_check_method
16324 # Command to use when deplibs_check_method == "file_magic".
16325 file_magic_cmd=$lt_file_magic_cmd
16329 AR_FLAGS=$lt_AR_FLAGS
16331 # A symbol stripping program.
16334 # Commands used to install an old-style archive.
16336 old_postinstall_cmds=$lt_old_postinstall_cmds
16337 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16339 # Whether to use a lock for old archive extraction.
16340 lock_old_archive_extraction=$lock_old_archive_extraction
16345 # LTCC compiler flags.
16346 LTCFLAGS=$lt_CFLAGS
16348 # Take the output of nm and produce a listing of raw symbols and C names.
16349 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16351 # Transform the output of nm in a proper C declaration.
16352 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16354 # Transform the output of nm in a C name address pair.
16355 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16357 # Transform the output of nm in a C name address pair when lib prefix is needed.
16358 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16360 # The name of the directory that contains temporary libtool files.
16363 # Used to examine libraries when file_magic_cmd begins with "file".
16364 MAGIC_CMD=$MAGIC_CMD
16366 # Must we lock files when doing compilation?
16367 need_locks=$lt_need_locks
16369 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16370 DSYMUTIL=$lt_DSYMUTIL
16372 # Tool to change global to local symbols on Mac OS X.
16375 # Tool to manipulate fat objects and archives on Mac OS X.
16378 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16381 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16382 OTOOL64=$lt_OTOOL64
16384 # Old archive suffix (normally "a").
16387 # Shared library suffix (normally ".so").
16388 shrext_cmds=$lt_shrext_cmds
16390 # The commands to extract the exported symbol list from a shared archive.
16391 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16393 # Variables whose values should be saved in libtool wrapper scripts and
16394 # restored at link time.
16395 variables_saved_for_relink=$lt_variables_saved_for_relink
16397 # Do we need the "lib" prefix for modules?
16398 need_lib_prefix=$need_lib_prefix
16400 # Do we need a version for libraries?
16401 need_version=$need_version
16403 # Library versioning type.
16404 version_type=$version_type
16406 # Shared library runtime path variable.
16407 runpath_var=$runpath_var
16409 # Shared library path variable.
16410 shlibpath_var=$shlibpath_var
16412 # Is shlibpath searched before the hard-coded library search path?
16413 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16415 # Format of library name prefix.
16416 libname_spec=$lt_libname_spec
16418 # List of archive names. First name is the real one, the rest are links.
16419 # The last name is the one that the linker finds with -lNAME
16420 library_names_spec=$lt_library_names_spec
16422 # The coded name of the library, if different from the real name.
16423 soname_spec=$lt_soname_spec
16425 # Permission mode override for installation of shared libraries.
16426 install_override_mode=$lt_install_override_mode
16428 # Command to use after installation of a shared archive.
16429 postinstall_cmds=$lt_postinstall_cmds
16431 # Command to use after uninstallation of a shared archive.
16432 postuninstall_cmds=$lt_postuninstall_cmds
16434 # Commands used to finish a libtool library installation in a directory.
16435 finish_cmds=$lt_finish_cmds
16437 # As "finish_cmds", except a single script fragment to be evaled but
16439 finish_eval=$lt_finish_eval
16441 # Whether we should hardcode library paths into libraries.
16442 hardcode_into_libs=$hardcode_into_libs
16444 # Compile-time system search path for libraries.
16445 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16447 # Run-time system search path for libraries.
16448 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16450 # Whether dlopen is supported.
16451 dlopen_support=$enable_dlopen
16453 # Whether dlopen of programs is supported.
16454 dlopen_self=$enable_dlopen_self
16456 # Whether dlopen of statically linked programs is supported.
16457 dlopen_self_static=$enable_dlopen_self_static
16459 # Commands to strip libraries.
16460 old_striplib=$lt_old_striplib
16461 striplib=$lt_striplib
16464 # The linker used to build libraries.
16467 # How to create reloadable object files.
16468 reload_flag=$lt_reload_flag
16469 reload_cmds=$lt_reload_cmds
16471 # Commands used to build an old-style archive.
16472 old_archive_cmds=$lt_old_archive_cmds
16474 # A language specific compiler.
16477 # Is the compiler the GNU compiler?
16480 # Compiler flag to turn off builtin functions.
16481 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16483 # How to pass a linker flag through the compiler.
16484 wl=$lt_lt_prog_compiler_wl
16486 # Additional compiler flags for building library objects.
16487 pic_flag=$lt_lt_prog_compiler_pic
16489 # Compiler flag to prevent dynamic linking.
16490 link_static_flag=$lt_lt_prog_compiler_static
16492 # Does compiler simultaneously support -c and -o options?
16493 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16495 # Whether or not to add -lc for building shared libraries.
16496 build_libtool_need_lc=$archive_cmds_need_lc
16498 # Whether or not to disallow shared libs when runtime libs are static.
16499 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16501 # Compiler flag to allow reflexive dlopens.
16502 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16504 # Compiler flag to generate shared objects directly from archives.
16505 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16507 # Whether the compiler copes with passing no objects directly.
16508 compiler_needs_object=$lt_compiler_needs_object
16510 # Create an old-style archive from a shared archive.
16511 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16513 # Create a temporary old-style archive to link instead of a shared archive.
16514 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16516 # Commands used to build a shared archive.
16517 archive_cmds=$lt_archive_cmds
16518 archive_expsym_cmds=$lt_archive_expsym_cmds
16520 # Commands used to build a loadable module if different from building
16521 # a shared archive.
16522 module_cmds=$lt_module_cmds
16523 module_expsym_cmds=$lt_module_expsym_cmds
16525 # Whether we are building with GNU ld or not.
16526 with_gnu_ld=$lt_with_gnu_ld
16528 # Flag that allows shared libraries with undefined symbols to be built.
16529 allow_undefined_flag=$lt_allow_undefined_flag
16531 # Flag that enforces no undefined symbols.
16532 no_undefined_flag=$lt_no_undefined_flag
16534 # Flag to hardcode \$libdir into a binary during linking.
16535 # This must work even if \$libdir does not exist
16536 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16538 # If ld is used when linking, flag to hardcode \$libdir into a binary
16539 # during linking. This must work even if \$libdir does not exist.
16540 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16542 # Whether we need a single "-rpath" flag with a separated argument.
16543 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16545 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16546 # DIR into the resulting binary.
16547 hardcode_direct=$hardcode_direct
16549 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16550 # DIR into the resulting binary and the resulting library dependency is
16551 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16552 # library is relocated.
16553 hardcode_direct_absolute=$hardcode_direct_absolute
16555 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16556 # into the resulting binary.
16557 hardcode_minus_L=$hardcode_minus_L
16559 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16560 # into the resulting binary.
16561 hardcode_shlibpath_var=$hardcode_shlibpath_var
16563 # Set to "yes" if building a shared library automatically hardcodes DIR
16564 # into the library and all subsequent libraries and executables linked
16566 hardcode_automatic=$hardcode_automatic
16568 # Set to yes if linker adds runtime paths of dependent libraries
16569 # to runtime path list.
16570 inherit_rpath=$inherit_rpath
16572 # Whether libtool must link a program against all its dependency libraries.
16573 link_all_deplibs=$link_all_deplibs
16575 # Fix the shell variable \$srcfile for the compiler.
16576 fix_srcfile_path=$lt_fix_srcfile_path
16578 # Set to "yes" if exported symbols are required.
16579 always_export_symbols=$always_export_symbols
16581 # The commands to list exported symbols.
16582 export_symbols_cmds=$lt_export_symbols_cmds
16584 # Symbols that should not be listed in the preloaded symbols.
16585 exclude_expsyms=$lt_exclude_expsyms
16587 # Symbols that must always be exported.
16588 include_expsyms=$lt_include_expsyms
16590 # Commands necessary for linking programs (against libraries) with templates.
16591 prelink_cmds=$lt_prelink_cmds
16593 # Specify filename containing input files.
16594 file_list_spec=$lt_file_list_spec
16596 # How to hardcode a shared library path into an executable.
16597 hardcode_action=$hardcode_action
16599 # ### END LIBTOOL CONFIG
16605 cat <<\_LT_EOF
>> "$cfgfile"
16606 # AIX sometimes has problems with the GCC collect2 program. For some
16607 # reason, if we set the COLLECT_NAMES environment variable, the problems
16608 # vanish in a puff of smoke.
16609 if test "X${COLLECT_NAMES+set}" != Xset
; then
16611 export COLLECT_NAMES
16618 ltmain
="$ac_aux_dir/ltmain.sh"
16621 # We use sed instead of cat because bash on DJGPP gets confused if
16622 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16623 # text mode, it properly converts lines to CR/LF. This bash problem
16624 # is reportedly fixed, but why not run on old versions too?
16625 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16626 ||
(rm -f "$cfgfile"; exit 1)
16630 cat << \_LT_EOF
>> "$cfgfile"
16632 # func_dirname file append nondir_replacement
16633 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16634 # otherwise set result to NONDIR_REPLACEMENT.
16638 */*) func_dirname_result
="${1%/*}${2}" ;;
16639 * ) func_dirname_result
="${3}" ;;
16643 # func_basename file
16646 func_basename_result
="${1##*/}"
16649 # func_dirname_and_basename file append nondir_replacement
16650 # perform func_basename and func_dirname in a single function
16652 # dirname: Compute the dirname of FILE. If nonempty,
16653 # add APPEND to the result, otherwise set result
16654 # to NONDIR_REPLACEMENT.
16655 # value returned in "$func_dirname_result"
16656 # basename: Compute filename of FILE.
16657 # value retuned in "$func_basename_result"
16658 # Implementation must be kept synchronized with func_dirname
16659 # and func_basename. For efficiency, we do not delegate to
16660 # those functions but instead duplicate the functionality here.
16661 func_dirname_and_basename
()
16664 */*) func_dirname_result
="${1%/*}${2}" ;;
16665 * ) func_dirname_result
="${3}" ;;
16667 func_basename_result
="${1##*/}"
16670 # func_stripname prefix suffix name
16671 # strip PREFIX and SUFFIX off of NAME.
16672 # PREFIX and SUFFIX must not contain globbing or regex special
16673 # characters, hashes, percent signs, but SUFFIX may contain a leading
16674 # dot (in which case that matches only a dot).
16677 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16678 # positional parameters, so assign one to ordinary parameter first.
16679 func_stripname_result
=${3}
16680 func_stripname_result
=${func_stripname_result#"${1}"}
16681 func_stripname_result
=${func_stripname_result%"${2}"}
16687 func_opt_split_opt
=${1%%=*}
16688 func_opt_split_arg
=${1#*=}
16695 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16696 *) func_lo2o_result
=${1} ;;
16700 # func_xform libobj-or-source
16703 func_xform_result
=${1%.*}.lo
16706 # func_arith arithmetic-term...
16709 func_arith_result
=$
(( $
* ))
16713 # STRING may not start with a hyphen.
16716 func_len_result
=${#1}
16721 *) # Bourne compatible functions.
16722 cat << \_LT_EOF
>> "$cfgfile"
16724 # func_dirname file append nondir_replacement
16725 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16726 # otherwise set result to NONDIR_REPLACEMENT.
16729 # Extract subdirectory from the argument.
16730 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
16731 if test "X$func_dirname_result" = "X${1}"; then
16732 func_dirname_result
="${3}"
16734 func_dirname_result
="$func_dirname_result${2}"
16738 # func_basename file
16741 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
16745 # func_stripname prefix suffix name
16746 # strip PREFIX and SUFFIX off of NAME.
16747 # PREFIX and SUFFIX must not contain globbing or regex special
16748 # characters, hashes, percent signs, but SUFFIX may contain a leading
16749 # dot (in which case that matches only a dot).
16750 # func_strip_suffix prefix name
16754 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16755 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16760 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16761 my_sed_long_arg
='1s/^-[^=]*=//'
16766 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16767 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16773 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
16776 # func_xform libobj-or-source
16779 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16782 # func_arith arithmetic-term...
16785 func_arith_result
=`expr "$@"`
16789 # STRING may not start with a hyphen.
16792 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16798 case $lt_shell_append in
16800 cat << \_LT_EOF
>> "$cfgfile"
16802 # func_append var value
16803 # Append VALUE to the end of shell variable VAR.
16811 cat << \_LT_EOF
>> "$cfgfile"
16813 # func_append var value
16814 # Append VALUE to the end of shell variable VAR.
16825 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16826 ||
(rm -f "$cfgfile"; exit 1)
16828 mv -f "$cfgfile" "$ofile" ||
16829 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16833 cat <<_LT_EOF >> "$ofile"
16835 # ### BEGIN LIBTOOL TAG CONFIG: GO
16837 # The linker used to build libraries.
16840 # How to create reloadable object files.
16841 reload_flag=$lt_reload_flag_GO
16842 reload_cmds=$lt_reload_cmds_GO
16844 # Commands used to build an old-style archive.
16845 old_archive_cmds=$lt_old_archive_cmds_GO
16847 # A language specific compiler.
16850 # Is the compiler the GNU compiler?
16853 # Compiler flag to turn off builtin functions.
16854 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GO
16856 # How to pass a linker flag through the compiler.
16857 wl=$lt_lt_prog_compiler_wl_GO
16859 # Additional compiler flags for building library objects.
16860 pic_flag=$lt_lt_prog_compiler_pic_GO
16862 # Compiler flag to prevent dynamic linking.
16863 link_static_flag=$lt_lt_prog_compiler_static_GO
16865 # Does compiler simultaneously support -c and -o options?
16866 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GO
16868 # Whether or not to add -lc for building shared libraries.
16869 build_libtool_need_lc=$archive_cmds_need_lc_GO
16871 # Whether or not to disallow shared libs when runtime libs are static.
16872 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GO
16874 # Compiler flag to allow reflexive dlopens.
16875 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GO
16877 # Compiler flag to generate shared objects directly from archives.
16878 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GO
16880 # Whether the compiler copes with passing no objects directly.
16881 compiler_needs_object=$lt_compiler_needs_object_GO
16883 # Create an old-style archive from a shared archive.
16884 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GO
16886 # Create a temporary old-style archive to link instead of a shared archive.
16887 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GO
16889 # Commands used to build a shared archive.
16890 archive_cmds=$lt_archive_cmds_GO
16891 archive_expsym_cmds=$lt_archive_expsym_cmds_GO
16893 # Commands used to build a loadable module if different from building
16894 # a shared archive.
16895 module_cmds=$lt_module_cmds_GO
16896 module_expsym_cmds=$lt_module_expsym_cmds_GO
16898 # Whether we are building with GNU ld or not.
16899 with_gnu_ld=$lt_with_gnu_ld_GO
16901 # Flag that allows shared libraries with undefined symbols to be built.
16902 allow_undefined_flag=$lt_allow_undefined_flag_GO
16904 # Flag that enforces no undefined symbols.
16905 no_undefined_flag=$lt_no_undefined_flag_GO
16907 # Flag to hardcode \$libdir into a binary during linking.
16908 # This must work even if \$libdir does not exist
16909 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GO
16911 # If ld is used when linking, flag to hardcode \$libdir into a binary
16912 # during linking. This must work even if \$libdir does not exist.
16913 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GO
16915 # Whether we need a single "-rpath" flag with a separated argument.
16916 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GO
16918 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16919 # DIR into the resulting binary.
16920 hardcode_direct=$hardcode_direct_GO
16922 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16923 # DIR into the resulting binary and the resulting library dependency is
16924 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16925 # library is relocated.
16926 hardcode_direct_absolute=$hardcode_direct_absolute_GO
16928 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16929 # into the resulting binary.
16930 hardcode_minus_L=$hardcode_minus_L_GO
16932 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16933 # into the resulting binary.
16934 hardcode_shlibpath_var=$hardcode_shlibpath_var_GO
16936 # Set to "yes" if building a shared library automatically hardcodes DIR
16937 # into the library and all subsequent libraries and executables linked
16939 hardcode_automatic=$hardcode_automatic_GO
16941 # Set to yes if linker adds runtime paths of dependent libraries
16942 # to runtime path list.
16943 inherit_rpath=$inherit_rpath_GO
16945 # Whether libtool must link a program against all its dependency libraries.
16946 link_all_deplibs=$link_all_deplibs_GO
16948 # Fix the shell variable \$srcfile for the compiler.
16949 fix_srcfile_path=$lt_fix_srcfile_path_GO
16951 # Set to "yes" if exported symbols are required.
16952 always_export_symbols=$always_export_symbols_GO
16954 # The commands to list exported symbols.
16955 export_symbols_cmds=$lt_export_symbols_cmds_GO
16957 # Symbols that should not be listed in the preloaded symbols.
16958 exclude_expsyms=$lt_exclude_expsyms_GO
16960 # Symbols that must always be exported.
16961 include_expsyms=$lt_include_expsyms_GO
16963 # Commands necessary for linking programs (against libraries) with templates.
16964 prelink_cmds=$lt_prelink_cmds_GO
16966 # Specify filename containing input files.
16967 file_list_spec=$lt_file_list_spec_GO
16969 # How to hardcode a shared library path into an executable.
16970 hardcode_action=$hardcode_action_GO
16972 # ### END LIBTOOL TAG CONFIG: GO
16976 "default":C
) if test -n "$CONFIG_FILES"; then
16977 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
16978 # that multilib installs will end up installed in the correct place.
16979 # The testsuite needs it for multilib-aware ABI baseline files.
16980 # To work around this not being passed down from config-ml.in ->
16981 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
16982 # append it here. Only modify Makefiles that have just been created.
16984 # Also, get rid of this simulated-VPATH thing that automake does.
16985 cat > vpsed
<< \_EOF
16986 s
!`test -f '$<' || echo '$(srcdir)/'`!!
16988 for i
in $SUBDIRS; do
16989 case $CONFIG_FILES in
16991 #echo "Adding MULTISUBDIR to $i/Makefile"
16992 sed -f vpsed
$i/Makefile
> tmp
16993 grep '^MULTISUBDIR =' Makefile
>> tmp
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;}