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
605 STRUCT_EPOLL_EVENT_FD_OFFSET
606 SIZEOF_STRUCT_EPOLL_EVENT
611 HAVE_STRERROR_R_FALSE
613 HAVE_SYS_MMAN_H_FALSE
621 USING_SPLIT_STACK_FALSE
622 USING_SPLIT_STACK_TRUE
625 GO_SYSCALL_OS_ARCH_FILE
627 GO_LIBCALL_OS_ARCH_FILE
630 LIBGO_IS_X86_64_FALSE
632 LIBGO_IS_SPARC64_FALSE
633 LIBGO_IS_SPARC64_TRUE
640 LIBGO_IS_PPC64LE_FALSE
641 LIBGO_IS_PPC64LE_TRUE
646 LIBGO_IS_MIPSO64_FALSE
647 LIBGO_IS_MIPSO64_TRUE
648 LIBGO_IS_MIPSN64_FALSE
649 LIBGO_IS_MIPSN64_TRUE
650 LIBGO_IS_MIPSN32_FALSE
651 LIBGO_IS_MIPSN32_TRUE
652 LIBGO_IS_MIPSO32_FALSE
653 LIBGO_IS_MIPSO32_TRUE
668 LIBGO_IS_SOLARIS_FALSE
669 LIBGO_IS_SOLARIS_TRUE
672 LIBGO_IS_DRAGONFLY_FALSE
673 LIBGO_IS_DRAGONFLY_TRUE
674 LIBGO_IS_OPENBSD_FALSE
675 LIBGO_IS_OPENBSD_TRUE
676 LIBGO_IS_NETBSD_FALSE
682 LIBGO_IS_FREEBSD_FALSE
683 LIBGO_IS_FREEBSD_TRUE
684 LIBGO_IS_DARWIN_FALSE
690 nover_glibgo_toolexeclibdir
691 glibgo_toolexeclibdir
719 MAINTAINER_MODE_FALSE
747 INSTALL_STRIP_PROGRAM
803 program_transform_name
816 enable_option_checking
818 enable_dependency_tracking
819 enable_maintainer_mode
827 enable_version_specific_runtime_libs
830 with_system_libunwind
831 enable_sjlj_exceptions
833 ac_precious_vars
='build_alias
840 # Initialize some variables set by options.
842 ac_init_version
=false
843 ac_unrecognized_opts
=
845 # The variables have the same names as the options, with
846 # dashes changed to underlines.
854 program_transform_name
=s
,x
,x
,
862 # Installation directory options.
863 # These are left unexpanded so users can "make install exec_prefix=/foo"
864 # and all the variables that are supposed to be based on exec_prefix
865 # by default will actually change.
866 # Use braces instead of parens because sh, perl, etc. also accept them.
867 # (The list follows the same order as the GNU Coding Standards.)
868 bindir
='${exec_prefix}/bin'
869 sbindir
='${exec_prefix}/sbin'
870 libexecdir
='${exec_prefix}/libexec'
871 datarootdir
='${prefix}/share'
872 datadir
='${datarootdir}'
873 sysconfdir
='${prefix}/etc'
874 sharedstatedir
='${prefix}/com'
875 localstatedir
='${prefix}/var'
876 includedir
='${prefix}/include'
877 oldincludedir
='/usr/include'
878 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
879 infodir
='${datarootdir}/info'
884 libdir
='${exec_prefix}/lib'
885 localedir
='${datarootdir}/locale'
886 mandir
='${datarootdir}/man'
892 # If the previous option needs an argument, assign it.
893 if test -n "$ac_prev"; then
894 eval $ac_prev=\
$ac_option
900 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
904 # Accept the important Cygnus configure options, so we can diagnose typos.
906 case $ac_dashdash$ac_option in
910 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
912 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
915 -build |
--build |
--buil |
--bui |
--bu)
916 ac_prev
=build_alias
;;
917 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
918 build_alias
=$ac_optarg ;;
920 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
921 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
922 ac_prev
=cache_file
;;
923 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
924 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
925 cache_file
=$ac_optarg ;;
928 cache_file
=config.cache
;;
930 -datadir |
--datadir |
--datadi |
--datad)
932 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
933 datadir
=$ac_optarg ;;
935 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
936 |
--dataroo |
--dataro |
--datar)
937 ac_prev
=datarootdir
;;
938 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
939 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
940 datarootdir
=$ac_optarg ;;
942 -disable-* |
--disable-*)
943 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
944 # Reject names that are not valid shell variable names.
945 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
946 as_fn_error
"invalid feature name: $ac_useropt"
947 ac_useropt_orig
=$ac_useropt
948 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
949 case $ac_user_opts in
953 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
954 ac_unrecognized_sep
=', ';;
956 eval enable_
$ac_useropt=no
;;
958 -docdir |
--docdir |
--docdi |
--doc |
--do)
960 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
963 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
965 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
968 -enable-* |
--enable-*)
969 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
970 # Reject names that are not valid shell variable names.
971 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
972 as_fn_error
"invalid feature name: $ac_useropt"
973 ac_useropt_orig
=$ac_useropt
974 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
975 case $ac_user_opts in
979 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
980 ac_unrecognized_sep
=', ';;
982 eval enable_
$ac_useropt=\
$ac_optarg ;;
984 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
985 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
986 |
--exec |
--exe |
--ex)
987 ac_prev
=exec_prefix
;;
988 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
989 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
990 |
--exec=* |
--exe=* |
--ex=*)
991 exec_prefix
=$ac_optarg ;;
993 -gas |
--gas |
--ga |
--g)
994 # Obsolete; use --with-gas.
997 -help |
--help |
--hel |
--he |
-h)
999 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1000 ac_init_help
=recursive
;;
1001 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1002 ac_init_help
=short
;;
1004 -host |
--host |
--hos |
--ho)
1005 ac_prev
=host_alias
;;
1006 -host=* |
--host=* |
--hos=* |
--ho=*)
1007 host_alias
=$ac_optarg ;;
1009 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1011 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1013 htmldir
=$ac_optarg ;;
1015 -includedir |
--includedir |
--includedi |
--included |
--include \
1016 |
--includ |
--inclu |
--incl |
--inc)
1017 ac_prev
=includedir
;;
1018 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1019 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1020 includedir
=$ac_optarg ;;
1022 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1024 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1025 infodir
=$ac_optarg ;;
1027 -libdir |
--libdir |
--libdi |
--libd)
1029 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1030 libdir
=$ac_optarg ;;
1032 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1033 |
--libexe |
--libex |
--libe)
1034 ac_prev
=libexecdir
;;
1035 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1036 |
--libexe=* |
--libex=* |
--libe=*)
1037 libexecdir
=$ac_optarg ;;
1039 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1040 ac_prev
=localedir
;;
1041 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1042 localedir
=$ac_optarg ;;
1044 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1045 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1046 ac_prev
=localstatedir
;;
1047 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1048 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1049 localstatedir
=$ac_optarg ;;
1051 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1053 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1054 mandir
=$ac_optarg ;;
1056 -nfp |
--nfp |
--nf)
1057 # Obsolete; use --without-fp.
1060 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1061 |
--no-cr |
--no-c |
-n)
1064 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1065 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1068 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1069 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1070 |
--oldin |
--oldi |
--old |
--ol |
--o)
1071 ac_prev
=oldincludedir
;;
1072 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1073 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1074 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1075 oldincludedir
=$ac_optarg ;;
1077 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1079 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1080 prefix
=$ac_optarg ;;
1082 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1083 |
--program-pre |
--program-pr |
--program-p)
1084 ac_prev
=program_prefix
;;
1085 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1086 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1087 program_prefix
=$ac_optarg ;;
1089 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1090 |
--program-suf |
--program-su |
--program-s)
1091 ac_prev
=program_suffix
;;
1092 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1093 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1094 program_suffix
=$ac_optarg ;;
1096 -program-transform-name |
--program-transform-name \
1097 |
--program-transform-nam |
--program-transform-na \
1098 |
--program-transform-n |
--program-transform- \
1099 |
--program-transform |
--program-transfor \
1100 |
--program-transfo |
--program-transf \
1101 |
--program-trans |
--program-tran \
1102 |
--progr-tra |
--program-tr |
--program-t)
1103 ac_prev
=program_transform_name
;;
1104 -program-transform-name=* |
--program-transform-name=* \
1105 |
--program-transform-nam=* |
--program-transform-na=* \
1106 |
--program-transform-n=* |
--program-transform-=* \
1107 |
--program-transform=* |
--program-transfor=* \
1108 |
--program-transfo=* |
--program-transf=* \
1109 |
--program-trans=* |
--program-tran=* \
1110 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1111 program_transform_name
=$ac_optarg ;;
1113 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1115 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1116 pdfdir
=$ac_optarg ;;
1118 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1120 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1123 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1124 |
-silent |
--silent |
--silen |
--sile |
--sil)
1127 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1129 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1131 sbindir
=$ac_optarg ;;
1133 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1134 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1135 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1137 ac_prev
=sharedstatedir
;;
1138 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1139 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1140 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1142 sharedstatedir
=$ac_optarg ;;
1144 -site |
--site |
--sit)
1146 -site=* |
--site=* |
--sit=*)
1149 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1151 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1152 srcdir
=$ac_optarg ;;
1154 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1155 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1156 ac_prev
=sysconfdir
;;
1157 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1158 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1159 sysconfdir
=$ac_optarg ;;
1161 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1162 ac_prev
=target_alias
;;
1163 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1164 target_alias
=$ac_optarg ;;
1166 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1169 -version |
--version |
--versio |
--versi |
--vers |
-V)
1170 ac_init_version
=: ;;
1173 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1174 # Reject names that are not valid shell variable names.
1175 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1176 as_fn_error
"invalid package name: $ac_useropt"
1177 ac_useropt_orig
=$ac_useropt
1178 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1179 case $ac_user_opts in
1183 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1184 ac_unrecognized_sep
=', ';;
1186 eval with_
$ac_useropt=\
$ac_optarg ;;
1188 -without-* |
--without-*)
1189 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1190 # Reject names that are not valid shell variable names.
1191 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1192 as_fn_error
"invalid package name: $ac_useropt"
1193 ac_useropt_orig
=$ac_useropt
1194 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1195 case $ac_user_opts in
1199 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1200 ac_unrecognized_sep
=', ';;
1202 eval with_
$ac_useropt=no
;;
1205 # Obsolete; use --with-x.
1208 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1209 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1210 ac_prev
=x_includes
;;
1211 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1212 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1213 x_includes
=$ac_optarg ;;
1215 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1216 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1217 ac_prev
=x_libraries
;;
1218 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1219 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1220 x_libraries
=$ac_optarg ;;
1222 -*) as_fn_error
"unrecognized option: \`$ac_option'
1223 Try \`$0 --help' for more information."
1227 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1228 # Reject names that are not valid shell variable names.
1229 case $ac_envvar in #(
1230 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1231 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1233 eval $ac_envvar=\
$ac_optarg
1234 export $ac_envvar ;;
1237 # FIXME: should be removed in autoconf 3.0.
1238 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1239 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1240 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1241 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1247 if test -n "$ac_prev"; then
1248 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1249 as_fn_error
"missing argument to $ac_option"
1252 if test -n "$ac_unrecognized_opts"; then
1253 case $enable_option_checking in
1255 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1256 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1260 # Check all directory arguments for consistency.
1261 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1262 datadir sysconfdir sharedstatedir localstatedir includedir \
1263 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1264 libdir localedir mandir
1266 eval ac_val
=\$
$ac_var
1267 # Remove trailing slashes.
1270 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1271 eval $ac_var=\
$ac_val;;
1273 # Be sure to have absolute directory names.
1275 [\\/$
]* | ?
:[\\/]* ) continue;;
1276 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1278 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1281 # There might be people who depend on the old broken behavior: `$host'
1282 # used to hold the argument of --host etc.
1283 # FIXME: To remove some day.
1286 target
=$target_alias
1288 # FIXME: To remove some day.
1289 if test "x$host_alias" != x
; then
1290 if test "x$build_alias" = x
; then
1291 cross_compiling
=maybe
1292 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1293 If a cross compiler is detected then cross compile mode will be used." >&2
1294 elif test "x$build_alias" != "x$host_alias"; then
1300 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1302 test "$silent" = yes && exec 6>/dev
/null
1305 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1306 ac_ls_di
=`ls -di .` &&
1307 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1308 as_fn_error
"working directory cannot be determined"
1309 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1310 as_fn_error
"pwd does not report name of working directory"
1313 # Find the source files, if location was not specified.
1314 if test -z "$srcdir"; then
1315 ac_srcdir_defaulted
=yes
1316 # Try the directory containing this script, then the parent directory.
1317 ac_confdir
=`$as_dirname -- "$as_myself" ||
1318 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1319 X"$as_myself" : 'X\(//\)[^/]' \| \
1320 X"$as_myself" : 'X\(//\)$' \| \
1321 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1322 $as_echo X"$as_myself" |
1323 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1341 if test ! -r "$srcdir/$ac_unique_file"; then
1345 ac_srcdir_defaulted
=no
1347 if test ! -r "$srcdir/$ac_unique_file"; then
1348 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1349 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1351 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1353 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1355 # When building in place, set srcdir=.
1356 if test "$ac_abs_confdir" = "$ac_pwd"; then
1359 # Remove unnecessary trailing slashes from srcdir.
1360 # Double slashes in file names in object file debugging info
1361 # mess up M-x gdb in Emacs.
1363 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1365 for ac_var
in $ac_precious_vars; do
1366 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1367 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1368 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1369 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1373 # Report the --help message.
1375 if test "$ac_init_help" = "long"; then
1376 # Omit some internal or obsolete options to make the list less imposing.
1377 # This message is too long to be a string in the A/UX 3.1 sh.
1379 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1381 Usage: $0 [OPTION]... [VAR=VALUE]...
1383 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1384 VAR=VALUE. See below for descriptions of some of the useful variables.
1386 Defaults for the options are specified in brackets.
1389 -h, --help display this help and exit
1390 --help=short display options specific to this package
1391 --help=recursive display the short help of all the included packages
1392 -V, --version display version information and exit
1393 -q, --quiet, --silent do not print \`checking...' messages
1394 --cache-file=FILE cache test results in FILE [disabled]
1395 -C, --config-cache alias for \`--cache-file=config.cache'
1396 -n, --no-create do not create output files
1397 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1399 Installation directories:
1400 --prefix=PREFIX install architecture-independent files in PREFIX
1401 [$ac_default_prefix]
1402 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1405 By default, \`make install' will install all the files in
1406 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1407 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1408 for instance \`--prefix=\$HOME'.
1410 For better control, use the options below.
1412 Fine tuning of the installation directories:
1413 --bindir=DIR user executables [EPREFIX/bin]
1414 --sbindir=DIR system admin executables [EPREFIX/sbin]
1415 --libexecdir=DIR program executables [EPREFIX/libexec]
1416 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1417 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1418 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1419 --libdir=DIR object code libraries [EPREFIX/lib]
1420 --includedir=DIR C header files [PREFIX/include]
1421 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1422 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1423 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1424 --infodir=DIR info documentation [DATAROOTDIR/info]
1425 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1426 --mandir=DIR man documentation [DATAROOTDIR/man]
1427 --docdir=DIR documentation root [DATAROOTDIR/doc/libgo]
1428 --htmldir=DIR html documentation [DOCDIR]
1429 --dvidir=DIR dvi documentation [DOCDIR]
1430 --pdfdir=DIR pdf documentation [DOCDIR]
1431 --psdir=DIR ps documentation [DOCDIR]
1437 --program-prefix=PREFIX prepend PREFIX to installed program names
1438 --program-suffix=SUFFIX append SUFFIX to installed program names
1439 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1442 --build=BUILD configure
for building on BUILD
[guessed
]
1443 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1444 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1448 if test -n "$ac_init_help"; then
1449 case $ac_init_help in
1450 short | recursive
) echo "Configuration of package-unused version-unused:";;
1455 --disable-option-checking ignore unrecognized
--enable/--with options
1456 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1457 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1458 --enable-multilib build many library versions
(default
)
1459 --disable-dependency-tracking speeds up one-time build
1460 --enable-dependency-tracking do not reject slow dependency extractors
1461 --enable-maintainer-mode enable make rules and dependencies not useful
1462 (and sometimes confusing
) to the casual installer
1463 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1464 --enable-static[=PKGS
] build static libraries
[default
=yes]
1465 --enable-fast-install[=PKGS
]
1466 optimize
for fast installation
[default
=yes]
1467 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1468 --enable-werror turns on
-Werror [default
=yes]
1469 --enable-version-specific-runtime-libs
1470 Specify that runtime libraries should be installed
1471 in a compiler-specific directory
1472 --enable-sjlj-exceptions
1473 force use of builtin_setjmp
for exceptions
1476 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1477 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1478 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1479 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1481 --without-libffi don
't use libffi
1482 --without-libatomic don't use libatomic
1483 --with-system-libunwind use installed libunwind
1485 Some influential environment variables
:
1486 CC C compiler
command
1487 CFLAGS C compiler flags
1488 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1489 nonstandard directory
<lib dir
>
1490 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1491 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1492 you have headers
in a nonstandard directory
<include dir
>
1493 GOC Go compiler
command
1494 GOCFLAGS Go compiler flags
1497 Use these variables to override the choices made by
`configure' or to help
1498 it to find libraries and programs with nonstandard names/locations.
1500 Report bugs to the package provider.
1505 if test "$ac_init_help" = "recursive"; then
1506 # If there are subdirs, report their specific --help.
1507 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1508 test -d "$ac_dir" ||
1509 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1514 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1516 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1517 # A ".." for each directory in $ac_dir_suffix.
1518 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1519 case $ac_top_builddir_sub in
1520 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1521 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1524 ac_abs_top_builddir=$ac_pwd
1525 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1526 # for backward compatibility:
1527 ac_top_builddir=$ac_top_build_prefix
1530 .) # We are building in place.
1532 ac_top_srcdir=$ac_top_builddir_sub
1533 ac_abs_top_srcdir=$ac_pwd ;;
1534 [\\/]* | ?:[\\/]* ) # Absolute name.
1535 ac_srcdir=$srcdir$ac_dir_suffix;
1536 ac_top_srcdir=$srcdir
1537 ac_abs_top_srcdir=$srcdir ;;
1539 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1540 ac_top_srcdir=$ac_top_build_prefix$srcdir
1541 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1543 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1545 cd "$ac_dir" || { ac_status=$?; continue; }
1546 # Check for guested configure.
1547 if test -f "$ac_srcdir/configure.gnu"; then
1549 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1550 elif test -f "$ac_srcdir/configure"; then
1552 $SHELL "$ac_srcdir/configure" --help=recursive
1554 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1556 cd "$ac_pwd" || { ac_status=$?; break; }
1560 test -n "$ac_init_help" && exit $ac_status
1561 if $ac_init_version; then
1563 package-unused configure version-unused
1564 generated by GNU Autoconf 2.64
1566 Copyright (C) 2009 Free Software Foundation, Inc.
1567 This configure script is free software; the Free Software Foundation
1568 gives unlimited permission to copy, distribute and modify it.
1573 ## ------------------------ ##
1574 ## Autoconf initialization. ##
1575 ## ------------------------ ##
1577 # ac_fn_c_try_compile LINENO
1578 # --------------------------
1579 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1580 ac_fn_c_try_compile ()
1582 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1583 rm -f conftest.$ac_objext
1584 if { { ac_try="$ac_compile"
1586 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1587 *) ac_try_echo
=$ac_try;;
1589 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1590 $as_echo "$ac_try_echo"; } >&5
1591 (eval "$ac_compile") 2>conftest.err
1593 if test -s conftest.err
; then
1594 grep -v '^ *+' conftest.err
>conftest.er1
1595 cat conftest.er1
>&5
1596 mv -f conftest.er1 conftest.err
1598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1599 test $ac_status = 0; } && {
1600 test -z "$ac_c_werror_flag" ||
1601 test ! -s conftest.err
1602 } && test -s conftest.
$ac_objext; then :
1605 $as_echo "$as_me: failed program was:" >&5
1606 sed 's/^/| /' conftest.
$ac_ext >&5
1610 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1613 } # ac_fn_c_try_compile
1615 # ac_fn_c_try_link LINENO
1616 # -----------------------
1617 # Try to link conftest.$ac_ext, and return whether this succeeded.
1620 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1621 rm -f conftest.
$ac_objext conftest
$ac_exeext
1622 if { { ac_try
="$ac_link"
1624 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1625 *) ac_try_echo=$ac_try;;
1627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1628 $as_echo "$ac_try_echo"; } >&5
1629 (eval "$ac_link") 2>conftest.err
1631 if test -s conftest.err; then
1632 grep -v '^ *+' conftest.err >conftest.er1
1633 cat conftest.er1 >&5
1634 mv -f conftest.er1 conftest.err
1636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1637 test $ac_status = 0; } && {
1638 test -z "$ac_c_werror_flag" ||
1639 test ! -s conftest.err
1640 } && test -s conftest$ac_exeext && {
1641 test "$cross_compiling" = yes ||
1642 $as_test_x conftest$ac_exeext
1646 $as_echo "$as_me: failed program was:" >&5
1647 sed 's/^/| /' conftest.$ac_ext >&5
1651 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1652 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1653 # interfere with the next link command; also delete a directory that is
1654 # left behind by Apple's compiler. We do this before executing the actions.
1655 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1656 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1659 } # ac_fn_c_try_link
1661 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1662 # -------------------------------------------------------
1663 # Tests whether HEADER exists and can be compiled using the include files in
1664 # INCLUDES, setting the cache variable VAR accordingly.
1665 ac_fn_c_check_header_compile ()
1667 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1669 $as_echo_n "checking for $2... " >&6; }
1670 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1671 $as_echo_n "(cached) " >&6
1673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1674 /* end confdefs.h. */
1678 if ac_fn_c_try_compile "$LINENO"; then :
1683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1687 $as_echo "$ac_res" >&6; }
1688 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1690 } # ac_fn_c_check_header_compile
1692 # ac_fn_c_try_cpp LINENO
1693 # ----------------------
1694 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1697 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698 if { { ac_try="$ac_cpp conftest.$ac_ext"
1700 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1701 *) ac_try_echo
=$ac_try;;
1703 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1707 if test -s conftest.err
; then
1708 grep -v '^ *+' conftest.err
>conftest.er1
1709 cat conftest.er1
>&5
1710 mv -f conftest.er1 conftest.err
1712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713 test $ac_status = 0; } >/dev
/null
&& {
1714 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1715 test ! -s conftest.err
1719 $as_echo "$as_me: failed program was:" >&5
1720 sed 's/^/| /' conftest.
$ac_ext >&5
1724 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1729 # ac_fn_c_try_run LINENO
1730 # ----------------------
1731 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1732 # that executables *can* be run.
1735 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1736 if { { ac_try
="$ac_link"
1738 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1739 *) ac_try_echo=$ac_try;;
1741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1742 $as_echo "$ac_try_echo"; } >&5
1743 (eval "$ac_link") 2>&5
1745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1746 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1747 { { case "(($ac_try" in
1748 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1749 *) ac_try_echo
=$ac_try;;
1751 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1752 $as_echo "$ac_try_echo"; } >&5
1753 (eval "$ac_try") 2>&5
1755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1756 test $ac_status = 0; }; }; then :
1759 $as_echo "$as_me: program exited with status $ac_status" >&5
1760 $as_echo "$as_me: failed program was:" >&5
1761 sed 's/^/| /' conftest.
$ac_ext >&5
1763 ac_retval
=$ac_status
1765 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1766 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1771 # ac_fn_c_check_func LINENO FUNC VAR
1772 # ----------------------------------
1773 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1774 ac_fn_c_check_func
()
1776 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1778 $as_echo_n "checking for $2... " >&6; }
1779 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1780 $as_echo_n "(cached) " >&6
1782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1783 /* end confdefs.h. */
1784 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1786 #define $2 innocuous_$2
1788 /* System header to define __stub macros and hopefully few prototypes,
1789 which can conflict with char $2 (); below.
1790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1791 <limits.h> exists even on freestanding compilers. */
1794 # include <limits.h>
1796 # include <assert.h>
1801 /* Override any GCC internal prototype to avoid an error.
1802 Use char because int might match the return type of a GCC
1803 builtin and then its argument prototype would still apply. */
1808 /* The GNU C library defines this for functions which it implements
1809 to always fail with ENOSYS. Some functions are actually named
1810 something starting with __ and the normal name is an alias. */
1811 #if defined __stub_$2 || defined __stub___$2
1823 if ac_fn_c_try_link
"$LINENO"; then :
1828 rm -f core conftest.err conftest.
$ac_objext \
1829 conftest
$ac_exeext conftest.
$ac_ext
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1833 $as_echo "$ac_res" >&6; }
1834 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1836 } # ac_fn_c_check_func
1838 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1839 # -------------------------------------------------------
1840 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1841 # the include files in INCLUDES and setting the cache variable VAR
1843 ac_fn_c_check_header_mongrel
()
1845 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1846 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1848 $as_echo_n "checking for $2... " >&6; }
1849 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1850 $as_echo_n "(cached) " >&6
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1854 $as_echo "$ac_res" >&6; }
1856 # Is the header compilable?
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1858 $as_echo_n "checking $2 usability... " >&6; }
1859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1860 /* end confdefs.h. */
1864 if ac_fn_c_try_compile
"$LINENO"; then :
1865 ac_header_compiler
=yes
1867 ac_header_compiler
=no
1869 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1871 $as_echo "$ac_header_compiler" >&6; }
1873 # Is the header present?
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1875 $as_echo_n "checking $2 presence... " >&6; }
1876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1877 /* end confdefs.h. */
1880 if ac_fn_c_try_cpp
"$LINENO"; then :
1881 ac_header_preproc
=yes
1883 ac_header_preproc
=no
1885 rm -f conftest.err conftest.
$ac_ext
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1887 $as_echo "$ac_header_preproc" >&6; }
1889 # So? What about this header?
1890 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1893 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1895 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1899 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1901 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1903 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1905 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1907 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1911 $as_echo_n "checking for $2... " >&6; }
1912 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1913 $as_echo_n "(cached) " >&6
1915 eval "$3=\$ac_header_compiler"
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1919 $as_echo "$ac_res" >&6; }
1921 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1923 } # ac_fn_c_check_header_mongrel
1925 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1926 # -------------------------------------------
1927 # Tests whether TYPE exists after having included INCLUDES, setting cache
1928 # variable VAR accordingly.
1929 ac_fn_c_check_type
()
1931 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1933 $as_echo_n "checking for $2... " >&6; }
1934 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1935 $as_echo_n "(cached) " >&6
1938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1939 /* end confdefs.h. */
1950 if ac_fn_c_try_compile
"$LINENO"; then :
1951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1952 /* end confdefs.h. */
1963 if ac_fn_c_try_compile
"$LINENO"; then :
1968 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1970 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1974 $as_echo "$ac_res" >&6; }
1975 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1977 } # ac_fn_c_check_type
1979 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1980 # --------------------------------------------
1981 # Tries to find the compile-time value of EXPR in a program that includes
1982 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1984 ac_fn_c_compute_int
()
1986 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1987 if test "$cross_compiling" = yes; then
1988 # Depending upon the size, compute the lo and hi bounds.
1989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1990 /* end confdefs.h. */
1995 static int test_array [1 - 2 * !(($2) >= 0)];
2002 if ac_fn_c_try_compile
"$LINENO"; then :
2005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2006 /* end confdefs.h. */
2011 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2018 if ac_fn_c_try_compile
"$LINENO"; then :
2019 ac_hi
=$ac_mid; break
2021 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2022 if test $ac_lo -le $ac_mid; then
2026 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2028 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2032 /* end confdefs.h. */
2037 static int test_array [1 - 2 * !(($2) < 0)];
2044 if ac_fn_c_try_compile
"$LINENO"; then :
2047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2048 /* end confdefs.h. */
2053 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2060 if ac_fn_c_try_compile
"$LINENO"; then :
2061 ac_lo
=$ac_mid; break
2063 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2064 if test $ac_mid -le $ac_hi; then
2068 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2075 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2077 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2078 # Binary search between lo and hi bounds.
2079 while test "x$ac_lo" != "x$ac_hi"; do
2080 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2082 /* end confdefs.h. */
2087 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2094 if ac_fn_c_try_compile
"$LINENO"; then :
2097 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2099 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2102 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2107 /* end confdefs.h. */
2109 static long int longval () { return $2; }
2110 static unsigned long int ulongval () { return $2; }
2117 FILE *f = fopen ("conftest.val", "w");
2122 long int i = longval ();
2125 fprintf (f, "%ld", i);
2129 unsigned long int i = ulongval ();
2132 fprintf (f, "%lu", i);
2134 /* Do not output a trailing newline, as this causes \r\n confusion
2135 on some platforms. */
2136 return ferror (f) || fclose (f) != 0;
2142 if ac_fn_c_try_run
"$LINENO"; then :
2143 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2147 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2148 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2152 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2155 } # ac_fn_c_compute_int
2156 cat >config.log
<<_ACEOF
2157 This file contains any messages produced by compilers while
2158 running configure, to aid debugging if configure makes a mistake.
2160 It was created by package-unused $as_me version-unused, which was
2161 generated by GNU Autoconf 2.64. Invocation command line was
2173 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2174 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2175 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2176 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2177 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2179 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2180 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2182 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2183 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2184 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2185 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2186 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2187 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2188 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2196 test -z "$as_dir" && as_dir
=.
2197 $as_echo "PATH: $as_dir"
2213 # Keep a trace of the command line.
2214 # Strip out --no-create and --no-recursion so they do not pile up.
2215 # Strip out --silent because we don't want to record it for future runs.
2216 # Also quote any args containing shell meta-characters.
2217 # Make two passes to allow for proper duplicate-argument suppression.
2221 ac_must_keep_next
=false
2227 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2228 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2229 |
-silent |
--silent |
--silen |
--sile |
--sil)
2232 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2235 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2237 as_fn_append ac_configure_args1
" '$ac_arg'"
2238 if test $ac_must_keep_next = true
; then
2239 ac_must_keep_next
=false
# Got value, back to normal.
2242 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2243 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2244 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2245 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2246 case "$ac_configure_args0 " in
2247 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2250 -* ) ac_must_keep_next
=true
;;
2253 as_fn_append ac_configure_args
" '$ac_arg'"
2258 { ac_configure_args0
=; unset ac_configure_args0
;}
2259 { ac_configure_args1
=; unset ac_configure_args1
;}
2261 # When interrupted or exit'd, cleanup temporary files, and complete
2262 # config.log. We remove comments because anyway the quotes in there
2263 # would cause problems or look ugly.
2264 # WARNING: Use '\'' to represent an apostrophe within the trap.
2265 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2266 trap 'exit_status=$?
2267 # Save into config.log some information that might help in debugging.
2272 ## ---------------- ##
2273 ## Cache variables. ##
2274 ## ---------------- ##
2277 # The following way of writing the cache mishandles newlines in values,
2279 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2280 eval ac_val=\$$ac_var
2284 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2285 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2288 _ | IFS | as_nl) ;; #(
2289 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2290 *) { eval $ac_var=; unset $ac_var;} ;;
2295 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2296 *${as_nl}ac_space=\ *)
2298 "s/'\''/'\''\\\\'\'''\''/g;
2299 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2302 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2310 ## ----------------- ##
2311 ## Output variables. ##
2312 ## ----------------- ##
2315 for ac_var in $ac_subst_vars
2317 eval ac_val=\$$ac_var
2319 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2321 $as_echo "$ac_var='\''$ac_val'\''"
2325 if test -n "$ac_subst_files"; then
2327 ## ------------------- ##
2328 ## File substitutions. ##
2329 ## ------------------- ##
2332 for ac_var
in $ac_subst_files
2334 eval ac_val
=\$
$ac_var
2336 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2338 $as_echo "$ac_var='\''$ac_val'\''"
2343 if test -s confdefs.h; then
2353 test "$ac_signal" != 0 &&
2354 $as_echo "$as_me: caught signal $ac_signal"
2355 $as_echo "$as_me: exit $exit_status"
2357 rm -f core *.core core.conftest.* &&
2358 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2361 for ac_signal
in 1 2 13 15; do
2362 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2366 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2367 rm -f -r conftest
* confdefs.h
2369 $as_echo "/* confdefs.h */" > confdefs.h
2371 # Predefined preprocessor variables.
2373 cat >>confdefs.h
<<_ACEOF
2374 #define PACKAGE_NAME "$PACKAGE_NAME"
2377 cat >>confdefs.h
<<_ACEOF
2378 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2381 cat >>confdefs.h
<<_ACEOF
2382 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2385 cat >>confdefs.h
<<_ACEOF
2386 #define PACKAGE_STRING "$PACKAGE_STRING"
2389 cat >>confdefs.h
<<_ACEOF
2390 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2393 cat >>confdefs.h
<<_ACEOF
2394 #define PACKAGE_URL "$PACKAGE_URL"
2398 # Let the site file select an alternate cache file if it wants to.
2399 # Prefer an explicitly selected file to automatically selected ones.
2402 if test -n "$CONFIG_SITE"; then
2403 ac_site_file1
=$CONFIG_SITE
2404 elif test "x$prefix" != xNONE
; then
2405 ac_site_file1
=$prefix/share
/config.site
2406 ac_site_file2
=$prefix/etc
/config.site
2408 ac_site_file1
=$ac_default_prefix/share
/config.site
2409 ac_site_file2
=$ac_default_prefix/etc
/config.site
2411 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2413 test "x$ac_site_file" = xNONE
&& continue
2414 if test -r "$ac_site_file"; then
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2416 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2417 sed 's/^/| /' "$ac_site_file" >&5
2422 if test -r "$cache_file"; then
2423 # Some versions of bash will fail to source /dev/null (special
2424 # files actually), so we avoid doing that.
2425 if test -f "$cache_file"; then
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2427 $as_echo "$as_me: loading cache $cache_file" >&6;}
2429 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2430 *) .
"./$cache_file";;
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2435 $as_echo "$as_me: creating cache $cache_file" >&6;}
2439 # Check that the precious variables saved in the cache have kept the same
2441 ac_cache_corrupted
=false
2442 for ac_var
in $ac_precious_vars; do
2443 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2444 eval ac_new_set
=\
$ac_env_${ac_var}_set
2445 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2446 eval ac_new_val
=\
$ac_env_${ac_var}_value
2447 case $ac_old_set,$ac_new_set in
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2450 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2451 ac_cache_corrupted
=: ;;
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2454 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2455 ac_cache_corrupted
=: ;;
2458 if test "x$ac_old_val" != "x$ac_new_val"; then
2459 # differences in whitespace do not lead to failure.
2460 ac_old_val_w
=`echo x $ac_old_val`
2461 ac_new_val_w
=`echo x $ac_new_val`
2462 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2464 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2465 ac_cache_corrupted
=:
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2468 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2469 eval $ac_var=\
$ac_old_val
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2472 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2474 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2477 # Pass precious variables to config.status.
2478 if test "$ac_new_set" = set; then
2480 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2481 *) ac_arg
=$ac_var=$ac_new_val ;;
2483 case " $ac_configure_args " in
2484 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2485 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2489 if $ac_cache_corrupted; then
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2491 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2493 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2494 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2496 ## -------------------- ##
2497 ## Main body of script. ##
2498 ## -------------------- ##
2501 ac_cpp
='$CPP $CPPFLAGS'
2502 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2503 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2504 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2511 ac_config_headers
="$ac_config_headers config.h"
2514 libtool_VERSION
=7:0:0
2517 # Default to --enable-multilib
2518 # Check whether --enable-multilib was given.
2519 if test "${enable_multilib+set}" = set; then :
2520 enableval
=$enable_multilib; case "$enableval" in
2521 yes) multilib
=yes ;;
2523 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
2530 # We may get other options which we leave undocumented:
2531 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2532 # See config-ml.in if you want the gory details.
2534 if test "$srcdir" = "."; then
2535 if test "$with_target_subdir" != "."; then
2536 multi_basedir
="$srcdir/$with_multisrctop../.."
2538 multi_basedir
="$srcdir/$with_multisrctop.."
2541 multi_basedir
="$srcdir/.."
2545 # Even if the default multilib is not a cross compilation,
2546 # it may be that some of the other multilibs are.
2547 if test $cross_compiling = no
&& test $multilib = yes \
2548 && test "x${with_multisubdir}" != x
; then
2549 cross_compiling
=maybe
2552 ac_config_commands
="$ac_config_commands default-1"
2556 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2557 for ac_t
in install-sh
install.sh shtool
; do
2558 if test -f "$ac_dir/$ac_t"; then
2560 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2565 if test -z "$ac_aux_dir"; then
2566 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2569 # These three variables are undocumented and unsupported,
2570 # and are intended to be withdrawn in a future Autoconf release.
2571 # They can cause serious problems if a builder's source tree is in a directory
2572 # whose full name contains unusual characters.
2573 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2574 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2575 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2578 # Make sure we can run config.sub.
2579 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2580 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2583 $as_echo_n "checking build system type... " >&6; }
2584 if test "${ac_cv_build+set}" = set; then :
2585 $as_echo_n "(cached) " >&6
2587 ac_build_alias
=$build_alias
2588 test "x$ac_build_alias" = x
&&
2589 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2590 test "x$ac_build_alias" = x
&&
2591 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2592 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2593 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2597 $as_echo "$ac_cv_build" >&6; }
2598 case $ac_cv_build in
2600 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2603 ac_save_IFS
=$IFS; IFS
='-'
2609 # Remember, the first character of IFS is used to create $*,
2610 # except with old shells:
2613 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2617 $as_echo_n "checking host system type... " >&6; }
2618 if test "${ac_cv_host+set}" = set; then :
2619 $as_echo_n "(cached) " >&6
2621 if test "x$host_alias" = x
; then
2622 ac_cv_host
=$ac_cv_build
2624 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2625 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2630 $as_echo "$ac_cv_host" >&6; }
2633 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2636 ac_save_IFS
=$IFS; IFS
='-'
2642 # Remember, the first character of IFS is used to create $*,
2643 # except with old shells:
2646 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2650 $as_echo_n "checking target system type... " >&6; }
2651 if test "${ac_cv_target+set}" = set; then :
2652 $as_echo_n "(cached) " >&6
2654 if test "x$target_alias" = x
; then
2655 ac_cv_target
=$ac_cv_host
2657 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2658 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2663 $as_echo "$ac_cv_target" >&6; }
2664 case $ac_cv_target in
2666 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2668 target
=$ac_cv_target
2669 ac_save_IFS
=$IFS; IFS
='-'
2675 # Remember, the first character of IFS is used to create $*,
2676 # except with old shells:
2679 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2682 # The aliases save the names the user supplied, while $host etc.
2683 # will get canonicalized.
2684 test -n "$target_alias" &&
2685 test "$program_prefix$program_suffix$program_transform_name" = \
2687 program_prefix
=${target_alias}-
2689 target_alias
=${target_alias-$host_alias}
2691 am__api_version
='1.11'
2693 # Find a good install program. We prefer a C program (faster),
2694 # so one script is as good as another. But avoid the broken or
2695 # incompatible versions:
2696 # SysV /etc/install, /usr/sbin/install
2697 # SunOS /usr/etc/install
2698 # IRIX /sbin/install
2700 # AmigaOS /C/install, which installs bootblocks on floppy discs
2701 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2702 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2703 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2704 # OS/2's system install, which has a completely different semantic
2705 # ./install, which can be erroneously created by make from ./install.sh.
2706 # Reject install programs that cannot install multiple files.
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2708 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2709 if test -z "$INSTALL"; then
2710 if test "${ac_cv_path_install+set}" = set; then :
2711 $as_echo_n "(cached) " >&6
2713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2717 test -z "$as_dir" && as_dir
=.
2718 # Account for people who put trailing slashes in PATH elements.
2719 case $as_dir/ in #((
2720 .
/ | .
// |
/[cC
]/* | \
2721 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2722 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2725 # OSF1 and SCO ODT 3.0 have their own names for install.
2726 # Don't use installbsd from OSF since it installs stuff as root
2728 for ac_prog
in ginstall scoinst
install; do
2729 for ac_exec_ext
in '' $ac_executable_extensions; do
2730 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2731 if test $ac_prog = install &&
2732 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2733 # AIX install. It has an incompatible calling convention.
2735 elif test $ac_prog = install &&
2736 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2737 # program-specific install script used by HP pwplus--don't use.
2740 rm -rf conftest.one conftest.two conftest.dir
2741 echo one
> conftest.one
2742 echo two
> conftest.two
2744 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2745 test -s conftest.one
&& test -s conftest.two
&&
2746 test -s conftest.dir
/conftest.one
&&
2747 test -s conftest.dir
/conftest.two
2749 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2762 rm -rf conftest.one conftest.two conftest.dir
2765 if test "${ac_cv_path_install+set}" = set; then
2766 INSTALL
=$ac_cv_path_install
2768 # As a last resort, use the slow shell script. Don't cache a
2769 # value for INSTALL within a source directory, because that will
2770 # break other packages using the cache if that directory is
2771 # removed, or if the value is a relative name.
2772 INSTALL
=$ac_install_sh
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2776 $as_echo "$INSTALL" >&6; }
2778 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2779 # It thinks the first close brace ends the variable substitution.
2780 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2782 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2784 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2787 $as_echo_n "checking whether build environment is sane... " >&6; }
2790 echo timestamp
> conftest.
file
2791 # Reject unsafe characters in $srcdir or the absolute working directory
2792 # name. Accept space and tab only in the latter.
2796 *[\\\"\
#\$\&\'\`$am_lf]*)
2797 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2800 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2801 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2804 # Do `set' in a subshell so we don't clobber the current shell's
2805 # arguments. Must try -L first in case configure is actually a
2806 # symlink; some systems play weird games with the mod time of symlinks
2807 # (eg FreeBSD returns the mod time of the symlink's containing
2810 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2811 if test "$*" = "X"; then
2813 set X
`ls -t "$srcdir/configure" conftest.file`
2816 if test "$*" != "X $srcdir/configure conftest.file" \
2817 && test "$*" != "X conftest.file $srcdir/configure"; then
2819 # If neither matched, then we have a broken ls. This can happen
2820 # if, for instance, CONFIG_SHELL is bash and it inherits a
2821 # broken ls alias from the environment. This has actually
2822 # happened. Such a system could not be considered "sane".
2823 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2824 alias in your environment" "$LINENO" 5
2827 test "$2" = conftest.
file
2833 as_fn_error
"newly created file is older than distributed files!
2834 Check your system clock" "$LINENO" 5
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2837 $as_echo "yes" >&6; }
2838 test "$program_prefix" != NONE
&&
2839 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2840 # Use a double $ so make ignores it.
2841 test "$program_suffix" != NONE
&&
2842 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2843 # Double any \ or $.
2844 # By default was `s,x,x', remove it if useless.
2845 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2846 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2848 # expand $ac_aux_dir to an absolute path
2849 am_aux_dir
=`cd $ac_aux_dir && pwd`
2851 if test x
"${MISSING+set}" != xset
; then
2854 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2856 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2859 # Use eval to expand $SHELL
2860 if eval "$MISSING --run true"; then
2861 am_missing_run
="$MISSING --run "
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2865 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2868 if test x
"${install_sh}" != xset
; then
2871 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2873 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2877 # Installed binaries are usually stripped using `strip' when the user
2878 # run `make install-strip'. However `strip' might not be the right
2879 # tool to use in cross-compilation environments, therefore Automake
2880 # will honor the `STRIP' environment variable to overrule this program.
2881 if test "$cross_compiling" != no
; then
2882 if test -n "$ac_tool_prefix"; then
2883 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2884 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2886 $as_echo_n "checking for $ac_word... " >&6; }
2887 if test "${ac_cv_prog_STRIP+set}" = set; then :
2888 $as_echo_n "(cached) " >&6
2890 if test -n "$STRIP"; then
2891 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2897 test -z "$as_dir" && as_dir
=.
2898 for ac_exec_ext
in '' $ac_executable_extensions; do
2899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2900 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2910 STRIP
=$ac_cv_prog_STRIP
2911 if test -n "$STRIP"; then
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2913 $as_echo "$STRIP" >&6; }
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2916 $as_echo "no" >&6; }
2921 if test -z "$ac_cv_prog_STRIP"; then
2923 # Extract the first word of "strip", so it can be a program name with args.
2924 set dummy strip
; ac_word
=$2
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2926 $as_echo_n "checking for $ac_word... " >&6; }
2927 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2928 $as_echo_n "(cached) " >&6
2930 if test -n "$ac_ct_STRIP"; then
2931 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2937 test -z "$as_dir" && as_dir
=.
2938 for ac_exec_ext
in '' $ac_executable_extensions; do
2939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2940 ac_cv_prog_ac_ct_STRIP
="strip"
2941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2950 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2951 if test -n "$ac_ct_STRIP"; then
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2953 $as_echo "$ac_ct_STRIP" >&6; }
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2956 $as_echo "no" >&6; }
2959 if test "x$ac_ct_STRIP" = x
; then
2962 case $cross_compiling:$ac_tool_warned in
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2965 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2966 ac_tool_warned
=yes ;;
2971 STRIP
="$ac_cv_prog_STRIP"
2975 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2978 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2979 if test -z "$MKDIR_P"; then
2980 if test "${ac_cv_path_mkdir+set}" = set; then :
2981 $as_echo_n "(cached) " >&6
2983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2984 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2987 test -z "$as_dir" && as_dir
=.
2988 for ac_prog
in mkdir gmkdir
; do
2989 for ac_exec_ext
in '' $ac_executable_extensions; do
2990 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2991 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2992 'mkdir (GNU coreutils) '* | \
2993 'mkdir (coreutils) '* | \
2994 'mkdir (fileutils) '4.1*)
2995 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3005 if test "${ac_cv_path_mkdir+set}" = set; then
3006 MKDIR_P
="$ac_cv_path_mkdir -p"
3008 # As a last resort, use the slow shell script. Don't cache a
3009 # value for MKDIR_P within a source directory, because that will
3010 # break other packages using the cache if that directory is
3011 # removed, or if the value is a relative name.
3012 test -d .
/--version && rmdir .
/--version
3013 MKDIR_P
="$ac_install_sh -d"
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3017 $as_echo "$MKDIR_P" >&6; }
3021 [\\/$
]* | ?
:[\\/]*) ;;
3022 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3025 for ac_prog
in gawk mawk nawk
awk
3027 # Extract the first word of "$ac_prog", so it can be a program name with args.
3028 set dummy
$ac_prog; ac_word
=$2
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3030 $as_echo_n "checking for $ac_word... " >&6; }
3031 if test "${ac_cv_prog_AWK+set}" = set; then :
3032 $as_echo_n "(cached) " >&6
3034 if test -n "$AWK"; then
3035 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3041 test -z "$as_dir" && as_dir
=.
3042 for ac_exec_ext
in '' $ac_executable_extensions; do
3043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3044 ac_cv_prog_AWK
="$ac_prog"
3045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3055 if test -n "$AWK"; then
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3057 $as_echo "$AWK" >&6; }
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3060 $as_echo "no" >&6; }
3064 test -n "$AWK" && break
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3068 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3070 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3071 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3072 $as_echo_n "(cached) " >&6
3074 cat >conftest.
make <<\_ACEOF
3077 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3079 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3080 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3082 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3084 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3088 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3090 $as_echo "yes" >&6; }
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3094 $as_echo "no" >&6; }
3095 SET_MAKE
="MAKE=${MAKE-make}"
3098 rm -rf .tst
2>/dev
/null
3099 mkdir .tst
2>/dev
/null
3100 if test -d .tst
; then
3105 rmdir .tst
2>/dev
/null
3107 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3108 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3109 # is not polluted with repeated "-I."
3110 am__isrc
=' -I$(srcdir)'
3111 # test to see if srcdir already configured
3112 if test -f $srcdir/config.status
; then
3113 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3117 # test whether we have cygpath
3118 if test -z "$CYGPATH_W"; then
3119 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3120 CYGPATH_W
='cygpath -w'
3127 # Define the identity of the package.
3129 VERSION
='version-unused'
3132 # Some tools Automake needs.
3134 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3137 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3140 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3143 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3146 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3148 # We need awk for the "check" target. The system "awk" is bad on
3150 # Always define AMTAR for backward compatibility.
3152 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3154 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3166 ac_cpp
='$CPP $CPPFLAGS'
3167 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3168 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3169 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3170 if test -n "$ac_tool_prefix"; then
3171 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3172 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3174 $as_echo_n "checking for $ac_word... " >&6; }
3175 if test "${ac_cv_prog_CC+set}" = set; then :
3176 $as_echo_n "(cached) " >&6
3178 if test -n "$CC"; then
3179 ac_cv_prog_CC
="$CC" # Let the user override the test.
3181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3185 test -z "$as_dir" && as_dir
=.
3186 for ac_exec_ext
in '' $ac_executable_extensions; do
3187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3188 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3199 if test -n "$CC"; then
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3201 $as_echo "$CC" >&6; }
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3204 $as_echo "no" >&6; }
3209 if test -z "$ac_cv_prog_CC"; then
3211 # Extract the first word of "gcc", so it can be a program name with args.
3212 set dummy gcc
; ac_word
=$2
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3214 $as_echo_n "checking for $ac_word... " >&6; }
3215 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3216 $as_echo_n "(cached) " >&6
3218 if test -n "$ac_ct_CC"; then
3219 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3225 test -z "$as_dir" && as_dir
=.
3226 for ac_exec_ext
in '' $ac_executable_extensions; do
3227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3228 ac_cv_prog_ac_ct_CC
="gcc"
3229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3238 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3239 if test -n "$ac_ct_CC"; then
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3241 $as_echo "$ac_ct_CC" >&6; }
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3244 $as_echo "no" >&6; }
3247 if test "x$ac_ct_CC" = x
; then
3250 case $cross_compiling:$ac_tool_warned in
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3254 ac_tool_warned
=yes ;;
3262 if test -z "$CC"; then
3263 if test -n "$ac_tool_prefix"; then
3264 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3265 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3267 $as_echo_n "checking for $ac_word... " >&6; }
3268 if test "${ac_cv_prog_CC+set}" = set; then :
3269 $as_echo_n "(cached) " >&6
3271 if test -n "$CC"; then
3272 ac_cv_prog_CC
="$CC" # Let the user override the test.
3274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3278 test -z "$as_dir" && as_dir
=.
3279 for ac_exec_ext
in '' $ac_executable_extensions; do
3280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3281 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3292 if test -n "$CC"; then
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3294 $as_echo "$CC" >&6; }
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3297 $as_echo "no" >&6; }
3303 if test -z "$CC"; then
3304 # Extract the first word of "cc", so it can be a program name with args.
3305 set dummy cc
; ac_word
=$2
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3307 $as_echo_n "checking for $ac_word... " >&6; }
3308 if test "${ac_cv_prog_CC+set}" = set; then :
3309 $as_echo_n "(cached) " >&6
3311 if test -n "$CC"; then
3312 ac_cv_prog_CC
="$CC" # Let the user override the test.
3315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3319 test -z "$as_dir" && as_dir
=.
3320 for ac_exec_ext
in '' $ac_executable_extensions; do
3321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3322 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3323 ac_prog_rejected
=yes
3327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3334 if test $ac_prog_rejected = yes; then
3335 # We found a bogon in the path, so make sure we never use it.
3336 set dummy
$ac_cv_prog_CC
3338 if test $# != 0; then
3339 # We chose a different compiler from the bogus one.
3340 # However, it has the same basename, so the bogon will be chosen
3341 # first if we set CC to just the basename; use the full file name.
3343 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3349 if test -n "$CC"; then
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3351 $as_echo "$CC" >&6; }
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3354 $as_echo "no" >&6; }
3359 if test -z "$CC"; then
3360 if test -n "$ac_tool_prefix"; then
3361 for ac_prog
in cl.exe
3363 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3364 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3366 $as_echo_n "checking for $ac_word... " >&6; }
3367 if test "${ac_cv_prog_CC+set}" = set; then :
3368 $as_echo_n "(cached) " >&6
3370 if test -n "$CC"; then
3371 ac_cv_prog_CC
="$CC" # Let the user override the test.
3373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3377 test -z "$as_dir" && as_dir
=.
3378 for ac_exec_ext
in '' $ac_executable_extensions; do
3379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3380 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3391 if test -n "$CC"; then
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3393 $as_echo "$CC" >&6; }
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3396 $as_echo "no" >&6; }
3400 test -n "$CC" && break
3403 if test -z "$CC"; then
3405 for ac_prog
in cl.exe
3407 # Extract the first word of "$ac_prog", so it can be a program name with args.
3408 set dummy
$ac_prog; ac_word
=$2
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3410 $as_echo_n "checking for $ac_word... " >&6; }
3411 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3412 $as_echo_n "(cached) " >&6
3414 if test -n "$ac_ct_CC"; then
3415 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3421 test -z "$as_dir" && as_dir
=.
3422 for ac_exec_ext
in '' $ac_executable_extensions; do
3423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3424 ac_cv_prog_ac_ct_CC
="$ac_prog"
3425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3434 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3435 if test -n "$ac_ct_CC"; then
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3437 $as_echo "$ac_ct_CC" >&6; }
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3440 $as_echo "no" >&6; }
3444 test -n "$ac_ct_CC" && break
3447 if test "x$ac_ct_CC" = x
; then
3450 case $cross_compiling:$ac_tool_warned in
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3453 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3454 ac_tool_warned
=yes ;;
3463 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3464 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3465 as_fn_error
"no acceptable C compiler found in \$PATH
3466 See \`config.log' for more details." "$LINENO" 5; }
3468 # Provide some information about the compiler.
3469 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3472 for ac_option
in --version -v -V -qversion; do
3473 { { ac_try
="$ac_compiler $ac_option >&5"
3475 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3476 *) ac_try_echo=$ac_try;;
3478 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3479 $as_echo "$ac_try_echo"; } >&5
3480 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3482 if test -s conftest.err; then
3484 ... rest of stderr output deleted ...
3485 10q' conftest.err >conftest.er1
3486 cat conftest.er1 >&5
3487 rm -f conftest.er1 conftest.err
3489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3490 test $ac_status = 0; }
3493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3494 /* end confdefs.h. */
3504 ac_clean_files_save=$ac_clean_files
3505 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3506 # Try to create an executable without -o first, disregard a.out.
3507 # It will help us diagnose broken compilers, and finding out an intuition
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3510 $as_echo_n "checking for C compiler default output file name... " >&6; }
3511 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3513 # The possible output files:
3514 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3517 for ac_file in $ac_files
3520 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3521 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3526 if { { ac_try="$ac_link_default"
3528 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3529 *) ac_try_echo
=$ac_try;;
3531 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3532 $as_echo "$ac_try_echo"; } >&5
3533 (eval "$ac_link_default") 2>&5
3535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3536 test $ac_status = 0; }; then :
3537 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3538 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3539 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3540 # so that the user can short-circuit this test for compilers unknown to
3542 for ac_file
in $ac_files ''
3544 test -f "$ac_file" ||
continue
3546 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3549 # We found the default executable, but exeext='' is most
3553 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3555 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3557 # We set ac_cv_exeext here because the later test for it is not
3558 # safe: cross compilers may not add the suffix if given an `-o'
3559 # argument, so we may need to know it at that point already.
3560 # Even if this section looks crufty: it has the advantage of
3567 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3573 $as_echo "$ac_file" >&6; }
3574 if test -z "$ac_file"; then :
3575 $as_echo "$as_me: failed program was:" >&5
3576 sed 's/^/| /' conftest.
$ac_ext >&5
3578 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3580 { as_fn_set_status
77
3581 as_fn_error
"C compiler cannot create executables
3582 See \`config.log' for more details." "$LINENO" 5; }; }
3584 ac_exeext
=$ac_cv_exeext
3586 # Check that the compiler produces executables we can run. If not, either
3587 # the compiler is broken, or we cross compile.
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3589 $as_echo_n "checking whether the C compiler works... " >&6; }
3590 # If not cross compiling, check that we can run a simple program.
3591 if test "$cross_compiling" != yes; then
3592 if { ac_try
='./$ac_file'
3593 { { case "(($ac_try" in
3594 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3595 *) ac_try_echo=$ac_try;;
3597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3598 $as_echo "$ac_try_echo"; } >&5
3599 (eval "$ac_try") 2>&5
3601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3602 test $ac_status = 0; }; }; then
3605 if test "$cross_compiling" = maybe; then
3608 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3609 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3610 as_fn_error "cannot run C compiled programs.
3611 If you meant to cross compile
, use \
`--host'.
3612 See \`config.log
' for more details." "$LINENO" 5; }
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3617 $as_echo "yes" >&6; }
3619 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3620 ac_clean_files=$ac_clean_files_save
3621 # Check that the compiler produces executables we can run. If not, either
3622 # the compiler is broken, or we cross compile.
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3624 $as_echo_n "checking whether we are cross compiling... " >&6; }
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3626 $as_echo "$cross_compiling" >&6; }
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3629 $as_echo_n "checking for suffix of executables... " >&6; }
3630 if { { ac_try="$ac_link"
3632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3633 *) ac_try_echo=$ac_try;;
3635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3636 $as_echo "$ac_try_echo"; } >&5
3637 (eval "$ac_link") 2>&5
3639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3640 test $ac_status = 0; }; then :
3641 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3642 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3643 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3645 for ac_file
in conftest.exe conftest conftest.
*; do
3646 test -f "$ac_file" ||
continue
3648 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3649 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3655 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3656 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3657 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3658 See \`config.log' for more details." "$LINENO" 5; }
3660 rm -f conftest
$ac_cv_exeext
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3662 $as_echo "$ac_cv_exeext" >&6; }
3664 rm -f conftest.
$ac_ext
3665 EXEEXT
=$ac_cv_exeext
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3668 $as_echo_n "checking for suffix of object files... " >&6; }
3669 if test "${ac_cv_objext+set}" = set; then :
3670 $as_echo_n "(cached) " >&6
3672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3673 /* end confdefs.h. */
3683 rm -f conftest.o conftest.obj
3684 if { { ac_try
="$ac_compile"
3686 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3687 *) ac_try_echo=$ac_try;;
3689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3690 $as_echo "$ac_try_echo"; } >&5
3691 (eval "$ac_compile") 2>&5
3693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3694 test $ac_status = 0; }; then :
3695 for ac_file in conftest.o conftest.obj conftest.*; do
3696 test -f "$ac_file" || continue;
3698 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3699 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3704 $as_echo "$as_me: failed program was:" >&5
3705 sed 's/^/| /' conftest.$ac_ext >&5
3707 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3708 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3709 as_fn_error "cannot compute suffix of object files
: cannot compile
3710 See \
`config.log' for more details." "$LINENO" 5; }
3712 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3715 $as_echo "$ac_cv_objext" >&6; }
3716 OBJEXT=$ac_cv_objext
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3719 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3720 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3721 $as_echo_n "(cached) " >&6
3723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3724 /* end confdefs.h. */
3737 if ac_fn_c_try_compile "$LINENO"; then :
3742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3743 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3747 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3748 if test $ac_compiler_gnu = yes; then
3753 ac_test_CFLAGS=${CFLAGS+set}
3754 ac_save_CFLAGS=$CFLAGS
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3756 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3757 if test "${ac_cv_prog_cc_g+set}" = set; then :
3758 $as_echo_n "(cached) " >&6
3760 ac_save_c_werror_flag=$ac_c_werror_flag
3761 ac_c_werror_flag=yes
3764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3765 /* end confdefs.h. */
3775 if ac_fn_c_try_compile "$LINENO"; then :
3779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3780 /* end confdefs.h. */
3790 if ac_fn_c_try_compile "$LINENO"; then :
3793 ac_c_werror_flag=$ac_save_c_werror_flag
3795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3796 /* end confdefs.h. */
3806 if ac_fn_c_try_compile "$LINENO"; then :
3809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3814 ac_c_werror_flag=$ac_save_c_werror_flag
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3817 $as_echo "$ac_cv_prog_cc_g" >&6; }
3818 if test "$ac_test_CFLAGS" = set; then
3819 CFLAGS=$ac_save_CFLAGS
3820 elif test $ac_cv_prog_cc_g = yes; then
3821 if test "$GCC" = yes; then
3827 if test "$GCC" = yes; then
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3834 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3835 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3836 $as_echo_n "(cached) " >&6
3838 ac_cv_prog_cc_c89=no
3840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3841 /* end confdefs.h. */
3844 #include <sys/types.h>
3845 #include <sys/stat.h>
3846 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3847 struct buf { int x; };
3848 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3849 static char *e (p, i)
3855 static char *f (char * (*g) (char **, int), char **p, ...)
3860 s = g (p, va_arg (v,int));
3865 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3866 function prototypes and stuff, but not '\xHH' hex character constants.
3867 These don't provoke an error unfortunately, instead are silently treated
3868 as 'x'. The following induces an error, until -std is added to get
3869 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3870 array size at least. It's necessary to write '\x00'==0 to get something
3871 that's true only with -std. */
3872 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3874 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3875 inside strings and character constants. */
3877 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3879 int test (int i, double x);
3880 struct s1 {int (*f) (int a);};
3881 struct s2 {int (*f) (double a);};
3882 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3888 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3893 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3894 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3896 CC="$ac_save_CC $ac_arg"
3897 if ac_fn_c_try_compile "$LINENO"; then :
3898 ac_cv_prog_cc_c89=$ac_arg
3900 rm -f core conftest.err conftest.$ac_objext
3901 test "x$ac_cv_prog_cc_c89" != "xno" && break
3903 rm -f conftest.$ac_ext
3908 case "x$ac_cv_prog_cc_c89" in
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3911 $as_echo "none needed" >&6; } ;;
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3914 $as_echo "unsupported" >&6; } ;;
3916 CC="$CC $ac_cv_prog_cc_c89"
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3918 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3920 if test "x$ac_cv_prog_cc_c89" != xno; then :
3925 ac_cpp='$CPP $CPPFLAGS'
3926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3929 DEPDIR="${am__leading_dot}deps"
3931 ac_config_commands="$ac_config_commands depfiles"
3934 am_make=${MAKE-make}
3935 cat > confinc << 'END'
3937 @echo this is the am__doit target
3940 # If we don't find an include directive, just comment out the code.
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3942 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3946 # First try GNU make style include.
3947 echo "include confinc" > confmf
3948 # Ignore all kinds of additional output from `make'.
3949 case `$am_make -s -f confmf 2> /dev/null` in #(
3950 *the\ am__doit\ target*)
3956 # Now try BSD make style include.
3957 if test "$am__include" = "#"; then
3958 echo '.include
"confinc"' > confmf
3959 case `$am_make -s -f confmf 2> /dev/null` in #(
3960 *the\ am__doit\ target*)
3961 am__include=.include
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3970 $as_echo "$_am_result" >&6; }
3971 rm -f confinc confmf
3973 # Check whether --enable-dependency-tracking was given.
3974 if test "${enable_dependency_tracking+set}" = set; then :
3975 enableval=$enable_dependency_tracking;
3978 if test "x$enable_dependency_tracking" != xno; then
3979 am_depcomp="$ac_aux_dir/depcomp"
3982 if test "x$enable_dependency_tracking" != xno
; then
3992 depcc
="$CC" am_compiler_list
=
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3995 $as_echo_n "checking dependency style of $depcc... " >&6; }
3996 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3997 $as_echo_n "(cached) " >&6
3999 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4000 # We make a subdir and do the tests there. Otherwise we can end up
4001 # making bogus files that we don't know about and never remove. For
4002 # instance it was reported that on HP-UX the gcc test will end up
4003 # making a dummy file named `D' -- because `-MD' means `put the output
4006 # Copy depcomp to subdir because otherwise we won't find it if we're
4007 # using a relative directory.
4008 cp "$am_depcomp" conftest.dir
4010 # We will build objects and dependencies in a subdirectory because
4011 # it helps to detect inapplicable dependency modes. For instance
4012 # both Tru64's cc and ICC support -MD to output dependencies as a
4013 # side effect of compilation, but ICC will put the dependencies in
4014 # the current directory while Tru64 will put them in the object
4018 am_cv_CC_dependencies_compiler_type
=none
4019 if test "$am_compiler_list" = ""; then
4020 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4023 case " $depcc " in #(
4024 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4027 for depmode
in $am_compiler_list; do
4028 # Setup a source with many dependencies, because some compilers
4029 # like to wrap large dependency lists on column 80 (with \), and
4030 # we should not choose a depcomp mode which is confused by this.
4032 # We need to recreate these files for each test, as the compiler may
4033 # overwrite some of them when testing with obscure command lines.
4034 # This happens at least with the AIX C compiler.
4036 for i
in 1 2 3 4 5 6; do
4037 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4038 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4039 # Solaris 8's {/usr,}/bin/sh.
4040 touch sub
/conftst
$i.h
4042 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4044 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4045 # mode. It turns out that the SunPro C++ compiler does not properly
4046 # handle `-M -o', and we need to detect this. Also, some Intel
4047 # versions had trouble with output in subdirs
4048 am__obj
=sub
/conftest.
${OBJEXT-o}
4049 am__minus_obj
="-o $am__obj"
4052 # This depmode causes a compiler race in universal mode.
4053 test "$am__universal" = false ||
continue
4056 # after this tag, mechanisms are not by side-effect, so they'll
4057 # only be used when explicitly requested
4058 if test "x$enable_dependency_tracking" = xyes
; then
4064 msvisualcpp | msvcmsys
)
4065 # This compiler won't grok `-c -o', but also, the minuso test has
4066 # not run yet. These depmodes are late enough in the game, and
4067 # so weak that their functioning should not be impacted.
4068 am__obj
=conftest.
${OBJEXT-o}
4073 if depmode
=$depmode \
4074 source=sub
/conftest.c object
=$am__obj \
4075 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4076 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4077 >/dev
/null
2>conftest.err
&&
4078 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4079 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4080 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4081 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4082 # icc doesn't choke on unknown options, it will just issue warnings
4083 # or remarks (even with -Werror). So we grep stderr for any message
4084 # that says an option was ignored or not supported.
4085 # When given -MP, icc 7.0 and 7.1 complain thusly:
4086 # icc: Command line warning: ignoring option '-M'; no argument required
4087 # The diagnosis changed in icc 8.0:
4088 # icc: Command line remark: option '-MP' not supported
4089 if (grep 'ignoring option' conftest.err ||
4090 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4091 am_cv_CC_dependencies_compiler_type
=$depmode
4100 am_cv_CC_dependencies_compiler_type
=none
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4105 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4106 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4109 test "x$enable_dependency_tracking" != xno \
4110 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4112 am__fastdepCC_FALSE
='#'
4114 am__fastdepCC_TRUE
='#'
4115 am__fastdepCC_FALSE
=
4120 ac_compile
='$GOC -c $GOCFLAGS conftest.$ac_ext >&5'
4121 ac_link
='$GOC -o conftest$ac_exeext $GOCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4123 if test -n "$ac_tool_prefix"; then
4124 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
4125 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4127 $as_echo_n "checking for $ac_word... " >&6; }
4128 if test "${ac_cv_prog_GOC+set}" = set; then :
4129 $as_echo_n "(cached) " >&6
4131 if test -n "$GOC"; then
4132 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
4134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4138 test -z "$as_dir" && as_dir
=.
4139 for ac_exec_ext
in '' $ac_executable_extensions; do
4140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4141 ac_cv_prog_GOC
="${ac_tool_prefix}gccgo"
4142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4152 if test -n "$GOC"; then
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4154 $as_echo "$GOC" >&6; }
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4157 $as_echo "no" >&6; }
4162 if test -z "$ac_cv_prog_GOC"; then
4164 # Extract the first word of "gccgo", so it can be a program name with args.
4165 set dummy gccgo
; ac_word
=$2
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4167 $as_echo_n "checking for $ac_word... " >&6; }
4168 if test "${ac_cv_prog_ac_ct_GOC+set}" = set; then :
4169 $as_echo_n "(cached) " >&6
4171 if test -n "$ac_ct_GOC"; then
4172 ac_cv_prog_ac_ct_GOC
="$ac_ct_GOC" # Let the user override the test.
4174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4178 test -z "$as_dir" && as_dir
=.
4179 for ac_exec_ext
in '' $ac_executable_extensions; do
4180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4181 ac_cv_prog_ac_ct_GOC
="gccgo"
4182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4191 ac_ct_GOC
=$ac_cv_prog_ac_ct_GOC
4192 if test -n "$ac_ct_GOC"; then
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
4194 $as_echo "$ac_ct_GOC" >&6; }
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4197 $as_echo "no" >&6; }
4200 if test "x$ac_ct_GOC" = x
; then
4203 case $cross_compiling:$ac_tool_warned in
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4206 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4207 ac_tool_warned
=yes ;;
4212 GOC
="$ac_cv_prog_GOC"
4215 if test -z "$GOC"; then
4216 if test -n "$ac_tool_prefix"; then
4217 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
4218 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4220 $as_echo_n "checking for $ac_word... " >&6; }
4221 if test "${ac_cv_prog_GOC+set}" = set; then :
4222 $as_echo_n "(cached) " >&6
4224 if test -n "$GOC"; then
4225 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
4227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4231 test -z "$as_dir" && as_dir
=.
4232 for ac_exec_ext
in '' $ac_executable_extensions; do
4233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4234 ac_cv_prog_GOC
="$ac_tool_prefix}gccgo"
4235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4245 if test -n "$GOC"; then
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4247 $as_echo "$GOC" >&6; }
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4250 $as_echo "no" >&6; }
4256 if test -z "$GOC"; then
4257 # Extract the first word of "gccgo", so it can be a program name with args.
4258 set dummy gccgo
; ac_word
=$2
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4260 $as_echo_n "checking for $ac_word... " >&6; }
4261 if test "${ac_cv_prog_GOC+set}" = set; then :
4262 $as_echo_n "(cached) " >&6
4264 if test -n "$GOC"; then
4265 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
4268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4272 test -z "$as_dir" && as_dir
=.
4273 for ac_exec_ext
in '' $ac_executable_extensions; do
4274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4275 if test "$as_dir/$ac_word$ac_exec_ext" = "gccgo"; then
4276 ac_prog_rejected
=yes
4279 ac_cv_prog_GOC
="gccgo"
4280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4287 if test $ac_prog_rejected = yes; then
4288 # We found a bogon in the path, so make sure we never use it.
4289 set dummy
$ac_cv_prog_GOC
4291 if test $# != 0; then
4292 # We chose a different compiler from the bogus one.
4293 # However, it has the same basename, so the bogon will be chosen
4294 # first if we set GOC to just the basename; use the full file name.
4296 ac_cv_prog_GOC
="$as_dir/$ac_word${1+' '}$@"
4302 if test -n "$GOC"; then
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4304 $as_echo "$GOC" >&6; }
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4307 $as_echo "no" >&6; }
4314 # Provide some information about the compiler.
4315 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Go compiler version" >&5
4318 { { ac_try
="$ac_compiler --version >&5"
4320 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4321 *) ac_try_echo=$ac_try;;
4323 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4324 $as_echo "$ac_try_echo"; } >&5
4325 (eval "$ac_compiler --version >&5") 2>conftest.err
4327 if test -s conftest.err; then
4329 ... rest of stderr output deleted ...
4330 10q' conftest.err >conftest.er1
4331 cat conftest.er1 >&5
4332 rm -f conftest.er1 conftest.err
4334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4335 test $ac_status = 0; }
4338 ac_cpp='$CPP $CPPFLAGS'
4339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4349 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4350 # Check whether --enable-maintainer-mode was given.
4351 if test "${enable_maintainer_mode+set}" = set; then :
4352 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4354 USE_MAINTAINER_MODE=no
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4358 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4359 if test $USE_MAINTAINER_MODE = yes; then
4360 MAINTAINER_MODE_TRUE=
4361 MAINTAINER_MODE_FALSE='#'
4363 MAINTAINER_MODE_TRUE='#'
4364 MAINTAINER_MODE_FALSE=
4367 MAINT=$MAINTAINER_MODE_TRUE
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4372 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4373 if test "${ac_cv_path_SED+set}" = set; then :
4374 $as_echo_n "(cached) " >&6
4376 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4377 for ac_i in 1 2 3 4 5 6 7; do
4378 ac_script="$ac_script$as_nl$ac_script"
4380 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4381 { ac_script=; unset ac_script;}
4382 if test -z "$SED"; then
4383 ac_path_SED_found=false
4384 # Loop through the user's path and test for each of PROGNAME-LIST
4385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4389 test -z "$as_dir" && as_dir=.
4390 for ac_prog in sed gsed; do
4391 for ac_exec_ext in '' $ac_executable_extensions; do
4392 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4393 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4394 # Check for GNU ac_path_SED and select it if it is found.
4395 # Check for GNU $ac_path_SED
4396 case `"$ac_path_SED" --version 2>&1` in
4398 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4401 $as_echo_n 0123456789 >"conftest.in"
4404 cat "conftest.in" "conftest.in" >"conftest.tmp"
4405 mv "conftest.tmp" "conftest.in"
4406 cp "conftest.in" "conftest.nl"
4407 $as_echo '' >> "conftest.nl"
4408 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4409 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4410 as_fn_arith $ac_count + 1 && ac_count=$as_val
4411 if test $ac_count -gt ${ac_path_SED_max-0}; then
4412 # Best one so far, save it but keep looking for a better one
4413 ac_cv_path_SED="$ac_path_SED"
4414 ac_path_SED_max=$ac_count
4416 # 10*(2^10) chars as input seems more than enough
4417 test $ac_count -gt 10 && break
4419 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4422 $ac_path_SED_found && break 3
4427 if test -z "$ac_cv_path_SED"; then
4428 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4436 $as_echo "$ac_cv_path_SED" >&6; }
4437 SED="$ac_cv_path_SED"
4440 test -z "$SED" && SED=sed
4441 Xsed="$SED -e 1s/^X//"
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4454 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4455 if test "${ac_cv_path_GREP+set}" = set; then :
4456 $as_echo_n "(cached) " >&6
4458 if test -z "$GREP"; then
4459 ac_path_GREP_found=false
4460 # Loop through the user's path and test for each of PROGNAME-LIST
4461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4462 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4465 test -z "$as_dir" && as_dir=.
4466 for ac_prog in grep ggrep; do
4467 for ac_exec_ext in '' $ac_executable_extensions; do
4468 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4469 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4470 # Check for GNU ac_path_GREP and select it if it is found.
4471 # Check for GNU $ac_path_GREP
4472 case `"$ac_path_GREP" --version 2>&1` in
4474 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4477 $as_echo_n 0123456789 >"conftest.in"
4480 cat "conftest.in" "conftest.in" >"conftest.tmp"
4481 mv "conftest.tmp" "conftest.in"
4482 cp "conftest.in" "conftest.nl"
4483 $as_echo 'GREP' >> "conftest.nl"
4484 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4485 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4486 as_fn_arith $ac_count + 1 && ac_count=$as_val
4487 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4488 # Best one so far, save it but keep looking for a better one
4489 ac_cv_path_GREP="$ac_path_GREP"
4490 ac_path_GREP_max=$ac_count
4492 # 10*(2^10) chars as input seems more than enough
4493 test $ac_count -gt 10 && break
4495 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4498 $ac_path_GREP_found && break 3
4503 if test -z "$ac_cv_path_GREP"; then
4504 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4507 ac_cv_path_GREP=$GREP
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4512 $as_echo "$ac_cv_path_GREP" >&6; }
4513 GREP="$ac_cv_path_GREP"
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4517 $as_echo_n "checking for egrep... " >&6; }
4518 if test "${ac_cv_path_EGREP+set}" = set; then :
4519 $as_echo_n "(cached) " >&6
4521 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4522 then ac_cv_path_EGREP="$GREP -E"
4524 if test -z "$EGREP"; then
4525 ac_path_EGREP_found=false
4526 # Loop through the user's path and test for each of PROGNAME-LIST
4527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4528 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4531 test -z "$as_dir" && as_dir=.
4532 for ac_prog in egrep; do
4533 for ac_exec_ext in '' $ac_executable_extensions; do
4534 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4535 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4536 # Check for GNU ac_path_EGREP and select it if it is found.
4537 # Check for GNU $ac_path_EGREP
4538 case `"$ac_path_EGREP" --version 2>&1` in
4540 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4543 $as_echo_n 0123456789 >"conftest.in"
4546 cat "conftest.in" "conftest.in" >"conftest.tmp"
4547 mv "conftest.tmp" "conftest.in"
4548 cp "conftest.in" "conftest.nl"
4549 $as_echo 'EGREP' >> "conftest.nl"
4550 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4551 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4552 as_fn_arith $ac_count + 1 && ac_count=$as_val
4553 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4554 # Best one so far, save it but keep looking for a better one
4555 ac_cv_path_EGREP="$ac_path_EGREP"
4556 ac_path_EGREP_max=$ac_count
4558 # 10*(2^10) chars as input seems more than enough
4559 test $ac_count -gt 10 && break
4561 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4564 $ac_path_EGREP_found && break 3
4569 if test -z "$ac_cv_path_EGREP"; then
4570 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4573 ac_cv_path_EGREP=$EGREP
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4579 $as_echo "$ac_cv_path_EGREP" >&6; }
4580 EGREP="$ac_cv_path_EGREP"
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4584 $as_echo_n "checking for fgrep... " >&6; }
4585 if test "${ac_cv_path_FGREP+set}" = set; then :
4586 $as_echo_n "(cached) " >&6
4588 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4589 then ac_cv_path_FGREP="$GREP -F"
4591 if test -z "$FGREP"; then
4592 ac_path_FGREP_found=false
4593 # Loop through the user's path and test for each of PROGNAME-LIST
4594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4595 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4598 test -z "$as_dir" && as_dir=.
4599 for ac_prog in fgrep; do
4600 for ac_exec_ext in '' $ac_executable_extensions; do
4601 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4602 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4603 # Check for GNU ac_path_FGREP and select it if it is found.
4604 # Check for GNU $ac_path_FGREP
4605 case `"$ac_path_FGREP" --version 2>&1` in
4607 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4610 $as_echo_n 0123456789 >"conftest.in"
4613 cat "conftest.in" "conftest.in" >"conftest.tmp"
4614 mv "conftest.tmp" "conftest.in"
4615 cp "conftest.in" "conftest.nl"
4616 $as_echo 'FGREP' >> "conftest.nl"
4617 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4618 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4619 as_fn_arith $ac_count + 1 && ac_count=$as_val
4620 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4621 # Best one so far, save it but keep looking for a better one
4622 ac_cv_path_FGREP="$ac_path_FGREP"
4623 ac_path_FGREP_max=$ac_count
4625 # 10*(2^10) chars as input seems more than enough
4626 test $ac_count -gt 10 && break
4628 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4631 $ac_path_FGREP_found && break 3
4636 if test -z "$ac_cv_path_FGREP"; then
4637 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4640 ac_cv_path_FGREP=$FGREP
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4646 $as_echo "$ac_cv_path_FGREP" >&6; }
4647 FGREP="$ac_cv_path_FGREP"
4650 test -z "$GREP" && GREP=grep
4668 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4669 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4670 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4673 $as_echo_n "checking how to print strings... " >&6; }
4674 # Test print first, because it will be a builtin if present.
4675 if test "X`print
-r -- -n 2>/dev
/null
`" = X-n && \
4676 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
4678 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
4681 # Use this function as a fallback that always works.
4682 func_fallback_echo ()
4684 eval 'cat <<_LTECHO_EOF
4688 ECHO='func_fallback_echo'
4691 # func_echo_all arg...
4692 # Invoke $ECHO with all args, space-separated.
4699 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4700 $as_echo "printf" >&6; } ;;
4701 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4702 $as_echo "print -r" >&6; } ;;
4703 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4704 $as_echo "cat" >&6; } ;;
4722 # Check whether --with-gnu-ld was given.
4723 if test "${with_gnu_ld+set}" = set; then :
4724 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4730 if test "$GCC" = yes; then
4731 # Check if gcc -print-prog-name=ld gives a path.
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4733 $as_echo_n "checking for ld used by $CC... " >&6; }
4736 # gcc leaves a trailing carriage return which upsets mingw
4737 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
4739 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
4742 # Accept absolute paths.
4744 re_direlt='/[^/][^/]*/\.\./'
4745 # Canonicalize the pathname of ld
4746 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
4747 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4748 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
4750 test -z "$LD" && LD="$ac_prog"
4753 # If it fails, then pretend we aren't using GCC.
4757 # If it is relative, then search for the first ld in PATH.
4761 elif test "$with_gnu_ld" = yes; then
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4763 $as_echo_n "checking for GNU ld... " >&6; }
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4766 $as_echo_n "checking for non-GNU ld... " >&6; }
4768 if test "${lt_cv_path_LD+set}" = set; then :
4769 $as_echo_n "(cached) " >&6
4771 if test -z "$LD"; then
4772 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4773 for ac_dir in $PATH; do
4775 test -z "$ac_dir" && ac_dir=.
4776 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4777 lt_cv_path_LD="$ac_dir/$ac_prog"
4778 # Check to see if the program is GNU ld. I'd rather use --version,
4779 # but apparently some variants of GNU ld only accept -v.
4780 # Break only if it was the GNU/non-GNU ld that we prefer.
4781 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
4782 *GNU* | *'with BFD'*)
4783 test "$with_gnu_ld" != no && break
4786 test "$with_gnu_ld" != yes && break
4793 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4798 if test -n "$LD"; then
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4800 $as_echo "$LD" >&6; }
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4803 $as_echo "no" >&6; }
4805 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4807 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4808 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4809 $as_echo_n "(cached) " >&6
4811 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4812 case `$LD -v 2>&1 </dev
/null
` in
4813 *GNU* | *'with BFD'*)
4814 lt_cv_prog_gnu_ld=yes
4817 lt_cv_prog_gnu_ld=no
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4822 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4823 with_gnu_ld=$lt_cv_prog_gnu_ld
4833 if test -n "$ac_tool_prefix"; then
4834 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4835 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4837 $as_echo_n "checking for $ac_word... " >&6; }
4838 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4839 $as_echo_n "(cached) " >&6
4841 if test -n "$RANLIB"; then
4842 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4848 test -z "$as_dir" && as_dir=.
4849 for ac_exec_ext in '' $ac_executable_extensions; do
4850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4851 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4861 RANLIB=$ac_cv_prog_RANLIB
4862 if test -n "$RANLIB"; then
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4864 $as_echo "$RANLIB" >&6; }
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4867 $as_echo "no" >&6; }
4872 if test -z "$ac_cv_prog_RANLIB"; then
4873 ac_ct_RANLIB=$RANLIB
4874 # Extract the first word of "ranlib", so it can be a program name with args.
4875 set dummy ranlib; ac_word=$2
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4877 $as_echo_n "checking for $ac_word... " >&6; }
4878 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4879 $as_echo_n "(cached) " >&6
4881 if test -n "$ac_ct_RANLIB"; then
4882 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4888 test -z "$as_dir" && as_dir=.
4889 for ac_exec_ext in '' $ac_executable_extensions; do
4890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4891 ac_cv_prog_ac_ct_RANLIB="ranlib"
4892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4901 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4902 if test -n "$ac_ct_RANLIB"; then
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4904 $as_echo "$ac_ct_RANLIB" >&6; }
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4907 $as_echo "no" >&6; }
4910 if test "x$ac_ct_RANLIB" = x; then
4913 case $cross_compiling:$ac_tool_warned in
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4916 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4917 ac_tool_warned=yes ;;
4919 RANLIB=$ac_ct_RANLIB
4922 RANLIB="$ac_cv_prog_RANLIB"
4925 if test -n "$ac_tool_prefix"; then
4926 # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
4927 set dummy ${ac_tool_prefix}objcopy; ac_word=$2
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4929 $as_echo_n "checking for $ac_word... " >&6; }
4930 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
4931 $as_echo_n "(cached) " >&6
4933 if test -n "$OBJCOPY"; then
4934 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
4936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4940 test -z "$as_dir" && as_dir=.
4941 for ac_exec_ext in '' $ac_executable_extensions; do
4942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4943 ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
4944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4953 OBJCOPY=$ac_cv_prog_OBJCOPY
4954 if test -n "$OBJCOPY"; then
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
4956 $as_echo "$OBJCOPY" >&6; }
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4959 $as_echo "no" >&6; }
4964 if test -z "$ac_cv_prog_OBJCOPY"; then
4965 ac_ct_OBJCOPY=$OBJCOPY
4966 # Extract the first word of "objcopy", so it can be a program name with args.
4967 set dummy objcopy; ac_word=$2
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4969 $as_echo_n "checking for $ac_word... " >&6; }
4970 if test "${ac_cv_prog_ac_ct_OBJCOPY+set}" = set; then :
4971 $as_echo_n "(cached) " >&6
4973 if test -n "$ac_ct_OBJCOPY"; then
4974 ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
4976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4980 test -z "$as_dir" && as_dir=.
4981 for ac_exec_ext in '' $ac_executable_extensions; do
4982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4983 ac_cv_prog_ac_ct_OBJCOPY="objcopy"
4984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4993 ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
4994 if test -n "$ac_ct_OBJCOPY"; then
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
4996 $as_echo "$ac_ct_OBJCOPY" >&6; }
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4999 $as_echo "no" >&6; }
5002 if test "x$ac_ct_OBJCOPY" = x; then
5003 OBJCOPY="missing-objcopy"
5005 case $cross_compiling:$ac_tool_warned in
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5008 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5009 ac_tool_warned=yes ;;
5011 OBJCOPY=$ac_ct_OBJCOPY
5014 OBJCOPY="$ac_cv_prog_OBJCOPY"
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5025 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5030 macro_version='2.2.7a'
5031 macro_revision='1.3134'
5045 ltmain="$ac_aux_dir/ltmain.sh"
5047 # Backslashify metacharacters that are still active within
5048 # double-quoted strings.
5049 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5051 # Same as above, but do not quote variable references.
5052 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5054 # Sed substitution to delay expansion of an escaped shell variable in a
5055 # double_quote_subst'ed string.
5056 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5058 # Sed substitution to delay expansion of an escaped single quote.
5059 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5061 # Sed substitution to avoid accidental globbing in evaled expressions
5062 no_glob_subst='s/\*/\\\*/g'
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5065 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5066 if test "${lt_cv_path_NM+set}" = set; then :
5067 $as_echo_n "(cached
) " >&6
5069 if test -n "$NM"; then
5070 # Let the user override the test.
5073 lt_nm_to_check="${ac_tool_prefix}nm
"
5074 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5075 lt_nm_to_check="$lt_nm_to_check nm
"
5077 for lt_tmp_nm in $lt_nm_to_check; do
5078 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5079 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5081 test -z "$ac_dir" && ac_dir=.
5082 tmp_nm="$ac_dir/$lt_tmp_nm"
5083 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5084 # Check to see if the nm accepts a BSD-compat flag.
5085 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5086 # nm: unknown option "B
" ignored
5087 # Tru64's nm complains that /dev/null is an invalid object file
5088 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5089 */dev/null* | *'Invalid file or object type'*)
5090 lt_cv_path_NM="$tmp_nm -B"
5094 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5096 lt_cv_path_NM="$tmp_nm -p"
5100 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5101 continue # so that we can try to find one that supports BSD flags
5110 : ${lt_cv_path_NM=no}
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5114 $as_echo "$lt_cv_path_NM" >&6; }
5115 if test "$lt_cv_path_NM" != "no
"; then
5118 # Didn't find any BSD compatible name lister, look for dumpbin.
5119 if test -n "$DUMPBIN"; then :
5120 # Let the user override the test.
5122 if test -n "$ac_tool_prefix"; then
5123 for ac_prog in dumpbin "link
-dump"
5125 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5126 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5128 $as_echo_n "checking
for $ac_word...
" >&6; }
5129 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5130 $as_echo_n "(cached
) " >&6
5132 if test -n "$DUMPBIN"; then
5133 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5139 test -z "$as_dir" && as_dir=.
5140 for ac_exec_ext in '' $ac_executable_extensions; do
5141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5142 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5143 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5152 DUMPBIN=$ac_cv_prog_DUMPBIN
5153 if test -n "$DUMPBIN"; then
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5155 $as_echo "$DUMPBIN" >&6; }
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5158 $as_echo "no
" >&6; }
5162 test -n "$DUMPBIN" && break
5165 if test -z "$DUMPBIN"; then
5166 ac_ct_DUMPBIN=$DUMPBIN
5167 for ac_prog in dumpbin "link
-dump"
5169 # Extract the first word of "$ac_prog", so it can be a program name with args.
5170 set dummy $ac_prog; ac_word=$2
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5172 $as_echo_n "checking
for $ac_word...
" >&6; }
5173 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5174 $as_echo_n "(cached
) " >&6
5176 if test -n "$ac_ct_DUMPBIN"; then
5177 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5183 test -z "$as_dir" && as_dir=.
5184 for ac_exec_ext in '' $ac_executable_extensions; do
5185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5186 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5187 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5196 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5197 if test -n "$ac_ct_DUMPBIN"; then
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5199 $as_echo "$ac_ct_DUMPBIN" >&6; }
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5202 $as_echo "no
" >&6; }
5206 test -n "$ac_ct_DUMPBIN" && break
5209 if test "x
$ac_ct_DUMPBIN" = x; then
5212 case $cross_compiling:$ac_tool_warned in
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5215 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5216 ac_tool_warned=yes ;;
5218 DUMPBIN=$ac_ct_DUMPBIN
5222 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5224 DUMPBIN="$DUMPBIN -symbols"
5232 if test "$DUMPBIN" != ":"; then
5236 test -z "$NM" && NM=nm
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5244 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5245 if test "${lt_cv_nm_interface+set}" = set; then :
5246 $as_echo_n "(cached
) " >&6
5248 lt_cv_nm_interface="BSD nm
"
5249 echo "int some_variable
= 0;" > conftest.$ac_ext
5250 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5251 (eval "$ac_compile" 2>conftest.err)
5252 cat conftest.err >&5
5253 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5254 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5255 cat conftest.err >&5
5256 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5257 cat conftest.out >&5
5258 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5259 lt_cv_nm_interface="MS dumpbin
"
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5264 $as_echo "$lt_cv_nm_interface" >&6; }
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5267 $as_echo_n "checking whether
ln -s works...
" >&6; }
5269 if test "$LN_S" = "ln -s"; then
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5271 $as_echo "yes" >&6; }
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5274 $as_echo "no
, using
$LN_S" >&6; }
5277 # find the maximum length of command line arguments
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5279 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5280 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5281 $as_echo_n "(cached
) " >&6
5288 # On DJGPP, this test can blow up pretty badly due to problems in libc
5289 # (any single argument exceeding 2000 bytes causes a buffer overrun
5290 # during glob expansion). Even if it were fixed, the result of this
5291 # check would be larger than it should be.
5292 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5296 # Under GNU Hurd, this test is not required because there is
5297 # no limit to the length of command line arguments.
5298 # Libtool will interpret -1 as no limit whatsoever
5299 lt_cv_sys_max_cmd_len=-1;
5302 cygwin* | mingw* | cegcc*)
5303 # On Win9x/ME, this test blows up -- it succeeds, but takes
5304 # about 5 minutes as the teststring grows exponentially.
5305 # Worse, since 9x/ME are not pre-emptively multitasking,
5306 # you end up with a "frozen
" computer, even though with patience
5307 # the test eventually succeeds (with a max line length of 256k).
5308 # Instead, let's just punt: use the minimum linelength reported by
5309 # all of the supported platforms: 8192 (on NT/2K/XP).
5310 lt_cv_sys_max_cmd_len=8192;
5314 # On MiNT this can take a long time and run out of memory.
5315 lt_cv_sys_max_cmd_len=8192;
5319 # On AmigaOS with pdksh, this test takes hours, literally.
5320 # So we just punt and use a minimum line length of 8192.
5321 lt_cv_sys_max_cmd_len=8192;
5324 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5325 # This has been around since 386BSD, at least. Likely further.
5326 if test -x /sbin/sysctl; then
5327 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5328 elif test -x /usr/sbin/sysctl; then
5329 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5331 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5333 # And add a safety zone
5334 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5335 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5339 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5340 lt_cv_sys_max_cmd_len=196608
5344 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5345 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5346 # nice to cause kernel panics so lets avoid the loop below.
5347 # First set a reasonable default.
5348 lt_cv_sys_max_cmd_len=16384
5350 if test -x /sbin/sysconfig; then
5351 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5352 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5357 lt_cv_sys_max_cmd_len=102400
5359 sysv5* | sco5v6* | sysv4.2uw2*)
5360 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5361 if test -n "$kargmax"; then
5362 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5364 lt_cv_sys_max_cmd_len=32768
5368 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5369 if test -n "$lt_cv_sys_max_cmd_len"; then
5370 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5371 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5373 # Make teststring a little bigger before we do anything with it.
5374 # a 1K string should be a reasonable start.
5375 for i in 1 2 3 4 5 6 7 8 ; do
5376 teststring=$teststring$teststring
5378 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5379 # If test is not a shell built-in, we'll probably end up computing a
5380 # maximum length that is only half of the actual maximum length, but
5382 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5383 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5384 test $i != 17 # 1/2 MB should be enough
5387 teststring=$teststring$teststring
5389 # Only check the string length outside the loop.
5390 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5392 # Add a significant safety factor because C++ compilers can tack on
5393 # massive amounts of additional arguments before passing them to the
5394 # linker. It appears as though 1/2 is a usable value.
5395 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5402 if test -n $lt_cv_sys_max_cmd_len ; then
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5404 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5407 $as_echo "none
" >&6; }
5409 max_cmd_len=$lt_cv_sys_max_cmd_len
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5421 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5422 # Try some XSI features
5425 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5427 && eval 'test $(( 1 + 1 )) -eq 2 \
5428 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5431 $as_echo "$xsi_shell" >&6; }
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5435 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5437 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
5439 && lt_shell_append
=yes
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5441 $as_echo "$lt_shell_append" >&6; }
5444 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5454 # test EBCDIC or ASCII
5455 case `echo X|tr X '\101'` in
5456 A
) # ASCII based system
5457 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5458 lt_SP2NL
='tr \040 \012'
5459 lt_NL2SP
='tr \015\012 \040\040'
5461 *) # EBCDIC based system
5462 lt_SP2NL
='tr \100 \n'
5463 lt_NL2SP
='tr \r\n \100\100'
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5476 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5477 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5478 $as_echo_n "(cached) " >&6
5480 lt_cv_ld_reload_flag
='-r'
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5483 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5484 reload_flag
=$lt_cv_ld_reload_flag
5485 case $reload_flag in
5487 *) reload_flag
=" $reload_flag" ;;
5489 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5492 if test "$GCC" = yes; then
5493 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5495 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5508 if test -n "$ac_tool_prefix"; then
5509 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5510 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5512 $as_echo_n "checking for $ac_word... " >&6; }
5513 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5514 $as_echo_n "(cached) " >&6
5516 if test -n "$OBJDUMP"; then
5517 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5523 test -z "$as_dir" && as_dir
=.
5524 for ac_exec_ext
in '' $ac_executable_extensions; do
5525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5526 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5536 OBJDUMP
=$ac_cv_prog_OBJDUMP
5537 if test -n "$OBJDUMP"; then
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5539 $as_echo "$OBJDUMP" >&6; }
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5542 $as_echo "no" >&6; }
5547 if test -z "$ac_cv_prog_OBJDUMP"; then
5548 ac_ct_OBJDUMP
=$OBJDUMP
5549 # Extract the first word of "objdump", so it can be a program name with args.
5550 set dummy objdump
; ac_word
=$2
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5552 $as_echo_n "checking for $ac_word... " >&6; }
5553 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5554 $as_echo_n "(cached) " >&6
5556 if test -n "$ac_ct_OBJDUMP"; then
5557 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5563 test -z "$as_dir" && as_dir
=.
5564 for ac_exec_ext
in '' $ac_executable_extensions; do
5565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5566 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5576 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5577 if test -n "$ac_ct_OBJDUMP"; then
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5579 $as_echo "$ac_ct_OBJDUMP" >&6; }
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5582 $as_echo "no" >&6; }
5585 if test "x$ac_ct_OBJDUMP" = x
; then
5588 case $cross_compiling:$ac_tool_warned in
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5591 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5592 ac_tool_warned
=yes ;;
5594 OBJDUMP
=$ac_ct_OBJDUMP
5597 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5600 test -z "$OBJDUMP" && OBJDUMP
=objdump
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5611 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5612 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5613 $as_echo_n "(cached) " >&6
5615 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5616 lt_cv_file_magic_test_file
=
5617 lt_cv_deplibs_check_method
='unknown'
5618 # Need to set the preceding variable on all platforms that support
5619 # interlibrary dependencies.
5620 # 'none' -- dependencies not supported.
5621 # `unknown' -- same as none, but documents that we really don't know.
5622 # 'pass_all' -- all dependencies passed with no checks.
5623 # 'test_compile' -- check by making test program.
5624 # 'file_magic [[regex]]' -- check by looking for files in library path
5625 # which responds to the $file_magic_cmd with a given extended regex.
5626 # If you have `file' or equivalent on your system and you're not sure
5627 # whether `pass_all' will *always* work, you probably want this one.
5631 lt_cv_deplibs_check_method
=pass_all
5635 lt_cv_deplibs_check_method
=pass_all
5639 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5640 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5641 lt_cv_file_magic_test_file
=/shlib
/libc.so
5645 # func_win32_libid is a shell function defined in ltmain.sh
5646 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5647 lt_cv_file_magic_cmd
='func_win32_libid'
5651 # Base MSYS/MinGW do not provide the 'file' command needed by
5652 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5653 # unless we find 'file', for example because we are cross-compiling.
5654 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5655 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
5656 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5657 lt_cv_file_magic_cmd
='func_win32_libid'
5659 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5660 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5665 # use the weaker test based on 'objdump'. See mingw*.
5666 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5667 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5670 darwin
* | rhapsody
*)
5671 lt_cv_deplibs_check_method
=pass_all
5674 freebsd
* | dragonfly
*)
5675 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5678 # Not sure whether the presence of OpenBSD here was a mistake.
5679 # Let's accept both of them until this is cleared up.
5680 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5681 lt_cv_file_magic_cmd
=/usr
/bin
/file
5682 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5686 lt_cv_deplibs_check_method
=pass_all
5691 lt_cv_deplibs_check_method
=pass_all
5695 lt_cv_deplibs_check_method
=pass_all
5698 hpux10.20
* | hpux11
*)
5699 lt_cv_file_magic_cmd
=/usr
/bin
/file
5702 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5703 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5706 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]'
5707 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
5710 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5711 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5717 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5718 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5721 irix5
* | irix6
* | nonstopux
*)
5723 *-32|
*"-32 ") libmagic
=32-bit;;
5724 *-n32|
*"-n32 ") libmagic
=N32
;;
5725 *-64|
*"-64 ") libmagic
=64-bit;;
5726 *) libmagic
=never-match
;;
5728 lt_cv_deplibs_check_method
=pass_all
5731 # This must be Linux ELF.
5732 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
5733 lt_cv_deplibs_check_method
=pass_all
5737 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5738 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5740 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5745 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5746 lt_cv_file_magic_cmd
=/usr
/bin
/file
5747 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5751 lt_cv_deplibs_check_method
=pass_all
5755 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5756 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5758 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5762 osf3
* | osf4
* | osf5
*)
5763 lt_cv_deplibs_check_method
=pass_all
5767 lt_cv_deplibs_check_method
=pass_all
5771 lt_cv_deplibs_check_method
=pass_all
5774 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5775 lt_cv_deplibs_check_method
=pass_all
5779 case $host_vendor in
5781 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]'
5782 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5785 lt_cv_deplibs_check_method
=pass_all
5788 lt_cv_file_magic_cmd
='/bin/file'
5789 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5792 lt_cv_file_magic_cmd
='/bin/file'
5793 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5794 lt_cv_file_magic_test_file
=/lib
/libc.so
5797 lt_cv_deplibs_check_method
=pass_all
5800 lt_cv_deplibs_check_method
=pass_all
5806 lt_cv_deplibs_check_method
=pass_all
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5812 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5813 file_magic_cmd
=$lt_cv_file_magic_cmd
5814 deplibs_check_method
=$lt_cv_deplibs_check_method
5815 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5828 if test -n "$ac_tool_prefix"; then
5829 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5830 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5832 $as_echo_n "checking for $ac_word... " >&6; }
5833 if test "${ac_cv_prog_AR+set}" = set; then :
5834 $as_echo_n "(cached) " >&6
5836 if test -n "$AR"; then
5837 ac_cv_prog_AR
="$AR" # Let the user override the test.
5839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5843 test -z "$as_dir" && as_dir
=.
5844 for ac_exec_ext
in '' $ac_executable_extensions; do
5845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5846 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5857 if test -n "$AR"; then
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5859 $as_echo "$AR" >&6; }
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5862 $as_echo "no" >&6; }
5867 if test -z "$ac_cv_prog_AR"; then
5869 # Extract the first word of "ar", so it can be a program name with args.
5870 set dummy
ar; ac_word
=$2
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5872 $as_echo_n "checking for $ac_word... " >&6; }
5873 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5874 $as_echo_n "(cached) " >&6
5876 if test -n "$ac_ct_AR"; then
5877 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5883 test -z "$as_dir" && as_dir
=.
5884 for ac_exec_ext
in '' $ac_executable_extensions; do
5885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5886 ac_cv_prog_ac_ct_AR
="ar"
5887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5896 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5897 if test -n "$ac_ct_AR"; then
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5899 $as_echo "$ac_ct_AR" >&6; }
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5902 $as_echo "no" >&6; }
5905 if test "x$ac_ct_AR" = x
; then
5908 case $cross_compiling:$ac_tool_warned in
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5912 ac_tool_warned
=yes ;;
5920 test -z "$AR" && AR
=ar
5921 test -z "$AR_FLAGS" && AR_FLAGS
=cru
5933 if test -n "$ac_tool_prefix"; then
5934 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5935 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5937 $as_echo_n "checking for $ac_word... " >&6; }
5938 if test "${ac_cv_prog_STRIP+set}" = set; then :
5939 $as_echo_n "(cached) " >&6
5941 if test -n "$STRIP"; then
5942 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5948 test -z "$as_dir" && as_dir
=.
5949 for ac_exec_ext
in '' $ac_executable_extensions; do
5950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5951 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5961 STRIP
=$ac_cv_prog_STRIP
5962 if test -n "$STRIP"; then
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5964 $as_echo "$STRIP" >&6; }
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5967 $as_echo "no" >&6; }
5972 if test -z "$ac_cv_prog_STRIP"; then
5974 # Extract the first word of "strip", so it can be a program name with args.
5975 set dummy strip
; ac_word
=$2
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5977 $as_echo_n "checking for $ac_word... " >&6; }
5978 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5979 $as_echo_n "(cached) " >&6
5981 if test -n "$ac_ct_STRIP"; then
5982 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5988 test -z "$as_dir" && as_dir
=.
5989 for ac_exec_ext
in '' $ac_executable_extensions; do
5990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5991 ac_cv_prog_ac_ct_STRIP
="strip"
5992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6001 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6002 if test -n "$ac_ct_STRIP"; then
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6004 $as_echo "$ac_ct_STRIP" >&6; }
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6007 $as_echo "no" >&6; }
6010 if test "x$ac_ct_STRIP" = x
; then
6013 case $cross_compiling:$ac_tool_warned in
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6016 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6017 ac_tool_warned
=yes ;;
6022 STRIP
="$ac_cv_prog_STRIP"
6025 test -z "$STRIP" && STRIP
=:
6032 if test -n "$ac_tool_prefix"; then
6033 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6034 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6036 $as_echo_n "checking for $ac_word... " >&6; }
6037 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6038 $as_echo_n "(cached) " >&6
6040 if test -n "$RANLIB"; then
6041 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6047 test -z "$as_dir" && as_dir
=.
6048 for ac_exec_ext
in '' $ac_executable_extensions; do
6049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6050 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6060 RANLIB
=$ac_cv_prog_RANLIB
6061 if test -n "$RANLIB"; then
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6063 $as_echo "$RANLIB" >&6; }
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6066 $as_echo "no" >&6; }
6071 if test -z "$ac_cv_prog_RANLIB"; then
6072 ac_ct_RANLIB
=$RANLIB
6073 # Extract the first word of "ranlib", so it can be a program name with args.
6074 set dummy ranlib
; ac_word
=$2
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6076 $as_echo_n "checking for $ac_word... " >&6; }
6077 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6078 $as_echo_n "(cached) " >&6
6080 if test -n "$ac_ct_RANLIB"; then
6081 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6087 test -z "$as_dir" && as_dir
=.
6088 for ac_exec_ext
in '' $ac_executable_extensions; do
6089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6090 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6100 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6101 if test -n "$ac_ct_RANLIB"; then
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6103 $as_echo "$ac_ct_RANLIB" >&6; }
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6106 $as_echo "no" >&6; }
6109 if test "x$ac_ct_RANLIB" = x
; then
6112 case $cross_compiling:$ac_tool_warned in
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6116 ac_tool_warned
=yes ;;
6118 RANLIB
=$ac_ct_RANLIB
6121 RANLIB
="$ac_cv_prog_RANLIB"
6124 test -z "$RANLIB" && RANLIB
=:
6131 # Determine commands to create old-style static archives.
6132 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6133 old_postinstall_cmds
='chmod 644 $oldlib'
6134 old_postuninstall_cmds
=
6136 if test -n "$RANLIB"; then
6139 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6142 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6145 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6150 lock_old_archive_extraction
=yes ;;
6152 lock_old_archive_extraction
=no
;;
6193 # If no C compiler was specified, use CC.
6196 # If no C compiler flags were specified, use CFLAGS.
6197 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6199 # Allow CC to be a program name with arguments.
6203 # Check for command to grab the raw symbol name followed by C symbol from nm.
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6205 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6206 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6207 $as_echo_n "(cached) " >&6
6210 # These are sane defaults that work on at least a few old systems.
6211 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6213 # Character class describing NM global symbol codes.
6214 symcode
='[BCDEGRST]'
6216 # Regexp to match symbols that can be accessed directly from C.
6217 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6219 # Define system-specific variables.
6224 cygwin
* | mingw
* | pw32
* | cegcc
*)
6225 symcode
='[ABCDGISTW]'
6228 if test "$host_cpu" = ia64
; then
6229 symcode
='[ABCDEGRST]'
6233 symcode
='[BCDEGRST]'
6236 symcode
='[BCDEGQRST]'
6247 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6255 # If we're using GNU nm, then use its standard symbol codes.
6256 case `$NM -V 2>&1` in
6257 *GNU
* |
*'with BFD'*)
6258 symcode
='[ABCDGIRSTW]' ;;
6261 # Transform an extracted symbol line into a proper C declaration.
6262 # Some systems (esp. on ia64) link data and code symbols differently,
6263 # so use this general approach.
6264 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6266 # Transform an extracted symbol line into symbol name and symbol address
6267 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6268 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'"
6270 # Handle CRLF in mingw tool chain
6274 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6278 # Try without a prefix underscore, then with it.
6279 for ac_symprfx
in "" "_"; do
6281 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6282 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6284 # Write the raw and C identifiers.
6285 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6286 # Fake it for dumpbin and say T for any non-static function
6287 # and D for any global variable.
6288 # Also find C++ and __fastcall symbols from MSVC++,
6289 # which start with @ or ?.
6290 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6291 " {last_section=section; section=\$ 3};"\
6292 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6293 " \$ 0!~/External *\|/{next};"\
6294 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6295 " {if(hide[section]) next};"\
6296 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6297 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6298 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6299 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6300 " ' prfx=^$ac_symprfx"
6302 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6305 # Check to see that the pipe works correctly.
6309 cat > conftest.
$ac_ext <<_LT_EOF
6314 void nm_test_func(void);
6315 void nm_test_func(void){}
6319 int main(){nm_test_var='a';nm_test_func();return(0);}
6322 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6323 (eval $ac_compile) 2>&5
6325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6326 test $ac_status = 0; }; then
6327 # Now try to grab the symbols.
6329 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6330 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6333 test $ac_status = 0; } && test -s "$nlist"; then
6334 # Try sorting and uniquifying the output.
6335 if sort "$nlist" |
uniq > "$nlist"T
; then
6336 mv -f "$nlist"T
"$nlist"
6341 # Make sure that we snagged all the symbols we need.
6342 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6343 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6344 cat <<_LT_EOF > conftest.$ac_ext
6350 # Now generate the symbol file.
6351 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6353 cat <<_LT_EOF >> conftest.$ac_ext
6355 /* The mapping between symbol names and symbols. */
6360 lt__PROGRAM__LTX_preloaded_symbols[] =
6362 { "@PROGRAM@", (void *) 0 },
6364 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
6365 cat <<\_LT_EOF
>> conftest.
$ac_ext
6369 /* This works around a problem
in FreeBSD linker
*/
6370 #ifdef FREEBSD_WORKAROUND
6371 static const void
*lt_preloaded_setup
() {
6372 return lt__PROGRAM__LTX_preloaded_symbols
;
6380 # Now try linking the two files.
6381 mv conftest.
$ac_objext conftstm.
$ac_objext
6382 lt_save_LIBS
="$LIBS"
6383 lt_save_CFLAGS
="$CFLAGS"
6384 LIBS
="conftstm.$ac_objext"
6385 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6386 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6387 (eval $ac_link) 2>&5
6389 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6390 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6393 LIBS
="$lt_save_LIBS"
6394 CFLAGS
="$lt_save_CFLAGS"
6396 echo "cannot find nm_test_func in $nlist" >&5
6399 echo "cannot find nm_test_var in $nlist" >&5
6402 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6405 echo "$progname: failed program was:" >&5
6406 cat conftest.
$ac_ext >&5
6408 rm -rf conftest
* conftst
*
6410 # Do not use the global_symbol_pipe unless it works.
6411 if test "$pipe_works" = yes; then
6414 lt_cv_sys_global_symbol_pipe
=
6420 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6421 lt_cv_sys_global_symbol_to_cdecl
=
6423 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6425 $as_echo "failed" >&6; }
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6428 $as_echo "ok" >&6; }
6453 # Check whether --enable-libtool-lock was given.
6454 if test "${enable_libtool_lock+set}" = set; then :
6455 enableval
=$enable_libtool_lock;
6458 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6460 # Some flags need to be propagated to the compiler or linker for good
6464 # Find out which ABI we are using.
6465 echo 'int i;' > conftest.
$ac_ext
6466 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6467 (eval $ac_compile) 2>&5
6469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6470 test $ac_status = 0; }; then
6471 case `/usr/bin/file conftest.$ac_objext` in
6483 # Find out which ABI we are using.
6484 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6485 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6486 (eval $ac_compile) 2>&5
6488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6489 test $ac_status = 0; }; then
6490 if test "$lt_cv_prog_gnu_ld" = yes; then
6491 case `/usr/bin/file conftest.$ac_objext` in
6493 LD
="${LD-ld} -melf32bsmip"
6496 LD
="${LD-ld} -melf32bmipn32"
6499 LD
="${LD-ld} -melf64bmip"
6503 case `/usr/bin/file conftest.$ac_objext` in
6519 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
6520 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6521 # Find out which ABI we are using.
6522 echo 'int i;' > conftest.
$ac_ext
6523 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6524 (eval $ac_compile) 2>&5
6526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6527 test $ac_status = 0; }; then
6528 case `/usr/bin/file conftest.o` in
6531 x86_64-
*kfreebsd
*-gnu)
6532 LD
="${LD-ld} -m elf_i386_fbsd"
6535 case `/usr/bin/file conftest.o` in
6537 LD
="${LD-ld} -m elf32_x86_64"
6540 LD
="${LD-ld} -m elf_i386"
6544 powerpc64le-
*linux
*)
6545 LD
="${LD-ld} -m elf32lppclinux"
6548 LD
="${LD-ld} -m elf32ppclinux"
6551 LD
="${LD-ld} -m elf_s390"
6554 LD
="${LD-ld} -m elf32_sparc"
6560 x86_64-
*kfreebsd
*-gnu)
6561 LD
="${LD-ld} -m elf_x86_64_fbsd"
6564 LD
="${LD-ld} -m elf_x86_64"
6567 LD
="${LD-ld} -m elf64lppc"
6570 LD
="${LD-ld} -m elf64ppc"
6572 s390
*-*linux
*|s390
*-*tpf
*)
6573 LD
="${LD-ld} -m elf64_s390"
6576 LD
="${LD-ld} -m elf64_sparc"
6586 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6587 SAVE_CFLAGS
="$CFLAGS"
6588 CFLAGS
="$CFLAGS -belf"
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6590 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6591 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6592 $as_echo_n "(cached) " >&6
6595 ac_cpp
='$CPP $CPPFLAGS'
6596 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6597 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6598 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6601 /* end confdefs.h. */
6611 if ac_fn_c_try_link
"$LINENO"; then :
6612 lt_cv_cc_needs_belf
=yes
6614 lt_cv_cc_needs_belf
=no
6616 rm -f core conftest.err conftest.
$ac_objext \
6617 conftest
$ac_exeext conftest.
$ac_ext
6619 ac_cpp
='$CPP $CPPFLAGS'
6620 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6621 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6622 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6626 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6627 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6628 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6629 CFLAGS
="$SAVE_CFLAGS"
6633 # Find out which ABI we are using.
6634 echo 'int i;' > conftest.
$ac_ext
6635 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6636 (eval $ac_compile) 2>&5
6638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6639 test $ac_status = 0; }; then
6640 case `/usr/bin/file conftest.o` in
6642 case $lt_cv_prog_gnu_ld in
6643 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
6645 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
6657 need_locks
="$enable_libtool_lock"
6661 rhapsody
* | darwin
*)
6662 if test -n "$ac_tool_prefix"; then
6663 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6664 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6666 $as_echo_n "checking for $ac_word... " >&6; }
6667 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6668 $as_echo_n "(cached) " >&6
6670 if test -n "$DSYMUTIL"; then
6671 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6677 test -z "$as_dir" && as_dir
=.
6678 for ac_exec_ext
in '' $ac_executable_extensions; do
6679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6680 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6690 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6691 if test -n "$DSYMUTIL"; then
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6693 $as_echo "$DSYMUTIL" >&6; }
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6696 $as_echo "no" >&6; }
6701 if test -z "$ac_cv_prog_DSYMUTIL"; then
6702 ac_ct_DSYMUTIL
=$DSYMUTIL
6703 # Extract the first word of "dsymutil", so it can be a program name with args.
6704 set dummy dsymutil
; ac_word
=$2
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6706 $as_echo_n "checking for $ac_word... " >&6; }
6707 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6708 $as_echo_n "(cached) " >&6
6710 if test -n "$ac_ct_DSYMUTIL"; then
6711 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
6713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6717 test -z "$as_dir" && as_dir
=.
6718 for ac_exec_ext
in '' $ac_executable_extensions; do
6719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6720 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
6721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6730 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
6731 if test -n "$ac_ct_DSYMUTIL"; then
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6733 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6736 $as_echo "no" >&6; }
6739 if test "x$ac_ct_DSYMUTIL" = x
; then
6742 case $cross_compiling:$ac_tool_warned in
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6745 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6746 ac_tool_warned
=yes ;;
6748 DSYMUTIL
=$ac_ct_DSYMUTIL
6751 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
6754 if test -n "$ac_tool_prefix"; then
6755 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6756 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6758 $as_echo_n "checking for $ac_word... " >&6; }
6759 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6760 $as_echo_n "(cached) " >&6
6762 if test -n "$NMEDIT"; then
6763 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
6765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6769 test -z "$as_dir" && as_dir
=.
6770 for ac_exec_ext
in '' $ac_executable_extensions; do
6771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6772 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
6773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6782 NMEDIT
=$ac_cv_prog_NMEDIT
6783 if test -n "$NMEDIT"; then
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6785 $as_echo "$NMEDIT" >&6; }
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6788 $as_echo "no" >&6; }
6793 if test -z "$ac_cv_prog_NMEDIT"; then
6794 ac_ct_NMEDIT
=$NMEDIT
6795 # Extract the first word of "nmedit", so it can be a program name with args.
6796 set dummy nmedit
; ac_word
=$2
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6798 $as_echo_n "checking for $ac_word... " >&6; }
6799 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6800 $as_echo_n "(cached) " >&6
6802 if test -n "$ac_ct_NMEDIT"; then
6803 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
6805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6809 test -z "$as_dir" && as_dir
=.
6810 for ac_exec_ext
in '' $ac_executable_extensions; do
6811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6812 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
6813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6822 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
6823 if test -n "$ac_ct_NMEDIT"; then
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6825 $as_echo "$ac_ct_NMEDIT" >&6; }
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6828 $as_echo "no" >&6; }
6831 if test "x$ac_ct_NMEDIT" = x
; then
6834 case $cross_compiling:$ac_tool_warned in
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6837 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6838 ac_tool_warned
=yes ;;
6840 NMEDIT
=$ac_ct_NMEDIT
6843 NMEDIT
="$ac_cv_prog_NMEDIT"
6846 if test -n "$ac_tool_prefix"; then
6847 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6848 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6850 $as_echo_n "checking for $ac_word... " >&6; }
6851 if test "${ac_cv_prog_LIPO+set}" = set; then :
6852 $as_echo_n "(cached) " >&6
6854 if test -n "$LIPO"; then
6855 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
6857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6861 test -z "$as_dir" && as_dir
=.
6862 for ac_exec_ext
in '' $ac_executable_extensions; do
6863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6864 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
6865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6874 LIPO
=$ac_cv_prog_LIPO
6875 if test -n "$LIPO"; then
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6877 $as_echo "$LIPO" >&6; }
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6880 $as_echo "no" >&6; }
6885 if test -z "$ac_cv_prog_LIPO"; then
6887 # Extract the first word of "lipo", so it can be a program name with args.
6888 set dummy lipo
; ac_word
=$2
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6890 $as_echo_n "checking for $ac_word... " >&6; }
6891 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6892 $as_echo_n "(cached) " >&6
6894 if test -n "$ac_ct_LIPO"; then
6895 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
6897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6901 test -z "$as_dir" && as_dir
=.
6902 for ac_exec_ext
in '' $ac_executable_extensions; do
6903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6904 ac_cv_prog_ac_ct_LIPO
="lipo"
6905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6914 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
6915 if test -n "$ac_ct_LIPO"; then
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6917 $as_echo "$ac_ct_LIPO" >&6; }
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6920 $as_echo "no" >&6; }
6923 if test "x$ac_ct_LIPO" = x
; then
6926 case $cross_compiling:$ac_tool_warned in
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6929 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6930 ac_tool_warned
=yes ;;
6935 LIPO
="$ac_cv_prog_LIPO"
6938 if test -n "$ac_tool_prefix"; then
6939 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6940 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6942 $as_echo_n "checking for $ac_word... " >&6; }
6943 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6944 $as_echo_n "(cached) " >&6
6946 if test -n "$OTOOL"; then
6947 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
6949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6953 test -z "$as_dir" && as_dir
=.
6954 for ac_exec_ext
in '' $ac_executable_extensions; do
6955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6956 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
6957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6966 OTOOL
=$ac_cv_prog_OTOOL
6967 if test -n "$OTOOL"; then
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6969 $as_echo "$OTOOL" >&6; }
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6972 $as_echo "no" >&6; }
6977 if test -z "$ac_cv_prog_OTOOL"; then
6979 # Extract the first word of "otool", so it can be a program name with args.
6980 set dummy otool
; ac_word
=$2
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6982 $as_echo_n "checking for $ac_word... " >&6; }
6983 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6984 $as_echo_n "(cached) " >&6
6986 if test -n "$ac_ct_OTOOL"; then
6987 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
6989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6993 test -z "$as_dir" && as_dir
=.
6994 for ac_exec_ext
in '' $ac_executable_extensions; do
6995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6996 ac_cv_prog_ac_ct_OTOOL
="otool"
6997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7006 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7007 if test -n "$ac_ct_OTOOL"; then
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7009 $as_echo "$ac_ct_OTOOL" >&6; }
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7012 $as_echo "no" >&6; }
7015 if test "x$ac_ct_OTOOL" = x
; then
7018 case $cross_compiling:$ac_tool_warned in
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7021 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7022 ac_tool_warned
=yes ;;
7027 OTOOL
="$ac_cv_prog_OTOOL"
7030 if test -n "$ac_tool_prefix"; then
7031 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7032 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7034 $as_echo_n "checking for $ac_word... " >&6; }
7035 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7036 $as_echo_n "(cached) " >&6
7038 if test -n "$OTOOL64"; then
7039 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7045 test -z "$as_dir" && as_dir
=.
7046 for ac_exec_ext
in '' $ac_executable_extensions; do
7047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7048 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7058 OTOOL64
=$ac_cv_prog_OTOOL64
7059 if test -n "$OTOOL64"; then
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7061 $as_echo "$OTOOL64" >&6; }
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7064 $as_echo "no" >&6; }
7069 if test -z "$ac_cv_prog_OTOOL64"; then
7070 ac_ct_OTOOL64
=$OTOOL64
7071 # Extract the first word of "otool64", so it can be a program name with args.
7072 set dummy otool64
; ac_word
=$2
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7074 $as_echo_n "checking for $ac_word... " >&6; }
7075 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7076 $as_echo_n "(cached) " >&6
7078 if test -n "$ac_ct_OTOOL64"; then
7079 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7085 test -z "$as_dir" && as_dir
=.
7086 for ac_exec_ext
in '' $ac_executable_extensions; do
7087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7088 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7098 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7099 if test -n "$ac_ct_OTOOL64"; then
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7101 $as_echo "$ac_ct_OTOOL64" >&6; }
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7104 $as_echo "no" >&6; }
7107 if test "x$ac_ct_OTOOL64" = x
; then
7110 case $cross_compiling:$ac_tool_warned in
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7113 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7114 ac_tool_warned
=yes ;;
7116 OTOOL64
=$ac_ct_OTOOL64
7119 OTOOL64
="$ac_cv_prog_OTOOL64"
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7149 $as_echo_n "checking for -single_module linker flag... " >&6; }
7150 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7151 $as_echo_n "(cached) " >&6
7153 lt_cv_apple_cc_single_mod
=no
7154 if test -z "${LT_MULTI_MODULE}"; then
7155 # By default we will add the -single_module flag. You can override
7156 # by either setting the environment variable LT_MULTI_MODULE
7157 # non-empty at configure time, or by adding -multi_module to the
7159 rm -rf libconftest.dylib
*
7160 echo "int foo(void){return 1;}" > conftest.c
7161 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7162 -dynamiclib -Wl,-single_module conftest.c" >&5
7163 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7164 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7166 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
7167 lt_cv_apple_cc_single_mod
=yes
7169 cat conftest.err
>&5
7171 rm -rf libconftest.dylib
*
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7176 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7178 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7179 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7180 $as_echo_n "(cached) " >&6
7182 lt_cv_ld_exported_symbols_list
=no
7183 save_LDFLAGS
=$LDFLAGS
7184 echo "_main" > conftest.sym
7185 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7187 /* end confdefs.h. */
7197 if ac_fn_c_try_link
"$LINENO"; then :
7198 lt_cv_ld_exported_symbols_list
=yes
7200 lt_cv_ld_exported_symbols_list
=no
7202 rm -f core conftest.err conftest.
$ac_objext \
7203 conftest
$ac_exeext conftest.
$ac_ext
7204 LDFLAGS
="$save_LDFLAGS"
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7208 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7210 $as_echo_n "checking for -force_load linker flag... " >&6; }
7211 if test "${lt_cv_ld_force_load+set}" = set; then :
7212 $as_echo_n "(cached) " >&6
7214 lt_cv_ld_force_load
=no
7215 cat > conftest.c
<< _LT_EOF
7216 int forced_loaded() { return 2;}
7218 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7219 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7220 echo "$AR cru libconftest.a conftest.o" >&5
7221 $AR cru libconftest.a conftest.o
2>&5
7222 cat > conftest.c
<< _LT_EOF
7223 int main() { return 0;}
7225 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7226 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7228 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
7229 lt_cv_ld_force_load
=yes
7231 cat conftest.err
>&5
7233 rm -f conftest.err libconftest.a conftest conftest.c
7234 rm -rf conftest.dSYM
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7238 $as_echo "$lt_cv_ld_force_load" >&6; }
7240 rhapsody
* | darwin1.
[012])
7241 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7243 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7244 darwin
*) # darwin 5.x on
7245 # if running on 10.5 or later, the deployment target defaults
7246 # to the OS version, if on x86, and 10.4, the deployment
7247 # target defaults to 10.4. Don't you love it?
7248 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7249 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
7250 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7252 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7254 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7258 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7259 _lt_dar_single_mod
='$single_module'
7261 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7262 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7264 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7266 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7267 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7275 ac_cpp
='$CPP $CPPFLAGS'
7276 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7277 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7278 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7280 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7281 # On Suns, sometimes $CPP names a directory.
7282 if test -n "$CPP" && test -d "$CPP"; then
7285 if test -z "$CPP"; then
7286 if test "${ac_cv_prog_CPP+set}" = set; then :
7287 $as_echo_n "(cached) " >&6
7289 # Double quotes because CPP needs to be expanded
7290 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7293 for ac_c_preproc_warn_flag
in '' yes
7295 # Use a header file that comes with gcc, so configuring glibc
7296 # with a fresh cross-compiler works.
7297 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7298 # <limits.h> exists even on freestanding compilers.
7299 # On the NeXT, cc -E runs the code through the compiler's parser,
7300 # not just through cpp. "Syntax error" is here to catch this case.
7301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7302 /* end confdefs.h. */
7304 # include <limits.h>
7306 # include <assert.h>
7310 if ac_fn_c_try_cpp
"$LINENO"; then :
7313 # Broken: fails on valid input.
7316 rm -f conftest.err conftest.
$ac_ext
7318 # OK, works on sane cases. Now check whether nonexistent headers
7319 # can be detected and how.
7320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7321 /* end confdefs.h. */
7322 #include <ac_nonexistent.h>
7324 if ac_fn_c_try_cpp
"$LINENO"; then :
7325 # Broken: success on invalid input.
7328 # Passes both tests.
7332 rm -f conftest.err conftest.
$ac_ext
7335 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7336 rm -f conftest.err conftest.
$ac_ext
7337 if $ac_preproc_ok; then :
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7350 $as_echo "$CPP" >&6; }
7352 for ac_c_preproc_warn_flag
in '' yes
7354 # Use a header file that comes with gcc, so configuring glibc
7355 # with a fresh cross-compiler works.
7356 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7357 # <limits.h> exists even on freestanding compilers.
7358 # On the NeXT, cc -E runs the code through the compiler's parser,
7359 # not just through cpp. "Syntax error" is here to catch this case.
7360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7361 /* end confdefs.h. */
7363 # include <limits.h>
7365 # include <assert.h>
7369 if ac_fn_c_try_cpp
"$LINENO"; then :
7372 # Broken: fails on valid input.
7375 rm -f conftest.err conftest.
$ac_ext
7377 # OK, works on sane cases. Now check whether nonexistent headers
7378 # can be detected and how.
7379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7380 /* end confdefs.h. */
7381 #include <ac_nonexistent.h>
7383 if ac_fn_c_try_cpp
"$LINENO"; then :
7384 # Broken: success on invalid input.
7387 # Passes both tests.
7391 rm -f conftest.err conftest.
$ac_ext
7394 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7395 rm -f conftest.err conftest.
$ac_ext
7396 if $ac_preproc_ok; then :
7399 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7401 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
7402 See \`config.log' for more details." "$LINENO" 5; }
7406 ac_cpp
='$CPP $CPPFLAGS'
7407 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7408 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7409 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7413 $as_echo_n "checking for ANSI C header files... " >&6; }
7414 if test "${ac_cv_header_stdc+set}" = set; then :
7415 $as_echo_n "(cached) " >&6
7417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7418 /* end confdefs.h. */
7432 if ac_fn_c_try_compile
"$LINENO"; then :
7433 ac_cv_header_stdc
=yes
7435 ac_cv_header_stdc
=no
7437 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7439 if test $ac_cv_header_stdc = yes; then
7440 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7442 /* end confdefs.h. */
7446 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7447 $EGREP "memchr" >/dev
/null
2>&1; then :
7450 ac_cv_header_stdc
=no
7456 if test $ac_cv_header_stdc = yes; then
7457 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7459 /* end confdefs.h. */
7463 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7464 $EGREP "free" >/dev
/null
2>&1; then :
7467 ac_cv_header_stdc
=no
7473 if test $ac_cv_header_stdc = yes; then
7474 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7475 if test "$cross_compiling" = yes; then :
7478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7479 /* end confdefs.h. */
7482 #if ((' ' & 0x0FF) == 0x020)
7483 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7484 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7486 # define ISLOWER(c) \
7487 (('a' <= (c) && (c) <= 'i') \
7488 || ('j' <= (c) && (c) <= 'r') \
7489 || ('s' <= (c) && (c) <= 'z'))
7490 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7493 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7498 for (i = 0; i < 256; i++)
7499 if (XOR (islower (i), ISLOWER (i))
7500 || toupper (i) != TOUPPER (i))
7505 if ac_fn_c_try_run
"$LINENO"; then :
7508 ac_cv_header_stdc
=no
7510 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7511 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7517 $as_echo "$ac_cv_header_stdc" >&6; }
7518 if test $ac_cv_header_stdc = yes; then
7520 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7524 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7525 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7526 inttypes.h stdint.h unistd.h
7528 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7529 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7531 eval as_val
=\$
$as_ac_Header
7532 if test "x$as_val" = x
""yes; then :
7533 cat >>confdefs.h
<<_ACEOF
7534 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7542 for ac_header
in dlfcn.h
7544 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7546 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7547 cat >>confdefs.h
<<_ACEOF
7548 #define HAVE_DLFCN_H 1
7555 if test -n "$ac_tool_prefix"; then
7556 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
7557 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7559 $as_echo_n "checking for $ac_word... " >&6; }
7560 if test "${ac_cv_prog_GOC+set}" = set; then :
7561 $as_echo_n "(cached) " >&6
7563 if test -n "$GOC"; then
7564 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
7566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7570 test -z "$as_dir" && as_dir
=.
7571 for ac_exec_ext
in '' $ac_executable_extensions; do
7572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7573 ac_cv_prog_GOC
="${ac_tool_prefix}gccgo"
7574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7584 if test -n "$GOC"; then
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
7586 $as_echo "$GOC" >&6; }
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7589 $as_echo "no" >&6; }
7594 if test -z "$ac_cv_prog_GOC"; then
7596 # Extract the first word of "gccgo", so it can be a program name with args.
7597 set dummy gccgo
; ac_word
=$2
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7599 $as_echo_n "checking for $ac_word... " >&6; }
7600 if test "${ac_cv_prog_ac_ct_GOC+set}" = set; then :
7601 $as_echo_n "(cached) " >&6
7603 if test -n "$ac_ct_GOC"; then
7604 ac_cv_prog_ac_ct_GOC
="$ac_ct_GOC" # Let the user override the test.
7606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7610 test -z "$as_dir" && as_dir
=.
7611 for ac_exec_ext
in '' $ac_executable_extensions; do
7612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7613 ac_cv_prog_ac_ct_GOC
="gccgo"
7614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7623 ac_ct_GOC
=$ac_cv_prog_ac_ct_GOC
7624 if test -n "$ac_ct_GOC"; then
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
7626 $as_echo "$ac_ct_GOC" >&6; }
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7629 $as_echo "no" >&6; }
7632 if test "x$ac_ct_GOC" = x
; then
7635 case $cross_compiling:$ac_tool_warned in
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7638 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7639 ac_tool_warned
=yes ;;
7644 GOC
="$ac_cv_prog_GOC"
7660 # Check whether --enable-shared was given.
7661 if test "${enable_shared+set}" = set; then :
7662 enableval
=$enable_shared; p
=${PACKAGE-default}
7664 yes) enable_shared
=yes ;;
7665 no
) enable_shared
=no
;;
7668 # Look at the argument we got. We use all the common list separators.
7669 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7670 for pkg
in $enableval; do
7672 if test "X$pkg" = "X$p"; then
7691 # Check whether --enable-static was given.
7692 if test "${enable_static+set}" = set; then :
7693 enableval
=$enable_static; p
=${PACKAGE-default}
7695 yes) enable_static
=yes ;;
7696 no
) enable_static
=no
;;
7699 # Look at the argument we got. We use all the common list separators.
7700 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7701 for pkg
in $enableval; do
7703 if test "X$pkg" = "X$p"; then
7723 # Check whether --with-pic was given.
7724 if test "${with_pic+set}" = set; then :
7725 withval
=$with_pic; pic_mode
="$withval"
7731 test -z "$pic_mode" && pic_mode
=default
7739 # Check whether --enable-fast-install was given.
7740 if test "${enable_fast_install+set}" = set; then :
7741 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7743 yes) enable_fast_install
=yes ;;
7744 no
) enable_fast_install
=no
;;
7746 enable_fast_install
=no
7747 # Look at the argument we got. We use all the common list separators.
7748 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7749 for pkg
in $enableval; do
7751 if test "X$pkg" = "X$p"; then
7752 enable_fast_install
=yes
7759 enable_fast_install
=yes
7772 # This can be used to rebuild libtool when needed
7773 LIBTOOL_DEPS
="$ltmain"
7775 # Always use our own libtool.
7776 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7803 test -z "$LN_S" && LN_S
="ln -s"
7818 if test -n "${ZSH_VERSION+set}" ; then
7819 setopt NO_GLOB_SUBST
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7823 $as_echo_n "checking for objdir... " >&6; }
7824 if test "${lt_cv_objdir+set}" = set; then :
7825 $as_echo_n "(cached) " >&6
7827 rm -f .libs
2>/dev
/null
7828 mkdir .libs
2>/dev
/null
7829 if test -d .libs
; then
7832 # MS-DOS does not allow filenames that begin with a dot.
7835 rmdir .libs
2>/dev
/null
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7838 $as_echo "$lt_cv_objdir" >&6; }
7839 objdir
=$lt_cv_objdir
7845 cat >>confdefs.h
<<_ACEOF
7846 #define LT_OBJDIR "$lt_cv_objdir/"
7854 # AIX sometimes has problems with the GCC collect2 program. For some
7855 # reason, if we set the COLLECT_NAMES environment variable, the problems
7856 # vanish in a puff of smoke.
7857 if test "X${COLLECT_NAMES+set}" != Xset
; then
7859 export COLLECT_NAMES
7866 can_build_shared
=yes
7868 # All known linkers require a `.a' archive for static linking (except MSVC,
7869 # which needs '.lib').
7872 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7875 old_CFLAGS
="$CFLAGS"
7877 # Set sane defaults for various variables
7878 test -z "$CC" && CC
=cc
7879 test -z "$LTCC" && LTCC
=$CC
7880 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7881 test -z "$LD" && LD
=ld
7882 test -z "$ac_objext" && ac_objext
=o
7884 for cc_temp
in $compiler""; do
7886 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7887 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7892 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7895 # Only perform the check for file, if the check method requires it
7896 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7897 case $deplibs_check_method in
7899 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7901 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7902 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7903 $as_echo_n "(cached) " >&6
7907 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7910 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7911 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7912 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7913 for ac_dir
in $ac_dummy; do
7915 test -z "$ac_dir" && ac_dir
=.
7916 if test -f $ac_dir/${ac_tool_prefix}file; then
7917 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7918 if test -n "$file_magic_test_file"; then
7919 case $deplibs_check_method in
7921 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7922 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7923 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7924 $EGREP "$file_magic_regex" > /dev
/null
; then
7929 *** Warning: the command libtool uses to detect shared libraries,
7930 *** $file_magic_cmd, produces output that libtool cannot recognize.
7931 *** The result is that libtool may fail to recognize shared libraries
7932 *** as such. This will affect the creation of libtool libraries that
7933 *** depend on shared libraries, but programs linked with such libtool
7934 *** libraries will work regardless of this problem. Nevertheless, you
7935 *** may want to report the problem to your system manager and/or to
7936 *** bug-libtool@gnu.org
7946 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7951 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7952 if test -n "$MAGIC_CMD"; then
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7954 $as_echo "$MAGIC_CMD" >&6; }
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7957 $as_echo "no" >&6; }
7964 if test -z "$lt_cv_path_MAGIC_CMD"; then
7965 if test -n "$ac_tool_prefix"; then
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7967 $as_echo_n "checking for file... " >&6; }
7968 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7969 $as_echo_n "(cached) " >&6
7973 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7976 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7977 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7978 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7979 for ac_dir
in $ac_dummy; do
7981 test -z "$ac_dir" && ac_dir
=.
7982 if test -f $ac_dir/file; then
7983 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7984 if test -n "$file_magic_test_file"; then
7985 case $deplibs_check_method in
7987 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7988 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7989 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7990 $EGREP "$file_magic_regex" > /dev
/null
; then
7995 *** Warning: the command libtool uses to detect shared libraries,
7996 *** $file_magic_cmd, produces output that libtool cannot recognize.
7997 *** The result is that libtool may fail to recognize shared libraries
7998 *** as such. This will affect the creation of libtool libraries that
7999 *** depend on shared libraries, but programs linked with such libtool
8000 *** libraries will work regardless of this problem. Nevertheless, you
8001 *** may want to report the problem to your system manager and/or to
8002 *** bug-libtool@gnu.org
8012 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8017 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8018 if test -n "$MAGIC_CMD"; then
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8020 $as_echo "$MAGIC_CMD" >&6; }
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8023 $as_echo "no" >&6; }
8036 # Use C for the default configuration in the libtool script
8040 ac_cpp
='$CPP $CPPFLAGS'
8041 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8042 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8043 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8046 # Source file extension for C test sources.
8049 # Object file extension for compiled C test sources.
8053 # Code to be used in simple compile tests
8054 lt_simple_compile_test_code
="int some_variable = 0;"
8056 # Code to be used in simple link tests
8057 lt_simple_link_test_code
='int main(){return(0);}'
8065 # If no C compiler was specified, use CC.
8068 # If no C compiler flags were specified, use CFLAGS.
8069 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8071 # Allow CC to be a program name with arguments.
8074 # Save the default compiler, since it gets overwritten when the other
8075 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8076 compiler_DEFAULT
=$CC
8078 # save warnings/boilerplate of simple test code
8079 ac_outfile
=conftest.
$ac_objext
8080 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8081 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8082 _lt_compiler_boilerplate
=`cat conftest.err`
8085 ac_outfile
=conftest.
$ac_objext
8086 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8087 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8088 _lt_linker_boilerplate
=`cat conftest.err`
8093 ## There is no encapsulation within the following macros, do not change
8094 ## the running order or otherwise move them around unless you know exactly
8095 ## what you are doing...
8096 if test -n "$compiler"; then
8098 lt_prog_compiler_no_builtin_flag
=
8100 if test "$GCC" = yes; then
8101 case $cc_basename in
8103 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8105 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8109 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8110 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8111 $as_echo_n "(cached) " >&6
8113 lt_cv_prog_compiler_rtti_exceptions
=no
8114 ac_outfile
=conftest.
$ac_objext
8115 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8116 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8117 # Insert the option either (1) after the last *FLAGS variable, or
8118 # (2) before a word containing "conftest.", or (3) at the end.
8119 # Note that $ac_compile itself does not contain backslashes and begins
8120 # with a dollar sign (not a hyphen), so the echo should work correctly.
8121 # The option is referenced via a variable to avoid confusing sed.
8122 lt_compile
=`echo "$ac_compile" | $SED \
8123 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8124 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8125 -e 's:$: $lt_compiler_flag:'`
8126 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8127 (eval "$lt_compile" 2>conftest.err
)
8129 cat conftest.err
>&5
8130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8131 if (exit $ac_status) && test -s "$ac_outfile"; then
8132 # The compiler can only warn and ignore the option if not recognized
8133 # So say no if there are warnings other than the usual output.
8134 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8135 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8136 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8137 lt_cv_prog_compiler_rtti_exceptions
=yes
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8144 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8146 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8147 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8159 lt_prog_compiler_wl
=
8160 lt_prog_compiler_pic
=
8161 lt_prog_compiler_static
=
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8164 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8166 if test "$GCC" = yes; then
8167 lt_prog_compiler_wl
='-Wl,'
8168 lt_prog_compiler_static
='-static'
8172 # All AIX code is PIC.
8173 if test "$host_cpu" = ia64
; then
8174 # AIX 5 now supports IA64 processor
8175 lt_prog_compiler_static
='-Bstatic'
8177 lt_prog_compiler_pic
='-fPIC'
8183 # see comment about AmigaOS4 .so support
8184 lt_prog_compiler_pic
='-fPIC'
8187 # FIXME: we need at least 68020 code to build shared libraries, but
8188 # adding the `-m68020' flag to GCC prevents building anything better,
8190 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8195 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8196 # PIC is the default for these OSes.
8199 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8200 # This hack is so that the source file can tell whether it is being
8201 # built for inclusion in a dll (and should export symbols for example).
8202 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8203 # (--disable-auto-import) libraries
8204 lt_prog_compiler_pic
='-DDLL_EXPORT'
8207 darwin
* | rhapsody
*)
8208 # PIC is the default on this platform
8209 # Common symbols not allowed in MH_DYLIB files
8210 lt_prog_compiler_pic
='-fno-common'
8214 # PIC is the default for Haiku.
8215 # The "-static" flag exists, but is broken.
8216 lt_prog_compiler_static
=
8220 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8221 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8222 # sets the default TLS model and affects inlining.
8228 lt_prog_compiler_pic
='-fPIC'
8234 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8235 # Instead, we relocate shared libraries at runtime.
8239 # Just because we use GCC doesn't mean we suddenly get shared libraries
8240 # on systems that don't support them.
8241 lt_prog_compiler_can_build_shared
=no
8246 # QNX uses GNU C++, but need to define -shared option too, otherwise
8248 lt_prog_compiler_pic
='-fPIC -shared'
8252 if test -d /usr
/nec
; then
8253 lt_prog_compiler_pic
=-Kconform_pic
8258 lt_prog_compiler_pic
='-fPIC'
8262 case $cc_basename in
8263 nvcc
*) # Cuda Compiler Driver 2.2
8264 lt_prog_compiler_wl
='-Xlinker '
8265 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8269 # PORTME Check for flag to pass linker flags through the system compiler.
8272 lt_prog_compiler_wl
='-Wl,'
8273 if test "$host_cpu" = ia64
; then
8274 # AIX 5 now supports IA64 processor
8275 lt_prog_compiler_static
='-Bstatic'
8277 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8281 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8282 # This hack is so that the source file can tell whether it is being
8283 # built for inclusion in a dll (and should export symbols for example).
8284 lt_prog_compiler_pic
='-DDLL_EXPORT'
8287 hpux9
* | hpux10
* | hpux11
*)
8288 lt_prog_compiler_wl
='-Wl,'
8289 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8296 lt_prog_compiler_pic
='+Z'
8299 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8300 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8303 irix5
* | irix6
* | nonstopux
*)
8304 lt_prog_compiler_wl
='-Wl,'
8305 # PIC (with -KPIC) is the default.
8306 lt_prog_compiler_static
='-non_shared'
8309 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8310 case $cc_basename in
8311 # old Intel for x86_64 which still supported -KPIC.
8313 lt_prog_compiler_wl
='-Wl,'
8314 lt_prog_compiler_pic
='-KPIC'
8315 lt_prog_compiler_static
='-static'
8317 # icc used to be incompatible with GCC.
8318 # ICC 10 doesn't accept -KPIC any more.
8320 lt_prog_compiler_wl
='-Wl,'
8321 lt_prog_compiler_pic
='-fPIC'
8322 lt_prog_compiler_static
='-static'
8324 # Lahey Fortran 8.1.
8326 lt_prog_compiler_wl
='-Wl,'
8327 lt_prog_compiler_pic
='--shared'
8328 lt_prog_compiler_static
='--static'
8330 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8331 # Portland Group compilers (*not* the Pentium gcc compiler,
8332 # which looks to be a dead project)
8333 lt_prog_compiler_wl
='-Wl,'
8334 lt_prog_compiler_pic
='-fpic'
8335 lt_prog_compiler_static
='-Bstatic'
8338 lt_prog_compiler_wl
='-Wl,'
8339 # All Alpha code is PIC.
8340 lt_prog_compiler_static
='-non_shared'
8342 xl
* | bgxl
* | bgf
* | mpixl
*)
8343 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8344 lt_prog_compiler_wl
='-Wl,'
8345 lt_prog_compiler_pic
='-qpic'
8346 lt_prog_compiler_static
='-qstaticlink'
8349 case `$CC -V 2>&1 | sed 5q` in
8350 *Sun\ F
* |
*Sun
*Fortran
*)
8351 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8352 lt_prog_compiler_pic
='-KPIC'
8353 lt_prog_compiler_static
='-Bstatic'
8354 lt_prog_compiler_wl
=''
8358 lt_prog_compiler_pic
='-KPIC'
8359 lt_prog_compiler_static
='-Bstatic'
8360 lt_prog_compiler_wl
='-Wl,'
8368 lt_prog_compiler_pic
='-KPIC'
8369 lt_prog_compiler_static
='-Bstatic'
8373 # QNX uses GNU C++, but need to define -shared option too, otherwise
8375 lt_prog_compiler_pic
='-fPIC -shared'
8378 osf3
* | osf4
* | osf5
*)
8379 lt_prog_compiler_wl
='-Wl,'
8380 # All OSF/1 code is PIC.
8381 lt_prog_compiler_static
='-non_shared'
8385 lt_prog_compiler_static
='-non_shared'
8389 lt_prog_compiler_pic
='-KPIC'
8390 lt_prog_compiler_static
='-Bstatic'
8391 case $cc_basename in
8393 lt_prog_compiler_wl
='-Qoption ld ';;
8395 lt_prog_compiler_wl
='-Wl,';;
8400 lt_prog_compiler_wl
='-Qoption ld '
8401 lt_prog_compiler_pic
='-PIC'
8402 lt_prog_compiler_static
='-Bstatic'
8405 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8406 lt_prog_compiler_wl
='-Wl,'
8407 lt_prog_compiler_pic
='-KPIC'
8408 lt_prog_compiler_static
='-Bstatic'
8412 if test -d /usr
/nec
;then
8413 lt_prog_compiler_pic
='-Kconform_pic'
8414 lt_prog_compiler_static
='-Bstatic'
8418 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8419 lt_prog_compiler_wl
='-Wl,'
8420 lt_prog_compiler_pic
='-KPIC'
8421 lt_prog_compiler_static
='-Bstatic'
8425 lt_prog_compiler_wl
='-Wl,'
8426 lt_prog_compiler_can_build_shared
=no
8430 lt_prog_compiler_pic
='-pic'
8431 lt_prog_compiler_static
='-Bstatic'
8435 lt_prog_compiler_can_build_shared
=no
8441 # For platforms which do not support PIC, -DPIC is meaningless:
8443 lt_prog_compiler_pic
=
8446 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8450 $as_echo "$lt_prog_compiler_pic" >&6; }
8458 # Check to make sure the PIC flag actually works.
8460 if test -n "$lt_prog_compiler_pic"; then
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8462 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8463 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8464 $as_echo_n "(cached) " >&6
8466 lt_cv_prog_compiler_pic_works
=no
8467 ac_outfile
=conftest.
$ac_objext
8468 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8469 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8470 # Insert the option either (1) after the last *FLAGS variable, or
8471 # (2) before a word containing "conftest.", or (3) at the end.
8472 # Note that $ac_compile itself does not contain backslashes and begins
8473 # with a dollar sign (not a hyphen), so the echo should work correctly.
8474 # The option is referenced via a variable to avoid confusing sed.
8475 lt_compile
=`echo "$ac_compile" | $SED \
8476 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8477 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8478 -e 's:$: $lt_compiler_flag:'`
8479 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8480 (eval "$lt_compile" 2>conftest.err
)
8482 cat conftest.err
>&5
8483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8484 if (exit $ac_status) && test -s "$ac_outfile"; then
8485 # The compiler can only warn and ignore the option if not recognized
8486 # So say no if there are warnings other than the usual output.
8487 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8488 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8489 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8490 lt_cv_prog_compiler_pic_works
=yes
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8497 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8499 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8500 case $lt_prog_compiler_pic in
8502 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8505 lt_prog_compiler_pic
=
8506 lt_prog_compiler_can_build_shared
=no
8517 # Check to make sure the static flag actually works.
8519 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8521 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8522 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8523 $as_echo_n "(cached) " >&6
8525 lt_cv_prog_compiler_static_works
=no
8526 save_LDFLAGS
="$LDFLAGS"
8527 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8528 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8529 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8530 # The linker can only warn and ignore the option if not recognized
8531 # So say no if there are warnings
8532 if test -s conftest.err
; then
8533 # Append any errors to the config.log.
8534 cat conftest.err
1>&5
8535 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8536 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8537 if diff conftest.exp conftest.er2
>/dev
/null
; then
8538 lt_cv_prog_compiler_static_works
=yes
8541 lt_cv_prog_compiler_static_works
=yes
8545 LDFLAGS
="$save_LDFLAGS"
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8549 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8551 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8554 lt_prog_compiler_static
=
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8564 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8565 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8566 $as_echo_n "(cached) " >&6
8568 lt_cv_prog_compiler_c_o
=no
8569 $RM -r conftest
2>/dev
/null
8573 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8575 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8576 # Insert the option either (1) after the last *FLAGS variable, or
8577 # (2) before a word containing "conftest.", or (3) at the end.
8578 # Note that $ac_compile itself does not contain backslashes and begins
8579 # with a dollar sign (not a hyphen), so the echo should work correctly.
8580 lt_compile
=`echo "$ac_compile" | $SED \
8581 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8582 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8583 -e 's:$: $lt_compiler_flag:'`
8584 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8585 (eval "$lt_compile" 2>out
/conftest.err
)
8587 cat out
/conftest.err
>&5
8588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8589 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8591 # The compiler can only warn and ignore the option if not recognized
8592 # So say no if there are warnings
8593 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8594 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8595 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8596 lt_cv_prog_compiler_c_o
=yes
8601 # SGI C++ compiler will create directory out/ii_files/ for
8602 # template instantiation
8603 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8604 $RM out
/* && rmdir out
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8611 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8619 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8620 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8621 $as_echo_n "(cached) " >&6
8623 lt_cv_prog_compiler_c_o
=no
8624 $RM -r conftest
2>/dev
/null
8628 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8630 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8631 # Insert the option either (1) after the last *FLAGS variable, or
8632 # (2) before a word containing "conftest.", or (3) at the end.
8633 # Note that $ac_compile itself does not contain backslashes and begins
8634 # with a dollar sign (not a hyphen), so the echo should work correctly.
8635 lt_compile
=`echo "$ac_compile" | $SED \
8636 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8637 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8638 -e 's:$: $lt_compiler_flag:'`
8639 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8640 (eval "$lt_compile" 2>out
/conftest.err
)
8642 cat out
/conftest.err
>&5
8643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8644 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8646 # The compiler can only warn and ignore the option if not recognized
8647 # So say no if there are warnings
8648 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8649 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8650 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8651 lt_cv_prog_compiler_c_o
=yes
8656 # SGI C++ compiler will create directory out/ii_files/ for
8657 # template instantiation
8658 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8659 $RM out
/* && rmdir out
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8666 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8671 hard_links
="nottested"
8672 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8673 # do not overwrite the value of need_locks provided by the user
8674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8675 $as_echo_n "checking if we can lock with hard links... " >&6; }
8678 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8680 ln conftest.a conftest.b
2>&5 || hard_links
=no
8681 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8683 $as_echo "$hard_links" >&6; }
8684 if test "$hard_links" = no
; then
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8686 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8699 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8702 allow_undefined_flag
=
8703 always_export_symbols
=no
8705 archive_expsym_cmds
=
8706 compiler_needs_object
=no
8707 enable_shared_with_static_runtimes
=no
8708 export_dynamic_flag_spec
=
8709 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8710 hardcode_automatic
=no
8712 hardcode_direct_absolute
=no
8713 hardcode_libdir_flag_spec
=
8714 hardcode_libdir_flag_spec_ld
=
8715 hardcode_libdir_separator
=
8717 hardcode_shlibpath_var
=unsupported
8719 link_all_deplibs
=unknown
8722 old_archive_from_new_cmds
=
8723 old_archive_from_expsyms_cmds
=
8724 thread_safe_flag_spec
=
8725 whole_archive_flag_spec
=
8726 # include_expsyms should be a list of space-separated symbols to be *always*
8727 # included in the symbol list
8729 # exclude_expsyms can be an extended regexp of symbols to exclude
8730 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8731 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8732 # as well as any symbol that contains `d'.
8733 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8734 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8735 # platforms (ab)use it in PIC code, but their linkers get confused if
8736 # the symbol is explicitly referenced. Since portable code cannot
8737 # rely on this symbol name, it's probably fine to never include it in
8738 # preloaded symbol tables.
8739 # Exclude shared library initialization/finalization symbols.
8740 extract_expsyms_cmds
=
8743 cygwin
* | mingw
* | pw32
* | cegcc
*)
8744 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8745 # When not using gcc, we currently assume that we are using
8746 # Microsoft Visual C++.
8747 if test "$GCC" != yes; then
8752 # we just hope/assume this is gcc and not c89 (= MSVC++)
8762 # On some targets, GNU ld is compatible enough with the native linker
8763 # that we're better off using the native interface for both.
8764 lt_use_gnu_ld_interface
=no
8765 if test "$with_gnu_ld" = yes; then
8768 # The AIX port of GNU ld has always aspired to compatibility
8769 # with the native linker. However, as the warning in the GNU ld
8770 # block says, versions before 2.19.5* couldn't really create working
8771 # shared libraries, regardless of the interface used.
8772 case `$LD -v 2>&1` in
8773 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8774 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8775 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8777 lt_use_gnu_ld_interface
=yes
8782 lt_use_gnu_ld_interface
=yes
8787 if test "$lt_use_gnu_ld_interface" = yes; then
8788 # If archive_cmds runs LD, not CC, wlarc should be empty
8791 # Set some defaults for GNU ld with shared library support. These
8792 # are reset later if shared libraries are not supported. Putting them
8793 # here allows them to be overridden if necessary.
8794 runpath_var
=LD_RUN_PATH
8795 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8796 export_dynamic_flag_spec
='${wl}--export-dynamic'
8797 # ancient GNU ld didn't support --whole-archive et. al.
8798 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8799 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8801 whole_archive_flag_spec
=
8803 supports_anon_versioning
=no
8804 case `$LD -v 2>&1` in
8805 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8806 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8807 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8808 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8809 *\
2.11.
*) ;; # other 2.11 versions
8810 *) supports_anon_versioning
=yes ;;
8813 # See if GNU ld supports shared libraries.
8816 # On AIX/PPC, the GNU linker is very broken
8817 if test "$host_cpu" != ia64
; then
8821 *** Warning: the GNU linker, at least up to release 2.19, is reported
8822 *** to be unable to reliably create shared libraries on AIX.
8823 *** Therefore, libtool is disabling shared libraries support. If you
8824 *** really care for shared libraries, you may want to install binutils
8825 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8826 *** You will then need to restart the configuration process.
8835 # see comment about AmigaOS4 .so support
8836 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8837 archive_expsym_cmds
=''
8840 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)'
8841 hardcode_libdir_flag_spec
='-L$libdir'
8842 hardcode_minus_L
=yes
8848 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8849 allow_undefined_flag
=unsupported
8850 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8851 # support --undefined. This deserves some investigation. FIXME
8852 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8858 cygwin
* | mingw
* | pw32
* | cegcc
*)
8859 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8860 # as there is no search path for DLLs.
8861 hardcode_libdir_flag_spec
='-L$libdir'
8862 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8863 allow_undefined_flag
=unsupported
8864 always_export_symbols
=no
8865 enable_shared_with_static_runtimes
=yes
8866 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8868 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8869 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8870 # If the export-symbols file already is a .def file (1st line
8871 # is EXPORTS), use it as is; otherwise, prepend...
8872 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8873 cp $export_symbols $output_objdir/$soname.def;
8875 echo EXPORTS > $output_objdir/$soname.def;
8876 cat $export_symbols >> $output_objdir/$soname.def;
8878 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8885 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8886 link_all_deplibs
=yes
8891 hardcode_shlibpath_var
=no
8892 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8893 export_dynamic_flag_spec
='${wl}-E'
8894 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8895 # Instead, shared libraries are loaded at an image base (0x10000000 by
8896 # default) and relocated if they conflict, which is a slow very memory
8897 # consuming and fragmenting process. To avoid this, we pick a random,
8898 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8899 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8900 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8901 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'
8904 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8906 if test "$host_os" = linux-dietlibc
; then
8907 case $cc_basename in
8908 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8911 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8912 && test "$tmp_diet" = no
8915 tmp_sharedflag
='-shared'
8916 case $cc_basename,$host_cpu in
8917 pgcc
*) # Portland Group C compiler
8918 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'
8919 tmp_addflag
=' $pic_flag'
8921 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8922 # Portland Group f77 and f90 compilers
8923 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'
8924 tmp_addflag
=' $pic_flag -Mnomain' ;;
8925 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8926 tmp_addflag
=' -i_dynamic' ;;
8927 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8928 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8929 ifc
* | ifort
*) # Intel Fortran compiler
8930 tmp_addflag
=' -nofor_main' ;;
8931 lf95
*) # Lahey Fortran 8.1
8932 whole_archive_flag_spec
=
8933 tmp_sharedflag
='--shared' ;;
8934 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8935 tmp_sharedflag
='-qmkshrobj'
8937 nvcc
*) # Cuda Compiler Driver 2.2
8938 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'
8939 compiler_needs_object
=yes
8942 case `$CC -V 2>&1 | sed 5q` in
8943 *Sun\ C
*) # Sun C 5.9
8944 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'
8945 compiler_needs_object
=yes
8946 tmp_sharedflag
='-G' ;;
8947 *Sun\ F
*) # Sun Fortran 8.3
8948 tmp_sharedflag
='-G' ;;
8950 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8952 if test "x$supports_anon_versioning" = xyes
; then
8953 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8954 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8955 echo "local: *; };" >> $output_objdir/$libname.ver~
8956 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8959 case $cc_basename in
8960 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8961 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8962 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8963 hardcode_libdir_flag_spec
=
8964 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8965 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8966 if test "x$supports_anon_versioning" = xyes
; then
8967 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8968 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8969 echo "local: *; };" >> $output_objdir/$libname.ver~
8970 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8980 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8981 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8984 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8985 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8990 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8994 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8995 *** create shared libraries on Solaris systems. Therefore, libtool
8996 *** is disabling shared libraries support. We urge you to upgrade GNU
8997 *** binutils to release 2.9.1 or newer. Another option is to modify
8998 *** your PATH or compiler configuration so that the native linker is
8999 *** used, and then restart.
9002 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9003 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9004 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9010 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9011 case `$LD -v 2>&1` in
9012 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9016 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9017 *** reliably create shared libraries on SCO systems. Therefore, libtool
9018 *** is disabling shared libraries support. We urge you to upgrade GNU
9019 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9020 *** your PATH or compiler configuration so that the native linker is
9021 *** used, and then restart.
9026 # For security reasons, it is highly recommended that you always
9027 # use absolute paths for naming shared libraries, and exclude the
9028 # DT_RUNPATH tag from executables and libraries. But doing so
9029 # requires that you compile everything twice, which is a pain.
9030 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9031 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9032 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9033 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9042 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9045 hardcode_shlibpath_var
=no
9049 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9050 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9051 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9058 if test "$ld_shlibs" = no
; then
9060 hardcode_libdir_flag_spec
=
9061 export_dynamic_flag_spec
=
9062 whole_archive_flag_spec
=
9065 # PORTME fill in a description of your system's linker (not GNU ld)
9068 allow_undefined_flag
=unsupported
9069 always_export_symbols
=yes
9070 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'
9071 # Note: this linker hardcodes the directories in LIBPATH if there
9072 # are no directories specified by -L.
9073 hardcode_minus_L
=yes
9074 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9075 # Neither direct hardcoding nor static linking is supported with a
9077 hardcode_direct
=unsupported
9082 if test "$host_cpu" = ia64
; then
9083 # On IA64, the linker does run time linking by default, so we don't
9084 # have to do anything special.
9085 aix_use_runtimelinking
=no
9086 exp_sym_flag
='-Bexport'
9089 # If we're using GNU nm, then we don't want the "-C" option.
9090 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9091 # Also, AIX nm treats weak defined symbols like other global
9092 # defined symbols, whereas GNU nm marks them as "W".
9093 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9094 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'
9096 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'
9098 aix_use_runtimelinking
=no
9100 # Test if we are trying to use run time linking or normal
9101 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9102 # need to do runtime linking.
9103 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9104 for ld_flag
in $LDFLAGS; do
9105 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9106 aix_use_runtimelinking
=yes
9113 exp_sym_flag
='-bexport'
9114 no_entry_flag
='-bnoentry'
9117 # When large executables or shared objects are built, AIX ld can
9118 # have problems creating the table of contents. If linking a library
9119 # or program results in "error TOC overflow" add -mminimal-toc to
9120 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9121 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9125 hardcode_direct_absolute
=yes
9126 hardcode_libdir_separator
=':'
9127 link_all_deplibs
=yes
9128 file_list_spec
='${wl}-f,'
9130 if test "$GCC" = yes; then
9131 case $host_os in aix4.
[012]|aix4.
[012].
*)
9132 # We only want to do this on AIX 4.2 and lower, the check
9133 # below for broken collect2 doesn't work under 4.3+
9134 collect2name
=`${CC} -print-prog-name=collect2`
9135 if test -f "$collect2name" &&
9136 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9138 # We have reworked collect2
9141 # We have old collect2
9142 hardcode_direct
=unsupported
9143 # It fails to find uninstalled libraries when the uninstalled
9144 # path is not listed in the libpath. Setting hardcode_minus_L
9145 # to unsupported forces relinking
9146 hardcode_minus_L
=yes
9147 hardcode_libdir_flag_spec
='-L$libdir'
9148 hardcode_libdir_separator
=
9152 shared_flag
='-shared'
9153 if test "$aix_use_runtimelinking" = yes; then
9154 shared_flag
="$shared_flag "'${wl}-G'
9158 if test "$host_cpu" = ia64
; then
9159 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9160 # chokes on -Wl,-G. The following line is correct:
9163 if test "$aix_use_runtimelinking" = yes; then
9164 shared_flag
='${wl}-G'
9166 shared_flag
='${wl}-bM:SRE'
9171 export_dynamic_flag_spec
='${wl}-bexpall'
9172 # It seems that -bexpall does not export symbols beginning with
9173 # underscore (_), so it is better to generate a list of symbols to export.
9174 always_export_symbols
=yes
9175 if test "$aix_use_runtimelinking" = yes; then
9176 # Warning - without using the other runtime loading flags (-brtl),
9177 # -berok will link without error, but may produce a broken library.
9178 allow_undefined_flag
='-berok'
9179 # Determine the default libpath from the value encoded in an
9181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9182 /* end confdefs.h. */
9192 if ac_fn_c_try_link
"$LINENO"; then :
9194 lt_aix_libpath_sed
='
9195 /Import File Strings/,/^$/ {
9201 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9202 # Check for a 64-bit object if we didn't find anything.
9203 if test -z "$aix_libpath"; then
9204 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9207 rm -f core conftest.err conftest.
$ac_objext \
9208 conftest
$ac_exeext conftest.
$ac_ext
9209 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9211 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9212 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"
9214 if test "$host_cpu" = ia64
; then
9215 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9216 allow_undefined_flag
="-z nodefs"
9217 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"
9219 # Determine the default libpath from the value encoded in an
9221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9222 /* end confdefs.h. */
9232 if ac_fn_c_try_link
"$LINENO"; then :
9234 lt_aix_libpath_sed
='
9235 /Import File Strings/,/^$/ {
9241 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9242 # Check for a 64-bit object if we didn't find anything.
9243 if test -z "$aix_libpath"; then
9244 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9247 rm -f core conftest.err conftest.
$ac_objext \
9248 conftest
$ac_exeext conftest.
$ac_ext
9249 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9251 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9252 # Warning - without using the other run time loading flags,
9253 # -berok will link without error, but may produce a broken library.
9254 no_undefined_flag
=' ${wl}-bernotok'
9255 allow_undefined_flag
=' ${wl}-berok'
9256 if test "$with_gnu_ld" = yes; then
9257 # We only use this code for GNU lds that support --whole-archive.
9258 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9260 # Exported symbols can be pulled into shared objects from archives
9261 whole_archive_flag_spec
='$convenience'
9263 archive_cmds_need_lc
=yes
9264 # This is similar to how AIX traditionally builds its shared libraries.
9265 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'
9273 # see comment about AmigaOS4 .so support
9274 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9275 archive_expsym_cmds
=''
9278 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)'
9279 hardcode_libdir_flag_spec
='-L$libdir'
9280 hardcode_minus_L
=yes
9286 export_dynamic_flag_spec
=-rdynamic
9289 cygwin
* | mingw
* | pw32
* | cegcc
*)
9290 # When not using gcc, we currently assume that we are using
9291 # Microsoft Visual C++.
9292 # hardcode_libdir_flag_spec is actually meaningless, as there is
9293 # no search path for DLLs.
9294 hardcode_libdir_flag_spec
=' '
9295 allow_undefined_flag
=unsupported
9296 # Tell ltmain to make .lib files, not .a files.
9298 # Tell ltmain to make .dll files, not .so files.
9300 # FIXME: Setting linknames here is a bad hack.
9301 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9302 # The linker will automatically build a .lib file if we build a DLL.
9303 old_archive_from_new_cmds
='true'
9304 # FIXME: Should let the user specify the lib program.
9305 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9306 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9307 enable_shared_with_static_runtimes
=yes
9310 darwin
* | rhapsody
*)
9313 archive_cmds_need_lc
=no
9315 hardcode_automatic
=yes
9316 hardcode_shlibpath_var
=unsupported
9317 if test "$lt_cv_ld_force_load" = "yes"; then
9318 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\"`'
9320 whole_archive_flag_spec
=''
9322 link_all_deplibs
=yes
9323 allow_undefined_flag
="$_lt_dar_allow_undefined"
9324 case $cc_basename in
9325 ifort
*) _lt_dar_can_shared
=yes ;;
9326 *) _lt_dar_can_shared
=$GCC ;;
9328 if test "$_lt_dar_can_shared" = "yes"; then
9329 output_verbose_link_cmd
=func_echo_all
9330 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9331 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9332 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}"
9333 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}"
9342 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9343 hardcode_libdir_flag_spec
='-L$libdir'
9344 hardcode_shlibpath_var
=no
9347 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9348 # support. Future versions do this automatically, but an explicit c++rt0.o
9349 # does not break anything, and helps significantly (at the cost of a little
9352 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9353 hardcode_libdir_flag_spec
='-R$libdir'
9355 hardcode_shlibpath_var
=no
9358 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9360 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9362 hardcode_minus_L
=yes
9363 hardcode_shlibpath_var
=no
9366 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9367 freebsd
* | dragonfly
*)
9368 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9369 hardcode_libdir_flag_spec
='-R$libdir'
9371 hardcode_shlibpath_var
=no
9375 if test "$GCC" = yes; then
9376 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'
9378 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'
9380 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9381 hardcode_libdir_separator
=:
9384 # hardcode_minus_L: Not really in the search PATH,
9385 # but as the default location of the library.
9386 hardcode_minus_L
=yes
9387 export_dynamic_flag_spec
='${wl}-E'
9391 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9392 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9394 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9396 if test "$with_gnu_ld" = no
; then
9397 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9398 hardcode_libdir_flag_spec_ld
='+b $libdir'
9399 hardcode_libdir_separator
=:
9401 hardcode_direct_absolute
=yes
9402 export_dynamic_flag_spec
='${wl}-E'
9403 # hardcode_minus_L: Not really in the search PATH,
9404 # but as the default location of the library.
9405 hardcode_minus_L
=yes
9410 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9413 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9416 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9419 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9425 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9428 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9432 # Older versions of the 11.00 compiler do not understand -b yet
9433 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9435 $as_echo_n "checking if $CC understands -b... " >&6; }
9436 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9437 $as_echo_n "(cached) " >&6
9439 lt_cv_prog_compiler__b
=no
9440 save_LDFLAGS
="$LDFLAGS"
9441 LDFLAGS
="$LDFLAGS -b"
9442 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9443 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9444 # The linker can only warn and ignore the option if not recognized
9445 # So say no if there are warnings
9446 if test -s conftest.err
; then
9447 # Append any errors to the config.log.
9448 cat conftest.err
1>&5
9449 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9450 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9451 if diff conftest.exp conftest.er2
>/dev
/null
; then
9452 lt_cv_prog_compiler__b
=yes
9455 lt_cv_prog_compiler__b
=yes
9459 LDFLAGS
="$save_LDFLAGS"
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9463 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9465 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9466 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9468 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9474 if test "$with_gnu_ld" = no
; then
9475 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9476 hardcode_libdir_separator
=:
9481 hardcode_shlibpath_var
=no
9485 hardcode_direct_absolute
=yes
9486 export_dynamic_flag_spec
='${wl}-E'
9488 # hardcode_minus_L: Not really in the search PATH,
9489 # but as the default location of the library.
9490 hardcode_minus_L
=yes
9496 irix5
* | irix6
* | nonstopux
*)
9497 if test "$GCC" = yes; then
9498 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'
9499 # Try to use the -exported_symbol ld option, if it does not
9500 # work, assume that -exports_file does not work either and
9501 # implicitly export all symbols.
9502 save_LDFLAGS
="$LDFLAGS"
9503 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9505 /* end confdefs.h. */
9508 if ac_fn_c_try_link
"$LINENO"; then :
9509 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'
9512 rm -f core conftest.err conftest.
$ac_objext \
9513 conftest
$ac_exeext conftest.
$ac_ext
9514 LDFLAGS
="$save_LDFLAGS"
9516 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'
9517 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'
9519 archive_cmds_need_lc
='no'
9520 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9521 hardcode_libdir_separator
=:
9523 link_all_deplibs
=yes
9527 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9528 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9530 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9532 hardcode_libdir_flag_spec
='-R$libdir'
9534 hardcode_shlibpath_var
=no
9538 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9540 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9541 hardcode_libdir_separator
=:
9542 hardcode_shlibpath_var
=no
9549 if test -f /usr
/libexec
/ld.so
; then
9551 hardcode_shlibpath_var
=no
9552 hardcode_direct_absolute
=yes
9553 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9554 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9555 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9556 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9557 export_dynamic_flag_spec
='${wl}-E'
9560 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9561 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9562 hardcode_libdir_flag_spec
='-R$libdir'
9565 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9566 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9576 hardcode_libdir_flag_spec
='-L$libdir'
9577 hardcode_minus_L
=yes
9578 allow_undefined_flag
=unsupported
9579 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'
9580 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9584 if test "$GCC" = yes; then
9585 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9586 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'
9588 allow_undefined_flag
=' -expect_unresolved \*'
9589 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'
9591 archive_cmds_need_lc
='no'
9592 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9593 hardcode_libdir_separator
=:
9596 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9597 if test "$GCC" = yes; then
9598 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9599 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'
9600 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9602 allow_undefined_flag
=' -expect_unresolved \*'
9603 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'
9604 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~
9605 $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'
9607 # Both c and cxx compiler support -rpath directly
9608 hardcode_libdir_flag_spec
='-rpath $libdir'
9610 archive_cmds_need_lc
='no'
9611 hardcode_libdir_separator
=:
9615 no_undefined_flag
=' -z defs'
9616 if test "$GCC" = yes; then
9618 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9619 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9620 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9622 case `$CC -V 2>&1` in
9625 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9626 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9627 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9631 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9632 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9633 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9637 hardcode_libdir_flag_spec
='-R$libdir'
9638 hardcode_shlibpath_var
=no
9640 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9642 # The compiler driver will combine and reorder linker options,
9643 # but understands `-z linker_flag'. GCC discards it without `$wl',
9644 # but is careful enough not to reorder.
9645 # Supported since Solaris 2.6 (maybe 2.5.1?)
9646 if test "$GCC" = yes; then
9647 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9649 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9653 link_all_deplibs
=yes
9657 if test "x$host_vendor" = xsequent
; then
9658 # Use $CC to link under sequent, because it throws in some extra .o
9659 # files that make .init and .fini sections work.
9660 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9662 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9664 hardcode_libdir_flag_spec
='-L$libdir'
9666 hardcode_minus_L
=yes
9667 hardcode_shlibpath_var
=no
9671 case $host_vendor in
9673 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9674 hardcode_direct
=yes # is this really true???
9677 ## LD is ld it makes a PLAMLIB
9678 ## CC just makes a GrossModule.
9679 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9680 reload_cmds
='$CC -r -o $output$reload_objs'
9684 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9685 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9688 runpath_var
='LD_RUN_PATH'
9689 hardcode_shlibpath_var
=no
9693 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9694 hardcode_shlibpath_var
=no
9695 export_dynamic_flag_spec
='-Bexport'
9699 if test -d /usr
/nec
; then
9700 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9701 hardcode_shlibpath_var
=no
9702 runpath_var
=LD_RUN_PATH
9703 hardcode_runpath_var
=yes
9708 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9709 no_undefined_flag
='${wl}-z,text'
9710 archive_cmds_need_lc
=no
9711 hardcode_shlibpath_var
=no
9712 runpath_var
='LD_RUN_PATH'
9714 if test "$GCC" = yes; then
9715 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9716 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9718 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9719 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9723 sysv5
* | sco3.2v5
* | sco5v6
*)
9724 # Note: We can NOT use -z defs as we might desire, because we do not
9725 # link with -lc, and that would cause any symbols used from libc to
9726 # always be unresolved, which means just about no library would
9727 # ever link correctly. If we're not using GNU ld we use -z text
9728 # though, which does catch some bad symbols but isn't as heavy-handed
9730 no_undefined_flag
='${wl}-z,text'
9731 allow_undefined_flag
='${wl}-z,nodefs'
9732 archive_cmds_need_lc
=no
9733 hardcode_shlibpath_var
=no
9734 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9735 hardcode_libdir_separator
=':'
9736 link_all_deplibs
=yes
9737 export_dynamic_flag_spec
='${wl}-Bexport'
9738 runpath_var
='LD_RUN_PATH'
9740 if test "$GCC" = yes; then
9741 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9742 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9744 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9745 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9750 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9751 hardcode_libdir_flag_spec
='-L$libdir'
9752 hardcode_shlibpath_var
=no
9760 if test x
$host_vendor = xsni
; then
9762 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9763 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9770 $as_echo "$ld_shlibs" >&6; }
9771 test "$ld_shlibs" = no
&& can_build_shared
=no
9773 with_gnu_ld
=$with_gnu_ld
9790 # Do we need to explicitly link libc?
9792 case "x$archive_cmds_need_lc" in
9794 # Assume -lc should be added
9795 archive_cmds_need_lc
=yes
9797 if test "$enable_shared" = yes && test "$GCC" = yes; then
9798 case $archive_cmds in
9800 # FIXME: we may have to deal with multi-command sequences.
9803 # Test whether the compiler implicitly links with -lc since on some
9804 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9805 # to ld, don't add -lc before -lgcc.
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9807 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9808 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9809 $as_echo_n "(cached) " >&6
9812 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9814 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9815 (eval $ac_compile) 2>&5
9817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9818 test $ac_status = 0; } 2>conftest.err
; then
9821 libobjs
=conftest.
$ac_objext
9823 wl
=$lt_prog_compiler_wl
9824 pic_flag
=$lt_prog_compiler_pic
9830 lt_save_allow_undefined_flag
=$allow_undefined_flag
9831 allow_undefined_flag
=
9832 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9833 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9836 test $ac_status = 0; }
9838 lt_cv_archive_cmds_need_lc
=no
9840 lt_cv_archive_cmds_need_lc
=yes
9842 allow_undefined_flag
=$lt_save_allow_undefined_flag
9844 cat conftest.err
1>&5
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9850 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9851 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10015 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10017 if test "$GCC" = yes; then
10019 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10020 *) lt_awk_arg
="/^libraries:/" ;;
10023 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10024 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10026 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10027 case $lt_search_path_spec in
10029 # if the path contains ";" then we assume it to be the separator
10030 # otherwise default to the standard path separator (i.e. ":") - it is
10031 # assumed that no part of a normal pathname contains ";" but that should
10032 # okay in the real world where ";" in dirpaths is itself problematic.
10033 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10036 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10039 # Ok, now we have the path, separated by spaces, we can step through it
10040 # and add multilib dir if necessary.
10041 lt_tmp_lt_search_path_spec
=
10042 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10043 for lt_sys_path
in $lt_search_path_spec; do
10044 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10045 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10047 test -d "$lt_sys_path" && \
10048 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10051 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10052 BEGIN {RS=" "; FS="/|\n";} {
10055 for (lt_i = NF; lt_i > 0; lt_i--) {
10056 if ($lt_i != "" && $lt_i != ".") {
10057 if ($lt_i == "..") {
10060 if (lt_count == 0) {
10061 lt_foo="/" $lt_i lt_foo;
10068 if (lt_foo != "") { lt_freq[lt_foo]++; }
10069 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10071 # AWK program above erroneously prepends '/' to C:/dos/paths
10074 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10075 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10077 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10079 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10081 library_names_spec
=
10082 libname_spec
='lib$name'
10086 postuninstall_cmds
=
10090 shlibpath_overrides_runpath
=unknown
10092 dynamic_linker
="$host_os ld.so"
10093 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10094 need_lib_prefix
=unknown
10095 hardcode_into_libs
=no
10097 # when you set need_version to no, make sure it does not cause -set_version
10098 # flags to be left without arguments
10099 need_version
=unknown
10104 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10105 shlibpath_var
=LIBPATH
10107 # AIX 3 has no versioning support, so we append a major version to the name.
10108 soname_spec
='${libname}${release}${shared_ext}$major'
10115 hardcode_into_libs
=yes
10116 if test "$host_cpu" = ia64
; then
10117 # AIX 5 supports IA64
10118 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10119 shlibpath_var
=LD_LIBRARY_PATH
10121 # With GCC up to 2.95.x, collect2 would create an import file
10122 # for dependence libraries. The import file would start with
10123 # the line `#! .'. This would cause the generated library to
10124 # depend on `.', always an invalid library. This was fixed in
10125 # development snapshots of GCC prior to 3.0.
10127 aix4 | aix4.
[01] | aix4.
[01].
*)
10128 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10130 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10133 can_build_shared
=no
10137 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10138 # soname into executable. Probably we can add versioning support to
10139 # collect2, so additional links can be useful in future.
10140 if test "$aix_use_runtimelinking" = yes; then
10141 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10142 # instead of lib<name>.a to let people know that these are not
10143 # typical AIX shared libraries.
10144 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10146 # We preserve .a as extension for shared libraries through AIX4.2
10147 # and later when we are not doing run time linking.
10148 library_names_spec
='${libname}${release}.a $libname.a'
10149 soname_spec
='${libname}${release}${shared_ext}$major'
10151 shlibpath_var
=LIBPATH
10158 # Since July 2007 AmigaOS4 officially supports .so libraries.
10159 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10160 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10163 library_names_spec
='$libname.ixlibrary $libname.a'
10164 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10165 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'
10171 library_names_spec
='${libname}${shared_ext}'
10172 dynamic_linker
="$host_os ld.so"
10173 shlibpath_var
=LIBRARY_PATH
10179 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10180 soname_spec
='${libname}${release}${shared_ext}$major'
10181 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10182 shlibpath_var
=LD_LIBRARY_PATH
10183 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10184 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10185 # the default ld.so.conf also contains /usr/contrib/lib and
10186 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10187 # libtool to hard-code these into programs
10190 cygwin
* | mingw
* | pw32
* | cegcc
*)
10191 version_type
=windows
10196 case $GCC,$host_os in
10197 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10198 library_names_spec
='$libname.dll.a'
10199 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10200 postinstall_cmds
='base_file=`basename \${file}`~
10201 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10202 dldir=$destdir/`dirname \$dlpath`~
10203 test -d \$dldir || mkdir -p \$dldir~
10204 $install_prog $dir/$dlname \$dldir/$dlname~
10205 chmod a+x \$dldir/$dlname~
10206 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10207 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10209 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10210 dlpath=$dir/\$dldll~
10212 shlibpath_overrides_runpath
=yes
10216 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10217 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10219 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10222 # MinGW DLLs use traditional 'lib' prefix
10223 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10226 # pw32 DLLs use 'pw' prefix rather than 'lib'
10227 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10233 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10236 dynamic_linker
='Win32 ld.exe'
10237 # FIXME: first we should search . and the directory the executable is in
10241 darwin
* | rhapsody
*)
10242 dynamic_linker
="$host_os dyld"
10243 version_type
=darwin
10246 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10247 soname_spec
='${libname}${release}${major}$shared_ext'
10248 shlibpath_overrides_runpath
=yes
10249 shlibpath_var
=DYLD_LIBRARY_PATH
10250 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10252 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10253 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10260 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10261 soname_spec
='${libname}${release}${shared_ext}$major'
10262 shlibpath_var
=LD_LIBRARY_PATH
10265 freebsd
* | dragonfly
*)
10266 # DragonFly does not have aout. When/if they implement a new
10267 # versioning mechanism, adjust this.
10268 if test -x /usr
/bin
/objformat
; then
10269 objformat
=`/usr/bin/objformat`
10272 freebsd
[23].
*) objformat
=aout
;;
10273 *) objformat
=elf
;;
10276 version_type
=freebsd-
$objformat
10277 case $version_type in
10279 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10284 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10288 shlibpath_var
=LD_LIBRARY_PATH
10291 shlibpath_overrides_runpath
=yes
10293 freebsd3.
[01]* | freebsdelf3.
[01]*)
10294 shlibpath_overrides_runpath
=yes
10295 hardcode_into_libs
=yes
10297 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10298 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10299 shlibpath_overrides_runpath
=no
10300 hardcode_into_libs
=yes
10302 *) # from 4.6 on, and DragonFly
10303 shlibpath_overrides_runpath
=yes
10304 hardcode_into_libs
=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 hardcode_into_libs
=yes
10323 dynamic_linker
="$host_os runtime_loader"
10324 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10325 soname_spec
='${libname}${release}${shared_ext}$major'
10326 shlibpath_var
=LIBRARY_PATH
10327 shlibpath_overrides_runpath
=yes
10328 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10329 hardcode_into_libs
=yes
10332 hpux9
* | hpux10
* | hpux11
*)
10333 # Give a soname corresponding to the major version so that dld.sl refuses to
10334 # link against other versions.
10341 hardcode_into_libs
=yes
10342 dynamic_linker
="$host_os dld.so"
10343 shlibpath_var
=LD_LIBRARY_PATH
10344 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10345 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10346 soname_spec
='${libname}${release}${shared_ext}$major'
10347 if test "X$HPUX_IA64_MODE" = X32
; then
10348 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10350 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10352 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10356 hardcode_into_libs
=yes
10357 dynamic_linker
="$host_os dld.sl"
10358 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10359 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10360 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10361 soname_spec
='${libname}${release}${shared_ext}$major'
10362 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10363 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10367 dynamic_linker
="$host_os dld.sl"
10368 shlibpath_var
=SHLIB_PATH
10369 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10370 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10371 soname_spec
='${libname}${release}${shared_ext}$major'
10374 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10375 postinstall_cmds
='chmod 555 $lib'
10376 # or fails outright, so override atomically:
10377 install_override_mode
=555
10384 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10385 soname_spec
='${libname}${release}${shared_ext}$major'
10386 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10387 shlibpath_var
=LD_LIBRARY_PATH
10388 shlibpath_overrides_runpath
=no
10389 hardcode_into_libs
=yes
10392 irix5
* | irix6
* | nonstopux
*)
10394 nonstopux
*) version_type
=nonstopux
;;
10396 if test "$lt_cv_prog_gnu_ld" = yes; then
10404 soname_spec
='${libname}${release}${shared_ext}$major'
10405 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10407 irix5
* | nonstopux
*)
10408 libsuff
= shlibsuff
=
10411 case $LD in # libtool.m4 will add one of these switches to LD
10412 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10413 libsuff
= shlibsuff
= libmagic
=32-bit;;
10414 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10415 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10416 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10417 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10418 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10422 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10423 shlibpath_overrides_runpath
=no
10424 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10425 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10426 hardcode_into_libs
=yes
10429 # No shared lib support for Linux oldld, aout, or coff.
10430 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10434 # This must be Linux ELF.
10435 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10440 soname_spec
='${libname}${release}${shared_ext}$major'
10441 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10442 shlibpath_var
=LD_LIBRARY_PATH
10443 shlibpath_overrides_runpath
=no
10445 # Some binutils ld are patched to set DT_RUNPATH
10446 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10447 $as_echo_n "(cached) " >&6
10449 lt_cv_shlibpath_overrides_runpath
=no
10450 save_LDFLAGS
=$LDFLAGS
10451 save_libdir
=$libdir
10452 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10453 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10455 /* end confdefs.h. */
10465 if ac_fn_c_try_link
"$LINENO"; then :
10466 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10467 lt_cv_shlibpath_overrides_runpath
=yes
10470 rm -f core conftest.err conftest.
$ac_objext \
10471 conftest
$ac_exeext conftest.
$ac_ext
10472 LDFLAGS
=$save_LDFLAGS
10473 libdir
=$save_libdir
10477 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10479 # This implies no fast_install, which is unacceptable.
10480 # Some rework will be needed to allow for fast_install
10481 # before this can be enabled.
10482 hardcode_into_libs
=yes
10484 # Append ld.so.conf contents to the search path
10485 if test -f /etc
/ld.so.conf
; then
10486 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' ' '`
10487 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10490 # We used to test for /lib/ld.so.1 and disable shared libraries on
10491 # powerpc, because MkLinux only supported shared libraries with the
10492 # GNU dynamic linker. Since this was broken with cross compilers,
10493 # most powerpc-linux boxes support dynamic linking these days and
10494 # people can always --disable-shared, the test was removed, and we
10495 # assume the GNU/Linux dynamic linker is in use.
10496 dynamic_linker
='GNU/Linux ld.so'
10503 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10504 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10505 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10506 dynamic_linker
='NetBSD (a.out) ld.so'
10508 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10509 soname_spec
='${libname}${release}${shared_ext}$major'
10510 dynamic_linker
='NetBSD ld.elf_so'
10512 shlibpath_var
=LD_LIBRARY_PATH
10513 shlibpath_overrides_runpath
=yes
10514 hardcode_into_libs
=yes
10519 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10520 shlibpath_var
=LD_LIBRARY_PATH
10521 shlibpath_overrides_runpath
=yes
10528 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10529 soname_spec
='${libname}${release}${shared_ext}$major'
10530 shlibpath_var
=LD_LIBRARY_PATH
10531 shlibpath_overrides_runpath
=no
10532 hardcode_into_libs
=yes
10533 dynamic_linker
='ldqnx.so'
10538 sys_lib_dlsearch_path_spec
="/usr/lib"
10540 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10542 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10543 *) need_version
=no
;;
10545 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10546 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10547 shlibpath_var
=LD_LIBRARY_PATH
10548 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10550 openbsd2.
[89] | openbsd2.
[89].
*)
10551 shlibpath_overrides_runpath
=no
10554 shlibpath_overrides_runpath
=yes
10558 shlibpath_overrides_runpath
=yes
10563 libname_spec
='$name'
10566 library_names_spec
='$libname${shared_ext} $libname.a'
10567 dynamic_linker
='OS/2 ld.exe'
10568 shlibpath_var
=LIBPATH
10571 osf3
* | osf4
* | osf5
*)
10575 soname_spec
='${libname}${release}${shared_ext}$major'
10576 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10577 shlibpath_var
=LD_LIBRARY_PATH
10578 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10579 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10590 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10591 soname_spec
='${libname}${release}${shared_ext}$major'
10592 shlibpath_var
=LD_LIBRARY_PATH
10593 shlibpath_overrides_runpath
=yes
10594 hardcode_into_libs
=yes
10595 # ldd complains unless libraries are executable
10596 postinstall_cmds
='chmod +x $lib'
10601 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10602 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10603 shlibpath_var
=LD_LIBRARY_PATH
10604 shlibpath_overrides_runpath
=yes
10605 if test "$with_gnu_ld" = yes; then
10613 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10614 soname_spec
='${libname}${release}${shared_ext}$major'
10615 shlibpath_var
=LD_LIBRARY_PATH
10616 case $host_vendor in
10618 shlibpath_overrides_runpath
=no
10620 runpath_var
=LD_RUN_PATH
10628 shlibpath_overrides_runpath
=no
10629 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10635 if test -d /usr
/nec
;then
10637 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10638 soname_spec
='$libname${shared_ext}.$major'
10639 shlibpath_var
=LD_LIBRARY_PATH
10643 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10644 version_type
=freebsd-elf
10647 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10648 soname_spec
='${libname}${release}${shared_ext}$major'
10649 shlibpath_var
=LD_LIBRARY_PATH
10650 shlibpath_overrides_runpath
=yes
10651 hardcode_into_libs
=yes
10652 if test "$with_gnu_ld" = yes; then
10653 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10655 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10658 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10662 sys_lib_dlsearch_path_spec
='/usr/lib'
10666 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10670 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10671 shlibpath_var
=LD_LIBRARY_PATH
10672 shlibpath_overrides_runpath
=no
10673 hardcode_into_libs
=yes
10678 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10679 soname_spec
='${libname}${release}${shared_ext}$major'
10680 shlibpath_var
=LD_LIBRARY_PATH
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10688 $as_echo "$dynamic_linker" >&6; }
10689 test "$dynamic_linker" = no
&& can_build_shared
=no
10691 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10692 if test "$GCC" = yes; then
10693 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10696 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10697 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10699 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10700 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10795 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10797 if test -n "$hardcode_libdir_flag_spec" ||
10798 test -n "$runpath_var" ||
10799 test "X$hardcode_automatic" = "Xyes" ; then
10801 # We can hardcode non-existent directories.
10802 if test "$hardcode_direct" != no
&&
10803 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10804 # have to relink, otherwise we might link with an installed library
10805 # when we should be linking with a yet-to-be-installed one
10806 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10807 test "$hardcode_minus_L" != no
; then
10808 # Linking always hardcodes the temporary library directory.
10809 hardcode_action
=relink
10811 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10812 hardcode_action
=immediate
10815 # We cannot hardcode anything, or else we can only hardcode existing
10817 hardcode_action
=unsupported
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10820 $as_echo "$hardcode_action" >&6; }
10822 if test "$hardcode_action" = relink ||
10823 test "$inherit_rpath" = yes; then
10824 # Fast installation is not supported
10825 enable_fast_install
=no
10826 elif test "$shlibpath_overrides_runpath" = yes ||
10827 test "$enable_shared" = no
; then
10828 # Fast installation is not necessary
10829 enable_fast_install
=needless
10837 if test "x$enable_dlopen" != xyes
; then
10838 enable_dlopen
=unknown
10839 enable_dlopen_self
=unknown
10840 enable_dlopen_self_static
=unknown
10847 lt_cv_dlopen
="load_add_on"
10849 lt_cv_dlopen_self
=yes
10852 mingw
* | pw32
* | cegcc
*)
10853 lt_cv_dlopen
="LoadLibrary"
10858 lt_cv_dlopen
="dlopen"
10863 # if libdl is installed we need to link against it
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10865 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10866 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10867 $as_echo_n "(cached) " >&6
10869 ac_check_lib_save_LIBS
=$LIBS
10871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10872 /* end confdefs.h. */
10874 /* Override any GCC internal prototype to avoid an error.
10875 Use char because int might match the return type of a GCC
10876 builtin and then its argument prototype would still apply. */
10889 if ac_fn_c_try_link
"$LINENO"; then :
10890 ac_cv_lib_dl_dlopen
=yes
10892 ac_cv_lib_dl_dlopen
=no
10894 rm -f core conftest.err conftest.
$ac_objext \
10895 conftest
$ac_exeext conftest.
$ac_ext
10896 LIBS
=$ac_check_lib_save_LIBS
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10899 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10900 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10901 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10904 lt_cv_dlopen
="dyld"
10906 lt_cv_dlopen_self
=yes
10913 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10914 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10915 lt_cv_dlopen
="shl_load"
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10918 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10919 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10920 $as_echo_n "(cached) " >&6
10922 ac_check_lib_save_LIBS
=$LIBS
10924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10925 /* end confdefs.h. */
10927 /* Override any GCC internal prototype to avoid an error.
10928 Use char because int might match the return type of a GCC
10929 builtin and then its argument prototype would still apply. */
10937 return shl_load ();
10942 if ac_fn_c_try_link
"$LINENO"; then :
10943 ac_cv_lib_dld_shl_load
=yes
10945 ac_cv_lib_dld_shl_load
=no
10947 rm -f core conftest.err conftest.
$ac_objext \
10948 conftest
$ac_exeext conftest.
$ac_ext
10949 LIBS
=$ac_check_lib_save_LIBS
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10952 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10953 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10954 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10956 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10957 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10958 lt_cv_dlopen
="dlopen"
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10961 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10962 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10963 $as_echo_n "(cached) " >&6
10965 ac_check_lib_save_LIBS
=$LIBS
10967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10968 /* end confdefs.h. */
10970 /* Override any GCC internal prototype to avoid an error.
10971 Use char because int might match the return type of a GCC
10972 builtin and then its argument prototype would still apply. */
10985 if ac_fn_c_try_link
"$LINENO"; then :
10986 ac_cv_lib_dl_dlopen
=yes
10988 ac_cv_lib_dl_dlopen
=no
10990 rm -f core conftest.err conftest.
$ac_objext \
10991 conftest
$ac_exeext conftest.
$ac_ext
10992 LIBS
=$ac_check_lib_save_LIBS
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10995 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10996 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10997 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11000 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11001 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11002 $as_echo_n "(cached) " >&6
11004 ac_check_lib_save_LIBS
=$LIBS
11005 LIBS
="-lsvld $LIBS"
11006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11007 /* end confdefs.h. */
11009 /* Override any GCC internal prototype to avoid an error.
11010 Use char because int might match the return type of a GCC
11011 builtin and then its argument prototype would still apply. */
11024 if ac_fn_c_try_link
"$LINENO"; then :
11025 ac_cv_lib_svld_dlopen
=yes
11027 ac_cv_lib_svld_dlopen
=no
11029 rm -f core conftest.err conftest.
$ac_objext \
11030 conftest
$ac_exeext conftest.
$ac_ext
11031 LIBS
=$ac_check_lib_save_LIBS
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11034 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11035 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11036 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11039 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11040 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11041 $as_echo_n "(cached) " >&6
11043 ac_check_lib_save_LIBS
=$LIBS
11045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11046 /* end confdefs.h. */
11048 /* Override any GCC internal prototype to avoid an error.
11049 Use char because int might match the return type of a GCC
11050 builtin and then its argument prototype would still apply. */
11058 return dld_link ();
11063 if ac_fn_c_try_link
"$LINENO"; then :
11064 ac_cv_lib_dld_dld_link
=yes
11066 ac_cv_lib_dld_dld_link
=no
11068 rm -f core conftest.err conftest.
$ac_objext \
11069 conftest
$ac_exeext conftest.
$ac_ext
11070 LIBS
=$ac_check_lib_save_LIBS
11072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11073 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11074 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11075 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11096 if test "x$lt_cv_dlopen" != xno
; then
11102 case $lt_cv_dlopen in
11104 save_CPPFLAGS
="$CPPFLAGS"
11105 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11107 save_LDFLAGS
="$LDFLAGS"
11108 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11111 LIBS
="$lt_cv_dlopen_libs $LIBS"
11113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11114 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11115 if test "${lt_cv_dlopen_self+set}" = set; then :
11116 $as_echo_n "(cached) " >&6
11118 if test "$cross_compiling" = yes; then :
11119 lt_cv_dlopen_self
=cross
11121 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11122 lt_status
=$lt_dlunknown
11123 cat > conftest.
$ac_ext <<_LT_EOF
11124 #line 11124 "configure"
11125 #include "confdefs.h"
11134 # define LT_DLGLOBAL RTLD_GLOBAL
11137 # define LT_DLGLOBAL DL_GLOBAL
11139 # define LT_DLGLOBAL 0
11143 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11144 find out it does not work in some platform. */
11145 #ifndef LT_DLLAZY_OR_NOW
11147 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11150 # define LT_DLLAZY_OR_NOW DL_LAZY
11153 # define LT_DLLAZY_OR_NOW RTLD_NOW
11156 # define LT_DLLAZY_OR_NOW DL_NOW
11158 # define LT_DLLAZY_OR_NOW 0
11165 /* When -fvisbility=hidden is used, assume the code has been annotated
11166 correspondingly for the symbols needed. */
11167 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11168 void fnord () __attribute__((visibility("default")));
11171 void fnord () { int i=42; }
11174 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11175 int status = $lt_dlunknown;
11179 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11182 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11183 else puts (dlerror ());
11185 /* dlclose (self); */
11193 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11194 (eval $ac_link) 2>&5
11196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11197 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11198 (.
/conftest
; exit; ) >&5 2>/dev
/null
11200 case x
$lt_status in
11201 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11202 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11203 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11206 # compilation failed
11207 lt_cv_dlopen_self
=no
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11215 $as_echo "$lt_cv_dlopen_self" >&6; }
11217 if test "x$lt_cv_dlopen_self" = xyes
; then
11218 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11220 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11221 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11222 $as_echo_n "(cached) " >&6
11224 if test "$cross_compiling" = yes; then :
11225 lt_cv_dlopen_self_static
=cross
11227 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11228 lt_status
=$lt_dlunknown
11229 cat > conftest.
$ac_ext <<_LT_EOF
11230 #line 11230 "configure"
11231 #include "confdefs.h"
11240 # define LT_DLGLOBAL RTLD_GLOBAL
11243 # define LT_DLGLOBAL DL_GLOBAL
11245 # define LT_DLGLOBAL 0
11249 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11250 find out it does not work in some platform. */
11251 #ifndef LT_DLLAZY_OR_NOW
11253 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11256 # define LT_DLLAZY_OR_NOW DL_LAZY
11259 # define LT_DLLAZY_OR_NOW RTLD_NOW
11262 # define LT_DLLAZY_OR_NOW DL_NOW
11264 # define LT_DLLAZY_OR_NOW 0
11271 /* When -fvisbility=hidden is used, assume the code has been annotated
11272 correspondingly for the symbols needed. */
11273 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11274 void fnord () __attribute__((visibility("default")));
11277 void fnord () { int i=42; }
11280 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11281 int status = $lt_dlunknown;
11285 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11288 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11289 else puts (dlerror ());
11291 /* dlclose (self); */
11299 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11300 (eval $ac_link) 2>&5
11302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11303 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11304 (.
/conftest
; exit; ) >&5 2>/dev
/null
11306 case x
$lt_status in
11307 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11308 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11309 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11312 # compilation failed
11313 lt_cv_dlopen_self_static
=no
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11321 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11324 CPPFLAGS
="$save_CPPFLAGS"
11325 LDFLAGS
="$save_LDFLAGS"
11330 case $lt_cv_dlopen_self in
11331 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11332 *) enable_dlopen_self
=unknown
;;
11335 case $lt_cv_dlopen_self_static in
11336 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11337 *) enable_dlopen_self_static
=unknown
;;
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11360 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11361 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11362 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11363 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11365 $as_echo "yes" >&6; }
11367 # FIXME - insert some real tests, host_os isn't really good enough
11370 if test -n "$STRIP" ; then
11371 striplib
="$STRIP -x"
11372 old_striplib
="$STRIP -S"
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11374 $as_echo "yes" >&6; }
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11377 $as_echo "no" >&6; }
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11382 $as_echo "no" >&6; }
11398 # Report which library types will actually be built
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11400 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11402 $as_echo "$can_build_shared" >&6; }
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11405 $as_echo_n "checking whether to build shared libraries... " >&6; }
11406 test "$can_build_shared" = "no" && enable_shared
=no
11408 # On AIX, shared libraries and static libraries use the same namespace, and
11409 # are all built from PIC.
11412 test "$enable_shared" = yes && enable_static
=no
11413 if test -n "$RANLIB"; then
11414 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11415 postinstall_cmds
='$RANLIB $lib'
11420 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11421 test "$enable_shared" = yes && enable_static
=no
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11426 $as_echo "$enable_shared" >&6; }
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11429 $as_echo_n "checking whether to build static libraries... " >&6; }
11430 # Make sure either enable_shared or enable_static is yes.
11431 test "$enable_shared" = yes || enable_static
=yes
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11433 $as_echo "$enable_static" >&6; }
11440 ac_cpp
='$CPP $CPPFLAGS'
11441 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11442 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11443 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11459 # Source file extension for Go test sources.
11462 # Object file extension for compiled Go test sources.
11466 # Code to be used in simple compile tests
11467 lt_simple_compile_test_code
="package main; func main() { }"
11469 # Code to be used in simple link tests
11470 lt_simple_link_test_code
='package main; func main() { }'
11472 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11479 # If no C compiler was specified, use CC.
11482 # If no C compiler flags were specified, use CFLAGS.
11483 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11485 # Allow CC to be a program name with arguments.
11489 # save warnings/boilerplate of simple test code
11490 ac_outfile
=conftest.
$ac_objext
11491 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11492 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11493 _lt_compiler_boilerplate
=`cat conftest.err`
11496 ac_outfile
=conftest.
$ac_objext
11497 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11498 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11499 _lt_linker_boilerplate
=`cat conftest.err`
11503 # Allow CC to be a program name with arguments.
11511 for cc_temp
in $compiler""; do
11513 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11514 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11519 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11522 # Go did not exist at the time GCC didn't implicitly link libc in.
11523 archive_cmds_need_lc_GO
=no
11525 old_archive_cmds_GO
=$old_archive_cmds
11528 ## There is no encapsulation within the following macros, do not change
11529 ## the running order or otherwise move them around unless you know exactly
11530 ## what you are doing...
11531 if test -n "$compiler"; then
11533 lt_prog_compiler_no_builtin_flag_GO
=
11535 if test "$GCC" = yes; then
11536 case $cc_basename in
11538 lt_prog_compiler_no_builtin_flag_GO
=' -Xcompiler -fno-builtin' ;;
11540 lt_prog_compiler_no_builtin_flag_GO
=' -fno-builtin' ;;
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11544 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11545 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
11546 $as_echo_n "(cached) " >&6
11548 lt_cv_prog_compiler_rtti_exceptions
=no
11549 ac_outfile
=conftest.
$ac_objext
11550 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11551 lt_compiler_flag
="-fno-rtti -fno-exceptions"
11552 # Insert the option either (1) after the last *FLAGS variable, or
11553 # (2) before a word containing "conftest.", or (3) at the end.
11554 # Note that $ac_compile itself does not contain backslashes and begins
11555 # with a dollar sign (not a hyphen), so the echo should work correctly.
11556 # The option is referenced via a variable to avoid confusing sed.
11557 lt_compile
=`echo "$ac_compile" | $SED \
11558 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11559 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11560 -e 's:$: $lt_compiler_flag:'`
11561 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11562 (eval "$lt_compile" 2>conftest.err
)
11564 cat conftest.err
>&5
11565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11566 if (exit $ac_status) && test -s "$ac_outfile"; then
11567 # The compiler can only warn and ignore the option if not recognized
11568 # So say no if there are warnings other than the usual output.
11569 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11570 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11571 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11572 lt_cv_prog_compiler_rtti_exceptions
=yes
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11579 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11581 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
11582 lt_prog_compiler_no_builtin_flag_GO
="$lt_prog_compiler_no_builtin_flag_GO -fno-rtti -fno-exceptions"
11591 lt_prog_compiler_wl_GO
=
11592 lt_prog_compiler_pic_GO
=
11593 lt_prog_compiler_static_GO
=
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11596 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11598 if test "$GCC" = yes; then
11599 lt_prog_compiler_wl_GO
='-Wl,'
11600 lt_prog_compiler_static_GO
='-static'
11604 # All AIX code is PIC.
11605 if test "$host_cpu" = ia64
; then
11606 # AIX 5 now supports IA64 processor
11607 lt_prog_compiler_static_GO
='-Bstatic'
11609 lt_prog_compiler_pic_GO
='-fPIC'
11615 # see comment about AmigaOS4 .so support
11616 lt_prog_compiler_pic_GO
='-fPIC'
11619 # FIXME: we need at least 68020 code to build shared libraries, but
11620 # adding the `-m68020' flag to GCC prevents building anything better,
11622 lt_prog_compiler_pic_GO
='-m68020 -resident32 -malways-restore-a4'
11627 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11628 # PIC is the default for these OSes.
11631 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11632 # This hack is so that the source file can tell whether it is being
11633 # built for inclusion in a dll (and should export symbols for example).
11634 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11635 # (--disable-auto-import) libraries
11636 lt_prog_compiler_pic_GO
='-DDLL_EXPORT'
11639 darwin
* | rhapsody
*)
11640 # PIC is the default on this platform
11641 # Common symbols not allowed in MH_DYLIB files
11642 lt_prog_compiler_pic_GO
='-fno-common'
11646 # PIC is the default for Haiku.
11647 # The "-static" flag exists, but is broken.
11648 lt_prog_compiler_static_GO
=
11652 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11653 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11654 # sets the default TLS model and affects inlining.
11660 lt_prog_compiler_pic_GO
='-fPIC'
11666 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11667 # Instead, we relocate shared libraries at runtime.
11671 # Just because we use GCC doesn't mean we suddenly get shared libraries
11672 # on systems that don't support them.
11673 lt_prog_compiler_can_build_shared_GO
=no
11678 # QNX uses GNU C++, but need to define -shared option too, otherwise
11679 # it will coredump.
11680 lt_prog_compiler_pic_GO
='-fPIC -shared'
11684 if test -d /usr
/nec
; then
11685 lt_prog_compiler_pic_GO
=-Kconform_pic
11690 lt_prog_compiler_pic_GO
='-fPIC'
11694 case $cc_basename in
11695 nvcc
*) # Cuda Compiler Driver 2.2
11696 lt_prog_compiler_wl_GO
='-Xlinker '
11697 lt_prog_compiler_pic_GO
='-Xcompiler -fPIC'
11701 # PORTME Check for flag to pass linker flags through the system compiler.
11704 lt_prog_compiler_wl_GO
='-Wl,'
11705 if test "$host_cpu" = ia64
; then
11706 # AIX 5 now supports IA64 processor
11707 lt_prog_compiler_static_GO
='-Bstatic'
11709 lt_prog_compiler_static_GO
='-bnso -bI:/lib/syscalls.exp'
11713 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11714 # This hack is so that the source file can tell whether it is being
11715 # built for inclusion in a dll (and should export symbols for example).
11716 lt_prog_compiler_pic_GO
='-DDLL_EXPORT'
11719 hpux9
* | hpux10
* | hpux11
*)
11720 lt_prog_compiler_wl_GO
='-Wl,'
11721 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11722 # not for PA HP-UX.
11728 lt_prog_compiler_pic_GO
='+Z'
11731 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11732 lt_prog_compiler_static_GO
='${wl}-a ${wl}archive'
11735 irix5
* | irix6
* | nonstopux
*)
11736 lt_prog_compiler_wl_GO
='-Wl,'
11737 # PIC (with -KPIC) is the default.
11738 lt_prog_compiler_static_GO
='-non_shared'
11741 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11742 case $cc_basename in
11743 # old Intel for x86_64 which still supported -KPIC.
11745 lt_prog_compiler_wl_GO
='-Wl,'
11746 lt_prog_compiler_pic_GO
='-KPIC'
11747 lt_prog_compiler_static_GO
='-static'
11749 # icc used to be incompatible with GCC.
11750 # ICC 10 doesn't accept -KPIC any more.
11752 lt_prog_compiler_wl_GO
='-Wl,'
11753 lt_prog_compiler_pic_GO
='-fPIC'
11754 lt_prog_compiler_static_GO
='-static'
11756 # Lahey Fortran 8.1.
11758 lt_prog_compiler_wl_GO
='-Wl,'
11759 lt_prog_compiler_pic_GO
='--shared'
11760 lt_prog_compiler_static_GO
='--static'
11762 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11763 # Portland Group compilers (*not* the Pentium gcc compiler,
11764 # which looks to be a dead project)
11765 lt_prog_compiler_wl_GO
='-Wl,'
11766 lt_prog_compiler_pic_GO
='-fpic'
11767 lt_prog_compiler_static_GO
='-Bstatic'
11770 lt_prog_compiler_wl_GO
='-Wl,'
11771 # All Alpha code is PIC.
11772 lt_prog_compiler_static_GO
='-non_shared'
11774 xl
* | bgxl
* | bgf
* | mpixl
*)
11775 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11776 lt_prog_compiler_wl_GO
='-Wl,'
11777 lt_prog_compiler_pic_GO
='-qpic'
11778 lt_prog_compiler_static_GO
='-qstaticlink'
11781 case `$CC -V 2>&1 | sed 5q` in
11782 *Sun\ F
* |
*Sun
*Fortran
*)
11783 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11784 lt_prog_compiler_pic_GO
='-KPIC'
11785 lt_prog_compiler_static_GO
='-Bstatic'
11786 lt_prog_compiler_wl_GO
=''
11790 lt_prog_compiler_pic_GO
='-KPIC'
11791 lt_prog_compiler_static_GO
='-Bstatic'
11792 lt_prog_compiler_wl_GO
='-Wl,'
11800 lt_prog_compiler_pic_GO
='-KPIC'
11801 lt_prog_compiler_static_GO
='-Bstatic'
11805 # QNX uses GNU C++, but need to define -shared option too, otherwise
11806 # it will coredump.
11807 lt_prog_compiler_pic_GO
='-fPIC -shared'
11810 osf3
* | osf4
* | osf5
*)
11811 lt_prog_compiler_wl_GO
='-Wl,'
11812 # All OSF/1 code is PIC.
11813 lt_prog_compiler_static_GO
='-non_shared'
11817 lt_prog_compiler_static_GO
='-non_shared'
11821 lt_prog_compiler_pic_GO
='-KPIC'
11822 lt_prog_compiler_static_GO
='-Bstatic'
11823 case $cc_basename in
11824 f77
* | f90
* | f95
*)
11825 lt_prog_compiler_wl_GO
='-Qoption ld ';;
11827 lt_prog_compiler_wl_GO
='-Wl,';;
11832 lt_prog_compiler_wl_GO
='-Qoption ld '
11833 lt_prog_compiler_pic_GO
='-PIC'
11834 lt_prog_compiler_static_GO
='-Bstatic'
11837 sysv4 | sysv4.2uw2
* | sysv4.3
*)
11838 lt_prog_compiler_wl_GO
='-Wl,'
11839 lt_prog_compiler_pic_GO
='-KPIC'
11840 lt_prog_compiler_static_GO
='-Bstatic'
11844 if test -d /usr
/nec
;then
11845 lt_prog_compiler_pic_GO
='-Kconform_pic'
11846 lt_prog_compiler_static_GO
='-Bstatic'
11850 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11851 lt_prog_compiler_wl_GO
='-Wl,'
11852 lt_prog_compiler_pic_GO
='-KPIC'
11853 lt_prog_compiler_static_GO
='-Bstatic'
11857 lt_prog_compiler_wl_GO
='-Wl,'
11858 lt_prog_compiler_can_build_shared_GO
=no
11862 lt_prog_compiler_pic_GO
='-pic'
11863 lt_prog_compiler_static_GO
='-Bstatic'
11867 lt_prog_compiler_can_build_shared_GO
=no
11873 # For platforms which do not support PIC, -DPIC is meaningless:
11875 lt_prog_compiler_pic_GO
=
11878 lt_prog_compiler_pic_GO
="$lt_prog_compiler_pic_GO"
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_GO" >&5
11882 $as_echo "$lt_prog_compiler_pic_GO" >&6; }
11887 # Check to make sure the PIC flag actually works.
11889 if test -n "$lt_prog_compiler_pic_GO"; then
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GO works" >&5
11891 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GO works... " >&6; }
11892 if test "${lt_cv_prog_compiler_pic_works_GO+set}" = set; then :
11893 $as_echo_n "(cached) " >&6
11895 lt_cv_prog_compiler_pic_works_GO
=no
11896 ac_outfile
=conftest.
$ac_objext
11897 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11898 lt_compiler_flag
="$lt_prog_compiler_pic_GO"
11899 # Insert the option either (1) after the last *FLAGS variable, or
11900 # (2) before a word containing "conftest.", or (3) at the end.
11901 # Note that $ac_compile itself does not contain backslashes and begins
11902 # with a dollar sign (not a hyphen), so the echo should work correctly.
11903 # The option is referenced via a variable to avoid confusing sed.
11904 lt_compile
=`echo "$ac_compile" | $SED \
11905 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11906 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11907 -e 's:$: $lt_compiler_flag:'`
11908 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11909 (eval "$lt_compile" 2>conftest.err
)
11911 cat conftest.err
>&5
11912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11913 if (exit $ac_status) && test -s "$ac_outfile"; then
11914 # The compiler can only warn and ignore the option if not recognized
11915 # So say no if there are warnings other than the usual output.
11916 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11917 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11918 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11919 lt_cv_prog_compiler_pic_works_GO
=yes
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_GO" >&5
11926 $as_echo "$lt_cv_prog_compiler_pic_works_GO" >&6; }
11928 if test x
"$lt_cv_prog_compiler_pic_works_GO" = xyes
; then
11929 case $lt_prog_compiler_pic_GO in
11931 *) lt_prog_compiler_pic_GO
=" $lt_prog_compiler_pic_GO" ;;
11934 lt_prog_compiler_pic_GO
=
11935 lt_prog_compiler_can_build_shared_GO
=no
11943 # Check to make sure the static flag actually works.
11945 wl
=$lt_prog_compiler_wl_GO eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GO\"
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11947 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11948 if test "${lt_cv_prog_compiler_static_works_GO+set}" = set; then :
11949 $as_echo_n "(cached) " >&6
11951 lt_cv_prog_compiler_static_works_GO
=no
11952 save_LDFLAGS
="$LDFLAGS"
11953 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11954 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11955 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11956 # The linker can only warn and ignore the option if not recognized
11957 # So say no if there are warnings
11958 if test -s conftest.err
; then
11959 # Append any errors to the config.log.
11960 cat conftest.err
1>&5
11961 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11962 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11963 if diff conftest.exp conftest.er2
>/dev
/null
; then
11964 lt_cv_prog_compiler_static_works_GO
=yes
11967 lt_cv_prog_compiler_static_works_GO
=yes
11971 LDFLAGS
="$save_LDFLAGS"
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_GO" >&5
11975 $as_echo "$lt_cv_prog_compiler_static_works_GO" >&6; }
11977 if test x
"$lt_cv_prog_compiler_static_works_GO" = xyes
; then
11980 lt_prog_compiler_static_GO
=
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11987 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11988 if test "${lt_cv_prog_compiler_c_o_GO+set}" = set; then :
11989 $as_echo_n "(cached) " >&6
11991 lt_cv_prog_compiler_c_o_GO
=no
11992 $RM -r conftest
2>/dev
/null
11996 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11998 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11999 # Insert the option either (1) after the last *FLAGS variable, or
12000 # (2) before a word containing "conftest.", or (3) at the end.
12001 # Note that $ac_compile itself does not contain backslashes and begins
12002 # with a dollar sign (not a hyphen), so the echo should work correctly.
12003 lt_compile
=`echo "$ac_compile" | $SED \
12004 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12005 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12006 -e 's:$: $lt_compiler_flag:'`
12007 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12008 (eval "$lt_compile" 2>out
/conftest.err
)
12010 cat out
/conftest.err
>&5
12011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12012 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12014 # The compiler can only warn and ignore the option if not recognized
12015 # So say no if there are warnings
12016 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12017 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12018 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12019 lt_cv_prog_compiler_c_o_GO
=yes
12024 # SGI C++ compiler will create directory out/ii_files/ for
12025 # template instantiation
12026 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12027 $RM out
/* && rmdir out
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
12034 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12039 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12040 if test "${lt_cv_prog_compiler_c_o_GO+set}" = set; then :
12041 $as_echo_n "(cached) " >&6
12043 lt_cv_prog_compiler_c_o_GO
=no
12044 $RM -r conftest
2>/dev
/null
12048 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12050 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12051 # Insert the option either (1) after the last *FLAGS variable, or
12052 # (2) before a word containing "conftest.", or (3) at the end.
12053 # Note that $ac_compile itself does not contain backslashes and begins
12054 # with a dollar sign (not a hyphen), so the echo should work correctly.
12055 lt_compile
=`echo "$ac_compile" | $SED \
12056 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12057 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12058 -e 's:$: $lt_compiler_flag:'`
12059 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12060 (eval "$lt_compile" 2>out
/conftest.err
)
12062 cat out
/conftest.err
>&5
12063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12064 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12066 # The compiler can only warn and ignore the option if not recognized
12067 # So say no if there are warnings
12068 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12069 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12070 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12071 lt_cv_prog_compiler_c_o_GO
=yes
12076 # SGI C++ compiler will create directory out/ii_files/ for
12077 # template instantiation
12078 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12079 $RM out
/* && rmdir out
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
12086 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
12091 hard_links
="nottested"
12092 if test "$lt_cv_prog_compiler_c_o_GO" = no
&& test "$need_locks" != no
; then
12093 # do not overwrite the value of need_locks provided by the user
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12095 $as_echo_n "checking if we can lock with hard links... " >&6; }
12098 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12100 ln conftest.a conftest.b
2>&5 || hard_links
=no
12101 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12103 $as_echo "$hard_links" >&6; }
12104 if test "$hard_links" = no
; then
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12106 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12116 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12119 allow_undefined_flag_GO
=
12120 always_export_symbols_GO
=no
12122 archive_expsym_cmds_GO
=
12123 compiler_needs_object_GO
=no
12124 enable_shared_with_static_runtimes_GO
=no
12125 export_dynamic_flag_spec_GO
=
12126 export_symbols_cmds_GO
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12127 hardcode_automatic_GO
=no
12128 hardcode_direct_GO
=no
12129 hardcode_direct_absolute_GO
=no
12130 hardcode_libdir_flag_spec_GO
=
12131 hardcode_libdir_flag_spec_ld_GO
=
12132 hardcode_libdir_separator_GO
=
12133 hardcode_minus_L_GO
=no
12134 hardcode_shlibpath_var_GO
=unsupported
12135 inherit_rpath_GO
=no
12136 link_all_deplibs_GO
=unknown
12138 module_expsym_cmds_GO
=
12139 old_archive_from_new_cmds_GO
=
12140 old_archive_from_expsyms_cmds_GO
=
12141 thread_safe_flag_spec_GO
=
12142 whole_archive_flag_spec_GO
=
12143 # include_expsyms should be a list of space-separated symbols to be *always*
12144 # included in the symbol list
12145 include_expsyms_GO
=
12146 # exclude_expsyms can be an extended regexp of symbols to exclude
12147 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12148 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12149 # as well as any symbol that contains `d'.
12150 exclude_expsyms_GO
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12151 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12152 # platforms (ab)use it in PIC code, but their linkers get confused if
12153 # the symbol is explicitly referenced. Since portable code cannot
12154 # rely on this symbol name, it's probably fine to never include it in
12155 # preloaded symbol tables.
12156 # Exclude shared library initialization/finalization symbols.
12157 extract_expsyms_cmds
=
12160 cygwin
* | mingw
* | pw32
* | cegcc
*)
12161 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12162 # When not using gcc, we currently assume that we are using
12163 # Microsoft Visual C++.
12164 if test "$GCC" != yes; then
12169 # we just hope/assume this is gcc and not c89 (= MSVC++)
12179 # On some targets, GNU ld is compatible enough with the native linker
12180 # that we're better off using the native interface for both.
12181 lt_use_gnu_ld_interface
=no
12182 if test "$with_gnu_ld" = yes; then
12185 # The AIX port of GNU ld has always aspired to compatibility
12186 # with the native linker. However, as the warning in the GNU ld
12187 # block says, versions before 2.19.5* couldn't really create working
12188 # shared libraries, regardless of the interface used.
12189 case `$LD -v 2>&1` in
12190 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
12191 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
12192 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
12194 lt_use_gnu_ld_interface
=yes
12199 lt_use_gnu_ld_interface
=yes
12204 if test "$lt_use_gnu_ld_interface" = yes; then
12205 # If archive_cmds runs LD, not CC, wlarc should be empty
12208 # Set some defaults for GNU ld with shared library support. These
12209 # are reset later if shared libraries are not supported. Putting them
12210 # here allows them to be overridden if necessary.
12211 runpath_var
=LD_RUN_PATH
12212 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12213 export_dynamic_flag_spec_GO
='${wl}--export-dynamic'
12214 # ancient GNU ld didn't support --whole-archive et. al.
12215 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12216 whole_archive_flag_spec_GO
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12218 whole_archive_flag_spec_GO
=
12220 supports_anon_versioning
=no
12221 case `$LD -v 2>&1` in
12222 *GNU\ gold
*) supports_anon_versioning
=yes ;;
12223 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12224 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12225 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12226 *\
2.11.
*) ;; # other 2.11 versions
12227 *) supports_anon_versioning
=yes ;;
12230 # See if GNU ld supports shared libraries.
12233 # On AIX/PPC, the GNU linker is very broken
12234 if test "$host_cpu" != ia64
; then
12238 *** Warning: the GNU linker, at least up to release 2.19, is reported
12239 *** to be unable to reliably create shared libraries on AIX.
12240 *** Therefore, libtool is disabling shared libraries support. If you
12241 *** really care for shared libraries, you may want to install binutils
12242 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12243 *** You will then need to restart the configuration process.
12252 # see comment about AmigaOS4 .so support
12253 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12254 archive_expsym_cmds_GO
=''
12257 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)'
12258 hardcode_libdir_flag_spec_GO
='-L$libdir'
12259 hardcode_minus_L_GO
=yes
12265 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12266 allow_undefined_flag_GO
=unsupported
12267 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12268 # support --undefined. This deserves some investigation. FIXME
12269 archive_cmds_GO
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12275 cygwin
* | mingw
* | pw32
* | cegcc
*)
12276 # _LT_TAGVAR(hardcode_libdir_flag_spec, GO) is actually meaningless,
12277 # as there is no search path for DLLs.
12278 hardcode_libdir_flag_spec_GO
='-L$libdir'
12279 export_dynamic_flag_spec_GO
='${wl}--export-all-symbols'
12280 allow_undefined_flag_GO
=unsupported
12281 always_export_symbols_GO
=no
12282 enable_shared_with_static_runtimes_GO
=yes
12283 export_symbols_cmds_GO
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12285 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12286 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12287 # If the export-symbols file already is a .def file (1st line
12288 # is EXPORTS), use it as is; otherwise, prepend...
12289 archive_expsym_cmds_GO
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12290 cp $export_symbols $output_objdir/$soname.def;
12292 echo EXPORTS > $output_objdir/$soname.def;
12293 cat $export_symbols >> $output_objdir/$soname.def;
12295 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12302 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12303 link_all_deplibs_GO
=yes
12307 hardcode_direct_GO
=no
12308 hardcode_shlibpath_var_GO
=no
12309 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12310 export_dynamic_flag_spec_GO
='${wl}-E'
12311 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12312 # Instead, shared libraries are loaded at an image base (0x10000000 by
12313 # default) and relocated if they conflict, which is a slow very memory
12314 # consuming and fragmenting process. To avoid this, we pick a random,
12315 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12316 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12317 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'
12318 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'
12321 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12323 if test "$host_os" = linux-dietlibc
; then
12324 case $cc_basename in
12325 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12328 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12329 && test "$tmp_diet" = no
12332 tmp_sharedflag
='-shared'
12333 case $cc_basename,$host_cpu in
12334 pgcc
*) # Portland Group C compiler
12335 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'
12336 tmp_addflag
=' $pic_flag'
12338 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12339 # Portland Group f77 and f90 compilers
12340 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'
12341 tmp_addflag
=' $pic_flag -Mnomain' ;;
12342 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12343 tmp_addflag
=' -i_dynamic' ;;
12344 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12345 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12346 ifc
* | ifort
*) # Intel Fortran compiler
12347 tmp_addflag
=' -nofor_main' ;;
12348 lf95
*) # Lahey Fortran 8.1
12349 whole_archive_flag_spec_GO
=
12350 tmp_sharedflag
='--shared' ;;
12351 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12352 tmp_sharedflag
='-qmkshrobj'
12354 nvcc
*) # Cuda Compiler Driver 2.2
12355 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'
12356 compiler_needs_object_GO
=yes
12359 case `$CC -V 2>&1 | sed 5q` in
12360 *Sun\ C
*) # Sun C 5.9
12361 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'
12362 compiler_needs_object_GO
=yes
12363 tmp_sharedflag
='-G' ;;
12364 *Sun\ F
*) # Sun Fortran 8.3
12365 tmp_sharedflag
='-G' ;;
12367 archive_cmds_GO
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12369 if test "x$supports_anon_versioning" = xyes
; then
12370 archive_expsym_cmds_GO
='echo "{ global:" > $output_objdir/$libname.ver~
12371 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12372 echo "local: *; };" >> $output_objdir/$libname.ver~
12373 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12376 case $cc_basename in
12377 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12378 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12379 whole_archive_flag_spec_GO
='--whole-archive$convenience --no-whole-archive'
12380 hardcode_libdir_flag_spec_GO
=
12381 hardcode_libdir_flag_spec_ld_GO
='-rpath $libdir'
12382 archive_cmds_GO
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12383 if test "x$supports_anon_versioning" = xyes
; then
12384 archive_expsym_cmds_GO
='echo "{ global:" > $output_objdir/$libname.ver~
12385 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12386 echo "local: *; };" >> $output_objdir/$libname.ver~
12387 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12397 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12398 archive_cmds_GO
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12401 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12402 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12407 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12411 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12412 *** create shared libraries on Solaris systems. Therefore, libtool
12413 *** is disabling shared libraries support. We urge you to upgrade GNU
12414 *** binutils to release 2.9.1 or newer. Another option is to modify
12415 *** your PATH or compiler configuration so that the native linker is
12416 *** used, and then restart.
12419 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12420 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12421 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12427 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12428 case `$LD -v 2>&1` in
12429 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12433 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12434 *** reliably create shared libraries on SCO systems. Therefore, libtool
12435 *** is disabling shared libraries support. We urge you to upgrade GNU
12436 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12437 *** your PATH or compiler configuration so that the native linker is
12438 *** used, and then restart.
12443 # For security reasons, it is highly recommended that you always
12444 # use absolute paths for naming shared libraries, and exclude the
12445 # DT_RUNPATH tag from executables and libraries. But doing so
12446 # requires that you compile everything twice, which is a pain.
12447 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12448 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12449 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12450 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12459 archive_cmds_GO
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12461 hardcode_direct_GO
=yes
12462 hardcode_shlibpath_var_GO
=no
12466 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12467 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12468 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12475 if test "$ld_shlibs_GO" = no
; then
12477 hardcode_libdir_flag_spec_GO
=
12478 export_dynamic_flag_spec_GO
=
12479 whole_archive_flag_spec_GO
=
12482 # PORTME fill in a description of your system's linker (not GNU ld)
12485 allow_undefined_flag_GO
=unsupported
12486 always_export_symbols_GO
=yes
12487 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'
12488 # Note: this linker hardcodes the directories in LIBPATH if there
12489 # are no directories specified by -L.
12490 hardcode_minus_L_GO
=yes
12491 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12492 # Neither direct hardcoding nor static linking is supported with a
12494 hardcode_direct_GO
=unsupported
12499 if test "$host_cpu" = ia64
; then
12500 # On IA64, the linker does run time linking by default, so we don't
12501 # have to do anything special.
12502 aix_use_runtimelinking
=no
12503 exp_sym_flag
='-Bexport'
12506 # If we're using GNU nm, then we don't want the "-C" option.
12507 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12508 # Also, AIX nm treats weak defined symbols like other global
12509 # defined symbols, whereas GNU nm marks them as "W".
12510 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
12511 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'
12513 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'
12515 aix_use_runtimelinking
=no
12517 # Test if we are trying to use run time linking or normal
12518 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12519 # need to do runtime linking.
12520 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12521 for ld_flag
in $LDFLAGS; do
12522 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
12523 aix_use_runtimelinking
=yes
12530 exp_sym_flag
='-bexport'
12531 no_entry_flag
='-bnoentry'
12534 # When large executables or shared objects are built, AIX ld can
12535 # have problems creating the table of contents. If linking a library
12536 # or program results in "error TOC overflow" add -mminimal-toc to
12537 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12538 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12541 hardcode_direct_GO
=yes
12542 hardcode_direct_absolute_GO
=yes
12543 hardcode_libdir_separator_GO
=':'
12544 link_all_deplibs_GO
=yes
12545 file_list_spec_GO
='${wl}-f,'
12547 if test "$GCC" = yes; then
12548 case $host_os in aix4.
[012]|aix4.
[012].
*)
12549 # We only want to do this on AIX 4.2 and lower, the check
12550 # below for broken collect2 doesn't work under 4.3+
12551 collect2name
=`${CC} -print-prog-name=collect2`
12552 if test -f "$collect2name" &&
12553 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12555 # We have reworked collect2
12558 # We have old collect2
12559 hardcode_direct_GO
=unsupported
12560 # It fails to find uninstalled libraries when the uninstalled
12561 # path is not listed in the libpath. Setting hardcode_minus_L
12562 # to unsupported forces relinking
12563 hardcode_minus_L_GO
=yes
12564 hardcode_libdir_flag_spec_GO
='-L$libdir'
12565 hardcode_libdir_separator_GO
=
12569 shared_flag
='-shared'
12570 if test "$aix_use_runtimelinking" = yes; then
12571 shared_flag
="$shared_flag "'${wl}-G'
12575 if test "$host_cpu" = ia64
; then
12576 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12577 # chokes on -Wl,-G. The following line is correct:
12580 if test "$aix_use_runtimelinking" = yes; then
12581 shared_flag
='${wl}-G'
12583 shared_flag
='${wl}-bM:SRE'
12588 export_dynamic_flag_spec_GO
='${wl}-bexpall'
12589 # It seems that -bexpall does not export symbols beginning with
12590 # underscore (_), so it is better to generate a list of symbols to export.
12591 always_export_symbols_GO
=yes
12592 if test "$aix_use_runtimelinking" = yes; then
12593 # Warning - without using the other runtime loading flags (-brtl),
12594 # -berok will link without error, but may produce a broken library.
12595 allow_undefined_flag_GO
='-berok'
12596 # Determine the default libpath from the value encoded in an
12597 # empty executable.
12598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12599 /* end confdefs.h. */
12609 if ac_fn_c_try_link
"$LINENO"; then :
12611 lt_aix_libpath_sed
='
12612 /Import File Strings/,/^$/ {
12618 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12619 # Check for a 64-bit object if we didn't find anything.
12620 if test -z "$aix_libpath"; then
12621 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12624 rm -f core conftest.err conftest.
$ac_objext \
12625 conftest
$ac_exeext conftest.
$ac_ext
12626 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12628 hardcode_libdir_flag_spec_GO
='${wl}-blibpath:$libdir:'"$aix_libpath"
12629 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"
12631 if test "$host_cpu" = ia64
; then
12632 hardcode_libdir_flag_spec_GO
='${wl}-R $libdir:/usr/lib:/lib'
12633 allow_undefined_flag_GO
="-z nodefs"
12634 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"
12636 # Determine the default libpath from the value encoded in an
12637 # empty executable.
12638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12639 /* end confdefs.h. */
12649 if ac_fn_c_try_link
"$LINENO"; then :
12651 lt_aix_libpath_sed
='
12652 /Import File Strings/,/^$/ {
12658 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12659 # Check for a 64-bit object if we didn't find anything.
12660 if test -z "$aix_libpath"; then
12661 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12664 rm -f core conftest.err conftest.
$ac_objext \
12665 conftest
$ac_exeext conftest.
$ac_ext
12666 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12668 hardcode_libdir_flag_spec_GO
='${wl}-blibpath:$libdir:'"$aix_libpath"
12669 # Warning - without using the other run time loading flags,
12670 # -berok will link without error, but may produce a broken library.
12671 no_undefined_flag_GO
=' ${wl}-bernotok'
12672 allow_undefined_flag_GO
=' ${wl}-berok'
12673 if test "$with_gnu_ld" = yes; then
12674 # We only use this code for GNU lds that support --whole-archive.
12675 whole_archive_flag_spec_GO
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12677 # Exported symbols can be pulled into shared objects from archives
12678 whole_archive_flag_spec_GO
='$convenience'
12680 archive_cmds_need_lc_GO
=yes
12681 # This is similar to how AIX traditionally builds its shared libraries.
12682 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'
12690 # see comment about AmigaOS4 .so support
12691 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12692 archive_expsym_cmds_GO
=''
12695 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)'
12696 hardcode_libdir_flag_spec_GO
='-L$libdir'
12697 hardcode_minus_L_GO
=yes
12703 export_dynamic_flag_spec_GO
=-rdynamic
12706 cygwin
* | mingw
* | pw32
* | cegcc
*)
12707 # When not using gcc, we currently assume that we are using
12708 # Microsoft Visual C++.
12709 # hardcode_libdir_flag_spec is actually meaningless, as there is
12710 # no search path for DLLs.
12711 hardcode_libdir_flag_spec_GO
=' '
12712 allow_undefined_flag_GO
=unsupported
12713 # Tell ltmain to make .lib files, not .a files.
12715 # Tell ltmain to make .dll files, not .so files.
12717 # FIXME: Setting linknames here is a bad hack.
12718 archive_cmds_GO
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12719 # The linker will automatically build a .lib file if we build a DLL.
12720 old_archive_from_new_cmds_GO
='true'
12721 # FIXME: Should let the user specify the lib program.
12722 old_archive_cmds_GO
='lib -OUT:$oldlib$oldobjs$old_deplibs'
12723 fix_srcfile_path_GO
='`cygpath -w "$srcfile"`'
12724 enable_shared_with_static_runtimes_GO
=yes
12727 darwin
* | rhapsody
*)
12730 archive_cmds_need_lc_GO
=no
12731 hardcode_direct_GO
=no
12732 hardcode_automatic_GO
=yes
12733 hardcode_shlibpath_var_GO
=unsupported
12734 if test "$lt_cv_ld_force_load" = "yes"; then
12735 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\"`'
12737 whole_archive_flag_spec_GO
=''
12739 link_all_deplibs_GO
=yes
12740 allow_undefined_flag_GO
="$_lt_dar_allow_undefined"
12741 case $cc_basename in
12742 ifort
*) _lt_dar_can_shared
=yes ;;
12743 *) _lt_dar_can_shared
=$GCC ;;
12745 if test "$_lt_dar_can_shared" = "yes"; then
12746 output_verbose_link_cmd
=func_echo_all
12747 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}"
12748 module_cmds_GO
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12749 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}"
12750 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}"
12759 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12760 hardcode_libdir_flag_spec_GO
='-L$libdir'
12761 hardcode_shlibpath_var_GO
=no
12764 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12765 # support. Future versions do this automatically, but an explicit c++rt0.o
12766 # does not break anything, and helps significantly (at the cost of a little
12769 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12770 hardcode_libdir_flag_spec_GO
='-R$libdir'
12771 hardcode_direct_GO
=yes
12772 hardcode_shlibpath_var_GO
=no
12775 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12777 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12778 hardcode_direct_GO
=yes
12779 hardcode_minus_L_GO
=yes
12780 hardcode_shlibpath_var_GO
=no
12783 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12784 freebsd
* | dragonfly
*)
12785 archive_cmds_GO
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12786 hardcode_libdir_flag_spec_GO
='-R$libdir'
12787 hardcode_direct_GO
=yes
12788 hardcode_shlibpath_var_GO
=no
12792 if test "$GCC" = yes; then
12793 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'
12795 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'
12797 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12798 hardcode_libdir_separator_GO
=:
12799 hardcode_direct_GO
=yes
12801 # hardcode_minus_L: Not really in the search PATH,
12802 # but as the default location of the library.
12803 hardcode_minus_L_GO
=yes
12804 export_dynamic_flag_spec_GO
='${wl}-E'
12808 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12809 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12811 archive_cmds_GO
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12813 if test "$with_gnu_ld" = no
; then
12814 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12815 hardcode_libdir_flag_spec_ld_GO
='+b $libdir'
12816 hardcode_libdir_separator_GO
=:
12817 hardcode_direct_GO
=yes
12818 hardcode_direct_absolute_GO
=yes
12819 export_dynamic_flag_spec_GO
='${wl}-E'
12820 # hardcode_minus_L: Not really in the search PATH,
12821 # but as the default location of the library.
12822 hardcode_minus_L_GO
=yes
12827 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12830 archive_cmds_GO
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12833 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12836 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12842 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12845 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12848 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12852 if test "$with_gnu_ld" = no
; then
12853 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12854 hardcode_libdir_separator_GO
=:
12858 hardcode_direct_GO
=no
12859 hardcode_shlibpath_var_GO
=no
12862 hardcode_direct_GO
=yes
12863 hardcode_direct_absolute_GO
=yes
12864 export_dynamic_flag_spec_GO
='${wl}-E'
12866 # hardcode_minus_L: Not really in the search PATH,
12867 # but as the default location of the library.
12868 hardcode_minus_L_GO
=yes
12874 irix5
* | irix6
* | nonstopux
*)
12875 if test "$GCC" = yes; then
12876 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'
12877 # Try to use the -exported_symbol ld option, if it does not
12878 # work, assume that -exports_file does not work either and
12879 # implicitly export all symbols.
12880 save_LDFLAGS
="$LDFLAGS"
12881 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12883 /* end confdefs.h. */
12886 if ac_fn_c_try_link
"$LINENO"; then :
12887 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'
12890 rm -f core conftest.err conftest.
$ac_objext \
12891 conftest
$ac_exeext conftest.
$ac_ext
12892 LDFLAGS
="$save_LDFLAGS"
12894 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'
12895 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'
12897 archive_cmds_need_lc_GO
='no'
12898 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12899 hardcode_libdir_separator_GO
=:
12900 inherit_rpath_GO
=yes
12901 link_all_deplibs_GO
=yes
12905 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12906 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12908 archive_cmds_GO
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12910 hardcode_libdir_flag_spec_GO
='-R$libdir'
12911 hardcode_direct_GO
=yes
12912 hardcode_shlibpath_var_GO
=no
12916 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12917 hardcode_direct_GO
=yes
12918 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12919 hardcode_libdir_separator_GO
=:
12920 hardcode_shlibpath_var_GO
=no
12927 if test -f /usr
/libexec
/ld.so
; then
12928 hardcode_direct_GO
=yes
12929 hardcode_shlibpath_var_GO
=no
12930 hardcode_direct_absolute_GO
=yes
12931 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12932 archive_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12933 archive_expsym_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12934 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12935 export_dynamic_flag_spec_GO
='${wl}-E'
12938 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
12939 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12940 hardcode_libdir_flag_spec_GO
='-R$libdir'
12943 archive_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12944 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12954 hardcode_libdir_flag_spec_GO
='-L$libdir'
12955 hardcode_minus_L_GO
=yes
12956 allow_undefined_flag_GO
=unsupported
12957 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'
12958 old_archive_from_new_cmds_GO
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12962 if test "$GCC" = yes; then
12963 allow_undefined_flag_GO
=' ${wl}-expect_unresolved ${wl}\*'
12964 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'
12966 allow_undefined_flag_GO
=' -expect_unresolved \*'
12967 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'
12969 archive_cmds_need_lc_GO
='no'
12970 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12971 hardcode_libdir_separator_GO
=:
12974 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
12975 if test "$GCC" = yes; then
12976 allow_undefined_flag_GO
=' ${wl}-expect_unresolved ${wl}\*'
12977 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'
12978 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12980 allow_undefined_flag_GO
=' -expect_unresolved \*'
12981 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'
12982 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~
12983 $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'
12985 # Both c and cxx compiler support -rpath directly
12986 hardcode_libdir_flag_spec_GO
='-rpath $libdir'
12988 archive_cmds_need_lc_GO
='no'
12989 hardcode_libdir_separator_GO
=:
12993 no_undefined_flag_GO
=' -z defs'
12994 if test "$GCC" = yes; then
12996 archive_cmds_GO
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12997 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12998 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13000 case `$CC -V 2>&1` in
13003 archive_cmds_GO
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13004 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13005 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13009 archive_cmds_GO
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13010 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13011 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13015 hardcode_libdir_flag_spec_GO
='-R$libdir'
13016 hardcode_shlibpath_var_GO
=no
13018 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13020 # The compiler driver will combine and reorder linker options,
13021 # but understands `-z linker_flag'. GCC discards it without `$wl',
13022 # but is careful enough not to reorder.
13023 # Supported since Solaris 2.6 (maybe 2.5.1?)
13024 if test "$GCC" = yes; then
13025 whole_archive_flag_spec_GO
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13027 whole_archive_flag_spec_GO
='-z allextract$convenience -z defaultextract'
13031 link_all_deplibs_GO
=yes
13035 if test "x$host_vendor" = xsequent
; then
13036 # Use $CC to link under sequent, because it throws in some extra .o
13037 # files that make .init and .fini sections work.
13038 archive_cmds_GO
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13040 archive_cmds_GO
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13042 hardcode_libdir_flag_spec_GO
='-L$libdir'
13043 hardcode_direct_GO
=yes
13044 hardcode_minus_L_GO
=yes
13045 hardcode_shlibpath_var_GO
=no
13049 case $host_vendor in
13051 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13052 hardcode_direct_GO
=yes # is this really true???
13055 ## LD is ld it makes a PLAMLIB
13056 ## CC just makes a GrossModule.
13057 archive_cmds_GO
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13058 reload_cmds_GO
='$CC -r -o $output$reload_objs'
13059 hardcode_direct_GO
=no
13062 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13063 hardcode_direct_GO
=no
#Motorola manual says yes, but my tests say they lie
13066 runpath_var
='LD_RUN_PATH'
13067 hardcode_shlibpath_var_GO
=no
13071 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13072 hardcode_shlibpath_var_GO
=no
13073 export_dynamic_flag_spec_GO
='-Bexport'
13077 if test -d /usr
/nec
; then
13078 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13079 hardcode_shlibpath_var_GO
=no
13080 runpath_var
=LD_RUN_PATH
13081 hardcode_runpath_var
=yes
13086 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13087 no_undefined_flag_GO
='${wl}-z,text'
13088 archive_cmds_need_lc_GO
=no
13089 hardcode_shlibpath_var_GO
=no
13090 runpath_var
='LD_RUN_PATH'
13092 if test "$GCC" = yes; then
13093 archive_cmds_GO
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13094 archive_expsym_cmds_GO
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13096 archive_cmds_GO
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13097 archive_expsym_cmds_GO
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13101 sysv5
* | sco3.2v5
* | sco5v6
*)
13102 # Note: We can NOT use -z defs as we might desire, because we do not
13103 # link with -lc, and that would cause any symbols used from libc to
13104 # always be unresolved, which means just about no library would
13105 # ever link correctly. If we're not using GNU ld we use -z text
13106 # though, which does catch some bad symbols but isn't as heavy-handed
13108 no_undefined_flag_GO
='${wl}-z,text'
13109 allow_undefined_flag_GO
='${wl}-z,nodefs'
13110 archive_cmds_need_lc_GO
=no
13111 hardcode_shlibpath_var_GO
=no
13112 hardcode_libdir_flag_spec_GO
='${wl}-R,$libdir'
13113 hardcode_libdir_separator_GO
=':'
13114 link_all_deplibs_GO
=yes
13115 export_dynamic_flag_spec_GO
='${wl}-Bexport'
13116 runpath_var
='LD_RUN_PATH'
13118 if test "$GCC" = yes; then
13119 archive_cmds_GO
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13120 archive_expsym_cmds_GO
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13122 archive_cmds_GO
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13123 archive_expsym_cmds_GO
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13128 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13129 hardcode_libdir_flag_spec_GO
='-L$libdir'
13130 hardcode_shlibpath_var_GO
=no
13138 if test x
$host_vendor = xsni
; then
13140 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13141 export_dynamic_flag_spec_GO
='${wl}-Blargedynsym'
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GO" >&5
13148 $as_echo "$ld_shlibs_GO" >&6; }
13149 test "$ld_shlibs_GO" = no
&& can_build_shared
=no
13151 with_gnu_ld_GO
=$with_gnu_ld
13159 # Do we need to explicitly link libc?
13161 case "x$archive_cmds_need_lc_GO" in
13163 # Assume -lc should be added
13164 archive_cmds_need_lc_GO
=yes
13166 if test "$enable_shared" = yes && test "$GCC" = yes; then
13167 case $archive_cmds_GO in
13169 # FIXME: we may have to deal with multi-command sequences.
13172 # Test whether the compiler implicitly links with -lc since on some
13173 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13174 # to ld, don't add -lc before -lgcc.
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13176 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13177 if test "${lt_cv_archive_cmds_need_lc_GO+set}" = set; then :
13178 $as_echo_n "(cached) " >&6
13181 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13183 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13184 (eval $ac_compile) 2>&5
13186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13187 test $ac_status = 0; } 2>conftest.err
; then
13190 libobjs
=conftest.
$ac_objext
13192 wl
=$lt_prog_compiler_wl_GO
13193 pic_flag
=$lt_prog_compiler_pic_GO
13199 lt_save_allow_undefined_flag
=$allow_undefined_flag_GO
13200 allow_undefined_flag_GO
=
13201 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GO 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13202 (eval $archive_cmds_GO 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13205 test $ac_status = 0; }
13207 lt_cv_archive_cmds_need_lc_GO
=no
13209 lt_cv_archive_cmds_need_lc_GO
=yes
13211 allow_undefined_flag_GO
=$lt_save_allow_undefined_flag
13213 cat conftest.err
1>&5
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_GO" >&5
13219 $as_echo "$lt_cv_archive_cmds_need_lc_GO" >&6; }
13220 archive_cmds_need_lc_GO
=$lt_cv_archive_cmds_need_lc_GO
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13291 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13292 hardcode_action_GO
=
13293 if test -n "$hardcode_libdir_flag_spec_GO" ||
13294 test -n "$runpath_var_GO" ||
13295 test "X$hardcode_automatic_GO" = "Xyes" ; then
13297 # We can hardcode non-existent directories.
13298 if test "$hardcode_direct_GO" != no
&&
13299 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13300 # have to relink, otherwise we might link with an installed library
13301 # when we should be linking with a yet-to-be-installed one
13302 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, GO)" != no &&
13303 test "$hardcode_minus_L_GO" != no
; then
13304 # Linking always hardcodes the temporary library directory.
13305 hardcode_action_GO
=relink
13307 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13308 hardcode_action_GO
=immediate
13311 # We cannot hardcode anything, or else we can only hardcode existing
13313 hardcode_action_GO
=unsupported
13315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GO" >&5
13316 $as_echo "$hardcode_action_GO" >&6; }
13318 if test "$hardcode_action_GO" = relink ||
13319 test "$inherit_rpath_GO" = yes; then
13320 # Fast installation is not supported
13321 enable_fast_install
=no
13322 elif test "$shlibpath_overrides_runpath" = yes ||
13323 test "$enable_shared" = no
; then
13324 # Fast installation is not necessary
13325 enable_fast_install
=needless
13337 ac_cpp
='$CPP $CPPFLAGS'
13338 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13339 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13340 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13349 ac_config_commands
="$ac_config_commands libtool"
13354 # Only expand once:
13360 CC_FOR_BUILD
=${CC_FOR_BUILD:-gcc}
13363 for ac_prog
in gawk mawk nawk
awk
13365 # Extract the first word of "$ac_prog", so it can be a program name with args.
13366 set dummy
$ac_prog; ac_word
=$2
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13368 $as_echo_n "checking for $ac_word... " >&6; }
13369 if test "${ac_cv_prog_AWK+set}" = set; then :
13370 $as_echo_n "(cached) " >&6
13372 if test -n "$AWK"; then
13373 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
13375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13376 for as_dir
in $PATH
13379 test -z "$as_dir" && as_dir
=.
13380 for ac_exec_ext
in '' $ac_executable_extensions; do
13381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13382 ac_cv_prog_AWK
="$ac_prog"
13383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13392 AWK
=$ac_cv_prog_AWK
13393 if test -n "$AWK"; then
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
13395 $as_echo "$AWK" >&6; }
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13398 $as_echo "no" >&6; }
13402 test -n "$AWK" && break
13406 WARN_FLAGS
='-Wall -Wextra -Wwrite-strings -Wcast-qual'
13409 # Check whether --enable-werror was given.
13410 if test "${enable_werror+set}" = set; then :
13411 enableval
=$enable_werror;
13414 if test "x$enable_werror" != "xno"; then
13419 glibgo_toolexecdir
=no
13420 glibgo_toolexeclibdir
=no
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
13423 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
13424 # Check whether --enable-version-specific-runtime-libs was given.
13425 if test "${enable_version_specific_runtime_libs+set}" = set; then :
13426 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
13427 yes) version_specific_libs
=yes ;;
13428 no
) version_specific_libs
=no
;;
13429 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
13432 version_specific_libs
=no
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
13436 $as_echo "$version_specific_libs" >&6; }
13438 # Version-specific runtime libs processing.
13439 if test $version_specific_libs = yes; then
13440 glibgo_toolexecdir
='${libdir}/gcc/${host_alias}'
13441 glibgo_toolexeclibdir
='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
13444 # Calculate glibgo_toolexecdir, glibgo_toolexeclibdir
13445 # Install a library built with a cross compiler in tooldir, not libdir.
13446 if test -n "$with_cross_host" &&
13447 test x
"$with_cross_host" != x
"no"; then
13448 nover_glibgo_toolexecdir
='${exec_prefix}/${host_alias}'
13449 nover_glibgo_toolexeclibdir
='${toolexecdir}/lib'
13451 nover_glibgo_toolexecdir
='${libdir}/gcc/${host_alias}'
13452 nover_glibgo_toolexeclibdir
='${libdir}'
13454 multi_os_directory
=`$GOC -print-multi-os-directory`
13455 case $multi_os_directory in
13456 .
) ;; # Avoid trailing /.
13457 *) nover_glibgo_toolexeclibdir
=${nover_glibgo_toolexeclibdir}/${multi_os_directory} ;;
13460 if test x
"$glibgo_toolexecdir" = x
"no"; then
13461 glibgo_toolexecdir
="${nover_glibgo_toolexecdir}"
13462 glibgo_toolexeclibdir
="${nover_glibgo_toolexeclibdir}"
13469 # See if the user wants to configure without libffi. Some
13470 # architectures don't support it. FIXME: We should set a default
13471 # based on the host.
13473 # Check whether --with-libffi was given.
13474 if test "${with_libffi+set}" = set; then :
13475 withval
=$with_libffi; :
13477 with_libffi
=${with_libffi_default-yes}
13483 if test "$with_libffi" != no
; then
13485 $as_echo "#define USE_LIBFFI 1" >>confdefs.h
13487 LIBFFI
=..
/libffi
/libffi_convenience.la
13488 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
13493 # See if the user wants to configure without libatomic. This is useful if we are
13494 # on an architecture for which libgo does not need an atomic support library and
13495 # libatomic does not support our C compiler.
13497 # Check whether --with-libatomic was given.
13498 if test "${with_libatomic+set}" = set; then :
13499 withval
=$with_libatomic; :
13501 with_libatomic
=${with_libatomic_default-yes}
13506 if test "$with_libatomic" != no
; then
13507 LIBATOMIC
=..
/libatomic
/libatomic_convenience.la
13511 # Used to tell GNU make to include a file without telling automake to
13513 go_include
="-include"
13527 *-*-darwin*) is_darwin
=yes; GOOS
=darwin
;;
13528 *-*-freebsd*) is_freebsd
=yes; GOOS
=freebsd
;;
13529 *-*-irix6*) is_irix
=yes; GOOS
=irix
;;
13530 *-*-linux*) is_linux
=yes; GOOS
=linux
;;
13531 *-*-netbsd*) is_netbsd
=yes; GOOS
=netbsd
;;
13532 *-*-openbsd*) is_openbsd
=yes; GOOS
=openbsd
;;
13533 *-*-dragonfly*) is_dragonfly
=yes; GOOS
=dragonfly
;;
13534 *-*-rtems*) is_rtems
=yes; GOOS
=rtems
;;
13535 *-*-solaris2*) is_solaris
=yes; GOOS
=solaris
;;
13537 if test $is_darwin = yes; then
13538 LIBGO_IS_DARWIN_TRUE
=
13539 LIBGO_IS_DARWIN_FALSE
='#'
13541 LIBGO_IS_DARWIN_TRUE
='#'
13542 LIBGO_IS_DARWIN_FALSE
=
13545 if test $is_freebsd = yes; then
13546 LIBGO_IS_FREEBSD_TRUE
=
13547 LIBGO_IS_FREEBSD_FALSE
='#'
13549 LIBGO_IS_FREEBSD_TRUE
='#'
13550 LIBGO_IS_FREEBSD_FALSE
=
13553 if test $is_irix = yes; then
13554 LIBGO_IS_IRIX_TRUE
=
13555 LIBGO_IS_IRIX_FALSE
='#'
13557 LIBGO_IS_IRIX_TRUE
='#'
13558 LIBGO_IS_IRIX_FALSE
=
13561 if test $is_linux = yes; then
13562 LIBGO_IS_LINUX_TRUE
=
13563 LIBGO_IS_LINUX_FALSE
='#'
13565 LIBGO_IS_LINUX_TRUE
='#'
13566 LIBGO_IS_LINUX_FALSE
=
13569 if test $is_netbsd = yes; then
13570 LIBGO_IS_NETBSD_TRUE
=
13571 LIBGO_IS_NETBSD_FALSE
='#'
13573 LIBGO_IS_NETBSD_TRUE
='#'
13574 LIBGO_IS_NETBSD_FALSE
=
13577 if test $is_openbsd = yes; then
13578 LIBGO_IS_OPENBSD_TRUE
=
13579 LIBGO_IS_OPENBSD_FALSE
='#'
13581 LIBGO_IS_OPENBSD_TRUE
='#'
13582 LIBGO_IS_OPENBSD_FALSE
=
13585 if test $is_dragonfly = yes; then
13586 LIBGO_IS_DRAGONFLY_TRUE
=
13587 LIBGO_IS_DRAGONFLY_FALSE
='#'
13589 LIBGO_IS_DRAGONFLY_TRUE
='#'
13590 LIBGO_IS_DRAGONFLY_FALSE
=
13593 if test $is_rtems = yes; then
13594 LIBGO_IS_RTEMS_TRUE
=
13595 LIBGO_IS_RTEMS_FALSE
='#'
13597 LIBGO_IS_RTEMS_TRUE
='#'
13598 LIBGO_IS_RTEMS_FALSE
=
13601 if test $is_solaris = yes; then
13602 LIBGO_IS_SOLARIS_TRUE
=
13603 LIBGO_IS_SOLARIS_FALSE
='#'
13605 LIBGO_IS_SOLARIS_TRUE
='#'
13606 LIBGO_IS_SOLARIS_FALSE
=
13613 *-*-rtems*) USE_DEJAGNU
=yes ;;
13615 *) USE_DEJAGNU
=yes ;;
13643 arm
*-*-* | strongarm
*-*-* | ep9312
*-*-* | xscale-
*-*)
13647 i
[34567]86-*-* | x86_64-
*-*)
13648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13649 /* end confdefs.h. */
13655 if ac_fn_c_try_compile
"$LINENO"; then :
13660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13661 if test "$is_386" = "yes"; then
13672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13673 /* end confdefs.h. */
13675 #if _MIPS_SIM != _ABIO32
13679 if ac_fn_c_try_compile
"$LINENO"; then :
13682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13683 /* end confdefs.h. */
13685 #if _MIPS_SIM != _ABIN32
13689 if ac_fn_c_try_compile
"$LINENO"; then :
13692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13693 /* end confdefs.h. */
13695 #if _MIPS_SIM != _ABI64
13699 if ac_fn_c_try_compile
"$LINENO"; then :
13702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13703 /* end confdefs.h. */
13705 #if _MIPS_SIM != _ABIO64
13709 if ac_fn_c_try_compile
"$LINENO"; then :
13712 as_fn_error
"unknown MIPS ABI" "$LINENO" 5
13715 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13717 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13719 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13721 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13722 case "$mips_abi" in
13723 "o32") GOARCH
=mipso32
;;
13724 "n32") GOARCH
=mipsn32
;;
13725 "n64") GOARCH
=mipsn64
;;
13726 "o64") GOARCH
=mipso64
;;
13729 rs6000
*-*-* | powerpc
*-*-*)
13730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13731 /* end confdefs.h. */
13737 if ac_fn_c_try_compile
"$LINENO"; then :
13740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13741 /* end confdefs.h. */
13743 #if defined(_BIG_ENDIAN) || defined(__BIG_ENDIAN__)
13747 if ac_fn_c_try_compile
"$LINENO"; then :
13752 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13754 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13755 if test "$is_ppc" = "yes"; then
13757 elif test "$is_ppc64" = "yes"; then
13764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13765 /* end confdefs.h. */
13767 #if defined(__s390x__)
13771 if ac_fn_c_try_compile
"$LINENO"; then :
13776 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13777 if test "$is_s390" = "yes"; then
13784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13785 /* end confdefs.h. */
13787 #if defined(__sparcv9) || defined(__arch64__)
13791 if ac_fn_c_try_compile
"$LINENO"; then :
13796 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13797 if test "$is_sparc" = "yes"; then
13804 if test $is_386 = yes; then
13806 LIBGO_IS_386_FALSE
='#'
13808 LIBGO_IS_386_TRUE
='#'
13809 LIBGO_IS_386_FALSE
=
13812 if test $is_alpha = yes; then
13813 LIBGO_IS_ALPHA_TRUE
=
13814 LIBGO_IS_ALPHA_FALSE
='#'
13816 LIBGO_IS_ALPHA_TRUE
='#'
13817 LIBGO_IS_ALPHA_FALSE
=
13820 if test $is_arm = yes; then
13822 LIBGO_IS_ARM_FALSE
='#'
13824 LIBGO_IS_ARM_TRUE
='#'
13825 LIBGO_IS_ARM_FALSE
=
13828 if test $is_arm64 = yes; then
13829 LIBGO_IS_ARM64_TRUE
=
13830 LIBGO_IS_ARM64_FALSE
='#'
13832 LIBGO_IS_ARM64_TRUE
='#'
13833 LIBGO_IS_ARM64_FALSE
=
13836 if test $is_m68k = yes; then
13837 LIBGO_IS_M68K_TRUE
=
13838 LIBGO_IS_M68K_FALSE
='#'
13840 LIBGO_IS_M68K_TRUE
='#'
13841 LIBGO_IS_M68K_FALSE
=
13844 if test $mips_abi != unknown
; then
13845 LIBGO_IS_MIPS_TRUE
=
13846 LIBGO_IS_MIPS_FALSE
='#'
13848 LIBGO_IS_MIPS_TRUE
='#'
13849 LIBGO_IS_MIPS_FALSE
=
13852 if test $mips_abi = o32
; then
13853 LIBGO_IS_MIPSO32_TRUE
=
13854 LIBGO_IS_MIPSO32_FALSE
='#'
13856 LIBGO_IS_MIPSO32_TRUE
='#'
13857 LIBGO_IS_MIPSO32_FALSE
=
13860 if test $mips_abi = n32
; then
13861 LIBGO_IS_MIPSN32_TRUE
=
13862 LIBGO_IS_MIPSN32_FALSE
='#'
13864 LIBGO_IS_MIPSN32_TRUE
='#'
13865 LIBGO_IS_MIPSN32_FALSE
=
13868 if test $mips_abi = n64
; then
13869 LIBGO_IS_MIPSN64_TRUE
=
13870 LIBGO_IS_MIPSN64_FALSE
='#'
13872 LIBGO_IS_MIPSN64_TRUE
='#'
13873 LIBGO_IS_MIPSN64_FALSE
=
13876 if test $mips_abi = o64
; then
13877 LIBGO_IS_MIPSO64_TRUE
=
13878 LIBGO_IS_MIPSO64_FALSE
='#'
13880 LIBGO_IS_MIPSO64_TRUE
='#'
13881 LIBGO_IS_MIPSO64_FALSE
=
13884 if test $is_ppc = yes; then
13886 LIBGO_IS_PPC_FALSE
='#'
13888 LIBGO_IS_PPC_TRUE
='#'
13889 LIBGO_IS_PPC_FALSE
=
13892 if test $is_ppc64 = yes; then
13893 LIBGO_IS_PPC64_TRUE
=
13894 LIBGO_IS_PPC64_FALSE
='#'
13896 LIBGO_IS_PPC64_TRUE
='#'
13897 LIBGO_IS_PPC64_FALSE
=
13900 if test $is_ppc64le = yes; then
13901 LIBGO_IS_PPC64LE_TRUE
=
13902 LIBGO_IS_PPC64LE_FALSE
='#'
13904 LIBGO_IS_PPC64LE_TRUE
='#'
13905 LIBGO_IS_PPC64LE_FALSE
=
13908 if test $is_s390 = yes; then
13909 LIBGO_IS_S390_TRUE
=
13910 LIBGO_IS_S390_FALSE
='#'
13912 LIBGO_IS_S390_TRUE
='#'
13913 LIBGO_IS_S390_FALSE
=
13916 if test $is_s390x = yes; then
13917 LIBGO_IS_S390X_TRUE
=
13918 LIBGO_IS_S390X_FALSE
='#'
13920 LIBGO_IS_S390X_TRUE
='#'
13921 LIBGO_IS_S390X_FALSE
=
13924 if test $is_sparc = yes; then
13925 LIBGO_IS_SPARC_TRUE
=
13926 LIBGO_IS_SPARC_FALSE
='#'
13928 LIBGO_IS_SPARC_TRUE
='#'
13929 LIBGO_IS_SPARC_FALSE
=
13932 if test $is_sparc64 = yes; then
13933 LIBGO_IS_SPARC64_TRUE
=
13934 LIBGO_IS_SPARC64_FALSE
='#'
13936 LIBGO_IS_SPARC64_TRUE
='#'
13937 LIBGO_IS_SPARC64_FALSE
=
13940 if test $is_x86_64 = yes; then
13941 LIBGO_IS_X86_64_TRUE
=
13942 LIBGO_IS_X86_64_FALSE
='#'
13944 LIBGO_IS_X86_64_TRUE
='#'
13945 LIBGO_IS_X86_64_FALSE
=
13950 GO_LIBCALL_OS_FILE
=
13951 GO_LIBCALL_OS_ARCH_FILE
=
13952 GO_SYSCALL_OS_FILE
=
13953 GO_SYSCALL_OS_ARCH_FILE
=
13954 if test -f "${srcdir}/go/syscall/libcall_${GOOS}.go"; then
13955 GO_LIBCALL_OS_FILE
="go/syscall/libcall_${GOOS}.go"
13957 if test -f "${srcdir}/go/syscall/libcall_${GOOS}_${GOARCH}.go"; then
13958 GO_LIBCALL_OS_ARCH_FILE
="go/syscall/libcall_${GOOS}_${GOARCH}.go"
13960 if test -f "${srcdir}/go/syscall/syscall_${GOOS}.go"; then
13961 GO_SYSCALL_OS_FILE
="go/syscall/syscall_${GOOS}.go"
13963 if test -f "${srcdir}/go/syscall/syscall_${GOOS}_${GOARCH}.go"; then
13964 GO_SYSCALL_OS_ARCH_FILE
="go/syscall/syscall_${GOOS}_${GOARCH}.go"
13971 OSCFLAGS
="-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
13974 # IRIX 6 needs _XOPEN_SOURCE=500 for the XPG5 version of struct
13975 # msghdr in <sys/socket.h>.
13976 OSCFLAGS
="$OSCFLAGS -D_XOPEN_SOURCE=500"
13978 *-*-solaris2.1
[01])
13979 # Solaris 10+ needs this so struct msghdr gets the msg_control
13980 # etc. fields in <sys/socket.h> (_XPG4_2). _XOPEN_SOURCE=600 as
13981 # above doesn't work with C99.
13982 OSCFLAGS
="$OSCFLAGS -std=gnu99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__"
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fsplit-stack is supported" >&5
13988 $as_echo_n "checking whether -fsplit-stack is supported... " >&6; }
13989 if test "${libgo_cv_c_split_stack_supported+set}" = set; then :
13990 $as_echo_n "(cached) " >&6
13992 CFLAGS_hold
=$CFLAGS
13993 CFLAGS
="$CFLAGS -fsplit-stack"
13994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13995 /* end confdefs.h. */
13998 if ac_fn_c_try_compile
"$LINENO"; then :
13999 libgo_cv_c_split_stack_supported
=yes
14001 libgo_cv_c_split_stack_supported
=no
14003 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14004 CFLAGS
=$CFLAGS_hold
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_split_stack_supported" >&5
14007 $as_echo "$libgo_cv_c_split_stack_supported" >&6; }
14008 if test "$libgo_cv_c_split_stack_supported" = yes; then
14009 SPLIT_STACK
=-fsplit-stack
14011 $as_echo "#define USING_SPLIT_STACK 1" >>confdefs.h
14017 if test "$libgo_cv_c_split_stack_supported" = yes; then
14018 USING_SPLIT_STACK_TRUE
=
14019 USING_SPLIT_STACK_FALSE
='#'
14021 USING_SPLIT_STACK_TRUE
='#'
14022 USING_SPLIT_STACK_FALSE
=
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker supports split stack" >&5
14027 $as_echo_n "checking whether linker supports split stack... " >&6; }
14028 if test "${libgo_cv_c_linker_supports_split_stack+set}" = set; then :
14029 $as_echo_n "(cached) " >&6
14031 libgo_cv_c_linker_supports_split_stack
=no
14032 if $GOC -Wl,--help 2>/dev
/null |
grep split-stack-adjust-size
>/dev
/null
2>&1; then
14033 libgo_cv_c_linker_supports_split_stack
=yes
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_linker_supports_split_stack" >&5
14037 $as_echo "$libgo_cv_c_linker_supports_split_stack" >&6; }
14038 if test "$libgo_cv_c_linker_supports_split_stack" = yes; then
14040 $as_echo "#define LINKER_SUPPORTS_SPLIT_STACK 1" >>confdefs.h
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler is llgo" >&5
14045 $as_echo_n "checking whether compiler is llgo... " >&6; }
14046 if test "${libgo_cv_c_goc_is_llgo+set}" = set; then :
14047 $as_echo_n "(cached) " >&6
14049 libgo_cv_c_goc_is_llgo
=no
14050 if $GOC -dumpversion 2>/dev
/null |
grep llgo
>/dev
/null
2>&1; then
14051 libgo_cv_c_goc_is_llgo
=yes
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_goc_is_llgo" >&5
14055 $as_echo "$libgo_cv_c_goc_is_llgo" >&6; }
14056 if test "$libgo_cv_c_goc_is_llgo" = yes; then
14058 GOC_IS_LLGO_FALSE
='#'
14060 GOC_IS_LLGO_TRUE
='#'
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
14067 $as_echo_n "checking for sqrt in -lm... " >&6; }
14068 if test "${ac_cv_lib_m_sqrt+set}" = set; then :
14069 $as_echo_n "(cached) " >&6
14071 ac_check_lib_save_LIBS
=$LIBS
14073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14074 /* end confdefs.h. */
14076 /* Override any GCC internal prototype to avoid an error.
14077 Use char because int might match the return type of a GCC
14078 builtin and then its argument prototype would still apply. */
14091 if ac_fn_c_try_link
"$LINENO"; then :
14092 ac_cv_lib_m_sqrt
=yes
14094 ac_cv_lib_m_sqrt
=no
14096 rm -f core conftest.err conftest.
$ac_objext \
14097 conftest
$ac_exeext conftest.
$ac_ext
14098 LIBS
=$ac_check_lib_save_LIBS
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
14101 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
14102 if test "x$ac_cv_lib_m_sqrt" = x
""yes; then :
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
14109 $as_echo_n "checking for socket libraries... " >&6; }
14110 if test "${libgo_cv_lib_sockets+set}" = set; then :
14111 $as_echo_n "(cached) " >&6
14113 libgo_cv_lib_sockets
=
14114 libgo_check_both
=no
14115 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14116 if test "x$ac_cv_func_connect" = x
""yes; then :
14117 libgo_check_socket
=no
14119 libgo_check_socket
=yes
14122 if test "$libgo_check_socket" = "yes"; then
14123 unset ac_cv_func_connect
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
14125 $as_echo_n "checking for main in -lsocket... " >&6; }
14126 if test "${ac_cv_lib_socket_main+set}" = set; then :
14127 $as_echo_n "(cached) " >&6
14129 ac_check_lib_save_LIBS
=$LIBS
14130 LIBS
="-lsocket $LIBS"
14131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14132 /* end confdefs.h. */
14143 if ac_fn_c_try_link
"$LINENO"; then :
14144 ac_cv_lib_socket_main
=yes
14146 ac_cv_lib_socket_main
=no
14148 rm -f core conftest.err conftest.
$ac_objext \
14149 conftest
$ac_exeext conftest.
$ac_ext
14150 LIBS
=$ac_check_lib_save_LIBS
14152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
14153 $as_echo "$ac_cv_lib_socket_main" >&6; }
14154 if test "x$ac_cv_lib_socket_main" = x
""yes; then :
14155 libgo_cv_lib_sockets
="-lsocket"
14157 libgo_check_both
=yes
14161 if test "$libgo_check_both" = "yes"; then
14162 libgo_old_libs
=$LIBS
14163 LIBS
="$LIBS -lsocket -lnsl"
14164 unset ac_cv_func_accept
14165 ac_fn_c_check_func
"$LINENO" "accept" "ac_cv_func_accept"
14166 if test "x$ac_cv_func_accept" = x
""yes; then :
14168 libgo_cv_lib_sockets
="-lsocket -lnsl"
14171 unset ac_cv_func_accept
14172 LIBS
=$libgo_old_libs
14174 unset ac_cv_func_gethostbyname
14175 libgo_old_libs
="$LIBS"
14176 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14177 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
14181 $as_echo_n "checking for main in -lnsl... " >&6; }
14182 if test "${ac_cv_lib_nsl_main+set}" = set; then :
14183 $as_echo_n "(cached) " >&6
14185 ac_check_lib_save_LIBS
=$LIBS
14187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14188 /* end confdefs.h. */
14199 if ac_fn_c_try_link
"$LINENO"; then :
14200 ac_cv_lib_nsl_main
=yes
14202 ac_cv_lib_nsl_main
=no
14204 rm -f core conftest.err conftest.
$ac_objext \
14205 conftest
$ac_exeext conftest.
$ac_ext
14206 LIBS
=$ac_check_lib_save_LIBS
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
14209 $as_echo "$ac_cv_lib_nsl_main" >&6; }
14210 if test "x$ac_cv_lib_nsl_main" = x
""yes; then :
14211 libgo_cv_lib_sockets
="$libgo_cv_lib_sockets -lnsl"
14216 unset ac_cv_func_gethostbyname
14217 LIBS
=$libgo_old_libs
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_sockets" >&5
14221 $as_echo "$libgo_cv_lib_sockets" >&6; }
14222 NET_LIBS
="$libgo_cv_lib_sockets"
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -pthread is supported" >&5
14226 $as_echo_n "checking whether -pthread is supported... " >&6; }
14227 if test "${libgo_cv_lib_pthread+set}" = set; then :
14228 $as_echo_n "(cached) " >&6
14230 CFLAGS_hold
=$CFLAGS
14231 CFLAGS
="$CFLAGS -pthread"
14232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14233 /* end confdefs.h. */
14236 if ac_fn_c_try_compile
"$LINENO"; then :
14237 libgo_cv_lib_pthread
=yes
14239 libgo_cv_lib_pthread
=no
14241 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14242 CFLAGS
=$CFLAGS_hold
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_pthread" >&5
14245 $as_echo "$libgo_cv_lib_pthread" >&6; }
14247 if test "$libgo_cv_lib_pthread" = yes; then
14248 PTHREAD_CFLAGS
=-pthread
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
14254 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
14255 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
14256 $as_echo_n "(cached) " >&6
14258 ac_check_lib_save_LIBS
=$LIBS
14259 LIBS
="-lpthread $LIBS"
14260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14261 /* end confdefs.h. */
14263 /* Override any GCC internal prototype to avoid an error.
14264 Use char because int might match the return type of a GCC
14265 builtin and then its argument prototype would still apply. */
14269 char pthread_create ();
14273 return pthread_create ();
14278 if ac_fn_c_try_link
"$LINENO"; then :
14279 ac_cv_lib_pthread_pthread_create
=yes
14281 ac_cv_lib_pthread_pthread_create
=no
14283 rm -f core conftest.err conftest.
$ac_objext \
14284 conftest
$ac_exeext conftest.
$ac_ext
14285 LIBS
=$ac_check_lib_save_LIBS
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
14288 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
14289 if test "x$ac_cv_lib_pthread_pthread_create" = x
""yes; then :
14290 PTHREAD_LIBS
=-lpthread
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
14296 $as_echo_n "checking for library containing sched_yield... " >&6; }
14297 if test "${ac_cv_search_sched_yield+set}" = set; then :
14298 $as_echo_n "(cached) " >&6
14300 ac_func_search_save_LIBS
=$LIBS
14301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14302 /* end confdefs.h. */
14304 /* Override any GCC internal prototype to avoid an error.
14305 Use char because int might match the return type of a GCC
14306 builtin and then its argument prototype would still apply. */
14310 char sched_yield ();
14314 return sched_yield ();
14319 for ac_lib
in '' rt
; do
14320 if test -z "$ac_lib"; then
14321 ac_res
="none required"
14324 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14326 if ac_fn_c_try_link
"$LINENO"; then :
14327 ac_cv_search_sched_yield
=$ac_res
14329 rm -f core conftest.err conftest.
$ac_objext \
14331 if test "${ac_cv_search_sched_yield+set}" = set; then :
14335 if test "${ac_cv_search_sched_yield+set}" = set; then :
14338 ac_cv_search_sched_yield
=no
14340 rm conftest.
$ac_ext
14341 LIBS
=$ac_func_search_save_LIBS
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
14344 $as_echo "$ac_cv_search_sched_yield" >&6; }
14345 ac_res
=$ac_cv_search_sched_yield
14346 if test "$ac_res" != no
; then :
14347 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
14352 $as_echo_n "checking for library containing nanosleep... " >&6; }
14353 if test "${ac_cv_search_nanosleep+set}" = set; then :
14354 $as_echo_n "(cached) " >&6
14356 ac_func_search_save_LIBS
=$LIBS
14357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14358 /* end confdefs.h. */
14360 /* Override any GCC internal prototype to avoid an error.
14361 Use char because int might match the return type of a GCC
14362 builtin and then its argument prototype would still apply. */
14370 return nanosleep ();
14375 for ac_lib
in '' rt
; do
14376 if test -z "$ac_lib"; then
14377 ac_res
="none required"
14380 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14382 if ac_fn_c_try_link
"$LINENO"; then :
14383 ac_cv_search_nanosleep
=$ac_res
14385 rm -f core conftest.err conftest.
$ac_objext \
14387 if test "${ac_cv_search_nanosleep+set}" = set; then :
14391 if test "${ac_cv_search_nanosleep+set}" = set; then :
14394 ac_cv_search_nanosleep
=no
14396 rm conftest.
$ac_ext
14397 LIBS
=$ac_func_search_save_LIBS
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
14400 $as_echo "$ac_cv_search_nanosleep" >&6; }
14401 ac_res
=$ac_cv_search_nanosleep
14402 if test "$ac_res" != no
; then :
14403 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
14409 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
14410 if test "${ac_cv_c_bigendian+set}" = set; then :
14411 $as_echo_n "(cached) " >&6
14413 ac_cv_c_bigendian
=unknown
14414 # See if we're dealing with a universal compiler.
14415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14416 /* end confdefs.h. */
14417 #ifndef __APPLE_CC__
14418 not a universal capable compiler
14423 if ac_fn_c_try_compile
"$LINENO"; then :
14425 # Check for potential -arch flags. It is not universal unless
14426 # there are at least two -arch flags with different values.
14429 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
14430 if test -n "$ac_prev"; then
14432 i?
86 | x86_64 | ppc | ppc64
)
14433 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
14436 ac_cv_c_bigendian
=universal
14442 elif test "x$ac_word" = "x-arch"; then
14447 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14448 if test $ac_cv_c_bigendian = unknown
; then
14449 # See if sys/param.h defines the BYTE_ORDER macro.
14450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14451 /* end confdefs.h. */
14452 #include <sys/types.h>
14453 #include <sys/param.h>
14458 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
14459 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
14461 bogus endian macros
14468 if ac_fn_c_try_compile
"$LINENO"; then :
14469 # It does; now see whether it defined to BIG_ENDIAN or not.
14470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14471 /* end confdefs.h. */
14472 #include <sys/types.h>
14473 #include <sys/param.h>
14478 #if BYTE_ORDER != BIG_ENDIAN
14486 if ac_fn_c_try_compile
"$LINENO"; then :
14487 ac_cv_c_bigendian
=yes
14489 ac_cv_c_bigendian
=no
14491 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14493 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14495 if test $ac_cv_c_bigendian = unknown
; then
14496 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
14497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14498 /* end confdefs.h. */
14499 #include <limits.h>
14504 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
14505 bogus endian macros
14512 if ac_fn_c_try_compile
"$LINENO"; then :
14513 # It does; now see whether it defined to _BIG_ENDIAN or not.
14514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14515 /* end confdefs.h. */
14516 #include <limits.h>
14521 #ifndef _BIG_ENDIAN
14529 if ac_fn_c_try_compile
"$LINENO"; then :
14530 ac_cv_c_bigendian
=yes
14532 ac_cv_c_bigendian
=no
14534 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14536 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14538 if test $ac_cv_c_bigendian = unknown
; then
14539 # Compile a test program.
14540 if test "$cross_compiling" = yes; then :
14541 # Try to guess by grepping values from an object file.
14542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14543 /* end confdefs.h. */
14544 short int ascii_mm[] =
14545 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14546 short int ascii_ii[] =
14547 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14548 int use_ascii (int i) {
14549 return ascii_mm[i] + ascii_ii[i];
14551 short int ebcdic_ii[] =
14552 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14553 short int ebcdic_mm[] =
14554 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14555 int use_ebcdic (int i) {
14556 return ebcdic_mm[i] + ebcdic_ii[i];
14563 return use_ascii (foo) == use_ebcdic (foo);
14568 if ac_fn_c_try_compile
"$LINENO"; then :
14569 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
14570 ac_cv_c_bigendian
=yes
14572 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
14573 if test "$ac_cv_c_bigendian" = unknown
; then
14574 ac_cv_c_bigendian
=no
14576 # finding both strings is unlikely to happen, but who knows?
14577 ac_cv_c_bigendian
=unknown
14581 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14584 /* end confdefs.h. */
14585 $ac_includes_default
14590 /* Are we little or big endian? From Harbison&Steele. */
14594 char c[sizeof (long int)];
14597 return u.c[sizeof (long int) - 1] == 1;
14603 if ac_fn_c_try_run
"$LINENO"; then :
14604 ac_cv_c_bigendian
=no
14606 ac_cv_c_bigendian
=yes
14608 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14609 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
14615 $as_echo "$ac_cv_c_bigendian" >&6; }
14616 case $ac_cv_c_bigendian in #(
14618 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
14624 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
14628 as_fn_error
"unknown endianness
14629 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
14635 # Check whether --with-system-libunwind was given.
14636 if test "${with_system_libunwind+set}" = set; then :
14637 withval
=$with_system_libunwind;
14640 # If system-libunwind was not specifically set, pick a default setting.
14641 if test x
$with_system_libunwind = x
; then
14643 ia64-
*-hpux*) with_system_libunwind
=yes ;;
14644 *) with_system_libunwind
=no
;;
14647 # Based on system-libunwind and target, do we have ipinfo?
14648 if test x
$with_system_libunwind = xyes
; then
14650 ia64-
*-*) have_unwind_getipinfo
=no
;;
14651 *) have_unwind_getipinfo
=yes ;;
14654 # Darwin before version 9 does not have _Unwind_GetIPInfo.
14657 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
14658 *) have_unwind_getipinfo
=yes ;;
14663 if test x
$have_unwind_getipinfo = xyes
; then
14665 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
14670 # Check whether --enable-sjlj-exceptions was given.
14671 if test "${enable_sjlj_exceptions+set}" = set; then :
14672 enableval
=$enable_sjlj_exceptions; case "$enableval" in
14674 *) as_fn_error
"unknown argument to --enable-sjlj-exceptions" "$LINENO" 5 ;;
14677 enable_sjlj_exceptions
=auto
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use setjmp/longjmp exceptions" >&5
14682 $as_echo_n "checking whether to use setjmp/longjmp exceptions... " >&6; }
14683 if test "${libgo_cv_lib_sjlj_exceptions+set}" = set; then :
14684 $as_echo_n "(cached) " >&6
14686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14687 /* end confdefs.h. */
14690 void clean (int *);
14693 int i __attribute__ ((cleanup (clean)));
14698 CFLAGS_hold
=$CFLAGS
14699 CFLAGS
="--save-temps -fexceptions"
14700 libgo_cv_lib_sjlj_exceptions
=unknown
14701 if ac_fn_c_try_compile
; then :
14702 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1; then
14703 libgo_cv_lib_sjlj_exceptions
=yes
14704 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1; then
14705 libgo_cv_lib_sjlj_exceptions
=no
14708 CFLAGS
=$CFLAGS_hold
14712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_sjlj_exceptions" >&5
14713 $as_echo "$libgo_cv_lib_sjlj_exceptions" >&6; }
14715 if test "$enable_sjlj_exceptions" = "auto"; then
14716 enable_sjlj_exceptions
=$libgo_cv_lib_sjlj_exceptions
14719 case $enable_sjlj_exceptions in
14722 $as_echo "#define LIBGO_SJLJ_EXCEPTIONS 1" >>confdefs.h
14728 as_fn_error
"unable to detect exception model" "$LINENO" 5
14732 for ac_header
in sched.h sys
/file.h sys
/mman.h syscall.h sys
/epoll.h sys
/inotify.h sys
/ptrace.h sys
/syscall.h sys
/user.h sys
/utsname.h sys
/select.h sys
/socket.h net
/if.h net
/if_arp.h net
/route.h netpacket
/packet.h sys
/prctl.h sys
/mount.h sys
/vfs.h sys
/statfs.h sys
/timex.h sys
/sysinfo.h utime.h linux
/ether.h linux
/fs.h linux
/reboot.h netinet
/icmp6.h netinet
/in_syst.h netinet
/ip.h netinet
/ip_mroute.h netinet
/if_ether.h
14734 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14735 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14736 eval as_val
=\$
$as_ac_Header
14737 if test "x$as_val" = x
""yes; then :
14738 cat >>confdefs.h
<<_ACEOF
14739 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14747 for ac_header
in linux
/filter.h linux
/if_addr.h linux
/if_ether.h linux
/if_tun.h linux
/netlink.h linux
/rtnetlink.h
14749 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14750 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_SOCKET_H
14751 #include <sys/socket.h>
14755 eval as_val
=\$
$as_ac_Header
14756 if test "x$as_val" = x
""yes; then :
14757 cat >>confdefs.h
<<_ACEOF
14758 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <ustat.h> can be used" >&5
14767 $as_echo_n "checking whether <ustat.h> can be used... " >&6; }
14768 if test "${libgo_cv_c_ustat_h+set}" = set; then :
14769 $as_echo_n "(cached) " >&6
14771 CFLAGS_hold
=$CFLAGS
14772 CFLAGS
="$CFLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE $OSCFLAGS"
14773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14774 /* end confdefs.h. */
14776 #include <sys/types.h>
14777 #ifdef HAVE_LINUX_FILTER_H
14778 #include <linux/filter.h>
14783 if ac_fn_c_try_compile
"$LINENO"; then :
14784 libgo_cv_c_ustat_h
=yes
14786 libgo_cv_c_ustat_h
=no
14788 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14789 CFLAGS
=$CFLAGS_hold
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_ustat_h" >&5
14792 $as_echo "$libgo_cv_c_ustat_h" >&6; }
14793 if test $libgo_cv_c_ustat_h = yes; then
14795 $as_echo "#define HAVE_USTAT_H 1" >>confdefs.h
14799 if test "$ac_cv_header_sys_mman_h" = yes; then
14800 HAVE_SYS_MMAN_H_TRUE
=
14801 HAVE_SYS_MMAN_H_FALSE
='#'
14803 HAVE_SYS_MMAN_H_TRUE
='#'
14804 HAVE_SYS_MMAN_H_FALSE
=
14808 for ac_func
in strerror_r strsignal wait4 mincore setenv unsetenv dl_iterate_phdr
14810 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14811 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14812 eval as_val
=\$
$as_ac_var
14813 if test "x$as_val" = x
""yes; then :
14814 cat >>confdefs.h
<<_ACEOF
14815 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14821 if test "$ac_cv_func_strerror_r" = yes; then
14822 HAVE_STRERROR_R_TRUE
=
14823 HAVE_STRERROR_R_FALSE
='#'
14825 HAVE_STRERROR_R_TRUE
='#'
14826 HAVE_STRERROR_R_FALSE
=
14829 if test "$ac_cv_func_wait4" = yes; then
14831 HAVE_WAIT4_FALSE
='#'
14833 HAVE_WAIT4_TRUE
='#'
14838 for ac_func
in accept4 dup3 epoll_create1 faccessat fallocate fchmodat fchownat futimesat getxattr inotify_add_watch inotify_init inotify_init1 inotify_rm_watch listxattr mkdirat mknodat open64 openat pipe2 removexattr renameat setxattr sync_file_range splice
tee unlinkat unshare utimensat
14840 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14841 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14842 eval as_val
=\$
$as_ac_var
14843 if test "x$as_val" = x
""yes; then :
14844 cat >>confdefs.h
<<_ACEOF
14845 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14851 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14852 if test "x$ac_cv_type_off_t" = x
""yes; then :
14856 cat >>confdefs.h
<<_ACEOF
14857 #define off_t long int
14862 ac_fn_c_check_type
"$LINENO" "loff_t" "ac_cv_type_loff_t" "$ac_includes_default"
14863 if test "x$ac_cv_type_loff_t" = x
""yes; then :
14865 cat >>confdefs.h
<<_ACEOF
14866 #define HAVE_LOFF_T 1
14875 for ac_func
in cosl expl logl sinl tanl acosl asinl atanl atan2l expm1l ldexpl log10l log1pl
14877 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14878 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14879 eval as_val
=\$
$as_ac_var
14880 if test "x$as_val" = x
""yes; then :
14881 cat >>confdefs.h
<<_ACEOF
14882 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14890 CFLAGS_hold
="$CFLAGS"
14891 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
14893 LIBS
="$LIBS $PTHREAD_LIBS"
14894 for ac_func
in sem_timedwait
14896 ac_fn_c_check_func
"$LINENO" "sem_timedwait" "ac_cv_func_sem_timedwait"
14897 if test "x$ac_cv_func_sem_timedwait" = x
""yes; then :
14898 cat >>confdefs.h
<<_ACEOF
14899 #define HAVE_SEM_TIMEDWAIT 1
14905 CFLAGS
="$CFLAGS_hold"
14909 LIBS
="$LIBS $MATH_LIBS"
14910 for ac_func
in matherr
14912 ac_fn_c_check_func
"$LINENO" "matherr" "ac_cv_func_matherr"
14913 if test "x$ac_cv_func_matherr" = x
""yes; then :
14914 cat >>confdefs.h
<<_ACEOF
14915 #define HAVE_MATHERR 1
14923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_bool_compare_and_swap_4" >&5
14924 $as_echo_n "checking for __sync_bool_compare_and_swap_4... " >&6; }
14925 if test "${libgo_cv_func___sync_bool_compare_and_swap_4+set}" = set; then :
14926 $as_echo_n "(cached) " >&6
14928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14929 /* end confdefs.h. */
14931 typedef unsigned int uint32 __attribute__ ((mode (SI)));
14933 int main() { return __sync_bool_compare_and_swap (&i, 0, 1); }
14936 if ac_fn_c_try_link
"$LINENO"; then :
14937 libgo_cv_func___sync_bool_compare_and_swap_4
=yes
14939 libgo_cv_func___sync_bool_compare_and_swap_4
=no
14941 rm -f core conftest.err conftest.
$ac_objext \
14942 conftest
$ac_exeext conftest.
$ac_ext
14944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_bool_compare_and_swap_4" >&5
14945 $as_echo "$libgo_cv_func___sync_bool_compare_and_swap_4" >&6; }
14946 if test "$libgo_cv_func___sync_bool_compare_and_swap_4" = "yes"; then
14948 $as_echo "#define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_4 1" >>confdefs.h
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_bool_compare_and_swap_8" >&5
14953 $as_echo_n "checking for __sync_bool_compare_and_swap_8... " >&6; }
14954 if test "${libgo_cv_func___sync_bool_compare_and_swap_8+set}" = set; then :
14955 $as_echo_n "(cached) " >&6
14957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14958 /* end confdefs.h. */
14960 typedef unsigned int uint64 __attribute__ ((mode (DI)));
14962 int main() { return __sync_bool_compare_and_swap (&i, 0, 1); }
14965 if ac_fn_c_try_link
"$LINENO"; then :
14966 libgo_cv_func___sync_bool_compare_and_swap_8
=yes
14968 libgo_cv_func___sync_bool_compare_and_swap_8
=no
14970 rm -f core conftest.err conftest.
$ac_objext \
14971 conftest
$ac_exeext conftest.
$ac_ext
14973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_bool_compare_and_swap_8" >&5
14974 $as_echo "$libgo_cv_func___sync_bool_compare_and_swap_8" >&6; }
14975 if test "$libgo_cv_func___sync_bool_compare_and_swap_8" = "yes"; then
14977 $as_echo "#define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_8 1" >>confdefs.h
14981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add_4" >&5
14982 $as_echo_n "checking for __sync_fetch_and_add_4... " >&6; }
14983 if test "${libgo_cv_func___sync_fetch_and_add_4+set}" = set; then :
14984 $as_echo_n "(cached) " >&6
14986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14987 /* end confdefs.h. */
14989 typedef unsigned int uint32 __attribute__ ((mode (SI)));
14991 int main() { return __sync_fetch_and_add (&i, 1); }
14994 if ac_fn_c_try_link
"$LINENO"; then :
14995 libgo_cv_func___sync_fetch_and_add_4
=yes
14997 libgo_cv_func___sync_fetch_and_add_4
=no
14999 rm -f core conftest.err conftest.
$ac_objext \
15000 conftest
$ac_exeext conftest.
$ac_ext
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_fetch_and_add_4" >&5
15003 $as_echo "$libgo_cv_func___sync_fetch_and_add_4" >&6; }
15004 if test "$libgo_cv_func___sync_fetch_and_add_4" = "yes"; then
15006 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD_4 1" >>confdefs.h
15010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_add_and_fetch_8" >&5
15011 $as_echo_n "checking for __sync_add_and_fetch_8... " >&6; }
15012 if test "${libgo_cv_func___sync_add_and_fetch_8+set}" = set; then :
15013 $as_echo_n "(cached) " >&6
15015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15016 /* end confdefs.h. */
15018 typedef unsigned int uint64 __attribute__ ((mode (DI)));
15020 int main() { return __sync_add_and_fetch (&i, 1); }
15023 if ac_fn_c_try_link
"$LINENO"; then :
15024 libgo_cv_func___sync_add_and_fetch_8
=yes
15026 libgo_cv_func___sync_add_and_fetch_8
=no
15028 rm -f core conftest.err conftest.
$ac_objext \
15029 conftest
$ac_exeext conftest.
$ac_ext
15031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_add_and_fetch_8" >&5
15032 $as_echo "$libgo_cv_func___sync_add_and_fetch_8" >&6; }
15033 if test "$libgo_cv_func___sync_add_and_fetch_8" = "yes"; then
15035 $as_echo "#define HAVE_SYNC_ADD_AND_FETCH_8 1" >>confdefs.h
15039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -minline-all-stringops" >&5
15040 $as_echo_n "checking whether compiler supports -minline-all-stringops... " >&6; }
15041 if test "${libgo_cv_c_stringops+set}" = set; then :
15042 $as_echo_n "(cached) " >&6
15044 CFLAGS_hold
=$CFLAGS
15045 CFLAGS
="$CFLAGS -minline-all-stringops"
15046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15047 /* end confdefs.h. */
15050 if ac_fn_c_try_compile
"$LINENO"; then :
15051 libgo_cv_c_stringops
=yes
15053 libgo_cv_c_stringops
=no
15055 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15056 CFLAGS
=$CFLAGS_hold
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_stringops" >&5
15059 $as_echo "$libgo_cv_c_stringops" >&6; }
15061 if test "$libgo_cv_c_stringops" = yes; then
15062 STRINGOPS_FLAG
=-minline-all-stringops
15066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -mfancy-math-387" >&5
15067 $as_echo_n "checking whether compiler supports -mfancy-math-387... " >&6; }
15068 if test "${libgo_cv_c_fancymath+set}" = set; then :
15069 $as_echo_n "(cached) " >&6
15071 CFLAGS_hold
=$CFLAGS
15072 CFLAGS
="$CFLAGS -mfancy-math-387"
15073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15074 /* end confdefs.h. */
15077 if ac_fn_c_try_compile
"$LINENO"; then :
15078 libgo_cv_c_fancymath
=yes
15080 libgo_cv_c_fancymath
=no
15082 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15083 CFLAGS
=$CFLAGS_hold
15085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_fancymath" >&5
15086 $as_echo "$libgo_cv_c_fancymath" >&6; }
15088 if test "$libgo_cv_c_fancymath" = yes; then
15089 MATH_FLAG
="-mfancy-math-387 -funsafe-math-optimizations"
15091 MATH_FLAG
="-ffp-contract=off"
15095 CFLAGS_hold
=$CFLAGS
15096 CFLAGS
="$CFLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
15097 ac_fn_c_check_type
"$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default"
15098 if test "x$ac_cv_type_off64_t" = x
""yes; then :
15100 cat >>confdefs.h
<<_ACEOF
15101 #define HAVE_OFF64_T 1
15107 CFLAGS
=$CFLAGS_hold
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking epoll_event size" >&5
15110 $as_echo_n "checking epoll_event size... " >&6; }
15111 if test "${libgo_cv_c_epoll_event_size+set}" = set; then :
15112 $as_echo_n "(cached) " >&6
15114 if ac_fn_c_compute_int
"$LINENO" "sizeof (struct epoll_event)" "libgo_cv_c_epoll_event_size" "#include <sys/epoll.h>"; then :
15117 libgo_cv_c_epoll_event_size
=0
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_epoll_event_size" >&5
15122 $as_echo "$libgo_cv_c_epoll_event_size" >&6; }
15123 SIZEOF_STRUCT_EPOLL_EVENT
=${libgo_cv_c_epoll_event_size}
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking epoll_event data.fd offset" >&5
15127 $as_echo_n "checking epoll_event data.fd offset... " >&6; }
15128 if test "${libgo_cv_c_epoll_event_fd_offset+set}" = set; then :
15129 $as_echo_n "(cached) " >&6
15131 if ac_fn_c_compute_int
"$LINENO" "offsetof (struct epoll_event, data.fd)" "libgo_cv_c_epoll_event_fd_offset" "#include <stddef.h>
15132 #include <sys/epoll.h>"; then :
15135 libgo_cv_c_epoll_event_fd_offset
=0
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_epoll_event_fd_offset" >&5
15140 $as_echo "$libgo_cv_c_epoll_event_fd_offset" >&6; }
15141 STRUCT_EPOLL_EVENT_FD_OFFSET
=${libgo_cv_c_epoll_event_fd_offset}
15144 ac_fn_c_check_type
"$LINENO" "struct exception" "ac_cv_type_struct_exception" "#include <math.h>
15146 if test "x$ac_cv_type_struct_exception" = x
""yes; then :
15147 libgo_has_struct_exception
=yes
15149 libgo_has_struct_exception
=no
15152 if test "$libgo_has_struct_exception" = "yes"; then
15154 $as_echo "#define HAVE_STRUCT_EXCEPTION 1" >>confdefs.h
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether setcontext clobbers TLS variables" >&5
15159 $as_echo_n "checking whether setcontext clobbers TLS variables... " >&6; }
15160 if test "${libgo_cv_lib_setcontext_clobbers_tls+set}" = set; then :
15161 $as_echo_n "(cached) " >&6
15163 CFLAGS_hold
="$CFLAGS"
15164 CFLAGS
="$PTHREAD_CFLAGS"
15166 LIBS
="$LIBS $PTHREAD_LIBS"
15167 # The cast to long int works around a bug in the HP C Compiler
15168 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15169 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15170 # This bug is HP SR number 8606223364.
15171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15172 $as_echo_n "checking size of void *... " >&6; }
15173 if test "${ac_cv_sizeof_void_p+set}" = set; then :
15174 $as_echo_n "(cached) " >&6
15176 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15179 if test "$ac_cv_type_void_p" = yes; then
15180 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15181 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15182 { as_fn_set_status
77
15183 as_fn_error
"cannot compute sizeof (void *)
15184 See \`config.log' for more details." "$LINENO" 5; }; }
15186 ac_cv_sizeof_void_p
=0
15191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15192 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15196 cat >>confdefs.h
<<_ACEOF
15197 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15201 as_fn_arith
$ac_cv_sizeof_void_p \
* 8 && ptr_type_size
=$as_val
15202 if test "$cross_compiling" = yes; then :
15203 case "$target:$ptr_type_size" in
15204 i?
86-*-solaris2.1
[01]:64 | x86_64
*-*-solaris2.1
[01]:64)
15205 libgo_cv_lib_setcontext_clobbers_tls
=yes ;;
15207 libgo_cv_lib_setcontext_clobbers_tls
=no
;;
15211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15212 /* end confdefs.h. */
15214 #include <pthread.h>
15215 #include <stdlib.h>
15216 #include <ucontext.h>
15217 #include <unistd.h>
15221 static char stack[10 * 1024 * 1024];
15222 static ucontext_t c;
15224 /* Called via makecontext/setcontext. */
15232 /* Called via pthread_create. */
15237 /* The thread should still see this value after calling
15243 /* The call to setcontext should not return. */
15252 /* The thread should not see this value. */
15255 if (getcontext (&c) < 0)
15258 c.uc_stack.ss_sp = stack;
15259 #ifdef MAKECONTEXT_STACK_TOP
15260 c.uc_stack.ss_sp += sizeof stack;
15262 c.uc_stack.ss_flags = 0;
15263 c.uc_stack.ss_size = sizeof stack;
15265 makecontext (&c, cfn, 0);
15267 if (pthread_create (&tid, NULL, tfn, NULL) != 0)
15270 if (pthread_join (tid, NULL) != 0)
15273 /* The thread should have called exit. */
15278 if ac_fn_c_try_run
"$LINENO"; then :
15279 libgo_cv_lib_setcontext_clobbers_tls
=no
15281 libgo_cv_lib_setcontext_clobbers_tls
=yes
15283 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15284 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15287 CFLAGS
="$CFLAGS_hold"
15291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_setcontext_clobbers_tls" >&5
15292 $as_echo "$libgo_cv_lib_setcontext_clobbers_tls" >&6; }
15293 if test "$libgo_cv_lib_setcontext_clobbers_tls" = "yes"; then
15295 $as_echo "#define SETCONTEXT_CLOBBERS_TLS 1" >>confdefs.h
15299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .eh_frame section should be read-only" >&5
15300 $as_echo_n "checking whether .eh_frame section should be read-only... " >&6; }
15301 if test "${libgo_cv_ro_eh_frame+set}" = set; then :
15302 $as_echo_n "(cached) " >&6
15305 libgo_cv_ro_eh_frame
=no
15306 echo 'extern void foo (void); void bar (void) { foo (); foo (); }' > conftest.c
15307 if $CC $CFLAGS -S -fpic -fexceptions -o conftest.s conftest.c
> /dev
/null
2>&1; then
15308 if grep '.section.*eh_frame.*"a"' conftest.s
> /dev
/null
; then
15309 libgo_cv_ro_eh_frame
=yes
15310 elif grep '.section.*eh_frame.*#alloc' conftest.c \
15311 |
grep -v '#write' > /dev
/null
; then
15312 libgo_cv_ro_eh_frame
=yes
15318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_ro_eh_frame" >&5
15319 $as_echo "$libgo_cv_ro_eh_frame" >&6; }
15320 if test "x$libgo_cv_ro_eh_frame" = xyes
; then
15322 $as_echo "#define EH_FRAME_FLAGS \"a\"" >>confdefs.h
15326 $as_echo "#define EH_FRAME_FLAGS \"aw\"" >>confdefs.h
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Qunused-arguments" >&5
15331 $as_echo_n "checking if compiler supports -Qunused-arguments... " >&6; }
15332 if test "${libgo_cv_c_unused_arguments+set}" = set; then :
15333 $as_echo_n "(cached) " >&6
15335 CFLAGS_hold
=$CFLAGS
15336 CFLAGS
="$CFLAGS -Qunused-arguments"
15337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15338 /* end confdefs.h. */
15341 if ac_fn_c_try_compile
"$LINENO"; then :
15342 libgo_cv_c_unused_arguments
=yes
15344 libgo_cv_c_unused_arguments
=no
15346 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15347 CFLAGS
=$CFLAGS_hold
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_unused_arguments" >&5
15350 $as_echo "$libgo_cv_c_unused_arguments" >&6; }
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if assembler supports GNU comdat group syntax" >&5
15353 $as_echo_n "checking if assembler supports GNU comdat group syntax... " >&6; }
15354 if test "${libgo_cv_as_comdat_gnu+set}" = set; then :
15355 $as_echo_n "(cached) " >&6
15358 echo '.section .text,"axG",@progbits,.foo,comdat' > conftest.s
15359 CFLAGS_hold
=$CFLAGS
15360 if test "$libgo_cv_c_unused_arguments" = yes; then
15361 CFLAGS
="$CFLAGS -Qunused-arguments"
15363 if $CC $CFLAGS -c conftest.s
> /dev
/null
2>&1; then
15364 libgo_cv_as_comdat_gnu
=yes
15366 libgo_cv_as_comdat_gnu
=no
15368 CFLAGS
=$CFLAGS_hold
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_comdat_gnu" >&5
15372 $as_echo "$libgo_cv_as_comdat_gnu" >&6; }
15373 if test "x$libgo_cv_as_comdat_gnu" = xyes
; then
15375 $as_echo "#define HAVE_AS_COMDAT_GAS 1" >>confdefs.h
15379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports pc related relocs" >&5
15380 $as_echo_n "checking assembler supports pc related relocs... " >&6; }
15381 if test "${libgo_cv_as_x86_pcrel+set}" = set; then :
15382 $as_echo_n "(cached) " >&6
15385 libgo_cv_as_x86_pcrel
=yes
15386 echo '.text; foo: nop; .data; .long foo-.; .text' > conftest.s
15387 CFLAGS_hold
=$CFLAGS
15388 if test "$libgo_cv_c_unused_arguments" = yes; then
15389 CFLAGS
="$CFLAGS -Qunused-arguments"
15391 if $CC $CFLAGS -c conftest.s
2>&1 |
$EGREP -i 'illegal|warning' > /dev
/null
; then
15392 libgo_cv_as_x86_pcrel
=no
15394 CFLAGS
=$CFLAGS_hold
15397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_x86_pcrel" >&5
15398 $as_echo "$libgo_cv_as_x86_pcrel" >&6; }
15399 if test "x$libgo_cv_as_x86_pcrel" = xyes
; then
15401 $as_echo "#define HAVE_AS_X86_PCREL 1" >>confdefs.h
15405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports unwind section type" >&5
15406 $as_echo_n "checking assembler supports unwind section type... " >&6; }
15407 if test "${libgo_cv_as_x86_64_unwind_section_type+set}" = set; then :
15408 $as_echo_n "(cached) " >&6
15411 libgo_cv_as_x86_64_unwind_section_type
=yes
15412 echo '.section .eh_frame,"a",@unwind' > conftest.s
15413 CFLAGS_hold
=$CFLAGS
15414 if test "$libgo_cv_c_unused_arguments" = yes; then
15415 CFLAGS
="$CFLAGS -Qunused-arguments"
15417 if $CC $CFLAGS -c conftest.s
2>&1 |
grep -i warning
> /dev
/null
; then
15418 libgo_cv_as_x86_64_unwind_section_type
=no
15420 CFLAGS
=$CFLAGS_hold
15423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_x86_64_unwind_section_type" >&5
15424 $as_echo "$libgo_cv_as_x86_64_unwind_section_type" >&6; }
15425 if test "x$libgo_cv_as_x86_64_unwind_section_type" = xyes
; then
15427 $as_echo "#define HAVE_AS_X86_64_UNWIND_SECTION_TYPE 1" >>confdefs.h
15431 cat >confcache
<<\_ACEOF
15432 # This file is a shell script that caches the results of configure
15433 # tests run on this system so they can be shared between configure
15434 # scripts and configure runs, see configure's option --config-cache.
15435 # It is not useful on other systems. If it contains results you don't
15436 # want to keep, you may remove or edit it.
15438 # config.status only pays attention to the cache file if you give it
15439 # the --recheck option to rerun configure.
15441 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15442 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15443 # following values.
15447 # The following way of writing the cache mishandles newlines in values,
15448 # but we know of no workaround that is simple, portable, and efficient.
15449 # So, we kill variables containing newlines.
15450 # Ultrix sh set writes to stderr and can't be redirected directly,
15451 # and sets the high bit in the cache file unless we assign to the vars.
15453 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15454 eval ac_val
=\$
$ac_var
15458 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15459 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15462 _ | IFS | as_nl
) ;; #(
15463 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15464 *) { eval $ac_var=; unset $ac_var;} ;;
15470 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15471 *${as_nl}ac_space
=\
*)
15472 # `set' does not quote correctly, so add quotes: double-quote
15473 # substitution turns \\\\ into \\, and sed turns \\ into \.
15476 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15479 # `set' quotes correctly as required by POSIX, so do not add quotes.
15480 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15489 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15491 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15493 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15494 if test -w "$cache_file"; then
15495 test "x$cache_file" != "x/dev/null" &&
15496 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15497 $as_echo "$as_me: updating cache $cache_file" >&6;}
15498 cat confcache
>$cache_file
15500 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15501 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15506 if test ${multilib} = yes; then
15507 multilib_arg
="--enable-multilib"
15512 ac_config_files
="$ac_config_files Makefile testsuite/Makefile"
15515 ac_config_commands
="$ac_config_commands default"
15518 cat >confcache
<<\_ACEOF
15519 # This file is a shell script that caches the results of configure
15520 # tests run on this system so they can be shared between configure
15521 # scripts and configure runs, see configure's option --config-cache.
15522 # It is not useful on other systems. If it contains results you don't
15523 # want to keep, you may remove or edit it.
15525 # config.status only pays attention to the cache file if you give it
15526 # the --recheck option to rerun configure.
15528 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15529 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15530 # following values.
15534 # The following way of writing the cache mishandles newlines in values,
15535 # but we know of no workaround that is simple, portable, and efficient.
15536 # So, we kill variables containing newlines.
15537 # Ultrix sh set writes to stderr and can't be redirected directly,
15538 # and sets the high bit in the cache file unless we assign to the vars.
15540 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15541 eval ac_val
=\$
$ac_var
15545 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15546 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15549 _ | IFS | as_nl
) ;; #(
15550 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15551 *) { eval $ac_var=; unset $ac_var;} ;;
15557 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15558 *${as_nl}ac_space
=\
*)
15559 # `set' does not quote correctly, so add quotes: double-quote
15560 # substitution turns \\\\ into \\, and sed turns \\ into \.
15563 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15566 # `set' quotes correctly as required by POSIX, so do not add quotes.
15567 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15576 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15578 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15580 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15581 if test -w "$cache_file"; then
15582 test "x$cache_file" != "x/dev/null" &&
15583 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15584 $as_echo "$as_me: updating cache $cache_file" >&6;}
15585 cat confcache
>$cache_file
15587 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15588 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15593 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15594 # Let make expand exec_prefix.
15595 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15597 DEFS
=-DHAVE_CONFIG_H
15601 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15602 # 1. Remove the extension, and $U if already installed.
15603 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15604 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15605 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15606 # will be set to the directory where LIBOBJS objects are built.
15607 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15608 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15610 LIBOBJS
=$ac_libobjs
15612 LTLIBOBJS
=$ac_ltlibobjs
15615 if test -n "$EXEEXT"; then
15617 am__EXEEXT_FALSE
='#'
15619 am__EXEEXT_TRUE
='#'
15623 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15624 as_fn_error
"conditional \"AMDEP\" was never defined.
15625 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15627 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15628 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
15629 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15631 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15632 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
15633 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15635 if test -z "${LIBGO_IS_DARWIN_TRUE}" && test -z "${LIBGO_IS_DARWIN_FALSE}"; then
15636 as_fn_error
"conditional \"LIBGO_IS_DARWIN\" was never defined.
15637 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15639 if test -z "${LIBGO_IS_FREEBSD_TRUE}" && test -z "${LIBGO_IS_FREEBSD_FALSE}"; then
15640 as_fn_error
"conditional \"LIBGO_IS_FREEBSD\" was never defined.
15641 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15643 if test -z "${LIBGO_IS_IRIX_TRUE}" && test -z "${LIBGO_IS_IRIX_FALSE}"; then
15644 as_fn_error
"conditional \"LIBGO_IS_IRIX\" was never defined.
15645 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15647 if test -z "${LIBGO_IS_LINUX_TRUE}" && test -z "${LIBGO_IS_LINUX_FALSE}"; then
15648 as_fn_error
"conditional \"LIBGO_IS_LINUX\" was never defined.
15649 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15651 if test -z "${LIBGO_IS_NETBSD_TRUE}" && test -z "${LIBGO_IS_NETBSD_FALSE}"; then
15652 as_fn_error
"conditional \"LIBGO_IS_NETBSD\" was never defined.
15653 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15655 if test -z "${LIBGO_IS_OPENBSD_TRUE}" && test -z "${LIBGO_IS_OPENBSD_FALSE}"; then
15656 as_fn_error
"conditional \"LIBGO_IS_OPENBSD\" was never defined.
15657 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15659 if test -z "${LIBGO_IS_DRAGONFLY_TRUE}" && test -z "${LIBGO_IS_DRAGONFLY_FALSE}"; then
15660 as_fn_error
"conditional \"LIBGO_IS_DRAGONFLY\" was never defined.
15661 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15663 if test -z "${LIBGO_IS_RTEMS_TRUE}" && test -z "${LIBGO_IS_RTEMS_FALSE}"; then
15664 as_fn_error
"conditional \"LIBGO_IS_RTEMS\" was never defined.
15665 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15667 if test -z "${LIBGO_IS_SOLARIS_TRUE}" && test -z "${LIBGO_IS_SOLARIS_FALSE}"; then
15668 as_fn_error
"conditional \"LIBGO_IS_SOLARIS\" was never defined.
15669 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15671 if test -z "${LIBGO_IS_386_TRUE}" && test -z "${LIBGO_IS_386_FALSE}"; then
15672 as_fn_error
"conditional \"LIBGO_IS_386\" was never defined.
15673 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15675 if test -z "${LIBGO_IS_ALPHA_TRUE}" && test -z "${LIBGO_IS_ALPHA_FALSE}"; then
15676 as_fn_error
"conditional \"LIBGO_IS_ALPHA\" was never defined.
15677 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15679 if test -z "${LIBGO_IS_ARM_TRUE}" && test -z "${LIBGO_IS_ARM_FALSE}"; then
15680 as_fn_error
"conditional \"LIBGO_IS_ARM\" was never defined.
15681 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15683 if test -z "${LIBGO_IS_ARM64_TRUE}" && test -z "${LIBGO_IS_ARM64_FALSE}"; then
15684 as_fn_error
"conditional \"LIBGO_IS_ARM64\" was never defined.
15685 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15687 if test -z "${LIBGO_IS_M68K_TRUE}" && test -z "${LIBGO_IS_M68K_FALSE}"; then
15688 as_fn_error
"conditional \"LIBGO_IS_M68K\" was never defined.
15689 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15691 if test -z "${LIBGO_IS_MIPS_TRUE}" && test -z "${LIBGO_IS_MIPS_FALSE}"; then
15692 as_fn_error
"conditional \"LIBGO_IS_MIPS\" was never defined.
15693 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15695 if test -z "${LIBGO_IS_MIPSO32_TRUE}" && test -z "${LIBGO_IS_MIPSO32_FALSE}"; then
15696 as_fn_error
"conditional \"LIBGO_IS_MIPSO32\" was never defined.
15697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15699 if test -z "${LIBGO_IS_MIPSN32_TRUE}" && test -z "${LIBGO_IS_MIPSN32_FALSE}"; then
15700 as_fn_error
"conditional \"LIBGO_IS_MIPSN32\" was never defined.
15701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15703 if test -z "${LIBGO_IS_MIPSN64_TRUE}" && test -z "${LIBGO_IS_MIPSN64_FALSE}"; then
15704 as_fn_error
"conditional \"LIBGO_IS_MIPSN64\" was never defined.
15705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15707 if test -z "${LIBGO_IS_MIPSO64_TRUE}" && test -z "${LIBGO_IS_MIPSO64_FALSE}"; then
15708 as_fn_error
"conditional \"LIBGO_IS_MIPSO64\" was never defined.
15709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15711 if test -z "${LIBGO_IS_PPC_TRUE}" && test -z "${LIBGO_IS_PPC_FALSE}"; then
15712 as_fn_error
"conditional \"LIBGO_IS_PPC\" was never defined.
15713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15715 if test -z "${LIBGO_IS_PPC64_TRUE}" && test -z "${LIBGO_IS_PPC64_FALSE}"; then
15716 as_fn_error
"conditional \"LIBGO_IS_PPC64\" was never defined.
15717 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15719 if test -z "${LIBGO_IS_PPC64LE_TRUE}" && test -z "${LIBGO_IS_PPC64LE_FALSE}"; then
15720 as_fn_error
"conditional \"LIBGO_IS_PPC64LE\" was never defined.
15721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15723 if test -z "${LIBGO_IS_S390_TRUE}" && test -z "${LIBGO_IS_S390_FALSE}"; then
15724 as_fn_error
"conditional \"LIBGO_IS_S390\" was never defined.
15725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15727 if test -z "${LIBGO_IS_S390X_TRUE}" && test -z "${LIBGO_IS_S390X_FALSE}"; then
15728 as_fn_error
"conditional \"LIBGO_IS_S390X\" was never defined.
15729 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15731 if test -z "${LIBGO_IS_SPARC_TRUE}" && test -z "${LIBGO_IS_SPARC_FALSE}"; then
15732 as_fn_error
"conditional \"LIBGO_IS_SPARC\" was never defined.
15733 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15735 if test -z "${LIBGO_IS_SPARC64_TRUE}" && test -z "${LIBGO_IS_SPARC64_FALSE}"; then
15736 as_fn_error
"conditional \"LIBGO_IS_SPARC64\" was never defined.
15737 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15739 if test -z "${LIBGO_IS_X86_64_TRUE}" && test -z "${LIBGO_IS_X86_64_FALSE}"; then
15740 as_fn_error
"conditional \"LIBGO_IS_X86_64\" was never defined.
15741 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15743 if test -z "${USING_SPLIT_STACK_TRUE}" && test -z "${USING_SPLIT_STACK_FALSE}"; then
15744 as_fn_error
"conditional \"USING_SPLIT_STACK\" was never defined.
15745 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15747 if test -z "${GOC_IS_LLGO_TRUE}" && test -z "${GOC_IS_LLGO_FALSE}"; then
15748 as_fn_error
"conditional \"GOC_IS_LLGO\" was never defined.
15749 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15752 if test -z "${HAVE_SYS_MMAN_H_TRUE}" && test -z "${HAVE_SYS_MMAN_H_FALSE}"; then
15753 as_fn_error
"conditional \"HAVE_SYS_MMAN_H\" was never defined.
15754 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15756 if test -z "${HAVE_STRERROR_R_TRUE}" && test -z "${HAVE_STRERROR_R_FALSE}"; then
15757 as_fn_error
"conditional \"HAVE_STRERROR_R\" was never defined.
15758 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15760 if test -z "${HAVE_WAIT4_TRUE}" && test -z "${HAVE_WAIT4_FALSE}"; then
15761 as_fn_error
"conditional \"HAVE_WAIT4\" was never defined.
15762 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15765 : ${CONFIG_STATUS=./config.status}
15767 ac_clean_files_save
=$ac_clean_files
15768 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15769 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15770 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15772 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15774 # Generated by $as_me.
15775 # Run this file to recreate the current configuration.
15776 # Compiler output produced by configure, useful for debugging
15777 # configure, is in config.log if it exists.
15780 ac_cs_recheck=false
15783 SHELL=\${CONFIG_SHELL-$SHELL}
15786 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15787 ## -------------------- ##
15788 ## M4sh Initialization. ##
15789 ## -------------------- ##
15791 # Be more Bourne compatible
15792 DUALCASE
=1; export DUALCASE
# for MKS sh
15793 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15796 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15797 # is contrary to our usage. Disable this feature.
15798 alias -g '${1+"$@"}'='"$@"'
15799 setopt NO_GLOB_SUBST
15801 case `(set -o) 2>/dev/null` in #(
15813 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15814 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15815 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15816 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15817 # Prefer a ksh shell builtin over an external printf program on Solaris,
15818 # but without wasting forks for bash or zsh.
15819 if test -z "$BASH_VERSION$ZSH_VERSION" \
15820 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15821 as_echo='print
-r --'
15822 as_echo_n='print
-rn --'
15823 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15824 as_echo='printf %s
\n'
15825 as_echo_n='printf %s
'
15827 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15828 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15829 as_echo_n='/usr
/ucb
/echo -n'
15831 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15832 as_echo_n_body='eval
15836 expr "X$arg" : "X\\(.*\\)$as_nl";
15837 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15839 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15841 export as_echo_n_body
15842 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15844 export as_echo_body
15845 as_echo='sh
-c $as_echo_body as_echo
'
15848 # The user is always right.
15849 if test "${PATH_SEPARATOR+set}" != set; then
15851 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15852 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15859 # We need space, tab and new line, in precisely that order. Quoting is
15860 # there to prevent editors from complaining about space-tab.
15861 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15862 # splitting by setting IFS to empty value.)
15865 # Find who we are. Look in the path if we contain no directory separator.
15867 *[\\/]* ) as_myself=$0 ;;
15868 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15869 for as_dir in $PATH
15872 test -z "$as_dir" && as_dir=.
15873 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15879 # We did not find ourselves, most probably we were run as `sh COMMAND'
15880 # in which case we are not to be found in the path.
15881 if test "x$as_myself" = x
; then
15884 if test ! -f "$as_myself"; then
15885 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15889 # Unset variables that we do not need and which cause bugs (e.g. in
15890 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15891 # suppresses any "Segmentation fault" message there. '((' could
15892 # trigger a bug in pdksh 5.2.14.
15893 for as_var
in BASH_ENV ENV MAIL MAILPATH
15894 do eval test x\
${$as_var+set} = xset \
15895 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15908 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15911 # as_fn_error ERROR [LINENO LOG_FD]
15912 # ---------------------------------
15913 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15914 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15915 # script with status $?, using 1 if that was 0.
15918 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15920 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15921 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15923 $as_echo "$as_me: error: $1" >&2
15924 as_fn_exit
$as_status
15928 # as_fn_set_status STATUS
15929 # -----------------------
15930 # Set $? to STATUS, without forking.
15931 as_fn_set_status
()
15934 } # as_fn_set_status
15936 # as_fn_exit STATUS
15937 # -----------------
15938 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15942 as_fn_set_status
$1
15948 # Portably unset VAR.
15951 { eval $1=; unset $1;}
15953 as_unset
=as_fn_unset
15954 # as_fn_append VAR VALUE
15955 # ----------------------
15956 # Append the text in VALUE to the end of the definition contained in VAR. Take
15957 # advantage of any shell optimizations that allow amortized linear growth over
15958 # repeated appends, instead of the typical quadratic growth present in naive
15960 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15961 eval 'as_fn_append ()
15972 # as_fn_arith ARG...
15973 # ------------------
15974 # Perform arithmetic evaluation on the ARGs, and store the result in the
15975 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15976 # must be portable across $(()) and expr.
15977 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15978 eval 'as_fn_arith ()
15985 as_val
=`expr "$@" || test $? -eq 1`
15990 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15991 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15997 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15998 as_basename
=basename
16003 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16009 as_me
=`$as_basename -- "$0" ||
16010 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16011 X"$0" : 'X\(//\)$' \| \
16012 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16014 sed '/^.*\/\([^/][^/]*\)\/*$/{
16028 # Avoid depending upon Character Ranges.
16029 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16030 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16031 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16032 as_cr_digits
='0123456789'
16033 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16035 ECHO_C
= ECHO_N
= ECHO_T
=
16036 case `echo -n x` in #(((((
16038 case `echo 'xy\c'` in
16039 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16041 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16048 rm -f conf$$ conf$$.exe conf$$.
file
16049 if test -d conf$$.dir
; then
16050 rm -f conf$$.dir
/conf$$.
file
16053 mkdir conf$$.dir
2>/dev
/null
16055 if (echo >conf$$.
file) 2>/dev
/null
; then
16056 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16058 # ... but there are two gotchas:
16059 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16060 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16061 # In both cases, we have to default to `cp -p'.
16062 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16064 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16072 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16073 rmdir conf$$.dir
2>/dev
/null
16078 # Create "$as_dir" as a directory, including parents if necessary.
16083 -*) as_dir
=.
/$as_dir;;
16085 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16089 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16090 *) as_qdir
=$as_dir;;
16092 as_dirs
="'$as_qdir' $as_dirs"
16093 as_dir
=`$as_dirname -- "$as_dir" ||
16094 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16095 X"$as_dir" : 'X\(//\)[^/]' \| \
16096 X"$as_dir" : 'X\(//\)$' \| \
16097 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16098 $as_echo X"$as_dir" |
16099 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16103 /^X\(\/\/\)[^/].*/{
16116 test -d "$as_dir" && break
16118 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16119 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
16123 if mkdir
-p .
2>/dev
/null
; then
16124 as_mkdir_p
='mkdir -p "$as_dir"'
16126 test -d .
/-p && rmdir .
/-p
16130 if test -x / >/dev
/null
2>&1; then
16131 as_test_x
='test -x'
16133 if ls -dL / >/dev
/null
2>&1; then
16140 if test -d "$1"; then
16146 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16147 ???[sx]*):;;*)false;;esac;fi
16151 as_executable_p
=$as_test_x
16153 # Sed expression to map a string onto a valid CPP name.
16154 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16156 # Sed expression to map a string onto a valid variable name.
16157 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16161 ## ----------------------------------- ##
16162 ## Main body of $CONFIG_STATUS script. ##
16163 ## ----------------------------------- ##
16165 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16168 # Save the log message, to keep $0 and so on meaningful, and to
16169 # report actual input values of CONFIG_FILES etc. instead of their
16170 # values after options handling.
16172 This file was extended by package-unused $as_me version-unused, which was
16173 generated by GNU Autoconf 2.64. Invocation command line was
16175 CONFIG_FILES = $CONFIG_FILES
16176 CONFIG_HEADERS = $CONFIG_HEADERS
16177 CONFIG_LINKS = $CONFIG_LINKS
16178 CONFIG_COMMANDS = $CONFIG_COMMANDS
16181 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16186 case $ac_config_files in *"
16187 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16190 case $ac_config_headers in *"
16191 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16195 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16196 # Files that config.status was made for.
16197 config_files="$ac_config_files"
16198 config_headers="$ac_config_headers"
16199 config_commands="$ac_config_commands"
16203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16205 \`$as_me' instantiates files and other configuration actions
16206 from templates according to the current configuration. Unless the files
16207 and actions are specified as TAGs, all are instantiated by default.
16209 Usage: $0 [OPTION]... [TAG]...
16211 -h, --help print this help, then exit
16212 -V, --version print version number and configuration settings, then exit
16213 -q, --quiet, --silent
16214 do not print progress messages
16215 -d, --debug don't remove temporary files
16216 --recheck update $as_me by reconfiguring in the same conditions
16217 --file=FILE[:TEMPLATE]
16218 instantiate the configuration file FILE
16219 --header=FILE[:TEMPLATE]
16220 instantiate the configuration header FILE
16222 Configuration files:
16225 Configuration headers:
16228 Configuration commands:
16231 Report bugs to the package provider."
16234 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16236 package-unused config.status version-unused
16237 configured by $0, generated by GNU Autoconf 2.64,
16238 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16240 Copyright (C) 2009 Free Software Foundation, Inc.
16241 This config.status script is free software; the Free Software Foundation
16242 gives unlimited permission to copy, distribute and modify it."
16249 test -n "\$AWK" || AWK=awk
16252 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16253 # The default lists apply if the user does not specify any file.
16259 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16260 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16271 # Handling of the options.
16272 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16274 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16275 $as_echo "$ac_cs_version"; exit ;;
16276 --debug |
--debu |
--deb |
--de |
--d |
-d )
16278 --file |
--fil |
--fi |
--f )
16281 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16283 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16284 ac_need_defaults
=false
;;
16285 --header |
--heade |
--head |
--hea )
16288 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16290 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16291 ac_need_defaults
=false
;;
16293 # Conflict between --help and --header
16294 as_fn_error
"ambiguous option: \`$1'
16295 Try \`$0 --help' for more information.";;
16296 --help |
--hel |
-h )
16297 $as_echo "$ac_cs_usage"; exit ;;
16298 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16299 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16302 # This is an error.
16303 -*) as_fn_error
"unrecognized option: \`$1'
16304 Try \`$0 --help' for more information." ;;
16306 *) as_fn_append ac_config_targets
" $1"
16307 ac_need_defaults
=false
;;
16313 ac_configure_extra_args
=
16315 if $ac_cs_silent; then
16317 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16321 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16322 if \$ac_cs_recheck; then
16323 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16325 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16326 CONFIG_SHELL='$SHELL'
16327 export CONFIG_SHELL
16332 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16336 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16337 ## Running $as_me. ##
16343 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16351 with_multisubdir="$with_multisubdir"
16352 with_multisrctop="$with_multisrctop"
16353 with_target_subdir="$with_target_subdir"
16354 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16355 multi_basedir="$multi_basedir"
16356 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16359 GFORTRAN="$GFORTRAN"
16361 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16364 # The HP-UX ksh and POSIX shell print the target directory to stdout
16365 # if CDPATH is set.
16366 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16368 sed_quote_subst='$sed_quote_subst'
16369 double_quote_subst='$double_quote_subst'
16370 delay_variable_subst='$delay_variable_subst'
16371 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16372 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16373 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16374 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16375 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16376 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16377 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16378 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16379 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16380 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16381 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16382 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16383 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16384 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16385 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16386 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16387 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16388 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16389 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16390 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16391 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16392 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16393 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16394 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16395 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16396 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16397 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16398 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16399 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16400 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16401 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16402 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16403 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16404 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16405 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16406 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16407 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16408 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16409 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16410 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16411 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16412 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16413 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16414 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16415 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16416 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16417 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16418 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16419 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"`'
16420 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16421 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16422 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16423 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16424 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16425 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16426 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16427 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16428 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16429 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16430 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16431 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16432 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16433 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16434 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16435 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16436 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16437 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16438 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16439 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16440 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16441 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16442 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16443 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16444 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16445 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16446 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16447 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16448 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16449 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16450 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16451 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16452 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16453 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16454 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16455 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16456 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16457 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16458 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16459 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16460 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16461 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16462 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16463 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16464 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16465 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16466 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16467 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16468 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16469 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16470 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16471 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16472 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16473 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16474 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16475 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16476 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16477 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16478 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16479 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16480 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16481 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16482 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16483 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16484 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16485 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16486 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16487 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16488 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16489 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16490 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16491 LD_GO='`$ECHO "$LD_GO" | $SED "$delay_single_quote_subst"`'
16492 reload_flag_GO='`$ECHO "$reload_flag_GO" | $SED "$delay_single_quote_subst"`'
16493 reload_cmds_GO='`$ECHO "$reload_cmds_GO" | $SED "$delay_single_quote_subst"`'
16494 old_archive_cmds_GO='`$ECHO "$old_archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
16495 compiler_GO='`$ECHO "$compiler_GO" | $SED "$delay_single_quote_subst"`'
16496 GCC_GO='`$ECHO "$GCC_GO" | $SED "$delay_single_quote_subst"`'
16497 lt_prog_compiler_no_builtin_flag_GO='`$ECHO "$lt_prog_compiler_no_builtin_flag_GO" | $SED "$delay_single_quote_subst"`'
16498 lt_prog_compiler_wl_GO='`$ECHO "$lt_prog_compiler_wl_GO" | $SED "$delay_single_quote_subst"`'
16499 lt_prog_compiler_pic_GO='`$ECHO "$lt_prog_compiler_pic_GO" | $SED "$delay_single_quote_subst"`'
16500 lt_prog_compiler_static_GO='`$ECHO "$lt_prog_compiler_static_GO" | $SED "$delay_single_quote_subst"`'
16501 lt_cv_prog_compiler_c_o_GO='`$ECHO "$lt_cv_prog_compiler_c_o_GO" | $SED "$delay_single_quote_subst"`'
16502 archive_cmds_need_lc_GO='`$ECHO "$archive_cmds_need_lc_GO" | $SED "$delay_single_quote_subst"`'
16503 enable_shared_with_static_runtimes_GO='`$ECHO "$enable_shared_with_static_runtimes_GO" | $SED "$delay_single_quote_subst"`'
16504 export_dynamic_flag_spec_GO='`$ECHO "$export_dynamic_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
16505 whole_archive_flag_spec_GO='`$ECHO "$whole_archive_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
16506 compiler_needs_object_GO='`$ECHO "$compiler_needs_object_GO" | $SED "$delay_single_quote_subst"`'
16507 old_archive_from_new_cmds_GO='`$ECHO "$old_archive_from_new_cmds_GO" | $SED "$delay_single_quote_subst"`'
16508 old_archive_from_expsyms_cmds_GO='`$ECHO "$old_archive_from_expsyms_cmds_GO" | $SED "$delay_single_quote_subst"`'
16509 archive_cmds_GO='`$ECHO "$archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
16510 archive_expsym_cmds_GO='`$ECHO "$archive_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
16511 module_cmds_GO='`$ECHO "$module_cmds_GO" | $SED "$delay_single_quote_subst"`'
16512 module_expsym_cmds_GO='`$ECHO "$module_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
16513 with_gnu_ld_GO='`$ECHO "$with_gnu_ld_GO" | $SED "$delay_single_quote_subst"`'
16514 allow_undefined_flag_GO='`$ECHO "$allow_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
16515 no_undefined_flag_GO='`$ECHO "$no_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
16516 hardcode_libdir_flag_spec_GO='`$ECHO "$hardcode_libdir_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
16517 hardcode_libdir_flag_spec_ld_GO='`$ECHO "$hardcode_libdir_flag_spec_ld_GO" | $SED "$delay_single_quote_subst"`'
16518 hardcode_libdir_separator_GO='`$ECHO "$hardcode_libdir_separator_GO" | $SED "$delay_single_quote_subst"`'
16519 hardcode_direct_GO='`$ECHO "$hardcode_direct_GO" | $SED "$delay_single_quote_subst"`'
16520 hardcode_direct_absolute_GO='`$ECHO "$hardcode_direct_absolute_GO" | $SED "$delay_single_quote_subst"`'
16521 hardcode_minus_L_GO='`$ECHO "$hardcode_minus_L_GO" | $SED "$delay_single_quote_subst"`'
16522 hardcode_shlibpath_var_GO='`$ECHO "$hardcode_shlibpath_var_GO" | $SED "$delay_single_quote_subst"`'
16523 hardcode_automatic_GO='`$ECHO "$hardcode_automatic_GO" | $SED "$delay_single_quote_subst"`'
16524 inherit_rpath_GO='`$ECHO "$inherit_rpath_GO" | $SED "$delay_single_quote_subst"`'
16525 link_all_deplibs_GO='`$ECHO "$link_all_deplibs_GO" | $SED "$delay_single_quote_subst"`'
16526 fix_srcfile_path_GO='`$ECHO "$fix_srcfile_path_GO" | $SED "$delay_single_quote_subst"`'
16527 always_export_symbols_GO='`$ECHO "$always_export_symbols_GO" | $SED "$delay_single_quote_subst"`'
16528 export_symbols_cmds_GO='`$ECHO "$export_symbols_cmds_GO" | $SED "$delay_single_quote_subst"`'
16529 exclude_expsyms_GO='`$ECHO "$exclude_expsyms_GO" | $SED "$delay_single_quote_subst"`'
16530 include_expsyms_GO='`$ECHO "$include_expsyms_GO" | $SED "$delay_single_quote_subst"`'
16531 prelink_cmds_GO='`$ECHO "$prelink_cmds_GO" | $SED "$delay_single_quote_subst"`'
16532 file_list_spec_GO='`$ECHO "$file_list_spec_GO" | $SED "$delay_single_quote_subst"`'
16533 hardcode_action_GO='`$ECHO "$hardcode_action_GO" | $SED "$delay_single_quote_subst"`'
16536 LTCFLAGS='$LTCFLAGS'
16537 compiler='$compiler_DEFAULT'
16539 # A function that is used when there is no print builtin or printf.
16540 func_fallback_echo ()
16542 eval 'cat <<_LTECHO_EOF
16547 # Quote evaled strings.
16561 deplibs_check_method \
16570 lt_cv_sys_global_symbol_pipe \
16571 lt_cv_sys_global_symbol_to_cdecl \
16572 lt_cv_sys_global_symbol_to_c_name_address \
16573 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16574 lt_prog_compiler_no_builtin_flag \
16575 lt_prog_compiler_wl \
16576 lt_prog_compiler_pic \
16577 lt_prog_compiler_static \
16578 lt_cv_prog_compiler_c_o \
16586 export_dynamic_flag_spec \
16587 whole_archive_flag_spec \
16588 compiler_needs_object \
16590 allow_undefined_flag \
16591 no_undefined_flag \
16592 hardcode_libdir_flag_spec \
16593 hardcode_libdir_flag_spec_ld \
16594 hardcode_libdir_separator \
16599 variables_saved_for_relink \
16601 library_names_spec \
16603 install_override_mode \
16610 lt_prog_compiler_no_builtin_flag_GO \
16611 lt_prog_compiler_wl_GO \
16612 lt_prog_compiler_pic_GO \
16613 lt_prog_compiler_static_GO \
16614 lt_cv_prog_compiler_c_o_GO \
16615 export_dynamic_flag_spec_GO \
16616 whole_archive_flag_spec_GO \
16617 compiler_needs_object_GO \
16619 allow_undefined_flag_GO \
16620 no_undefined_flag_GO \
16621 hardcode_libdir_flag_spec_GO \
16622 hardcode_libdir_flag_spec_ld_GO \
16623 hardcode_libdir_separator_GO \
16624 fix_srcfile_path_GO \
16625 exclude_expsyms_GO \
16626 include_expsyms_GO \
16627 file_list_spec_GO; do
16628 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16629 *[\\\\\\\`\\"\\\$]*)
16630 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16633 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16638 # Double-quote double-evaled strings.
16639 for var in reload_cmds \
16640 old_postinstall_cmds \
16641 old_postuninstall_cmds \
16643 extract_expsyms_cmds \
16644 old_archive_from_new_cmds \
16645 old_archive_from_expsyms_cmds \
16647 archive_expsym_cmds \
16649 module_expsym_cmds \
16650 export_symbols_cmds \
16653 postuninstall_cmds \
16655 sys_lib_search_path_spec \
16656 sys_lib_dlsearch_path_spec \
16658 old_archive_cmds_GO \
16659 old_archive_from_new_cmds_GO \
16660 old_archive_from_expsyms_cmds_GO \
16662 archive_expsym_cmds_GO \
16664 module_expsym_cmds_GO \
16665 export_symbols_cmds_GO \
16666 prelink_cmds_GO; do
16667 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16668 *[\\\\\\\`\\"\\\$]*)
16669 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16672 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16677 ac_aux_dir='$ac_aux_dir'
16678 xsi_shell='$xsi_shell'
16679 lt_shell_append='$lt_shell_append'
16681 # See if we are running on zsh, and set the options which allow our
16682 # commands through without removal of \ escapes INIT.
16683 if test -n "\${ZSH_VERSION+set}" ; then
16684 setopt NO_GLOB_SUBST
16690 TIMESTAMP='$TIMESTAMP'
16699 # Variables needed in config.status (file generation) which aren't already
16700 # passed by autoconf.
16706 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16708 # Handling of arguments.
16709 for ac_config_target
in $ac_config_targets
16711 case $ac_config_target in
16712 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
16713 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16714 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16715 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16716 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16717 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
16718 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
16720 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16725 # If the user did not use the arguments to specify the items to instantiate,
16726 # then the envvar interface is used. Set only those that are not.
16727 # We use the long form for the default assignment because of an extremely
16728 # bizarre bug on SunOS 4.1.3.
16729 if $ac_need_defaults; then
16730 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16731 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16732 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16735 # Have a temporary directory for convenience. Make it in the build tree
16736 # simply because there is no reason against having it here, and in addition,
16737 # creating and moving files from /tmp can sometimes cause problems.
16738 # Hook for its removal unless debugging.
16739 # Note that there is a small window in which the directory will not be cleaned:
16740 # after its creation but before its name has been assigned to `$tmp'.
16744 trap 'exit_status=$?
16745 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16747 trap 'as_fn_exit 1' 1 2 13 15
16749 # Create a (secure) tmp directory for tmp files.
16752 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16753 test -n "$tmp" && test -d "$tmp"
16756 tmp
=.
/conf$$
-$RANDOM
16757 (umask 077 && mkdir
"$tmp")
16758 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
16760 # Set up the scripts for CONFIG_FILES section.
16761 # No need to generate them if there are no CONFIG_FILES.
16762 # This happens for instance with `./config.status config.h'.
16763 if test -n "$CONFIG_FILES"; then
16766 ac_cr
=`echo X | tr X '\015'`
16767 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16768 # But we know of no other shell where ac_cr would be empty at this
16769 # point, so we can use a bashism as a fallback.
16770 if test "x$ac_cr" = x
; then
16771 eval ac_cr
=\$
\'\\r
\'
16773 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16774 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16777 ac_cs_awk_cr
=$ac_cr
16780 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16785 echo "cat >conf$$subs.awk <<_ACEOF" &&
16786 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16788 } >conf$$subs.sh ||
16789 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16790 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16792 for ac_last_try in false false false false false :; do
16793 . ./conf$$subs.sh ||
16794 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16796 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16797 if test $ac_delim_n = $ac_delim_num; then
16799 elif $ac_last_try; then
16800 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16802 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16805 rm -f conf$$subs.sh
16807 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16808 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16812 s/^/S["/; s
/!.
*/"]=/
16822 s/\(.\{148\}\).*/\1/
16824 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16829 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16836 s/\(.\{148\}\).*/\1/
16838 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16842 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16847 ' <conf$$subs.awk | sed '
16852 ' >>$CONFIG_STATUS || ac_write_fail=1
16853 rm -f conf$$subs.awk
16854 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16856 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16857 for (key in S) S_is_set[key] = 1
16863 nfields = split(line, field, "@
")
16865 len = length(field[1])
16866 for (i = 2; i < nfields; i++) {
16868 keylen = length(key)
16869 if (S_is_set[key]) {
16871 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16872 len += length(value) + length(field[++i])
16883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16884 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16885 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16888 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16889 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
16892 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16893 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16894 # trailing colons and then remove the whole line if VPATH becomes empty
16895 # (actually we leave an empty line to preserve line numbers).
16896 if test "x
$srcdir" = x.; then
16897 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16898 s/:*\$(srcdir):*/:/
16899 s/:*\${srcdir}:*/:/
16901 s/^\([^=]*=[ ]*\):*/\1/
16907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16908 fi # test -n "$CONFIG_FILES"
16910 # Set up the scripts for CONFIG_HEADERS section.
16911 # No need to generate them if there are no CONFIG_HEADERS.
16912 # This happens for instance with `./config.status Makefile'.
16913 if test -n "$CONFIG_HEADERS"; then
16914 cat >"$tmp/defines.
awk" <<\_ACAWK ||
16918 # Transform confdefs.h into an awk script `defines.awk', embedded as
16919 # here-document in config.status, that substitutes the proper values into
16920 # config.h.in to produce config.h.
16922 # Create a delimiter string that does not exist in confdefs.h, to ease
16923 # handling of long lines.
16925 for ac_last_try in false false :; do
16926 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
16927 if test -z "$ac_t"; then
16929 elif $ac_last_try; then
16930 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
16932 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16936 # For the awk script, D is an array of macro values keyed by name,
16937 # likewise P contains macro parameters if any. Preserve backslash
16938 # newline sequences.
16940 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16942 s/.\{148\}/&'"$ac_delim"'/g
16945 s/^[ ]*#[ ]*define[ ][ ]*/ /
16952 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16954 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16958 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16959 D["\
1"]=" \
3\\\\\\n
"\\/p
16961 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16966 s/.\{148\}/&'"$ac_delim"'/g
16971 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16974 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16976 ' <confdefs.h | sed '
16977 s/'"$ac_delim"'/"\\\
16978 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16981 for (key in D) D_is_set[key] = 1
16984 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16986 split(line, arg, " ")
16987 if (arg[1] == "#") {
16991 defundef
= substr
(arg
[1], 2)
16994 split(mac1
, mac2
, "(") #)
16996 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16997 if (D_is_set
[macro
]) {
16998 # Preserve the white space surrounding the "#".
16999 print prefix
"define", macro P
[macro
] D
[macro
]
17002 # Replace #undef with comments. This is necessary, for example,
17003 # in the case of _POSIX_SOURCE, which is predefined and required
17004 # on some systems where configure will not decide to define it.
17005 if (defundef
== "undef") {
17006 print
"/*", prefix defundef
, macro
, "*/"
17014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17015 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
17016 fi # test -n "$CONFIG_HEADERS"
17019 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17024 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17026 case $ac_mode$ac_tag in
17028 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17029 :[FH
]-) ac_tag
=-:-;;
17030 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17047 -) ac_f
="$tmp/stdin";;
17048 *) # Look for the file first in the build tree, then in the source tree
17049 # (if the path is not absolute). The absolute path cannot be DOS-style,
17050 # because $ac_f cannot contain `:'.
17054 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17056 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
17058 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17059 as_fn_append ac_file_inputs
" '$ac_f'"
17062 # Let's still pretend it is `configure' which instantiates (i.e., don't
17063 # use $as_me), people would be surprised to read:
17064 # /* config.h. Generated by config.status. */
17065 configure_input
='Generated from '`
17066 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17068 if test x
"$ac_file" != x-
; then
17069 configure_input
="$ac_file. $configure_input"
17070 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17071 $as_echo "$as_me: creating $ac_file" >&6;}
17073 # Neutralize special characters interpreted by sed in replacement strings.
17074 case $configure_input in #(
17075 *\
&* |
*\|
* |
*\\* )
17076 ac_sed_conf_input
=`$as_echo "$configure_input" |
17077 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17078 *) ac_sed_conf_input
=$configure_input;;
17082 *:-:* |
*:-) cat >"$tmp/stdin" \
17083 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
17088 ac_dir
=`$as_dirname -- "$ac_file" ||
17089 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17090 X"$ac_file" : 'X\(//\)[^/]' \| \
17091 X"$ac_file" : 'X\(//\)$' \| \
17092 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17093 $as_echo X"$ac_file" |
17094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17098 /^X\(\/\/\)[^/].*/{
17111 as_dir
="$ac_dir"; as_fn_mkdir_p
17115 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17117 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17118 # A ".." for each directory in $ac_dir_suffix.
17119 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17120 case $ac_top_builddir_sub in
17121 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17122 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17125 ac_abs_top_builddir
=$ac_pwd
17126 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17127 # for backward compatibility:
17128 ac_top_builddir
=$ac_top_build_prefix
17131 .
) # We are building in place.
17133 ac_top_srcdir
=$ac_top_builddir_sub
17134 ac_abs_top_srcdir
=$ac_pwd ;;
17135 [\\/]* | ?
:[\\/]* ) # Absolute name.
17136 ac_srcdir
=$srcdir$ac_dir_suffix;
17137 ac_top_srcdir
=$srcdir
17138 ac_abs_top_srcdir
=$srcdir ;;
17139 *) # Relative name.
17140 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17141 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17142 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17144 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17154 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17155 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17157 ac_MKDIR_P
=$MKDIR_P
17159 [\\/$
]* | ?
:[\\/]* ) ;;
17160 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
17164 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17165 # If the template does not know about datarootdir, expand it.
17166 # FIXME: This hack should be removed a few years after 2.60.
17167 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17178 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17179 *datarootdir
*) ac_datarootdir_seen
=yes;;
17180 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17182 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17184 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17185 ac_datarootdir_hack='
17186 s&@datadir@&$datadir&g
17187 s&@docdir@&$docdir&g
17188 s&@infodir@&$infodir&g
17189 s&@localedir@&$localedir&g
17190 s&@mandir@&$mandir&g
17191 s&\\\${datarootdir}&$datarootdir&g' ;;
17195 # Neutralize VPATH when `$srcdir' = `.'.
17196 # Shell code in configure.ac might set extrasub.
17197 # FIXME: do we really want to maintain this feature?
17198 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17199 ac_sed_extra="$ac_vpsub
17202 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17204 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17205 s|@configure_input@|
$ac_sed_conf_input|
;t t
17206 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17207 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17208 s
&@srcdir@
&$ac_srcdir&;t t
17209 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17210 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17211 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17212 s
&@builddir@
&$ac_builddir&;t t
17213 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17214 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17215 s
&@INSTALL@
&$ac_INSTALL&;t t
17216 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17217 $ac_datarootdir_hack
17219 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
17220 || as_fn_error "could not create
$ac_file" "$LINENO" 5
17222 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17223 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
17224 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
17225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17226 which seems to be undefined. Please make sure it is defined." >&5
17227 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17228 which seems to be undefined. Please make sure it is defined." >&2;}
17232 -) cat "$tmp/out" && rm -f "$tmp/out";;
17233 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17235 || as_fn_error "could not create $ac_file" "$LINENO" 5
17241 if test x"$ac_file" != x-; then
17243 $as_echo "/* $configure_input */" \
17244 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17245 } >"$tmp/config.h" \
17246 || as_fn_error "could not create $ac_file" "$LINENO" 5
17247 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17249 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17252 mv "$tmp/config.h" "$ac_file" \
17253 || as_fn_error "could not create $ac_file" "$LINENO" 5
17256 $as_echo "/* $configure_input */" \
17257 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17258 || as_fn_error "could not create -" "$LINENO" 5
17260 # Compute "$ac_file"'s index
in $config_headers.
17263 for _am_header
in $config_headers :; do
17264 case $_am_header in
17265 $_am_arg |
$_am_arg:* )
17268 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17271 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17272 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17273 X"$_am_arg" : 'X\(//\)[^/]' \| \
17274 X"$_am_arg" : 'X\(//\)$' \| \
17275 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17276 $as_echo X"$_am_arg" |
17277 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17281 /^X\(\/\/\)[^/].*/{
17293 s/.*/./; q'`/stamp-h
$_am_stamp_count
17296 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17297 $as_echo "$as_me: executing $ac_file commands" >&6;}
17302 case $ac_file$ac_mode in
17304 # Only add multilib support code if we just rebuilt the top-level
17306 case " $CONFIG_FILES " in
17308 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
17311 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
17312 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17313 # are listed without --file. Let's play safe and only enable the eval
17314 # if we detect the quoting.
17315 case $CONFIG_FILES in
17316 *\'*) eval set x
"$CONFIG_FILES" ;;
17317 *) set x
$CONFIG_FILES ;;
17322 # Strip MF so we end up with the name of the file.
17323 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17324 # Check whether this is an Automake generated Makefile or not.
17325 # We used to match only the files named `Makefile.in', but
17326 # some people rename them; so instead we look at the file content.
17327 # Grep'ing the first line is not enough: some people post-process
17328 # each Makefile.in and add a new line on top of each file to say so.
17329 # Grep'ing the whole file is not good either: AIX grep has a line
17330 # limit of 2048, but all sed's we know have understand at least 4000.
17331 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17332 dirpart
=`$as_dirname -- "$mf" ||
17333 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17334 X"$mf" : 'X\(//\)[^/]' \| \
17335 X"$mf" : 'X\(//\)$' \| \
17336 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17342 /^X\(\/\/\)[^/].*/{
17358 # Extract the definition of DEPDIR, am__include, and am__quote
17359 # from the Makefile without running `make'.
17360 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17361 test -z "$DEPDIR" && continue
17362 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17363 test -z "am__include" && continue
17364 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17365 # When using ansi2knr, U may be empty or an underscore; expand it
17366 U
=`sed -n 's/^U = //p' < "$mf"`
17367 # Find all dependency output files, they are included files with
17368 # $(DEPDIR) in their names. We invoke sed twice because it is the
17369 # simplest approach to changing $(DEPDIR) to its actual value in the
17371 for file in `sed -n "
17372 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17373 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17374 # Make sure the directory exists.
17375 test -f "$dirpart/$file" && continue
17376 fdir
=`$as_dirname -- "$file" ||
17377 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17378 X"$file" : 'X\(//\)[^/]' \| \
17379 X"$file" : 'X\(//\)$' \| \
17380 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17381 $as_echo X"$file" |
17382 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17386 /^X\(\/\/\)[^/].*/{
17399 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17400 # echo "creating $dirpart/$file"
17401 echo '# dummy' > "$dirpart/$file"
17408 # See if we are running on zsh, and set the options which allow our
17409 # commands through without removal of \ escapes.
17410 if test -n "${ZSH_VERSION+set}" ; then
17411 setopt NO_GLOB_SUBST
17414 cfgfile
="${ofile}T"
17415 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17418 cat <<_LT_EOF >> "$cfgfile"
17421 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17422 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17423 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17424 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17426 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17427 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
17428 # Written by Gordon Matzigkeit, 1996
17430 # This file is part of GNU Libtool.
17432 # GNU Libtool is free software; you can redistribute it and/or
17433 # modify it under the terms of the GNU General Public License as
17434 # published by the Free Software Foundation; either version 2 of
17435 # the License, or (at your option) any later version.
17437 # As a special exception to the GNU General Public License,
17438 # if you distribute this file as part of a program or library that
17439 # is built using GNU Libtool, you may include this file under the
17440 # same distribution terms that you use for the rest of that program.
17442 # GNU Libtool is distributed in the hope that it will be useful,
17443 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17444 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17445 # GNU General Public License for more details.
17447 # You should have received a copy of the GNU General Public License
17448 # along with GNU Libtool; see the file COPYING. If not, a copy
17449 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17450 # obtained by writing to the Free Software Foundation, Inc.,
17451 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17454 # The names of the tagged configurations supported by this script.
17455 available_tags="GO "
17457 # ### BEGIN LIBTOOL CONFIG
17459 # A sed program that does not truncate output.
17462 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17463 Xsed="\$SED -e 1s/^X//"
17465 # A grep program that handles long lines.
17471 # A literal string matcher.
17474 # Shell to use when invoking shell scripts.
17477 # An echo program that protects backslashes.
17480 # Which release of libtool.m4 was used?
17481 macro_version=$macro_version
17482 macro_revision=$macro_revision
17484 # Whether or not to build shared libraries.
17485 build_libtool_libs=$enable_shared
17487 # Whether or not to build static libraries.
17488 build_old_libs=$enable_static
17490 # What type of objects to build.
17493 # Whether or not to optimize for fast installation.
17494 fast_install=$enable_fast_install
17497 host_alias=$host_alias
17501 # The build system.
17502 build_alias=$build_alias
17506 # A BSD- or MS-compatible name lister.
17509 # Whether we need soft or hard links.
17512 # What is the maximum length of a command?
17513 max_cmd_len=$max_cmd_len
17515 # Object file suffix (normally "o").
17518 # Executable file suffix (normally "").
17521 # whether the shell understands "unset".
17524 # turn spaces into newlines.
17527 # turn newlines into spaces.
17530 # An object symbol dumper.
17531 OBJDUMP=$lt_OBJDUMP
17533 # Method to check whether dependent libraries are shared objects.
17534 deplibs_check_method=$lt_deplibs_check_method
17536 # Command to use when deplibs_check_method == "file_magic".
17537 file_magic_cmd=$lt_file_magic_cmd
17541 AR_FLAGS=$lt_AR_FLAGS
17543 # A symbol stripping program.
17546 # Commands used to install an old-style archive.
17548 old_postinstall_cmds=$lt_old_postinstall_cmds
17549 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17551 # Whether to use a lock for old archive extraction.
17552 lock_old_archive_extraction=$lock_old_archive_extraction
17557 # LTCC compiler flags.
17558 LTCFLAGS=$lt_CFLAGS
17560 # Take the output of nm and produce a listing of raw symbols and C names.
17561 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17563 # Transform the output of nm in a proper C declaration.
17564 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17566 # Transform the output of nm in a C name address pair.
17567 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17569 # Transform the output of nm in a C name address pair when lib prefix is needed.
17570 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17572 # The name of the directory that contains temporary libtool files.
17575 # Used to examine libraries when file_magic_cmd begins with "file".
17576 MAGIC_CMD=$MAGIC_CMD
17578 # Must we lock files when doing compilation?
17579 need_locks=$lt_need_locks
17581 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17582 DSYMUTIL=$lt_DSYMUTIL
17584 # Tool to change global to local symbols on Mac OS X.
17587 # Tool to manipulate fat objects and archives on Mac OS X.
17590 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17593 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17594 OTOOL64=$lt_OTOOL64
17596 # Old archive suffix (normally "a").
17599 # Shared library suffix (normally ".so").
17600 shrext_cmds=$lt_shrext_cmds
17602 # The commands to extract the exported symbol list from a shared archive.
17603 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17605 # Variables whose values should be saved in libtool wrapper scripts and
17606 # restored at link time.
17607 variables_saved_for_relink=$lt_variables_saved_for_relink
17609 # Do we need the "lib" prefix for modules?
17610 need_lib_prefix=$need_lib_prefix
17612 # Do we need a version for libraries?
17613 need_version=$need_version
17615 # Library versioning type.
17616 version_type=$version_type
17618 # Shared library runtime path variable.
17619 runpath_var=$runpath_var
17621 # Shared library path variable.
17622 shlibpath_var=$shlibpath_var
17624 # Is shlibpath searched before the hard-coded library search path?
17625 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17627 # Format of library name prefix.
17628 libname_spec=$lt_libname_spec
17630 # List of archive names. First name is the real one, the rest are links.
17631 # The last name is the one that the linker finds with -lNAME
17632 library_names_spec=$lt_library_names_spec
17634 # The coded name of the library, if different from the real name.
17635 soname_spec=$lt_soname_spec
17637 # Permission mode override for installation of shared libraries.
17638 install_override_mode=$lt_install_override_mode
17640 # Command to use after installation of a shared archive.
17641 postinstall_cmds=$lt_postinstall_cmds
17643 # Command to use after uninstallation of a shared archive.
17644 postuninstall_cmds=$lt_postuninstall_cmds
17646 # Commands used to finish a libtool library installation in a directory.
17647 finish_cmds=$lt_finish_cmds
17649 # As "finish_cmds", except a single script fragment to be evaled but
17651 finish_eval=$lt_finish_eval
17653 # Whether we should hardcode library paths into libraries.
17654 hardcode_into_libs=$hardcode_into_libs
17656 # Compile-time system search path for libraries.
17657 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17659 # Run-time system search path for libraries.
17660 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17662 # Whether dlopen is supported.
17663 dlopen_support=$enable_dlopen
17665 # Whether dlopen of programs is supported.
17666 dlopen_self=$enable_dlopen_self
17668 # Whether dlopen of statically linked programs is supported.
17669 dlopen_self_static=$enable_dlopen_self_static
17671 # Commands to strip libraries.
17672 old_striplib=$lt_old_striplib
17673 striplib=$lt_striplib
17676 # The linker used to build libraries.
17679 # How to create reloadable object files.
17680 reload_flag=$lt_reload_flag
17681 reload_cmds=$lt_reload_cmds
17683 # Commands used to build an old-style archive.
17684 old_archive_cmds=$lt_old_archive_cmds
17686 # A language specific compiler.
17689 # Is the compiler the GNU compiler?
17692 # Compiler flag to turn off builtin functions.
17693 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17695 # How to pass a linker flag through the compiler.
17696 wl=$lt_lt_prog_compiler_wl
17698 # Additional compiler flags for building library objects.
17699 pic_flag=$lt_lt_prog_compiler_pic
17701 # Compiler flag to prevent dynamic linking.
17702 link_static_flag=$lt_lt_prog_compiler_static
17704 # Does compiler simultaneously support -c and -o options?
17705 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17707 # Whether or not to add -lc for building shared libraries.
17708 build_libtool_need_lc=$archive_cmds_need_lc
17710 # Whether or not to disallow shared libs when runtime libs are static.
17711 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17713 # Compiler flag to allow reflexive dlopens.
17714 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17716 # Compiler flag to generate shared objects directly from archives.
17717 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17719 # Whether the compiler copes with passing no objects directly.
17720 compiler_needs_object=$lt_compiler_needs_object
17722 # Create an old-style archive from a shared archive.
17723 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17725 # Create a temporary old-style archive to link instead of a shared archive.
17726 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17728 # Commands used to build a shared archive.
17729 archive_cmds=$lt_archive_cmds
17730 archive_expsym_cmds=$lt_archive_expsym_cmds
17732 # Commands used to build a loadable module if different from building
17733 # a shared archive.
17734 module_cmds=$lt_module_cmds
17735 module_expsym_cmds=$lt_module_expsym_cmds
17737 # Whether we are building with GNU ld or not.
17738 with_gnu_ld=$lt_with_gnu_ld
17740 # Flag that allows shared libraries with undefined symbols to be built.
17741 allow_undefined_flag=$lt_allow_undefined_flag
17743 # Flag that enforces no undefined symbols.
17744 no_undefined_flag=$lt_no_undefined_flag
17746 # Flag to hardcode \$libdir into a binary during linking.
17747 # This must work even if \$libdir does not exist
17748 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17750 # If ld is used when linking, flag to hardcode \$libdir into a binary
17751 # during linking. This must work even if \$libdir does not exist.
17752 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17754 # Whether we need a single "-rpath" flag with a separated argument.
17755 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17757 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17758 # DIR into the resulting binary.
17759 hardcode_direct=$hardcode_direct
17761 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17762 # DIR into the resulting binary and the resulting library dependency is
17763 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17764 # library is relocated.
17765 hardcode_direct_absolute=$hardcode_direct_absolute
17767 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17768 # into the resulting binary.
17769 hardcode_minus_L=$hardcode_minus_L
17771 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17772 # into the resulting binary.
17773 hardcode_shlibpath_var=$hardcode_shlibpath_var
17775 # Set to "yes" if building a shared library automatically hardcodes DIR
17776 # into the library and all subsequent libraries and executables linked
17778 hardcode_automatic=$hardcode_automatic
17780 # Set to yes if linker adds runtime paths of dependent libraries
17781 # to runtime path list.
17782 inherit_rpath=$inherit_rpath
17784 # Whether libtool must link a program against all its dependency libraries.
17785 link_all_deplibs=$link_all_deplibs
17787 # Fix the shell variable \$srcfile for the compiler.
17788 fix_srcfile_path=$lt_fix_srcfile_path
17790 # Set to "yes" if exported symbols are required.
17791 always_export_symbols=$always_export_symbols
17793 # The commands to list exported symbols.
17794 export_symbols_cmds=$lt_export_symbols_cmds
17796 # Symbols that should not be listed in the preloaded symbols.
17797 exclude_expsyms=$lt_exclude_expsyms
17799 # Symbols that must always be exported.
17800 include_expsyms=$lt_include_expsyms
17802 # Commands necessary for linking programs (against libraries) with templates.
17803 prelink_cmds=$lt_prelink_cmds
17805 # Specify filename containing input files.
17806 file_list_spec=$lt_file_list_spec
17808 # How to hardcode a shared library path into an executable.
17809 hardcode_action=$hardcode_action
17811 # ### END LIBTOOL CONFIG
17817 cat <<\_LT_EOF
>> "$cfgfile"
17818 # AIX sometimes has problems with the GCC collect2 program. For some
17819 # reason, if we set the COLLECT_NAMES environment variable, the problems
17820 # vanish in a puff of smoke.
17821 if test "X${COLLECT_NAMES+set}" != Xset
; then
17823 export COLLECT_NAMES
17830 ltmain
="$ac_aux_dir/ltmain.sh"
17833 # We use sed instead of cat because bash on DJGPP gets confused if
17834 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17835 # text mode, it properly converts lines to CR/LF. This bash problem
17836 # is reportedly fixed, but why not run on old versions too?
17837 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17838 ||
(rm -f "$cfgfile"; exit 1)
17842 cat << \_LT_EOF
>> "$cfgfile"
17844 # func_dirname file append nondir_replacement
17845 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17846 # otherwise set result to NONDIR_REPLACEMENT.
17850 */*) func_dirname_result
="${1%/*}${2}" ;;
17851 * ) func_dirname_result
="${3}" ;;
17855 # func_basename file
17858 func_basename_result
="${1##*/}"
17861 # func_dirname_and_basename file append nondir_replacement
17862 # perform func_basename and func_dirname in a single function
17864 # dirname: Compute the dirname of FILE. If nonempty,
17865 # add APPEND to the result, otherwise set result
17866 # to NONDIR_REPLACEMENT.
17867 # value returned in "$func_dirname_result"
17868 # basename: Compute filename of FILE.
17869 # value retuned in "$func_basename_result"
17870 # Implementation must be kept synchronized with func_dirname
17871 # and func_basename. For efficiency, we do not delegate to
17872 # those functions but instead duplicate the functionality here.
17873 func_dirname_and_basename
()
17876 */*) func_dirname_result
="${1%/*}${2}" ;;
17877 * ) func_dirname_result
="${3}" ;;
17879 func_basename_result
="${1##*/}"
17882 # func_stripname prefix suffix name
17883 # strip PREFIX and SUFFIX off of NAME.
17884 # PREFIX and SUFFIX must not contain globbing or regex special
17885 # characters, hashes, percent signs, but SUFFIX may contain a leading
17886 # dot (in which case that matches only a dot).
17889 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17890 # positional parameters, so assign one to ordinary parameter first.
17891 func_stripname_result
=${3}
17892 func_stripname_result
=${func_stripname_result#"${1}"}
17893 func_stripname_result
=${func_stripname_result%"${2}"}
17899 func_opt_split_opt
=${1%%=*}
17900 func_opt_split_arg
=${1#*=}
17907 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17908 *) func_lo2o_result
=${1} ;;
17912 # func_xform libobj-or-source
17915 func_xform_result
=${1%.*}.lo
17918 # func_arith arithmetic-term...
17921 func_arith_result
=$
(( $
* ))
17925 # STRING may not start with a hyphen.
17928 func_len_result
=${#1}
17933 *) # Bourne compatible functions.
17934 cat << \_LT_EOF
>> "$cfgfile"
17936 # func_dirname file append nondir_replacement
17937 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17938 # otherwise set result to NONDIR_REPLACEMENT.
17941 # Extract subdirectory from the argument.
17942 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17943 if test "X$func_dirname_result" = "X${1}"; then
17944 func_dirname_result
="${3}"
17946 func_dirname_result
="$func_dirname_result${2}"
17950 # func_basename file
17953 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17957 # func_stripname prefix suffix name
17958 # strip PREFIX and SUFFIX off of NAME.
17959 # PREFIX and SUFFIX must not contain globbing or regex special
17960 # characters, hashes, percent signs, but SUFFIX may contain a leading
17961 # dot (in which case that matches only a dot).
17962 # func_strip_suffix prefix name
17966 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17967 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17972 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17973 my_sed_long_arg
='1s/^-[^=]*=//'
17978 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17979 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17985 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17988 # func_xform libobj-or-source
17991 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17994 # func_arith arithmetic-term...
17997 func_arith_result
=`expr "$@"`
18001 # STRING may not start with a hyphen.
18004 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18010 case $lt_shell_append in
18012 cat << \_LT_EOF
>> "$cfgfile"
18014 # func_append var value
18015 # Append VALUE to the end of shell variable VAR.
18023 cat << \_LT_EOF
>> "$cfgfile"
18025 # func_append var value
18026 # Append VALUE to the end of shell variable VAR.
18037 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18038 ||
(rm -f "$cfgfile"; exit 1)
18040 mv -f "$cfgfile" "$ofile" ||
18041 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18045 cat <<_LT_EOF >> "$ofile"
18047 # ### BEGIN LIBTOOL TAG CONFIG: GO
18049 # The linker used to build libraries.
18052 # How to create reloadable object files.
18053 reload_flag=$lt_reload_flag_GO
18054 reload_cmds=$lt_reload_cmds_GO
18056 # Commands used to build an old-style archive.
18057 old_archive_cmds=$lt_old_archive_cmds_GO
18059 # A language specific compiler.
18062 # Is the compiler the GNU compiler?
18065 # Compiler flag to turn off builtin functions.
18066 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GO
18068 # How to pass a linker flag through the compiler.
18069 wl=$lt_lt_prog_compiler_wl_GO
18071 # Additional compiler flags for building library objects.
18072 pic_flag=$lt_lt_prog_compiler_pic_GO
18074 # Compiler flag to prevent dynamic linking.
18075 link_static_flag=$lt_lt_prog_compiler_static_GO
18077 # Does compiler simultaneously support -c and -o options?
18078 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GO
18080 # Whether or not to add -lc for building shared libraries.
18081 build_libtool_need_lc=$archive_cmds_need_lc_GO
18083 # Whether or not to disallow shared libs when runtime libs are static.
18084 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GO
18086 # Compiler flag to allow reflexive dlopens.
18087 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GO
18089 # Compiler flag to generate shared objects directly from archives.
18090 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GO
18092 # Whether the compiler copes with passing no objects directly.
18093 compiler_needs_object=$lt_compiler_needs_object_GO
18095 # Create an old-style archive from a shared archive.
18096 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GO
18098 # Create a temporary old-style archive to link instead of a shared archive.
18099 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GO
18101 # Commands used to build a shared archive.
18102 archive_cmds=$lt_archive_cmds_GO
18103 archive_expsym_cmds=$lt_archive_expsym_cmds_GO
18105 # Commands used to build a loadable module if different from building
18106 # a shared archive.
18107 module_cmds=$lt_module_cmds_GO
18108 module_expsym_cmds=$lt_module_expsym_cmds_GO
18110 # Whether we are building with GNU ld or not.
18111 with_gnu_ld=$lt_with_gnu_ld_GO
18113 # Flag that allows shared libraries with undefined symbols to be built.
18114 allow_undefined_flag=$lt_allow_undefined_flag_GO
18116 # Flag that enforces no undefined symbols.
18117 no_undefined_flag=$lt_no_undefined_flag_GO
18119 # Flag to hardcode \$libdir into a binary during linking.
18120 # This must work even if \$libdir does not exist
18121 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GO
18123 # If ld is used when linking, flag to hardcode \$libdir into a binary
18124 # during linking. This must work even if \$libdir does not exist.
18125 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GO
18127 # Whether we need a single "-rpath" flag with a separated argument.
18128 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GO
18130 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18131 # DIR into the resulting binary.
18132 hardcode_direct=$hardcode_direct_GO
18134 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18135 # DIR into the resulting binary and the resulting library dependency is
18136 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18137 # library is relocated.
18138 hardcode_direct_absolute=$hardcode_direct_absolute_GO
18140 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18141 # into the resulting binary.
18142 hardcode_minus_L=$hardcode_minus_L_GO
18144 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18145 # into the resulting binary.
18146 hardcode_shlibpath_var=$hardcode_shlibpath_var_GO
18148 # Set to "yes" if building a shared library automatically hardcodes DIR
18149 # into the library and all subsequent libraries and executables linked
18151 hardcode_automatic=$hardcode_automatic_GO
18153 # Set to yes if linker adds runtime paths of dependent libraries
18154 # to runtime path list.
18155 inherit_rpath=$inherit_rpath_GO
18157 # Whether libtool must link a program against all its dependency libraries.
18158 link_all_deplibs=$link_all_deplibs_GO
18160 # Fix the shell variable \$srcfile for the compiler.
18161 fix_srcfile_path=$lt_fix_srcfile_path_GO
18163 # Set to "yes" if exported symbols are required.
18164 always_export_symbols=$always_export_symbols_GO
18166 # The commands to list exported symbols.
18167 export_symbols_cmds=$lt_export_symbols_cmds_GO
18169 # Symbols that should not be listed in the preloaded symbols.
18170 exclude_expsyms=$lt_exclude_expsyms_GO
18172 # Symbols that must always be exported.
18173 include_expsyms=$lt_include_expsyms_GO
18175 # Commands necessary for linking programs (against libraries) with templates.
18176 prelink_cmds=$lt_prelink_cmds_GO
18178 # Specify filename containing input files.
18179 file_list_spec=$lt_file_list_spec_GO
18181 # How to hardcode a shared library path into an executable.
18182 hardcode_action=$hardcode_action_GO
18184 # ### END LIBTOOL TAG CONFIG: GO
18188 "default":C
) if test -n "$CONFIG_FILES"; then
18189 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
18190 # that multilib installs will end up installed in the correct place.
18191 # The testsuite needs it for multilib-aware ABI baseline files.
18192 # To work around this not being passed down from config-ml.in ->
18193 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
18194 # append it here. Only modify Makefiles that have just been created.
18196 # Also, get rid of this simulated-VPATH thing that automake does.
18197 cat > vpsed
<< \_EOF
18198 s
!`test -f '$<' || echo '$(srcdir)/'`!!
18200 for i
in $SUBDIRS; do
18201 case $CONFIG_FILES in
18203 #echo "Adding MULTISUBDIR to $i/Makefile"
18204 sed -f vpsed
$i/Makefile
> tmp
18205 grep '^MULTISUBDIR =' Makefile
>> tmp
18220 ac_clean_files
=$ac_clean_files_save
18222 test $ac_write_fail = 0 ||
18223 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18226 # configure is writing to config.log, and then calls config.status.
18227 # config.status does its own redirection, appending to config.log.
18228 # Unfortunately, on DOS this fails, as config.log is still kept open
18229 # by configure, so config.status won't be able to write to it; its
18230 # output is simply discarded. So we exec the FD to /dev/null,
18231 # effectively closing config.log, so it can be properly (re)opened and
18232 # appended to by config.status. When coming back to configure, we
18233 # need to make the FD available again.
18234 if test "$no_create" != yes; then
18236 ac_config_status_args
=
18237 test "$silent" = yes &&
18238 ac_config_status_args
="$ac_config_status_args --quiet"
18240 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18242 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18243 # would make configure fail if this is the last instruction.
18244 $ac_cs_success || as_fn_exit $?
18246 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18248 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}