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 HAVE_STAT_TIMESPEC_FALSE
606 HAVE_STAT_TIMESPEC_TRUE
607 STRUCT_EPOLL_EVENT_FD_OFFSET
608 SIZEOF_STRUCT_EPOLL_EVENT
613 HAVE_STRERROR_R_FALSE
615 HAVE_SYS_MMAN_H_FALSE
623 USING_SPLIT_STACK_FALSE
624 USING_SPLIT_STACK_TRUE
627 GO_SYSCALL_OS_ARCH_FILE
629 GO_LIBCALL_OS_ARCH_FILE
632 LIBGO_IS_X86_64_FALSE
634 LIBGO_IS_SPARC64_FALSE
635 LIBGO_IS_SPARC64_TRUE
642 LIBGO_IS_PPC64LE_FALSE
643 LIBGO_IS_PPC64LE_TRUE
648 LIBGO_IS_MIPSO64_FALSE
649 LIBGO_IS_MIPSO64_TRUE
650 LIBGO_IS_MIPSN64_FALSE
651 LIBGO_IS_MIPSN64_TRUE
652 LIBGO_IS_MIPSN32_FALSE
653 LIBGO_IS_MIPSN32_TRUE
654 LIBGO_IS_MIPSO32_FALSE
655 LIBGO_IS_MIPSO32_TRUE
670 LIBGO_IS_SOLARIS_FALSE
671 LIBGO_IS_SOLARIS_TRUE
674 LIBGO_IS_DRAGONFLY_FALSE
675 LIBGO_IS_DRAGONFLY_TRUE
676 LIBGO_IS_OPENBSD_FALSE
677 LIBGO_IS_OPENBSD_TRUE
678 LIBGO_IS_NETBSD_FALSE
684 LIBGO_IS_FREEBSD_FALSE
685 LIBGO_IS_FREEBSD_TRUE
686 LIBGO_IS_DARWIN_FALSE
692 nover_glibgo_toolexeclibdir
693 glibgo_toolexeclibdir
721 MAINTAINER_MODE_FALSE
750 INSTALL_STRIP_PROGRAM
806 program_transform_name
819 enable_option_checking
821 enable_dependency_tracking
822 enable_maintainer_mode
830 enable_version_specific_runtime_libs
833 with_system_libunwind
834 enable_sjlj_exceptions
836 ac_precious_vars
='build_alias
843 # Initialize some variables set by options.
845 ac_init_version
=false
846 ac_unrecognized_opts
=
848 # The variables have the same names as the options, with
849 # dashes changed to underlines.
857 program_transform_name
=s
,x
,x
,
865 # Installation directory options.
866 # These are left unexpanded so users can "make install exec_prefix=/foo"
867 # and all the variables that are supposed to be based on exec_prefix
868 # by default will actually change.
869 # Use braces instead of parens because sh, perl, etc. also accept them.
870 # (The list follows the same order as the GNU Coding Standards.)
871 bindir
='${exec_prefix}/bin'
872 sbindir
='${exec_prefix}/sbin'
873 libexecdir
='${exec_prefix}/libexec'
874 datarootdir
='${prefix}/share'
875 datadir
='${datarootdir}'
876 sysconfdir
='${prefix}/etc'
877 sharedstatedir
='${prefix}/com'
878 localstatedir
='${prefix}/var'
879 includedir
='${prefix}/include'
880 oldincludedir
='/usr/include'
881 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
882 infodir
='${datarootdir}/info'
887 libdir
='${exec_prefix}/lib'
888 localedir
='${datarootdir}/locale'
889 mandir
='${datarootdir}/man'
895 # If the previous option needs an argument, assign it.
896 if test -n "$ac_prev"; then
897 eval $ac_prev=\
$ac_option
903 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
907 # Accept the important Cygnus configure options, so we can diagnose typos.
909 case $ac_dashdash$ac_option in
913 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
915 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
918 -build |
--build |
--buil |
--bui |
--bu)
919 ac_prev
=build_alias
;;
920 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
921 build_alias
=$ac_optarg ;;
923 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
924 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
925 ac_prev
=cache_file
;;
926 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
927 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
928 cache_file
=$ac_optarg ;;
931 cache_file
=config.cache
;;
933 -datadir |
--datadir |
--datadi |
--datad)
935 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
936 datadir
=$ac_optarg ;;
938 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
939 |
--dataroo |
--dataro |
--datar)
940 ac_prev
=datarootdir
;;
941 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
942 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
943 datarootdir
=$ac_optarg ;;
945 -disable-* |
--disable-*)
946 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
947 # Reject names that are not valid shell variable names.
948 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
949 as_fn_error
"invalid feature name: $ac_useropt"
950 ac_useropt_orig
=$ac_useropt
951 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
952 case $ac_user_opts in
956 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
957 ac_unrecognized_sep
=', ';;
959 eval enable_
$ac_useropt=no
;;
961 -docdir |
--docdir |
--docdi |
--doc |
--do)
963 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
966 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
968 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
971 -enable-* |
--enable-*)
972 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
973 # Reject names that are not valid shell variable names.
974 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
975 as_fn_error
"invalid feature name: $ac_useropt"
976 ac_useropt_orig
=$ac_useropt
977 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
978 case $ac_user_opts in
982 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
983 ac_unrecognized_sep
=', ';;
985 eval enable_
$ac_useropt=\
$ac_optarg ;;
987 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
988 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
989 |
--exec |
--exe |
--ex)
990 ac_prev
=exec_prefix
;;
991 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
992 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
993 |
--exec=* |
--exe=* |
--ex=*)
994 exec_prefix
=$ac_optarg ;;
996 -gas |
--gas |
--ga |
--g)
997 # Obsolete; use --with-gas.
1000 -help |
--help |
--hel |
--he |
-h)
1001 ac_init_help
=long
;;
1002 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1003 ac_init_help
=recursive
;;
1004 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1005 ac_init_help
=short
;;
1007 -host |
--host |
--hos |
--ho)
1008 ac_prev
=host_alias
;;
1009 -host=* |
--host=* |
--hos=* |
--ho=*)
1010 host_alias
=$ac_optarg ;;
1012 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1014 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1016 htmldir
=$ac_optarg ;;
1018 -includedir |
--includedir |
--includedi |
--included |
--include \
1019 |
--includ |
--inclu |
--incl |
--inc)
1020 ac_prev
=includedir
;;
1021 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1022 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1023 includedir
=$ac_optarg ;;
1025 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1027 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1028 infodir
=$ac_optarg ;;
1030 -libdir |
--libdir |
--libdi |
--libd)
1032 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1033 libdir
=$ac_optarg ;;
1035 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1036 |
--libexe |
--libex |
--libe)
1037 ac_prev
=libexecdir
;;
1038 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1039 |
--libexe=* |
--libex=* |
--libe=*)
1040 libexecdir
=$ac_optarg ;;
1042 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1043 ac_prev
=localedir
;;
1044 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1045 localedir
=$ac_optarg ;;
1047 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1048 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1049 ac_prev
=localstatedir
;;
1050 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1051 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1052 localstatedir
=$ac_optarg ;;
1054 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1056 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1057 mandir
=$ac_optarg ;;
1059 -nfp |
--nfp |
--nf)
1060 # Obsolete; use --without-fp.
1063 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1064 |
--no-cr |
--no-c |
-n)
1067 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1068 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1071 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1072 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1073 |
--oldin |
--oldi |
--old |
--ol |
--o)
1074 ac_prev
=oldincludedir
;;
1075 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1076 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1077 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1078 oldincludedir
=$ac_optarg ;;
1080 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1082 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1083 prefix
=$ac_optarg ;;
1085 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1086 |
--program-pre |
--program-pr |
--program-p)
1087 ac_prev
=program_prefix
;;
1088 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1089 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1090 program_prefix
=$ac_optarg ;;
1092 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1093 |
--program-suf |
--program-su |
--program-s)
1094 ac_prev
=program_suffix
;;
1095 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1096 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1097 program_suffix
=$ac_optarg ;;
1099 -program-transform-name |
--program-transform-name \
1100 |
--program-transform-nam |
--program-transform-na \
1101 |
--program-transform-n |
--program-transform- \
1102 |
--program-transform |
--program-transfor \
1103 |
--program-transfo |
--program-transf \
1104 |
--program-trans |
--program-tran \
1105 |
--progr-tra |
--program-tr |
--program-t)
1106 ac_prev
=program_transform_name
;;
1107 -program-transform-name=* |
--program-transform-name=* \
1108 |
--program-transform-nam=* |
--program-transform-na=* \
1109 |
--program-transform-n=* |
--program-transform-=* \
1110 |
--program-transform=* |
--program-transfor=* \
1111 |
--program-transfo=* |
--program-transf=* \
1112 |
--program-trans=* |
--program-tran=* \
1113 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1114 program_transform_name
=$ac_optarg ;;
1116 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1118 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1119 pdfdir
=$ac_optarg ;;
1121 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1123 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1126 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1127 |
-silent |
--silent |
--silen |
--sile |
--sil)
1130 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1132 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1134 sbindir
=$ac_optarg ;;
1136 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1137 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1138 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1140 ac_prev
=sharedstatedir
;;
1141 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1142 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1143 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1145 sharedstatedir
=$ac_optarg ;;
1147 -site |
--site |
--sit)
1149 -site=* |
--site=* |
--sit=*)
1152 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1154 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1155 srcdir
=$ac_optarg ;;
1157 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1158 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1159 ac_prev
=sysconfdir
;;
1160 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1161 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1162 sysconfdir
=$ac_optarg ;;
1164 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1165 ac_prev
=target_alias
;;
1166 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1167 target_alias
=$ac_optarg ;;
1169 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1172 -version |
--version |
--versio |
--versi |
--vers |
-V)
1173 ac_init_version
=: ;;
1176 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1177 # Reject names that are not valid shell variable names.
1178 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1179 as_fn_error
"invalid package name: $ac_useropt"
1180 ac_useropt_orig
=$ac_useropt
1181 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1182 case $ac_user_opts in
1186 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1187 ac_unrecognized_sep
=', ';;
1189 eval with_
$ac_useropt=\
$ac_optarg ;;
1191 -without-* |
--without-*)
1192 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1193 # Reject names that are not valid shell variable names.
1194 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1195 as_fn_error
"invalid package name: $ac_useropt"
1196 ac_useropt_orig
=$ac_useropt
1197 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1198 case $ac_user_opts in
1202 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1203 ac_unrecognized_sep
=', ';;
1205 eval with_
$ac_useropt=no
;;
1208 # Obsolete; use --with-x.
1211 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1212 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1213 ac_prev
=x_includes
;;
1214 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1215 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1216 x_includes
=$ac_optarg ;;
1218 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1219 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1220 ac_prev
=x_libraries
;;
1221 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1222 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1223 x_libraries
=$ac_optarg ;;
1225 -*) as_fn_error
"unrecognized option: \`$ac_option'
1226 Try \`$0 --help' for more information."
1230 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1231 # Reject names that are not valid shell variable names.
1232 case $ac_envvar in #(
1233 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1234 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1236 eval $ac_envvar=\
$ac_optarg
1237 export $ac_envvar ;;
1240 # FIXME: should be removed in autoconf 3.0.
1241 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1242 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1243 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1244 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1250 if test -n "$ac_prev"; then
1251 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1252 as_fn_error
"missing argument to $ac_option"
1255 if test -n "$ac_unrecognized_opts"; then
1256 case $enable_option_checking in
1258 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1259 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1263 # Check all directory arguments for consistency.
1264 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1265 datadir sysconfdir sharedstatedir localstatedir includedir \
1266 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1267 libdir localedir mandir
1269 eval ac_val
=\$
$ac_var
1270 # Remove trailing slashes.
1273 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1274 eval $ac_var=\
$ac_val;;
1276 # Be sure to have absolute directory names.
1278 [\\/$
]* | ?
:[\\/]* ) continue;;
1279 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1281 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1284 # There might be people who depend on the old broken behavior: `$host'
1285 # used to hold the argument of --host etc.
1286 # FIXME: To remove some day.
1289 target
=$target_alias
1291 # FIXME: To remove some day.
1292 if test "x$host_alias" != x
; then
1293 if test "x$build_alias" = x
; then
1294 cross_compiling
=maybe
1295 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1296 If a cross compiler is detected then cross compile mode will be used." >&2
1297 elif test "x$build_alias" != "x$host_alias"; then
1303 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1305 test "$silent" = yes && exec 6>/dev
/null
1308 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1309 ac_ls_di
=`ls -di .` &&
1310 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1311 as_fn_error
"working directory cannot be determined"
1312 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1313 as_fn_error
"pwd does not report name of working directory"
1316 # Find the source files, if location was not specified.
1317 if test -z "$srcdir"; then
1318 ac_srcdir_defaulted
=yes
1319 # Try the directory containing this script, then the parent directory.
1320 ac_confdir
=`$as_dirname -- "$as_myself" ||
1321 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1322 X"$as_myself" : 'X\(//\)[^/]' \| \
1323 X"$as_myself" : 'X\(//\)$' \| \
1324 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1325 $as_echo X"$as_myself" |
1326 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1344 if test ! -r "$srcdir/$ac_unique_file"; then
1348 ac_srcdir_defaulted
=no
1350 if test ! -r "$srcdir/$ac_unique_file"; then
1351 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1352 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1354 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1356 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1358 # When building in place, set srcdir=.
1359 if test "$ac_abs_confdir" = "$ac_pwd"; then
1362 # Remove unnecessary trailing slashes from srcdir.
1363 # Double slashes in file names in object file debugging info
1364 # mess up M-x gdb in Emacs.
1366 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1368 for ac_var
in $ac_precious_vars; do
1369 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1370 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1371 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1372 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1376 # Report the --help message.
1378 if test "$ac_init_help" = "long"; then
1379 # Omit some internal or obsolete options to make the list less imposing.
1380 # This message is too long to be a string in the A/UX 3.1 sh.
1382 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1384 Usage: $0 [OPTION]... [VAR=VALUE]...
1386 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1387 VAR=VALUE. See below for descriptions of some of the useful variables.
1389 Defaults for the options are specified in brackets.
1392 -h, --help display this help and exit
1393 --help=short display options specific to this package
1394 --help=recursive display the short help of all the included packages
1395 -V, --version display version information and exit
1396 -q, --quiet, --silent do not print \`checking...' messages
1397 --cache-file=FILE cache test results in FILE [disabled]
1398 -C, --config-cache alias for \`--cache-file=config.cache'
1399 -n, --no-create do not create output files
1400 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1402 Installation directories:
1403 --prefix=PREFIX install architecture-independent files in PREFIX
1404 [$ac_default_prefix]
1405 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1408 By default, \`make install' will install all the files in
1409 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1410 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1411 for instance \`--prefix=\$HOME'.
1413 For better control, use the options below.
1415 Fine tuning of the installation directories:
1416 --bindir=DIR user executables [EPREFIX/bin]
1417 --sbindir=DIR system admin executables [EPREFIX/sbin]
1418 --libexecdir=DIR program executables [EPREFIX/libexec]
1419 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1420 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1421 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1422 --libdir=DIR object code libraries [EPREFIX/lib]
1423 --includedir=DIR C header files [PREFIX/include]
1424 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1425 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1426 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1427 --infodir=DIR info documentation [DATAROOTDIR/info]
1428 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1429 --mandir=DIR man documentation [DATAROOTDIR/man]
1430 --docdir=DIR documentation root [DATAROOTDIR/doc/libgo]
1431 --htmldir=DIR html documentation [DOCDIR]
1432 --dvidir=DIR dvi documentation [DOCDIR]
1433 --pdfdir=DIR pdf documentation [DOCDIR]
1434 --psdir=DIR ps documentation [DOCDIR]
1440 --program-prefix=PREFIX prepend PREFIX to installed program names
1441 --program-suffix=SUFFIX append SUFFIX to installed program names
1442 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1445 --build=BUILD configure
for building on BUILD
[guessed
]
1446 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1447 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1451 if test -n "$ac_init_help"; then
1452 case $ac_init_help in
1453 short | recursive
) echo "Configuration of package-unused version-unused:";;
1458 --disable-option-checking ignore unrecognized
--enable/--with options
1459 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1460 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1461 --enable-multilib build many library versions
(default
)
1462 --disable-dependency-tracking speeds up one-time build
1463 --enable-dependency-tracking do not reject slow dependency extractors
1464 --enable-maintainer-mode enable make rules and dependencies not useful
1465 (and sometimes confusing
) to the casual installer
1466 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1467 --enable-static[=PKGS
] build static libraries
[default
=yes]
1468 --enable-fast-install[=PKGS
]
1469 optimize
for fast installation
[default
=yes]
1470 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1471 --enable-werror turns on
-Werror [default
=yes]
1472 --enable-version-specific-runtime-libs
1473 Specify that runtime libraries should be installed
1474 in a compiler-specific directory
1475 --enable-sjlj-exceptions
1476 force use of builtin_setjmp
for exceptions
1479 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1480 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1481 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1482 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1484 --without-libffi don
't use libffi
1485 --without-libatomic don't use libatomic
1486 --with-system-libunwind use installed libunwind
1488 Some influential environment variables
:
1489 CC C compiler
command
1490 CFLAGS C compiler flags
1491 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1492 nonstandard directory
<lib dir
>
1493 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1494 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1495 you have headers
in a nonstandard directory
<include dir
>
1496 GOC Go compiler
command
1497 GOCFLAGS Go compiler flags
1500 Use these variables to override the choices made by
`configure' or to help
1501 it to find libraries and programs with nonstandard names/locations.
1503 Report bugs to the package provider.
1508 if test "$ac_init_help" = "recursive"; then
1509 # If there are subdirs, report their specific --help.
1510 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1511 test -d "$ac_dir" ||
1512 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1517 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1519 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1520 # A ".." for each directory in $ac_dir_suffix.
1521 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1522 case $ac_top_builddir_sub in
1523 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1524 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1527 ac_abs_top_builddir=$ac_pwd
1528 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1529 # for backward compatibility:
1530 ac_top_builddir=$ac_top_build_prefix
1533 .) # We are building in place.
1535 ac_top_srcdir=$ac_top_builddir_sub
1536 ac_abs_top_srcdir=$ac_pwd ;;
1537 [\\/]* | ?:[\\/]* ) # Absolute name.
1538 ac_srcdir=$srcdir$ac_dir_suffix;
1539 ac_top_srcdir=$srcdir
1540 ac_abs_top_srcdir=$srcdir ;;
1542 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1543 ac_top_srcdir=$ac_top_build_prefix$srcdir
1544 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1546 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1548 cd "$ac_dir" || { ac_status=$?; continue; }
1549 # Check for guested configure.
1550 if test -f "$ac_srcdir/configure.gnu"; then
1552 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1553 elif test -f "$ac_srcdir/configure"; then
1555 $SHELL "$ac_srcdir/configure" --help=recursive
1557 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1559 cd "$ac_pwd" || { ac_status=$?; break; }
1563 test -n "$ac_init_help" && exit $ac_status
1564 if $ac_init_version; then
1566 package-unused configure version-unused
1567 generated by GNU Autoconf 2.64
1569 Copyright (C) 2009 Free Software Foundation, Inc.
1570 This configure script is free software; the Free Software Foundation
1571 gives unlimited permission to copy, distribute and modify it.
1576 ## ------------------------ ##
1577 ## Autoconf initialization. ##
1578 ## ------------------------ ##
1580 # ac_fn_c_try_compile LINENO
1581 # --------------------------
1582 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1583 ac_fn_c_try_compile ()
1585 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1586 rm -f conftest.$ac_objext
1587 if { { ac_try="$ac_compile"
1589 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1590 *) ac_try_echo
=$ac_try;;
1592 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1593 $as_echo "$ac_try_echo"; } >&5
1594 (eval "$ac_compile") 2>conftest.err
1596 if test -s conftest.err
; then
1597 grep -v '^ *+' conftest.err
>conftest.er1
1598 cat conftest.er1
>&5
1599 mv -f conftest.er1 conftest.err
1601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1602 test $ac_status = 0; } && {
1603 test -z "$ac_c_werror_flag" ||
1604 test ! -s conftest.err
1605 } && test -s conftest.
$ac_objext; then :
1608 $as_echo "$as_me: failed program was:" >&5
1609 sed 's/^/| /' conftest.
$ac_ext >&5
1613 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1616 } # ac_fn_c_try_compile
1618 # ac_fn_c_try_link LINENO
1619 # -----------------------
1620 # Try to link conftest.$ac_ext, and return whether this succeeded.
1623 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1624 rm -f conftest.
$ac_objext conftest
$ac_exeext
1625 if { { ac_try
="$ac_link"
1627 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1628 *) ac_try_echo=$ac_try;;
1630 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1631 $as_echo "$ac_try_echo"; } >&5
1632 (eval "$ac_link") 2>conftest.err
1634 if test -s conftest.err; then
1635 grep -v '^ *+' conftest.err >conftest.er1
1636 cat conftest.er1 >&5
1637 mv -f conftest.er1 conftest.err
1639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1640 test $ac_status = 0; } && {
1641 test -z "$ac_c_werror_flag" ||
1642 test ! -s conftest.err
1643 } && test -s conftest$ac_exeext && {
1644 test "$cross_compiling" = yes ||
1645 $as_test_x conftest$ac_exeext
1649 $as_echo "$as_me: failed program was:" >&5
1650 sed 's/^/| /' conftest.$ac_ext >&5
1654 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1655 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1656 # interfere with the next link command; also delete a directory that is
1657 # left behind by Apple's compiler. We do this before executing the actions.
1658 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1659 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1662 } # ac_fn_c_try_link
1664 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1665 # -------------------------------------------------------
1666 # Tests whether HEADER exists and can be compiled using the include files in
1667 # INCLUDES, setting the cache variable VAR accordingly.
1668 ac_fn_c_check_header_compile ()
1670 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1672 $as_echo_n "checking for $2... " >&6; }
1673 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1674 $as_echo_n "(cached) " >&6
1676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1677 /* end confdefs.h. */
1681 if ac_fn_c_try_compile "$LINENO"; then :
1686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1690 $as_echo "$ac_res" >&6; }
1691 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1693 } # ac_fn_c_check_header_compile
1695 # ac_fn_c_try_cpp LINENO
1696 # ----------------------
1697 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1700 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1701 if { { ac_try="$ac_cpp conftest.$ac_ext"
1703 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1704 *) ac_try_echo
=$ac_try;;
1706 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1707 $as_echo "$ac_try_echo"; } >&5
1708 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1710 if test -s conftest.err
; then
1711 grep -v '^ *+' conftest.err
>conftest.er1
1712 cat conftest.er1
>&5
1713 mv -f conftest.er1 conftest.err
1715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1716 test $ac_status = 0; } >/dev
/null
&& {
1717 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1718 test ! -s conftest.err
1722 $as_echo "$as_me: failed program was:" >&5
1723 sed 's/^/| /' conftest.
$ac_ext >&5
1727 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1732 # ac_fn_c_try_run LINENO
1733 # ----------------------
1734 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1735 # that executables *can* be run.
1738 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1739 if { { ac_try
="$ac_link"
1741 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1742 *) ac_try_echo=$ac_try;;
1744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1745 $as_echo "$ac_try_echo"; } >&5
1746 (eval "$ac_link") 2>&5
1748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1749 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1750 { { case "(($ac_try" in
1751 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1752 *) ac_try_echo
=$ac_try;;
1754 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1755 $as_echo "$ac_try_echo"; } >&5
1756 (eval "$ac_try") 2>&5
1758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1759 test $ac_status = 0; }; }; then :
1762 $as_echo "$as_me: program exited with status $ac_status" >&5
1763 $as_echo "$as_me: failed program was:" >&5
1764 sed 's/^/| /' conftest.
$ac_ext >&5
1766 ac_retval
=$ac_status
1768 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1769 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1774 # ac_fn_c_check_func LINENO FUNC VAR
1775 # ----------------------------------
1776 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1777 ac_fn_c_check_func
()
1779 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1781 $as_echo_n "checking for $2... " >&6; }
1782 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1783 $as_echo_n "(cached) " >&6
1785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1786 /* end confdefs.h. */
1787 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1789 #define $2 innocuous_$2
1791 /* System header to define __stub macros and hopefully few prototypes,
1792 which can conflict with char $2 (); below.
1793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1794 <limits.h> exists even on freestanding compilers. */
1797 # include <limits.h>
1799 # include <assert.h>
1804 /* Override any GCC internal prototype to avoid an error.
1805 Use char because int might match the return type of a GCC
1806 builtin and then its argument prototype would still apply. */
1811 /* The GNU C library defines this for functions which it implements
1812 to always fail with ENOSYS. Some functions are actually named
1813 something starting with __ and the normal name is an alias. */
1814 #if defined __stub_$2 || defined __stub___$2
1826 if ac_fn_c_try_link
"$LINENO"; then :
1831 rm -f core conftest.err conftest.
$ac_objext \
1832 conftest
$ac_exeext conftest.
$ac_ext
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1836 $as_echo "$ac_res" >&6; }
1837 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1839 } # ac_fn_c_check_func
1841 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1842 # -------------------------------------------------------
1843 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1844 # the include files in INCLUDES and setting the cache variable VAR
1846 ac_fn_c_check_header_mongrel
()
1848 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1849 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1851 $as_echo_n "checking for $2... " >&6; }
1852 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1853 $as_echo_n "(cached) " >&6
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1857 $as_echo "$ac_res" >&6; }
1859 # Is the header compilable?
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1861 $as_echo_n "checking $2 usability... " >&6; }
1862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1863 /* end confdefs.h. */
1867 if ac_fn_c_try_compile
"$LINENO"; then :
1868 ac_header_compiler
=yes
1870 ac_header_compiler
=no
1872 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1874 $as_echo "$ac_header_compiler" >&6; }
1876 # Is the header present?
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1878 $as_echo_n "checking $2 presence... " >&6; }
1879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1880 /* end confdefs.h. */
1883 if ac_fn_c_try_cpp
"$LINENO"; then :
1884 ac_header_preproc
=yes
1886 ac_header_preproc
=no
1888 rm -f conftest.err conftest.
$ac_ext
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1890 $as_echo "$ac_header_preproc" >&6; }
1892 # So? What about this header?
1893 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1896 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1898 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1902 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1904 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1906 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1908 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1910 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1914 $as_echo_n "checking for $2... " >&6; }
1915 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1916 $as_echo_n "(cached) " >&6
1918 eval "$3=\$ac_header_compiler"
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1922 $as_echo "$ac_res" >&6; }
1924 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1926 } # ac_fn_c_check_header_mongrel
1928 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1929 # -------------------------------------------
1930 # Tests whether TYPE exists after having included INCLUDES, setting cache
1931 # variable VAR accordingly.
1932 ac_fn_c_check_type
()
1934 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1936 $as_echo_n "checking for $2... " >&6; }
1937 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1938 $as_echo_n "(cached) " >&6
1941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1942 /* end confdefs.h. */
1953 if ac_fn_c_try_compile
"$LINENO"; then :
1954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1955 /* end confdefs.h. */
1966 if ac_fn_c_try_compile
"$LINENO"; then :
1971 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1973 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1977 $as_echo "$ac_res" >&6; }
1978 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1980 } # ac_fn_c_check_type
1982 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1983 # --------------------------------------------
1984 # Tries to find the compile-time value of EXPR in a program that includes
1985 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1987 ac_fn_c_compute_int
()
1989 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1990 if test "$cross_compiling" = yes; then
1991 # Depending upon the size, compute the lo and hi bounds.
1992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1993 /* end confdefs.h. */
1998 static int test_array [1 - 2 * !(($2) >= 0)];
2005 if ac_fn_c_try_compile
"$LINENO"; then :
2008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2009 /* end confdefs.h. */
2014 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2021 if ac_fn_c_try_compile
"$LINENO"; then :
2022 ac_hi
=$ac_mid; break
2024 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2025 if test $ac_lo -le $ac_mid; then
2029 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2031 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2035 /* end confdefs.h. */
2040 static int test_array [1 - 2 * !(($2) < 0)];
2047 if ac_fn_c_try_compile
"$LINENO"; then :
2050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2051 /* end confdefs.h. */
2056 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2063 if ac_fn_c_try_compile
"$LINENO"; then :
2064 ac_lo
=$ac_mid; break
2066 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2067 if test $ac_mid -le $ac_hi; then
2071 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2073 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2078 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2080 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2081 # Binary search between lo and hi bounds.
2082 while test "x$ac_lo" != "x$ac_hi"; do
2083 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2085 /* end confdefs.h. */
2090 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2097 if ac_fn_c_try_compile
"$LINENO"; then :
2100 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2102 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2105 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2110 /* end confdefs.h. */
2112 static long int longval () { return $2; }
2113 static unsigned long int ulongval () { return $2; }
2120 FILE *f = fopen ("conftest.val", "w");
2125 long int i = longval ();
2128 fprintf (f, "%ld", i);
2132 unsigned long int i = ulongval ();
2135 fprintf (f, "%lu", i);
2137 /* Do not output a trailing newline, as this causes \r\n confusion
2138 on some platforms. */
2139 return ferror (f) || fclose (f) != 0;
2145 if ac_fn_c_try_run
"$LINENO"; then :
2146 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2150 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2151 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2155 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2158 } # ac_fn_c_compute_int
2159 cat >config.log
<<_ACEOF
2160 This file contains any messages produced by compilers while
2161 running configure, to aid debugging if configure makes a mistake.
2163 It was created by package-unused $as_me version-unused, which was
2164 generated by GNU Autoconf 2.64. Invocation command line was
2176 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2177 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2178 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2179 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2180 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2182 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2183 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2185 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2186 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2187 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2188 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2189 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2190 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2191 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2199 test -z "$as_dir" && as_dir
=.
2200 $as_echo "PATH: $as_dir"
2216 # Keep a trace of the command line.
2217 # Strip out --no-create and --no-recursion so they do not pile up.
2218 # Strip out --silent because we don't want to record it for future runs.
2219 # Also quote any args containing shell meta-characters.
2220 # Make two passes to allow for proper duplicate-argument suppression.
2224 ac_must_keep_next
=false
2230 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2231 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2232 |
-silent |
--silent |
--silen |
--sile |
--sil)
2235 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2238 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2240 as_fn_append ac_configure_args1
" '$ac_arg'"
2241 if test $ac_must_keep_next = true
; then
2242 ac_must_keep_next
=false
# Got value, back to normal.
2245 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2246 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2247 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2248 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2249 case "$ac_configure_args0 " in
2250 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2253 -* ) ac_must_keep_next
=true
;;
2256 as_fn_append ac_configure_args
" '$ac_arg'"
2261 { ac_configure_args0
=; unset ac_configure_args0
;}
2262 { ac_configure_args1
=; unset ac_configure_args1
;}
2264 # When interrupted or exit'd, cleanup temporary files, and complete
2265 # config.log. We remove comments because anyway the quotes in there
2266 # would cause problems or look ugly.
2267 # WARNING: Use '\'' to represent an apostrophe within the trap.
2268 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2269 trap 'exit_status=$?
2270 # Save into config.log some information that might help in debugging.
2275 ## ---------------- ##
2276 ## Cache variables. ##
2277 ## ---------------- ##
2280 # The following way of writing the cache mishandles newlines in values,
2282 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2283 eval ac_val=\$$ac_var
2287 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2288 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2291 _ | IFS | as_nl) ;; #(
2292 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2293 *) { eval $ac_var=; unset $ac_var;} ;;
2298 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2299 *${as_nl}ac_space=\ *)
2301 "s/'\''/'\''\\\\'\'''\''/g;
2302 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2305 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2313 ## ----------------- ##
2314 ## Output variables. ##
2315 ## ----------------- ##
2318 for ac_var in $ac_subst_vars
2320 eval ac_val=\$$ac_var
2322 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2324 $as_echo "$ac_var='\''$ac_val'\''"
2328 if test -n "$ac_subst_files"; then
2330 ## ------------------- ##
2331 ## File substitutions. ##
2332 ## ------------------- ##
2335 for ac_var
in $ac_subst_files
2337 eval ac_val
=\$
$ac_var
2339 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2341 $as_echo "$ac_var='\''$ac_val'\''"
2346 if test -s confdefs.h; then
2356 test "$ac_signal" != 0 &&
2357 $as_echo "$as_me: caught signal $ac_signal"
2358 $as_echo "$as_me: exit $exit_status"
2360 rm -f core *.core core.conftest.* &&
2361 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2364 for ac_signal
in 1 2 13 15; do
2365 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2369 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2370 rm -f -r conftest
* confdefs.h
2372 $as_echo "/* confdefs.h */" > confdefs.h
2374 # Predefined preprocessor variables.
2376 cat >>confdefs.h
<<_ACEOF
2377 #define PACKAGE_NAME "$PACKAGE_NAME"
2380 cat >>confdefs.h
<<_ACEOF
2381 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2384 cat >>confdefs.h
<<_ACEOF
2385 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2388 cat >>confdefs.h
<<_ACEOF
2389 #define PACKAGE_STRING "$PACKAGE_STRING"
2392 cat >>confdefs.h
<<_ACEOF
2393 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2396 cat >>confdefs.h
<<_ACEOF
2397 #define PACKAGE_URL "$PACKAGE_URL"
2401 # Let the site file select an alternate cache file if it wants to.
2402 # Prefer an explicitly selected file to automatically selected ones.
2405 if test -n "$CONFIG_SITE"; then
2406 ac_site_file1
=$CONFIG_SITE
2407 elif test "x$prefix" != xNONE
; then
2408 ac_site_file1
=$prefix/share
/config.site
2409 ac_site_file2
=$prefix/etc
/config.site
2411 ac_site_file1
=$ac_default_prefix/share
/config.site
2412 ac_site_file2
=$ac_default_prefix/etc
/config.site
2414 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2416 test "x$ac_site_file" = xNONE
&& continue
2417 if test -r "$ac_site_file"; then
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2419 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2420 sed 's/^/| /' "$ac_site_file" >&5
2425 if test -r "$cache_file"; then
2426 # Some versions of bash will fail to source /dev/null (special
2427 # files actually), so we avoid doing that.
2428 if test -f "$cache_file"; then
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2430 $as_echo "$as_me: loading cache $cache_file" >&6;}
2432 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2433 *) .
"./$cache_file";;
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2438 $as_echo "$as_me: creating cache $cache_file" >&6;}
2442 # Check that the precious variables saved in the cache have kept the same
2444 ac_cache_corrupted
=false
2445 for ac_var
in $ac_precious_vars; do
2446 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2447 eval ac_new_set
=\
$ac_env_${ac_var}_set
2448 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2449 eval ac_new_val
=\
$ac_env_${ac_var}_value
2450 case $ac_old_set,$ac_new_set in
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2453 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2454 ac_cache_corrupted
=: ;;
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2457 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2458 ac_cache_corrupted
=: ;;
2461 if test "x$ac_old_val" != "x$ac_new_val"; then
2462 # differences in whitespace do not lead to failure.
2463 ac_old_val_w
=`echo x $ac_old_val`
2464 ac_new_val_w
=`echo x $ac_new_val`
2465 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2467 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2468 ac_cache_corrupted
=:
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2471 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2472 eval $ac_var=\
$ac_old_val
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2475 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2477 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2480 # Pass precious variables to config.status.
2481 if test "$ac_new_set" = set; then
2483 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2484 *) ac_arg
=$ac_var=$ac_new_val ;;
2486 case " $ac_configure_args " in
2487 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2488 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2492 if $ac_cache_corrupted; then
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2494 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2496 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2497 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2499 ## -------------------- ##
2500 ## Main body of script. ##
2501 ## -------------------- ##
2504 ac_cpp
='$CPP $CPPFLAGS'
2505 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2506 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2507 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2514 ac_config_headers
="$ac_config_headers config.h"
2517 libtool_VERSION
=7:0:0
2520 # Default to --enable-multilib
2521 # Check whether --enable-multilib was given.
2522 if test "${enable_multilib+set}" = set; then :
2523 enableval
=$enable_multilib; case "$enableval" in
2524 yes) multilib
=yes ;;
2526 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
2533 # We may get other options which we leave undocumented:
2534 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2535 # See config-ml.in if you want the gory details.
2537 if test "$srcdir" = "."; then
2538 if test "$with_target_subdir" != "."; then
2539 multi_basedir
="$srcdir/$with_multisrctop../.."
2541 multi_basedir
="$srcdir/$with_multisrctop.."
2544 multi_basedir
="$srcdir/.."
2548 # Even if the default multilib is not a cross compilation,
2549 # it may be that some of the other multilibs are.
2550 if test $cross_compiling = no
&& test $multilib = yes \
2551 && test "x${with_multisubdir}" != x
; then
2552 cross_compiling
=maybe
2555 ac_config_commands
="$ac_config_commands default-1"
2559 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2560 for ac_t
in install-sh
install.sh shtool
; do
2561 if test -f "$ac_dir/$ac_t"; then
2563 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2568 if test -z "$ac_aux_dir"; then
2569 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2572 # These three variables are undocumented and unsupported,
2573 # and are intended to be withdrawn in a future Autoconf release.
2574 # They can cause serious problems if a builder's source tree is in a directory
2575 # whose full name contains unusual characters.
2576 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2577 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2578 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2581 # Make sure we can run config.sub.
2582 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2583 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2586 $as_echo_n "checking build system type... " >&6; }
2587 if test "${ac_cv_build+set}" = set; then :
2588 $as_echo_n "(cached) " >&6
2590 ac_build_alias
=$build_alias
2591 test "x$ac_build_alias" = x
&&
2592 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2593 test "x$ac_build_alias" = x
&&
2594 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2595 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2596 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2600 $as_echo "$ac_cv_build" >&6; }
2601 case $ac_cv_build in
2603 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2606 ac_save_IFS
=$IFS; IFS
='-'
2612 # Remember, the first character of IFS is used to create $*,
2613 # except with old shells:
2616 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2620 $as_echo_n "checking host system type... " >&6; }
2621 if test "${ac_cv_host+set}" = set; then :
2622 $as_echo_n "(cached) " >&6
2624 if test "x$host_alias" = x
; then
2625 ac_cv_host
=$ac_cv_build
2627 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2628 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2633 $as_echo "$ac_cv_host" >&6; }
2636 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2639 ac_save_IFS
=$IFS; IFS
='-'
2645 # Remember, the first character of IFS is used to create $*,
2646 # except with old shells:
2649 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2653 $as_echo_n "checking target system type... " >&6; }
2654 if test "${ac_cv_target+set}" = set; then :
2655 $as_echo_n "(cached) " >&6
2657 if test "x$target_alias" = x
; then
2658 ac_cv_target
=$ac_cv_host
2660 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2661 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2666 $as_echo "$ac_cv_target" >&6; }
2667 case $ac_cv_target in
2669 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2671 target
=$ac_cv_target
2672 ac_save_IFS
=$IFS; IFS
='-'
2678 # Remember, the first character of IFS is used to create $*,
2679 # except with old shells:
2682 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2685 # The aliases save the names the user supplied, while $host etc.
2686 # will get canonicalized.
2687 test -n "$target_alias" &&
2688 test "$program_prefix$program_suffix$program_transform_name" = \
2690 program_prefix
=${target_alias}-
2692 target_alias
=${target_alias-$host_alias}
2694 am__api_version
='1.11'
2696 # Find a good install program. We prefer a C program (faster),
2697 # so one script is as good as another. But avoid the broken or
2698 # incompatible versions:
2699 # SysV /etc/install, /usr/sbin/install
2700 # SunOS /usr/etc/install
2701 # IRIX /sbin/install
2703 # AmigaOS /C/install, which installs bootblocks on floppy discs
2704 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2705 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2706 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2707 # OS/2's system install, which has a completely different semantic
2708 # ./install, which can be erroneously created by make from ./install.sh.
2709 # Reject install programs that cannot install multiple files.
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2711 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2712 if test -z "$INSTALL"; then
2713 if test "${ac_cv_path_install+set}" = set; then :
2714 $as_echo_n "(cached) " >&6
2716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2720 test -z "$as_dir" && as_dir
=.
2721 # Account for people who put trailing slashes in PATH elements.
2722 case $as_dir/ in #((
2723 .
/ | .
// |
/[cC
]/* | \
2724 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2725 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2728 # OSF1 and SCO ODT 3.0 have their own names for install.
2729 # Don't use installbsd from OSF since it installs stuff as root
2731 for ac_prog
in ginstall scoinst
install; do
2732 for ac_exec_ext
in '' $ac_executable_extensions; do
2733 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2734 if test $ac_prog = install &&
2735 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2736 # AIX install. It has an incompatible calling convention.
2738 elif test $ac_prog = install &&
2739 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2740 # program-specific install script used by HP pwplus--don't use.
2743 rm -rf conftest.one conftest.two conftest.dir
2744 echo one
> conftest.one
2745 echo two
> conftest.two
2747 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2748 test -s conftest.one
&& test -s conftest.two
&&
2749 test -s conftest.dir
/conftest.one
&&
2750 test -s conftest.dir
/conftest.two
2752 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2765 rm -rf conftest.one conftest.two conftest.dir
2768 if test "${ac_cv_path_install+set}" = set; then
2769 INSTALL
=$ac_cv_path_install
2771 # As a last resort, use the slow shell script. Don't cache a
2772 # value for INSTALL within a source directory, because that will
2773 # break other packages using the cache if that directory is
2774 # removed, or if the value is a relative name.
2775 INSTALL
=$ac_install_sh
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2779 $as_echo "$INSTALL" >&6; }
2781 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2782 # It thinks the first close brace ends the variable substitution.
2783 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2785 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2787 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2790 $as_echo_n "checking whether build environment is sane... " >&6; }
2793 echo timestamp
> conftest.
file
2794 # Reject unsafe characters in $srcdir or the absolute working directory
2795 # name. Accept space and tab only in the latter.
2799 *[\\\"\
#\$\&\'\`$am_lf]*)
2800 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2803 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2804 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2807 # Do `set' in a subshell so we don't clobber the current shell's
2808 # arguments. Must try -L first in case configure is actually a
2809 # symlink; some systems play weird games with the mod time of symlinks
2810 # (eg FreeBSD returns the mod time of the symlink's containing
2813 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2814 if test "$*" = "X"; then
2816 set X
`ls -t "$srcdir/configure" conftest.file`
2819 if test "$*" != "X $srcdir/configure conftest.file" \
2820 && test "$*" != "X conftest.file $srcdir/configure"; then
2822 # If neither matched, then we have a broken ls. This can happen
2823 # if, for instance, CONFIG_SHELL is bash and it inherits a
2824 # broken ls alias from the environment. This has actually
2825 # happened. Such a system could not be considered "sane".
2826 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2827 alias in your environment" "$LINENO" 5
2830 test "$2" = conftest.
file
2836 as_fn_error
"newly created file is older than distributed files!
2837 Check your system clock" "$LINENO" 5
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2840 $as_echo "yes" >&6; }
2841 test "$program_prefix" != NONE
&&
2842 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2843 # Use a double $ so make ignores it.
2844 test "$program_suffix" != NONE
&&
2845 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2846 # Double any \ or $.
2847 # By default was `s,x,x', remove it if useless.
2848 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2849 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2851 # expand $ac_aux_dir to an absolute path
2852 am_aux_dir
=`cd $ac_aux_dir && pwd`
2854 if test x
"${MISSING+set}" != xset
; then
2857 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2859 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2862 # Use eval to expand $SHELL
2863 if eval "$MISSING --run true"; then
2864 am_missing_run
="$MISSING --run "
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2868 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2871 if test x
"${install_sh}" != xset
; then
2874 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2876 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2880 # Installed binaries are usually stripped using `strip' when the user
2881 # run `make install-strip'. However `strip' might not be the right
2882 # tool to use in cross-compilation environments, therefore Automake
2883 # will honor the `STRIP' environment variable to overrule this program.
2884 if test "$cross_compiling" != no
; then
2885 if test -n "$ac_tool_prefix"; then
2886 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2887 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2889 $as_echo_n "checking for $ac_word... " >&6; }
2890 if test "${ac_cv_prog_STRIP+set}" = set; then :
2891 $as_echo_n "(cached) " >&6
2893 if test -n "$STRIP"; then
2894 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2900 test -z "$as_dir" && as_dir
=.
2901 for ac_exec_ext
in '' $ac_executable_extensions; do
2902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2903 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2913 STRIP
=$ac_cv_prog_STRIP
2914 if test -n "$STRIP"; then
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2916 $as_echo "$STRIP" >&6; }
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2919 $as_echo "no" >&6; }
2924 if test -z "$ac_cv_prog_STRIP"; then
2926 # Extract the first word of "strip", so it can be a program name with args.
2927 set dummy strip
; ac_word
=$2
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2929 $as_echo_n "checking for $ac_word... " >&6; }
2930 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2931 $as_echo_n "(cached) " >&6
2933 if test -n "$ac_ct_STRIP"; then
2934 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2940 test -z "$as_dir" && as_dir
=.
2941 for ac_exec_ext
in '' $ac_executable_extensions; do
2942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2943 ac_cv_prog_ac_ct_STRIP
="strip"
2944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2953 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2954 if test -n "$ac_ct_STRIP"; then
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2956 $as_echo "$ac_ct_STRIP" >&6; }
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2959 $as_echo "no" >&6; }
2962 if test "x$ac_ct_STRIP" = x
; then
2965 case $cross_compiling:$ac_tool_warned in
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2968 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2969 ac_tool_warned
=yes ;;
2974 STRIP
="$ac_cv_prog_STRIP"
2978 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2981 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2982 if test -z "$MKDIR_P"; then
2983 if test "${ac_cv_path_mkdir+set}" = set; then :
2984 $as_echo_n "(cached) " >&6
2986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2987 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2990 test -z "$as_dir" && as_dir
=.
2991 for ac_prog
in mkdir gmkdir
; do
2992 for ac_exec_ext
in '' $ac_executable_extensions; do
2993 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2994 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2995 'mkdir (GNU coreutils) '* | \
2996 'mkdir (coreutils) '* | \
2997 'mkdir (fileutils) '4.1*)
2998 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3008 if test "${ac_cv_path_mkdir+set}" = set; then
3009 MKDIR_P
="$ac_cv_path_mkdir -p"
3011 # As a last resort, use the slow shell script. Don't cache a
3012 # value for MKDIR_P within a source directory, because that will
3013 # break other packages using the cache if that directory is
3014 # removed, or if the value is a relative name.
3015 test -d .
/--version && rmdir .
/--version
3016 MKDIR_P
="$ac_install_sh -d"
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3020 $as_echo "$MKDIR_P" >&6; }
3024 [\\/$
]* | ?
:[\\/]*) ;;
3025 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3028 for ac_prog
in gawk mawk nawk
awk
3030 # Extract the first word of "$ac_prog", so it can be a program name with args.
3031 set dummy
$ac_prog; ac_word
=$2
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3033 $as_echo_n "checking for $ac_word... " >&6; }
3034 if test "${ac_cv_prog_AWK+set}" = set; then :
3035 $as_echo_n "(cached) " >&6
3037 if test -n "$AWK"; then
3038 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3044 test -z "$as_dir" && as_dir
=.
3045 for ac_exec_ext
in '' $ac_executable_extensions; do
3046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3047 ac_cv_prog_AWK
="$ac_prog"
3048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3058 if test -n "$AWK"; then
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3060 $as_echo "$AWK" >&6; }
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3063 $as_echo "no" >&6; }
3067 test -n "$AWK" && break
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3071 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3073 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3074 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3075 $as_echo_n "(cached) " >&6
3077 cat >conftest.
make <<\_ACEOF
3080 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3082 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3083 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3085 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3087 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3091 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3093 $as_echo "yes" >&6; }
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3097 $as_echo "no" >&6; }
3098 SET_MAKE
="MAKE=${MAKE-make}"
3101 rm -rf .tst
2>/dev
/null
3102 mkdir .tst
2>/dev
/null
3103 if test -d .tst
; then
3108 rmdir .tst
2>/dev
/null
3110 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3111 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3112 # is not polluted with repeated "-I."
3113 am__isrc
=' -I$(srcdir)'
3114 # test to see if srcdir already configured
3115 if test -f $srcdir/config.status
; then
3116 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3120 # test whether we have cygpath
3121 if test -z "$CYGPATH_W"; then
3122 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3123 CYGPATH_W
='cygpath -w'
3130 # Define the identity of the package.
3132 VERSION
='version-unused'
3135 # Some tools Automake needs.
3137 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3140 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3143 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3146 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3149 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3151 # We need awk for the "check" target. The system "awk" is bad on
3153 # Always define AMTAR for backward compatibility. Yes, it's still used
3154 # in the wild :-( We should find a proper way to deprecate it ...
3157 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3169 ac_cpp
='$CPP $CPPFLAGS'
3170 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3171 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3172 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3173 if test -n "$ac_tool_prefix"; then
3174 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3175 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3177 $as_echo_n "checking for $ac_word... " >&6; }
3178 if test "${ac_cv_prog_CC+set}" = set; then :
3179 $as_echo_n "(cached) " >&6
3181 if test -n "$CC"; then
3182 ac_cv_prog_CC
="$CC" # Let the user override the test.
3184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3188 test -z "$as_dir" && as_dir
=.
3189 for ac_exec_ext
in '' $ac_executable_extensions; do
3190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3191 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3202 if test -n "$CC"; then
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3204 $as_echo "$CC" >&6; }
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3207 $as_echo "no" >&6; }
3212 if test -z "$ac_cv_prog_CC"; then
3214 # Extract the first word of "gcc", so it can be a program name with args.
3215 set dummy gcc
; ac_word
=$2
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3217 $as_echo_n "checking for $ac_word... " >&6; }
3218 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3219 $as_echo_n "(cached) " >&6
3221 if test -n "$ac_ct_CC"; then
3222 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3228 test -z "$as_dir" && as_dir
=.
3229 for ac_exec_ext
in '' $ac_executable_extensions; do
3230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3231 ac_cv_prog_ac_ct_CC
="gcc"
3232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3241 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3242 if test -n "$ac_ct_CC"; then
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3244 $as_echo "$ac_ct_CC" >&6; }
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3247 $as_echo "no" >&6; }
3250 if test "x$ac_ct_CC" = x
; then
3253 case $cross_compiling:$ac_tool_warned in
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3256 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3257 ac_tool_warned
=yes ;;
3265 if test -z "$CC"; then
3266 if test -n "$ac_tool_prefix"; then
3267 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3268 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3270 $as_echo_n "checking for $ac_word... " >&6; }
3271 if test "${ac_cv_prog_CC+set}" = set; then :
3272 $as_echo_n "(cached) " >&6
3274 if test -n "$CC"; then
3275 ac_cv_prog_CC
="$CC" # Let the user override the test.
3277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3281 test -z "$as_dir" && as_dir
=.
3282 for ac_exec_ext
in '' $ac_executable_extensions; do
3283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3284 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3295 if test -n "$CC"; then
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3297 $as_echo "$CC" >&6; }
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3300 $as_echo "no" >&6; }
3306 if test -z "$CC"; then
3307 # Extract the first word of "cc", so it can be a program name with args.
3308 set dummy cc
; ac_word
=$2
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3310 $as_echo_n "checking for $ac_word... " >&6; }
3311 if test "${ac_cv_prog_CC+set}" = set; then :
3312 $as_echo_n "(cached) " >&6
3314 if test -n "$CC"; then
3315 ac_cv_prog_CC
="$CC" # Let the user override the test.
3318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3322 test -z "$as_dir" && as_dir
=.
3323 for ac_exec_ext
in '' $ac_executable_extensions; do
3324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3325 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3326 ac_prog_rejected
=yes
3330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3337 if test $ac_prog_rejected = yes; then
3338 # We found a bogon in the path, so make sure we never use it.
3339 set dummy
$ac_cv_prog_CC
3341 if test $# != 0; then
3342 # We chose a different compiler from the bogus one.
3343 # However, it has the same basename, so the bogon will be chosen
3344 # first if we set CC to just the basename; use the full file name.
3346 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3352 if test -n "$CC"; then
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3354 $as_echo "$CC" >&6; }
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3357 $as_echo "no" >&6; }
3362 if test -z "$CC"; then
3363 if test -n "$ac_tool_prefix"; then
3364 for ac_prog
in cl.exe
3366 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3367 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3369 $as_echo_n "checking for $ac_word... " >&6; }
3370 if test "${ac_cv_prog_CC+set}" = set; then :
3371 $as_echo_n "(cached) " >&6
3373 if test -n "$CC"; then
3374 ac_cv_prog_CC
="$CC" # Let the user override the test.
3376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3380 test -z "$as_dir" && as_dir
=.
3381 for ac_exec_ext
in '' $ac_executable_extensions; do
3382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3383 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3394 if test -n "$CC"; then
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3396 $as_echo "$CC" >&6; }
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3399 $as_echo "no" >&6; }
3403 test -n "$CC" && break
3406 if test -z "$CC"; then
3408 for ac_prog
in cl.exe
3410 # Extract the first word of "$ac_prog", so it can be a program name with args.
3411 set dummy
$ac_prog; ac_word
=$2
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3413 $as_echo_n "checking for $ac_word... " >&6; }
3414 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3415 $as_echo_n "(cached) " >&6
3417 if test -n "$ac_ct_CC"; then
3418 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3424 test -z "$as_dir" && as_dir
=.
3425 for ac_exec_ext
in '' $ac_executable_extensions; do
3426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3427 ac_cv_prog_ac_ct_CC
="$ac_prog"
3428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3437 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3438 if test -n "$ac_ct_CC"; then
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3440 $as_echo "$ac_ct_CC" >&6; }
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3443 $as_echo "no" >&6; }
3447 test -n "$ac_ct_CC" && break
3450 if test "x$ac_ct_CC" = x
; then
3453 case $cross_compiling:$ac_tool_warned in
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3456 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3457 ac_tool_warned
=yes ;;
3466 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3467 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3468 as_fn_error
"no acceptable C compiler found in \$PATH
3469 See \`config.log' for more details." "$LINENO" 5; }
3471 # Provide some information about the compiler.
3472 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3475 for ac_option
in --version -v -V -qversion; do
3476 { { ac_try
="$ac_compiler $ac_option >&5"
3478 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3479 *) ac_try_echo=$ac_try;;
3481 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3482 $as_echo "$ac_try_echo"; } >&5
3483 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3485 if test -s conftest.err; then
3487 ... rest of stderr output deleted ...
3488 10q' conftest.err >conftest.er1
3489 cat conftest.er1 >&5
3490 rm -f conftest.er1 conftest.err
3492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3493 test $ac_status = 0; }
3496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3497 /* end confdefs.h. */
3507 ac_clean_files_save=$ac_clean_files
3508 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3509 # Try to create an executable without -o first, disregard a.out.
3510 # It will help us diagnose broken compilers, and finding out an intuition
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3513 $as_echo_n "checking for C compiler default output file name... " >&6; }
3514 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3516 # The possible output files:
3517 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3520 for ac_file in $ac_files
3523 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3524 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3529 if { { ac_try="$ac_link_default"
3531 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3532 *) ac_try_echo
=$ac_try;;
3534 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3535 $as_echo "$ac_try_echo"; } >&5
3536 (eval "$ac_link_default") 2>&5
3538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3539 test $ac_status = 0; }; then :
3540 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3541 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3542 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3543 # so that the user can short-circuit this test for compilers unknown to
3545 for ac_file
in $ac_files ''
3547 test -f "$ac_file" ||
continue
3549 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3552 # We found the default executable, but exeext='' is most
3556 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3558 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3560 # We set ac_cv_exeext here because the later test for it is not
3561 # safe: cross compilers may not add the suffix if given an `-o'
3562 # argument, so we may need to know it at that point already.
3563 # Even if this section looks crufty: it has the advantage of
3570 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3576 $as_echo "$ac_file" >&6; }
3577 if test -z "$ac_file"; then :
3578 $as_echo "$as_me: failed program was:" >&5
3579 sed 's/^/| /' conftest.
$ac_ext >&5
3581 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3582 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3583 { as_fn_set_status
77
3584 as_fn_error
"C compiler cannot create executables
3585 See \`config.log' for more details." "$LINENO" 5; }; }
3587 ac_exeext
=$ac_cv_exeext
3589 # Check that the compiler produces executables we can run. If not, either
3590 # the compiler is broken, or we cross compile.
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3592 $as_echo_n "checking whether the C compiler works... " >&6; }
3593 # If not cross compiling, check that we can run a simple program.
3594 if test "$cross_compiling" != yes; then
3595 if { ac_try
='./$ac_file'
3596 { { case "(($ac_try" in
3597 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3598 *) ac_try_echo=$ac_try;;
3600 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3601 $as_echo "$ac_try_echo"; } >&5
3602 (eval "$ac_try") 2>&5
3604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3605 test $ac_status = 0; }; }; then
3608 if test "$cross_compiling" = maybe; then
3611 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3612 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3613 as_fn_error "cannot run C compiled programs.
3614 If you meant to cross compile
, use \
`--host'.
3615 See \`config.log
' for more details." "$LINENO" 5; }
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3620 $as_echo "yes" >&6; }
3622 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3623 ac_clean_files=$ac_clean_files_save
3624 # Check that the compiler produces executables we can run. If not, either
3625 # the compiler is broken, or we cross compile.
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3627 $as_echo_n "checking whether we are cross compiling... " >&6; }
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3629 $as_echo "$cross_compiling" >&6; }
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3632 $as_echo_n "checking for suffix of executables... " >&6; }
3633 if { { ac_try="$ac_link"
3635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3636 *) ac_try_echo=$ac_try;;
3638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3639 $as_echo "$ac_try_echo"; } >&5
3640 (eval "$ac_link") 2>&5
3642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3643 test $ac_status = 0; }; then :
3644 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3645 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3646 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3648 for ac_file
in conftest.exe conftest conftest.
*; do
3649 test -f "$ac_file" ||
continue
3651 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3652 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3658 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3659 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3660 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3661 See \`config.log' for more details." "$LINENO" 5; }
3663 rm -f conftest
$ac_cv_exeext
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3665 $as_echo "$ac_cv_exeext" >&6; }
3667 rm -f conftest.
$ac_ext
3668 EXEEXT
=$ac_cv_exeext
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3671 $as_echo_n "checking for suffix of object files... " >&6; }
3672 if test "${ac_cv_objext+set}" = set; then :
3673 $as_echo_n "(cached) " >&6
3675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3676 /* end confdefs.h. */
3686 rm -f conftest.o conftest.obj
3687 if { { ac_try
="$ac_compile"
3689 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3690 *) ac_try_echo=$ac_try;;
3692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3693 $as_echo "$ac_try_echo"; } >&5
3694 (eval "$ac_compile") 2>&5
3696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3697 test $ac_status = 0; }; then :
3698 for ac_file in conftest.o conftest.obj conftest.*; do
3699 test -f "$ac_file" || continue;
3701 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3702 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3707 $as_echo "$as_me: failed program was:" >&5
3708 sed 's/^/| /' conftest.$ac_ext >&5
3710 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3711 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3712 as_fn_error "cannot compute suffix of object files
: cannot compile
3713 See \
`config.log' for more details." "$LINENO" 5; }
3715 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3718 $as_echo "$ac_cv_objext" >&6; }
3719 OBJEXT=$ac_cv_objext
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3722 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3723 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3724 $as_echo_n "(cached) " >&6
3726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3727 /* end confdefs.h. */
3740 if ac_fn_c_try_compile "$LINENO"; then :
3745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3746 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3750 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3751 if test $ac_compiler_gnu = yes; then
3756 ac_test_CFLAGS=${CFLAGS+set}
3757 ac_save_CFLAGS=$CFLAGS
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3759 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3760 if test "${ac_cv_prog_cc_g+set}" = set; then :
3761 $as_echo_n "(cached) " >&6
3763 ac_save_c_werror_flag=$ac_c_werror_flag
3764 ac_c_werror_flag=yes
3767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3768 /* end confdefs.h. */
3778 if ac_fn_c_try_compile "$LINENO"; then :
3782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3783 /* end confdefs.h. */
3793 if ac_fn_c_try_compile "$LINENO"; then :
3796 ac_c_werror_flag=$ac_save_c_werror_flag
3798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3799 /* end confdefs.h. */
3809 if ac_fn_c_try_compile "$LINENO"; then :
3812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3817 ac_c_werror_flag=$ac_save_c_werror_flag
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3820 $as_echo "$ac_cv_prog_cc_g" >&6; }
3821 if test "$ac_test_CFLAGS" = set; then
3822 CFLAGS=$ac_save_CFLAGS
3823 elif test $ac_cv_prog_cc_g = yes; then
3824 if test "$GCC" = yes; then
3830 if test "$GCC" = yes; then
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3837 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3838 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3839 $as_echo_n "(cached) " >&6
3841 ac_cv_prog_cc_c89=no
3843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3844 /* end confdefs.h. */
3847 #include <sys/types.h>
3848 #include <sys/stat.h>
3849 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3850 struct buf { int x; };
3851 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3852 static char *e (p, i)
3858 static char *f (char * (*g) (char **, int), char **p, ...)
3863 s = g (p, va_arg (v,int));
3868 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3869 function prototypes and stuff, but not '\xHH' hex character constants.
3870 These don't provoke an error unfortunately, instead are silently treated
3871 as 'x'. The following induces an error, until -std is added to get
3872 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3873 array size at least. It's necessary to write '\x00'==0 to get something
3874 that's true only with -std. */
3875 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3877 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3878 inside strings and character constants. */
3880 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3882 int test (int i, double x);
3883 struct s1 {int (*f) (int a);};
3884 struct s2 {int (*f) (double a);};
3885 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3891 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3896 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3897 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3899 CC="$ac_save_CC $ac_arg"
3900 if ac_fn_c_try_compile "$LINENO"; then :
3901 ac_cv_prog_cc_c89=$ac_arg
3903 rm -f core conftest.err conftest.$ac_objext
3904 test "x$ac_cv_prog_cc_c89" != "xno" && break
3906 rm -f conftest.$ac_ext
3911 case "x$ac_cv_prog_cc_c89" in
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3914 $as_echo "none needed" >&6; } ;;
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3917 $as_echo "unsupported" >&6; } ;;
3919 CC="$CC $ac_cv_prog_cc_c89"
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3921 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3923 if test "x$ac_cv_prog_cc_c89" != xno; then :
3928 ac_cpp='$CPP $CPPFLAGS'
3929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3932 DEPDIR="${am__leading_dot}deps"
3934 ac_config_commands="$ac_config_commands depfiles"
3937 am_make=${MAKE-make}
3938 cat > confinc << 'END'
3940 @echo this is the am__doit target
3943 # If we don't find an include directive, just comment out the code.
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3945 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3949 # First try GNU make style include.
3950 echo "include confinc" > confmf
3951 # Ignore all kinds of additional output from `make'.
3952 case `$am_make -s -f confmf 2> /dev/null` in #(
3953 *the\ am__doit\ target*)
3959 # Now try BSD make style include.
3960 if test "$am__include" = "#"; then
3961 echo '.include
"confinc"' > confmf
3962 case `$am_make -s -f confmf 2> /dev/null` in #(
3963 *the\ am__doit\ target*)
3964 am__include=.include
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3973 $as_echo "$_am_result" >&6; }
3974 rm -f confinc confmf
3976 # Check whether --enable-dependency-tracking was given.
3977 if test "${enable_dependency_tracking+set}" = set; then :
3978 enableval=$enable_dependency_tracking;
3981 if test "x$enable_dependency_tracking" != xno; then
3982 am_depcomp="$ac_aux_dir/depcomp"
3986 if test "x$enable_dependency_tracking" != xno
; then
3996 depcc
="$CC" am_compiler_list
=
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3999 $as_echo_n "checking dependency style of $depcc... " >&6; }
4000 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4001 $as_echo_n "(cached) " >&6
4003 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4004 # We make a subdir and do the tests there. Otherwise we can end up
4005 # making bogus files that we don't know about and never remove. For
4006 # instance it was reported that on HP-UX the gcc test will end up
4007 # making a dummy file named `D' -- because `-MD' means `put the output
4011 # Copy depcomp to subdir because otherwise we won't find it if we're
4012 # using a relative directory.
4013 cp "$am_depcomp" conftest.dir
4015 # We will build objects and dependencies in a subdirectory because
4016 # it helps to detect inapplicable dependency modes. For instance
4017 # both Tru64's cc and ICC support -MD to output dependencies as a
4018 # side effect of compilation, but ICC will put the dependencies in
4019 # the current directory while Tru64 will put them in the object
4023 am_cv_CC_dependencies_compiler_type
=none
4024 if test "$am_compiler_list" = ""; then
4025 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4028 case " $depcc " in #(
4029 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4032 for depmode
in $am_compiler_list; do
4033 # Setup a source with many dependencies, because some compilers
4034 # like to wrap large dependency lists on column 80 (with \), and
4035 # we should not choose a depcomp mode which is confused by this.
4037 # We need to recreate these files for each test, as the compiler may
4038 # overwrite some of them when testing with obscure command lines.
4039 # This happens at least with the AIX C compiler.
4041 for i
in 1 2 3 4 5 6; do
4042 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4043 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4044 # Solaris 8's {/usr,}/bin/sh.
4045 touch sub
/conftst
$i.h
4047 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4049 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4050 # mode. It turns out that the SunPro C++ compiler does not properly
4051 # handle `-M -o', and we need to detect this. Also, some Intel
4052 # versions had trouble with output in subdirs
4053 am__obj
=sub
/conftest.
${OBJEXT-o}
4054 am__minus_obj
="-o $am__obj"
4057 # This depmode causes a compiler race in universal mode.
4058 test "$am__universal" = false ||
continue
4061 # after this tag, mechanisms are not by side-effect, so they'll
4062 # only be used when explicitly requested
4063 if test "x$enable_dependency_tracking" = xyes
; then
4069 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4070 # This compiler won't grok `-c -o', but also, the minuso test has
4071 # not run yet. These depmodes are late enough in the game, and
4072 # so weak that their functioning should not be impacted.
4073 am__obj
=conftest.
${OBJEXT-o}
4078 if depmode
=$depmode \
4079 source=sub
/conftest.c object
=$am__obj \
4080 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4081 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4082 >/dev
/null
2>conftest.err
&&
4083 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4084 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4085 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4086 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4087 # icc doesn't choke on unknown options, it will just issue warnings
4088 # or remarks (even with -Werror). So we grep stderr for any message
4089 # that says an option was ignored or not supported.
4090 # When given -MP, icc 7.0 and 7.1 complain thusly:
4091 # icc: Command line warning: ignoring option '-M'; no argument required
4092 # The diagnosis changed in icc 8.0:
4093 # icc: Command line remark: option '-MP' not supported
4094 if (grep 'ignoring option' conftest.err ||
4095 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4096 am_cv_CC_dependencies_compiler_type
=$depmode
4105 am_cv_CC_dependencies_compiler_type
=none
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4110 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4111 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4114 test "x$enable_dependency_tracking" != xno \
4115 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4117 am__fastdepCC_FALSE
='#'
4119 am__fastdepCC_TRUE
='#'
4120 am__fastdepCC_FALSE
=
4125 ac_compile
='$GOC -c $GOCFLAGS conftest.$ac_ext >&5'
4126 ac_link
='$GOC -o conftest$ac_exeext $GOCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4128 if test -n "$ac_tool_prefix"; then
4129 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
4130 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4132 $as_echo_n "checking for $ac_word... " >&6; }
4133 if test "${ac_cv_prog_GOC+set}" = set; then :
4134 $as_echo_n "(cached) " >&6
4136 if test -n "$GOC"; then
4137 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
4139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4143 test -z "$as_dir" && as_dir
=.
4144 for ac_exec_ext
in '' $ac_executable_extensions; do
4145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4146 ac_cv_prog_GOC
="${ac_tool_prefix}gccgo"
4147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4157 if test -n "$GOC"; then
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4159 $as_echo "$GOC" >&6; }
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4162 $as_echo "no" >&6; }
4167 if test -z "$ac_cv_prog_GOC"; then
4169 # Extract the first word of "gccgo", so it can be a program name with args.
4170 set dummy gccgo
; ac_word
=$2
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4172 $as_echo_n "checking for $ac_word... " >&6; }
4173 if test "${ac_cv_prog_ac_ct_GOC+set}" = set; then :
4174 $as_echo_n "(cached) " >&6
4176 if test -n "$ac_ct_GOC"; then
4177 ac_cv_prog_ac_ct_GOC
="$ac_ct_GOC" # Let the user override the test.
4179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4183 test -z "$as_dir" && as_dir
=.
4184 for ac_exec_ext
in '' $ac_executable_extensions; do
4185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4186 ac_cv_prog_ac_ct_GOC
="gccgo"
4187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4196 ac_ct_GOC
=$ac_cv_prog_ac_ct_GOC
4197 if test -n "$ac_ct_GOC"; then
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
4199 $as_echo "$ac_ct_GOC" >&6; }
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4202 $as_echo "no" >&6; }
4205 if test "x$ac_ct_GOC" = x
; then
4208 case $cross_compiling:$ac_tool_warned in
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4211 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4212 ac_tool_warned
=yes ;;
4217 GOC
="$ac_cv_prog_GOC"
4220 if test -z "$GOC"; then
4221 if test -n "$ac_tool_prefix"; then
4222 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
4223 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4225 $as_echo_n "checking for $ac_word... " >&6; }
4226 if test "${ac_cv_prog_GOC+set}" = set; then :
4227 $as_echo_n "(cached) " >&6
4229 if test -n "$GOC"; then
4230 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
4232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4236 test -z "$as_dir" && as_dir
=.
4237 for ac_exec_ext
in '' $ac_executable_extensions; do
4238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4239 ac_cv_prog_GOC
="$ac_tool_prefix}gccgo"
4240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4250 if test -n "$GOC"; then
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4252 $as_echo "$GOC" >&6; }
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4255 $as_echo "no" >&6; }
4261 if test -z "$GOC"; then
4262 # Extract the first word of "gccgo", so it can be a program name with args.
4263 set dummy gccgo
; ac_word
=$2
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4265 $as_echo_n "checking for $ac_word... " >&6; }
4266 if test "${ac_cv_prog_GOC+set}" = set; then :
4267 $as_echo_n "(cached) " >&6
4269 if test -n "$GOC"; then
4270 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
4273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4277 test -z "$as_dir" && as_dir
=.
4278 for ac_exec_ext
in '' $ac_executable_extensions; do
4279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4280 if test "$as_dir/$ac_word$ac_exec_ext" = "gccgo"; then
4281 ac_prog_rejected
=yes
4284 ac_cv_prog_GOC
="gccgo"
4285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4292 if test $ac_prog_rejected = yes; then
4293 # We found a bogon in the path, so make sure we never use it.
4294 set dummy
$ac_cv_prog_GOC
4296 if test $# != 0; then
4297 # We chose a different compiler from the bogus one.
4298 # However, it has the same basename, so the bogon will be chosen
4299 # first if we set GOC to just the basename; use the full file name.
4301 ac_cv_prog_GOC
="$as_dir/$ac_word${1+' '}$@"
4307 if test -n "$GOC"; then
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4309 $as_echo "$GOC" >&6; }
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4312 $as_echo "no" >&6; }
4319 # Provide some information about the compiler.
4320 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Go compiler version" >&5
4323 { { ac_try
="$ac_compiler --version >&5"
4325 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4326 *) ac_try_echo=$ac_try;;
4328 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4329 $as_echo "$ac_try_echo"; } >&5
4330 (eval "$ac_compiler --version >&5") 2>conftest.err
4332 if test -s conftest.err; then
4334 ... rest of stderr output deleted ...
4335 10q' conftest.err >conftest.er1
4336 cat conftest.er1 >&5
4337 rm -f conftest.er1 conftest.err
4339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4340 test $ac_status = 0; }
4343 ac_cpp='$CPP $CPPFLAGS'
4344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4354 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4355 # Check whether --enable-maintainer-mode was given.
4356 if test "${enable_maintainer_mode+set}" = set; then :
4357 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4359 USE_MAINTAINER_MODE=no
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4363 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4364 if test $USE_MAINTAINER_MODE = yes; then
4365 MAINTAINER_MODE_TRUE=
4366 MAINTAINER_MODE_FALSE='#'
4368 MAINTAINER_MODE_TRUE='#'
4369 MAINTAINER_MODE_FALSE=
4372 MAINT=$MAINTAINER_MODE_TRUE
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4377 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4378 if test "${ac_cv_path_SED+set}" = set; then :
4379 $as_echo_n "(cached) " >&6
4381 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4382 for ac_i in 1 2 3 4 5 6 7; do
4383 ac_script="$ac_script$as_nl$ac_script"
4385 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4386 { ac_script=; unset ac_script;}
4387 if test -z "$SED"; then
4388 ac_path_SED_found=false
4389 # Loop through the user's path and test for each of PROGNAME-LIST
4390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4394 test -z "$as_dir" && as_dir=.
4395 for ac_prog in sed gsed; do
4396 for ac_exec_ext in '' $ac_executable_extensions; do
4397 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4398 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4399 # Check for GNU ac_path_SED and select it if it is found.
4400 # Check for GNU $ac_path_SED
4401 case `"$ac_path_SED" --version 2>&1` in
4403 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4406 $as_echo_n 0123456789 >"conftest.in"
4409 cat "conftest.in" "conftest.in" >"conftest.tmp"
4410 mv "conftest.tmp" "conftest.in"
4411 cp "conftest.in" "conftest.nl"
4412 $as_echo '' >> "conftest.nl"
4413 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4414 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4415 as_fn_arith $ac_count + 1 && ac_count=$as_val
4416 if test $ac_count -gt ${ac_path_SED_max-0}; then
4417 # Best one so far, save it but keep looking for a better one
4418 ac_cv_path_SED="$ac_path_SED"
4419 ac_path_SED_max=$ac_count
4421 # 10*(2^10) chars as input seems more than enough
4422 test $ac_count -gt 10 && break
4424 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4427 $ac_path_SED_found && break 3
4432 if test -z "$ac_cv_path_SED"; then
4433 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4441 $as_echo "$ac_cv_path_SED" >&6; }
4442 SED="$ac_cv_path_SED"
4445 test -z "$SED" && SED=sed
4446 Xsed="$SED -e 1s/^X//"
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4459 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4460 if test "${ac_cv_path_GREP+set}" = set; then :
4461 $as_echo_n "(cached) " >&6
4463 if test -z "$GREP"; then
4464 ac_path_GREP_found=false
4465 # Loop through the user's path and test for each of PROGNAME-LIST
4466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4467 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4470 test -z "$as_dir" && as_dir=.
4471 for ac_prog in grep ggrep; do
4472 for ac_exec_ext in '' $ac_executable_extensions; do
4473 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4474 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4475 # Check for GNU ac_path_GREP and select it if it is found.
4476 # Check for GNU $ac_path_GREP
4477 case `"$ac_path_GREP" --version 2>&1` in
4479 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4482 $as_echo_n 0123456789 >"conftest.in"
4485 cat "conftest.in" "conftest.in" >"conftest.tmp"
4486 mv "conftest.tmp" "conftest.in"
4487 cp "conftest.in" "conftest.nl"
4488 $as_echo 'GREP' >> "conftest.nl"
4489 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4490 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4491 as_fn_arith $ac_count + 1 && ac_count=$as_val
4492 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4493 # Best one so far, save it but keep looking for a better one
4494 ac_cv_path_GREP="$ac_path_GREP"
4495 ac_path_GREP_max=$ac_count
4497 # 10*(2^10) chars as input seems more than enough
4498 test $ac_count -gt 10 && break
4500 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4503 $ac_path_GREP_found && break 3
4508 if test -z "$ac_cv_path_GREP"; then
4509 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4512 ac_cv_path_GREP=$GREP
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4517 $as_echo "$ac_cv_path_GREP" >&6; }
4518 GREP="$ac_cv_path_GREP"
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4522 $as_echo_n "checking for egrep... " >&6; }
4523 if test "${ac_cv_path_EGREP+set}" = set; then :
4524 $as_echo_n "(cached) " >&6
4526 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4527 then ac_cv_path_EGREP="$GREP -E"
4529 if test -z "$EGREP"; then
4530 ac_path_EGREP_found=false
4531 # Loop through the user's path and test for each of PROGNAME-LIST
4532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4533 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4536 test -z "$as_dir" && as_dir=.
4537 for ac_prog in egrep; do
4538 for ac_exec_ext in '' $ac_executable_extensions; do
4539 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4540 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4541 # Check for GNU ac_path_EGREP and select it if it is found.
4542 # Check for GNU $ac_path_EGREP
4543 case `"$ac_path_EGREP" --version 2>&1` in
4545 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4548 $as_echo_n 0123456789 >"conftest.in"
4551 cat "conftest.in" "conftest.in" >"conftest.tmp"
4552 mv "conftest.tmp" "conftest.in"
4553 cp "conftest.in" "conftest.nl"
4554 $as_echo 'EGREP' >> "conftest.nl"
4555 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4556 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4557 as_fn_arith $ac_count + 1 && ac_count=$as_val
4558 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4559 # Best one so far, save it but keep looking for a better one
4560 ac_cv_path_EGREP="$ac_path_EGREP"
4561 ac_path_EGREP_max=$ac_count
4563 # 10*(2^10) chars as input seems more than enough
4564 test $ac_count -gt 10 && break
4566 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4569 $ac_path_EGREP_found && break 3
4574 if test -z "$ac_cv_path_EGREP"; then
4575 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4578 ac_cv_path_EGREP=$EGREP
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4584 $as_echo "$ac_cv_path_EGREP" >&6; }
4585 EGREP="$ac_cv_path_EGREP"
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4589 $as_echo_n "checking for fgrep... " >&6; }
4590 if test "${ac_cv_path_FGREP+set}" = set; then :
4591 $as_echo_n "(cached) " >&6
4593 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4594 then ac_cv_path_FGREP="$GREP -F"
4596 if test -z "$FGREP"; then
4597 ac_path_FGREP_found=false
4598 # Loop through the user's path and test for each of PROGNAME-LIST
4599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4600 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4603 test -z "$as_dir" && as_dir=.
4604 for ac_prog in fgrep; do
4605 for ac_exec_ext in '' $ac_executable_extensions; do
4606 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4607 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4608 # Check for GNU ac_path_FGREP and select it if it is found.
4609 # Check for GNU $ac_path_FGREP
4610 case `"$ac_path_FGREP" --version 2>&1` in
4612 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4615 $as_echo_n 0123456789 >"conftest.in"
4618 cat "conftest.in" "conftest.in" >"conftest.tmp"
4619 mv "conftest.tmp" "conftest.in"
4620 cp "conftest.in" "conftest.nl"
4621 $as_echo 'FGREP' >> "conftest.nl"
4622 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4623 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4624 as_fn_arith $ac_count + 1 && ac_count=$as_val
4625 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4626 # Best one so far, save it but keep looking for a better one
4627 ac_cv_path_FGREP="$ac_path_FGREP"
4628 ac_path_FGREP_max=$ac_count
4630 # 10*(2^10) chars as input seems more than enough
4631 test $ac_count -gt 10 && break
4633 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4636 $ac_path_FGREP_found && break 3
4641 if test -z "$ac_cv_path_FGREP"; then
4642 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4645 ac_cv_path_FGREP=$FGREP
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4651 $as_echo "$ac_cv_path_FGREP" >&6; }
4652 FGREP="$ac_cv_path_FGREP"
4655 test -z "$GREP" && GREP=grep
4673 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4674 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4675 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4678 $as_echo_n "checking how to print strings... " >&6; }
4679 # Test print first, because it will be a builtin if present.
4680 if test "X`print
-r -- -n 2>/dev
/null
`" = X-n && \
4681 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
4683 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
4686 # Use this function as a fallback that always works.
4687 func_fallback_echo ()
4689 eval 'cat <<_LTECHO_EOF
4693 ECHO='func_fallback_echo'
4696 # func_echo_all arg...
4697 # Invoke $ECHO with all args, space-separated.
4704 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4705 $as_echo "printf" >&6; } ;;
4706 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4707 $as_echo "print -r" >&6; } ;;
4708 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4709 $as_echo "cat" >&6; } ;;
4727 # Check whether --with-gnu-ld was given.
4728 if test "${with_gnu_ld+set}" = set; then :
4729 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4735 if test "$GCC" = yes; then
4736 # Check if gcc -print-prog-name=ld gives a path.
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4738 $as_echo_n "checking for ld used by $CC... " >&6; }
4741 # gcc leaves a trailing carriage return which upsets mingw
4742 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
4744 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
4747 # Accept absolute paths.
4749 re_direlt='/[^/][^/]*/\.\./'
4750 # Canonicalize the pathname of ld
4751 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
4752 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4753 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
4755 test -z "$LD" && LD="$ac_prog"
4758 # If it fails, then pretend we aren't using GCC.
4762 # If it is relative, then search for the first ld in PATH.
4766 elif test "$with_gnu_ld" = yes; then
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4768 $as_echo_n "checking for GNU ld... " >&6; }
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4771 $as_echo_n "checking for non-GNU ld... " >&6; }
4773 if test "${lt_cv_path_LD+set}" = set; then :
4774 $as_echo_n "(cached) " >&6
4776 if test -z "$LD"; then
4777 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4778 for ac_dir in $PATH; do
4780 test -z "$ac_dir" && ac_dir=.
4781 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4782 lt_cv_path_LD="$ac_dir/$ac_prog"
4783 # Check to see if the program is GNU ld. I'd rather use --version,
4784 # but apparently some variants of GNU ld only accept -v.
4785 # Break only if it was the GNU/non-GNU ld that we prefer.
4786 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
4787 *GNU* | *'with BFD'*)
4788 test "$with_gnu_ld" != no && break
4791 test "$with_gnu_ld" != yes && break
4798 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4803 if test -n "$LD"; then
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4805 $as_echo "$LD" >&6; }
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4808 $as_echo "no" >&6; }
4810 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4812 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4813 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4814 $as_echo_n "(cached) " >&6
4816 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4817 case `$LD -v 2>&1 </dev
/null
` in
4818 *GNU* | *'with BFD'*)
4819 lt_cv_prog_gnu_ld=yes
4822 lt_cv_prog_gnu_ld=no
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4827 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4828 with_gnu_ld=$lt_cv_prog_gnu_ld
4838 if test -n "$ac_tool_prefix"; then
4839 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4840 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4842 $as_echo_n "checking for $ac_word... " >&6; }
4843 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4844 $as_echo_n "(cached) " >&6
4846 if test -n "$RANLIB"; then
4847 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4853 test -z "$as_dir" && as_dir=.
4854 for ac_exec_ext in '' $ac_executable_extensions; do
4855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4856 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4866 RANLIB=$ac_cv_prog_RANLIB
4867 if test -n "$RANLIB"; then
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4869 $as_echo "$RANLIB" >&6; }
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4872 $as_echo "no" >&6; }
4877 if test -z "$ac_cv_prog_RANLIB"; then
4878 ac_ct_RANLIB=$RANLIB
4879 # Extract the first word of "ranlib", so it can be a program name with args.
4880 set dummy ranlib; ac_word=$2
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4882 $as_echo_n "checking for $ac_word... " >&6; }
4883 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4884 $as_echo_n "(cached) " >&6
4886 if test -n "$ac_ct_RANLIB"; then
4887 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4893 test -z "$as_dir" && as_dir=.
4894 for ac_exec_ext in '' $ac_executable_extensions; do
4895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4896 ac_cv_prog_ac_ct_RANLIB="ranlib"
4897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4906 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4907 if test -n "$ac_ct_RANLIB"; then
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4909 $as_echo "$ac_ct_RANLIB" >&6; }
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4912 $as_echo "no" >&6; }
4915 if test "x$ac_ct_RANLIB" = x; then
4918 case $cross_compiling:$ac_tool_warned in
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4921 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4922 ac_tool_warned=yes ;;
4924 RANLIB=$ac_ct_RANLIB
4927 RANLIB="$ac_cv_prog_RANLIB"
4930 if test -n "$ac_tool_prefix"; then
4931 # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
4932 set dummy ${ac_tool_prefix}objcopy; ac_word=$2
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4934 $as_echo_n "checking for $ac_word... " >&6; }
4935 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
4936 $as_echo_n "(cached) " >&6
4938 if test -n "$OBJCOPY"; then
4939 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
4941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4945 test -z "$as_dir" && as_dir=.
4946 for ac_exec_ext in '' $ac_executable_extensions; do
4947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4948 ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
4949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4958 OBJCOPY=$ac_cv_prog_OBJCOPY
4959 if test -n "$OBJCOPY"; then
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
4961 $as_echo "$OBJCOPY" >&6; }
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4964 $as_echo "no" >&6; }
4969 if test -z "$ac_cv_prog_OBJCOPY"; then
4970 ac_ct_OBJCOPY=$OBJCOPY
4971 # Extract the first word of "objcopy", so it can be a program name with args.
4972 set dummy objcopy; ac_word=$2
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4974 $as_echo_n "checking for $ac_word... " >&6; }
4975 if test "${ac_cv_prog_ac_ct_OBJCOPY+set}" = set; then :
4976 $as_echo_n "(cached) " >&6
4978 if test -n "$ac_ct_OBJCOPY"; then
4979 ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
4981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4985 test -z "$as_dir" && as_dir=.
4986 for ac_exec_ext in '' $ac_executable_extensions; do
4987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4988 ac_cv_prog_ac_ct_OBJCOPY="objcopy"
4989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4998 ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
4999 if test -n "$ac_ct_OBJCOPY"; then
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
5001 $as_echo "$ac_ct_OBJCOPY" >&6; }
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5004 $as_echo "no" >&6; }
5007 if test "x$ac_ct_OBJCOPY" = x; then
5008 OBJCOPY="missing-objcopy"
5010 case $cross_compiling:$ac_tool_warned in
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5013 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5014 ac_tool_warned=yes ;;
5016 OBJCOPY=$ac_ct_OBJCOPY
5019 OBJCOPY="$ac_cv_prog_OBJCOPY"
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5030 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5035 macro_version='2.2.7a'
5036 macro_revision='1.3134'
5050 ltmain="$ac_aux_dir/ltmain.sh"
5052 # Backslashify metacharacters that are still active within
5053 # double-quoted strings.
5054 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5056 # Same as above, but do not quote variable references.
5057 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5059 # Sed substitution to delay expansion of an escaped shell variable in a
5060 # double_quote_subst'ed string.
5061 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5063 # Sed substitution to delay expansion of an escaped single quote.
5064 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5066 # Sed substitution to avoid accidental globbing in evaled expressions
5067 no_glob_subst='s/\*/\\\*/g'
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5070 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5071 if test "${lt_cv_path_NM+set}" = set; then :
5072 $as_echo_n "(cached
) " >&6
5074 if test -n "$NM"; then
5075 # Let the user override the test.
5078 lt_nm_to_check="${ac_tool_prefix}nm
"
5079 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5080 lt_nm_to_check="$lt_nm_to_check nm
"
5082 for lt_tmp_nm in $lt_nm_to_check; do
5083 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5084 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5086 test -z "$ac_dir" && ac_dir=.
5087 tmp_nm="$ac_dir/$lt_tmp_nm"
5088 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5089 # Check to see if the nm accepts a BSD-compat flag.
5090 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5091 # nm: unknown option "B
" ignored
5092 # Tru64's nm complains that /dev/null is an invalid object file
5093 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5094 */dev/null* | *'Invalid file or object type'*)
5095 lt_cv_path_NM="$tmp_nm -B"
5099 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5101 lt_cv_path_NM="$tmp_nm -p"
5105 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5106 continue # so that we can try to find one that supports BSD flags
5115 : ${lt_cv_path_NM=no}
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5119 $as_echo "$lt_cv_path_NM" >&6; }
5120 if test "$lt_cv_path_NM" != "no
"; then
5123 # Didn't find any BSD compatible name lister, look for dumpbin.
5124 if test -n "$DUMPBIN"; then :
5125 # Let the user override the test.
5127 if test -n "$ac_tool_prefix"; then
5128 for ac_prog in dumpbin "link
-dump"
5130 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5131 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5133 $as_echo_n "checking
for $ac_word...
" >&6; }
5134 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5135 $as_echo_n "(cached
) " >&6
5137 if test -n "$DUMPBIN"; then
5138 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5144 test -z "$as_dir" && as_dir=.
5145 for ac_exec_ext in '' $ac_executable_extensions; do
5146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5147 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5148 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5157 DUMPBIN=$ac_cv_prog_DUMPBIN
5158 if test -n "$DUMPBIN"; then
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5160 $as_echo "$DUMPBIN" >&6; }
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5163 $as_echo "no
" >&6; }
5167 test -n "$DUMPBIN" && break
5170 if test -z "$DUMPBIN"; then
5171 ac_ct_DUMPBIN=$DUMPBIN
5172 for ac_prog in dumpbin "link
-dump"
5174 # Extract the first word of "$ac_prog", so it can be a program name with args.
5175 set dummy $ac_prog; ac_word=$2
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5177 $as_echo_n "checking
for $ac_word...
" >&6; }
5178 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5179 $as_echo_n "(cached
) " >&6
5181 if test -n "$ac_ct_DUMPBIN"; then
5182 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5188 test -z "$as_dir" && as_dir=.
5189 for ac_exec_ext in '' $ac_executable_extensions; do
5190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5191 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5192 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5201 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5202 if test -n "$ac_ct_DUMPBIN"; then
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5204 $as_echo "$ac_ct_DUMPBIN" >&6; }
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5207 $as_echo "no
" >&6; }
5211 test -n "$ac_ct_DUMPBIN" && break
5214 if test "x
$ac_ct_DUMPBIN" = x; then
5217 case $cross_compiling:$ac_tool_warned in
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5220 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5221 ac_tool_warned=yes ;;
5223 DUMPBIN=$ac_ct_DUMPBIN
5227 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5229 DUMPBIN="$DUMPBIN -symbols"
5237 if test "$DUMPBIN" != ":"; then
5241 test -z "$NM" && NM=nm
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5249 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5250 if test "${lt_cv_nm_interface+set}" = set; then :
5251 $as_echo_n "(cached
) " >&6
5253 lt_cv_nm_interface="BSD nm
"
5254 echo "int some_variable
= 0;" > conftest.$ac_ext
5255 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5256 (eval "$ac_compile" 2>conftest.err)
5257 cat conftest.err >&5
5258 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5259 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5260 cat conftest.err >&5
5261 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5262 cat conftest.out >&5
5263 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5264 lt_cv_nm_interface="MS dumpbin
"
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5269 $as_echo "$lt_cv_nm_interface" >&6; }
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5272 $as_echo_n "checking whether
ln -s works...
" >&6; }
5274 if test "$LN_S" = "ln -s"; then
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5276 $as_echo "yes" >&6; }
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5279 $as_echo "no
, using
$LN_S" >&6; }
5282 # find the maximum length of command line arguments
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5284 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5285 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5286 $as_echo_n "(cached
) " >&6
5293 # On DJGPP, this test can blow up pretty badly due to problems in libc
5294 # (any single argument exceeding 2000 bytes causes a buffer overrun
5295 # during glob expansion). Even if it were fixed, the result of this
5296 # check would be larger than it should be.
5297 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5301 # Under GNU Hurd, this test is not required because there is
5302 # no limit to the length of command line arguments.
5303 # Libtool will interpret -1 as no limit whatsoever
5304 lt_cv_sys_max_cmd_len=-1;
5307 cygwin* | mingw* | cegcc*)
5308 # On Win9x/ME, this test blows up -- it succeeds, but takes
5309 # about 5 minutes as the teststring grows exponentially.
5310 # Worse, since 9x/ME are not pre-emptively multitasking,
5311 # you end up with a "frozen
" computer, even though with patience
5312 # the test eventually succeeds (with a max line length of 256k).
5313 # Instead, let's just punt: use the minimum linelength reported by
5314 # all of the supported platforms: 8192 (on NT/2K/XP).
5315 lt_cv_sys_max_cmd_len=8192;
5319 # On MiNT this can take a long time and run out of memory.
5320 lt_cv_sys_max_cmd_len=8192;
5324 # On AmigaOS with pdksh, this test takes hours, literally.
5325 # So we just punt and use a minimum line length of 8192.
5326 lt_cv_sys_max_cmd_len=8192;
5329 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5330 # This has been around since 386BSD, at least. Likely further.
5331 if test -x /sbin/sysctl; then
5332 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5333 elif test -x /usr/sbin/sysctl; then
5334 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5336 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5338 # And add a safety zone
5339 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5340 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5344 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5345 lt_cv_sys_max_cmd_len=196608
5349 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5350 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5351 # nice to cause kernel panics so lets avoid the loop below.
5352 # First set a reasonable default.
5353 lt_cv_sys_max_cmd_len=16384
5355 if test -x /sbin/sysconfig; then
5356 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5357 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5362 lt_cv_sys_max_cmd_len=102400
5364 sysv5* | sco5v6* | sysv4.2uw2*)
5365 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5366 if test -n "$kargmax"; then
5367 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5369 lt_cv_sys_max_cmd_len=32768
5373 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5374 if test -n "$lt_cv_sys_max_cmd_len"; then
5375 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5376 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5378 # Make teststring a little bigger before we do anything with it.
5379 # a 1K string should be a reasonable start.
5380 for i in 1 2 3 4 5 6 7 8 ; do
5381 teststring=$teststring$teststring
5383 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5384 # If test is not a shell built-in, we'll probably end up computing a
5385 # maximum length that is only half of the actual maximum length, but
5387 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5388 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5389 test $i != 17 # 1/2 MB should be enough
5392 teststring=$teststring$teststring
5394 # Only check the string length outside the loop.
5395 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5397 # Add a significant safety factor because C++ compilers can tack on
5398 # massive amounts of additional arguments before passing them to the
5399 # linker. It appears as though 1/2 is a usable value.
5400 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5407 if test -n $lt_cv_sys_max_cmd_len ; then
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5409 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5412 $as_echo "none
" >&6; }
5414 max_cmd_len=$lt_cv_sys_max_cmd_len
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5426 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5427 # Try some XSI features
5430 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5432 && eval 'test $(( 1 + 1 )) -eq 2 \
5433 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5436 $as_echo "$xsi_shell" >&6; }
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5440 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5442 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
5444 && lt_shell_append
=yes
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5446 $as_echo "$lt_shell_append" >&6; }
5449 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5459 # test EBCDIC or ASCII
5460 case `echo X|tr X '\101'` in
5461 A
) # ASCII based system
5462 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5463 lt_SP2NL
='tr \040 \012'
5464 lt_NL2SP
='tr \015\012 \040\040'
5466 *) # EBCDIC based system
5467 lt_SP2NL
='tr \100 \n'
5468 lt_NL2SP
='tr \r\n \100\100'
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5481 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5482 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5483 $as_echo_n "(cached) " >&6
5485 lt_cv_ld_reload_flag
='-r'
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5488 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5489 reload_flag
=$lt_cv_ld_reload_flag
5490 case $reload_flag in
5492 *) reload_flag
=" $reload_flag" ;;
5494 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5497 if test "$GCC" = yes; then
5498 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5500 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5513 if test -n "$ac_tool_prefix"; then
5514 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5515 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5517 $as_echo_n "checking for $ac_word... " >&6; }
5518 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5519 $as_echo_n "(cached) " >&6
5521 if test -n "$OBJDUMP"; then
5522 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5528 test -z "$as_dir" && as_dir
=.
5529 for ac_exec_ext
in '' $ac_executable_extensions; do
5530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5531 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5541 OBJDUMP
=$ac_cv_prog_OBJDUMP
5542 if test -n "$OBJDUMP"; then
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5544 $as_echo "$OBJDUMP" >&6; }
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5547 $as_echo "no" >&6; }
5552 if test -z "$ac_cv_prog_OBJDUMP"; then
5553 ac_ct_OBJDUMP
=$OBJDUMP
5554 # Extract the first word of "objdump", so it can be a program name with args.
5555 set dummy objdump
; ac_word
=$2
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5557 $as_echo_n "checking for $ac_word... " >&6; }
5558 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5559 $as_echo_n "(cached) " >&6
5561 if test -n "$ac_ct_OBJDUMP"; then
5562 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5568 test -z "$as_dir" && as_dir
=.
5569 for ac_exec_ext
in '' $ac_executable_extensions; do
5570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5571 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5581 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5582 if test -n "$ac_ct_OBJDUMP"; then
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5584 $as_echo "$ac_ct_OBJDUMP" >&6; }
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5587 $as_echo "no" >&6; }
5590 if test "x$ac_ct_OBJDUMP" = x
; then
5593 case $cross_compiling:$ac_tool_warned in
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5596 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5597 ac_tool_warned
=yes ;;
5599 OBJDUMP
=$ac_ct_OBJDUMP
5602 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5605 test -z "$OBJDUMP" && OBJDUMP
=objdump
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5616 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5617 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5618 $as_echo_n "(cached) " >&6
5620 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5621 lt_cv_file_magic_test_file
=
5622 lt_cv_deplibs_check_method
='unknown'
5623 # Need to set the preceding variable on all platforms that support
5624 # interlibrary dependencies.
5625 # 'none' -- dependencies not supported.
5626 # `unknown' -- same as none, but documents that we really don't know.
5627 # 'pass_all' -- all dependencies passed with no checks.
5628 # 'test_compile' -- check by making test program.
5629 # 'file_magic [[regex]]' -- check by looking for files in library path
5630 # which responds to the $file_magic_cmd with a given extended regex.
5631 # If you have `file' or equivalent on your system and you're not sure
5632 # whether `pass_all' will *always* work, you probably want this one.
5636 lt_cv_deplibs_check_method
=pass_all
5640 lt_cv_deplibs_check_method
=pass_all
5644 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5645 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5646 lt_cv_file_magic_test_file
=/shlib
/libc.so
5650 # func_win32_libid is a shell function defined in ltmain.sh
5651 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5652 lt_cv_file_magic_cmd
='func_win32_libid'
5656 # Base MSYS/MinGW do not provide the 'file' command needed by
5657 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5658 # unless we find 'file', for example because we are cross-compiling.
5659 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5660 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
5661 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5662 lt_cv_file_magic_cmd
='func_win32_libid'
5664 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5665 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5670 # use the weaker test based on 'objdump'. See mingw*.
5671 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5672 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5675 darwin
* | rhapsody
*)
5676 lt_cv_deplibs_check_method
=pass_all
5679 freebsd
* | dragonfly
*)
5680 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5683 # Not sure whether the presence of OpenBSD here was a mistake.
5684 # Let's accept both of them until this is cleared up.
5685 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5686 lt_cv_file_magic_cmd
=/usr
/bin
/file
5687 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5691 lt_cv_deplibs_check_method
=pass_all
5696 lt_cv_deplibs_check_method
=pass_all
5700 lt_cv_deplibs_check_method
=pass_all
5703 hpux10.20
* | hpux11
*)
5704 lt_cv_file_magic_cmd
=/usr
/bin
/file
5707 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5708 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5711 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]'
5712 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
5715 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5716 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5722 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5723 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5726 irix5
* | irix6
* | nonstopux
*)
5728 *-32|
*"-32 ") libmagic
=32-bit;;
5729 *-n32|
*"-n32 ") libmagic
=N32
;;
5730 *-64|
*"-64 ") libmagic
=64-bit;;
5731 *) libmagic
=never-match
;;
5733 lt_cv_deplibs_check_method
=pass_all
5736 # This must be Linux ELF.
5737 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
5738 lt_cv_deplibs_check_method
=pass_all
5742 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5743 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5745 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5750 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5751 lt_cv_file_magic_cmd
=/usr
/bin
/file
5752 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5756 lt_cv_deplibs_check_method
=pass_all
5760 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5761 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5763 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5767 osf3
* | osf4
* | osf5
*)
5768 lt_cv_deplibs_check_method
=pass_all
5772 lt_cv_deplibs_check_method
=pass_all
5776 lt_cv_deplibs_check_method
=pass_all
5779 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5780 lt_cv_deplibs_check_method
=pass_all
5784 case $host_vendor in
5786 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]'
5787 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5790 lt_cv_deplibs_check_method
=pass_all
5793 lt_cv_file_magic_cmd
='/bin/file'
5794 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5797 lt_cv_file_magic_cmd
='/bin/file'
5798 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5799 lt_cv_file_magic_test_file
=/lib
/libc.so
5802 lt_cv_deplibs_check_method
=pass_all
5805 lt_cv_deplibs_check_method
=pass_all
5811 lt_cv_deplibs_check_method
=pass_all
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5817 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5818 file_magic_cmd
=$lt_cv_file_magic_cmd
5819 deplibs_check_method
=$lt_cv_deplibs_check_method
5820 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5833 if test -n "$ac_tool_prefix"; then
5834 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5835 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5837 $as_echo_n "checking for $ac_word... " >&6; }
5838 if test "${ac_cv_prog_AR+set}" = set; then :
5839 $as_echo_n "(cached) " >&6
5841 if test -n "$AR"; then
5842 ac_cv_prog_AR
="$AR" # Let the user override the test.
5844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5848 test -z "$as_dir" && as_dir
=.
5849 for ac_exec_ext
in '' $ac_executable_extensions; do
5850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5851 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5862 if test -n "$AR"; then
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5864 $as_echo "$AR" >&6; }
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5867 $as_echo "no" >&6; }
5872 if test -z "$ac_cv_prog_AR"; then
5874 # Extract the first word of "ar", so it can be a program name with args.
5875 set dummy
ar; ac_word
=$2
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5877 $as_echo_n "checking for $ac_word... " >&6; }
5878 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5879 $as_echo_n "(cached) " >&6
5881 if test -n "$ac_ct_AR"; then
5882 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5888 test -z "$as_dir" && as_dir
=.
5889 for ac_exec_ext
in '' $ac_executable_extensions; do
5890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5891 ac_cv_prog_ac_ct_AR
="ar"
5892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5901 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5902 if test -n "$ac_ct_AR"; then
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5904 $as_echo "$ac_ct_AR" >&6; }
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5907 $as_echo "no" >&6; }
5910 if test "x$ac_ct_AR" = x
; then
5913 case $cross_compiling:$ac_tool_warned in
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5916 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5917 ac_tool_warned
=yes ;;
5925 test -z "$AR" && AR
=ar
5926 test -z "$AR_FLAGS" && AR_FLAGS
=cru
5938 if test -n "$ac_tool_prefix"; then
5939 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5940 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5942 $as_echo_n "checking for $ac_word... " >&6; }
5943 if test "${ac_cv_prog_STRIP+set}" = set; then :
5944 $as_echo_n "(cached) " >&6
5946 if test -n "$STRIP"; then
5947 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5953 test -z "$as_dir" && as_dir
=.
5954 for ac_exec_ext
in '' $ac_executable_extensions; do
5955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5956 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5966 STRIP
=$ac_cv_prog_STRIP
5967 if test -n "$STRIP"; then
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5969 $as_echo "$STRIP" >&6; }
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5972 $as_echo "no" >&6; }
5977 if test -z "$ac_cv_prog_STRIP"; then
5979 # Extract the first word of "strip", so it can be a program name with args.
5980 set dummy strip
; ac_word
=$2
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5982 $as_echo_n "checking for $ac_word... " >&6; }
5983 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5984 $as_echo_n "(cached) " >&6
5986 if test -n "$ac_ct_STRIP"; then
5987 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5993 test -z "$as_dir" && as_dir
=.
5994 for ac_exec_ext
in '' $ac_executable_extensions; do
5995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5996 ac_cv_prog_ac_ct_STRIP
="strip"
5997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6006 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6007 if test -n "$ac_ct_STRIP"; then
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6009 $as_echo "$ac_ct_STRIP" >&6; }
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6012 $as_echo "no" >&6; }
6015 if test "x$ac_ct_STRIP" = x
; then
6018 case $cross_compiling:$ac_tool_warned in
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6021 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6022 ac_tool_warned
=yes ;;
6027 STRIP
="$ac_cv_prog_STRIP"
6030 test -z "$STRIP" && STRIP
=:
6037 if test -n "$ac_tool_prefix"; then
6038 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6039 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6041 $as_echo_n "checking for $ac_word... " >&6; }
6042 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6043 $as_echo_n "(cached) " >&6
6045 if test -n "$RANLIB"; then
6046 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6052 test -z "$as_dir" && as_dir
=.
6053 for ac_exec_ext
in '' $ac_executable_extensions; do
6054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6055 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6065 RANLIB
=$ac_cv_prog_RANLIB
6066 if test -n "$RANLIB"; then
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6068 $as_echo "$RANLIB" >&6; }
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6071 $as_echo "no" >&6; }
6076 if test -z "$ac_cv_prog_RANLIB"; then
6077 ac_ct_RANLIB
=$RANLIB
6078 # Extract the first word of "ranlib", so it can be a program name with args.
6079 set dummy ranlib
; ac_word
=$2
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6081 $as_echo_n "checking for $ac_word... " >&6; }
6082 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6083 $as_echo_n "(cached) " >&6
6085 if test -n "$ac_ct_RANLIB"; then
6086 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6092 test -z "$as_dir" && as_dir
=.
6093 for ac_exec_ext
in '' $ac_executable_extensions; do
6094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6095 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6105 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6106 if test -n "$ac_ct_RANLIB"; then
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6108 $as_echo "$ac_ct_RANLIB" >&6; }
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6111 $as_echo "no" >&6; }
6114 if test "x$ac_ct_RANLIB" = x
; then
6117 case $cross_compiling:$ac_tool_warned in
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6121 ac_tool_warned
=yes ;;
6123 RANLIB
=$ac_ct_RANLIB
6126 RANLIB
="$ac_cv_prog_RANLIB"
6129 test -z "$RANLIB" && RANLIB
=:
6136 # Determine commands to create old-style static archives.
6137 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6138 old_postinstall_cmds
='chmod 644 $oldlib'
6139 old_postuninstall_cmds
=
6141 if test -n "$RANLIB"; then
6144 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6147 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6150 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6155 lock_old_archive_extraction
=yes ;;
6157 lock_old_archive_extraction
=no
;;
6198 # If no C compiler was specified, use CC.
6201 # If no C compiler flags were specified, use CFLAGS.
6202 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6204 # Allow CC to be a program name with arguments.
6208 # Check for command to grab the raw symbol name followed by C symbol from nm.
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6210 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6211 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6212 $as_echo_n "(cached) " >&6
6215 # These are sane defaults that work on at least a few old systems.
6216 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6218 # Character class describing NM global symbol codes.
6219 symcode
='[BCDEGRST]'
6221 # Regexp to match symbols that can be accessed directly from C.
6222 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6224 # Define system-specific variables.
6229 cygwin
* | mingw
* | pw32
* | cegcc
*)
6230 symcode
='[ABCDGISTW]'
6233 if test "$host_cpu" = ia64
; then
6234 symcode
='[ABCDEGRST]'
6238 symcode
='[BCDEGRST]'
6241 symcode
='[BCDEGQRST]'
6252 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6260 # If we're using GNU nm, then use its standard symbol codes.
6261 case `$NM -V 2>&1` in
6262 *GNU
* |
*'with BFD'*)
6263 symcode
='[ABCDGIRSTW]' ;;
6266 # Transform an extracted symbol line into a proper C declaration.
6267 # Some systems (esp. on ia64) link data and code symbols differently,
6268 # so use this general approach.
6269 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6271 # Transform an extracted symbol line into symbol name and symbol address
6272 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6273 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'"
6275 # Handle CRLF in mingw tool chain
6279 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6283 # Try without a prefix underscore, then with it.
6284 for ac_symprfx
in "" "_"; do
6286 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6287 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6289 # Write the raw and C identifiers.
6290 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6291 # Fake it for dumpbin and say T for any non-static function
6292 # and D for any global variable.
6293 # Also find C++ and __fastcall symbols from MSVC++,
6294 # which start with @ or ?.
6295 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6296 " {last_section=section; section=\$ 3};"\
6297 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6298 " \$ 0!~/External *\|/{next};"\
6299 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6300 " {if(hide[section]) next};"\
6301 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6302 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6303 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6304 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6305 " ' prfx=^$ac_symprfx"
6307 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6310 # Check to see that the pipe works correctly.
6314 cat > conftest.
$ac_ext <<_LT_EOF
6319 void nm_test_func(void);
6320 void nm_test_func(void){}
6324 int main(){nm_test_var='a';nm_test_func();return(0);}
6327 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6328 (eval $ac_compile) 2>&5
6330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6331 test $ac_status = 0; }; then
6332 # Now try to grab the symbols.
6334 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6335 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6338 test $ac_status = 0; } && test -s "$nlist"; then
6339 # Try sorting and uniquifying the output.
6340 if sort "$nlist" |
uniq > "$nlist"T
; then
6341 mv -f "$nlist"T
"$nlist"
6346 # Make sure that we snagged all the symbols we need.
6347 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6348 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6349 cat <<_LT_EOF > conftest.$ac_ext
6355 # Now generate the symbol file.
6356 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6358 cat <<_LT_EOF >> conftest.$ac_ext
6360 /* The mapping between symbol names and symbols. */
6365 lt__PROGRAM__LTX_preloaded_symbols[] =
6367 { "@PROGRAM@", (void *) 0 },
6369 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
6370 cat <<\_LT_EOF
>> conftest.
$ac_ext
6374 /* This works around a problem
in FreeBSD linker
*/
6375 #ifdef FREEBSD_WORKAROUND
6376 static const void
*lt_preloaded_setup
() {
6377 return lt__PROGRAM__LTX_preloaded_symbols
;
6385 # Now try linking the two files.
6386 mv conftest.
$ac_objext conftstm.
$ac_objext
6387 lt_save_LIBS
="$LIBS"
6388 lt_save_CFLAGS
="$CFLAGS"
6389 LIBS
="conftstm.$ac_objext"
6390 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6391 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6392 (eval $ac_link) 2>&5
6394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6395 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6398 LIBS
="$lt_save_LIBS"
6399 CFLAGS
="$lt_save_CFLAGS"
6401 echo "cannot find nm_test_func in $nlist" >&5
6404 echo "cannot find nm_test_var in $nlist" >&5
6407 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6410 echo "$progname: failed program was:" >&5
6411 cat conftest.
$ac_ext >&5
6413 rm -rf conftest
* conftst
*
6415 # Do not use the global_symbol_pipe unless it works.
6416 if test "$pipe_works" = yes; then
6419 lt_cv_sys_global_symbol_pipe
=
6425 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6426 lt_cv_sys_global_symbol_to_cdecl
=
6428 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6430 $as_echo "failed" >&6; }
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6433 $as_echo "ok" >&6; }
6458 # Check whether --enable-libtool-lock was given.
6459 if test "${enable_libtool_lock+set}" = set; then :
6460 enableval
=$enable_libtool_lock;
6463 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6465 # Some flags need to be propagated to the compiler or linker for good
6469 # Find out which ABI we are using.
6470 echo 'int i;' > conftest.
$ac_ext
6471 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6472 (eval $ac_compile) 2>&5
6474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6475 test $ac_status = 0; }; then
6476 case `/usr/bin/file conftest.$ac_objext` in
6488 # Find out which ABI we are using.
6489 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6490 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6491 (eval $ac_compile) 2>&5
6493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6494 test $ac_status = 0; }; then
6495 if test "$lt_cv_prog_gnu_ld" = yes; then
6496 case `/usr/bin/file conftest.$ac_objext` in
6498 LD
="${LD-ld} -melf32bsmip"
6501 LD
="${LD-ld} -melf32bmipn32"
6504 LD
="${LD-ld} -melf64bmip"
6508 case `/usr/bin/file conftest.$ac_objext` in
6524 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
6525 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6526 # Find out which ABI we are using.
6527 echo 'int i;' > conftest.
$ac_ext
6528 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6529 (eval $ac_compile) 2>&5
6531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6532 test $ac_status = 0; }; then
6533 case `/usr/bin/file conftest.o` in
6536 x86_64-
*kfreebsd
*-gnu)
6537 LD
="${LD-ld} -m elf_i386_fbsd"
6540 case `/usr/bin/file conftest.o` in
6542 LD
="${LD-ld} -m elf32_x86_64"
6545 LD
="${LD-ld} -m elf_i386"
6549 powerpc64le-
*linux
*)
6550 LD
="${LD-ld} -m elf32lppclinux"
6553 LD
="${LD-ld} -m elf32ppclinux"
6556 LD
="${LD-ld} -m elf_s390"
6559 LD
="${LD-ld} -m elf32_sparc"
6565 x86_64-
*kfreebsd
*-gnu)
6566 LD
="${LD-ld} -m elf_x86_64_fbsd"
6569 LD
="${LD-ld} -m elf_x86_64"
6572 LD
="${LD-ld} -m elf64lppc"
6575 LD
="${LD-ld} -m elf64ppc"
6577 s390
*-*linux
*|s390
*-*tpf
*)
6578 LD
="${LD-ld} -m elf64_s390"
6581 LD
="${LD-ld} -m elf64_sparc"
6591 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6592 SAVE_CFLAGS
="$CFLAGS"
6593 CFLAGS
="$CFLAGS -belf"
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6595 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6596 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6597 $as_echo_n "(cached) " >&6
6600 ac_cpp
='$CPP $CPPFLAGS'
6601 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6602 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6603 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6606 /* end confdefs.h. */
6616 if ac_fn_c_try_link
"$LINENO"; then :
6617 lt_cv_cc_needs_belf
=yes
6619 lt_cv_cc_needs_belf
=no
6621 rm -f core conftest.err conftest.
$ac_objext \
6622 conftest
$ac_exeext conftest.
$ac_ext
6624 ac_cpp
='$CPP $CPPFLAGS'
6625 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6626 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6627 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6631 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6632 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6633 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6634 CFLAGS
="$SAVE_CFLAGS"
6638 # Find out which ABI we are using.
6639 echo 'int i;' > conftest.
$ac_ext
6640 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6641 (eval $ac_compile) 2>&5
6643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6644 test $ac_status = 0; }; then
6645 case `/usr/bin/file conftest.o` in
6647 case $lt_cv_prog_gnu_ld in
6648 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
6650 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
6662 need_locks
="$enable_libtool_lock"
6666 rhapsody
* | darwin
*)
6667 if test -n "$ac_tool_prefix"; then
6668 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6669 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6671 $as_echo_n "checking for $ac_word... " >&6; }
6672 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6673 $as_echo_n "(cached) " >&6
6675 if test -n "$DSYMUTIL"; then
6676 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6682 test -z "$as_dir" && as_dir
=.
6683 for ac_exec_ext
in '' $ac_executable_extensions; do
6684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6685 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6695 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6696 if test -n "$DSYMUTIL"; then
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6698 $as_echo "$DSYMUTIL" >&6; }
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6701 $as_echo "no" >&6; }
6706 if test -z "$ac_cv_prog_DSYMUTIL"; then
6707 ac_ct_DSYMUTIL
=$DSYMUTIL
6708 # Extract the first word of "dsymutil", so it can be a program name with args.
6709 set dummy dsymutil
; ac_word
=$2
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6711 $as_echo_n "checking for $ac_word... " >&6; }
6712 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6713 $as_echo_n "(cached) " >&6
6715 if test -n "$ac_ct_DSYMUTIL"; then
6716 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
6718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6722 test -z "$as_dir" && as_dir
=.
6723 for ac_exec_ext
in '' $ac_executable_extensions; do
6724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6725 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
6726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6735 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
6736 if test -n "$ac_ct_DSYMUTIL"; then
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6738 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6741 $as_echo "no" >&6; }
6744 if test "x$ac_ct_DSYMUTIL" = x
; then
6747 case $cross_compiling:$ac_tool_warned in
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6750 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6751 ac_tool_warned
=yes ;;
6753 DSYMUTIL
=$ac_ct_DSYMUTIL
6756 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
6759 if test -n "$ac_tool_prefix"; then
6760 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6761 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6763 $as_echo_n "checking for $ac_word... " >&6; }
6764 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6765 $as_echo_n "(cached) " >&6
6767 if test -n "$NMEDIT"; then
6768 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
6770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6774 test -z "$as_dir" && as_dir
=.
6775 for ac_exec_ext
in '' $ac_executable_extensions; do
6776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6777 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
6778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6787 NMEDIT
=$ac_cv_prog_NMEDIT
6788 if test -n "$NMEDIT"; then
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6790 $as_echo "$NMEDIT" >&6; }
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6793 $as_echo "no" >&6; }
6798 if test -z "$ac_cv_prog_NMEDIT"; then
6799 ac_ct_NMEDIT
=$NMEDIT
6800 # Extract the first word of "nmedit", so it can be a program name with args.
6801 set dummy nmedit
; ac_word
=$2
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6803 $as_echo_n "checking for $ac_word... " >&6; }
6804 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6805 $as_echo_n "(cached) " >&6
6807 if test -n "$ac_ct_NMEDIT"; then
6808 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
6810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6814 test -z "$as_dir" && as_dir
=.
6815 for ac_exec_ext
in '' $ac_executable_extensions; do
6816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6817 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
6818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6827 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
6828 if test -n "$ac_ct_NMEDIT"; then
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6830 $as_echo "$ac_ct_NMEDIT" >&6; }
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6833 $as_echo "no" >&6; }
6836 if test "x$ac_ct_NMEDIT" = x
; then
6839 case $cross_compiling:$ac_tool_warned in
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6842 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6843 ac_tool_warned
=yes ;;
6845 NMEDIT
=$ac_ct_NMEDIT
6848 NMEDIT
="$ac_cv_prog_NMEDIT"
6851 if test -n "$ac_tool_prefix"; then
6852 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6853 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6855 $as_echo_n "checking for $ac_word... " >&6; }
6856 if test "${ac_cv_prog_LIPO+set}" = set; then :
6857 $as_echo_n "(cached) " >&6
6859 if test -n "$LIPO"; then
6860 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
6862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6866 test -z "$as_dir" && as_dir
=.
6867 for ac_exec_ext
in '' $ac_executable_extensions; do
6868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6869 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
6870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6879 LIPO
=$ac_cv_prog_LIPO
6880 if test -n "$LIPO"; then
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6882 $as_echo "$LIPO" >&6; }
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6885 $as_echo "no" >&6; }
6890 if test -z "$ac_cv_prog_LIPO"; then
6892 # Extract the first word of "lipo", so it can be a program name with args.
6893 set dummy lipo
; ac_word
=$2
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6895 $as_echo_n "checking for $ac_word... " >&6; }
6896 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6897 $as_echo_n "(cached) " >&6
6899 if test -n "$ac_ct_LIPO"; then
6900 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
6902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6906 test -z "$as_dir" && as_dir
=.
6907 for ac_exec_ext
in '' $ac_executable_extensions; do
6908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6909 ac_cv_prog_ac_ct_LIPO
="lipo"
6910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6919 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
6920 if test -n "$ac_ct_LIPO"; then
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6922 $as_echo "$ac_ct_LIPO" >&6; }
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6925 $as_echo "no" >&6; }
6928 if test "x$ac_ct_LIPO" = x
; then
6931 case $cross_compiling:$ac_tool_warned in
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6934 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6935 ac_tool_warned
=yes ;;
6940 LIPO
="$ac_cv_prog_LIPO"
6943 if test -n "$ac_tool_prefix"; then
6944 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6945 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6947 $as_echo_n "checking for $ac_word... " >&6; }
6948 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6949 $as_echo_n "(cached) " >&6
6951 if test -n "$OTOOL"; then
6952 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
6954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6958 test -z "$as_dir" && as_dir
=.
6959 for ac_exec_ext
in '' $ac_executable_extensions; do
6960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6961 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
6962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6971 OTOOL
=$ac_cv_prog_OTOOL
6972 if test -n "$OTOOL"; then
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6974 $as_echo "$OTOOL" >&6; }
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6977 $as_echo "no" >&6; }
6982 if test -z "$ac_cv_prog_OTOOL"; then
6984 # Extract the first word of "otool", so it can be a program name with args.
6985 set dummy otool
; ac_word
=$2
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6987 $as_echo_n "checking for $ac_word... " >&6; }
6988 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6989 $as_echo_n "(cached) " >&6
6991 if test -n "$ac_ct_OTOOL"; then
6992 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
6994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6998 test -z "$as_dir" && as_dir
=.
6999 for ac_exec_ext
in '' $ac_executable_extensions; do
7000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7001 ac_cv_prog_ac_ct_OTOOL
="otool"
7002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7011 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7012 if test -n "$ac_ct_OTOOL"; then
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7014 $as_echo "$ac_ct_OTOOL" >&6; }
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7017 $as_echo "no" >&6; }
7020 if test "x$ac_ct_OTOOL" = x
; then
7023 case $cross_compiling:$ac_tool_warned in
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7026 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7027 ac_tool_warned
=yes ;;
7032 OTOOL
="$ac_cv_prog_OTOOL"
7035 if test -n "$ac_tool_prefix"; then
7036 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7037 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7039 $as_echo_n "checking for $ac_word... " >&6; }
7040 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7041 $as_echo_n "(cached) " >&6
7043 if test -n "$OTOOL64"; then
7044 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7050 test -z "$as_dir" && as_dir
=.
7051 for ac_exec_ext
in '' $ac_executable_extensions; do
7052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7053 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7063 OTOOL64
=$ac_cv_prog_OTOOL64
7064 if test -n "$OTOOL64"; then
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7066 $as_echo "$OTOOL64" >&6; }
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7069 $as_echo "no" >&6; }
7074 if test -z "$ac_cv_prog_OTOOL64"; then
7075 ac_ct_OTOOL64
=$OTOOL64
7076 # Extract the first word of "otool64", so it can be a program name with args.
7077 set dummy otool64
; ac_word
=$2
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7079 $as_echo_n "checking for $ac_word... " >&6; }
7080 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7081 $as_echo_n "(cached) " >&6
7083 if test -n "$ac_ct_OTOOL64"; then
7084 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7090 test -z "$as_dir" && as_dir
=.
7091 for ac_exec_ext
in '' $ac_executable_extensions; do
7092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7093 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7103 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7104 if test -n "$ac_ct_OTOOL64"; then
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7106 $as_echo "$ac_ct_OTOOL64" >&6; }
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7109 $as_echo "no" >&6; }
7112 if test "x$ac_ct_OTOOL64" = x
; then
7115 case $cross_compiling:$ac_tool_warned in
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7118 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7119 ac_tool_warned
=yes ;;
7121 OTOOL64
=$ac_ct_OTOOL64
7124 OTOOL64
="$ac_cv_prog_OTOOL64"
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7154 $as_echo_n "checking for -single_module linker flag... " >&6; }
7155 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7156 $as_echo_n "(cached) " >&6
7158 lt_cv_apple_cc_single_mod
=no
7159 if test -z "${LT_MULTI_MODULE}"; then
7160 # By default we will add the -single_module flag. You can override
7161 # by either setting the environment variable LT_MULTI_MODULE
7162 # non-empty at configure time, or by adding -multi_module to the
7164 rm -rf libconftest.dylib
*
7165 echo "int foo(void){return 1;}" > conftest.c
7166 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7167 -dynamiclib -Wl,-single_module conftest.c" >&5
7168 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7169 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7171 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
7172 lt_cv_apple_cc_single_mod
=yes
7174 cat conftest.err
>&5
7176 rm -rf libconftest.dylib
*
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7181 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7183 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7184 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7185 $as_echo_n "(cached) " >&6
7187 lt_cv_ld_exported_symbols_list
=no
7188 save_LDFLAGS
=$LDFLAGS
7189 echo "_main" > conftest.sym
7190 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7192 /* end confdefs.h. */
7202 if ac_fn_c_try_link
"$LINENO"; then :
7203 lt_cv_ld_exported_symbols_list
=yes
7205 lt_cv_ld_exported_symbols_list
=no
7207 rm -f core conftest.err conftest.
$ac_objext \
7208 conftest
$ac_exeext conftest.
$ac_ext
7209 LDFLAGS
="$save_LDFLAGS"
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7213 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7215 $as_echo_n "checking for -force_load linker flag... " >&6; }
7216 if test "${lt_cv_ld_force_load+set}" = set; then :
7217 $as_echo_n "(cached) " >&6
7219 lt_cv_ld_force_load
=no
7220 cat > conftest.c
<< _LT_EOF
7221 int forced_loaded() { return 2;}
7223 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7224 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7225 echo "$AR cru libconftest.a conftest.o" >&5
7226 $AR cru libconftest.a conftest.o
2>&5
7227 cat > conftest.c
<< _LT_EOF
7228 int main() { return 0;}
7230 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7231 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7233 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
7234 lt_cv_ld_force_load
=yes
7236 cat conftest.err
>&5
7238 rm -f conftest.err libconftest.a conftest conftest.c
7239 rm -rf conftest.dSYM
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7243 $as_echo "$lt_cv_ld_force_load" >&6; }
7245 rhapsody
* | darwin1.
[012])
7246 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7248 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7249 darwin
*) # darwin 5.x on
7250 # if running on 10.5 or later, the deployment target defaults
7251 # to the OS version, if on x86, and 10.4, the deployment
7252 # target defaults to 10.4. Don't you love it?
7253 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7254 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
7255 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7257 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7259 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7263 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7264 _lt_dar_single_mod
='$single_module'
7266 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7267 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7269 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7271 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7272 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7280 ac_cpp
='$CPP $CPPFLAGS'
7281 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7282 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7283 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7285 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7286 # On Suns, sometimes $CPP names a directory.
7287 if test -n "$CPP" && test -d "$CPP"; then
7290 if test -z "$CPP"; then
7291 if test "${ac_cv_prog_CPP+set}" = set; then :
7292 $as_echo_n "(cached) " >&6
7294 # Double quotes because CPP needs to be expanded
7295 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7298 for ac_c_preproc_warn_flag
in '' yes
7300 # Use a header file that comes with gcc, so configuring glibc
7301 # with a fresh cross-compiler works.
7302 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7303 # <limits.h> exists even on freestanding compilers.
7304 # On the NeXT, cc -E runs the code through the compiler's parser,
7305 # not just through cpp. "Syntax error" is here to catch this case.
7306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7307 /* end confdefs.h. */
7309 # include <limits.h>
7311 # include <assert.h>
7315 if ac_fn_c_try_cpp
"$LINENO"; then :
7318 # Broken: fails on valid input.
7321 rm -f conftest.err conftest.
$ac_ext
7323 # OK, works on sane cases. Now check whether nonexistent headers
7324 # can be detected and how.
7325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7326 /* end confdefs.h. */
7327 #include <ac_nonexistent.h>
7329 if ac_fn_c_try_cpp
"$LINENO"; then :
7330 # Broken: success on invalid input.
7333 # Passes both tests.
7337 rm -f conftest.err conftest.
$ac_ext
7340 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7341 rm -f conftest.err conftest.
$ac_ext
7342 if $ac_preproc_ok; then :
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7355 $as_echo "$CPP" >&6; }
7357 for ac_c_preproc_warn_flag
in '' yes
7359 # Use a header file that comes with gcc, so configuring glibc
7360 # with a fresh cross-compiler works.
7361 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7362 # <limits.h> exists even on freestanding compilers.
7363 # On the NeXT, cc -E runs the code through the compiler's parser,
7364 # not just through cpp. "Syntax error" is here to catch this case.
7365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7366 /* end confdefs.h. */
7368 # include <limits.h>
7370 # include <assert.h>
7374 if ac_fn_c_try_cpp
"$LINENO"; then :
7377 # Broken: fails on valid input.
7380 rm -f conftest.err conftest.
$ac_ext
7382 # OK, works on sane cases. Now check whether nonexistent headers
7383 # can be detected and how.
7384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7385 /* end confdefs.h. */
7386 #include <ac_nonexistent.h>
7388 if ac_fn_c_try_cpp
"$LINENO"; then :
7389 # Broken: success on invalid input.
7392 # Passes both tests.
7396 rm -f conftest.err conftest.
$ac_ext
7399 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7400 rm -f conftest.err conftest.
$ac_ext
7401 if $ac_preproc_ok; then :
7404 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7405 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7406 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
7407 See \`config.log' for more details." "$LINENO" 5; }
7411 ac_cpp
='$CPP $CPPFLAGS'
7412 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7413 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7414 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7418 $as_echo_n "checking for ANSI C header files... " >&6; }
7419 if test "${ac_cv_header_stdc+set}" = set; then :
7420 $as_echo_n "(cached) " >&6
7422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7423 /* end confdefs.h. */
7437 if ac_fn_c_try_compile
"$LINENO"; then :
7438 ac_cv_header_stdc
=yes
7440 ac_cv_header_stdc
=no
7442 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7444 if test $ac_cv_header_stdc = yes; then
7445 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7447 /* end confdefs.h. */
7451 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7452 $EGREP "memchr" >/dev
/null
2>&1; then :
7455 ac_cv_header_stdc
=no
7461 if test $ac_cv_header_stdc = yes; then
7462 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7464 /* end confdefs.h. */
7468 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7469 $EGREP "free" >/dev
/null
2>&1; then :
7472 ac_cv_header_stdc
=no
7478 if test $ac_cv_header_stdc = yes; then
7479 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7480 if test "$cross_compiling" = yes; then :
7483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7484 /* end confdefs.h. */
7487 #if ((' ' & 0x0FF) == 0x020)
7488 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7489 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7491 # define ISLOWER(c) \
7492 (('a' <= (c) && (c) <= 'i') \
7493 || ('j' <= (c) && (c) <= 'r') \
7494 || ('s' <= (c) && (c) <= 'z'))
7495 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7498 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7503 for (i = 0; i < 256; i++)
7504 if (XOR (islower (i), ISLOWER (i))
7505 || toupper (i) != TOUPPER (i))
7510 if ac_fn_c_try_run
"$LINENO"; then :
7513 ac_cv_header_stdc
=no
7515 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7516 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7522 $as_echo "$ac_cv_header_stdc" >&6; }
7523 if test $ac_cv_header_stdc = yes; then
7525 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7529 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7530 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7531 inttypes.h stdint.h unistd.h
7533 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7534 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7536 eval as_val
=\$
$as_ac_Header
7537 if test "x$as_val" = x
""yes; then :
7538 cat >>confdefs.h
<<_ACEOF
7539 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7547 for ac_header
in dlfcn.h
7549 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7551 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7552 cat >>confdefs.h
<<_ACEOF
7553 #define HAVE_DLFCN_H 1
7560 if test -n "$ac_tool_prefix"; then
7561 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
7562 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7564 $as_echo_n "checking for $ac_word... " >&6; }
7565 if test "${ac_cv_prog_GOC+set}" = set; then :
7566 $as_echo_n "(cached) " >&6
7568 if test -n "$GOC"; then
7569 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
7571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7575 test -z "$as_dir" && as_dir
=.
7576 for ac_exec_ext
in '' $ac_executable_extensions; do
7577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7578 ac_cv_prog_GOC
="${ac_tool_prefix}gccgo"
7579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7589 if test -n "$GOC"; then
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
7591 $as_echo "$GOC" >&6; }
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7594 $as_echo "no" >&6; }
7599 if test -z "$ac_cv_prog_GOC"; then
7601 # Extract the first word of "gccgo", so it can be a program name with args.
7602 set dummy gccgo
; ac_word
=$2
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7604 $as_echo_n "checking for $ac_word... " >&6; }
7605 if test "${ac_cv_prog_ac_ct_GOC+set}" = set; then :
7606 $as_echo_n "(cached) " >&6
7608 if test -n "$ac_ct_GOC"; then
7609 ac_cv_prog_ac_ct_GOC
="$ac_ct_GOC" # Let the user override the test.
7611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7615 test -z "$as_dir" && as_dir
=.
7616 for ac_exec_ext
in '' $ac_executable_extensions; do
7617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7618 ac_cv_prog_ac_ct_GOC
="gccgo"
7619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7628 ac_ct_GOC
=$ac_cv_prog_ac_ct_GOC
7629 if test -n "$ac_ct_GOC"; then
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
7631 $as_echo "$ac_ct_GOC" >&6; }
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7634 $as_echo "no" >&6; }
7637 if test "x$ac_ct_GOC" = x
; then
7640 case $cross_compiling:$ac_tool_warned in
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7643 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7644 ac_tool_warned
=yes ;;
7649 GOC
="$ac_cv_prog_GOC"
7665 # Check whether --enable-shared was given.
7666 if test "${enable_shared+set}" = set; then :
7667 enableval
=$enable_shared; p
=${PACKAGE-default}
7669 yes) enable_shared
=yes ;;
7670 no
) enable_shared
=no
;;
7673 # Look at the argument we got. We use all the common list separators.
7674 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7675 for pkg
in $enableval; do
7677 if test "X$pkg" = "X$p"; then
7696 # Check whether --enable-static was given.
7697 if test "${enable_static+set}" = set; then :
7698 enableval
=$enable_static; p
=${PACKAGE-default}
7700 yes) enable_static
=yes ;;
7701 no
) enable_static
=no
;;
7704 # Look at the argument we got. We use all the common list separators.
7705 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7706 for pkg
in $enableval; do
7708 if test "X$pkg" = "X$p"; then
7728 # Check whether --with-pic was given.
7729 if test "${with_pic+set}" = set; then :
7730 withval
=$with_pic; pic_mode
="$withval"
7736 test -z "$pic_mode" && pic_mode
=default
7744 # Check whether --enable-fast-install was given.
7745 if test "${enable_fast_install+set}" = set; then :
7746 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7748 yes) enable_fast_install
=yes ;;
7749 no
) enable_fast_install
=no
;;
7751 enable_fast_install
=no
7752 # Look at the argument we got. We use all the common list separators.
7753 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7754 for pkg
in $enableval; do
7756 if test "X$pkg" = "X$p"; then
7757 enable_fast_install
=yes
7764 enable_fast_install
=yes
7777 # This can be used to rebuild libtool when needed
7778 LIBTOOL_DEPS
="$ltmain"
7780 # Always use our own libtool.
7781 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7808 test -z "$LN_S" && LN_S
="ln -s"
7823 if test -n "${ZSH_VERSION+set}" ; then
7824 setopt NO_GLOB_SUBST
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7828 $as_echo_n "checking for objdir... " >&6; }
7829 if test "${lt_cv_objdir+set}" = set; then :
7830 $as_echo_n "(cached) " >&6
7832 rm -f .libs
2>/dev
/null
7833 mkdir .libs
2>/dev
/null
7834 if test -d .libs
; then
7837 # MS-DOS does not allow filenames that begin with a dot.
7840 rmdir .libs
2>/dev
/null
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7843 $as_echo "$lt_cv_objdir" >&6; }
7844 objdir
=$lt_cv_objdir
7850 cat >>confdefs.h
<<_ACEOF
7851 #define LT_OBJDIR "$lt_cv_objdir/"
7859 # AIX sometimes has problems with the GCC collect2 program. For some
7860 # reason, if we set the COLLECT_NAMES environment variable, the problems
7861 # vanish in a puff of smoke.
7862 if test "X${COLLECT_NAMES+set}" != Xset
; then
7864 export COLLECT_NAMES
7871 can_build_shared
=yes
7873 # All known linkers require a `.a' archive for static linking (except MSVC,
7874 # which needs '.lib').
7877 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7880 old_CFLAGS
="$CFLAGS"
7882 # Set sane defaults for various variables
7883 test -z "$CC" && CC
=cc
7884 test -z "$LTCC" && LTCC
=$CC
7885 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7886 test -z "$LD" && LD
=ld
7887 test -z "$ac_objext" && ac_objext
=o
7889 for cc_temp
in $compiler""; do
7891 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7892 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7897 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7900 # Only perform the check for file, if the check method requires it
7901 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7902 case $deplibs_check_method in
7904 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7906 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7907 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7908 $as_echo_n "(cached) " >&6
7912 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7915 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7916 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7917 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7918 for ac_dir
in $ac_dummy; do
7920 test -z "$ac_dir" && ac_dir
=.
7921 if test -f $ac_dir/${ac_tool_prefix}file; then
7922 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7923 if test -n "$file_magic_test_file"; then
7924 case $deplibs_check_method in
7926 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7927 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7928 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7929 $EGREP "$file_magic_regex" > /dev
/null
; then
7934 *** Warning: the command libtool uses to detect shared libraries,
7935 *** $file_magic_cmd, produces output that libtool cannot recognize.
7936 *** The result is that libtool may fail to recognize shared libraries
7937 *** as such. This will affect the creation of libtool libraries that
7938 *** depend on shared libraries, but programs linked with such libtool
7939 *** libraries will work regardless of this problem. Nevertheless, you
7940 *** may want to report the problem to your system manager and/or to
7941 *** bug-libtool@gnu.org
7951 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7956 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7957 if test -n "$MAGIC_CMD"; then
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7959 $as_echo "$MAGIC_CMD" >&6; }
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7962 $as_echo "no" >&6; }
7969 if test -z "$lt_cv_path_MAGIC_CMD"; then
7970 if test -n "$ac_tool_prefix"; then
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7972 $as_echo_n "checking for file... " >&6; }
7973 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7974 $as_echo_n "(cached) " >&6
7978 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7981 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7982 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7983 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7984 for ac_dir
in $ac_dummy; do
7986 test -z "$ac_dir" && ac_dir
=.
7987 if test -f $ac_dir/file; then
7988 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7989 if test -n "$file_magic_test_file"; then
7990 case $deplibs_check_method in
7992 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7993 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7994 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7995 $EGREP "$file_magic_regex" > /dev
/null
; then
8000 *** Warning: the command libtool uses to detect shared libraries,
8001 *** $file_magic_cmd, produces output that libtool cannot recognize.
8002 *** The result is that libtool may fail to recognize shared libraries
8003 *** as such. This will affect the creation of libtool libraries that
8004 *** depend on shared libraries, but programs linked with such libtool
8005 *** libraries will work regardless of this problem. Nevertheless, you
8006 *** may want to report the problem to your system manager and/or to
8007 *** bug-libtool@gnu.org
8017 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8022 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8023 if test -n "$MAGIC_CMD"; then
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8025 $as_echo "$MAGIC_CMD" >&6; }
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8028 $as_echo "no" >&6; }
8041 # Use C for the default configuration in the libtool script
8045 ac_cpp
='$CPP $CPPFLAGS'
8046 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8047 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8048 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8051 # Source file extension for C test sources.
8054 # Object file extension for compiled C test sources.
8058 # Code to be used in simple compile tests
8059 lt_simple_compile_test_code
="int some_variable = 0;"
8061 # Code to be used in simple link tests
8062 lt_simple_link_test_code
='int main(){return(0);}'
8070 # If no C compiler was specified, use CC.
8073 # If no C compiler flags were specified, use CFLAGS.
8074 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8076 # Allow CC to be a program name with arguments.
8079 # Save the default compiler, since it gets overwritten when the other
8080 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8081 compiler_DEFAULT
=$CC
8083 # save warnings/boilerplate of simple test code
8084 ac_outfile
=conftest.
$ac_objext
8085 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8086 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8087 _lt_compiler_boilerplate
=`cat conftest.err`
8090 ac_outfile
=conftest.
$ac_objext
8091 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8092 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8093 _lt_linker_boilerplate
=`cat conftest.err`
8098 ## There is no encapsulation within the following macros, do not change
8099 ## the running order or otherwise move them around unless you know exactly
8100 ## what you are doing...
8101 if test -n "$compiler"; then
8103 lt_prog_compiler_no_builtin_flag
=
8105 if test "$GCC" = yes; then
8106 case $cc_basename in
8108 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8110 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8114 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8115 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8116 $as_echo_n "(cached) " >&6
8118 lt_cv_prog_compiler_rtti_exceptions
=no
8119 ac_outfile
=conftest.
$ac_objext
8120 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8121 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8122 # Insert the option either (1) after the last *FLAGS variable, or
8123 # (2) before a word containing "conftest.", or (3) at the end.
8124 # Note that $ac_compile itself does not contain backslashes and begins
8125 # with a dollar sign (not a hyphen), so the echo should work correctly.
8126 # The option is referenced via a variable to avoid confusing sed.
8127 lt_compile
=`echo "$ac_compile" | $SED \
8128 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8129 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8130 -e 's:$: $lt_compiler_flag:'`
8131 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8132 (eval "$lt_compile" 2>conftest.err
)
8134 cat conftest.err
>&5
8135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8136 if (exit $ac_status) && test -s "$ac_outfile"; then
8137 # The compiler can only warn and ignore the option if not recognized
8138 # So say no if there are warnings other than the usual output.
8139 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8140 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8141 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8142 lt_cv_prog_compiler_rtti_exceptions
=yes
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8149 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8151 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8152 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8164 lt_prog_compiler_wl
=
8165 lt_prog_compiler_pic
=
8166 lt_prog_compiler_static
=
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8169 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8171 if test "$GCC" = yes; then
8172 lt_prog_compiler_wl
='-Wl,'
8173 lt_prog_compiler_static
='-static'
8177 # All AIX code is PIC.
8178 if test "$host_cpu" = ia64
; then
8179 # AIX 5 now supports IA64 processor
8180 lt_prog_compiler_static
='-Bstatic'
8182 lt_prog_compiler_pic
='-fPIC'
8188 # see comment about AmigaOS4 .so support
8189 lt_prog_compiler_pic
='-fPIC'
8192 # FIXME: we need at least 68020 code to build shared libraries, but
8193 # adding the `-m68020' flag to GCC prevents building anything better,
8195 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8200 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8201 # PIC is the default for these OSes.
8204 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8205 # This hack is so that the source file can tell whether it is being
8206 # built for inclusion in a dll (and should export symbols for example).
8207 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8208 # (--disable-auto-import) libraries
8209 lt_prog_compiler_pic
='-DDLL_EXPORT'
8212 darwin
* | rhapsody
*)
8213 # PIC is the default on this platform
8214 # Common symbols not allowed in MH_DYLIB files
8215 lt_prog_compiler_pic
='-fno-common'
8219 # PIC is the default for Haiku.
8220 # The "-static" flag exists, but is broken.
8221 lt_prog_compiler_static
=
8225 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8226 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8227 # sets the default TLS model and affects inlining.
8233 lt_prog_compiler_pic
='-fPIC'
8239 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8240 # Instead, we relocate shared libraries at runtime.
8244 # Just because we use GCC doesn't mean we suddenly get shared libraries
8245 # on systems that don't support them.
8246 lt_prog_compiler_can_build_shared
=no
8251 # QNX uses GNU C++, but need to define -shared option too, otherwise
8253 lt_prog_compiler_pic
='-fPIC -shared'
8257 if test -d /usr
/nec
; then
8258 lt_prog_compiler_pic
=-Kconform_pic
8263 lt_prog_compiler_pic
='-fPIC'
8267 case $cc_basename in
8268 nvcc
*) # Cuda Compiler Driver 2.2
8269 lt_prog_compiler_wl
='-Xlinker '
8270 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8274 # PORTME Check for flag to pass linker flags through the system compiler.
8277 lt_prog_compiler_wl
='-Wl,'
8278 if test "$host_cpu" = ia64
; then
8279 # AIX 5 now supports IA64 processor
8280 lt_prog_compiler_static
='-Bstatic'
8282 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8286 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8287 # This hack is so that the source file can tell whether it is being
8288 # built for inclusion in a dll (and should export symbols for example).
8289 lt_prog_compiler_pic
='-DDLL_EXPORT'
8292 hpux9
* | hpux10
* | hpux11
*)
8293 lt_prog_compiler_wl
='-Wl,'
8294 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8301 lt_prog_compiler_pic
='+Z'
8304 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8305 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8308 irix5
* | irix6
* | nonstopux
*)
8309 lt_prog_compiler_wl
='-Wl,'
8310 # PIC (with -KPIC) is the default.
8311 lt_prog_compiler_static
='-non_shared'
8314 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8315 case $cc_basename in
8316 # old Intel for x86_64 which still supported -KPIC.
8318 lt_prog_compiler_wl
='-Wl,'
8319 lt_prog_compiler_pic
='-KPIC'
8320 lt_prog_compiler_static
='-static'
8322 # icc used to be incompatible with GCC.
8323 # ICC 10 doesn't accept -KPIC any more.
8325 lt_prog_compiler_wl
='-Wl,'
8326 lt_prog_compiler_pic
='-fPIC'
8327 lt_prog_compiler_static
='-static'
8329 # Lahey Fortran 8.1.
8331 lt_prog_compiler_wl
='-Wl,'
8332 lt_prog_compiler_pic
='--shared'
8333 lt_prog_compiler_static
='--static'
8335 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8336 # Portland Group compilers (*not* the Pentium gcc compiler,
8337 # which looks to be a dead project)
8338 lt_prog_compiler_wl
='-Wl,'
8339 lt_prog_compiler_pic
='-fpic'
8340 lt_prog_compiler_static
='-Bstatic'
8343 lt_prog_compiler_wl
='-Wl,'
8344 # All Alpha code is PIC.
8345 lt_prog_compiler_static
='-non_shared'
8347 xl
* | bgxl
* | bgf
* | mpixl
*)
8348 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8349 lt_prog_compiler_wl
='-Wl,'
8350 lt_prog_compiler_pic
='-qpic'
8351 lt_prog_compiler_static
='-qstaticlink'
8354 case `$CC -V 2>&1 | sed 5q` in
8355 *Sun\ F
* |
*Sun
*Fortran
*)
8356 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8357 lt_prog_compiler_pic
='-KPIC'
8358 lt_prog_compiler_static
='-Bstatic'
8359 lt_prog_compiler_wl
=''
8363 lt_prog_compiler_pic
='-KPIC'
8364 lt_prog_compiler_static
='-Bstatic'
8365 lt_prog_compiler_wl
='-Wl,'
8373 lt_prog_compiler_pic
='-KPIC'
8374 lt_prog_compiler_static
='-Bstatic'
8378 # QNX uses GNU C++, but need to define -shared option too, otherwise
8380 lt_prog_compiler_pic
='-fPIC -shared'
8383 osf3
* | osf4
* | osf5
*)
8384 lt_prog_compiler_wl
='-Wl,'
8385 # All OSF/1 code is PIC.
8386 lt_prog_compiler_static
='-non_shared'
8390 lt_prog_compiler_static
='-non_shared'
8394 lt_prog_compiler_pic
='-KPIC'
8395 lt_prog_compiler_static
='-Bstatic'
8396 case $cc_basename in
8398 lt_prog_compiler_wl
='-Qoption ld ';;
8400 lt_prog_compiler_wl
='-Wl,';;
8405 lt_prog_compiler_wl
='-Qoption ld '
8406 lt_prog_compiler_pic
='-PIC'
8407 lt_prog_compiler_static
='-Bstatic'
8410 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8411 lt_prog_compiler_wl
='-Wl,'
8412 lt_prog_compiler_pic
='-KPIC'
8413 lt_prog_compiler_static
='-Bstatic'
8417 if test -d /usr
/nec
;then
8418 lt_prog_compiler_pic
='-Kconform_pic'
8419 lt_prog_compiler_static
='-Bstatic'
8423 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8424 lt_prog_compiler_wl
='-Wl,'
8425 lt_prog_compiler_pic
='-KPIC'
8426 lt_prog_compiler_static
='-Bstatic'
8430 lt_prog_compiler_wl
='-Wl,'
8431 lt_prog_compiler_can_build_shared
=no
8435 lt_prog_compiler_pic
='-pic'
8436 lt_prog_compiler_static
='-Bstatic'
8440 lt_prog_compiler_can_build_shared
=no
8446 # For platforms which do not support PIC, -DPIC is meaningless:
8448 lt_prog_compiler_pic
=
8451 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8455 $as_echo "$lt_prog_compiler_pic" >&6; }
8463 # Check to make sure the PIC flag actually works.
8465 if test -n "$lt_prog_compiler_pic"; then
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8467 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8468 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8469 $as_echo_n "(cached) " >&6
8471 lt_cv_prog_compiler_pic_works
=no
8472 ac_outfile
=conftest.
$ac_objext
8473 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8474 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8475 # Insert the option either (1) after the last *FLAGS variable, or
8476 # (2) before a word containing "conftest.", or (3) at the end.
8477 # Note that $ac_compile itself does not contain backslashes and begins
8478 # with a dollar sign (not a hyphen), so the echo should work correctly.
8479 # The option is referenced via a variable to avoid confusing sed.
8480 lt_compile
=`echo "$ac_compile" | $SED \
8481 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8482 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8483 -e 's:$: $lt_compiler_flag:'`
8484 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8485 (eval "$lt_compile" 2>conftest.err
)
8487 cat conftest.err
>&5
8488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8489 if (exit $ac_status) && test -s "$ac_outfile"; then
8490 # The compiler can only warn and ignore the option if not recognized
8491 # So say no if there are warnings other than the usual output.
8492 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8493 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8494 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8495 lt_cv_prog_compiler_pic_works
=yes
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8502 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8504 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8505 case $lt_prog_compiler_pic in
8507 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8510 lt_prog_compiler_pic
=
8511 lt_prog_compiler_can_build_shared
=no
8522 # Check to make sure the static flag actually works.
8524 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8526 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8527 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8528 $as_echo_n "(cached) " >&6
8530 lt_cv_prog_compiler_static_works
=no
8531 save_LDFLAGS
="$LDFLAGS"
8532 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8533 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8534 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8535 # The linker can only warn and ignore the option if not recognized
8536 # So say no if there are warnings
8537 if test -s conftest.err
; then
8538 # Append any errors to the config.log.
8539 cat conftest.err
1>&5
8540 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8541 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8542 if diff conftest.exp conftest.er2
>/dev
/null
; then
8543 lt_cv_prog_compiler_static_works
=yes
8546 lt_cv_prog_compiler_static_works
=yes
8550 LDFLAGS
="$save_LDFLAGS"
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8554 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8556 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8559 lt_prog_compiler_static
=
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8569 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8570 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8571 $as_echo_n "(cached) " >&6
8573 lt_cv_prog_compiler_c_o
=no
8574 $RM -r conftest
2>/dev
/null
8578 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8580 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8581 # Insert the option either (1) after the last *FLAGS variable, or
8582 # (2) before a word containing "conftest.", or (3) at the end.
8583 # Note that $ac_compile itself does not contain backslashes and begins
8584 # with a dollar sign (not a hyphen), so the echo should work correctly.
8585 lt_compile
=`echo "$ac_compile" | $SED \
8586 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8587 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8588 -e 's:$: $lt_compiler_flag:'`
8589 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8590 (eval "$lt_compile" 2>out
/conftest.err
)
8592 cat out
/conftest.err
>&5
8593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8594 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8596 # The compiler can only warn and ignore the option if not recognized
8597 # So say no if there are warnings
8598 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8599 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8600 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8601 lt_cv_prog_compiler_c_o
=yes
8606 # SGI C++ compiler will create directory out/ii_files/ for
8607 # template instantiation
8608 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8609 $RM out
/* && rmdir out
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8616 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8624 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8625 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8626 $as_echo_n "(cached) " >&6
8628 lt_cv_prog_compiler_c_o
=no
8629 $RM -r conftest
2>/dev
/null
8633 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8635 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8636 # Insert the option either (1) after the last *FLAGS variable, or
8637 # (2) before a word containing "conftest.", or (3) at the end.
8638 # Note that $ac_compile itself does not contain backslashes and begins
8639 # with a dollar sign (not a hyphen), so the echo should work correctly.
8640 lt_compile
=`echo "$ac_compile" | $SED \
8641 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8642 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8643 -e 's:$: $lt_compiler_flag:'`
8644 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8645 (eval "$lt_compile" 2>out
/conftest.err
)
8647 cat out
/conftest.err
>&5
8648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8649 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8651 # The compiler can only warn and ignore the option if not recognized
8652 # So say no if there are warnings
8653 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8654 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8655 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8656 lt_cv_prog_compiler_c_o
=yes
8661 # SGI C++ compiler will create directory out/ii_files/ for
8662 # template instantiation
8663 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8664 $RM out
/* && rmdir out
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8671 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8676 hard_links
="nottested"
8677 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8678 # do not overwrite the value of need_locks provided by the user
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8680 $as_echo_n "checking if we can lock with hard links... " >&6; }
8683 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8685 ln conftest.a conftest.b
2>&5 || hard_links
=no
8686 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8688 $as_echo "$hard_links" >&6; }
8689 if test "$hard_links" = no
; then
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8691 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8704 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8707 allow_undefined_flag
=
8708 always_export_symbols
=no
8710 archive_expsym_cmds
=
8711 compiler_needs_object
=no
8712 enable_shared_with_static_runtimes
=no
8713 export_dynamic_flag_spec
=
8714 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8715 hardcode_automatic
=no
8717 hardcode_direct_absolute
=no
8718 hardcode_libdir_flag_spec
=
8719 hardcode_libdir_flag_spec_ld
=
8720 hardcode_libdir_separator
=
8722 hardcode_shlibpath_var
=unsupported
8724 link_all_deplibs
=unknown
8727 old_archive_from_new_cmds
=
8728 old_archive_from_expsyms_cmds
=
8729 thread_safe_flag_spec
=
8730 whole_archive_flag_spec
=
8731 # include_expsyms should be a list of space-separated symbols to be *always*
8732 # included in the symbol list
8734 # exclude_expsyms can be an extended regexp of symbols to exclude
8735 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8736 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8737 # as well as any symbol that contains `d'.
8738 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8739 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8740 # platforms (ab)use it in PIC code, but their linkers get confused if
8741 # the symbol is explicitly referenced. Since portable code cannot
8742 # rely on this symbol name, it's probably fine to never include it in
8743 # preloaded symbol tables.
8744 # Exclude shared library initialization/finalization symbols.
8745 extract_expsyms_cmds
=
8748 cygwin
* | mingw
* | pw32
* | cegcc
*)
8749 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8750 # When not using gcc, we currently assume that we are using
8751 # Microsoft Visual C++.
8752 if test "$GCC" != yes; then
8757 # we just hope/assume this is gcc and not c89 (= MSVC++)
8767 # On some targets, GNU ld is compatible enough with the native linker
8768 # that we're better off using the native interface for both.
8769 lt_use_gnu_ld_interface
=no
8770 if test "$with_gnu_ld" = yes; then
8773 # The AIX port of GNU ld has always aspired to compatibility
8774 # with the native linker. However, as the warning in the GNU ld
8775 # block says, versions before 2.19.5* couldn't really create working
8776 # shared libraries, regardless of the interface used.
8777 case `$LD -v 2>&1` in
8778 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8779 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8780 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8782 lt_use_gnu_ld_interface
=yes
8787 lt_use_gnu_ld_interface
=yes
8792 if test "$lt_use_gnu_ld_interface" = yes; then
8793 # If archive_cmds runs LD, not CC, wlarc should be empty
8796 # Set some defaults for GNU ld with shared library support. These
8797 # are reset later if shared libraries are not supported. Putting them
8798 # here allows them to be overridden if necessary.
8799 runpath_var
=LD_RUN_PATH
8800 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8801 export_dynamic_flag_spec
='${wl}--export-dynamic'
8802 # ancient GNU ld didn't support --whole-archive et. al.
8803 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8804 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8806 whole_archive_flag_spec
=
8808 supports_anon_versioning
=no
8809 case `$LD -v 2>&1` in
8810 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8811 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8812 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8813 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8814 *\
2.11.
*) ;; # other 2.11 versions
8815 *) supports_anon_versioning
=yes ;;
8818 # See if GNU ld supports shared libraries.
8821 # On AIX/PPC, the GNU linker is very broken
8822 if test "$host_cpu" != ia64
; then
8826 *** Warning: the GNU linker, at least up to release 2.19, is reported
8827 *** to be unable to reliably create shared libraries on AIX.
8828 *** Therefore, libtool is disabling shared libraries support. If you
8829 *** really care for shared libraries, you may want to install binutils
8830 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8831 *** You will then need to restart the configuration process.
8840 # see comment about AmigaOS4 .so support
8841 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8842 archive_expsym_cmds
=''
8845 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)'
8846 hardcode_libdir_flag_spec
='-L$libdir'
8847 hardcode_minus_L
=yes
8853 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8854 allow_undefined_flag
=unsupported
8855 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8856 # support --undefined. This deserves some investigation. FIXME
8857 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8863 cygwin
* | mingw
* | pw32
* | cegcc
*)
8864 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8865 # as there is no search path for DLLs.
8866 hardcode_libdir_flag_spec
='-L$libdir'
8867 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8868 allow_undefined_flag
=unsupported
8869 always_export_symbols
=no
8870 enable_shared_with_static_runtimes
=yes
8871 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8873 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8874 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8875 # If the export-symbols file already is a .def file (1st line
8876 # is EXPORTS), use it as is; otherwise, prepend...
8877 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8878 cp $export_symbols $output_objdir/$soname.def;
8880 echo EXPORTS > $output_objdir/$soname.def;
8881 cat $export_symbols >> $output_objdir/$soname.def;
8883 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8890 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8891 link_all_deplibs
=yes
8896 hardcode_shlibpath_var
=no
8897 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8898 export_dynamic_flag_spec
='${wl}-E'
8899 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8900 # Instead, shared libraries are loaded at an image base (0x10000000 by
8901 # default) and relocated if they conflict, which is a slow very memory
8902 # consuming and fragmenting process. To avoid this, we pick a random,
8903 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8904 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8905 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8906 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'
8909 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8911 if test "$host_os" = linux-dietlibc
; then
8912 case $cc_basename in
8913 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8916 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8917 && test "$tmp_diet" = no
8920 tmp_sharedflag
='-shared'
8921 case $cc_basename,$host_cpu in
8922 pgcc
*) # Portland Group C compiler
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'
8926 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8927 # Portland Group f77 and f90 compilers
8928 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'
8929 tmp_addflag
=' $pic_flag -Mnomain' ;;
8930 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8931 tmp_addflag
=' -i_dynamic' ;;
8932 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8933 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8934 ifc
* | ifort
*) # Intel Fortran compiler
8935 tmp_addflag
=' -nofor_main' ;;
8936 lf95
*) # Lahey Fortran 8.1
8937 whole_archive_flag_spec
=
8938 tmp_sharedflag
='--shared' ;;
8939 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8940 tmp_sharedflag
='-qmkshrobj'
8942 nvcc
*) # Cuda Compiler Driver 2.2
8943 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'
8944 compiler_needs_object
=yes
8947 case `$CC -V 2>&1 | sed 5q` in
8948 *Sun\ C
*) # Sun C 5.9
8949 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'
8950 compiler_needs_object
=yes
8951 tmp_sharedflag
='-G' ;;
8952 *Sun\ F
*) # Sun Fortran 8.3
8953 tmp_sharedflag
='-G' ;;
8955 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8957 if test "x$supports_anon_versioning" = xyes
; then
8958 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8959 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8960 echo "local: *; };" >> $output_objdir/$libname.ver~
8961 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8964 case $cc_basename in
8965 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8966 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8967 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8968 hardcode_libdir_flag_spec
=
8969 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8970 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8971 if test "x$supports_anon_versioning" = xyes
; then
8972 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8973 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8974 echo "local: *; };" >> $output_objdir/$libname.ver~
8975 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8985 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8986 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8989 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8990 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8995 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8999 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9000 *** create shared libraries on Solaris systems. Therefore, libtool
9001 *** is disabling shared libraries support. We urge you to upgrade GNU
9002 *** binutils to release 2.9.1 or newer. Another option is to modify
9003 *** your PATH or compiler configuration so that the native linker is
9004 *** used, and then restart.
9007 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9008 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9009 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9015 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9016 case `$LD -v 2>&1` in
9017 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9021 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9022 *** reliably create shared libraries on SCO systems. Therefore, libtool
9023 *** is disabling shared libraries support. We urge you to upgrade GNU
9024 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9025 *** your PATH or compiler configuration so that the native linker is
9026 *** used, and then restart.
9031 # For security reasons, it is highly recommended that you always
9032 # use absolute paths for naming shared libraries, and exclude the
9033 # DT_RUNPATH tag from executables and libraries. But doing so
9034 # requires that you compile everything twice, which is a pain.
9035 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9036 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9037 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9038 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9047 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9050 hardcode_shlibpath_var
=no
9054 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9055 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9056 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9063 if test "$ld_shlibs" = no
; then
9065 hardcode_libdir_flag_spec
=
9066 export_dynamic_flag_spec
=
9067 whole_archive_flag_spec
=
9070 # PORTME fill in a description of your system's linker (not GNU ld)
9073 allow_undefined_flag
=unsupported
9074 always_export_symbols
=yes
9075 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'
9076 # Note: this linker hardcodes the directories in LIBPATH if there
9077 # are no directories specified by -L.
9078 hardcode_minus_L
=yes
9079 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9080 # Neither direct hardcoding nor static linking is supported with a
9082 hardcode_direct
=unsupported
9087 if test "$host_cpu" = ia64
; then
9088 # On IA64, the linker does run time linking by default, so we don't
9089 # have to do anything special.
9090 aix_use_runtimelinking
=no
9091 exp_sym_flag
='-Bexport'
9094 # If we're using GNU nm, then we don't want the "-C" option.
9095 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9096 # Also, AIX nm treats weak defined symbols like other global
9097 # defined symbols, whereas GNU nm marks them as "W".
9098 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9099 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'
9101 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'
9103 aix_use_runtimelinking
=no
9105 # Test if we are trying to use run time linking or normal
9106 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9107 # need to do runtime linking.
9108 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9109 for ld_flag
in $LDFLAGS; do
9110 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9111 aix_use_runtimelinking
=yes
9118 exp_sym_flag
='-bexport'
9119 no_entry_flag
='-bnoentry'
9122 # When large executables or shared objects are built, AIX ld can
9123 # have problems creating the table of contents. If linking a library
9124 # or program results in "error TOC overflow" add -mminimal-toc to
9125 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9126 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9130 hardcode_direct_absolute
=yes
9131 hardcode_libdir_separator
=':'
9132 link_all_deplibs
=yes
9133 file_list_spec
='${wl}-f,'
9135 if test "$GCC" = yes; then
9136 case $host_os in aix4.
[012]|aix4.
[012].
*)
9137 # We only want to do this on AIX 4.2 and lower, the check
9138 # below for broken collect2 doesn't work under 4.3+
9139 collect2name
=`${CC} -print-prog-name=collect2`
9140 if test -f "$collect2name" &&
9141 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9143 # We have reworked collect2
9146 # We have old collect2
9147 hardcode_direct
=unsupported
9148 # It fails to find uninstalled libraries when the uninstalled
9149 # path is not listed in the libpath. Setting hardcode_minus_L
9150 # to unsupported forces relinking
9151 hardcode_minus_L
=yes
9152 hardcode_libdir_flag_spec
='-L$libdir'
9153 hardcode_libdir_separator
=
9157 shared_flag
='-shared'
9158 if test "$aix_use_runtimelinking" = yes; then
9159 shared_flag
="$shared_flag "'${wl}-G'
9163 if test "$host_cpu" = ia64
; then
9164 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9165 # chokes on -Wl,-G. The following line is correct:
9168 if test "$aix_use_runtimelinking" = yes; then
9169 shared_flag
='${wl}-G'
9171 shared_flag
='${wl}-bM:SRE'
9176 export_dynamic_flag_spec
='${wl}-bexpall'
9177 # It seems that -bexpall does not export symbols beginning with
9178 # underscore (_), so it is better to generate a list of symbols to export.
9179 always_export_symbols
=yes
9180 if test "$aix_use_runtimelinking" = yes; then
9181 # Warning - without using the other runtime loading flags (-brtl),
9182 # -berok will link without error, but may produce a broken library.
9183 allow_undefined_flag
='-berok'
9184 # Determine the default libpath from the value encoded in an
9186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9187 /* end confdefs.h. */
9197 if ac_fn_c_try_link
"$LINENO"; then :
9199 lt_aix_libpath_sed
='
9200 /Import File Strings/,/^$/ {
9206 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9207 # Check for a 64-bit object if we didn't find anything.
9208 if test -z "$aix_libpath"; then
9209 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9212 rm -f core conftest.err conftest.
$ac_objext \
9213 conftest
$ac_exeext conftest.
$ac_ext
9214 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9216 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9217 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"
9219 if test "$host_cpu" = ia64
; then
9220 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9221 allow_undefined_flag
="-z nodefs"
9222 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"
9224 # Determine the default libpath from the value encoded in an
9226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9227 /* end confdefs.h. */
9237 if ac_fn_c_try_link
"$LINENO"; then :
9239 lt_aix_libpath_sed
='
9240 /Import File Strings/,/^$/ {
9246 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9247 # Check for a 64-bit object if we didn't find anything.
9248 if test -z "$aix_libpath"; then
9249 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9252 rm -f core conftest.err conftest.
$ac_objext \
9253 conftest
$ac_exeext conftest.
$ac_ext
9254 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9256 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9257 # Warning - without using the other run time loading flags,
9258 # -berok will link without error, but may produce a broken library.
9259 no_undefined_flag
=' ${wl}-bernotok'
9260 allow_undefined_flag
=' ${wl}-berok'
9261 if test "$with_gnu_ld" = yes; then
9262 # We only use this code for GNU lds that support --whole-archive.
9263 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9265 # Exported symbols can be pulled into shared objects from archives
9266 whole_archive_flag_spec
='$convenience'
9268 archive_cmds_need_lc
=yes
9269 # This is similar to how AIX traditionally builds its shared libraries.
9270 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'
9278 # see comment about AmigaOS4 .so support
9279 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9280 archive_expsym_cmds
=''
9283 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)'
9284 hardcode_libdir_flag_spec
='-L$libdir'
9285 hardcode_minus_L
=yes
9291 export_dynamic_flag_spec
=-rdynamic
9294 cygwin
* | mingw
* | pw32
* | cegcc
*)
9295 # When not using gcc, we currently assume that we are using
9296 # Microsoft Visual C++.
9297 # hardcode_libdir_flag_spec is actually meaningless, as there is
9298 # no search path for DLLs.
9299 hardcode_libdir_flag_spec
=' '
9300 allow_undefined_flag
=unsupported
9301 # Tell ltmain to make .lib files, not .a files.
9303 # Tell ltmain to make .dll files, not .so files.
9305 # FIXME: Setting linknames here is a bad hack.
9306 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9307 # The linker will automatically build a .lib file if we build a DLL.
9308 old_archive_from_new_cmds
='true'
9309 # FIXME: Should let the user specify the lib program.
9310 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9311 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9312 enable_shared_with_static_runtimes
=yes
9315 darwin
* | rhapsody
*)
9318 archive_cmds_need_lc
=no
9320 hardcode_automatic
=yes
9321 hardcode_shlibpath_var
=unsupported
9322 if test "$lt_cv_ld_force_load" = "yes"; then
9323 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\"`'
9325 whole_archive_flag_spec
=''
9327 link_all_deplibs
=yes
9328 allow_undefined_flag
="$_lt_dar_allow_undefined"
9329 case $cc_basename in
9330 ifort
*) _lt_dar_can_shared
=yes ;;
9331 *) _lt_dar_can_shared
=$GCC ;;
9333 if test "$_lt_dar_can_shared" = "yes"; then
9334 output_verbose_link_cmd
=func_echo_all
9335 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9336 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9337 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}"
9338 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}"
9347 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9348 hardcode_libdir_flag_spec
='-L$libdir'
9349 hardcode_shlibpath_var
=no
9352 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9353 # support. Future versions do this automatically, but an explicit c++rt0.o
9354 # does not break anything, and helps significantly (at the cost of a little
9357 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9358 hardcode_libdir_flag_spec
='-R$libdir'
9360 hardcode_shlibpath_var
=no
9363 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9365 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9367 hardcode_minus_L
=yes
9368 hardcode_shlibpath_var
=no
9371 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9372 freebsd
* | dragonfly
*)
9373 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9374 hardcode_libdir_flag_spec
='-R$libdir'
9376 hardcode_shlibpath_var
=no
9380 if test "$GCC" = yes; then
9381 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'
9383 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'
9385 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9386 hardcode_libdir_separator
=:
9389 # hardcode_minus_L: Not really in the search PATH,
9390 # but as the default location of the library.
9391 hardcode_minus_L
=yes
9392 export_dynamic_flag_spec
='${wl}-E'
9396 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9397 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9399 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9401 if test "$with_gnu_ld" = no
; then
9402 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9403 hardcode_libdir_flag_spec_ld
='+b $libdir'
9404 hardcode_libdir_separator
=:
9406 hardcode_direct_absolute
=yes
9407 export_dynamic_flag_spec
='${wl}-E'
9408 # hardcode_minus_L: Not really in the search PATH,
9409 # but as the default location of the library.
9410 hardcode_minus_L
=yes
9415 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9418 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9421 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9424 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9430 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9433 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9437 # Older versions of the 11.00 compiler do not understand -b yet
9438 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9440 $as_echo_n "checking if $CC understands -b... " >&6; }
9441 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9442 $as_echo_n "(cached) " >&6
9444 lt_cv_prog_compiler__b
=no
9445 save_LDFLAGS
="$LDFLAGS"
9446 LDFLAGS
="$LDFLAGS -b"
9447 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9448 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9449 # The linker can only warn and ignore the option if not recognized
9450 # So say no if there are warnings
9451 if test -s conftest.err
; then
9452 # Append any errors to the config.log.
9453 cat conftest.err
1>&5
9454 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9455 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9456 if diff conftest.exp conftest.er2
>/dev
/null
; then
9457 lt_cv_prog_compiler__b
=yes
9460 lt_cv_prog_compiler__b
=yes
9464 LDFLAGS
="$save_LDFLAGS"
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9468 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9470 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9471 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9473 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9479 if test "$with_gnu_ld" = no
; then
9480 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9481 hardcode_libdir_separator
=:
9486 hardcode_shlibpath_var
=no
9490 hardcode_direct_absolute
=yes
9491 export_dynamic_flag_spec
='${wl}-E'
9493 # hardcode_minus_L: Not really in the search PATH,
9494 # but as the default location of the library.
9495 hardcode_minus_L
=yes
9501 irix5
* | irix6
* | nonstopux
*)
9502 if test "$GCC" = yes; then
9503 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'
9504 # Try to use the -exported_symbol ld option, if it does not
9505 # work, assume that -exports_file does not work either and
9506 # implicitly export all symbols.
9507 save_LDFLAGS
="$LDFLAGS"
9508 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9510 /* end confdefs.h. */
9513 if ac_fn_c_try_link
"$LINENO"; then :
9514 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'
9517 rm -f core conftest.err conftest.
$ac_objext \
9518 conftest
$ac_exeext conftest.
$ac_ext
9519 LDFLAGS
="$save_LDFLAGS"
9521 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'
9522 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'
9524 archive_cmds_need_lc
='no'
9525 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9526 hardcode_libdir_separator
=:
9528 link_all_deplibs
=yes
9532 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9533 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9535 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9537 hardcode_libdir_flag_spec
='-R$libdir'
9539 hardcode_shlibpath_var
=no
9543 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9545 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9546 hardcode_libdir_separator
=:
9547 hardcode_shlibpath_var
=no
9554 if test -f /usr
/libexec
/ld.so
; then
9556 hardcode_shlibpath_var
=no
9557 hardcode_direct_absolute
=yes
9558 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9559 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9560 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9561 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9562 export_dynamic_flag_spec
='${wl}-E'
9565 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9566 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9567 hardcode_libdir_flag_spec
='-R$libdir'
9570 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9571 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9581 hardcode_libdir_flag_spec
='-L$libdir'
9582 hardcode_minus_L
=yes
9583 allow_undefined_flag
=unsupported
9584 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'
9585 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9589 if test "$GCC" = yes; then
9590 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9591 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'
9593 allow_undefined_flag
=' -expect_unresolved \*'
9594 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'
9596 archive_cmds_need_lc
='no'
9597 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9598 hardcode_libdir_separator
=:
9601 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9602 if test "$GCC" = yes; then
9603 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9604 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'
9605 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9607 allow_undefined_flag
=' -expect_unresolved \*'
9608 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'
9609 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~
9610 $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'
9612 # Both c and cxx compiler support -rpath directly
9613 hardcode_libdir_flag_spec
='-rpath $libdir'
9615 archive_cmds_need_lc
='no'
9616 hardcode_libdir_separator
=:
9620 no_undefined_flag
=' -z defs'
9621 if test "$GCC" = yes; then
9623 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9624 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9625 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9627 case `$CC -V 2>&1` in
9630 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9631 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9632 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9636 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9637 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9638 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9642 hardcode_libdir_flag_spec
='-R$libdir'
9643 hardcode_shlibpath_var
=no
9645 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9647 # The compiler driver will combine and reorder linker options,
9648 # but understands `-z linker_flag'. GCC discards it without `$wl',
9649 # but is careful enough not to reorder.
9650 # Supported since Solaris 2.6 (maybe 2.5.1?)
9651 if test "$GCC" = yes; then
9652 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9654 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9658 link_all_deplibs
=yes
9662 if test "x$host_vendor" = xsequent
; then
9663 # Use $CC to link under sequent, because it throws in some extra .o
9664 # files that make .init and .fini sections work.
9665 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9667 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9669 hardcode_libdir_flag_spec
='-L$libdir'
9671 hardcode_minus_L
=yes
9672 hardcode_shlibpath_var
=no
9676 case $host_vendor in
9678 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9679 hardcode_direct
=yes # is this really true???
9682 ## LD is ld it makes a PLAMLIB
9683 ## CC just makes a GrossModule.
9684 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9685 reload_cmds
='$CC -r -o $output$reload_objs'
9689 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9690 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9693 runpath_var
='LD_RUN_PATH'
9694 hardcode_shlibpath_var
=no
9698 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9699 hardcode_shlibpath_var
=no
9700 export_dynamic_flag_spec
='-Bexport'
9704 if test -d /usr
/nec
; then
9705 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9706 hardcode_shlibpath_var
=no
9707 runpath_var
=LD_RUN_PATH
9708 hardcode_runpath_var
=yes
9713 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9714 no_undefined_flag
='${wl}-z,text'
9715 archive_cmds_need_lc
=no
9716 hardcode_shlibpath_var
=no
9717 runpath_var
='LD_RUN_PATH'
9719 if test "$GCC" = yes; then
9720 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9721 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9723 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9724 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9728 sysv5
* | sco3.2v5
* | sco5v6
*)
9729 # Note: We can NOT use -z defs as we might desire, because we do not
9730 # link with -lc, and that would cause any symbols used from libc to
9731 # always be unresolved, which means just about no library would
9732 # ever link correctly. If we're not using GNU ld we use -z text
9733 # though, which does catch some bad symbols but isn't as heavy-handed
9735 no_undefined_flag
='${wl}-z,text'
9736 allow_undefined_flag
='${wl}-z,nodefs'
9737 archive_cmds_need_lc
=no
9738 hardcode_shlibpath_var
=no
9739 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9740 hardcode_libdir_separator
=':'
9741 link_all_deplibs
=yes
9742 export_dynamic_flag_spec
='${wl}-Bexport'
9743 runpath_var
='LD_RUN_PATH'
9745 if test "$GCC" = yes; then
9746 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9747 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9749 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9750 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9755 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9756 hardcode_libdir_flag_spec
='-L$libdir'
9757 hardcode_shlibpath_var
=no
9765 if test x
$host_vendor = xsni
; then
9767 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9768 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9775 $as_echo "$ld_shlibs" >&6; }
9776 test "$ld_shlibs" = no
&& can_build_shared
=no
9778 with_gnu_ld
=$with_gnu_ld
9795 # Do we need to explicitly link libc?
9797 case "x$archive_cmds_need_lc" in
9799 # Assume -lc should be added
9800 archive_cmds_need_lc
=yes
9802 if test "$enable_shared" = yes && test "$GCC" = yes; then
9803 case $archive_cmds in
9805 # FIXME: we may have to deal with multi-command sequences.
9808 # Test whether the compiler implicitly links with -lc since on some
9809 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9810 # to ld, don't add -lc before -lgcc.
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9812 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9813 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9814 $as_echo_n "(cached) " >&6
9817 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9819 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9820 (eval $ac_compile) 2>&5
9822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9823 test $ac_status = 0; } 2>conftest.err
; then
9826 libobjs
=conftest.
$ac_objext
9828 wl
=$lt_prog_compiler_wl
9829 pic_flag
=$lt_prog_compiler_pic
9835 lt_save_allow_undefined_flag
=$allow_undefined_flag
9836 allow_undefined_flag
=
9837 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9838 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9841 test $ac_status = 0; }
9843 lt_cv_archive_cmds_need_lc
=no
9845 lt_cv_archive_cmds_need_lc
=yes
9847 allow_undefined_flag
=$lt_save_allow_undefined_flag
9849 cat conftest.err
1>&5
9854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9855 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9856 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10020 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10022 if test "$GCC" = yes; then
10024 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10025 *) lt_awk_arg
="/^libraries:/" ;;
10028 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10029 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10031 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10032 case $lt_search_path_spec in
10034 # if the path contains ";" then we assume it to be the separator
10035 # otherwise default to the standard path separator (i.e. ":") - it is
10036 # assumed that no part of a normal pathname contains ";" but that should
10037 # okay in the real world where ";" in dirpaths is itself problematic.
10038 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10041 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10044 # Ok, now we have the path, separated by spaces, we can step through it
10045 # and add multilib dir if necessary.
10046 lt_tmp_lt_search_path_spec
=
10047 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10048 for lt_sys_path
in $lt_search_path_spec; do
10049 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10050 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10052 test -d "$lt_sys_path" && \
10053 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10056 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10057 BEGIN {RS=" "; FS="/|\n";} {
10060 for (lt_i = NF; lt_i > 0; lt_i--) {
10061 if ($lt_i != "" && $lt_i != ".") {
10062 if ($lt_i == "..") {
10065 if (lt_count == 0) {
10066 lt_foo="/" $lt_i lt_foo;
10073 if (lt_foo != "") { lt_freq[lt_foo]++; }
10074 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10076 # AWK program above erroneously prepends '/' to C:/dos/paths
10079 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10080 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10082 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10084 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10086 library_names_spec
=
10087 libname_spec
='lib$name'
10091 postuninstall_cmds
=
10095 shlibpath_overrides_runpath
=unknown
10097 dynamic_linker
="$host_os ld.so"
10098 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10099 need_lib_prefix
=unknown
10100 hardcode_into_libs
=no
10102 # when you set need_version to no, make sure it does not cause -set_version
10103 # flags to be left without arguments
10104 need_version
=unknown
10109 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10110 shlibpath_var
=LIBPATH
10112 # AIX 3 has no versioning support, so we append a major version to the name.
10113 soname_spec
='${libname}${release}${shared_ext}$major'
10120 hardcode_into_libs
=yes
10121 if test "$host_cpu" = ia64
; then
10122 # AIX 5 supports IA64
10123 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10124 shlibpath_var
=LD_LIBRARY_PATH
10126 # With GCC up to 2.95.x, collect2 would create an import file
10127 # for dependence libraries. The import file would start with
10128 # the line `#! .'. This would cause the generated library to
10129 # depend on `.', always an invalid library. This was fixed in
10130 # development snapshots of GCC prior to 3.0.
10132 aix4 | aix4.
[01] | aix4.
[01].
*)
10133 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10135 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10138 can_build_shared
=no
10142 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10143 # soname into executable. Probably we can add versioning support to
10144 # collect2, so additional links can be useful in future.
10145 if test "$aix_use_runtimelinking" = yes; then
10146 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10147 # instead of lib<name>.a to let people know that these are not
10148 # typical AIX shared libraries.
10149 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10151 # We preserve .a as extension for shared libraries through AIX4.2
10152 # and later when we are not doing run time linking.
10153 library_names_spec
='${libname}${release}.a $libname.a'
10154 soname_spec
='${libname}${release}${shared_ext}$major'
10156 shlibpath_var
=LIBPATH
10163 # Since July 2007 AmigaOS4 officially supports .so libraries.
10164 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10165 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10168 library_names_spec
='$libname.ixlibrary $libname.a'
10169 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10170 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'
10176 library_names_spec
='${libname}${shared_ext}'
10177 dynamic_linker
="$host_os ld.so"
10178 shlibpath_var
=LIBRARY_PATH
10184 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10185 soname_spec
='${libname}${release}${shared_ext}$major'
10186 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10187 shlibpath_var
=LD_LIBRARY_PATH
10188 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10189 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10190 # the default ld.so.conf also contains /usr/contrib/lib and
10191 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10192 # libtool to hard-code these into programs
10195 cygwin
* | mingw
* | pw32
* | cegcc
*)
10196 version_type
=windows
10201 case $GCC,$host_os in
10202 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10203 library_names_spec
='$libname.dll.a'
10204 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10205 postinstall_cmds
='base_file=`basename \${file}`~
10206 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10207 dldir=$destdir/`dirname \$dlpath`~
10208 test -d \$dldir || mkdir -p \$dldir~
10209 $install_prog $dir/$dlname \$dldir/$dlname~
10210 chmod a+x \$dldir/$dlname~
10211 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10212 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10214 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10215 dlpath=$dir/\$dldll~
10217 shlibpath_overrides_runpath
=yes
10221 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10222 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10224 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10227 # MinGW DLLs use traditional 'lib' prefix
10228 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10231 # pw32 DLLs use 'pw' prefix rather than 'lib'
10232 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10238 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10241 dynamic_linker
='Win32 ld.exe'
10242 # FIXME: first we should search . and the directory the executable is in
10246 darwin
* | rhapsody
*)
10247 dynamic_linker
="$host_os dyld"
10248 version_type
=darwin
10251 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10252 soname_spec
='${libname}${release}${major}$shared_ext'
10253 shlibpath_overrides_runpath
=yes
10254 shlibpath_var
=DYLD_LIBRARY_PATH
10255 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10257 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10258 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10265 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10266 soname_spec
='${libname}${release}${shared_ext}$major'
10267 shlibpath_var
=LD_LIBRARY_PATH
10270 freebsd
* | dragonfly
*)
10271 # DragonFly does not have aout. When/if they implement a new
10272 # versioning mechanism, adjust this.
10273 if test -x /usr
/bin
/objformat
; then
10274 objformat
=`/usr/bin/objformat`
10277 freebsd
[23].
*) objformat
=aout
;;
10278 *) objformat
=elf
;;
10281 version_type
=freebsd-
$objformat
10282 case $version_type in
10284 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10289 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10293 shlibpath_var
=LD_LIBRARY_PATH
10296 shlibpath_overrides_runpath
=yes
10298 freebsd3.
[01]* | freebsdelf3.
[01]*)
10299 shlibpath_overrides_runpath
=yes
10300 hardcode_into_libs
=yes
10302 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10303 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10304 shlibpath_overrides_runpath
=no
10305 hardcode_into_libs
=yes
10307 *) # from 4.6 on, and DragonFly
10308 shlibpath_overrides_runpath
=yes
10309 hardcode_into_libs
=yes
10318 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10319 soname_spec
='${libname}${release}${shared_ext}$major'
10320 shlibpath_var
=LD_LIBRARY_PATH
10321 hardcode_into_libs
=yes
10328 dynamic_linker
="$host_os runtime_loader"
10329 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10330 soname_spec
='${libname}${release}${shared_ext}$major'
10331 shlibpath_var
=LIBRARY_PATH
10332 shlibpath_overrides_runpath
=yes
10333 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10334 hardcode_into_libs
=yes
10337 hpux9
* | hpux10
* | hpux11
*)
10338 # Give a soname corresponding to the major version so that dld.sl refuses to
10339 # link against other versions.
10346 hardcode_into_libs
=yes
10347 dynamic_linker
="$host_os dld.so"
10348 shlibpath_var
=LD_LIBRARY_PATH
10349 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10350 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10351 soname_spec
='${libname}${release}${shared_ext}$major'
10352 if test "X$HPUX_IA64_MODE" = X32
; then
10353 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10355 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10357 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10361 hardcode_into_libs
=yes
10362 dynamic_linker
="$host_os dld.sl"
10363 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10364 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10365 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10366 soname_spec
='${libname}${release}${shared_ext}$major'
10367 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10368 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10372 dynamic_linker
="$host_os dld.sl"
10373 shlibpath_var
=SHLIB_PATH
10374 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10375 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10376 soname_spec
='${libname}${release}${shared_ext}$major'
10379 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10380 postinstall_cmds
='chmod 555 $lib'
10381 # or fails outright, so override atomically:
10382 install_override_mode
=555
10389 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10390 soname_spec
='${libname}${release}${shared_ext}$major'
10391 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10392 shlibpath_var
=LD_LIBRARY_PATH
10393 shlibpath_overrides_runpath
=no
10394 hardcode_into_libs
=yes
10397 irix5
* | irix6
* | nonstopux
*)
10399 nonstopux
*) version_type
=nonstopux
;;
10401 if test "$lt_cv_prog_gnu_ld" = yes; then
10409 soname_spec
='${libname}${release}${shared_ext}$major'
10410 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10412 irix5
* | nonstopux
*)
10413 libsuff
= shlibsuff
=
10416 case $LD in # libtool.m4 will add one of these switches to LD
10417 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10418 libsuff
= shlibsuff
= libmagic
=32-bit;;
10419 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10420 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10421 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10422 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10423 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10427 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10428 shlibpath_overrides_runpath
=no
10429 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10430 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10431 hardcode_into_libs
=yes
10434 # No shared lib support for Linux oldld, aout, or coff.
10435 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10439 # This must be Linux ELF.
10440 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10444 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10445 soname_spec
='${libname}${release}${shared_ext}$major'
10446 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10447 shlibpath_var
=LD_LIBRARY_PATH
10448 shlibpath_overrides_runpath
=no
10450 # Some binutils ld are patched to set DT_RUNPATH
10451 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10452 $as_echo_n "(cached) " >&6
10454 lt_cv_shlibpath_overrides_runpath
=no
10455 save_LDFLAGS
=$LDFLAGS
10456 save_libdir
=$libdir
10457 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10458 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10460 /* end confdefs.h. */
10470 if ac_fn_c_try_link
"$LINENO"; then :
10471 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10472 lt_cv_shlibpath_overrides_runpath
=yes
10475 rm -f core conftest.err conftest.
$ac_objext \
10476 conftest
$ac_exeext conftest.
$ac_ext
10477 LDFLAGS
=$save_LDFLAGS
10478 libdir
=$save_libdir
10482 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10484 # This implies no fast_install, which is unacceptable.
10485 # Some rework will be needed to allow for fast_install
10486 # before this can be enabled.
10487 hardcode_into_libs
=yes
10489 # Append ld.so.conf contents to the search path
10490 if test -f /etc
/ld.so.conf
; then
10491 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' ' '`
10492 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10495 # We used to test for /lib/ld.so.1 and disable shared libraries on
10496 # powerpc, because MkLinux only supported shared libraries with the
10497 # GNU dynamic linker. Since this was broken with cross compilers,
10498 # most powerpc-linux boxes support dynamic linking these days and
10499 # people can always --disable-shared, the test was removed, and we
10500 # assume the GNU/Linux dynamic linker is in use.
10501 dynamic_linker
='GNU/Linux ld.so'
10508 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10509 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10510 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10511 dynamic_linker
='NetBSD (a.out) ld.so'
10513 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10514 soname_spec
='${libname}${release}${shared_ext}$major'
10515 dynamic_linker
='NetBSD ld.elf_so'
10517 shlibpath_var
=LD_LIBRARY_PATH
10518 shlibpath_overrides_runpath
=yes
10519 hardcode_into_libs
=yes
10524 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10525 shlibpath_var
=LD_LIBRARY_PATH
10526 shlibpath_overrides_runpath
=yes
10533 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10534 soname_spec
='${libname}${release}${shared_ext}$major'
10535 shlibpath_var
=LD_LIBRARY_PATH
10536 shlibpath_overrides_runpath
=no
10537 hardcode_into_libs
=yes
10538 dynamic_linker
='ldqnx.so'
10543 sys_lib_dlsearch_path_spec
="/usr/lib"
10545 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10547 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10548 *) need_version
=no
;;
10550 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10551 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10552 shlibpath_var
=LD_LIBRARY_PATH
10553 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10555 openbsd2.
[89] | openbsd2.
[89].
*)
10556 shlibpath_overrides_runpath
=no
10559 shlibpath_overrides_runpath
=yes
10563 shlibpath_overrides_runpath
=yes
10568 libname_spec
='$name'
10571 library_names_spec
='$libname${shared_ext} $libname.a'
10572 dynamic_linker
='OS/2 ld.exe'
10573 shlibpath_var
=LIBPATH
10576 osf3
* | osf4
* | osf5
*)
10580 soname_spec
='${libname}${release}${shared_ext}$major'
10581 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10582 shlibpath_var
=LD_LIBRARY_PATH
10583 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10584 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10595 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10596 soname_spec
='${libname}${release}${shared_ext}$major'
10597 shlibpath_var
=LD_LIBRARY_PATH
10598 shlibpath_overrides_runpath
=yes
10599 hardcode_into_libs
=yes
10600 # ldd complains unless libraries are executable
10601 postinstall_cmds
='chmod +x $lib'
10606 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10607 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10608 shlibpath_var
=LD_LIBRARY_PATH
10609 shlibpath_overrides_runpath
=yes
10610 if test "$with_gnu_ld" = yes; then
10618 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10619 soname_spec
='${libname}${release}${shared_ext}$major'
10620 shlibpath_var
=LD_LIBRARY_PATH
10621 case $host_vendor in
10623 shlibpath_overrides_runpath
=no
10625 runpath_var
=LD_RUN_PATH
10633 shlibpath_overrides_runpath
=no
10634 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10640 if test -d /usr
/nec
;then
10642 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10643 soname_spec
='$libname${shared_ext}.$major'
10644 shlibpath_var
=LD_LIBRARY_PATH
10648 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10649 version_type
=freebsd-elf
10652 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10653 soname_spec
='${libname}${release}${shared_ext}$major'
10654 shlibpath_var
=LD_LIBRARY_PATH
10655 shlibpath_overrides_runpath
=yes
10656 hardcode_into_libs
=yes
10657 if test "$with_gnu_ld" = yes; then
10658 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10660 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10663 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10667 sys_lib_dlsearch_path_spec
='/usr/lib'
10671 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10675 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10676 shlibpath_var
=LD_LIBRARY_PATH
10677 shlibpath_overrides_runpath
=no
10678 hardcode_into_libs
=yes
10683 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10684 soname_spec
='${libname}${release}${shared_ext}$major'
10685 shlibpath_var
=LD_LIBRARY_PATH
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10693 $as_echo "$dynamic_linker" >&6; }
10694 test "$dynamic_linker" = no
&& can_build_shared
=no
10696 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10697 if test "$GCC" = yes; then
10698 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10701 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10702 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10704 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10705 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10800 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10802 if test -n "$hardcode_libdir_flag_spec" ||
10803 test -n "$runpath_var" ||
10804 test "X$hardcode_automatic" = "Xyes" ; then
10806 # We can hardcode non-existent directories.
10807 if test "$hardcode_direct" != no
&&
10808 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10809 # have to relink, otherwise we might link with an installed library
10810 # when we should be linking with a yet-to-be-installed one
10811 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10812 test "$hardcode_minus_L" != no
; then
10813 # Linking always hardcodes the temporary library directory.
10814 hardcode_action
=relink
10816 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10817 hardcode_action
=immediate
10820 # We cannot hardcode anything, or else we can only hardcode existing
10822 hardcode_action
=unsupported
10824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10825 $as_echo "$hardcode_action" >&6; }
10827 if test "$hardcode_action" = relink ||
10828 test "$inherit_rpath" = yes; then
10829 # Fast installation is not supported
10830 enable_fast_install
=no
10831 elif test "$shlibpath_overrides_runpath" = yes ||
10832 test "$enable_shared" = no
; then
10833 # Fast installation is not necessary
10834 enable_fast_install
=needless
10842 if test "x$enable_dlopen" != xyes
; then
10843 enable_dlopen
=unknown
10844 enable_dlopen_self
=unknown
10845 enable_dlopen_self_static
=unknown
10852 lt_cv_dlopen
="load_add_on"
10854 lt_cv_dlopen_self
=yes
10857 mingw
* | pw32
* | cegcc
*)
10858 lt_cv_dlopen
="LoadLibrary"
10863 lt_cv_dlopen
="dlopen"
10868 # if libdl is installed we need to link against it
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10870 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10871 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10872 $as_echo_n "(cached) " >&6
10874 ac_check_lib_save_LIBS
=$LIBS
10876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10877 /* end confdefs.h. */
10879 /* Override any GCC internal prototype to avoid an error.
10880 Use char because int might match the return type of a GCC
10881 builtin and then its argument prototype would still apply. */
10894 if ac_fn_c_try_link
"$LINENO"; then :
10895 ac_cv_lib_dl_dlopen
=yes
10897 ac_cv_lib_dl_dlopen
=no
10899 rm -f core conftest.err conftest.
$ac_objext \
10900 conftest
$ac_exeext conftest.
$ac_ext
10901 LIBS
=$ac_check_lib_save_LIBS
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10904 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10905 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10906 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10909 lt_cv_dlopen
="dyld"
10911 lt_cv_dlopen_self
=yes
10918 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10919 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10920 lt_cv_dlopen
="shl_load"
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10923 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10924 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10925 $as_echo_n "(cached) " >&6
10927 ac_check_lib_save_LIBS
=$LIBS
10929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10930 /* end confdefs.h. */
10932 /* Override any GCC internal prototype to avoid an error.
10933 Use char because int might match the return type of a GCC
10934 builtin and then its argument prototype would still apply. */
10942 return shl_load ();
10947 if ac_fn_c_try_link
"$LINENO"; then :
10948 ac_cv_lib_dld_shl_load
=yes
10950 ac_cv_lib_dld_shl_load
=no
10952 rm -f core conftest.err conftest.
$ac_objext \
10953 conftest
$ac_exeext conftest.
$ac_ext
10954 LIBS
=$ac_check_lib_save_LIBS
10956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10957 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10958 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10959 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10961 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10962 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10963 lt_cv_dlopen
="dlopen"
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10966 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10967 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10968 $as_echo_n "(cached) " >&6
10970 ac_check_lib_save_LIBS
=$LIBS
10972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10973 /* end confdefs.h. */
10975 /* Override any GCC internal prototype to avoid an error.
10976 Use char because int might match the return type of a GCC
10977 builtin and then its argument prototype would still apply. */
10990 if ac_fn_c_try_link
"$LINENO"; then :
10991 ac_cv_lib_dl_dlopen
=yes
10993 ac_cv_lib_dl_dlopen
=no
10995 rm -f core conftest.err conftest.
$ac_objext \
10996 conftest
$ac_exeext conftest.
$ac_ext
10997 LIBS
=$ac_check_lib_save_LIBS
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11000 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11001 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11002 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11005 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11006 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11007 $as_echo_n "(cached) " >&6
11009 ac_check_lib_save_LIBS
=$LIBS
11010 LIBS
="-lsvld $LIBS"
11011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11012 /* end confdefs.h. */
11014 /* Override any GCC internal prototype to avoid an error.
11015 Use char because int might match the return type of a GCC
11016 builtin and then its argument prototype would still apply. */
11029 if ac_fn_c_try_link
"$LINENO"; then :
11030 ac_cv_lib_svld_dlopen
=yes
11032 ac_cv_lib_svld_dlopen
=no
11034 rm -f core conftest.err conftest.
$ac_objext \
11035 conftest
$ac_exeext conftest.
$ac_ext
11036 LIBS
=$ac_check_lib_save_LIBS
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11039 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11040 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11041 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11044 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11045 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11046 $as_echo_n "(cached) " >&6
11048 ac_check_lib_save_LIBS
=$LIBS
11050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11051 /* end confdefs.h. */
11053 /* Override any GCC internal prototype to avoid an error.
11054 Use char because int might match the return type of a GCC
11055 builtin and then its argument prototype would still apply. */
11063 return dld_link ();
11068 if ac_fn_c_try_link
"$LINENO"; then :
11069 ac_cv_lib_dld_dld_link
=yes
11071 ac_cv_lib_dld_dld_link
=no
11073 rm -f core conftest.err conftest.
$ac_objext \
11074 conftest
$ac_exeext conftest.
$ac_ext
11075 LIBS
=$ac_check_lib_save_LIBS
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11078 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11079 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11080 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11101 if test "x$lt_cv_dlopen" != xno
; then
11107 case $lt_cv_dlopen in
11109 save_CPPFLAGS
="$CPPFLAGS"
11110 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11112 save_LDFLAGS
="$LDFLAGS"
11113 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11116 LIBS
="$lt_cv_dlopen_libs $LIBS"
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11119 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11120 if test "${lt_cv_dlopen_self+set}" = set; then :
11121 $as_echo_n "(cached) " >&6
11123 if test "$cross_compiling" = yes; then :
11124 lt_cv_dlopen_self
=cross
11126 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11127 lt_status
=$lt_dlunknown
11128 cat > conftest.
$ac_ext <<_LT_EOF
11129 #line 11129 "configure"
11130 #include "confdefs.h"
11139 # define LT_DLGLOBAL RTLD_GLOBAL
11142 # define LT_DLGLOBAL DL_GLOBAL
11144 # define LT_DLGLOBAL 0
11148 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11149 find out it does not work in some platform. */
11150 #ifndef LT_DLLAZY_OR_NOW
11152 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11155 # define LT_DLLAZY_OR_NOW DL_LAZY
11158 # define LT_DLLAZY_OR_NOW RTLD_NOW
11161 # define LT_DLLAZY_OR_NOW DL_NOW
11163 # define LT_DLLAZY_OR_NOW 0
11170 /* When -fvisbility=hidden is used, assume the code has been annotated
11171 correspondingly for the symbols needed. */
11172 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11173 void fnord () __attribute__((visibility("default")));
11176 void fnord () { int i=42; }
11179 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11180 int status = $lt_dlunknown;
11184 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11187 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11188 else puts (dlerror ());
11190 /* dlclose (self); */
11198 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11199 (eval $ac_link) 2>&5
11201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11202 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11203 (.
/conftest
; exit; ) >&5 2>/dev
/null
11205 case x
$lt_status in
11206 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11207 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11208 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11211 # compilation failed
11212 lt_cv_dlopen_self
=no
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11220 $as_echo "$lt_cv_dlopen_self" >&6; }
11222 if test "x$lt_cv_dlopen_self" = xyes
; then
11223 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11225 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11226 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11227 $as_echo_n "(cached) " >&6
11229 if test "$cross_compiling" = yes; then :
11230 lt_cv_dlopen_self_static
=cross
11232 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11233 lt_status
=$lt_dlunknown
11234 cat > conftest.
$ac_ext <<_LT_EOF
11235 #line 11235 "configure"
11236 #include "confdefs.h"
11245 # define LT_DLGLOBAL RTLD_GLOBAL
11248 # define LT_DLGLOBAL DL_GLOBAL
11250 # define LT_DLGLOBAL 0
11254 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11255 find out it does not work in some platform. */
11256 #ifndef LT_DLLAZY_OR_NOW
11258 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11261 # define LT_DLLAZY_OR_NOW DL_LAZY
11264 # define LT_DLLAZY_OR_NOW RTLD_NOW
11267 # define LT_DLLAZY_OR_NOW DL_NOW
11269 # define LT_DLLAZY_OR_NOW 0
11276 /* When -fvisbility=hidden is used, assume the code has been annotated
11277 correspondingly for the symbols needed. */
11278 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11279 void fnord () __attribute__((visibility("default")));
11282 void fnord () { int i=42; }
11285 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11286 int status = $lt_dlunknown;
11290 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11293 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11294 else puts (dlerror ());
11296 /* dlclose (self); */
11304 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11305 (eval $ac_link) 2>&5
11307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11308 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11309 (.
/conftest
; exit; ) >&5 2>/dev
/null
11311 case x
$lt_status in
11312 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11313 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11314 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11317 # compilation failed
11318 lt_cv_dlopen_self_static
=no
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11326 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11329 CPPFLAGS
="$save_CPPFLAGS"
11330 LDFLAGS
="$save_LDFLAGS"
11335 case $lt_cv_dlopen_self in
11336 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11337 *) enable_dlopen_self
=unknown
;;
11340 case $lt_cv_dlopen_self_static in
11341 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11342 *) enable_dlopen_self_static
=unknown
;;
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11365 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11366 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11367 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11368 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11370 $as_echo "yes" >&6; }
11372 # FIXME - insert some real tests, host_os isn't really good enough
11375 if test -n "$STRIP" ; then
11376 striplib
="$STRIP -x"
11377 old_striplib
="$STRIP -S"
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11379 $as_echo "yes" >&6; }
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11382 $as_echo "no" >&6; }
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11387 $as_echo "no" >&6; }
11403 # Report which library types will actually be built
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11405 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11407 $as_echo "$can_build_shared" >&6; }
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11410 $as_echo_n "checking whether to build shared libraries... " >&6; }
11411 test "$can_build_shared" = "no" && enable_shared
=no
11413 # On AIX, shared libraries and static libraries use the same namespace, and
11414 # are all built from PIC.
11417 test "$enable_shared" = yes && enable_static
=no
11418 if test -n "$RANLIB"; then
11419 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11420 postinstall_cmds
='$RANLIB $lib'
11425 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11426 test "$enable_shared" = yes && enable_static
=no
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11431 $as_echo "$enable_shared" >&6; }
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11434 $as_echo_n "checking whether to build static libraries... " >&6; }
11435 # Make sure either enable_shared or enable_static is yes.
11436 test "$enable_shared" = yes || enable_static
=yes
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11438 $as_echo "$enable_static" >&6; }
11445 ac_cpp
='$CPP $CPPFLAGS'
11446 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11447 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11448 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11464 # Source file extension for Go test sources.
11467 # Object file extension for compiled Go test sources.
11471 # Code to be used in simple compile tests
11472 lt_simple_compile_test_code
="package main; func main() { }"
11474 # Code to be used in simple link tests
11475 lt_simple_link_test_code
='package main; func main() { }'
11477 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11484 # If no C compiler was specified, use CC.
11487 # If no C compiler flags were specified, use CFLAGS.
11488 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11490 # Allow CC to be a program name with arguments.
11494 # save warnings/boilerplate of simple test code
11495 ac_outfile
=conftest.
$ac_objext
11496 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11497 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11498 _lt_compiler_boilerplate
=`cat conftest.err`
11501 ac_outfile
=conftest.
$ac_objext
11502 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11503 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11504 _lt_linker_boilerplate
=`cat conftest.err`
11508 # Allow CC to be a program name with arguments.
11516 for cc_temp
in $compiler""; do
11518 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11519 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11524 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11527 # Go did not exist at the time GCC didn't implicitly link libc in.
11528 archive_cmds_need_lc_GO
=no
11530 old_archive_cmds_GO
=$old_archive_cmds
11533 ## There is no encapsulation within the following macros, do not change
11534 ## the running order or otherwise move them around unless you know exactly
11535 ## what you are doing...
11536 if test -n "$compiler"; then
11538 lt_prog_compiler_no_builtin_flag_GO
=
11540 if test "$GCC" = yes; then
11541 case $cc_basename in
11543 lt_prog_compiler_no_builtin_flag_GO
=' -Xcompiler -fno-builtin' ;;
11545 lt_prog_compiler_no_builtin_flag_GO
=' -fno-builtin' ;;
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11549 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11550 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
11551 $as_echo_n "(cached) " >&6
11553 lt_cv_prog_compiler_rtti_exceptions
=no
11554 ac_outfile
=conftest.
$ac_objext
11555 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11556 lt_compiler_flag
="-fno-rtti -fno-exceptions"
11557 # Insert the option either (1) after the last *FLAGS variable, or
11558 # (2) before a word containing "conftest.", or (3) at the end.
11559 # Note that $ac_compile itself does not contain backslashes and begins
11560 # with a dollar sign (not a hyphen), so the echo should work correctly.
11561 # The option is referenced via a variable to avoid confusing sed.
11562 lt_compile
=`echo "$ac_compile" | $SED \
11563 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11564 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11565 -e 's:$: $lt_compiler_flag:'`
11566 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11567 (eval "$lt_compile" 2>conftest.err
)
11569 cat conftest.err
>&5
11570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11571 if (exit $ac_status) && test -s "$ac_outfile"; then
11572 # The compiler can only warn and ignore the option if not recognized
11573 # So say no if there are warnings other than the usual output.
11574 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11575 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11576 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11577 lt_cv_prog_compiler_rtti_exceptions
=yes
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11584 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11586 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
11587 lt_prog_compiler_no_builtin_flag_GO
="$lt_prog_compiler_no_builtin_flag_GO -fno-rtti -fno-exceptions"
11596 lt_prog_compiler_wl_GO
=
11597 lt_prog_compiler_pic_GO
=
11598 lt_prog_compiler_static_GO
=
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11601 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11603 if test "$GCC" = yes; then
11604 lt_prog_compiler_wl_GO
='-Wl,'
11605 lt_prog_compiler_static_GO
='-static'
11609 # All AIX code is PIC.
11610 if test "$host_cpu" = ia64
; then
11611 # AIX 5 now supports IA64 processor
11612 lt_prog_compiler_static_GO
='-Bstatic'
11614 lt_prog_compiler_pic_GO
='-fPIC'
11620 # see comment about AmigaOS4 .so support
11621 lt_prog_compiler_pic_GO
='-fPIC'
11624 # FIXME: we need at least 68020 code to build shared libraries, but
11625 # adding the `-m68020' flag to GCC prevents building anything better,
11627 lt_prog_compiler_pic_GO
='-m68020 -resident32 -malways-restore-a4'
11632 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11633 # PIC is the default for these OSes.
11636 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11637 # This hack is so that the source file can tell whether it is being
11638 # built for inclusion in a dll (and should export symbols for example).
11639 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11640 # (--disable-auto-import) libraries
11641 lt_prog_compiler_pic_GO
='-DDLL_EXPORT'
11644 darwin
* | rhapsody
*)
11645 # PIC is the default on this platform
11646 # Common symbols not allowed in MH_DYLIB files
11647 lt_prog_compiler_pic_GO
='-fno-common'
11651 # PIC is the default for Haiku.
11652 # The "-static" flag exists, but is broken.
11653 lt_prog_compiler_static_GO
=
11657 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11658 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11659 # sets the default TLS model and affects inlining.
11665 lt_prog_compiler_pic_GO
='-fPIC'
11671 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11672 # Instead, we relocate shared libraries at runtime.
11676 # Just because we use GCC doesn't mean we suddenly get shared libraries
11677 # on systems that don't support them.
11678 lt_prog_compiler_can_build_shared_GO
=no
11683 # QNX uses GNU C++, but need to define -shared option too, otherwise
11684 # it will coredump.
11685 lt_prog_compiler_pic_GO
='-fPIC -shared'
11689 if test -d /usr
/nec
; then
11690 lt_prog_compiler_pic_GO
=-Kconform_pic
11695 lt_prog_compiler_pic_GO
='-fPIC'
11699 case $cc_basename in
11700 nvcc
*) # Cuda Compiler Driver 2.2
11701 lt_prog_compiler_wl_GO
='-Xlinker '
11702 lt_prog_compiler_pic_GO
='-Xcompiler -fPIC'
11706 # PORTME Check for flag to pass linker flags through the system compiler.
11709 lt_prog_compiler_wl_GO
='-Wl,'
11710 if test "$host_cpu" = ia64
; then
11711 # AIX 5 now supports IA64 processor
11712 lt_prog_compiler_static_GO
='-Bstatic'
11714 lt_prog_compiler_static_GO
='-bnso -bI:/lib/syscalls.exp'
11718 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11719 # This hack is so that the source file can tell whether it is being
11720 # built for inclusion in a dll (and should export symbols for example).
11721 lt_prog_compiler_pic_GO
='-DDLL_EXPORT'
11724 hpux9
* | hpux10
* | hpux11
*)
11725 lt_prog_compiler_wl_GO
='-Wl,'
11726 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11727 # not for PA HP-UX.
11733 lt_prog_compiler_pic_GO
='+Z'
11736 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11737 lt_prog_compiler_static_GO
='${wl}-a ${wl}archive'
11740 irix5
* | irix6
* | nonstopux
*)
11741 lt_prog_compiler_wl_GO
='-Wl,'
11742 # PIC (with -KPIC) is the default.
11743 lt_prog_compiler_static_GO
='-non_shared'
11746 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11747 case $cc_basename in
11748 # old Intel for x86_64 which still supported -KPIC.
11750 lt_prog_compiler_wl_GO
='-Wl,'
11751 lt_prog_compiler_pic_GO
='-KPIC'
11752 lt_prog_compiler_static_GO
='-static'
11754 # icc used to be incompatible with GCC.
11755 # ICC 10 doesn't accept -KPIC any more.
11757 lt_prog_compiler_wl_GO
='-Wl,'
11758 lt_prog_compiler_pic_GO
='-fPIC'
11759 lt_prog_compiler_static_GO
='-static'
11761 # Lahey Fortran 8.1.
11763 lt_prog_compiler_wl_GO
='-Wl,'
11764 lt_prog_compiler_pic_GO
='--shared'
11765 lt_prog_compiler_static_GO
='--static'
11767 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11768 # Portland Group compilers (*not* the Pentium gcc compiler,
11769 # which looks to be a dead project)
11770 lt_prog_compiler_wl_GO
='-Wl,'
11771 lt_prog_compiler_pic_GO
='-fpic'
11772 lt_prog_compiler_static_GO
='-Bstatic'
11775 lt_prog_compiler_wl_GO
='-Wl,'
11776 # All Alpha code is PIC.
11777 lt_prog_compiler_static_GO
='-non_shared'
11779 xl
* | bgxl
* | bgf
* | mpixl
*)
11780 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11781 lt_prog_compiler_wl_GO
='-Wl,'
11782 lt_prog_compiler_pic_GO
='-qpic'
11783 lt_prog_compiler_static_GO
='-qstaticlink'
11786 case `$CC -V 2>&1 | sed 5q` in
11787 *Sun\ F
* |
*Sun
*Fortran
*)
11788 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11789 lt_prog_compiler_pic_GO
='-KPIC'
11790 lt_prog_compiler_static_GO
='-Bstatic'
11791 lt_prog_compiler_wl_GO
=''
11795 lt_prog_compiler_pic_GO
='-KPIC'
11796 lt_prog_compiler_static_GO
='-Bstatic'
11797 lt_prog_compiler_wl_GO
='-Wl,'
11805 lt_prog_compiler_pic_GO
='-KPIC'
11806 lt_prog_compiler_static_GO
='-Bstatic'
11810 # QNX uses GNU C++, but need to define -shared option too, otherwise
11811 # it will coredump.
11812 lt_prog_compiler_pic_GO
='-fPIC -shared'
11815 osf3
* | osf4
* | osf5
*)
11816 lt_prog_compiler_wl_GO
='-Wl,'
11817 # All OSF/1 code is PIC.
11818 lt_prog_compiler_static_GO
='-non_shared'
11822 lt_prog_compiler_static_GO
='-non_shared'
11826 lt_prog_compiler_pic_GO
='-KPIC'
11827 lt_prog_compiler_static_GO
='-Bstatic'
11828 case $cc_basename in
11829 f77
* | f90
* | f95
*)
11830 lt_prog_compiler_wl_GO
='-Qoption ld ';;
11832 lt_prog_compiler_wl_GO
='-Wl,';;
11837 lt_prog_compiler_wl_GO
='-Qoption ld '
11838 lt_prog_compiler_pic_GO
='-PIC'
11839 lt_prog_compiler_static_GO
='-Bstatic'
11842 sysv4 | sysv4.2uw2
* | sysv4.3
*)
11843 lt_prog_compiler_wl_GO
='-Wl,'
11844 lt_prog_compiler_pic_GO
='-KPIC'
11845 lt_prog_compiler_static_GO
='-Bstatic'
11849 if test -d /usr
/nec
;then
11850 lt_prog_compiler_pic_GO
='-Kconform_pic'
11851 lt_prog_compiler_static_GO
='-Bstatic'
11855 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11856 lt_prog_compiler_wl_GO
='-Wl,'
11857 lt_prog_compiler_pic_GO
='-KPIC'
11858 lt_prog_compiler_static_GO
='-Bstatic'
11862 lt_prog_compiler_wl_GO
='-Wl,'
11863 lt_prog_compiler_can_build_shared_GO
=no
11867 lt_prog_compiler_pic_GO
='-pic'
11868 lt_prog_compiler_static_GO
='-Bstatic'
11872 lt_prog_compiler_can_build_shared_GO
=no
11878 # For platforms which do not support PIC, -DPIC is meaningless:
11880 lt_prog_compiler_pic_GO
=
11883 lt_prog_compiler_pic_GO
="$lt_prog_compiler_pic_GO"
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_GO" >&5
11887 $as_echo "$lt_prog_compiler_pic_GO" >&6; }
11892 # Check to make sure the PIC flag actually works.
11894 if test -n "$lt_prog_compiler_pic_GO"; then
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GO works" >&5
11896 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GO works... " >&6; }
11897 if test "${lt_cv_prog_compiler_pic_works_GO+set}" = set; then :
11898 $as_echo_n "(cached) " >&6
11900 lt_cv_prog_compiler_pic_works_GO
=no
11901 ac_outfile
=conftest.
$ac_objext
11902 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11903 lt_compiler_flag
="$lt_prog_compiler_pic_GO"
11904 # Insert the option either (1) after the last *FLAGS variable, or
11905 # (2) before a word containing "conftest.", or (3) at the end.
11906 # Note that $ac_compile itself does not contain backslashes and begins
11907 # with a dollar sign (not a hyphen), so the echo should work correctly.
11908 # The option is referenced via a variable to avoid confusing sed.
11909 lt_compile
=`echo "$ac_compile" | $SED \
11910 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11911 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11912 -e 's:$: $lt_compiler_flag:'`
11913 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11914 (eval "$lt_compile" 2>conftest.err
)
11916 cat conftest.err
>&5
11917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11918 if (exit $ac_status) && test -s "$ac_outfile"; then
11919 # The compiler can only warn and ignore the option if not recognized
11920 # So say no if there are warnings other than the usual output.
11921 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11922 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11923 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11924 lt_cv_prog_compiler_pic_works_GO
=yes
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_GO" >&5
11931 $as_echo "$lt_cv_prog_compiler_pic_works_GO" >&6; }
11933 if test x
"$lt_cv_prog_compiler_pic_works_GO" = xyes
; then
11934 case $lt_prog_compiler_pic_GO in
11936 *) lt_prog_compiler_pic_GO
=" $lt_prog_compiler_pic_GO" ;;
11939 lt_prog_compiler_pic_GO
=
11940 lt_prog_compiler_can_build_shared_GO
=no
11948 # Check to make sure the static flag actually works.
11950 wl
=$lt_prog_compiler_wl_GO eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GO\"
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11952 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11953 if test "${lt_cv_prog_compiler_static_works_GO+set}" = set; then :
11954 $as_echo_n "(cached) " >&6
11956 lt_cv_prog_compiler_static_works_GO
=no
11957 save_LDFLAGS
="$LDFLAGS"
11958 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11959 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11960 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11961 # The linker can only warn and ignore the option if not recognized
11962 # So say no if there are warnings
11963 if test -s conftest.err
; then
11964 # Append any errors to the config.log.
11965 cat conftest.err
1>&5
11966 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11967 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11968 if diff conftest.exp conftest.er2
>/dev
/null
; then
11969 lt_cv_prog_compiler_static_works_GO
=yes
11972 lt_cv_prog_compiler_static_works_GO
=yes
11976 LDFLAGS
="$save_LDFLAGS"
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_GO" >&5
11980 $as_echo "$lt_cv_prog_compiler_static_works_GO" >&6; }
11982 if test x
"$lt_cv_prog_compiler_static_works_GO" = xyes
; then
11985 lt_prog_compiler_static_GO
=
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11992 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11993 if test "${lt_cv_prog_compiler_c_o_GO+set}" = set; then :
11994 $as_echo_n "(cached) " >&6
11996 lt_cv_prog_compiler_c_o_GO
=no
11997 $RM -r conftest
2>/dev
/null
12001 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12003 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12004 # Insert the option either (1) after the last *FLAGS variable, or
12005 # (2) before a word containing "conftest.", or (3) at the end.
12006 # Note that $ac_compile itself does not contain backslashes and begins
12007 # with a dollar sign (not a hyphen), so the echo should work correctly.
12008 lt_compile
=`echo "$ac_compile" | $SED \
12009 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12010 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12011 -e 's:$: $lt_compiler_flag:'`
12012 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12013 (eval "$lt_compile" 2>out
/conftest.err
)
12015 cat out
/conftest.err
>&5
12016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12017 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12019 # The compiler can only warn and ignore the option if not recognized
12020 # So say no if there are warnings
12021 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12022 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12023 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12024 lt_cv_prog_compiler_c_o_GO
=yes
12029 # SGI C++ compiler will create directory out/ii_files/ for
12030 # template instantiation
12031 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12032 $RM out
/* && rmdir out
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
12039 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12044 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12045 if test "${lt_cv_prog_compiler_c_o_GO+set}" = set; then :
12046 $as_echo_n "(cached) " >&6
12048 lt_cv_prog_compiler_c_o_GO
=no
12049 $RM -r conftest
2>/dev
/null
12053 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12055 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12056 # Insert the option either (1) after the last *FLAGS variable, or
12057 # (2) before a word containing "conftest.", or (3) at the end.
12058 # Note that $ac_compile itself does not contain backslashes and begins
12059 # with a dollar sign (not a hyphen), so the echo should work correctly.
12060 lt_compile
=`echo "$ac_compile" | $SED \
12061 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12062 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12063 -e 's:$: $lt_compiler_flag:'`
12064 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12065 (eval "$lt_compile" 2>out
/conftest.err
)
12067 cat out
/conftest.err
>&5
12068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12069 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12071 # The compiler can only warn and ignore the option if not recognized
12072 # So say no if there are warnings
12073 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12074 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12075 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12076 lt_cv_prog_compiler_c_o_GO
=yes
12081 # SGI C++ compiler will create directory out/ii_files/ for
12082 # template instantiation
12083 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12084 $RM out
/* && rmdir out
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
12091 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
12096 hard_links
="nottested"
12097 if test "$lt_cv_prog_compiler_c_o_GO" = no
&& test "$need_locks" != no
; then
12098 # do not overwrite the value of need_locks provided by the user
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12100 $as_echo_n "checking if we can lock with hard links... " >&6; }
12103 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12105 ln conftest.a conftest.b
2>&5 || hard_links
=no
12106 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12108 $as_echo "$hard_links" >&6; }
12109 if test "$hard_links" = no
; then
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12111 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12121 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12124 allow_undefined_flag_GO
=
12125 always_export_symbols_GO
=no
12127 archive_expsym_cmds_GO
=
12128 compiler_needs_object_GO
=no
12129 enable_shared_with_static_runtimes_GO
=no
12130 export_dynamic_flag_spec_GO
=
12131 export_symbols_cmds_GO
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12132 hardcode_automatic_GO
=no
12133 hardcode_direct_GO
=no
12134 hardcode_direct_absolute_GO
=no
12135 hardcode_libdir_flag_spec_GO
=
12136 hardcode_libdir_flag_spec_ld_GO
=
12137 hardcode_libdir_separator_GO
=
12138 hardcode_minus_L_GO
=no
12139 hardcode_shlibpath_var_GO
=unsupported
12140 inherit_rpath_GO
=no
12141 link_all_deplibs_GO
=unknown
12143 module_expsym_cmds_GO
=
12144 old_archive_from_new_cmds_GO
=
12145 old_archive_from_expsyms_cmds_GO
=
12146 thread_safe_flag_spec_GO
=
12147 whole_archive_flag_spec_GO
=
12148 # include_expsyms should be a list of space-separated symbols to be *always*
12149 # included in the symbol list
12150 include_expsyms_GO
=
12151 # exclude_expsyms can be an extended regexp of symbols to exclude
12152 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12153 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12154 # as well as any symbol that contains `d'.
12155 exclude_expsyms_GO
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12156 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12157 # platforms (ab)use it in PIC code, but their linkers get confused if
12158 # the symbol is explicitly referenced. Since portable code cannot
12159 # rely on this symbol name, it's probably fine to never include it in
12160 # preloaded symbol tables.
12161 # Exclude shared library initialization/finalization symbols.
12162 extract_expsyms_cmds
=
12165 cygwin
* | mingw
* | pw32
* | cegcc
*)
12166 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12167 # When not using gcc, we currently assume that we are using
12168 # Microsoft Visual C++.
12169 if test "$GCC" != yes; then
12174 # we just hope/assume this is gcc and not c89 (= MSVC++)
12184 # On some targets, GNU ld is compatible enough with the native linker
12185 # that we're better off using the native interface for both.
12186 lt_use_gnu_ld_interface
=no
12187 if test "$with_gnu_ld" = yes; then
12190 # The AIX port of GNU ld has always aspired to compatibility
12191 # with the native linker. However, as the warning in the GNU ld
12192 # block says, versions before 2.19.5* couldn't really create working
12193 # shared libraries, regardless of the interface used.
12194 case `$LD -v 2>&1` in
12195 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
12196 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
12197 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
12199 lt_use_gnu_ld_interface
=yes
12204 lt_use_gnu_ld_interface
=yes
12209 if test "$lt_use_gnu_ld_interface" = yes; then
12210 # If archive_cmds runs LD, not CC, wlarc should be empty
12213 # Set some defaults for GNU ld with shared library support. These
12214 # are reset later if shared libraries are not supported. Putting them
12215 # here allows them to be overridden if necessary.
12216 runpath_var
=LD_RUN_PATH
12217 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12218 export_dynamic_flag_spec_GO
='${wl}--export-dynamic'
12219 # ancient GNU ld didn't support --whole-archive et. al.
12220 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12221 whole_archive_flag_spec_GO
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12223 whole_archive_flag_spec_GO
=
12225 supports_anon_versioning
=no
12226 case `$LD -v 2>&1` in
12227 *GNU\ gold
*) supports_anon_versioning
=yes ;;
12228 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12229 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12230 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12231 *\
2.11.
*) ;; # other 2.11 versions
12232 *) supports_anon_versioning
=yes ;;
12235 # See if GNU ld supports shared libraries.
12238 # On AIX/PPC, the GNU linker is very broken
12239 if test "$host_cpu" != ia64
; then
12243 *** Warning: the GNU linker, at least up to release 2.19, is reported
12244 *** to be unable to reliably create shared libraries on AIX.
12245 *** Therefore, libtool is disabling shared libraries support. If you
12246 *** really care for shared libraries, you may want to install binutils
12247 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12248 *** You will then need to restart the configuration process.
12257 # see comment about AmigaOS4 .so support
12258 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12259 archive_expsym_cmds_GO
=''
12262 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)'
12263 hardcode_libdir_flag_spec_GO
='-L$libdir'
12264 hardcode_minus_L_GO
=yes
12270 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12271 allow_undefined_flag_GO
=unsupported
12272 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12273 # support --undefined. This deserves some investigation. FIXME
12274 archive_cmds_GO
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12280 cygwin
* | mingw
* | pw32
* | cegcc
*)
12281 # _LT_TAGVAR(hardcode_libdir_flag_spec, GO) is actually meaningless,
12282 # as there is no search path for DLLs.
12283 hardcode_libdir_flag_spec_GO
='-L$libdir'
12284 export_dynamic_flag_spec_GO
='${wl}--export-all-symbols'
12285 allow_undefined_flag_GO
=unsupported
12286 always_export_symbols_GO
=no
12287 enable_shared_with_static_runtimes_GO
=yes
12288 export_symbols_cmds_GO
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12290 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12291 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12292 # If the export-symbols file already is a .def file (1st line
12293 # is EXPORTS), use it as is; otherwise, prepend...
12294 archive_expsym_cmds_GO
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12295 cp $export_symbols $output_objdir/$soname.def;
12297 echo EXPORTS > $output_objdir/$soname.def;
12298 cat $export_symbols >> $output_objdir/$soname.def;
12300 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12307 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12308 link_all_deplibs_GO
=yes
12312 hardcode_direct_GO
=no
12313 hardcode_shlibpath_var_GO
=no
12314 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12315 export_dynamic_flag_spec_GO
='${wl}-E'
12316 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12317 # Instead, shared libraries are loaded at an image base (0x10000000 by
12318 # default) and relocated if they conflict, which is a slow very memory
12319 # consuming and fragmenting process. To avoid this, we pick a random,
12320 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12321 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12322 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'
12323 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'
12326 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12328 if test "$host_os" = linux-dietlibc
; then
12329 case $cc_basename in
12330 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12333 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12334 && test "$tmp_diet" = no
12337 tmp_sharedflag
='-shared'
12338 case $cc_basename,$host_cpu in
12339 pgcc
*) # Portland Group C compiler
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'
12343 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12344 # Portland Group f77 and f90 compilers
12345 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'
12346 tmp_addflag
=' $pic_flag -Mnomain' ;;
12347 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12348 tmp_addflag
=' -i_dynamic' ;;
12349 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12350 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12351 ifc
* | ifort
*) # Intel Fortran compiler
12352 tmp_addflag
=' -nofor_main' ;;
12353 lf95
*) # Lahey Fortran 8.1
12354 whole_archive_flag_spec_GO
=
12355 tmp_sharedflag
='--shared' ;;
12356 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12357 tmp_sharedflag
='-qmkshrobj'
12359 nvcc
*) # Cuda Compiler Driver 2.2
12360 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'
12361 compiler_needs_object_GO
=yes
12364 case `$CC -V 2>&1 | sed 5q` in
12365 *Sun\ C
*) # Sun C 5.9
12366 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'
12367 compiler_needs_object_GO
=yes
12368 tmp_sharedflag
='-G' ;;
12369 *Sun\ F
*) # Sun Fortran 8.3
12370 tmp_sharedflag
='-G' ;;
12372 archive_cmds_GO
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12374 if test "x$supports_anon_versioning" = xyes
; then
12375 archive_expsym_cmds_GO
='echo "{ global:" > $output_objdir/$libname.ver~
12376 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12377 echo "local: *; };" >> $output_objdir/$libname.ver~
12378 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12381 case $cc_basename in
12382 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12383 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12384 whole_archive_flag_spec_GO
='--whole-archive$convenience --no-whole-archive'
12385 hardcode_libdir_flag_spec_GO
=
12386 hardcode_libdir_flag_spec_ld_GO
='-rpath $libdir'
12387 archive_cmds_GO
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12388 if test "x$supports_anon_versioning" = xyes
; then
12389 archive_expsym_cmds_GO
='echo "{ global:" > $output_objdir/$libname.ver~
12390 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12391 echo "local: *; };" >> $output_objdir/$libname.ver~
12392 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12402 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12403 archive_cmds_GO
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12406 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12407 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12412 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12416 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12417 *** create shared libraries on Solaris systems. Therefore, libtool
12418 *** is disabling shared libraries support. We urge you to upgrade GNU
12419 *** binutils to release 2.9.1 or newer. Another option is to modify
12420 *** your PATH or compiler configuration so that the native linker is
12421 *** used, and then restart.
12424 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12425 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12426 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12432 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12433 case `$LD -v 2>&1` in
12434 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12438 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12439 *** reliably create shared libraries on SCO systems. Therefore, libtool
12440 *** is disabling shared libraries support. We urge you to upgrade GNU
12441 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12442 *** your PATH or compiler configuration so that the native linker is
12443 *** used, and then restart.
12448 # For security reasons, it is highly recommended that you always
12449 # use absolute paths for naming shared libraries, and exclude the
12450 # DT_RUNPATH tag from executables and libraries. But doing so
12451 # requires that you compile everything twice, which is a pain.
12452 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12453 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12454 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12455 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12464 archive_cmds_GO
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12466 hardcode_direct_GO
=yes
12467 hardcode_shlibpath_var_GO
=no
12471 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12472 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12473 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12480 if test "$ld_shlibs_GO" = no
; then
12482 hardcode_libdir_flag_spec_GO
=
12483 export_dynamic_flag_spec_GO
=
12484 whole_archive_flag_spec_GO
=
12487 # PORTME fill in a description of your system's linker (not GNU ld)
12490 allow_undefined_flag_GO
=unsupported
12491 always_export_symbols_GO
=yes
12492 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'
12493 # Note: this linker hardcodes the directories in LIBPATH if there
12494 # are no directories specified by -L.
12495 hardcode_minus_L_GO
=yes
12496 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12497 # Neither direct hardcoding nor static linking is supported with a
12499 hardcode_direct_GO
=unsupported
12504 if test "$host_cpu" = ia64
; then
12505 # On IA64, the linker does run time linking by default, so we don't
12506 # have to do anything special.
12507 aix_use_runtimelinking
=no
12508 exp_sym_flag
='-Bexport'
12511 # If we're using GNU nm, then we don't want the "-C" option.
12512 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12513 # Also, AIX nm treats weak defined symbols like other global
12514 # defined symbols, whereas GNU nm marks them as "W".
12515 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
12516 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'
12518 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'
12520 aix_use_runtimelinking
=no
12522 # Test if we are trying to use run time linking or normal
12523 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12524 # need to do runtime linking.
12525 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12526 for ld_flag
in $LDFLAGS; do
12527 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
12528 aix_use_runtimelinking
=yes
12535 exp_sym_flag
='-bexport'
12536 no_entry_flag
='-bnoentry'
12539 # When large executables or shared objects are built, AIX ld can
12540 # have problems creating the table of contents. If linking a library
12541 # or program results in "error TOC overflow" add -mminimal-toc to
12542 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12543 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12546 hardcode_direct_GO
=yes
12547 hardcode_direct_absolute_GO
=yes
12548 hardcode_libdir_separator_GO
=':'
12549 link_all_deplibs_GO
=yes
12550 file_list_spec_GO
='${wl}-f,'
12552 if test "$GCC" = yes; then
12553 case $host_os in aix4.
[012]|aix4.
[012].
*)
12554 # We only want to do this on AIX 4.2 and lower, the check
12555 # below for broken collect2 doesn't work under 4.3+
12556 collect2name
=`${CC} -print-prog-name=collect2`
12557 if test -f "$collect2name" &&
12558 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12560 # We have reworked collect2
12563 # We have old collect2
12564 hardcode_direct_GO
=unsupported
12565 # It fails to find uninstalled libraries when the uninstalled
12566 # path is not listed in the libpath. Setting hardcode_minus_L
12567 # to unsupported forces relinking
12568 hardcode_minus_L_GO
=yes
12569 hardcode_libdir_flag_spec_GO
='-L$libdir'
12570 hardcode_libdir_separator_GO
=
12574 shared_flag
='-shared'
12575 if test "$aix_use_runtimelinking" = yes; then
12576 shared_flag
="$shared_flag "'${wl}-G'
12580 if test "$host_cpu" = ia64
; then
12581 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12582 # chokes on -Wl,-G. The following line is correct:
12585 if test "$aix_use_runtimelinking" = yes; then
12586 shared_flag
='${wl}-G'
12588 shared_flag
='${wl}-bM:SRE'
12593 export_dynamic_flag_spec_GO
='${wl}-bexpall'
12594 # It seems that -bexpall does not export symbols beginning with
12595 # underscore (_), so it is better to generate a list of symbols to export.
12596 always_export_symbols_GO
=yes
12597 if test "$aix_use_runtimelinking" = yes; then
12598 # Warning - without using the other runtime loading flags (-brtl),
12599 # -berok will link without error, but may produce a broken library.
12600 allow_undefined_flag_GO
='-berok'
12601 # Determine the default libpath from the value encoded in an
12602 # empty executable.
12603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12604 /* end confdefs.h. */
12614 if ac_fn_c_try_link
"$LINENO"; then :
12616 lt_aix_libpath_sed
='
12617 /Import File Strings/,/^$/ {
12623 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12624 # Check for a 64-bit object if we didn't find anything.
12625 if test -z "$aix_libpath"; then
12626 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12629 rm -f core conftest.err conftest.
$ac_objext \
12630 conftest
$ac_exeext conftest.
$ac_ext
12631 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12633 hardcode_libdir_flag_spec_GO
='${wl}-blibpath:$libdir:'"$aix_libpath"
12634 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"
12636 if test "$host_cpu" = ia64
; then
12637 hardcode_libdir_flag_spec_GO
='${wl}-R $libdir:/usr/lib:/lib'
12638 allow_undefined_flag_GO
="-z nodefs"
12639 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"
12641 # Determine the default libpath from the value encoded in an
12642 # empty executable.
12643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12644 /* end confdefs.h. */
12654 if ac_fn_c_try_link
"$LINENO"; then :
12656 lt_aix_libpath_sed
='
12657 /Import File Strings/,/^$/ {
12663 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12664 # Check for a 64-bit object if we didn't find anything.
12665 if test -z "$aix_libpath"; then
12666 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12669 rm -f core conftest.err conftest.
$ac_objext \
12670 conftest
$ac_exeext conftest.
$ac_ext
12671 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12673 hardcode_libdir_flag_spec_GO
='${wl}-blibpath:$libdir:'"$aix_libpath"
12674 # Warning - without using the other run time loading flags,
12675 # -berok will link without error, but may produce a broken library.
12676 no_undefined_flag_GO
=' ${wl}-bernotok'
12677 allow_undefined_flag_GO
=' ${wl}-berok'
12678 if test "$with_gnu_ld" = yes; then
12679 # We only use this code for GNU lds that support --whole-archive.
12680 whole_archive_flag_spec_GO
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12682 # Exported symbols can be pulled into shared objects from archives
12683 whole_archive_flag_spec_GO
='$convenience'
12685 archive_cmds_need_lc_GO
=yes
12686 # This is similar to how AIX traditionally builds its shared libraries.
12687 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'
12695 # see comment about AmigaOS4 .so support
12696 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12697 archive_expsym_cmds_GO
=''
12700 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)'
12701 hardcode_libdir_flag_spec_GO
='-L$libdir'
12702 hardcode_minus_L_GO
=yes
12708 export_dynamic_flag_spec_GO
=-rdynamic
12711 cygwin
* | mingw
* | pw32
* | cegcc
*)
12712 # When not using gcc, we currently assume that we are using
12713 # Microsoft Visual C++.
12714 # hardcode_libdir_flag_spec is actually meaningless, as there is
12715 # no search path for DLLs.
12716 hardcode_libdir_flag_spec_GO
=' '
12717 allow_undefined_flag_GO
=unsupported
12718 # Tell ltmain to make .lib files, not .a files.
12720 # Tell ltmain to make .dll files, not .so files.
12722 # FIXME: Setting linknames here is a bad hack.
12723 archive_cmds_GO
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12724 # The linker will automatically build a .lib file if we build a DLL.
12725 old_archive_from_new_cmds_GO
='true'
12726 # FIXME: Should let the user specify the lib program.
12727 old_archive_cmds_GO
='lib -OUT:$oldlib$oldobjs$old_deplibs'
12728 fix_srcfile_path_GO
='`cygpath -w "$srcfile"`'
12729 enable_shared_with_static_runtimes_GO
=yes
12732 darwin
* | rhapsody
*)
12735 archive_cmds_need_lc_GO
=no
12736 hardcode_direct_GO
=no
12737 hardcode_automatic_GO
=yes
12738 hardcode_shlibpath_var_GO
=unsupported
12739 if test "$lt_cv_ld_force_load" = "yes"; then
12740 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\"`'
12742 whole_archive_flag_spec_GO
=''
12744 link_all_deplibs_GO
=yes
12745 allow_undefined_flag_GO
="$_lt_dar_allow_undefined"
12746 case $cc_basename in
12747 ifort
*) _lt_dar_can_shared
=yes ;;
12748 *) _lt_dar_can_shared
=$GCC ;;
12750 if test "$_lt_dar_can_shared" = "yes"; then
12751 output_verbose_link_cmd
=func_echo_all
12752 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}"
12753 module_cmds_GO
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12754 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}"
12755 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}"
12764 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12765 hardcode_libdir_flag_spec_GO
='-L$libdir'
12766 hardcode_shlibpath_var_GO
=no
12769 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12770 # support. Future versions do this automatically, but an explicit c++rt0.o
12771 # does not break anything, and helps significantly (at the cost of a little
12774 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12775 hardcode_libdir_flag_spec_GO
='-R$libdir'
12776 hardcode_direct_GO
=yes
12777 hardcode_shlibpath_var_GO
=no
12780 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12782 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12783 hardcode_direct_GO
=yes
12784 hardcode_minus_L_GO
=yes
12785 hardcode_shlibpath_var_GO
=no
12788 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12789 freebsd
* | dragonfly
*)
12790 archive_cmds_GO
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12791 hardcode_libdir_flag_spec_GO
='-R$libdir'
12792 hardcode_direct_GO
=yes
12793 hardcode_shlibpath_var_GO
=no
12797 if test "$GCC" = yes; then
12798 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'
12800 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'
12802 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12803 hardcode_libdir_separator_GO
=:
12804 hardcode_direct_GO
=yes
12806 # hardcode_minus_L: Not really in the search PATH,
12807 # but as the default location of the library.
12808 hardcode_minus_L_GO
=yes
12809 export_dynamic_flag_spec_GO
='${wl}-E'
12813 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12814 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12816 archive_cmds_GO
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12818 if test "$with_gnu_ld" = no
; then
12819 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12820 hardcode_libdir_flag_spec_ld_GO
='+b $libdir'
12821 hardcode_libdir_separator_GO
=:
12822 hardcode_direct_GO
=yes
12823 hardcode_direct_absolute_GO
=yes
12824 export_dynamic_flag_spec_GO
='${wl}-E'
12825 # hardcode_minus_L: Not really in the search PATH,
12826 # but as the default location of the library.
12827 hardcode_minus_L_GO
=yes
12832 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12835 archive_cmds_GO
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12838 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12841 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12847 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12850 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12853 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12857 if test "$with_gnu_ld" = no
; then
12858 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12859 hardcode_libdir_separator_GO
=:
12863 hardcode_direct_GO
=no
12864 hardcode_shlibpath_var_GO
=no
12867 hardcode_direct_GO
=yes
12868 hardcode_direct_absolute_GO
=yes
12869 export_dynamic_flag_spec_GO
='${wl}-E'
12871 # hardcode_minus_L: Not really in the search PATH,
12872 # but as the default location of the library.
12873 hardcode_minus_L_GO
=yes
12879 irix5
* | irix6
* | nonstopux
*)
12880 if test "$GCC" = yes; then
12881 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'
12882 # Try to use the -exported_symbol ld option, if it does not
12883 # work, assume that -exports_file does not work either and
12884 # implicitly export all symbols.
12885 save_LDFLAGS
="$LDFLAGS"
12886 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12888 /* end confdefs.h. */
12891 if ac_fn_c_try_link
"$LINENO"; then :
12892 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'
12895 rm -f core conftest.err conftest.
$ac_objext \
12896 conftest
$ac_exeext conftest.
$ac_ext
12897 LDFLAGS
="$save_LDFLAGS"
12899 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'
12900 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'
12902 archive_cmds_need_lc_GO
='no'
12903 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12904 hardcode_libdir_separator_GO
=:
12905 inherit_rpath_GO
=yes
12906 link_all_deplibs_GO
=yes
12910 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12911 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12913 archive_cmds_GO
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12915 hardcode_libdir_flag_spec_GO
='-R$libdir'
12916 hardcode_direct_GO
=yes
12917 hardcode_shlibpath_var_GO
=no
12921 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12922 hardcode_direct_GO
=yes
12923 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12924 hardcode_libdir_separator_GO
=:
12925 hardcode_shlibpath_var_GO
=no
12932 if test -f /usr
/libexec
/ld.so
; then
12933 hardcode_direct_GO
=yes
12934 hardcode_shlibpath_var_GO
=no
12935 hardcode_direct_absolute_GO
=yes
12936 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12937 archive_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12938 archive_expsym_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12939 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12940 export_dynamic_flag_spec_GO
='${wl}-E'
12943 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
12944 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12945 hardcode_libdir_flag_spec_GO
='-R$libdir'
12948 archive_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12949 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12959 hardcode_libdir_flag_spec_GO
='-L$libdir'
12960 hardcode_minus_L_GO
=yes
12961 allow_undefined_flag_GO
=unsupported
12962 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'
12963 old_archive_from_new_cmds_GO
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12967 if test "$GCC" = yes; then
12968 allow_undefined_flag_GO
=' ${wl}-expect_unresolved ${wl}\*'
12969 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'
12971 allow_undefined_flag_GO
=' -expect_unresolved \*'
12972 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'
12974 archive_cmds_need_lc_GO
='no'
12975 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12976 hardcode_libdir_separator_GO
=:
12979 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
12980 if test "$GCC" = yes; then
12981 allow_undefined_flag_GO
=' ${wl}-expect_unresolved ${wl}\*'
12982 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'
12983 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12985 allow_undefined_flag_GO
=' -expect_unresolved \*'
12986 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'
12987 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~
12988 $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'
12990 # Both c and cxx compiler support -rpath directly
12991 hardcode_libdir_flag_spec_GO
='-rpath $libdir'
12993 archive_cmds_need_lc_GO
='no'
12994 hardcode_libdir_separator_GO
=:
12998 no_undefined_flag_GO
=' -z defs'
12999 if test "$GCC" = yes; then
13001 archive_cmds_GO
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13002 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13003 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13005 case `$CC -V 2>&1` in
13008 archive_cmds_GO
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13009 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13010 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13014 archive_cmds_GO
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13015 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13016 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13020 hardcode_libdir_flag_spec_GO
='-R$libdir'
13021 hardcode_shlibpath_var_GO
=no
13023 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13025 # The compiler driver will combine and reorder linker options,
13026 # but understands `-z linker_flag'. GCC discards it without `$wl',
13027 # but is careful enough not to reorder.
13028 # Supported since Solaris 2.6 (maybe 2.5.1?)
13029 if test "$GCC" = yes; then
13030 whole_archive_flag_spec_GO
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13032 whole_archive_flag_spec_GO
='-z allextract$convenience -z defaultextract'
13036 link_all_deplibs_GO
=yes
13040 if test "x$host_vendor" = xsequent
; then
13041 # Use $CC to link under sequent, because it throws in some extra .o
13042 # files that make .init and .fini sections work.
13043 archive_cmds_GO
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13045 archive_cmds_GO
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13047 hardcode_libdir_flag_spec_GO
='-L$libdir'
13048 hardcode_direct_GO
=yes
13049 hardcode_minus_L_GO
=yes
13050 hardcode_shlibpath_var_GO
=no
13054 case $host_vendor in
13056 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13057 hardcode_direct_GO
=yes # is this really true???
13060 ## LD is ld it makes a PLAMLIB
13061 ## CC just makes a GrossModule.
13062 archive_cmds_GO
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13063 reload_cmds_GO
='$CC -r -o $output$reload_objs'
13064 hardcode_direct_GO
=no
13067 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13068 hardcode_direct_GO
=no
#Motorola manual says yes, but my tests say they lie
13071 runpath_var
='LD_RUN_PATH'
13072 hardcode_shlibpath_var_GO
=no
13076 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13077 hardcode_shlibpath_var_GO
=no
13078 export_dynamic_flag_spec_GO
='-Bexport'
13082 if test -d /usr
/nec
; then
13083 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13084 hardcode_shlibpath_var_GO
=no
13085 runpath_var
=LD_RUN_PATH
13086 hardcode_runpath_var
=yes
13091 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13092 no_undefined_flag_GO
='${wl}-z,text'
13093 archive_cmds_need_lc_GO
=no
13094 hardcode_shlibpath_var_GO
=no
13095 runpath_var
='LD_RUN_PATH'
13097 if test "$GCC" = yes; then
13098 archive_cmds_GO
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13099 archive_expsym_cmds_GO
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13101 archive_cmds_GO
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13102 archive_expsym_cmds_GO
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13106 sysv5
* | sco3.2v5
* | sco5v6
*)
13107 # Note: We can NOT use -z defs as we might desire, because we do not
13108 # link with -lc, and that would cause any symbols used from libc to
13109 # always be unresolved, which means just about no library would
13110 # ever link correctly. If we're not using GNU ld we use -z text
13111 # though, which does catch some bad symbols but isn't as heavy-handed
13113 no_undefined_flag_GO
='${wl}-z,text'
13114 allow_undefined_flag_GO
='${wl}-z,nodefs'
13115 archive_cmds_need_lc_GO
=no
13116 hardcode_shlibpath_var_GO
=no
13117 hardcode_libdir_flag_spec_GO
='${wl}-R,$libdir'
13118 hardcode_libdir_separator_GO
=':'
13119 link_all_deplibs_GO
=yes
13120 export_dynamic_flag_spec_GO
='${wl}-Bexport'
13121 runpath_var
='LD_RUN_PATH'
13123 if test "$GCC" = yes; then
13124 archive_cmds_GO
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13125 archive_expsym_cmds_GO
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13127 archive_cmds_GO
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13128 archive_expsym_cmds_GO
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13133 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13134 hardcode_libdir_flag_spec_GO
='-L$libdir'
13135 hardcode_shlibpath_var_GO
=no
13143 if test x
$host_vendor = xsni
; then
13145 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13146 export_dynamic_flag_spec_GO
='${wl}-Blargedynsym'
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GO" >&5
13153 $as_echo "$ld_shlibs_GO" >&6; }
13154 test "$ld_shlibs_GO" = no
&& can_build_shared
=no
13156 with_gnu_ld_GO
=$with_gnu_ld
13164 # Do we need to explicitly link libc?
13166 case "x$archive_cmds_need_lc_GO" in
13168 # Assume -lc should be added
13169 archive_cmds_need_lc_GO
=yes
13171 if test "$enable_shared" = yes && test "$GCC" = yes; then
13172 case $archive_cmds_GO in
13174 # FIXME: we may have to deal with multi-command sequences.
13177 # Test whether the compiler implicitly links with -lc since on some
13178 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13179 # to ld, don't add -lc before -lgcc.
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13181 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13182 if test "${lt_cv_archive_cmds_need_lc_GO+set}" = set; then :
13183 $as_echo_n "(cached) " >&6
13186 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13188 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13189 (eval $ac_compile) 2>&5
13191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13192 test $ac_status = 0; } 2>conftest.err
; then
13195 libobjs
=conftest.
$ac_objext
13197 wl
=$lt_prog_compiler_wl_GO
13198 pic_flag
=$lt_prog_compiler_pic_GO
13204 lt_save_allow_undefined_flag
=$allow_undefined_flag_GO
13205 allow_undefined_flag_GO
=
13206 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GO 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13207 (eval $archive_cmds_GO 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13210 test $ac_status = 0; }
13212 lt_cv_archive_cmds_need_lc_GO
=no
13214 lt_cv_archive_cmds_need_lc_GO
=yes
13216 allow_undefined_flag_GO
=$lt_save_allow_undefined_flag
13218 cat conftest.err
1>&5
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_GO" >&5
13224 $as_echo "$lt_cv_archive_cmds_need_lc_GO" >&6; }
13225 archive_cmds_need_lc_GO
=$lt_cv_archive_cmds_need_lc_GO
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13296 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13297 hardcode_action_GO
=
13298 if test -n "$hardcode_libdir_flag_spec_GO" ||
13299 test -n "$runpath_var_GO" ||
13300 test "X$hardcode_automatic_GO" = "Xyes" ; then
13302 # We can hardcode non-existent directories.
13303 if test "$hardcode_direct_GO" != no
&&
13304 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13305 # have to relink, otherwise we might link with an installed library
13306 # when we should be linking with a yet-to-be-installed one
13307 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, GO)" != no &&
13308 test "$hardcode_minus_L_GO" != no
; then
13309 # Linking always hardcodes the temporary library directory.
13310 hardcode_action_GO
=relink
13312 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13313 hardcode_action_GO
=immediate
13316 # We cannot hardcode anything, or else we can only hardcode existing
13318 hardcode_action_GO
=unsupported
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GO" >&5
13321 $as_echo "$hardcode_action_GO" >&6; }
13323 if test "$hardcode_action_GO" = relink ||
13324 test "$inherit_rpath_GO" = yes; then
13325 # Fast installation is not supported
13326 enable_fast_install
=no
13327 elif test "$shlibpath_overrides_runpath" = yes ||
13328 test "$enable_shared" = no
; then
13329 # Fast installation is not necessary
13330 enable_fast_install
=needless
13342 ac_cpp
='$CPP $CPPFLAGS'
13343 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13344 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13345 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13354 ac_config_commands
="$ac_config_commands libtool"
13359 # Only expand once:
13365 CC_FOR_BUILD
=${CC_FOR_BUILD:-gcc}
13368 for ac_prog
in gawk mawk nawk
awk
13370 # Extract the first word of "$ac_prog", so it can be a program name with args.
13371 set dummy
$ac_prog; ac_word
=$2
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13373 $as_echo_n "checking for $ac_word... " >&6; }
13374 if test "${ac_cv_prog_AWK+set}" = set; then :
13375 $as_echo_n "(cached) " >&6
13377 if test -n "$AWK"; then
13378 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
13380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13381 for as_dir
in $PATH
13384 test -z "$as_dir" && as_dir
=.
13385 for ac_exec_ext
in '' $ac_executable_extensions; do
13386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13387 ac_cv_prog_AWK
="$ac_prog"
13388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13397 AWK
=$ac_cv_prog_AWK
13398 if test -n "$AWK"; then
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
13400 $as_echo "$AWK" >&6; }
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13403 $as_echo "no" >&6; }
13407 test -n "$AWK" && break
13411 WARN_FLAGS
='-Wall -Wextra -Wwrite-strings -Wcast-qual'
13414 # Check whether --enable-werror was given.
13415 if test "${enable_werror+set}" = set; then :
13416 enableval
=$enable_werror;
13419 if test "x$enable_werror" != "xno"; then
13424 glibgo_toolexecdir
=no
13425 glibgo_toolexeclibdir
=no
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
13428 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
13429 # Check whether --enable-version-specific-runtime-libs was given.
13430 if test "${enable_version_specific_runtime_libs+set}" = set; then :
13431 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
13432 yes) version_specific_libs
=yes ;;
13433 no
) version_specific_libs
=no
;;
13434 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
13437 version_specific_libs
=no
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
13441 $as_echo "$version_specific_libs" >&6; }
13443 # Version-specific runtime libs processing.
13444 if test $version_specific_libs = yes; then
13445 glibgo_toolexecdir
='${libdir}/gcc/${host_alias}'
13446 glibgo_toolexeclibdir
='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
13449 # Calculate glibgo_toolexecdir, glibgo_toolexeclibdir
13450 # Install a library built with a cross compiler in tooldir, not libdir.
13451 if test -n "$with_cross_host" &&
13452 test x
"$with_cross_host" != x
"no"; then
13453 nover_glibgo_toolexecdir
='${exec_prefix}/${host_alias}'
13454 nover_glibgo_toolexeclibdir
='${toolexecdir}/lib'
13456 nover_glibgo_toolexecdir
='${libdir}/gcc/${host_alias}'
13457 nover_glibgo_toolexeclibdir
='${libdir}'
13459 multi_os_directory
=`$GOC -print-multi-os-directory`
13460 case $multi_os_directory in
13461 .
) ;; # Avoid trailing /.
13462 *) nover_glibgo_toolexeclibdir
=${nover_glibgo_toolexeclibdir}/${multi_os_directory} ;;
13465 if test x
"$glibgo_toolexecdir" = x
"no"; then
13466 glibgo_toolexecdir
="${nover_glibgo_toolexecdir}"
13467 glibgo_toolexeclibdir
="${nover_glibgo_toolexeclibdir}"
13474 # See if the user wants to configure without libffi. Some
13475 # architectures don't support it. FIXME: We should set a default
13476 # based on the host.
13478 # Check whether --with-libffi was given.
13479 if test "${with_libffi+set}" = set; then :
13480 withval
=$with_libffi; :
13482 with_libffi
=${with_libffi_default-yes}
13488 if test "$with_libffi" != no
; then
13490 $as_echo "#define USE_LIBFFI 1" >>confdefs.h
13492 LIBFFI
=..
/libffi
/libffi_convenience.la
13493 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
13498 # See if the user wants to configure without libatomic. This is useful if we are
13499 # on an architecture for which libgo does not need an atomic support library and
13500 # libatomic does not support our C compiler.
13502 # Check whether --with-libatomic was given.
13503 if test "${with_libatomic+set}" = set; then :
13504 withval
=$with_libatomic; :
13506 with_libatomic
=${with_libatomic_default-yes}
13511 if test "$with_libatomic" != no
; then
13512 LIBATOMIC
=..
/libatomic
/libatomic_convenience.la
13516 # Used to tell GNU make to include a file without telling automake to
13518 go_include
="-include"
13532 *-*-darwin*) is_darwin
=yes; GOOS
=darwin
;;
13533 *-*-freebsd*) is_freebsd
=yes; GOOS
=freebsd
;;
13534 *-*-irix6*) is_irix
=yes; GOOS
=irix
;;
13535 *-*-linux*) is_linux
=yes; GOOS
=linux
;;
13536 *-*-netbsd*) is_netbsd
=yes; GOOS
=netbsd
;;
13537 *-*-openbsd*) is_openbsd
=yes; GOOS
=openbsd
;;
13538 *-*-dragonfly*) is_dragonfly
=yes; GOOS
=dragonfly
;;
13539 *-*-rtems*) is_rtems
=yes; GOOS
=rtems
;;
13540 *-*-solaris2*) is_solaris
=yes; GOOS
=solaris
;;
13542 if test $is_darwin = yes; then
13543 LIBGO_IS_DARWIN_TRUE
=
13544 LIBGO_IS_DARWIN_FALSE
='#'
13546 LIBGO_IS_DARWIN_TRUE
='#'
13547 LIBGO_IS_DARWIN_FALSE
=
13550 if test $is_freebsd = yes; then
13551 LIBGO_IS_FREEBSD_TRUE
=
13552 LIBGO_IS_FREEBSD_FALSE
='#'
13554 LIBGO_IS_FREEBSD_TRUE
='#'
13555 LIBGO_IS_FREEBSD_FALSE
=
13558 if test $is_irix = yes; then
13559 LIBGO_IS_IRIX_TRUE
=
13560 LIBGO_IS_IRIX_FALSE
='#'
13562 LIBGO_IS_IRIX_TRUE
='#'
13563 LIBGO_IS_IRIX_FALSE
=
13566 if test $is_linux = yes; then
13567 LIBGO_IS_LINUX_TRUE
=
13568 LIBGO_IS_LINUX_FALSE
='#'
13570 LIBGO_IS_LINUX_TRUE
='#'
13571 LIBGO_IS_LINUX_FALSE
=
13574 if test $is_netbsd = yes; then
13575 LIBGO_IS_NETBSD_TRUE
=
13576 LIBGO_IS_NETBSD_FALSE
='#'
13578 LIBGO_IS_NETBSD_TRUE
='#'
13579 LIBGO_IS_NETBSD_FALSE
=
13582 if test $is_openbsd = yes; then
13583 LIBGO_IS_OPENBSD_TRUE
=
13584 LIBGO_IS_OPENBSD_FALSE
='#'
13586 LIBGO_IS_OPENBSD_TRUE
='#'
13587 LIBGO_IS_OPENBSD_FALSE
=
13590 if test $is_dragonfly = yes; then
13591 LIBGO_IS_DRAGONFLY_TRUE
=
13592 LIBGO_IS_DRAGONFLY_FALSE
='#'
13594 LIBGO_IS_DRAGONFLY_TRUE
='#'
13595 LIBGO_IS_DRAGONFLY_FALSE
=
13598 if test $is_rtems = yes; then
13599 LIBGO_IS_RTEMS_TRUE
=
13600 LIBGO_IS_RTEMS_FALSE
='#'
13602 LIBGO_IS_RTEMS_TRUE
='#'
13603 LIBGO_IS_RTEMS_FALSE
=
13606 if test $is_solaris = yes; then
13607 LIBGO_IS_SOLARIS_TRUE
=
13608 LIBGO_IS_SOLARIS_FALSE
='#'
13610 LIBGO_IS_SOLARIS_TRUE
='#'
13611 LIBGO_IS_SOLARIS_FALSE
=
13618 *-*-rtems*) USE_DEJAGNU
=yes ;;
13620 *) USE_DEJAGNU
=yes ;;
13648 arm
*-*-* | strongarm
*-*-* | ep9312
*-*-* | xscale-
*-*)
13652 i
[34567]86-*-* | x86_64-
*-*)
13653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13654 /* end confdefs.h. */
13660 if ac_fn_c_try_compile
"$LINENO"; then :
13665 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13666 if test "$is_386" = "yes"; then
13677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13678 /* end confdefs.h. */
13680 #if _MIPS_SIM != _ABIO32
13684 if ac_fn_c_try_compile
"$LINENO"; then :
13687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13688 /* end confdefs.h. */
13690 #if _MIPS_SIM != _ABIN32
13694 if ac_fn_c_try_compile
"$LINENO"; then :
13697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13698 /* end confdefs.h. */
13700 #if _MIPS_SIM != _ABI64
13704 if ac_fn_c_try_compile
"$LINENO"; then :
13707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13708 /* end confdefs.h. */
13710 #if _MIPS_SIM != _ABIO64
13714 if ac_fn_c_try_compile
"$LINENO"; then :
13717 as_fn_error
"unknown MIPS ABI" "$LINENO" 5
13720 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13722 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13724 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13726 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13727 case "$mips_abi" in
13728 "o32") GOARCH
=mipso32
;;
13729 "n32") GOARCH
=mipsn32
;;
13730 "n64") GOARCH
=mipsn64
;;
13731 "o64") GOARCH
=mipso64
;;
13734 rs6000
*-*-* | powerpc
*-*-*)
13735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13736 /* end confdefs.h. */
13742 if ac_fn_c_try_compile
"$LINENO"; then :
13745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13746 /* end confdefs.h. */
13748 #if defined(_BIG_ENDIAN) || defined(__BIG_ENDIAN__)
13752 if ac_fn_c_try_compile
"$LINENO"; then :
13757 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13759 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13760 if test "$is_ppc" = "yes"; then
13762 elif test "$is_ppc64" = "yes"; then
13769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13770 /* end confdefs.h. */
13772 #if defined(__s390x__)
13776 if ac_fn_c_try_compile
"$LINENO"; then :
13781 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13782 if test "$is_s390" = "yes"; then
13789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13790 /* end confdefs.h. */
13792 #if defined(__sparcv9) || defined(__arch64__)
13796 if ac_fn_c_try_compile
"$LINENO"; then :
13801 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13802 if test "$is_sparc" = "yes"; then
13809 if test $is_386 = yes; then
13811 LIBGO_IS_386_FALSE
='#'
13813 LIBGO_IS_386_TRUE
='#'
13814 LIBGO_IS_386_FALSE
=
13817 if test $is_alpha = yes; then
13818 LIBGO_IS_ALPHA_TRUE
=
13819 LIBGO_IS_ALPHA_FALSE
='#'
13821 LIBGO_IS_ALPHA_TRUE
='#'
13822 LIBGO_IS_ALPHA_FALSE
=
13825 if test $is_arm = yes; then
13827 LIBGO_IS_ARM_FALSE
='#'
13829 LIBGO_IS_ARM_TRUE
='#'
13830 LIBGO_IS_ARM_FALSE
=
13833 if test $is_arm64 = yes; then
13834 LIBGO_IS_ARM64_TRUE
=
13835 LIBGO_IS_ARM64_FALSE
='#'
13837 LIBGO_IS_ARM64_TRUE
='#'
13838 LIBGO_IS_ARM64_FALSE
=
13841 if test $is_m68k = yes; then
13842 LIBGO_IS_M68K_TRUE
=
13843 LIBGO_IS_M68K_FALSE
='#'
13845 LIBGO_IS_M68K_TRUE
='#'
13846 LIBGO_IS_M68K_FALSE
=
13849 if test $mips_abi != unknown
; then
13850 LIBGO_IS_MIPS_TRUE
=
13851 LIBGO_IS_MIPS_FALSE
='#'
13853 LIBGO_IS_MIPS_TRUE
='#'
13854 LIBGO_IS_MIPS_FALSE
=
13857 if test $mips_abi = o32
; then
13858 LIBGO_IS_MIPSO32_TRUE
=
13859 LIBGO_IS_MIPSO32_FALSE
='#'
13861 LIBGO_IS_MIPSO32_TRUE
='#'
13862 LIBGO_IS_MIPSO32_FALSE
=
13865 if test $mips_abi = n32
; then
13866 LIBGO_IS_MIPSN32_TRUE
=
13867 LIBGO_IS_MIPSN32_FALSE
='#'
13869 LIBGO_IS_MIPSN32_TRUE
='#'
13870 LIBGO_IS_MIPSN32_FALSE
=
13873 if test $mips_abi = n64
; then
13874 LIBGO_IS_MIPSN64_TRUE
=
13875 LIBGO_IS_MIPSN64_FALSE
='#'
13877 LIBGO_IS_MIPSN64_TRUE
='#'
13878 LIBGO_IS_MIPSN64_FALSE
=
13881 if test $mips_abi = o64
; then
13882 LIBGO_IS_MIPSO64_TRUE
=
13883 LIBGO_IS_MIPSO64_FALSE
='#'
13885 LIBGO_IS_MIPSO64_TRUE
='#'
13886 LIBGO_IS_MIPSO64_FALSE
=
13889 if test $is_ppc = yes; then
13891 LIBGO_IS_PPC_FALSE
='#'
13893 LIBGO_IS_PPC_TRUE
='#'
13894 LIBGO_IS_PPC_FALSE
=
13897 if test $is_ppc64 = yes; then
13898 LIBGO_IS_PPC64_TRUE
=
13899 LIBGO_IS_PPC64_FALSE
='#'
13901 LIBGO_IS_PPC64_TRUE
='#'
13902 LIBGO_IS_PPC64_FALSE
=
13905 if test $is_ppc64le = yes; then
13906 LIBGO_IS_PPC64LE_TRUE
=
13907 LIBGO_IS_PPC64LE_FALSE
='#'
13909 LIBGO_IS_PPC64LE_TRUE
='#'
13910 LIBGO_IS_PPC64LE_FALSE
=
13913 if test $is_s390 = yes; then
13914 LIBGO_IS_S390_TRUE
=
13915 LIBGO_IS_S390_FALSE
='#'
13917 LIBGO_IS_S390_TRUE
='#'
13918 LIBGO_IS_S390_FALSE
=
13921 if test $is_s390x = yes; then
13922 LIBGO_IS_S390X_TRUE
=
13923 LIBGO_IS_S390X_FALSE
='#'
13925 LIBGO_IS_S390X_TRUE
='#'
13926 LIBGO_IS_S390X_FALSE
=
13929 if test $is_sparc = yes; then
13930 LIBGO_IS_SPARC_TRUE
=
13931 LIBGO_IS_SPARC_FALSE
='#'
13933 LIBGO_IS_SPARC_TRUE
='#'
13934 LIBGO_IS_SPARC_FALSE
=
13937 if test $is_sparc64 = yes; then
13938 LIBGO_IS_SPARC64_TRUE
=
13939 LIBGO_IS_SPARC64_FALSE
='#'
13941 LIBGO_IS_SPARC64_TRUE
='#'
13942 LIBGO_IS_SPARC64_FALSE
=
13945 if test $is_x86_64 = yes; then
13946 LIBGO_IS_X86_64_TRUE
=
13947 LIBGO_IS_X86_64_FALSE
='#'
13949 LIBGO_IS_X86_64_TRUE
='#'
13950 LIBGO_IS_X86_64_FALSE
=
13955 GO_LIBCALL_OS_FILE
=
13956 GO_LIBCALL_OS_ARCH_FILE
=
13957 GO_SYSCALL_OS_FILE
=
13958 GO_SYSCALL_OS_ARCH_FILE
=
13959 if test -f "${srcdir}/go/syscall/libcall_${GOOS}.go"; then
13960 GO_LIBCALL_OS_FILE
="go/syscall/libcall_${GOOS}.go"
13962 if test -f "${srcdir}/go/syscall/libcall_${GOOS}_${GOARCH}.go"; then
13963 GO_LIBCALL_OS_ARCH_FILE
="go/syscall/libcall_${GOOS}_${GOARCH}.go"
13965 if test -f "${srcdir}/go/syscall/syscall_${GOOS}.go"; then
13966 GO_SYSCALL_OS_FILE
="go/syscall/syscall_${GOOS}.go"
13968 if test -f "${srcdir}/go/syscall/syscall_${GOOS}_${GOARCH}.go"; then
13969 GO_SYSCALL_OS_ARCH_FILE
="go/syscall/syscall_${GOOS}_${GOARCH}.go"
13976 OSCFLAGS
="-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
13979 # IRIX 6 needs _XOPEN_SOURCE=500 for the XPG5 version of struct
13980 # msghdr in <sys/socket.h>.
13981 OSCFLAGS
="$OSCFLAGS -D_XOPEN_SOURCE=500"
13983 *-*-solaris2.1
[01])
13984 # Solaris 10+ needs this so struct msghdr gets the msg_control
13985 # etc. fields in <sys/socket.h> (_XPG4_2). _XOPEN_SOURCE=600 as
13986 # above doesn't work with C99.
13987 OSCFLAGS
="$OSCFLAGS -std=gnu99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__"
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fsplit-stack is supported" >&5
13993 $as_echo_n "checking whether -fsplit-stack is supported... " >&6; }
13994 if test "${libgo_cv_c_split_stack_supported+set}" = set; then :
13995 $as_echo_n "(cached) " >&6
13997 CFLAGS_hold
=$CFLAGS
13998 CFLAGS
="$CFLAGS -fsplit-stack"
13999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14000 /* end confdefs.h. */
14003 if ac_fn_c_try_compile
"$LINENO"; then :
14004 libgo_cv_c_split_stack_supported
=yes
14006 libgo_cv_c_split_stack_supported
=no
14008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14009 CFLAGS
=$CFLAGS_hold
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_split_stack_supported" >&5
14012 $as_echo "$libgo_cv_c_split_stack_supported" >&6; }
14013 if test "$libgo_cv_c_split_stack_supported" = yes; then
14014 SPLIT_STACK
=-fsplit-stack
14016 $as_echo "#define USING_SPLIT_STACK 1" >>confdefs.h
14022 if test "$libgo_cv_c_split_stack_supported" = yes; then
14023 USING_SPLIT_STACK_TRUE
=
14024 USING_SPLIT_STACK_FALSE
='#'
14026 USING_SPLIT_STACK_TRUE
='#'
14027 USING_SPLIT_STACK_FALSE
=
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker supports split stack" >&5
14032 $as_echo_n "checking whether linker supports split stack... " >&6; }
14033 if test "${libgo_cv_c_linker_supports_split_stack+set}" = set; then :
14034 $as_echo_n "(cached) " >&6
14036 libgo_cv_c_linker_supports_split_stack
=no
14037 if $GOC -Wl,--help 2>/dev
/null |
grep split-stack-adjust-size
>/dev
/null
2>&1; then
14038 libgo_cv_c_linker_supports_split_stack
=yes
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_linker_supports_split_stack" >&5
14042 $as_echo "$libgo_cv_c_linker_supports_split_stack" >&6; }
14043 if test "$libgo_cv_c_linker_supports_split_stack" = yes; then
14045 $as_echo "#define LINKER_SUPPORTS_SPLIT_STACK 1" >>confdefs.h
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler is llgo" >&5
14050 $as_echo_n "checking whether compiler is llgo... " >&6; }
14051 if test "${libgo_cv_c_goc_is_llgo+set}" = set; then :
14052 $as_echo_n "(cached) " >&6
14054 libgo_cv_c_goc_is_llgo
=no
14055 if $GOC -dumpversion 2>/dev
/null |
grep llgo
>/dev
/null
2>&1; then
14056 libgo_cv_c_goc_is_llgo
=yes
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_goc_is_llgo" >&5
14060 $as_echo "$libgo_cv_c_goc_is_llgo" >&6; }
14061 if test "$libgo_cv_c_goc_is_llgo" = yes; then
14063 GOC_IS_LLGO_FALSE
='#'
14065 GOC_IS_LLGO_TRUE
='#'
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
14072 $as_echo_n "checking for sqrt in -lm... " >&6; }
14073 if test "${ac_cv_lib_m_sqrt+set}" = set; then :
14074 $as_echo_n "(cached) " >&6
14076 ac_check_lib_save_LIBS
=$LIBS
14078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14079 /* end confdefs.h. */
14081 /* Override any GCC internal prototype to avoid an error.
14082 Use char because int might match the return type of a GCC
14083 builtin and then its argument prototype would still apply. */
14096 if ac_fn_c_try_link
"$LINENO"; then :
14097 ac_cv_lib_m_sqrt
=yes
14099 ac_cv_lib_m_sqrt
=no
14101 rm -f core conftest.err conftest.
$ac_objext \
14102 conftest
$ac_exeext conftest.
$ac_ext
14103 LIBS
=$ac_check_lib_save_LIBS
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
14106 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
14107 if test "x$ac_cv_lib_m_sqrt" = x
""yes; then :
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
14114 $as_echo_n "checking for socket libraries... " >&6; }
14115 if test "${libgo_cv_lib_sockets+set}" = set; then :
14116 $as_echo_n "(cached) " >&6
14118 libgo_cv_lib_sockets
=
14119 libgo_check_both
=no
14120 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14121 if test "x$ac_cv_func_connect" = x
""yes; then :
14122 libgo_check_socket
=no
14124 libgo_check_socket
=yes
14127 if test "$libgo_check_socket" = "yes"; then
14128 unset ac_cv_func_connect
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
14130 $as_echo_n "checking for main in -lsocket... " >&6; }
14131 if test "${ac_cv_lib_socket_main+set}" = set; then :
14132 $as_echo_n "(cached) " >&6
14134 ac_check_lib_save_LIBS
=$LIBS
14135 LIBS
="-lsocket $LIBS"
14136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14137 /* end confdefs.h. */
14148 if ac_fn_c_try_link
"$LINENO"; then :
14149 ac_cv_lib_socket_main
=yes
14151 ac_cv_lib_socket_main
=no
14153 rm -f core conftest.err conftest.
$ac_objext \
14154 conftest
$ac_exeext conftest.
$ac_ext
14155 LIBS
=$ac_check_lib_save_LIBS
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
14158 $as_echo "$ac_cv_lib_socket_main" >&6; }
14159 if test "x$ac_cv_lib_socket_main" = x
""yes; then :
14160 libgo_cv_lib_sockets
="-lsocket"
14162 libgo_check_both
=yes
14166 if test "$libgo_check_both" = "yes"; then
14167 libgo_old_libs
=$LIBS
14168 LIBS
="$LIBS -lsocket -lnsl"
14169 unset ac_cv_func_accept
14170 ac_fn_c_check_func
"$LINENO" "accept" "ac_cv_func_accept"
14171 if test "x$ac_cv_func_accept" = x
""yes; then :
14173 libgo_cv_lib_sockets
="-lsocket -lnsl"
14176 unset ac_cv_func_accept
14177 LIBS
=$libgo_old_libs
14179 unset ac_cv_func_gethostbyname
14180 libgo_old_libs
="$LIBS"
14181 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14182 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
14186 $as_echo_n "checking for main in -lnsl... " >&6; }
14187 if test "${ac_cv_lib_nsl_main+set}" = set; then :
14188 $as_echo_n "(cached) " >&6
14190 ac_check_lib_save_LIBS
=$LIBS
14192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14193 /* end confdefs.h. */
14204 if ac_fn_c_try_link
"$LINENO"; then :
14205 ac_cv_lib_nsl_main
=yes
14207 ac_cv_lib_nsl_main
=no
14209 rm -f core conftest.err conftest.
$ac_objext \
14210 conftest
$ac_exeext conftest.
$ac_ext
14211 LIBS
=$ac_check_lib_save_LIBS
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
14214 $as_echo "$ac_cv_lib_nsl_main" >&6; }
14215 if test "x$ac_cv_lib_nsl_main" = x
""yes; then :
14216 libgo_cv_lib_sockets
="$libgo_cv_lib_sockets -lnsl"
14221 unset ac_cv_func_gethostbyname
14222 LIBS
=$libgo_old_libs
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_sockets" >&5
14226 $as_echo "$libgo_cv_lib_sockets" >&6; }
14227 NET_LIBS
="$libgo_cv_lib_sockets"
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -pthread is supported" >&5
14231 $as_echo_n "checking whether -pthread is supported... " >&6; }
14232 if test "${libgo_cv_lib_pthread+set}" = set; then :
14233 $as_echo_n "(cached) " >&6
14235 CFLAGS_hold
=$CFLAGS
14236 CFLAGS
="$CFLAGS -pthread"
14237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14238 /* end confdefs.h. */
14241 if ac_fn_c_try_compile
"$LINENO"; then :
14242 libgo_cv_lib_pthread
=yes
14244 libgo_cv_lib_pthread
=no
14246 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14247 CFLAGS
=$CFLAGS_hold
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_pthread" >&5
14250 $as_echo "$libgo_cv_lib_pthread" >&6; }
14252 if test "$libgo_cv_lib_pthread" = yes; then
14253 PTHREAD_CFLAGS
=-pthread
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
14259 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
14260 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
14261 $as_echo_n "(cached) " >&6
14263 ac_check_lib_save_LIBS
=$LIBS
14264 LIBS
="-lpthread $LIBS"
14265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14266 /* end confdefs.h. */
14268 /* Override any GCC internal prototype to avoid an error.
14269 Use char because int might match the return type of a GCC
14270 builtin and then its argument prototype would still apply. */
14274 char pthread_create ();
14278 return pthread_create ();
14283 if ac_fn_c_try_link
"$LINENO"; then :
14284 ac_cv_lib_pthread_pthread_create
=yes
14286 ac_cv_lib_pthread_pthread_create
=no
14288 rm -f core conftest.err conftest.
$ac_objext \
14289 conftest
$ac_exeext conftest.
$ac_ext
14290 LIBS
=$ac_check_lib_save_LIBS
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
14293 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
14294 if test "x$ac_cv_lib_pthread_pthread_create" = x
""yes; then :
14295 PTHREAD_LIBS
=-lpthread
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
14301 $as_echo_n "checking for library containing sched_yield... " >&6; }
14302 if test "${ac_cv_search_sched_yield+set}" = set; then :
14303 $as_echo_n "(cached) " >&6
14305 ac_func_search_save_LIBS
=$LIBS
14306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14307 /* end confdefs.h. */
14309 /* Override any GCC internal prototype to avoid an error.
14310 Use char because int might match the return type of a GCC
14311 builtin and then its argument prototype would still apply. */
14315 char sched_yield ();
14319 return sched_yield ();
14324 for ac_lib
in '' rt
; do
14325 if test -z "$ac_lib"; then
14326 ac_res
="none required"
14329 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14331 if ac_fn_c_try_link
"$LINENO"; then :
14332 ac_cv_search_sched_yield
=$ac_res
14334 rm -f core conftest.err conftest.
$ac_objext \
14336 if test "${ac_cv_search_sched_yield+set}" = set; then :
14340 if test "${ac_cv_search_sched_yield+set}" = set; then :
14343 ac_cv_search_sched_yield
=no
14345 rm conftest.
$ac_ext
14346 LIBS
=$ac_func_search_save_LIBS
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
14349 $as_echo "$ac_cv_search_sched_yield" >&6; }
14350 ac_res
=$ac_cv_search_sched_yield
14351 if test "$ac_res" != no
; then :
14352 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
14357 $as_echo_n "checking for library containing nanosleep... " >&6; }
14358 if test "${ac_cv_search_nanosleep+set}" = set; then :
14359 $as_echo_n "(cached) " >&6
14361 ac_func_search_save_LIBS
=$LIBS
14362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14363 /* end confdefs.h. */
14365 /* Override any GCC internal prototype to avoid an error.
14366 Use char because int might match the return type of a GCC
14367 builtin and then its argument prototype would still apply. */
14375 return nanosleep ();
14380 for ac_lib
in '' rt
; do
14381 if test -z "$ac_lib"; then
14382 ac_res
="none required"
14385 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14387 if ac_fn_c_try_link
"$LINENO"; then :
14388 ac_cv_search_nanosleep
=$ac_res
14390 rm -f core conftest.err conftest.
$ac_objext \
14392 if test "${ac_cv_search_nanosleep+set}" = set; then :
14396 if test "${ac_cv_search_nanosleep+set}" = set; then :
14399 ac_cv_search_nanosleep
=no
14401 rm conftest.
$ac_ext
14402 LIBS
=$ac_func_search_save_LIBS
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
14405 $as_echo "$ac_cv_search_nanosleep" >&6; }
14406 ac_res
=$ac_cv_search_nanosleep
14407 if test "$ac_res" != no
; then :
14408 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
14414 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
14415 if test "${ac_cv_c_bigendian+set}" = set; then :
14416 $as_echo_n "(cached) " >&6
14418 ac_cv_c_bigendian
=unknown
14419 # See if we're dealing with a universal compiler.
14420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14421 /* end confdefs.h. */
14422 #ifndef __APPLE_CC__
14423 not a universal capable compiler
14428 if ac_fn_c_try_compile
"$LINENO"; then :
14430 # Check for potential -arch flags. It is not universal unless
14431 # there are at least two -arch flags with different values.
14434 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
14435 if test -n "$ac_prev"; then
14437 i?
86 | x86_64 | ppc | ppc64
)
14438 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
14441 ac_cv_c_bigendian
=universal
14447 elif test "x$ac_word" = "x-arch"; then
14452 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14453 if test $ac_cv_c_bigendian = unknown
; then
14454 # See if sys/param.h defines the BYTE_ORDER macro.
14455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14456 /* end confdefs.h. */
14457 #include <sys/types.h>
14458 #include <sys/param.h>
14463 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
14464 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
14466 bogus endian macros
14473 if ac_fn_c_try_compile
"$LINENO"; then :
14474 # It does; now see whether it defined to BIG_ENDIAN or not.
14475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14476 /* end confdefs.h. */
14477 #include <sys/types.h>
14478 #include <sys/param.h>
14483 #if BYTE_ORDER != BIG_ENDIAN
14491 if ac_fn_c_try_compile
"$LINENO"; then :
14492 ac_cv_c_bigendian
=yes
14494 ac_cv_c_bigendian
=no
14496 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14498 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14500 if test $ac_cv_c_bigendian = unknown
; then
14501 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
14502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14503 /* end confdefs.h. */
14504 #include <limits.h>
14509 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
14510 bogus endian macros
14517 if ac_fn_c_try_compile
"$LINENO"; then :
14518 # It does; now see whether it defined to _BIG_ENDIAN or not.
14519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14520 /* end confdefs.h. */
14521 #include <limits.h>
14526 #ifndef _BIG_ENDIAN
14534 if ac_fn_c_try_compile
"$LINENO"; then :
14535 ac_cv_c_bigendian
=yes
14537 ac_cv_c_bigendian
=no
14539 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14541 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14543 if test $ac_cv_c_bigendian = unknown
; then
14544 # Compile a test program.
14545 if test "$cross_compiling" = yes; then :
14546 # Try to guess by grepping values from an object file.
14547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14548 /* end confdefs.h. */
14549 short int ascii_mm[] =
14550 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14551 short int ascii_ii[] =
14552 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14553 int use_ascii (int i) {
14554 return ascii_mm[i] + ascii_ii[i];
14556 short int ebcdic_ii[] =
14557 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14558 short int ebcdic_mm[] =
14559 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14560 int use_ebcdic (int i) {
14561 return ebcdic_mm[i] + ebcdic_ii[i];
14568 return use_ascii (foo) == use_ebcdic (foo);
14573 if ac_fn_c_try_compile
"$LINENO"; then :
14574 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
14575 ac_cv_c_bigendian
=yes
14577 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
14578 if test "$ac_cv_c_bigendian" = unknown
; then
14579 ac_cv_c_bigendian
=no
14581 # finding both strings is unlikely to happen, but who knows?
14582 ac_cv_c_bigendian
=unknown
14586 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14589 /* end confdefs.h. */
14590 $ac_includes_default
14595 /* Are we little or big endian? From Harbison&Steele. */
14599 char c[sizeof (long int)];
14602 return u.c[sizeof (long int) - 1] == 1;
14608 if ac_fn_c_try_run
"$LINENO"; then :
14609 ac_cv_c_bigendian
=no
14611 ac_cv_c_bigendian
=yes
14613 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14614 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
14620 $as_echo "$ac_cv_c_bigendian" >&6; }
14621 case $ac_cv_c_bigendian in #(
14623 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
14629 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
14633 as_fn_error
"unknown endianness
14634 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
14640 # Check whether --with-system-libunwind was given.
14641 if test "${with_system_libunwind+set}" = set; then :
14642 withval
=$with_system_libunwind;
14645 # If system-libunwind was not specifically set, pick a default setting.
14646 if test x
$with_system_libunwind = x
; then
14648 ia64-
*-hpux*) with_system_libunwind
=yes ;;
14649 *) with_system_libunwind
=no
;;
14652 # Based on system-libunwind and target, do we have ipinfo?
14653 if test x
$with_system_libunwind = xyes
; then
14655 ia64-
*-*) have_unwind_getipinfo
=no
;;
14656 *) have_unwind_getipinfo
=yes ;;
14659 # Darwin before version 9 does not have _Unwind_GetIPInfo.
14662 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
14663 *) have_unwind_getipinfo
=yes ;;
14668 if test x
$have_unwind_getipinfo = xyes
; then
14670 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
14675 # Check whether --enable-sjlj-exceptions was given.
14676 if test "${enable_sjlj_exceptions+set}" = set; then :
14677 enableval
=$enable_sjlj_exceptions; case "$enableval" in
14679 *) as_fn_error
"unknown argument to --enable-sjlj-exceptions" "$LINENO" 5 ;;
14682 enable_sjlj_exceptions
=auto
14686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use setjmp/longjmp exceptions" >&5
14687 $as_echo_n "checking whether to use setjmp/longjmp exceptions... " >&6; }
14688 if test "${libgo_cv_lib_sjlj_exceptions+set}" = set; then :
14689 $as_echo_n "(cached) " >&6
14691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14692 /* end confdefs.h. */
14695 void clean (int *);
14698 int i __attribute__ ((cleanup (clean)));
14703 CFLAGS_hold
=$CFLAGS
14704 CFLAGS
="--save-temps -fexceptions"
14705 libgo_cv_lib_sjlj_exceptions
=unknown
14706 if ac_fn_c_try_compile
; then :
14707 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1; then
14708 libgo_cv_lib_sjlj_exceptions
=yes
14709 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1; then
14710 libgo_cv_lib_sjlj_exceptions
=no
14713 CFLAGS
=$CFLAGS_hold
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_sjlj_exceptions" >&5
14718 $as_echo "$libgo_cv_lib_sjlj_exceptions" >&6; }
14720 if test "$enable_sjlj_exceptions" = "auto"; then
14721 enable_sjlj_exceptions
=$libgo_cv_lib_sjlj_exceptions
14724 case $enable_sjlj_exceptions in
14727 $as_echo "#define LIBGO_SJLJ_EXCEPTIONS 1" >>confdefs.h
14733 as_fn_error
"unable to detect exception model" "$LINENO" 5
14737 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
14739 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14740 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14741 eval as_val
=\$
$as_ac_Header
14742 if test "x$as_val" = x
""yes; then :
14743 cat >>confdefs.h
<<_ACEOF
14744 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14752 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
14754 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14755 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_SOCKET_H
14756 #include <sys/socket.h>
14760 eval as_val
=\$
$as_ac_Header
14761 if test "x$as_val" = x
""yes; then :
14762 cat >>confdefs.h
<<_ACEOF
14763 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <ustat.h> can be used" >&5
14772 $as_echo_n "checking whether <ustat.h> can be used... " >&6; }
14773 if test "${libgo_cv_c_ustat_h+set}" = set; then :
14774 $as_echo_n "(cached) " >&6
14776 CFLAGS_hold
=$CFLAGS
14777 CFLAGS
="$CFLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE $OSCFLAGS"
14778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14779 /* end confdefs.h. */
14781 #include <sys/types.h>
14782 #ifdef HAVE_LINUX_FILTER_H
14783 #include <linux/filter.h>
14788 if ac_fn_c_try_compile
"$LINENO"; then :
14789 libgo_cv_c_ustat_h
=yes
14791 libgo_cv_c_ustat_h
=no
14793 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14794 CFLAGS
=$CFLAGS_hold
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_ustat_h" >&5
14797 $as_echo "$libgo_cv_c_ustat_h" >&6; }
14798 if test $libgo_cv_c_ustat_h = yes; then
14800 $as_echo "#define HAVE_USTAT_H 1" >>confdefs.h
14804 if test "$ac_cv_header_sys_mman_h" = yes; then
14805 HAVE_SYS_MMAN_H_TRUE
=
14806 HAVE_SYS_MMAN_H_FALSE
='#'
14808 HAVE_SYS_MMAN_H_TRUE
='#'
14809 HAVE_SYS_MMAN_H_FALSE
=
14813 for ac_func
in strerror_r strsignal wait4 mincore setenv unsetenv dl_iterate_phdr
14815 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14816 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14817 eval as_val
=\$
$as_ac_var
14818 if test "x$as_val" = x
""yes; then :
14819 cat >>confdefs.h
<<_ACEOF
14820 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14826 if test "$ac_cv_func_strerror_r" = yes; then
14827 HAVE_STRERROR_R_TRUE
=
14828 HAVE_STRERROR_R_FALSE
='#'
14830 HAVE_STRERROR_R_TRUE
='#'
14831 HAVE_STRERROR_R_FALSE
=
14834 if test "$ac_cv_func_wait4" = yes; then
14836 HAVE_WAIT4_FALSE
='#'
14838 HAVE_WAIT4_TRUE
='#'
14843 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
14845 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14846 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14847 eval as_val
=\$
$as_ac_var
14848 if test "x$as_val" = x
""yes; then :
14849 cat >>confdefs.h
<<_ACEOF
14850 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14856 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14857 if test "x$ac_cv_type_off_t" = x
""yes; then :
14861 cat >>confdefs.h
<<_ACEOF
14862 #define off_t long int
14867 ac_fn_c_check_type
"$LINENO" "loff_t" "ac_cv_type_loff_t" "$ac_includes_default"
14868 if test "x$ac_cv_type_loff_t" = x
""yes; then :
14870 cat >>confdefs.h
<<_ACEOF
14871 #define HAVE_LOFF_T 1
14880 for ac_func
in cosl expl logl sinl tanl acosl asinl atanl atan2l expm1l ldexpl log10l log1pl
14882 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14883 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14884 eval as_val
=\$
$as_ac_var
14885 if test "x$as_val" = x
""yes; then :
14886 cat >>confdefs.h
<<_ACEOF
14887 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14895 CFLAGS_hold
="$CFLAGS"
14896 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
14898 LIBS
="$LIBS $PTHREAD_LIBS"
14899 for ac_func
in sem_timedwait
14901 ac_fn_c_check_func
"$LINENO" "sem_timedwait" "ac_cv_func_sem_timedwait"
14902 if test "x$ac_cv_func_sem_timedwait" = x
""yes; then :
14903 cat >>confdefs.h
<<_ACEOF
14904 #define HAVE_SEM_TIMEDWAIT 1
14910 CFLAGS
="$CFLAGS_hold"
14914 LIBS
="$LIBS $MATH_LIBS"
14915 for ac_func
in matherr
14917 ac_fn_c_check_func
"$LINENO" "matherr" "ac_cv_func_matherr"
14918 if test "x$ac_cv_func_matherr" = x
""yes; then :
14919 cat >>confdefs.h
<<_ACEOF
14920 #define HAVE_MATHERR 1
14928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_bool_compare_and_swap_4" >&5
14929 $as_echo_n "checking for __sync_bool_compare_and_swap_4... " >&6; }
14930 if test "${libgo_cv_func___sync_bool_compare_and_swap_4+set}" = set; then :
14931 $as_echo_n "(cached) " >&6
14933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14934 /* end confdefs.h. */
14936 typedef unsigned int uint32 __attribute__ ((mode (SI)));
14938 int main() { return __sync_bool_compare_and_swap (&i, 0, 1); }
14941 if ac_fn_c_try_link
"$LINENO"; then :
14942 libgo_cv_func___sync_bool_compare_and_swap_4
=yes
14944 libgo_cv_func___sync_bool_compare_and_swap_4
=no
14946 rm -f core conftest.err conftest.
$ac_objext \
14947 conftest
$ac_exeext conftest.
$ac_ext
14949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_bool_compare_and_swap_4" >&5
14950 $as_echo "$libgo_cv_func___sync_bool_compare_and_swap_4" >&6; }
14951 if test "$libgo_cv_func___sync_bool_compare_and_swap_4" = "yes"; then
14953 $as_echo "#define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_4 1" >>confdefs.h
14957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_bool_compare_and_swap_8" >&5
14958 $as_echo_n "checking for __sync_bool_compare_and_swap_8... " >&6; }
14959 if test "${libgo_cv_func___sync_bool_compare_and_swap_8+set}" = set; then :
14960 $as_echo_n "(cached) " >&6
14962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14963 /* end confdefs.h. */
14965 typedef unsigned int uint64 __attribute__ ((mode (DI)));
14967 int main() { return __sync_bool_compare_and_swap (&i, 0, 1); }
14970 if ac_fn_c_try_link
"$LINENO"; then :
14971 libgo_cv_func___sync_bool_compare_and_swap_8
=yes
14973 libgo_cv_func___sync_bool_compare_and_swap_8
=no
14975 rm -f core conftest.err conftest.
$ac_objext \
14976 conftest
$ac_exeext conftest.
$ac_ext
14978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_bool_compare_and_swap_8" >&5
14979 $as_echo "$libgo_cv_func___sync_bool_compare_and_swap_8" >&6; }
14980 if test "$libgo_cv_func___sync_bool_compare_and_swap_8" = "yes"; then
14982 $as_echo "#define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_8 1" >>confdefs.h
14986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add_4" >&5
14987 $as_echo_n "checking for __sync_fetch_and_add_4... " >&6; }
14988 if test "${libgo_cv_func___sync_fetch_and_add_4+set}" = set; then :
14989 $as_echo_n "(cached) " >&6
14991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14992 /* end confdefs.h. */
14994 typedef unsigned int uint32 __attribute__ ((mode (SI)));
14996 int main() { return __sync_fetch_and_add (&i, 1); }
14999 if ac_fn_c_try_link
"$LINENO"; then :
15000 libgo_cv_func___sync_fetch_and_add_4
=yes
15002 libgo_cv_func___sync_fetch_and_add_4
=no
15004 rm -f core conftest.err conftest.
$ac_objext \
15005 conftest
$ac_exeext conftest.
$ac_ext
15007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_fetch_and_add_4" >&5
15008 $as_echo "$libgo_cv_func___sync_fetch_and_add_4" >&6; }
15009 if test "$libgo_cv_func___sync_fetch_and_add_4" = "yes"; then
15011 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD_4 1" >>confdefs.h
15015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_add_and_fetch_8" >&5
15016 $as_echo_n "checking for __sync_add_and_fetch_8... " >&6; }
15017 if test "${libgo_cv_func___sync_add_and_fetch_8+set}" = set; then :
15018 $as_echo_n "(cached) " >&6
15020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15021 /* end confdefs.h. */
15023 typedef unsigned int uint64 __attribute__ ((mode (DI)));
15025 int main() { return __sync_add_and_fetch (&i, 1); }
15028 if ac_fn_c_try_link
"$LINENO"; then :
15029 libgo_cv_func___sync_add_and_fetch_8
=yes
15031 libgo_cv_func___sync_add_and_fetch_8
=no
15033 rm -f core conftest.err conftest.
$ac_objext \
15034 conftest
$ac_exeext conftest.
$ac_ext
15036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_add_and_fetch_8" >&5
15037 $as_echo "$libgo_cv_func___sync_add_and_fetch_8" >&6; }
15038 if test "$libgo_cv_func___sync_add_and_fetch_8" = "yes"; then
15040 $as_echo "#define HAVE_SYNC_ADD_AND_FETCH_8 1" >>confdefs.h
15044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -minline-all-stringops" >&5
15045 $as_echo_n "checking whether compiler supports -minline-all-stringops... " >&6; }
15046 if test "${libgo_cv_c_stringops+set}" = set; then :
15047 $as_echo_n "(cached) " >&6
15049 CFLAGS_hold
=$CFLAGS
15050 CFLAGS
="$CFLAGS -minline-all-stringops"
15051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15052 /* end confdefs.h. */
15055 if ac_fn_c_try_compile
"$LINENO"; then :
15056 libgo_cv_c_stringops
=yes
15058 libgo_cv_c_stringops
=no
15060 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15061 CFLAGS
=$CFLAGS_hold
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_stringops" >&5
15064 $as_echo "$libgo_cv_c_stringops" >&6; }
15066 if test "$libgo_cv_c_stringops" = yes; then
15067 STRINGOPS_FLAG
=-minline-all-stringops
15071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -mfancy-math-387" >&5
15072 $as_echo_n "checking whether compiler supports -mfancy-math-387... " >&6; }
15073 if test "${libgo_cv_c_fancymath+set}" = set; then :
15074 $as_echo_n "(cached) " >&6
15076 CFLAGS_hold
=$CFLAGS
15077 CFLAGS
="$CFLAGS -mfancy-math-387"
15078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15079 /* end confdefs.h. */
15082 if ac_fn_c_try_compile
"$LINENO"; then :
15083 libgo_cv_c_fancymath
=yes
15085 libgo_cv_c_fancymath
=no
15087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15088 CFLAGS
=$CFLAGS_hold
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_fancymath" >&5
15091 $as_echo "$libgo_cv_c_fancymath" >&6; }
15093 if test "$libgo_cv_c_fancymath" = yes; then
15094 MATH_FLAG
="-mfancy-math-387 -funsafe-math-optimizations"
15096 MATH_FLAG
="-ffp-contract=off"
15100 CFLAGS_hold
=$CFLAGS
15101 CFLAGS
="$CFLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
15102 ac_fn_c_check_type
"$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default"
15103 if test "x$ac_cv_type_off64_t" = x
""yes; then :
15105 cat >>confdefs.h
<<_ACEOF
15106 #define HAVE_OFF64_T 1
15112 CFLAGS
=$CFLAGS_hold
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking epoll_event size" >&5
15115 $as_echo_n "checking epoll_event size... " >&6; }
15116 if test "${libgo_cv_c_epoll_event_size+set}" = set; then :
15117 $as_echo_n "(cached) " >&6
15119 if ac_fn_c_compute_int
"$LINENO" "sizeof (struct epoll_event)" "libgo_cv_c_epoll_event_size" "#include <sys/epoll.h>"; then :
15122 libgo_cv_c_epoll_event_size
=0
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_epoll_event_size" >&5
15127 $as_echo "$libgo_cv_c_epoll_event_size" >&6; }
15128 SIZEOF_STRUCT_EPOLL_EVENT
=${libgo_cv_c_epoll_event_size}
15131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking epoll_event data.fd offset" >&5
15132 $as_echo_n "checking epoll_event data.fd offset... " >&6; }
15133 if test "${libgo_cv_c_epoll_event_fd_offset+set}" = set; then :
15134 $as_echo_n "(cached) " >&6
15136 if ac_fn_c_compute_int
"$LINENO" "offsetof (struct epoll_event, data.fd)" "libgo_cv_c_epoll_event_fd_offset" "#include <stddef.h>
15137 #include <sys/epoll.h>"; then :
15140 libgo_cv_c_epoll_event_fd_offset
=0
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_epoll_event_fd_offset" >&5
15145 $as_echo "$libgo_cv_c_epoll_event_fd_offset" >&6; }
15146 STRUCT_EPOLL_EVENT_FD_OFFSET
=${libgo_cv_c_epoll_event_fd_offset}
15149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15150 /* end confdefs.h. */
15151 #include <sys/stat.h>
15154 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15155 $EGREP "timespec_t.*st_atim" >/dev
/null
2>&1; then :
15156 have_stat_timespec
=yes
15158 have_stat_timespec
=no
15162 if test $have_stat_timespec = yes; then
15163 HAVE_STAT_TIMESPEC_TRUE
=
15164 HAVE_STAT_TIMESPEC_FALSE
='#'
15166 HAVE_STAT_TIMESPEC_TRUE
='#'
15167 HAVE_STAT_TIMESPEC_FALSE
=
15171 ac_fn_c_check_type
"$LINENO" "struct exception" "ac_cv_type_struct_exception" "#include <math.h>
15173 if test "x$ac_cv_type_struct_exception" = x
""yes; then :
15174 libgo_has_struct_exception
=yes
15176 libgo_has_struct_exception
=no
15179 if test "$libgo_has_struct_exception" = "yes"; then
15181 $as_echo "#define HAVE_STRUCT_EXCEPTION 1" >>confdefs.h
15185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether setcontext clobbers TLS variables" >&5
15186 $as_echo_n "checking whether setcontext clobbers TLS variables... " >&6; }
15187 if test "${libgo_cv_lib_setcontext_clobbers_tls+set}" = set; then :
15188 $as_echo_n "(cached) " >&6
15190 CFLAGS_hold
="$CFLAGS"
15191 CFLAGS
="$PTHREAD_CFLAGS"
15193 LIBS
="$LIBS $PTHREAD_LIBS"
15194 # The cast to long int works around a bug in the HP C Compiler
15195 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15196 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15197 # This bug is HP SR number 8606223364.
15198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15199 $as_echo_n "checking size of void *... " >&6; }
15200 if test "${ac_cv_sizeof_void_p+set}" = set; then :
15201 $as_echo_n "(cached) " >&6
15203 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15206 if test "$ac_cv_type_void_p" = yes; then
15207 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15209 { as_fn_set_status
77
15210 as_fn_error
"cannot compute sizeof (void *)
15211 See \`config.log' for more details." "$LINENO" 5; }; }
15213 ac_cv_sizeof_void_p
=0
15218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15219 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15223 cat >>confdefs.h
<<_ACEOF
15224 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15228 as_fn_arith
$ac_cv_sizeof_void_p \
* 8 && ptr_type_size
=$as_val
15229 if test "$cross_compiling" = yes; then :
15230 case "$target:$ptr_type_size" in
15231 i?
86-*-solaris2.1
[01]:64 | x86_64
*-*-solaris2.1
[01]:64)
15232 libgo_cv_lib_setcontext_clobbers_tls
=yes ;;
15234 libgo_cv_lib_setcontext_clobbers_tls
=no
;;
15238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15239 /* end confdefs.h. */
15241 #include <pthread.h>
15242 #include <stdlib.h>
15243 #include <ucontext.h>
15244 #include <unistd.h>
15248 static char stack[10 * 1024 * 1024];
15249 static ucontext_t c;
15251 /* Called via makecontext/setcontext. */
15259 /* Called via pthread_create. */
15264 /* The thread should still see this value after calling
15270 /* The call to setcontext should not return. */
15279 /* The thread should not see this value. */
15282 if (getcontext (&c) < 0)
15285 c.uc_stack.ss_sp = stack;
15286 #ifdef MAKECONTEXT_STACK_TOP
15287 c.uc_stack.ss_sp += sizeof stack;
15289 c.uc_stack.ss_flags = 0;
15290 c.uc_stack.ss_size = sizeof stack;
15292 makecontext (&c, cfn, 0);
15294 if (pthread_create (&tid, NULL, tfn, NULL) != 0)
15297 if (pthread_join (tid, NULL) != 0)
15300 /* The thread should have called exit. */
15305 if ac_fn_c_try_run
"$LINENO"; then :
15306 libgo_cv_lib_setcontext_clobbers_tls
=no
15308 libgo_cv_lib_setcontext_clobbers_tls
=yes
15310 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15311 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15314 CFLAGS
="$CFLAGS_hold"
15318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_setcontext_clobbers_tls" >&5
15319 $as_echo "$libgo_cv_lib_setcontext_clobbers_tls" >&6; }
15320 if test "$libgo_cv_lib_setcontext_clobbers_tls" = "yes"; then
15322 $as_echo "#define SETCONTEXT_CLOBBERS_TLS 1" >>confdefs.h
15326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .eh_frame section should be read-only" >&5
15327 $as_echo_n "checking whether .eh_frame section should be read-only... " >&6; }
15328 if test "${libgo_cv_ro_eh_frame+set}" = set; then :
15329 $as_echo_n "(cached) " >&6
15332 libgo_cv_ro_eh_frame
=no
15333 echo 'extern void foo (void); void bar (void) { foo (); foo (); }' > conftest.c
15334 if $CC $CFLAGS -S -fpic -fexceptions -o conftest.s conftest.c
> /dev
/null
2>&1; then
15335 if grep '.section.*eh_frame.*"a"' conftest.s
> /dev
/null
; then
15336 libgo_cv_ro_eh_frame
=yes
15337 elif grep '.section.*eh_frame.*#alloc' conftest.c \
15338 |
grep -v '#write' > /dev
/null
; then
15339 libgo_cv_ro_eh_frame
=yes
15345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_ro_eh_frame" >&5
15346 $as_echo "$libgo_cv_ro_eh_frame" >&6; }
15347 if test "x$libgo_cv_ro_eh_frame" = xyes
; then
15349 $as_echo "#define EH_FRAME_FLAGS \"a\"" >>confdefs.h
15353 $as_echo "#define EH_FRAME_FLAGS \"aw\"" >>confdefs.h
15357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Qunused-arguments" >&5
15358 $as_echo_n "checking if compiler supports -Qunused-arguments... " >&6; }
15359 if test "${libgo_cv_c_unused_arguments+set}" = set; then :
15360 $as_echo_n "(cached) " >&6
15362 CFLAGS_hold
=$CFLAGS
15363 CFLAGS
="$CFLAGS -Qunused-arguments"
15364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15365 /* end confdefs.h. */
15368 if ac_fn_c_try_compile
"$LINENO"; then :
15369 libgo_cv_c_unused_arguments
=yes
15371 libgo_cv_c_unused_arguments
=no
15373 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15374 CFLAGS
=$CFLAGS_hold
15376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_unused_arguments" >&5
15377 $as_echo "$libgo_cv_c_unused_arguments" >&6; }
15379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if assembler supports GNU comdat group syntax" >&5
15380 $as_echo_n "checking if assembler supports GNU comdat group syntax... " >&6; }
15381 if test "${libgo_cv_as_comdat_gnu+set}" = set; then :
15382 $as_echo_n "(cached) " >&6
15385 echo '.section .text,"axG",@progbits,.foo,comdat' > conftest.s
15386 CFLAGS_hold
=$CFLAGS
15387 if test "$libgo_cv_c_unused_arguments" = yes; then
15388 CFLAGS
="$CFLAGS -Qunused-arguments"
15390 if $CC $CFLAGS -c conftest.s
> /dev
/null
2>&1; then
15391 libgo_cv_as_comdat_gnu
=yes
15393 libgo_cv_as_comdat_gnu
=no
15395 CFLAGS
=$CFLAGS_hold
15398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_comdat_gnu" >&5
15399 $as_echo "$libgo_cv_as_comdat_gnu" >&6; }
15400 if test "x$libgo_cv_as_comdat_gnu" = xyes
; then
15402 $as_echo "#define HAVE_AS_COMDAT_GAS 1" >>confdefs.h
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports pc related relocs" >&5
15407 $as_echo_n "checking assembler supports pc related relocs... " >&6; }
15408 if test "${libgo_cv_as_x86_pcrel+set}" = set; then :
15409 $as_echo_n "(cached) " >&6
15412 libgo_cv_as_x86_pcrel
=yes
15413 echo '.text; foo: nop; .data; .long foo-.; .text' > conftest.s
15414 CFLAGS_hold
=$CFLAGS
15415 if test "$libgo_cv_c_unused_arguments" = yes; then
15416 CFLAGS
="$CFLAGS -Qunused-arguments"
15418 if $CC $CFLAGS -c conftest.s
2>&1 |
$EGREP -i 'illegal|warning' > /dev
/null
; then
15419 libgo_cv_as_x86_pcrel
=no
15421 CFLAGS
=$CFLAGS_hold
15424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_x86_pcrel" >&5
15425 $as_echo "$libgo_cv_as_x86_pcrel" >&6; }
15426 if test "x$libgo_cv_as_x86_pcrel" = xyes
; then
15428 $as_echo "#define HAVE_AS_X86_PCREL 1" >>confdefs.h
15432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports unwind section type" >&5
15433 $as_echo_n "checking assembler supports unwind section type... " >&6; }
15434 if test "${libgo_cv_as_x86_64_unwind_section_type+set}" = set; then :
15435 $as_echo_n "(cached) " >&6
15438 libgo_cv_as_x86_64_unwind_section_type
=yes
15439 echo '.section .eh_frame,"a",@unwind' > conftest.s
15440 CFLAGS_hold
=$CFLAGS
15441 if test "$libgo_cv_c_unused_arguments" = yes; then
15442 CFLAGS
="$CFLAGS -Qunused-arguments"
15444 if $CC $CFLAGS -c conftest.s
2>&1 |
grep -i warning
> /dev
/null
; then
15445 libgo_cv_as_x86_64_unwind_section_type
=no
15447 CFLAGS
=$CFLAGS_hold
15450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_x86_64_unwind_section_type" >&5
15451 $as_echo "$libgo_cv_as_x86_64_unwind_section_type" >&6; }
15452 if test "x$libgo_cv_as_x86_64_unwind_section_type" = xyes
; then
15454 $as_echo "#define HAVE_AS_X86_64_UNWIND_SECTION_TYPE 1" >>confdefs.h
15458 cat >confcache
<<\_ACEOF
15459 # This file is a shell script that caches the results of configure
15460 # tests run on this system so they can be shared between configure
15461 # scripts and configure runs, see configure's option --config-cache.
15462 # It is not useful on other systems. If it contains results you don't
15463 # want to keep, you may remove or edit it.
15465 # config.status only pays attention to the cache file if you give it
15466 # the --recheck option to rerun configure.
15468 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15469 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15470 # following values.
15474 # The following way of writing the cache mishandles newlines in values,
15475 # but we know of no workaround that is simple, portable, and efficient.
15476 # So, we kill variables containing newlines.
15477 # Ultrix sh set writes to stderr and can't be redirected directly,
15478 # and sets the high bit in the cache file unless we assign to the vars.
15480 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15481 eval ac_val
=\$
$ac_var
15485 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15486 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15489 _ | IFS | as_nl
) ;; #(
15490 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15491 *) { eval $ac_var=; unset $ac_var;} ;;
15497 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15498 *${as_nl}ac_space
=\
*)
15499 # `set' does not quote correctly, so add quotes: double-quote
15500 # substitution turns \\\\ into \\, and sed turns \\ into \.
15503 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15506 # `set' quotes correctly as required by POSIX, so do not add quotes.
15507 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15516 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15518 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15520 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15521 if test -w "$cache_file"; then
15522 test "x$cache_file" != "x/dev/null" &&
15523 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15524 $as_echo "$as_me: updating cache $cache_file" >&6;}
15525 cat confcache
>$cache_file
15527 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15528 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15533 if test ${multilib} = yes; then
15534 multilib_arg
="--enable-multilib"
15539 ac_config_files
="$ac_config_files Makefile testsuite/Makefile"
15542 ac_config_commands
="$ac_config_commands default"
15545 cat >confcache
<<\_ACEOF
15546 # This file is a shell script that caches the results of configure
15547 # tests run on this system so they can be shared between configure
15548 # scripts and configure runs, see configure's option --config-cache.
15549 # It is not useful on other systems. If it contains results you don't
15550 # want to keep, you may remove or edit it.
15552 # config.status only pays attention to the cache file if you give it
15553 # the --recheck option to rerun configure.
15555 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15556 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15557 # following values.
15561 # The following way of writing the cache mishandles newlines in values,
15562 # but we know of no workaround that is simple, portable, and efficient.
15563 # So, we kill variables containing newlines.
15564 # Ultrix sh set writes to stderr and can't be redirected directly,
15565 # and sets the high bit in the cache file unless we assign to the vars.
15567 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15568 eval ac_val
=\$
$ac_var
15572 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15573 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15576 _ | IFS | as_nl
) ;; #(
15577 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15578 *) { eval $ac_var=; unset $ac_var;} ;;
15584 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15585 *${as_nl}ac_space
=\
*)
15586 # `set' does not quote correctly, so add quotes: double-quote
15587 # substitution turns \\\\ into \\, and sed turns \\ into \.
15590 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15593 # `set' quotes correctly as required by POSIX, so do not add quotes.
15594 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15603 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15605 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15607 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15608 if test -w "$cache_file"; then
15609 test "x$cache_file" != "x/dev/null" &&
15610 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15611 $as_echo "$as_me: updating cache $cache_file" >&6;}
15612 cat confcache
>$cache_file
15614 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15615 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15620 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15621 # Let make expand exec_prefix.
15622 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15624 DEFS
=-DHAVE_CONFIG_H
15628 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15629 # 1. Remove the extension, and $U if already installed.
15630 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15631 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15632 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15633 # will be set to the directory where LIBOBJS objects are built.
15634 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15635 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15637 LIBOBJS
=$ac_libobjs
15639 LTLIBOBJS
=$ac_ltlibobjs
15642 if test -n "$EXEEXT"; then
15644 am__EXEEXT_FALSE
='#'
15646 am__EXEEXT_TRUE
='#'
15650 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15651 as_fn_error
"conditional \"AMDEP\" was never defined.
15652 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15654 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15655 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
15656 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15658 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15659 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
15660 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15662 if test -z "${LIBGO_IS_DARWIN_TRUE}" && test -z "${LIBGO_IS_DARWIN_FALSE}"; then
15663 as_fn_error
"conditional \"LIBGO_IS_DARWIN\" was never defined.
15664 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15666 if test -z "${LIBGO_IS_FREEBSD_TRUE}" && test -z "${LIBGO_IS_FREEBSD_FALSE}"; then
15667 as_fn_error
"conditional \"LIBGO_IS_FREEBSD\" was never defined.
15668 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15670 if test -z "${LIBGO_IS_IRIX_TRUE}" && test -z "${LIBGO_IS_IRIX_FALSE}"; then
15671 as_fn_error
"conditional \"LIBGO_IS_IRIX\" was never defined.
15672 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15674 if test -z "${LIBGO_IS_LINUX_TRUE}" && test -z "${LIBGO_IS_LINUX_FALSE}"; then
15675 as_fn_error
"conditional \"LIBGO_IS_LINUX\" was never defined.
15676 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15678 if test -z "${LIBGO_IS_NETBSD_TRUE}" && test -z "${LIBGO_IS_NETBSD_FALSE}"; then
15679 as_fn_error
"conditional \"LIBGO_IS_NETBSD\" was never defined.
15680 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15682 if test -z "${LIBGO_IS_OPENBSD_TRUE}" && test -z "${LIBGO_IS_OPENBSD_FALSE}"; then
15683 as_fn_error
"conditional \"LIBGO_IS_OPENBSD\" was never defined.
15684 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15686 if test -z "${LIBGO_IS_DRAGONFLY_TRUE}" && test -z "${LIBGO_IS_DRAGONFLY_FALSE}"; then
15687 as_fn_error
"conditional \"LIBGO_IS_DRAGONFLY\" was never defined.
15688 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15690 if test -z "${LIBGO_IS_RTEMS_TRUE}" && test -z "${LIBGO_IS_RTEMS_FALSE}"; then
15691 as_fn_error
"conditional \"LIBGO_IS_RTEMS\" was never defined.
15692 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15694 if test -z "${LIBGO_IS_SOLARIS_TRUE}" && test -z "${LIBGO_IS_SOLARIS_FALSE}"; then
15695 as_fn_error
"conditional \"LIBGO_IS_SOLARIS\" was never defined.
15696 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15698 if test -z "${LIBGO_IS_386_TRUE}" && test -z "${LIBGO_IS_386_FALSE}"; then
15699 as_fn_error
"conditional \"LIBGO_IS_386\" was never defined.
15700 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15702 if test -z "${LIBGO_IS_ALPHA_TRUE}" && test -z "${LIBGO_IS_ALPHA_FALSE}"; then
15703 as_fn_error
"conditional \"LIBGO_IS_ALPHA\" was never defined.
15704 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15706 if test -z "${LIBGO_IS_ARM_TRUE}" && test -z "${LIBGO_IS_ARM_FALSE}"; then
15707 as_fn_error
"conditional \"LIBGO_IS_ARM\" was never defined.
15708 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15710 if test -z "${LIBGO_IS_ARM64_TRUE}" && test -z "${LIBGO_IS_ARM64_FALSE}"; then
15711 as_fn_error
"conditional \"LIBGO_IS_ARM64\" was never defined.
15712 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15714 if test -z "${LIBGO_IS_M68K_TRUE}" && test -z "${LIBGO_IS_M68K_FALSE}"; then
15715 as_fn_error
"conditional \"LIBGO_IS_M68K\" was never defined.
15716 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15718 if test -z "${LIBGO_IS_MIPS_TRUE}" && test -z "${LIBGO_IS_MIPS_FALSE}"; then
15719 as_fn_error
"conditional \"LIBGO_IS_MIPS\" was never defined.
15720 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15722 if test -z "${LIBGO_IS_MIPSO32_TRUE}" && test -z "${LIBGO_IS_MIPSO32_FALSE}"; then
15723 as_fn_error
"conditional \"LIBGO_IS_MIPSO32\" was never defined.
15724 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15726 if test -z "${LIBGO_IS_MIPSN32_TRUE}" && test -z "${LIBGO_IS_MIPSN32_FALSE}"; then
15727 as_fn_error
"conditional \"LIBGO_IS_MIPSN32\" was never defined.
15728 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15730 if test -z "${LIBGO_IS_MIPSN64_TRUE}" && test -z "${LIBGO_IS_MIPSN64_FALSE}"; then
15731 as_fn_error
"conditional \"LIBGO_IS_MIPSN64\" was never defined.
15732 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15734 if test -z "${LIBGO_IS_MIPSO64_TRUE}" && test -z "${LIBGO_IS_MIPSO64_FALSE}"; then
15735 as_fn_error
"conditional \"LIBGO_IS_MIPSO64\" was never defined.
15736 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15738 if test -z "${LIBGO_IS_PPC_TRUE}" && test -z "${LIBGO_IS_PPC_FALSE}"; then
15739 as_fn_error
"conditional \"LIBGO_IS_PPC\" was never defined.
15740 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15742 if test -z "${LIBGO_IS_PPC64_TRUE}" && test -z "${LIBGO_IS_PPC64_FALSE}"; then
15743 as_fn_error
"conditional \"LIBGO_IS_PPC64\" was never defined.
15744 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15746 if test -z "${LIBGO_IS_PPC64LE_TRUE}" && test -z "${LIBGO_IS_PPC64LE_FALSE}"; then
15747 as_fn_error
"conditional \"LIBGO_IS_PPC64LE\" was never defined.
15748 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15750 if test -z "${LIBGO_IS_S390_TRUE}" && test -z "${LIBGO_IS_S390_FALSE}"; then
15751 as_fn_error
"conditional \"LIBGO_IS_S390\" was never defined.
15752 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15754 if test -z "${LIBGO_IS_S390X_TRUE}" && test -z "${LIBGO_IS_S390X_FALSE}"; then
15755 as_fn_error
"conditional \"LIBGO_IS_S390X\" was never defined.
15756 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15758 if test -z "${LIBGO_IS_SPARC_TRUE}" && test -z "${LIBGO_IS_SPARC_FALSE}"; then
15759 as_fn_error
"conditional \"LIBGO_IS_SPARC\" was never defined.
15760 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15762 if test -z "${LIBGO_IS_SPARC64_TRUE}" && test -z "${LIBGO_IS_SPARC64_FALSE}"; then
15763 as_fn_error
"conditional \"LIBGO_IS_SPARC64\" was never defined.
15764 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15766 if test -z "${LIBGO_IS_X86_64_TRUE}" && test -z "${LIBGO_IS_X86_64_FALSE}"; then
15767 as_fn_error
"conditional \"LIBGO_IS_X86_64\" was never defined.
15768 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15770 if test -z "${USING_SPLIT_STACK_TRUE}" && test -z "${USING_SPLIT_STACK_FALSE}"; then
15771 as_fn_error
"conditional \"USING_SPLIT_STACK\" was never defined.
15772 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15774 if test -z "${GOC_IS_LLGO_TRUE}" && test -z "${GOC_IS_LLGO_FALSE}"; then
15775 as_fn_error
"conditional \"GOC_IS_LLGO\" was never defined.
15776 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15779 if test -z "${HAVE_SYS_MMAN_H_TRUE}" && test -z "${HAVE_SYS_MMAN_H_FALSE}"; then
15780 as_fn_error
"conditional \"HAVE_SYS_MMAN_H\" was never defined.
15781 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15783 if test -z "${HAVE_STRERROR_R_TRUE}" && test -z "${HAVE_STRERROR_R_FALSE}"; then
15784 as_fn_error
"conditional \"HAVE_STRERROR_R\" was never defined.
15785 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15787 if test -z "${HAVE_WAIT4_TRUE}" && test -z "${HAVE_WAIT4_FALSE}"; then
15788 as_fn_error
"conditional \"HAVE_WAIT4\" was never defined.
15789 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15791 if test -z "${HAVE_STAT_TIMESPEC_TRUE}" && test -z "${HAVE_STAT_TIMESPEC_FALSE}"; then
15792 as_fn_error
"conditional \"HAVE_STAT_TIMESPEC\" was never defined.
15793 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15796 : ${CONFIG_STATUS=./config.status}
15798 ac_clean_files_save
=$ac_clean_files
15799 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15801 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15803 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15805 # Generated by $as_me.
15806 # Run this file to recreate the current configuration.
15807 # Compiler output produced by configure, useful for debugging
15808 # configure, is in config.log if it exists.
15811 ac_cs_recheck=false
15814 SHELL=\${CONFIG_SHELL-$SHELL}
15817 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15818 ## -------------------- ##
15819 ## M4sh Initialization. ##
15820 ## -------------------- ##
15822 # Be more Bourne compatible
15823 DUALCASE
=1; export DUALCASE
# for MKS sh
15824 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15827 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15828 # is contrary to our usage. Disable this feature.
15829 alias -g '${1+"$@"}'='"$@"'
15830 setopt NO_GLOB_SUBST
15832 case `(set -o) 2>/dev/null` in #(
15844 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15845 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15846 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15847 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15848 # Prefer a ksh shell builtin over an external printf program on Solaris,
15849 # but without wasting forks for bash or zsh.
15850 if test -z "$BASH_VERSION$ZSH_VERSION" \
15851 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15852 as_echo='print
-r --'
15853 as_echo_n='print
-rn --'
15854 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15855 as_echo='printf %s
\n'
15856 as_echo_n='printf %s
'
15858 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15859 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15860 as_echo_n='/usr
/ucb
/echo -n'
15862 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15863 as_echo_n_body='eval
15867 expr "X$arg" : "X\\(.*\\)$as_nl";
15868 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15870 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15872 export as_echo_n_body
15873 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15875 export as_echo_body
15876 as_echo='sh
-c $as_echo_body as_echo
'
15879 # The user is always right.
15880 if test "${PATH_SEPARATOR+set}" != set; then
15882 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15883 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15890 # We need space, tab and new line, in precisely that order. Quoting is
15891 # there to prevent editors from complaining about space-tab.
15892 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15893 # splitting by setting IFS to empty value.)
15896 # Find who we are. Look in the path if we contain no directory separator.
15898 *[\\/]* ) as_myself=$0 ;;
15899 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15900 for as_dir in $PATH
15903 test -z "$as_dir" && as_dir=.
15904 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15910 # We did not find ourselves, most probably we were run as `sh COMMAND'
15911 # in which case we are not to be found in the path.
15912 if test "x$as_myself" = x
; then
15915 if test ! -f "$as_myself"; then
15916 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15920 # Unset variables that we do not need and which cause bugs (e.g. in
15921 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15922 # suppresses any "Segmentation fault" message there. '((' could
15923 # trigger a bug in pdksh 5.2.14.
15924 for as_var
in BASH_ENV ENV MAIL MAILPATH
15925 do eval test x\
${$as_var+set} = xset \
15926 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15939 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15942 # as_fn_error ERROR [LINENO LOG_FD]
15943 # ---------------------------------
15944 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15945 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15946 # script with status $?, using 1 if that was 0.
15949 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15951 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15952 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15954 $as_echo "$as_me: error: $1" >&2
15955 as_fn_exit
$as_status
15959 # as_fn_set_status STATUS
15960 # -----------------------
15961 # Set $? to STATUS, without forking.
15962 as_fn_set_status
()
15965 } # as_fn_set_status
15967 # as_fn_exit STATUS
15968 # -----------------
15969 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15973 as_fn_set_status
$1
15979 # Portably unset VAR.
15982 { eval $1=; unset $1;}
15984 as_unset
=as_fn_unset
15985 # as_fn_append VAR VALUE
15986 # ----------------------
15987 # Append the text in VALUE to the end of the definition contained in VAR. Take
15988 # advantage of any shell optimizations that allow amortized linear growth over
15989 # repeated appends, instead of the typical quadratic growth present in naive
15991 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15992 eval 'as_fn_append ()
16003 # as_fn_arith ARG...
16004 # ------------------
16005 # Perform arithmetic evaluation on the ARGs, and store the result in the
16006 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16007 # must be portable across $(()) and expr.
16008 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16009 eval 'as_fn_arith ()
16016 as_val
=`expr "$@" || test $? -eq 1`
16021 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16022 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16028 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16029 as_basename
=basename
16034 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16040 as_me
=`$as_basename -- "$0" ||
16041 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16042 X"$0" : 'X\(//\)$' \| \
16043 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16045 sed '/^.*\/\([^/][^/]*\)\/*$/{
16059 # Avoid depending upon Character Ranges.
16060 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16061 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16062 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16063 as_cr_digits
='0123456789'
16064 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16066 ECHO_C
= ECHO_N
= ECHO_T
=
16067 case `echo -n x` in #(((((
16069 case `echo 'xy\c'` in
16070 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16072 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16079 rm -f conf$$ conf$$.exe conf$$.
file
16080 if test -d conf$$.dir
; then
16081 rm -f conf$$.dir
/conf$$.
file
16084 mkdir conf$$.dir
2>/dev
/null
16086 if (echo >conf$$.
file) 2>/dev
/null
; then
16087 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16089 # ... but there are two gotchas:
16090 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16091 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16092 # In both cases, we have to default to `cp -p'.
16093 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16095 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16103 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16104 rmdir conf$$.dir
2>/dev
/null
16109 # Create "$as_dir" as a directory, including parents if necessary.
16114 -*) as_dir
=.
/$as_dir;;
16116 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16120 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16121 *) as_qdir
=$as_dir;;
16123 as_dirs
="'$as_qdir' $as_dirs"
16124 as_dir
=`$as_dirname -- "$as_dir" ||
16125 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16126 X"$as_dir" : 'X\(//\)[^/]' \| \
16127 X"$as_dir" : 'X\(//\)$' \| \
16128 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16129 $as_echo X"$as_dir" |
16130 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16134 /^X\(\/\/\)[^/].*/{
16147 test -d "$as_dir" && break
16149 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16150 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
16154 if mkdir
-p .
2>/dev
/null
; then
16155 as_mkdir_p
='mkdir -p "$as_dir"'
16157 test -d .
/-p && rmdir .
/-p
16161 if test -x / >/dev
/null
2>&1; then
16162 as_test_x
='test -x'
16164 if ls -dL / >/dev
/null
2>&1; then
16171 if test -d "$1"; then
16177 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16178 ???[sx]*):;;*)false;;esac;fi
16182 as_executable_p
=$as_test_x
16184 # Sed expression to map a string onto a valid CPP name.
16185 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16187 # Sed expression to map a string onto a valid variable name.
16188 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16192 ## ----------------------------------- ##
16193 ## Main body of $CONFIG_STATUS script. ##
16194 ## ----------------------------------- ##
16196 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16198 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16199 # Save the log message, to keep $0 and so on meaningful, and to
16200 # report actual input values of CONFIG_FILES etc. instead of their
16201 # values after options handling.
16203 This file was extended by package-unused $as_me version-unused, which was
16204 generated by GNU Autoconf 2.64. Invocation command line was
16206 CONFIG_FILES = $CONFIG_FILES
16207 CONFIG_HEADERS = $CONFIG_HEADERS
16208 CONFIG_LINKS = $CONFIG_LINKS
16209 CONFIG_COMMANDS = $CONFIG_COMMANDS
16212 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16217 case $ac_config_files in *"
16218 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16221 case $ac_config_headers in *"
16222 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16226 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16227 # Files that config.status was made for.
16228 config_files="$ac_config_files"
16229 config_headers="$ac_config_headers"
16230 config_commands="$ac_config_commands"
16234 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16236 \`$as_me' instantiates files and other configuration actions
16237 from templates according to the current configuration. Unless the files
16238 and actions are specified as TAGs, all are instantiated by default.
16240 Usage: $0 [OPTION]... [TAG]...
16242 -h, --help print this help, then exit
16243 -V, --version print version number and configuration settings, then exit
16244 -q, --quiet, --silent
16245 do not print progress messages
16246 -d, --debug don't remove temporary files
16247 --recheck update $as_me by reconfiguring in the same conditions
16248 --file=FILE[:TEMPLATE]
16249 instantiate the configuration file FILE
16250 --header=FILE[:TEMPLATE]
16251 instantiate the configuration header FILE
16253 Configuration files:
16256 Configuration headers:
16259 Configuration commands:
16262 Report bugs to the package provider."
16265 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16267 package-unused config.status version-unused
16268 configured by $0, generated by GNU Autoconf 2.64,
16269 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16271 Copyright (C) 2009 Free Software Foundation, Inc.
16272 This config.status script is free software; the Free Software Foundation
16273 gives unlimited permission to copy, distribute and modify it."
16280 test -n "\$AWK" || AWK=awk
16283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16284 # The default lists apply if the user does not specify any file.
16290 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16291 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16302 # Handling of the options.
16303 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16305 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16306 $as_echo "$ac_cs_version"; exit ;;
16307 --debug |
--debu |
--deb |
--de |
--d |
-d )
16309 --file |
--fil |
--fi |
--f )
16312 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16314 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16315 ac_need_defaults
=false
;;
16316 --header |
--heade |
--head |
--hea )
16319 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16321 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16322 ac_need_defaults
=false
;;
16324 # Conflict between --help and --header
16325 as_fn_error
"ambiguous option: \`$1'
16326 Try \`$0 --help' for more information.";;
16327 --help |
--hel |
-h )
16328 $as_echo "$ac_cs_usage"; exit ;;
16329 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16330 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16333 # This is an error.
16334 -*) as_fn_error
"unrecognized option: \`$1'
16335 Try \`$0 --help' for more information." ;;
16337 *) as_fn_append ac_config_targets
" $1"
16338 ac_need_defaults
=false
;;
16344 ac_configure_extra_args
=
16346 if $ac_cs_silent; then
16348 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16352 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16353 if \$ac_cs_recheck; then
16354 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16356 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16357 CONFIG_SHELL='$SHELL'
16358 export CONFIG_SHELL
16363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16367 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16368 ## Running $as_me. ##
16374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16382 with_multisubdir="$with_multisubdir"
16383 with_multisrctop="$with_multisrctop"
16384 with_target_subdir="$with_target_subdir"
16385 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16386 multi_basedir="$multi_basedir"
16387 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16390 GFORTRAN="$GFORTRAN"
16392 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16395 # The HP-UX ksh and POSIX shell print the target directory to stdout
16396 # if CDPATH is set.
16397 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16399 sed_quote_subst='$sed_quote_subst'
16400 double_quote_subst='$double_quote_subst'
16401 delay_variable_subst='$delay_variable_subst'
16402 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16403 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16404 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16405 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16406 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16407 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16408 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16409 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16410 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16411 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16412 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16413 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16414 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16415 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16416 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16417 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16418 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16419 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16420 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16421 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16422 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16423 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16424 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16425 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16426 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16427 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16428 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16429 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16430 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16431 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16432 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16433 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16434 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16435 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16436 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16437 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16438 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16439 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16440 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16441 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16442 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16443 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16444 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16445 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16446 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16447 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16448 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16449 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16450 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"`'
16451 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16452 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16453 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16454 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16455 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16456 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16457 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16458 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16459 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16460 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16461 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16462 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16463 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16464 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16465 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16466 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16467 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16468 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16469 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16470 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16471 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16472 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16473 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16474 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16475 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16476 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16477 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16478 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16479 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16480 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16481 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16482 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16483 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16484 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16485 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16486 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16487 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16488 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16489 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16490 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16491 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16492 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16493 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16494 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16495 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16496 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16497 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16498 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16499 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16500 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16501 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16502 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16503 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16504 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16505 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16506 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16507 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16508 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16509 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16510 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16511 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16512 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16513 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16514 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16515 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16516 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16517 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16518 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16519 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16520 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16521 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16522 LD_GO='`$ECHO "$LD_GO" | $SED "$delay_single_quote_subst"`'
16523 reload_flag_GO='`$ECHO "$reload_flag_GO" | $SED "$delay_single_quote_subst"`'
16524 reload_cmds_GO='`$ECHO "$reload_cmds_GO" | $SED "$delay_single_quote_subst"`'
16525 old_archive_cmds_GO='`$ECHO "$old_archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
16526 compiler_GO='`$ECHO "$compiler_GO" | $SED "$delay_single_quote_subst"`'
16527 GCC_GO='`$ECHO "$GCC_GO" | $SED "$delay_single_quote_subst"`'
16528 lt_prog_compiler_no_builtin_flag_GO='`$ECHO "$lt_prog_compiler_no_builtin_flag_GO" | $SED "$delay_single_quote_subst"`'
16529 lt_prog_compiler_wl_GO='`$ECHO "$lt_prog_compiler_wl_GO" | $SED "$delay_single_quote_subst"`'
16530 lt_prog_compiler_pic_GO='`$ECHO "$lt_prog_compiler_pic_GO" | $SED "$delay_single_quote_subst"`'
16531 lt_prog_compiler_static_GO='`$ECHO "$lt_prog_compiler_static_GO" | $SED "$delay_single_quote_subst"`'
16532 lt_cv_prog_compiler_c_o_GO='`$ECHO "$lt_cv_prog_compiler_c_o_GO" | $SED "$delay_single_quote_subst"`'
16533 archive_cmds_need_lc_GO='`$ECHO "$archive_cmds_need_lc_GO" | $SED "$delay_single_quote_subst"`'
16534 enable_shared_with_static_runtimes_GO='`$ECHO "$enable_shared_with_static_runtimes_GO" | $SED "$delay_single_quote_subst"`'
16535 export_dynamic_flag_spec_GO='`$ECHO "$export_dynamic_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
16536 whole_archive_flag_spec_GO='`$ECHO "$whole_archive_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
16537 compiler_needs_object_GO='`$ECHO "$compiler_needs_object_GO" | $SED "$delay_single_quote_subst"`'
16538 old_archive_from_new_cmds_GO='`$ECHO "$old_archive_from_new_cmds_GO" | $SED "$delay_single_quote_subst"`'
16539 old_archive_from_expsyms_cmds_GO='`$ECHO "$old_archive_from_expsyms_cmds_GO" | $SED "$delay_single_quote_subst"`'
16540 archive_cmds_GO='`$ECHO "$archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
16541 archive_expsym_cmds_GO='`$ECHO "$archive_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
16542 module_cmds_GO='`$ECHO "$module_cmds_GO" | $SED "$delay_single_quote_subst"`'
16543 module_expsym_cmds_GO='`$ECHO "$module_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
16544 with_gnu_ld_GO='`$ECHO "$with_gnu_ld_GO" | $SED "$delay_single_quote_subst"`'
16545 allow_undefined_flag_GO='`$ECHO "$allow_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
16546 no_undefined_flag_GO='`$ECHO "$no_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
16547 hardcode_libdir_flag_spec_GO='`$ECHO "$hardcode_libdir_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
16548 hardcode_libdir_flag_spec_ld_GO='`$ECHO "$hardcode_libdir_flag_spec_ld_GO" | $SED "$delay_single_quote_subst"`'
16549 hardcode_libdir_separator_GO='`$ECHO "$hardcode_libdir_separator_GO" | $SED "$delay_single_quote_subst"`'
16550 hardcode_direct_GO='`$ECHO "$hardcode_direct_GO" | $SED "$delay_single_quote_subst"`'
16551 hardcode_direct_absolute_GO='`$ECHO "$hardcode_direct_absolute_GO" | $SED "$delay_single_quote_subst"`'
16552 hardcode_minus_L_GO='`$ECHO "$hardcode_minus_L_GO" | $SED "$delay_single_quote_subst"`'
16553 hardcode_shlibpath_var_GO='`$ECHO "$hardcode_shlibpath_var_GO" | $SED "$delay_single_quote_subst"`'
16554 hardcode_automatic_GO='`$ECHO "$hardcode_automatic_GO" | $SED "$delay_single_quote_subst"`'
16555 inherit_rpath_GO='`$ECHO "$inherit_rpath_GO" | $SED "$delay_single_quote_subst"`'
16556 link_all_deplibs_GO='`$ECHO "$link_all_deplibs_GO" | $SED "$delay_single_quote_subst"`'
16557 fix_srcfile_path_GO='`$ECHO "$fix_srcfile_path_GO" | $SED "$delay_single_quote_subst"`'
16558 always_export_symbols_GO='`$ECHO "$always_export_symbols_GO" | $SED "$delay_single_quote_subst"`'
16559 export_symbols_cmds_GO='`$ECHO "$export_symbols_cmds_GO" | $SED "$delay_single_quote_subst"`'
16560 exclude_expsyms_GO='`$ECHO "$exclude_expsyms_GO" | $SED "$delay_single_quote_subst"`'
16561 include_expsyms_GO='`$ECHO "$include_expsyms_GO" | $SED "$delay_single_quote_subst"`'
16562 prelink_cmds_GO='`$ECHO "$prelink_cmds_GO" | $SED "$delay_single_quote_subst"`'
16563 file_list_spec_GO='`$ECHO "$file_list_spec_GO" | $SED "$delay_single_quote_subst"`'
16564 hardcode_action_GO='`$ECHO "$hardcode_action_GO" | $SED "$delay_single_quote_subst"`'
16567 LTCFLAGS='$LTCFLAGS'
16568 compiler='$compiler_DEFAULT'
16570 # A function that is used when there is no print builtin or printf.
16571 func_fallback_echo ()
16573 eval 'cat <<_LTECHO_EOF
16578 # Quote evaled strings.
16592 deplibs_check_method \
16601 lt_cv_sys_global_symbol_pipe \
16602 lt_cv_sys_global_symbol_to_cdecl \
16603 lt_cv_sys_global_symbol_to_c_name_address \
16604 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16605 lt_prog_compiler_no_builtin_flag \
16606 lt_prog_compiler_wl \
16607 lt_prog_compiler_pic \
16608 lt_prog_compiler_static \
16609 lt_cv_prog_compiler_c_o \
16617 export_dynamic_flag_spec \
16618 whole_archive_flag_spec \
16619 compiler_needs_object \
16621 allow_undefined_flag \
16622 no_undefined_flag \
16623 hardcode_libdir_flag_spec \
16624 hardcode_libdir_flag_spec_ld \
16625 hardcode_libdir_separator \
16630 variables_saved_for_relink \
16632 library_names_spec \
16634 install_override_mode \
16641 lt_prog_compiler_no_builtin_flag_GO \
16642 lt_prog_compiler_wl_GO \
16643 lt_prog_compiler_pic_GO \
16644 lt_prog_compiler_static_GO \
16645 lt_cv_prog_compiler_c_o_GO \
16646 export_dynamic_flag_spec_GO \
16647 whole_archive_flag_spec_GO \
16648 compiler_needs_object_GO \
16650 allow_undefined_flag_GO \
16651 no_undefined_flag_GO \
16652 hardcode_libdir_flag_spec_GO \
16653 hardcode_libdir_flag_spec_ld_GO \
16654 hardcode_libdir_separator_GO \
16655 fix_srcfile_path_GO \
16656 exclude_expsyms_GO \
16657 include_expsyms_GO \
16658 file_list_spec_GO; do
16659 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16660 *[\\\\\\\`\\"\\\$]*)
16661 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16664 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16669 # Double-quote double-evaled strings.
16670 for var in reload_cmds \
16671 old_postinstall_cmds \
16672 old_postuninstall_cmds \
16674 extract_expsyms_cmds \
16675 old_archive_from_new_cmds \
16676 old_archive_from_expsyms_cmds \
16678 archive_expsym_cmds \
16680 module_expsym_cmds \
16681 export_symbols_cmds \
16684 postuninstall_cmds \
16686 sys_lib_search_path_spec \
16687 sys_lib_dlsearch_path_spec \
16689 old_archive_cmds_GO \
16690 old_archive_from_new_cmds_GO \
16691 old_archive_from_expsyms_cmds_GO \
16693 archive_expsym_cmds_GO \
16695 module_expsym_cmds_GO \
16696 export_symbols_cmds_GO \
16697 prelink_cmds_GO; do
16698 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16699 *[\\\\\\\`\\"\\\$]*)
16700 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16703 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16708 ac_aux_dir='$ac_aux_dir'
16709 xsi_shell='$xsi_shell'
16710 lt_shell_append='$lt_shell_append'
16712 # See if we are running on zsh, and set the options which allow our
16713 # commands through without removal of \ escapes INIT.
16714 if test -n "\${ZSH_VERSION+set}" ; then
16715 setopt NO_GLOB_SUBST
16721 TIMESTAMP='$TIMESTAMP'
16730 # Variables needed in config.status (file generation) which aren't already
16731 # passed by autoconf.
16737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16739 # Handling of arguments.
16740 for ac_config_target
in $ac_config_targets
16742 case $ac_config_target in
16743 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
16744 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16745 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16746 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16747 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16748 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
16749 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
16751 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16756 # If the user did not use the arguments to specify the items to instantiate,
16757 # then the envvar interface is used. Set only those that are not.
16758 # We use the long form for the default assignment because of an extremely
16759 # bizarre bug on SunOS 4.1.3.
16760 if $ac_need_defaults; then
16761 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16762 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16763 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16766 # Have a temporary directory for convenience. Make it in the build tree
16767 # simply because there is no reason against having it here, and in addition,
16768 # creating and moving files from /tmp can sometimes cause problems.
16769 # Hook for its removal unless debugging.
16770 # Note that there is a small window in which the directory will not be cleaned:
16771 # after its creation but before its name has been assigned to `$tmp'.
16775 trap 'exit_status=$?
16776 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16778 trap 'as_fn_exit 1' 1 2 13 15
16780 # Create a (secure) tmp directory for tmp files.
16783 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16784 test -n "$tmp" && test -d "$tmp"
16787 tmp
=.
/conf$$
-$RANDOM
16788 (umask 077 && mkdir
"$tmp")
16789 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
16791 # Set up the scripts for CONFIG_FILES section.
16792 # No need to generate them if there are no CONFIG_FILES.
16793 # This happens for instance with `./config.status config.h'.
16794 if test -n "$CONFIG_FILES"; then
16797 ac_cr
=`echo X | tr X '\015'`
16798 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16799 # But we know of no other shell where ac_cr would be empty at this
16800 # point, so we can use a bashism as a fallback.
16801 if test "x$ac_cr" = x
; then
16802 eval ac_cr
=\$
\'\\r
\'
16804 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16805 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16808 ac_cs_awk_cr
=$ac_cr
16811 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16816 echo "cat >conf$$subs.awk <<_ACEOF" &&
16817 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16819 } >conf$$subs.sh ||
16820 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16821 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16823 for ac_last_try in false false false false false :; do
16824 . ./conf$$subs.sh ||
16825 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16827 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16828 if test $ac_delim_n = $ac_delim_num; then
16830 elif $ac_last_try; then
16831 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16833 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16836 rm -f conf$$subs.sh
16838 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16839 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16843 s/^/S["/; s
/!.
*/"]=/
16853 s/\(.\{148\}\).*/\1/
16855 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16860 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16867 s/\(.\{148\}\).*/\1/
16869 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16873 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16878 ' <conf$$subs.awk | sed '
16883 ' >>$CONFIG_STATUS || ac_write_fail=1
16884 rm -f conf$$subs.awk
16885 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16887 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16888 for (key in S) S_is_set[key] = 1
16894 nfields = split(line, field, "@
")
16896 len = length(field[1])
16897 for (i = 2; i < nfields; i++) {
16899 keylen = length(key)
16900 if (S_is_set[key]) {
16902 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16903 len += length(value) + length(field[++i])
16914 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16915 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16916 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16919 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16920 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
16923 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16924 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16925 # trailing colons and then remove the whole line if VPATH becomes empty
16926 # (actually we leave an empty line to preserve line numbers).
16927 if test "x
$srcdir" = x.; then
16928 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16929 s/:*\$(srcdir):*/:/
16930 s/:*\${srcdir}:*/:/
16932 s/^\([^=]*=[ ]*\):*/\1/
16938 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16939 fi # test -n "$CONFIG_FILES"
16941 # Set up the scripts for CONFIG_HEADERS section.
16942 # No need to generate them if there are no CONFIG_HEADERS.
16943 # This happens for instance with `./config.status Makefile'.
16944 if test -n "$CONFIG_HEADERS"; then
16945 cat >"$tmp/defines.
awk" <<\_ACAWK ||
16949 # Transform confdefs.h into an awk script `defines.awk', embedded as
16950 # here-document in config.status, that substitutes the proper values into
16951 # config.h.in to produce config.h.
16953 # Create a delimiter string that does not exist in confdefs.h, to ease
16954 # handling of long lines.
16956 for ac_last_try in false false :; do
16957 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
16958 if test -z "$ac_t"; then
16960 elif $ac_last_try; then
16961 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
16963 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16967 # For the awk script, D is an array of macro values keyed by name,
16968 # likewise P contains macro parameters if any. Preserve backslash
16969 # newline sequences.
16971 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16973 s/.\{148\}/&'"$ac_delim"'/g
16976 s/^[ ]*#[ ]*define[ ][ ]*/ /
16983 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16985 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16989 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16990 D["\
1"]=" \
3\\\\\\n
"\\/p
16992 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16997 s/.\{148\}/&'"$ac_delim"'/g
17002 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17005 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17007 ' <confdefs.h | sed '
17008 s/'"$ac_delim"'/"\\\
17009 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17011 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17012 for (key in D) D_is_set[key] = 1
17015 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17017 split(line, arg, " ")
17018 if (arg[1] == "#") {
17022 defundef
= substr
(arg
[1], 2)
17025 split(mac1
, mac2
, "(") #)
17027 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17028 if (D_is_set
[macro
]) {
17029 # Preserve the white space surrounding the "#".
17030 print prefix
"define", macro P
[macro
] D
[macro
]
17033 # Replace #undef with comments. This is necessary, for example,
17034 # in the case of _POSIX_SOURCE, which is predefined and required
17035 # on some systems where configure will not decide to define it.
17036 if (defundef
== "undef") {
17037 print
"/*", prefix defundef
, macro
, "*/"
17045 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17046 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
17047 fi # test -n "$CONFIG_HEADERS"
17050 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17055 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17057 case $ac_mode$ac_tag in
17059 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17060 :[FH
]-) ac_tag
=-:-;;
17061 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17078 -) ac_f
="$tmp/stdin";;
17079 *) # Look for the file first in the build tree, then in the source tree
17080 # (if the path is not absolute). The absolute path cannot be DOS-style,
17081 # because $ac_f cannot contain `:'.
17085 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17087 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
17089 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17090 as_fn_append ac_file_inputs
" '$ac_f'"
17093 # Let's still pretend it is `configure' which instantiates (i.e., don't
17094 # use $as_me), people would be surprised to read:
17095 # /* config.h. Generated by config.status. */
17096 configure_input
='Generated from '`
17097 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17099 if test x
"$ac_file" != x-
; then
17100 configure_input
="$ac_file. $configure_input"
17101 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17102 $as_echo "$as_me: creating $ac_file" >&6;}
17104 # Neutralize special characters interpreted by sed in replacement strings.
17105 case $configure_input in #(
17106 *\
&* |
*\|
* |
*\\* )
17107 ac_sed_conf_input
=`$as_echo "$configure_input" |
17108 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17109 *) ac_sed_conf_input
=$configure_input;;
17113 *:-:* |
*:-) cat >"$tmp/stdin" \
17114 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
17119 ac_dir
=`$as_dirname -- "$ac_file" ||
17120 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17121 X"$ac_file" : 'X\(//\)[^/]' \| \
17122 X"$ac_file" : 'X\(//\)$' \| \
17123 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17124 $as_echo X"$ac_file" |
17125 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17129 /^X\(\/\/\)[^/].*/{
17142 as_dir
="$ac_dir"; as_fn_mkdir_p
17146 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17148 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17149 # A ".." for each directory in $ac_dir_suffix.
17150 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17151 case $ac_top_builddir_sub in
17152 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17153 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17156 ac_abs_top_builddir
=$ac_pwd
17157 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17158 # for backward compatibility:
17159 ac_top_builddir
=$ac_top_build_prefix
17162 .
) # We are building in place.
17164 ac_top_srcdir
=$ac_top_builddir_sub
17165 ac_abs_top_srcdir
=$ac_pwd ;;
17166 [\\/]* | ?
:[\\/]* ) # Absolute name.
17167 ac_srcdir
=$srcdir$ac_dir_suffix;
17168 ac_top_srcdir
=$srcdir
17169 ac_abs_top_srcdir
=$srcdir ;;
17170 *) # Relative name.
17171 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17172 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17173 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17175 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17185 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17186 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17188 ac_MKDIR_P
=$MKDIR_P
17190 [\\/$
]* | ?
:[\\/]* ) ;;
17191 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
17195 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17196 # If the template does not know about datarootdir, expand it.
17197 # FIXME: This hack should be removed a few years after 2.60.
17198 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17209 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17210 *datarootdir
*) ac_datarootdir_seen
=yes;;
17211 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17213 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17215 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17216 ac_datarootdir_hack='
17217 s&@datadir@&$datadir&g
17218 s&@docdir@&$docdir&g
17219 s&@infodir@&$infodir&g
17220 s&@localedir@&$localedir&g
17221 s&@mandir@&$mandir&g
17222 s&\\\${datarootdir}&$datarootdir&g' ;;
17226 # Neutralize VPATH when `$srcdir' = `.'.
17227 # Shell code in configure.ac might set extrasub.
17228 # FIXME: do we really want to maintain this feature?
17229 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17230 ac_sed_extra="$ac_vpsub
17233 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17235 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17236 s|@configure_input@|
$ac_sed_conf_input|
;t t
17237 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17238 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17239 s
&@srcdir@
&$ac_srcdir&;t t
17240 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17241 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17242 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17243 s
&@builddir@
&$ac_builddir&;t t
17244 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17245 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17246 s
&@INSTALL@
&$ac_INSTALL&;t t
17247 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17248 $ac_datarootdir_hack
17250 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
17251 || as_fn_error "could not create
$ac_file" "$LINENO" 5
17253 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17254 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
17255 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
17256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17257 which seems to be undefined. Please make sure it is defined." >&5
17258 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17259 which seems to be undefined. Please make sure it is defined." >&2;}
17263 -) cat "$tmp/out" && rm -f "$tmp/out";;
17264 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17266 || as_fn_error "could not create $ac_file" "$LINENO" 5
17272 if test x"$ac_file" != x-; then
17274 $as_echo "/* $configure_input */" \
17275 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17276 } >"$tmp/config.h" \
17277 || as_fn_error "could not create $ac_file" "$LINENO" 5
17278 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17279 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17280 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17283 mv "$tmp/config.h" "$ac_file" \
17284 || as_fn_error "could not create $ac_file" "$LINENO" 5
17287 $as_echo "/* $configure_input */" \
17288 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17289 || as_fn_error "could not create -" "$LINENO" 5
17291 # Compute "$ac_file"'s index
in $config_headers.
17294 for _am_header
in $config_headers :; do
17295 case $_am_header in
17296 $_am_arg |
$_am_arg:* )
17299 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17302 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17303 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17304 X"$_am_arg" : 'X\(//\)[^/]' \| \
17305 X"$_am_arg" : 'X\(//\)$' \| \
17306 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17307 $as_echo X"$_am_arg" |
17308 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17312 /^X\(\/\/\)[^/].*/{
17324 s/.*/./; q'`/stamp-h
$_am_stamp_count
17327 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17328 $as_echo "$as_me: executing $ac_file commands" >&6;}
17333 case $ac_file$ac_mode in
17335 # Only add multilib support code if we just rebuilt the top-level
17337 case " $CONFIG_FILES " in
17339 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
17342 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
17343 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17344 # are listed without --file. Let's play safe and only enable the eval
17345 # if we detect the quoting.
17346 case $CONFIG_FILES in
17347 *\'*) eval set x
"$CONFIG_FILES" ;;
17348 *) set x
$CONFIG_FILES ;;
17353 # Strip MF so we end up with the name of the file.
17354 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17355 # Check whether this is an Automake generated Makefile or not.
17356 # We used to match only the files named `Makefile.in', but
17357 # some people rename them; so instead we look at the file content.
17358 # Grep'ing the first line is not enough: some people post-process
17359 # each Makefile.in and add a new line on top of each file to say so.
17360 # Grep'ing the whole file is not good either: AIX grep has a line
17361 # limit of 2048, but all sed's we know have understand at least 4000.
17362 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17363 dirpart
=`$as_dirname -- "$mf" ||
17364 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17365 X"$mf" : 'X\(//\)[^/]' \| \
17366 X"$mf" : 'X\(//\)$' \| \
17367 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17369 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17373 /^X\(\/\/\)[^/].*/{
17389 # Extract the definition of DEPDIR, am__include, and am__quote
17390 # from the Makefile without running `make'.
17391 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17392 test -z "$DEPDIR" && continue
17393 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17394 test -z "am__include" && continue
17395 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17396 # When using ansi2knr, U may be empty or an underscore; expand it
17397 U
=`sed -n 's/^U = //p' < "$mf"`
17398 # Find all dependency output files, they are included files with
17399 # $(DEPDIR) in their names. We invoke sed twice because it is the
17400 # simplest approach to changing $(DEPDIR) to its actual value in the
17402 for file in `sed -n "
17403 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17404 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17405 # Make sure the directory exists.
17406 test -f "$dirpart/$file" && continue
17407 fdir
=`$as_dirname -- "$file" ||
17408 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17409 X"$file" : 'X\(//\)[^/]' \| \
17410 X"$file" : 'X\(//\)$' \| \
17411 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17412 $as_echo X"$file" |
17413 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17417 /^X\(\/\/\)[^/].*/{
17430 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17431 # echo "creating $dirpart/$file"
17432 echo '# dummy' > "$dirpart/$file"
17439 # See if we are running on zsh, and set the options which allow our
17440 # commands through without removal of \ escapes.
17441 if test -n "${ZSH_VERSION+set}" ; then
17442 setopt NO_GLOB_SUBST
17445 cfgfile
="${ofile}T"
17446 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17449 cat <<_LT_EOF >> "$cfgfile"
17452 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17453 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17454 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17455 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17457 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17458 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
17459 # Written by Gordon Matzigkeit, 1996
17461 # This file is part of GNU Libtool.
17463 # GNU Libtool is free software; you can redistribute it and/or
17464 # modify it under the terms of the GNU General Public License as
17465 # published by the Free Software Foundation; either version 2 of
17466 # the License, or (at your option) any later version.
17468 # As a special exception to the GNU General Public License,
17469 # if you distribute this file as part of a program or library that
17470 # is built using GNU Libtool, you may include this file under the
17471 # same distribution terms that you use for the rest of that program.
17473 # GNU Libtool is distributed in the hope that it will be useful,
17474 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17475 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17476 # GNU General Public License for more details.
17478 # You should have received a copy of the GNU General Public License
17479 # along with GNU Libtool; see the file COPYING. If not, a copy
17480 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17481 # obtained by writing to the Free Software Foundation, Inc.,
17482 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17485 # The names of the tagged configurations supported by this script.
17486 available_tags="GO "
17488 # ### BEGIN LIBTOOL CONFIG
17490 # A sed program that does not truncate output.
17493 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17494 Xsed="\$SED -e 1s/^X//"
17496 # A grep program that handles long lines.
17502 # A literal string matcher.
17505 # Shell to use when invoking shell scripts.
17508 # An echo program that protects backslashes.
17511 # Which release of libtool.m4 was used?
17512 macro_version=$macro_version
17513 macro_revision=$macro_revision
17515 # Whether or not to build shared libraries.
17516 build_libtool_libs=$enable_shared
17518 # Whether or not to build static libraries.
17519 build_old_libs=$enable_static
17521 # What type of objects to build.
17524 # Whether or not to optimize for fast installation.
17525 fast_install=$enable_fast_install
17528 host_alias=$host_alias
17532 # The build system.
17533 build_alias=$build_alias
17537 # A BSD- or MS-compatible name lister.
17540 # Whether we need soft or hard links.
17543 # What is the maximum length of a command?
17544 max_cmd_len=$max_cmd_len
17546 # Object file suffix (normally "o").
17549 # Executable file suffix (normally "").
17552 # whether the shell understands "unset".
17555 # turn spaces into newlines.
17558 # turn newlines into spaces.
17561 # An object symbol dumper.
17562 OBJDUMP=$lt_OBJDUMP
17564 # Method to check whether dependent libraries are shared objects.
17565 deplibs_check_method=$lt_deplibs_check_method
17567 # Command to use when deplibs_check_method == "file_magic".
17568 file_magic_cmd=$lt_file_magic_cmd
17572 AR_FLAGS=$lt_AR_FLAGS
17574 # A symbol stripping program.
17577 # Commands used to install an old-style archive.
17579 old_postinstall_cmds=$lt_old_postinstall_cmds
17580 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17582 # Whether to use a lock for old archive extraction.
17583 lock_old_archive_extraction=$lock_old_archive_extraction
17588 # LTCC compiler flags.
17589 LTCFLAGS=$lt_CFLAGS
17591 # Take the output of nm and produce a listing of raw symbols and C names.
17592 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17594 # Transform the output of nm in a proper C declaration.
17595 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17597 # Transform the output of nm in a C name address pair.
17598 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17600 # Transform the output of nm in a C name address pair when lib prefix is needed.
17601 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17603 # The name of the directory that contains temporary libtool files.
17606 # Used to examine libraries when file_magic_cmd begins with "file".
17607 MAGIC_CMD=$MAGIC_CMD
17609 # Must we lock files when doing compilation?
17610 need_locks=$lt_need_locks
17612 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17613 DSYMUTIL=$lt_DSYMUTIL
17615 # Tool to change global to local symbols on Mac OS X.
17618 # Tool to manipulate fat objects and archives on Mac OS X.
17621 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17624 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17625 OTOOL64=$lt_OTOOL64
17627 # Old archive suffix (normally "a").
17630 # Shared library suffix (normally ".so").
17631 shrext_cmds=$lt_shrext_cmds
17633 # The commands to extract the exported symbol list from a shared archive.
17634 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17636 # Variables whose values should be saved in libtool wrapper scripts and
17637 # restored at link time.
17638 variables_saved_for_relink=$lt_variables_saved_for_relink
17640 # Do we need the "lib" prefix for modules?
17641 need_lib_prefix=$need_lib_prefix
17643 # Do we need a version for libraries?
17644 need_version=$need_version
17646 # Library versioning type.
17647 version_type=$version_type
17649 # Shared library runtime path variable.
17650 runpath_var=$runpath_var
17652 # Shared library path variable.
17653 shlibpath_var=$shlibpath_var
17655 # Is shlibpath searched before the hard-coded library search path?
17656 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17658 # Format of library name prefix.
17659 libname_spec=$lt_libname_spec
17661 # List of archive names. First name is the real one, the rest are links.
17662 # The last name is the one that the linker finds with -lNAME
17663 library_names_spec=$lt_library_names_spec
17665 # The coded name of the library, if different from the real name.
17666 soname_spec=$lt_soname_spec
17668 # Permission mode override for installation of shared libraries.
17669 install_override_mode=$lt_install_override_mode
17671 # Command to use after installation of a shared archive.
17672 postinstall_cmds=$lt_postinstall_cmds
17674 # Command to use after uninstallation of a shared archive.
17675 postuninstall_cmds=$lt_postuninstall_cmds
17677 # Commands used to finish a libtool library installation in a directory.
17678 finish_cmds=$lt_finish_cmds
17680 # As "finish_cmds", except a single script fragment to be evaled but
17682 finish_eval=$lt_finish_eval
17684 # Whether we should hardcode library paths into libraries.
17685 hardcode_into_libs=$hardcode_into_libs
17687 # Compile-time system search path for libraries.
17688 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17690 # Run-time system search path for libraries.
17691 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17693 # Whether dlopen is supported.
17694 dlopen_support=$enable_dlopen
17696 # Whether dlopen of programs is supported.
17697 dlopen_self=$enable_dlopen_self
17699 # Whether dlopen of statically linked programs is supported.
17700 dlopen_self_static=$enable_dlopen_self_static
17702 # Commands to strip libraries.
17703 old_striplib=$lt_old_striplib
17704 striplib=$lt_striplib
17707 # The linker used to build libraries.
17710 # How to create reloadable object files.
17711 reload_flag=$lt_reload_flag
17712 reload_cmds=$lt_reload_cmds
17714 # Commands used to build an old-style archive.
17715 old_archive_cmds=$lt_old_archive_cmds
17717 # A language specific compiler.
17720 # Is the compiler the GNU compiler?
17723 # Compiler flag to turn off builtin functions.
17724 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17726 # How to pass a linker flag through the compiler.
17727 wl=$lt_lt_prog_compiler_wl
17729 # Additional compiler flags for building library objects.
17730 pic_flag=$lt_lt_prog_compiler_pic
17732 # Compiler flag to prevent dynamic linking.
17733 link_static_flag=$lt_lt_prog_compiler_static
17735 # Does compiler simultaneously support -c and -o options?
17736 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17738 # Whether or not to add -lc for building shared libraries.
17739 build_libtool_need_lc=$archive_cmds_need_lc
17741 # Whether or not to disallow shared libs when runtime libs are static.
17742 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17744 # Compiler flag to allow reflexive dlopens.
17745 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17747 # Compiler flag to generate shared objects directly from archives.
17748 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17750 # Whether the compiler copes with passing no objects directly.
17751 compiler_needs_object=$lt_compiler_needs_object
17753 # Create an old-style archive from a shared archive.
17754 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17756 # Create a temporary old-style archive to link instead of a shared archive.
17757 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17759 # Commands used to build a shared archive.
17760 archive_cmds=$lt_archive_cmds
17761 archive_expsym_cmds=$lt_archive_expsym_cmds
17763 # Commands used to build a loadable module if different from building
17764 # a shared archive.
17765 module_cmds=$lt_module_cmds
17766 module_expsym_cmds=$lt_module_expsym_cmds
17768 # Whether we are building with GNU ld or not.
17769 with_gnu_ld=$lt_with_gnu_ld
17771 # Flag that allows shared libraries with undefined symbols to be built.
17772 allow_undefined_flag=$lt_allow_undefined_flag
17774 # Flag that enforces no undefined symbols.
17775 no_undefined_flag=$lt_no_undefined_flag
17777 # Flag to hardcode \$libdir into a binary during linking.
17778 # This must work even if \$libdir does not exist
17779 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17781 # If ld is used when linking, flag to hardcode \$libdir into a binary
17782 # during linking. This must work even if \$libdir does not exist.
17783 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17785 # Whether we need a single "-rpath" flag with a separated argument.
17786 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17788 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17789 # DIR into the resulting binary.
17790 hardcode_direct=$hardcode_direct
17792 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17793 # DIR into the resulting binary and the resulting library dependency is
17794 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17795 # library is relocated.
17796 hardcode_direct_absolute=$hardcode_direct_absolute
17798 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17799 # into the resulting binary.
17800 hardcode_minus_L=$hardcode_minus_L
17802 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17803 # into the resulting binary.
17804 hardcode_shlibpath_var=$hardcode_shlibpath_var
17806 # Set to "yes" if building a shared library automatically hardcodes DIR
17807 # into the library and all subsequent libraries and executables linked
17809 hardcode_automatic=$hardcode_automatic
17811 # Set to yes if linker adds runtime paths of dependent libraries
17812 # to runtime path list.
17813 inherit_rpath=$inherit_rpath
17815 # Whether libtool must link a program against all its dependency libraries.
17816 link_all_deplibs=$link_all_deplibs
17818 # Fix the shell variable \$srcfile for the compiler.
17819 fix_srcfile_path=$lt_fix_srcfile_path
17821 # Set to "yes" if exported symbols are required.
17822 always_export_symbols=$always_export_symbols
17824 # The commands to list exported symbols.
17825 export_symbols_cmds=$lt_export_symbols_cmds
17827 # Symbols that should not be listed in the preloaded symbols.
17828 exclude_expsyms=$lt_exclude_expsyms
17830 # Symbols that must always be exported.
17831 include_expsyms=$lt_include_expsyms
17833 # Commands necessary for linking programs (against libraries) with templates.
17834 prelink_cmds=$lt_prelink_cmds
17836 # Specify filename containing input files.
17837 file_list_spec=$lt_file_list_spec
17839 # How to hardcode a shared library path into an executable.
17840 hardcode_action=$hardcode_action
17842 # ### END LIBTOOL CONFIG
17848 cat <<\_LT_EOF
>> "$cfgfile"
17849 # AIX sometimes has problems with the GCC collect2 program. For some
17850 # reason, if we set the COLLECT_NAMES environment variable, the problems
17851 # vanish in a puff of smoke.
17852 if test "X${COLLECT_NAMES+set}" != Xset
; then
17854 export COLLECT_NAMES
17861 ltmain
="$ac_aux_dir/ltmain.sh"
17864 # We use sed instead of cat because bash on DJGPP gets confused if
17865 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17866 # text mode, it properly converts lines to CR/LF. This bash problem
17867 # is reportedly fixed, but why not run on old versions too?
17868 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17869 ||
(rm -f "$cfgfile"; exit 1)
17873 cat << \_LT_EOF
>> "$cfgfile"
17875 # func_dirname file append nondir_replacement
17876 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17877 # otherwise set result to NONDIR_REPLACEMENT.
17881 */*) func_dirname_result
="${1%/*}${2}" ;;
17882 * ) func_dirname_result
="${3}" ;;
17886 # func_basename file
17889 func_basename_result
="${1##*/}"
17892 # func_dirname_and_basename file append nondir_replacement
17893 # perform func_basename and func_dirname in a single function
17895 # dirname: Compute the dirname of FILE. If nonempty,
17896 # add APPEND to the result, otherwise set result
17897 # to NONDIR_REPLACEMENT.
17898 # value returned in "$func_dirname_result"
17899 # basename: Compute filename of FILE.
17900 # value retuned in "$func_basename_result"
17901 # Implementation must be kept synchronized with func_dirname
17902 # and func_basename. For efficiency, we do not delegate to
17903 # those functions but instead duplicate the functionality here.
17904 func_dirname_and_basename
()
17907 */*) func_dirname_result
="${1%/*}${2}" ;;
17908 * ) func_dirname_result
="${3}" ;;
17910 func_basename_result
="${1##*/}"
17913 # func_stripname prefix suffix name
17914 # strip PREFIX and SUFFIX off of NAME.
17915 # PREFIX and SUFFIX must not contain globbing or regex special
17916 # characters, hashes, percent signs, but SUFFIX may contain a leading
17917 # dot (in which case that matches only a dot).
17920 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17921 # positional parameters, so assign one to ordinary parameter first.
17922 func_stripname_result
=${3}
17923 func_stripname_result
=${func_stripname_result#"${1}"}
17924 func_stripname_result
=${func_stripname_result%"${2}"}
17930 func_opt_split_opt
=${1%%=*}
17931 func_opt_split_arg
=${1#*=}
17938 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17939 *) func_lo2o_result
=${1} ;;
17943 # func_xform libobj-or-source
17946 func_xform_result
=${1%.*}.lo
17949 # func_arith arithmetic-term...
17952 func_arith_result
=$
(( $
* ))
17956 # STRING may not start with a hyphen.
17959 func_len_result
=${#1}
17964 *) # Bourne compatible functions.
17965 cat << \_LT_EOF
>> "$cfgfile"
17967 # func_dirname file append nondir_replacement
17968 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17969 # otherwise set result to NONDIR_REPLACEMENT.
17972 # Extract subdirectory from the argument.
17973 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17974 if test "X$func_dirname_result" = "X${1}"; then
17975 func_dirname_result
="${3}"
17977 func_dirname_result
="$func_dirname_result${2}"
17981 # func_basename file
17984 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17988 # func_stripname prefix suffix name
17989 # strip PREFIX and SUFFIX off of NAME.
17990 # PREFIX and SUFFIX must not contain globbing or regex special
17991 # characters, hashes, percent signs, but SUFFIX may contain a leading
17992 # dot (in which case that matches only a dot).
17993 # func_strip_suffix prefix name
17997 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17998 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
18003 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
18004 my_sed_long_arg
='1s/^-[^=]*=//'
18009 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
18010 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
18016 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
18019 # func_xform libobj-or-source
18022 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
18025 # func_arith arithmetic-term...
18028 func_arith_result
=`expr "$@"`
18032 # STRING may not start with a hyphen.
18035 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18041 case $lt_shell_append in
18043 cat << \_LT_EOF
>> "$cfgfile"
18045 # func_append var value
18046 # Append VALUE to the end of shell variable VAR.
18054 cat << \_LT_EOF
>> "$cfgfile"
18056 # func_append var value
18057 # Append VALUE to the end of shell variable VAR.
18068 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18069 ||
(rm -f "$cfgfile"; exit 1)
18071 mv -f "$cfgfile" "$ofile" ||
18072 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18076 cat <<_LT_EOF >> "$ofile"
18078 # ### BEGIN LIBTOOL TAG CONFIG: GO
18080 # The linker used to build libraries.
18083 # How to create reloadable object files.
18084 reload_flag=$lt_reload_flag_GO
18085 reload_cmds=$lt_reload_cmds_GO
18087 # Commands used to build an old-style archive.
18088 old_archive_cmds=$lt_old_archive_cmds_GO
18090 # A language specific compiler.
18093 # Is the compiler the GNU compiler?
18096 # Compiler flag to turn off builtin functions.
18097 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GO
18099 # How to pass a linker flag through the compiler.
18100 wl=$lt_lt_prog_compiler_wl_GO
18102 # Additional compiler flags for building library objects.
18103 pic_flag=$lt_lt_prog_compiler_pic_GO
18105 # Compiler flag to prevent dynamic linking.
18106 link_static_flag=$lt_lt_prog_compiler_static_GO
18108 # Does compiler simultaneously support -c and -o options?
18109 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GO
18111 # Whether or not to add -lc for building shared libraries.
18112 build_libtool_need_lc=$archive_cmds_need_lc_GO
18114 # Whether or not to disallow shared libs when runtime libs are static.
18115 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GO
18117 # Compiler flag to allow reflexive dlopens.
18118 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GO
18120 # Compiler flag to generate shared objects directly from archives.
18121 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GO
18123 # Whether the compiler copes with passing no objects directly.
18124 compiler_needs_object=$lt_compiler_needs_object_GO
18126 # Create an old-style archive from a shared archive.
18127 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GO
18129 # Create a temporary old-style archive to link instead of a shared archive.
18130 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GO
18132 # Commands used to build a shared archive.
18133 archive_cmds=$lt_archive_cmds_GO
18134 archive_expsym_cmds=$lt_archive_expsym_cmds_GO
18136 # Commands used to build a loadable module if different from building
18137 # a shared archive.
18138 module_cmds=$lt_module_cmds_GO
18139 module_expsym_cmds=$lt_module_expsym_cmds_GO
18141 # Whether we are building with GNU ld or not.
18142 with_gnu_ld=$lt_with_gnu_ld_GO
18144 # Flag that allows shared libraries with undefined symbols to be built.
18145 allow_undefined_flag=$lt_allow_undefined_flag_GO
18147 # Flag that enforces no undefined symbols.
18148 no_undefined_flag=$lt_no_undefined_flag_GO
18150 # Flag to hardcode \$libdir into a binary during linking.
18151 # This must work even if \$libdir does not exist
18152 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GO
18154 # If ld is used when linking, flag to hardcode \$libdir into a binary
18155 # during linking. This must work even if \$libdir does not exist.
18156 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GO
18158 # Whether we need a single "-rpath" flag with a separated argument.
18159 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GO
18161 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18162 # DIR into the resulting binary.
18163 hardcode_direct=$hardcode_direct_GO
18165 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18166 # DIR into the resulting binary and the resulting library dependency is
18167 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18168 # library is relocated.
18169 hardcode_direct_absolute=$hardcode_direct_absolute_GO
18171 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18172 # into the resulting binary.
18173 hardcode_minus_L=$hardcode_minus_L_GO
18175 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18176 # into the resulting binary.
18177 hardcode_shlibpath_var=$hardcode_shlibpath_var_GO
18179 # Set to "yes" if building a shared library automatically hardcodes DIR
18180 # into the library and all subsequent libraries and executables linked
18182 hardcode_automatic=$hardcode_automatic_GO
18184 # Set to yes if linker adds runtime paths of dependent libraries
18185 # to runtime path list.
18186 inherit_rpath=$inherit_rpath_GO
18188 # Whether libtool must link a program against all its dependency libraries.
18189 link_all_deplibs=$link_all_deplibs_GO
18191 # Fix the shell variable \$srcfile for the compiler.
18192 fix_srcfile_path=$lt_fix_srcfile_path_GO
18194 # Set to "yes" if exported symbols are required.
18195 always_export_symbols=$always_export_symbols_GO
18197 # The commands to list exported symbols.
18198 export_symbols_cmds=$lt_export_symbols_cmds_GO
18200 # Symbols that should not be listed in the preloaded symbols.
18201 exclude_expsyms=$lt_exclude_expsyms_GO
18203 # Symbols that must always be exported.
18204 include_expsyms=$lt_include_expsyms_GO
18206 # Commands necessary for linking programs (against libraries) with templates.
18207 prelink_cmds=$lt_prelink_cmds_GO
18209 # Specify filename containing input files.
18210 file_list_spec=$lt_file_list_spec_GO
18212 # How to hardcode a shared library path into an executable.
18213 hardcode_action=$hardcode_action_GO
18215 # ### END LIBTOOL TAG CONFIG: GO
18219 "default":C
) if test -n "$CONFIG_FILES"; then
18220 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
18221 # that multilib installs will end up installed in the correct place.
18222 # The testsuite needs it for multilib-aware ABI baseline files.
18223 # To work around this not being passed down from config-ml.in ->
18224 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
18225 # append it here. Only modify Makefiles that have just been created.
18227 # Also, get rid of this simulated-VPATH thing that automake does.
18228 cat > vpsed
<< \_EOF
18229 s
!`test -f '$<' || echo '$(srcdir)/'`!!
18231 for i
in $SUBDIRS; do
18232 case $CONFIG_FILES in
18234 #echo "Adding MULTISUBDIR to $i/Makefile"
18235 sed -f vpsed
$i/Makefile
> tmp
18236 grep '^MULTISUBDIR =' Makefile
>> tmp
18251 ac_clean_files
=$ac_clean_files_save
18253 test $ac_write_fail = 0 ||
18254 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18257 # configure is writing to config.log, and then calls config.status.
18258 # config.status does its own redirection, appending to config.log.
18259 # Unfortunately, on DOS this fails, as config.log is still kept open
18260 # by configure, so config.status won't be able to write to it; its
18261 # output is simply discarded. So we exec the FD to /dev/null,
18262 # effectively closing config.log, so it can be properly (re)opened and
18263 # appended to by config.status. When coming back to configure, we
18264 # need to make the FD available again.
18265 if test "$no_create" != yes; then
18267 ac_config_status_args
=
18268 test "$silent" = yes &&
18269 ac_config_status_args
="$ac_config_status_args --quiet"
18271 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18273 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18274 # would make configure fail if this is the last instruction.
18275 $ac_cs_success || as_fn_exit $?
18277 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18279 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}