2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for package-unused version-unused.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
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.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev
/null
; then :
213 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
218 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir
=.
225 for as_base
in sh bash ksh sh5
; do
226 # Try only shells that exist, to save several forks.
227 as_shell
=$as_dir/$as_base
228 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 CONFIG_SHELL
=$as_shell as_have_required
=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
239 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
241 CONFIG_SHELL
=$SHELL as_have_required
=yes
246 if test "x$CONFIG_SHELL" != x
; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
256 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x
$as_have_required = xno
; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x
${ZSH_VERSION+set} = xset
; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL
=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE
= GREP_OPTIONS
=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir
=.
/$as_dir;;
329 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
333 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs
="'$as_qdir' $as_dirs"
337 as_dir
=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
363 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p
()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
406 as_val
=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status
=$1; test $as_status -eq 0 && as_status
=1
420 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit
$as_status
427 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
434 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
446 as_me
=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits
='0123456789'
470 as_cr_alnum
=$as_cr_Letters$as_cr_digits
473 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
474 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x
"$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec
=no
; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C
= ECHO_N
= ECHO_T
=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
521 rm -f conf$$ conf$$.exe conf$$.
file
522 if test -d conf$$.dir
; then
523 rm -f conf$$.dir
/conf$$.
file
526 mkdir conf$$.dir
2>/dev
/null
528 if (echo >conf$$.
file) 2>/dev
/null
; then
529 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
537 elif ln conf$$.
file conf$$
2>/dev
/null
; then
545 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
546 rmdir conf$$.dir
2>/dev
/null
548 if mkdir
-p .
2>/dev
/null
; then
549 as_mkdir_p
='mkdir -p "$as_dir"'
551 test -d .
/-p && rmdir .
/-p
556 as_executable_p
=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL
=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix
=/usr
/local
580 ac_config_libobj_dir
=.
587 # Identity of this package.
588 PACKAGE_NAME
='package-unused'
589 PACKAGE_TARNAME
='libgo'
590 PACKAGE_VERSION
='version-unused'
591 PACKAGE_STRING
='package-unused version-unused'
595 ac_unique_file
="Makefile.am"
596 # Factoring default headers for most tests.
597 ac_includes_default
="\
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
609 # ifdef HAVE_STDLIB_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
632 ac_subst_vars
='am__EXEEXT_FALSE
636 HAVE_STAT_TIMESPEC_FALSE
637 HAVE_STAT_TIMESPEC_TRUE
638 STRUCT_EPOLL_EVENT_FD_OFFSET
639 SIZEOF_STRUCT_EPOLL_EVENT
644 HAVE_STRERROR_R_FALSE
646 HAVE_SYS_MMAN_H_FALSE
655 USING_SPLIT_STACK_FALSE
656 USING_SPLIT_STACK_TRUE
660 GO_SYSCALL_OS_ARCH_FILE
662 GO_LIBCALL_OS_ARCH_FILE
679 LIBGO_IS_SOLARIS_FALSE
680 LIBGO_IS_SOLARIS_TRUE
683 LIBGO_IS_DRAGONFLY_FALSE
684 LIBGO_IS_DRAGONFLY_TRUE
685 LIBGO_IS_OPENBSD_FALSE
686 LIBGO_IS_OPENBSD_TRUE
687 LIBGO_IS_NETBSD_FALSE
693 LIBGO_IS_FREEBSD_FALSE
694 LIBGO_IS_FREEBSD_TRUE
695 LIBGO_IS_DARWIN_FALSE
703 nover_glibgo_toolexeclibdir
704 glibgo_toolexeclibdir
732 MAINTAINER_MODE_FALSE
734 am__fastdepCCAS_FALSE
770 INSTALL_STRIP_PROGRAM
826 program_transform_name
839 enable_option_checking
842 enable_dependency_tracking
843 enable_maintainer_mode
851 enable_version_specific_runtime_libs
855 with_system_libunwind
857 ac_precious_vars
='build_alias
864 # Initialize some variables set by options.
866 ac_init_version
=false
867 ac_unrecognized_opts
=
869 # The variables have the same names as the options, with
870 # dashes changed to underlines.
878 program_transform_name
=s
,x
,x
,
886 # Installation directory options.
887 # These are left unexpanded so users can "make install exec_prefix=/foo"
888 # and all the variables that are supposed to be based on exec_prefix
889 # by default will actually change.
890 # Use braces instead of parens because sh, perl, etc. also accept them.
891 # (The list follows the same order as the GNU Coding Standards.)
892 bindir
='${exec_prefix}/bin'
893 sbindir
='${exec_prefix}/sbin'
894 libexecdir
='${exec_prefix}/libexec'
895 datarootdir
='${prefix}/share'
896 datadir
='${datarootdir}'
897 sysconfdir
='${prefix}/etc'
898 sharedstatedir
='${prefix}/com'
899 localstatedir
='${prefix}/var'
900 includedir
='${prefix}/include'
901 oldincludedir
='/usr/include'
902 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
903 infodir
='${datarootdir}/info'
908 libdir
='${exec_prefix}/lib'
909 localedir
='${datarootdir}/locale'
910 mandir
='${datarootdir}/man'
916 # If the previous option needs an argument, assign it.
917 if test -n "$ac_prev"; then
918 eval $ac_prev=\
$ac_option
924 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
929 # Accept the important Cygnus configure options, so we can diagnose typos.
931 case $ac_dashdash$ac_option in
935 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
937 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
940 -build |
--build |
--buil |
--bui |
--bu)
941 ac_prev
=build_alias
;;
942 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
943 build_alias
=$ac_optarg ;;
945 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
946 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
947 ac_prev
=cache_file
;;
948 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
949 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
950 cache_file
=$ac_optarg ;;
953 cache_file
=config.cache
;;
955 -datadir |
--datadir |
--datadi |
--datad)
957 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
958 datadir
=$ac_optarg ;;
960 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
961 |
--dataroo |
--dataro |
--datar)
962 ac_prev
=datarootdir
;;
963 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
964 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
965 datarootdir
=$ac_optarg ;;
967 -disable-* |
--disable-*)
968 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
969 # Reject names that are not valid shell variable names.
970 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
971 as_fn_error $?
"invalid feature name: $ac_useropt"
972 ac_useropt_orig
=$ac_useropt
973 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
974 case $ac_user_opts in
978 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
979 ac_unrecognized_sep
=', ';;
981 eval enable_
$ac_useropt=no
;;
983 -docdir |
--docdir |
--docdi |
--doc |
--do)
985 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
988 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
990 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
993 -enable-* |
--enable-*)
994 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
995 # Reject names that are not valid shell variable names.
996 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
997 as_fn_error $?
"invalid feature name: $ac_useropt"
998 ac_useropt_orig
=$ac_useropt
999 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1000 case $ac_user_opts in
1002 "enable_
$ac_useropt"
1004 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1005 ac_unrecognized_sep
=', ';;
1007 eval enable_
$ac_useropt=\
$ac_optarg ;;
1009 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1010 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1011 |
--exec |
--exe |
--ex)
1012 ac_prev
=exec_prefix
;;
1013 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1014 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1015 |
--exec=* |
--exe=* |
--ex=*)
1016 exec_prefix
=$ac_optarg ;;
1018 -gas |
--gas |
--ga |
--g)
1019 # Obsolete; use --with-gas.
1022 -help |
--help |
--hel |
--he |
-h)
1023 ac_init_help
=long
;;
1024 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1025 ac_init_help
=recursive
;;
1026 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1027 ac_init_help
=short
;;
1029 -host |
--host |
--hos |
--ho)
1030 ac_prev
=host_alias
;;
1031 -host=* |
--host=* |
--hos=* |
--ho=*)
1032 host_alias
=$ac_optarg ;;
1034 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1036 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1038 htmldir
=$ac_optarg ;;
1040 -includedir |
--includedir |
--includedi |
--included |
--include \
1041 |
--includ |
--inclu |
--incl |
--inc)
1042 ac_prev
=includedir
;;
1043 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1044 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1045 includedir
=$ac_optarg ;;
1047 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1049 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1050 infodir
=$ac_optarg ;;
1052 -libdir |
--libdir |
--libdi |
--libd)
1054 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1055 libdir
=$ac_optarg ;;
1057 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1058 |
--libexe |
--libex |
--libe)
1059 ac_prev
=libexecdir
;;
1060 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1061 |
--libexe=* |
--libex=* |
--libe=*)
1062 libexecdir
=$ac_optarg ;;
1064 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1065 ac_prev
=localedir
;;
1066 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1067 localedir
=$ac_optarg ;;
1069 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1070 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1071 ac_prev
=localstatedir
;;
1072 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1073 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1074 localstatedir
=$ac_optarg ;;
1076 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1078 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1079 mandir
=$ac_optarg ;;
1081 -nfp |
--nfp |
--nf)
1082 # Obsolete; use --without-fp.
1085 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1086 |
--no-cr |
--no-c |
-n)
1089 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1090 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1093 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1094 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1095 |
--oldin |
--oldi |
--old |
--ol |
--o)
1096 ac_prev
=oldincludedir
;;
1097 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1098 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1099 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1100 oldincludedir
=$ac_optarg ;;
1102 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1104 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1105 prefix
=$ac_optarg ;;
1107 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1108 |
--program-pre |
--program-pr |
--program-p)
1109 ac_prev
=program_prefix
;;
1110 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1111 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1112 program_prefix
=$ac_optarg ;;
1114 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1115 |
--program-suf |
--program-su |
--program-s)
1116 ac_prev
=program_suffix
;;
1117 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1118 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1119 program_suffix
=$ac_optarg ;;
1121 -program-transform-name |
--program-transform-name \
1122 |
--program-transform-nam |
--program-transform-na \
1123 |
--program-transform-n |
--program-transform- \
1124 |
--program-transform |
--program-transfor \
1125 |
--program-transfo |
--program-transf \
1126 |
--program-trans |
--program-tran \
1127 |
--progr-tra |
--program-tr |
--program-t)
1128 ac_prev
=program_transform_name
;;
1129 -program-transform-name=* |
--program-transform-name=* \
1130 |
--program-transform-nam=* |
--program-transform-na=* \
1131 |
--program-transform-n=* |
--program-transform-=* \
1132 |
--program-transform=* |
--program-transfor=* \
1133 |
--program-transfo=* |
--program-transf=* \
1134 |
--program-trans=* |
--program-tran=* \
1135 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1136 program_transform_name
=$ac_optarg ;;
1138 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1140 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1141 pdfdir
=$ac_optarg ;;
1143 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1145 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1148 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1149 |
-silent |
--silent |
--silen |
--sile |
--sil)
1152 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1154 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1156 sbindir
=$ac_optarg ;;
1158 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1159 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1160 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1162 ac_prev
=sharedstatedir
;;
1163 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1164 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1165 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1167 sharedstatedir
=$ac_optarg ;;
1169 -site |
--site |
--sit)
1171 -site=* |
--site=* |
--sit=*)
1174 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1176 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1177 srcdir
=$ac_optarg ;;
1179 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1180 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1181 ac_prev
=sysconfdir
;;
1182 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1183 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1184 sysconfdir
=$ac_optarg ;;
1186 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1187 ac_prev
=target_alias
;;
1188 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1189 target_alias
=$ac_optarg ;;
1191 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1194 -version |
--version |
--versio |
--versi |
--vers |
-V)
1195 ac_init_version
=: ;;
1198 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1199 # Reject names that are not valid shell variable names.
1200 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1201 as_fn_error $?
"invalid package name: $ac_useropt"
1202 ac_useropt_orig
=$ac_useropt
1203 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1204 case $ac_user_opts in
1208 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1209 ac_unrecognized_sep
=', ';;
1211 eval with_
$ac_useropt=\
$ac_optarg ;;
1213 -without-* |
--without-*)
1214 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1215 # Reject names that are not valid shell variable names.
1216 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1217 as_fn_error $?
"invalid package name: $ac_useropt"
1218 ac_useropt_orig
=$ac_useropt
1219 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1220 case $ac_user_opts in
1224 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1225 ac_unrecognized_sep
=', ';;
1227 eval with_
$ac_useropt=no
;;
1230 # Obsolete; use --with-x.
1233 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1234 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1235 ac_prev
=x_includes
;;
1236 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1237 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1238 x_includes
=$ac_optarg ;;
1240 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1241 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1242 ac_prev
=x_libraries
;;
1243 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1244 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1245 x_libraries
=$ac_optarg ;;
1247 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1248 Try \`$0 --help' for more information"
1252 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1253 # Reject names that are not valid shell variable names.
1254 case $ac_envvar in #(
1255 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1256 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1258 eval $ac_envvar=\
$ac_optarg
1259 export $ac_envvar ;;
1262 # FIXME: should be removed in autoconf 3.0.
1263 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1264 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1265 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1266 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1272 if test -n "$ac_prev"; then
1273 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1274 as_fn_error $?
"missing argument to $ac_option"
1277 if test -n "$ac_unrecognized_opts"; then
1278 case $enable_option_checking in
1280 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1281 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1285 # Check all directory arguments for consistency.
1286 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1287 datadir sysconfdir sharedstatedir localstatedir includedir \
1288 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1289 libdir localedir mandir
1291 eval ac_val
=\$
$ac_var
1292 # Remove trailing slashes.
1295 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1296 eval $ac_var=\
$ac_val;;
1298 # Be sure to have absolute directory names.
1300 [\\/$
]* | ?
:[\\/]* ) continue;;
1301 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1303 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1306 # There might be people who depend on the old broken behavior: `$host'
1307 # used to hold the argument of --host etc.
1308 # FIXME: To remove some day.
1311 target
=$target_alias
1313 # FIXME: To remove some day.
1314 if test "x$host_alias" != x
; then
1315 if test "x$build_alias" = x
; then
1316 cross_compiling
=maybe
1317 elif test "x$build_alias" != "x$host_alias"; then
1323 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1325 test "$silent" = yes && exec 6>/dev
/null
1328 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1329 ac_ls_di
=`ls -di .` &&
1330 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1331 as_fn_error $?
"working directory cannot be determined"
1332 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1333 as_fn_error $?
"pwd does not report name of working directory"
1336 # Find the source files, if location was not specified.
1337 if test -z "$srcdir"; then
1338 ac_srcdir_defaulted
=yes
1339 # Try the directory containing this script, then the parent directory.
1340 ac_confdir
=`$as_dirname -- "$as_myself" ||
1341 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1342 X"$as_myself" : 'X\(//\)[^/]' \| \
1343 X"$as_myself" : 'X\(//\)$' \| \
1344 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1345 $as_echo X"$as_myself" |
1346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1364 if test ! -r "$srcdir/$ac_unique_file"; then
1368 ac_srcdir_defaulted
=no
1370 if test ! -r "$srcdir/$ac_unique_file"; then
1371 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1372 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1374 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1376 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1378 # When building in place, set srcdir=.
1379 if test "$ac_abs_confdir" = "$ac_pwd"; then
1382 # Remove unnecessary trailing slashes from srcdir.
1383 # Double slashes in file names in object file debugging info
1384 # mess up M-x gdb in Emacs.
1386 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1388 for ac_var
in $ac_precious_vars; do
1389 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1390 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1391 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1392 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1396 # Report the --help message.
1398 if test "$ac_init_help" = "long"; then
1399 # Omit some internal or obsolete options to make the list less imposing.
1400 # This message is too long to be a string in the A/UX 3.1 sh.
1402 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1404 Usage: $0 [OPTION]... [VAR=VALUE]...
1406 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1407 VAR=VALUE. See below for descriptions of some of the useful variables.
1409 Defaults for the options are specified in brackets.
1412 -h, --help display this help and exit
1413 --help=short display options specific to this package
1414 --help=recursive display the short help of all the included packages
1415 -V, --version display version information and exit
1416 -q, --quiet, --silent do not print \`checking ...' messages
1417 --cache-file=FILE cache test results in FILE [disabled]
1418 -C, --config-cache alias for \`--cache-file=config.cache'
1419 -n, --no-create do not create output files
1420 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1422 Installation directories:
1423 --prefix=PREFIX install architecture-independent files in PREFIX
1424 [$ac_default_prefix]
1425 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1428 By default, \`make install' will install all the files in
1429 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1430 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1431 for instance \`--prefix=\$HOME'.
1433 For better control, use the options below.
1435 Fine tuning of the installation directories:
1436 --bindir=DIR user executables [EPREFIX/bin]
1437 --sbindir=DIR system admin executables [EPREFIX/sbin]
1438 --libexecdir=DIR program executables [EPREFIX/libexec]
1439 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1440 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1441 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1442 --libdir=DIR object code libraries [EPREFIX/lib]
1443 --includedir=DIR C header files [PREFIX/include]
1444 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1445 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1446 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1447 --infodir=DIR info documentation [DATAROOTDIR/info]
1448 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1449 --mandir=DIR man documentation [DATAROOTDIR/man]
1450 --docdir=DIR documentation root [DATAROOTDIR/doc/libgo]
1451 --htmldir=DIR html documentation [DOCDIR]
1452 --dvidir=DIR dvi documentation [DOCDIR]
1453 --pdfdir=DIR pdf documentation [DOCDIR]
1454 --psdir=DIR ps documentation [DOCDIR]
1460 --program-prefix=PREFIX prepend PREFIX to installed program names
1461 --program-suffix=SUFFIX append SUFFIX to installed program names
1462 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1465 --build=BUILD configure
for building on BUILD
[guessed
]
1466 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1467 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1471 if test -n "$ac_init_help"; then
1472 case $ac_init_help in
1473 short | recursive
) echo "Configuration of package-unused version-unused:";;
1478 --disable-option-checking ignore unrecognized
--enable/--with options
1479 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1480 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1481 --enable-multilib build many library versions
(default
)
1482 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1483 --disable-silent-rules verbose build output
(undo
: "make V=0")
1484 --enable-dependency-tracking
1485 do not reject slow dependency extractors
1486 --disable-dependency-tracking
1487 speeds up one-time build
1488 --enable-maintainer-mode
1489 enable make rules and dependencies not useful
(and
1490 sometimes confusing
) to the casual installer
1491 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1492 --enable-static[=PKGS
] build static libraries
[default
=yes]
1493 --enable-fast-install[=PKGS
]
1494 optimize
for fast installation
[default
=yes]
1495 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1496 --enable-werror turns on
-Werror [default
=yes]
1497 --enable-version-specific-runtime-libs
1498 Specify that runtime libraries should be installed
1499 in a compiler-specific directory
1502 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1503 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1504 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1505 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1507 --with-toolexeclibdir=DIR
1508 install libraries built with a cross compiler within
1510 --without-libffi don
't use libffi
1511 --without-libatomic don't use libatomic
1512 --with-system-libunwind use installed libunwind
1514 Some influential environment variables
:
1515 CC C compiler
command
1516 CFLAGS C compiler flags
1517 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1518 nonstandard directory
<lib dir
>
1519 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1520 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1521 you have headers
in a nonstandard directory
<include dir
>
1522 GOC Go compiler
command
1523 GOFLAGS Go compiler flags
1524 CCAS assembler compiler
command (defaults to CC
)
1525 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1528 Use these variables to override the choices made by
`configure' or to help
1529 it to find libraries and programs with nonstandard names/locations.
1531 Report bugs to the package provider.
1536 if test "$ac_init_help" = "recursive"; then
1537 # If there are subdirs, report their specific --help.
1538 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1539 test -d "$ac_dir" ||
1540 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1545 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1547 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1548 # A ".." for each directory in $ac_dir_suffix.
1549 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1550 case $ac_top_builddir_sub in
1551 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1552 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1555 ac_abs_top_builddir=$ac_pwd
1556 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1557 # for backward compatibility:
1558 ac_top_builddir=$ac_top_build_prefix
1561 .) # We are building in place.
1563 ac_top_srcdir=$ac_top_builddir_sub
1564 ac_abs_top_srcdir=$ac_pwd ;;
1565 [\\/]* | ?:[\\/]* ) # Absolute name.
1566 ac_srcdir=$srcdir$ac_dir_suffix;
1567 ac_top_srcdir=$srcdir
1568 ac_abs_top_srcdir=$srcdir ;;
1570 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1571 ac_top_srcdir=$ac_top_build_prefix$srcdir
1572 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1574 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1576 cd "$ac_dir" || { ac_status=$?; continue; }
1577 # Check for guested configure.
1578 if test -f "$ac_srcdir/configure.gnu"; then
1580 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1581 elif test -f "$ac_srcdir/configure"; then
1583 $SHELL "$ac_srcdir/configure" --help=recursive
1585 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1587 cd "$ac_pwd" || { ac_status=$?; break; }
1591 test -n "$ac_init_help" && exit $ac_status
1592 if $ac_init_version; then
1594 package-unused configure version-unused
1595 generated by GNU Autoconf 2.69
1597 Copyright (C) 2012 Free Software Foundation, Inc.
1598 This configure script is free software; the Free Software Foundation
1599 gives unlimited permission to copy, distribute and modify it.
1604 ## ------------------------ ##
1605 ## Autoconf initialization. ##
1606 ## ------------------------ ##
1608 # ac_fn_c_try_compile LINENO
1609 # --------------------------
1610 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1611 ac_fn_c_try_compile ()
1613 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1614 rm -f conftest.$ac_objext
1615 if { { ac_try="$ac_compile"
1617 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1618 *) ac_try_echo
=$ac_try;;
1620 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1621 $as_echo "$ac_try_echo"; } >&5
1622 (eval "$ac_compile") 2>conftest.err
1624 if test -s conftest.err
; then
1625 grep -v '^ *+' conftest.err
>conftest.er1
1626 cat conftest.er1
>&5
1627 mv -f conftest.er1 conftest.err
1629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1630 test $ac_status = 0; } && {
1631 test -z "$ac_c_werror_flag" ||
1632 test ! -s conftest.err
1633 } && test -s conftest.
$ac_objext; then :
1636 $as_echo "$as_me: failed program was:" >&5
1637 sed 's/^/| /' conftest.
$ac_ext >&5
1641 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1642 as_fn_set_status
$ac_retval
1644 } # ac_fn_c_try_compile
1646 # ac_fn_c_try_link LINENO
1647 # -----------------------
1648 # Try to link conftest.$ac_ext, and return whether this succeeded.
1651 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1652 rm -f conftest.
$ac_objext conftest
$ac_exeext
1653 if { { ac_try
="$ac_link"
1655 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1656 *) ac_try_echo=$ac_try;;
1658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1659 $as_echo "$ac_try_echo"; } >&5
1660 (eval "$ac_link") 2>conftest.err
1662 if test -s conftest.err; then
1663 grep -v '^ *+' conftest.err >conftest.er1
1664 cat conftest.er1 >&5
1665 mv -f conftest.er1 conftest.err
1667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1668 test $ac_status = 0; } && {
1669 test -z "$ac_c_werror_flag" ||
1670 test ! -s conftest.err
1671 } && test -s conftest$ac_exeext && {
1672 test "$cross_compiling" = yes ||
1673 test -x conftest$ac_exeext
1677 $as_echo "$as_me: failed program was:" >&5
1678 sed 's/^/| /' conftest.$ac_ext >&5
1682 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1683 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1684 # interfere with the next link command; also delete a directory that is
1685 # left behind by Apple's compiler. We do this before executing the actions.
1686 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1687 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1688 as_fn_set_status $ac_retval
1690 } # ac_fn_c_try_link
1692 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1693 # -------------------------------------------------------
1694 # Tests whether HEADER exists and can be compiled using the include files in
1695 # INCLUDES, setting the cache variable VAR accordingly.
1696 ac_fn_c_check_header_compile ()
1698 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1700 $as_echo_n "checking for $2... " >&6; }
1701 if eval \${$3+:} false; then :
1702 $as_echo_n "(cached) " >&6
1704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1705 /* end confdefs.h. */
1709 if ac_fn_c_try_compile "$LINENO"; then :
1714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1718 $as_echo "$ac_res" >&6; }
1719 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1721 } # ac_fn_c_check_header_compile
1723 # ac_fn_c_try_cpp LINENO
1724 # ----------------------
1725 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1728 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1729 if { { ac_try="$ac_cpp conftest.$ac_ext"
1731 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1732 *) ac_try_echo
=$ac_try;;
1734 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1735 $as_echo "$ac_try_echo"; } >&5
1736 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1738 if test -s conftest.err
; then
1739 grep -v '^ *+' conftest.err
>conftest.er1
1740 cat conftest.er1
>&5
1741 mv -f conftest.er1 conftest.err
1743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1744 test $ac_status = 0; } > conftest.i
&& {
1745 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1746 test ! -s conftest.err
1750 $as_echo "$as_me: failed program was:" >&5
1751 sed 's/^/| /' conftest.
$ac_ext >&5
1755 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1756 as_fn_set_status
$ac_retval
1760 # ac_fn_c_try_run LINENO
1761 # ----------------------
1762 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1763 # that executables *can* be run.
1766 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1767 if { { ac_try
="$ac_link"
1769 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1770 *) ac_try_echo=$ac_try;;
1772 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1773 $as_echo "$ac_try_echo"; } >&5
1774 (eval "$ac_link") 2>&5
1776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1777 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1778 { { case "(($ac_try" in
1779 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1780 *) ac_try_echo
=$ac_try;;
1782 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1783 $as_echo "$ac_try_echo"; } >&5
1784 (eval "$ac_try") 2>&5
1786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1787 test $ac_status = 0; }; }; then :
1790 $as_echo "$as_me: program exited with status $ac_status" >&5
1791 $as_echo "$as_me: failed program was:" >&5
1792 sed 's/^/| /' conftest.
$ac_ext >&5
1794 ac_retval
=$ac_status
1796 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1797 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1798 as_fn_set_status
$ac_retval
1802 # ac_fn_c_check_func LINENO FUNC VAR
1803 # ----------------------------------
1804 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1805 ac_fn_c_check_func
()
1807 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1809 $as_echo_n "checking for $2... " >&6; }
1810 if eval \
${$3+:} false
; then :
1811 $as_echo_n "(cached) " >&6
1813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1814 /* end confdefs.h. */
1815 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1817 #define $2 innocuous_$2
1819 /* System header to define __stub macros and hopefully few prototypes,
1820 which can conflict with char $2 (); below.
1821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1822 <limits.h> exists even on freestanding compilers. */
1825 # include <limits.h>
1827 # include <assert.h>
1832 /* Override any GCC internal prototype to avoid an error.
1833 Use char because int might match the return type of a GCC
1834 builtin and then its argument prototype would still apply. */
1839 /* The GNU C library defines this for functions which it implements
1840 to always fail with ENOSYS. Some functions are actually named
1841 something starting with __ and the normal name is an alias. */
1842 #if defined __stub_$2 || defined __stub___$2
1854 if ac_fn_c_try_link
"$LINENO"; then :
1859 rm -f core conftest.err conftest.
$ac_objext \
1860 conftest
$ac_exeext conftest.
$ac_ext
1863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1864 $as_echo "$ac_res" >&6; }
1865 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1867 } # ac_fn_c_check_func
1869 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1870 # -------------------------------------------------------
1871 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1872 # the include files in INCLUDES and setting the cache variable VAR
1874 ac_fn_c_check_header_mongrel
()
1876 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1877 if eval \
${$3+:} false
; then :
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1879 $as_echo_n "checking for $2... " >&6; }
1880 if eval \
${$3+:} false
; then :
1881 $as_echo_n "(cached) " >&6
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1885 $as_echo "$ac_res" >&6; }
1887 # Is the header compilable?
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1889 $as_echo_n "checking $2 usability... " >&6; }
1890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1891 /* end confdefs.h. */
1895 if ac_fn_c_try_compile
"$LINENO"; then :
1896 ac_header_compiler
=yes
1898 ac_header_compiler
=no
1900 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1902 $as_echo "$ac_header_compiler" >&6; }
1904 # Is the header present?
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1906 $as_echo_n "checking $2 presence... " >&6; }
1907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1908 /* end confdefs.h. */
1911 if ac_fn_c_try_cpp
"$LINENO"; then :
1912 ac_header_preproc
=yes
1914 ac_header_preproc
=no
1916 rm -f conftest.err conftest.i conftest.
$ac_ext
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1918 $as_echo "$ac_header_preproc" >&6; }
1920 # So? What about this header?
1921 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1924 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1926 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1930 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1932 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1934 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1936 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1938 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1942 $as_echo_n "checking for $2... " >&6; }
1943 if eval \
${$3+:} false
; then :
1944 $as_echo_n "(cached) " >&6
1946 eval "$3=\$ac_header_compiler"
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1950 $as_echo "$ac_res" >&6; }
1952 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1954 } # ac_fn_c_check_header_mongrel
1956 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1957 # -------------------------------------------
1958 # Tests whether TYPE exists after having included INCLUDES, setting cache
1959 # variable VAR accordingly.
1960 ac_fn_c_check_type
()
1962 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1964 $as_echo_n "checking for $2... " >&6; }
1965 if eval \
${$3+:} false
; then :
1966 $as_echo_n "(cached) " >&6
1969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1970 /* end confdefs.h. */
1981 if ac_fn_c_try_compile
"$LINENO"; then :
1982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1983 /* end confdefs.h. */
1994 if ac_fn_c_try_compile
"$LINENO"; then :
1999 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2001 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2005 $as_echo "$ac_res" >&6; }
2006 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2008 } # ac_fn_c_check_type
2010 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2011 # --------------------------------------------
2012 # Tries to find the compile-time value of EXPR in a program that includes
2013 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2015 ac_fn_c_compute_int
()
2017 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2018 if test "$cross_compiling" = yes; then
2019 # Depending upon the size, compute the lo and hi bounds.
2020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2021 /* end confdefs.h. */
2026 static int test_array [1 - 2 * !(($2) >= 0)];
2028 return test_array [0];
2034 if ac_fn_c_try_compile
"$LINENO"; then :
2037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2038 /* end confdefs.h. */
2043 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2045 return test_array [0];
2051 if ac_fn_c_try_compile
"$LINENO"; then :
2052 ac_hi
=$ac_mid; break
2054 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2055 if test $ac_lo -le $ac_mid; then
2059 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2061 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2065 /* end confdefs.h. */
2070 static int test_array [1 - 2 * !(($2) < 0)];
2072 return test_array [0];
2078 if ac_fn_c_try_compile
"$LINENO"; then :
2081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2082 /* end confdefs.h. */
2087 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2089 return test_array [0];
2095 if ac_fn_c_try_compile
"$LINENO"; then :
2096 ac_lo
=$ac_mid; break
2098 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2099 if test $ac_mid -le $ac_hi; then
2103 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2110 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2112 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2113 # Binary search between lo and hi bounds.
2114 while test "x$ac_lo" != "x$ac_hi"; do
2115 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2117 /* end confdefs.h. */
2122 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2124 return test_array [0];
2130 if ac_fn_c_try_compile
"$LINENO"; then :
2133 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2135 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2138 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2143 /* end confdefs.h. */
2145 static long int longval () { return $2; }
2146 static unsigned long int ulongval () { return $2; }
2153 FILE *f = fopen ("conftest.val", "w");
2158 long int i = longval ();
2161 fprintf (f, "%ld", i);
2165 unsigned long int i = ulongval ();
2168 fprintf (f, "%lu", i);
2170 /* Do not output a trailing newline, as this causes \r\n confusion
2171 on some platforms. */
2172 return ferror (f) || fclose (f) != 0;
2178 if ac_fn_c_try_run
"$LINENO"; then :
2179 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2183 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2184 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2188 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2189 as_fn_set_status
$ac_retval
2191 } # ac_fn_c_compute_int
2192 cat >config.log
<<_ACEOF
2193 This file contains any messages produced by compilers while
2194 running configure, to aid debugging if configure makes a mistake.
2196 It was created by package-unused $as_me version-unused, which was
2197 generated by GNU Autoconf 2.69. Invocation command line was
2209 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2210 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2211 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2212 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2213 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2215 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2216 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2218 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2219 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2220 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2221 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2222 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2223 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2224 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2232 test -z "$as_dir" && as_dir
=.
2233 $as_echo "PATH: $as_dir"
2249 # Keep a trace of the command line.
2250 # Strip out --no-create and --no-recursion so they do not pile up.
2251 # Strip out --silent because we don't want to record it for future runs.
2252 # Also quote any args containing shell meta-characters.
2253 # Make two passes to allow for proper duplicate-argument suppression.
2257 ac_must_keep_next
=false
2263 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2264 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2265 |
-silent |
--silent |
--silen |
--sile |
--sil)
2268 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2271 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2273 as_fn_append ac_configure_args1
" '$ac_arg'"
2274 if test $ac_must_keep_next = true
; then
2275 ac_must_keep_next
=false
# Got value, back to normal.
2278 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2279 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2280 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2281 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2282 case "$ac_configure_args0 " in
2283 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2286 -* ) ac_must_keep_next
=true
;;
2289 as_fn_append ac_configure_args
" '$ac_arg'"
2294 { ac_configure_args0
=; unset ac_configure_args0
;}
2295 { ac_configure_args1
=; unset ac_configure_args1
;}
2297 # When interrupted or exit'd, cleanup temporary files, and complete
2298 # config.log. We remove comments because anyway the quotes in there
2299 # would cause problems or look ugly.
2300 # WARNING: Use '\'' to represent an apostrophe within the trap.
2301 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2302 trap 'exit_status=$?
2303 # Save into config.log some information that might help in debugging.
2307 $as_echo "## ---------------- ##
2308 ## Cache variables. ##
2309 ## ---------------- ##"
2311 # The following way of writing the cache mishandles newlines in values,
2313 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2314 eval ac_val=\$$ac_var
2318 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2319 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2322 _ | IFS | as_nl) ;; #(
2323 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2324 *) { eval $ac_var=; unset $ac_var;} ;;
2329 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2330 *${as_nl}ac_space=\ *)
2332 "s/'\''/'\''\\\\'\'''\''/g;
2333 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2336 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2343 $as_echo "## ----------------- ##
2344 ## Output variables. ##
2345 ## ----------------- ##"
2347 for ac_var in $ac_subst_vars
2349 eval ac_val=\$$ac_var
2351 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2353 $as_echo "$ac_var='\''$ac_val'\''"
2357 if test -n "$ac_subst_files"; then
2358 $as_echo "## ------------------- ##
2359 ## File substitutions. ##
2360 ## ------------------- ##"
2362 for ac_var
in $ac_subst_files
2364 eval ac_val
=\$
$ac_var
2366 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2368 $as_echo "$ac_var='\''$ac_val'\''"
2373 if test -s confdefs.h; then
2374 $as_echo "## ----------- ##
2381 test "$ac_signal" != 0 &&
2382 $as_echo "$as_me: caught signal $ac_signal"
2383 $as_echo "$as_me: exit $exit_status"
2385 rm -f core *.core core.conftest.* &&
2386 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2389 for ac_signal
in 1 2 13 15; do
2390 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2394 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2395 rm -f -r conftest
* confdefs.h
2397 $as_echo "/* confdefs.h */" > confdefs.h
2399 # Predefined preprocessor variables.
2401 cat >>confdefs.h
<<_ACEOF
2402 #define PACKAGE_NAME "$PACKAGE_NAME"
2405 cat >>confdefs.h
<<_ACEOF
2406 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2409 cat >>confdefs.h
<<_ACEOF
2410 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2413 cat >>confdefs.h
<<_ACEOF
2414 #define PACKAGE_STRING "$PACKAGE_STRING"
2417 cat >>confdefs.h
<<_ACEOF
2418 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2421 cat >>confdefs.h
<<_ACEOF
2422 #define PACKAGE_URL "$PACKAGE_URL"
2426 # Let the site file select an alternate cache file if it wants to.
2427 # Prefer an explicitly selected file to automatically selected ones.
2430 if test -n "$CONFIG_SITE"; then
2431 # We do not want a PATH search for config.site.
2432 case $CONFIG_SITE in #((
2433 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2434 */*) ac_site_file1
=$CONFIG_SITE;;
2435 *) ac_site_file1
=.
/$CONFIG_SITE;;
2437 elif test "x$prefix" != xNONE
; then
2438 ac_site_file1
=$prefix/share
/config.site
2439 ac_site_file2
=$prefix/etc
/config.site
2441 ac_site_file1
=$ac_default_prefix/share
/config.site
2442 ac_site_file2
=$ac_default_prefix/etc
/config.site
2444 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2446 test "x$ac_site_file" = xNONE
&& continue
2447 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2449 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2450 sed 's/^/| /' "$ac_site_file" >&5
2452 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2453 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2454 as_fn_error $?
"failed to load site script $ac_site_file
2455 See \`config.log' for more details" "$LINENO" 5; }
2459 if test -r "$cache_file"; then
2460 # Some versions of bash will fail to source /dev/null (special files
2461 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2462 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2464 $as_echo "$as_me: loading cache $cache_file" >&6;}
2466 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2467 *) .
"./$cache_file";;
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2472 $as_echo "$as_me: creating cache $cache_file" >&6;}
2476 # Check that the precious variables saved in the cache have kept the same
2478 ac_cache_corrupted
=false
2479 for ac_var
in $ac_precious_vars; do
2480 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2481 eval ac_new_set
=\
$ac_env_${ac_var}_set
2482 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2483 eval ac_new_val
=\
$ac_env_${ac_var}_value
2484 case $ac_old_set,$ac_new_set in
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2487 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2488 ac_cache_corrupted
=: ;;
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2491 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2492 ac_cache_corrupted
=: ;;
2495 if test "x$ac_old_val" != "x$ac_new_val"; then
2496 # differences in whitespace do not lead to failure.
2497 ac_old_val_w
=`echo x $ac_old_val`
2498 ac_new_val_w
=`echo x $ac_new_val`
2499 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2501 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2502 ac_cache_corrupted
=:
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2505 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2506 eval $ac_var=\
$ac_old_val
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2509 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2511 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2514 # Pass precious variables to config.status.
2515 if test "$ac_new_set" = set; then
2517 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2518 *) ac_arg
=$ac_var=$ac_new_val ;;
2520 case " $ac_configure_args " in
2521 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2522 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2526 if $ac_cache_corrupted; then
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2528 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2530 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2531 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2533 ## -------------------- ##
2534 ## Main body of script. ##
2535 ## -------------------- ##
2538 ac_cpp
='$CPP $CPPFLAGS'
2539 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2540 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2541 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2548 ac_config_headers
="$ac_config_headers config.h"
2551 libtool_VERSION
=16:0:0
2554 # Default to --enable-multilib
2555 # Check whether --enable-multilib was given.
2556 if test "${enable_multilib+set}" = set; then :
2557 enableval
=$enable_multilib; case "$enableval" in
2558 yes) multilib
=yes ;;
2560 *) as_fn_error $?
"bad value $enableval for multilib option" "$LINENO" 5 ;;
2567 # We may get other options which we leave undocumented:
2568 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2569 # See config-ml.in if you want the gory details.
2571 if test "$srcdir" = "."; then
2572 if test "$with_target_subdir" != "."; then
2573 multi_basedir
="$srcdir/$with_multisrctop../.."
2575 multi_basedir
="$srcdir/$with_multisrctop.."
2578 multi_basedir
="$srcdir/.."
2582 # Even if the default multilib is not a cross compilation,
2583 # it may be that some of the other multilibs are.
2584 if test $cross_compiling = no
&& test $multilib = yes \
2585 && test "x${with_multisubdir}" != x
; then
2586 cross_compiling
=maybe
2589 ac_config_commands
="$ac_config_commands default-1"
2593 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2594 if test -f "$ac_dir/install-sh"; then
2596 ac_install_sh
="$ac_aux_dir/install-sh -c"
2598 elif test -f "$ac_dir/install.sh"; then
2600 ac_install_sh
="$ac_aux_dir/install.sh -c"
2602 elif test -f "$ac_dir/shtool"; then
2604 ac_install_sh
="$ac_aux_dir/shtool install -c"
2608 if test -z "$ac_aux_dir"; then
2609 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2612 # These three variables are undocumented and unsupported,
2613 # and are intended to be withdrawn in a future Autoconf release.
2614 # They can cause serious problems if a builder's source tree is in a directory
2615 # whose full name contains unusual characters.
2616 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2617 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2618 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2621 # Make sure we can run config.sub.
2622 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2623 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2626 $as_echo_n "checking build system type... " >&6; }
2627 if ${ac_cv_build+:} false
; then :
2628 $as_echo_n "(cached) " >&6
2630 ac_build_alias
=$build_alias
2631 test "x$ac_build_alias" = x
&&
2632 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2633 test "x$ac_build_alias" = x
&&
2634 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2635 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2636 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2640 $as_echo "$ac_cv_build" >&6; }
2641 case $ac_cv_build in
2643 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2646 ac_save_IFS
=$IFS; IFS
='-'
2652 # Remember, the first character of IFS is used to create $*,
2653 # except with old shells:
2656 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2660 $as_echo_n "checking host system type... " >&6; }
2661 if ${ac_cv_host+:} false
; then :
2662 $as_echo_n "(cached) " >&6
2664 if test "x$host_alias" = x
; then
2665 ac_cv_host
=$ac_cv_build
2667 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2668 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2673 $as_echo "$ac_cv_host" >&6; }
2676 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2679 ac_save_IFS
=$IFS; IFS
='-'
2685 # Remember, the first character of IFS is used to create $*,
2686 # except with old shells:
2689 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2693 $as_echo_n "checking target system type... " >&6; }
2694 if ${ac_cv_target+:} false
; then :
2695 $as_echo_n "(cached) " >&6
2697 if test "x$target_alias" = x
; then
2698 ac_cv_target
=$ac_cv_host
2700 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2701 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2706 $as_echo "$ac_cv_target" >&6; }
2707 case $ac_cv_target in
2709 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2711 target
=$ac_cv_target
2712 ac_save_IFS
=$IFS; IFS
='-'
2718 # Remember, the first character of IFS is used to create $*,
2719 # except with old shells:
2722 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2725 # The aliases save the names the user supplied, while $host etc.
2726 # will get canonicalized.
2727 test -n "$target_alias" &&
2728 test "$program_prefix$program_suffix$program_transform_name" = \
2730 program_prefix
=${target_alias}-
2732 target_alias
=${target_alias-$host_alias}
2734 am__api_version
='1.15'
2736 # Find a good install program. We prefer a C program (faster),
2737 # so one script is as good as another. But avoid the broken or
2738 # incompatible versions:
2739 # SysV /etc/install, /usr/sbin/install
2740 # SunOS /usr/etc/install
2741 # IRIX /sbin/install
2743 # AmigaOS /C/install, which installs bootblocks on floppy discs
2744 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2745 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2746 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2747 # OS/2's system install, which has a completely different semantic
2748 # ./install, which can be erroneously created by make from ./install.sh.
2749 # Reject install programs that cannot install multiple files.
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2751 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2752 if test -z "$INSTALL"; then
2753 if ${ac_cv_path_install+:} false
; then :
2754 $as_echo_n "(cached) " >&6
2756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2760 test -z "$as_dir" && as_dir
=.
2761 # Account for people who put trailing slashes in PATH elements.
2762 case $as_dir/ in #((
2763 .
/ | .
// |
/[cC
]/* | \
2764 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2765 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2768 # OSF1 and SCO ODT 3.0 have their own names for install.
2769 # Don't use installbsd from OSF since it installs stuff as root
2771 for ac_prog
in ginstall scoinst
install; do
2772 for ac_exec_ext
in '' $ac_executable_extensions; do
2773 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2774 if test $ac_prog = install &&
2775 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2776 # AIX install. It has an incompatible calling convention.
2778 elif test $ac_prog = install &&
2779 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2780 # program-specific install script used by HP pwplus--don't use.
2783 rm -rf conftest.one conftest.two conftest.dir
2784 echo one
> conftest.one
2785 echo two
> conftest.two
2787 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2788 test -s conftest.one
&& test -s conftest.two
&&
2789 test -s conftest.dir
/conftest.one
&&
2790 test -s conftest.dir
/conftest.two
2792 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2805 rm -rf conftest.one conftest.two conftest.dir
2808 if test "${ac_cv_path_install+set}" = set; then
2809 INSTALL
=$ac_cv_path_install
2811 # As a last resort, use the slow shell script. Don't cache a
2812 # value for INSTALL within a source directory, because that will
2813 # break other packages using the cache if that directory is
2814 # removed, or if the value is a relative name.
2815 INSTALL
=$ac_install_sh
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2819 $as_echo "$INSTALL" >&6; }
2821 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2822 # It thinks the first close brace ends the variable substitution.
2823 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2825 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2827 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2830 $as_echo_n "checking whether build environment is sane... " >&6; }
2831 # Reject unsafe characters in $srcdir or the absolute working directory
2832 # name. Accept space and tab only in the latter.
2836 *[\\\"\
#\$\&\'\`$am_lf]*)
2837 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2840 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2841 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2844 # Do 'set' in a subshell so we don't clobber the current shell's
2845 # arguments. Must try -L first in case configure is actually a
2846 # symlink; some systems play weird games with the mod time of symlinks
2847 # (eg FreeBSD returns the mod time of the symlink's containing
2851 for am_try
in 1 2; do
2852 echo "timestamp, slept: $am_has_slept" > conftest.
file
2853 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2854 if test "$*" = "X"; then
2856 set X
`ls -t "$srcdir/configure" conftest.file`
2858 if test "$*" != "X $srcdir/configure conftest.file" \
2859 && test "$*" != "X conftest.file $srcdir/configure"; then
2861 # If neither matched, then we have a broken ls. This can happen
2862 # if, for instance, CONFIG_SHELL is bash and it inherits a
2863 # broken ls alias from the environment. This has actually
2864 # happened. Such a system could not be considered "sane".
2865 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2866 alias in your environment" "$LINENO" 5
2868 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2875 test "$2" = conftest.
file
2881 as_fn_error $?
"newly created file is older than distributed files!
2882 Check your system clock" "$LINENO" 5
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2885 $as_echo "yes" >&6; }
2886 # If we didn't sleep, we still need to ensure time stamps of config.status and
2887 # generated files are strictly newer.
2889 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2896 test "$program_prefix" != NONE
&&
2897 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2898 # Use a double $ so make ignores it.
2899 test "$program_suffix" != NONE
&&
2900 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2901 # Double any \ or $.
2902 # By default was `s,x,x', remove it if useless.
2903 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2904 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2906 # Expand $ac_aux_dir to an absolute path.
2907 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2909 if test x
"${MISSING+set}" != xset
; then
2912 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2914 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2917 # Use eval to expand $SHELL
2918 if eval "$MISSING --is-lightweight"; then
2919 am_missing_run
="$MISSING "
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2923 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2926 if test x
"${install_sh+set}" != xset
; then
2929 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2931 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2935 # Installed binaries are usually stripped using 'strip' when the user
2936 # run "make install-strip". However 'strip' might not be the right
2937 # tool to use in cross-compilation environments, therefore Automake
2938 # will honor the 'STRIP' environment variable to overrule this program.
2939 if test "$cross_compiling" != no
; then
2940 if test -n "$ac_tool_prefix"; then
2941 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2942 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2944 $as_echo_n "checking for $ac_word... " >&6; }
2945 if ${ac_cv_prog_STRIP+:} false
; then :
2946 $as_echo_n "(cached) " >&6
2948 if test -n "$STRIP"; then
2949 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2955 test -z "$as_dir" && as_dir
=.
2956 for ac_exec_ext
in '' $ac_executable_extensions; do
2957 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2958 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2968 STRIP
=$ac_cv_prog_STRIP
2969 if test -n "$STRIP"; then
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2971 $as_echo "$STRIP" >&6; }
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2974 $as_echo "no" >&6; }
2979 if test -z "$ac_cv_prog_STRIP"; then
2981 # Extract the first word of "strip", so it can be a program name with args.
2982 set dummy strip
; ac_word
=$2
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2984 $as_echo_n "checking for $ac_word... " >&6; }
2985 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2986 $as_echo_n "(cached) " >&6
2988 if test -n "$ac_ct_STRIP"; then
2989 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2995 test -z "$as_dir" && as_dir
=.
2996 for ac_exec_ext
in '' $ac_executable_extensions; do
2997 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2998 ac_cv_prog_ac_ct_STRIP
="strip"
2999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3008 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3009 if test -n "$ac_ct_STRIP"; then
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3011 $as_echo "$ac_ct_STRIP" >&6; }
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3014 $as_echo "no" >&6; }
3017 if test "x$ac_ct_STRIP" = x
; then
3020 case $cross_compiling:$ac_tool_warned in
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3023 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3024 ac_tool_warned
=yes ;;
3029 STRIP
="$ac_cv_prog_STRIP"
3033 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3036 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3037 if test -z "$MKDIR_P"; then
3038 if ${ac_cv_path_mkdir+:} false
; then :
3039 $as_echo_n "(cached) " >&6
3041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3042 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3045 test -z "$as_dir" && as_dir
=.
3046 for ac_prog
in mkdir gmkdir
; do
3047 for ac_exec_ext
in '' $ac_executable_extensions; do
3048 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3049 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3050 'mkdir (GNU coreutils) '* | \
3051 'mkdir (coreutils) '* | \
3052 'mkdir (fileutils) '4.1*)
3053 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3063 test -d .
/--version && rmdir .
/--version
3064 if test "${ac_cv_path_mkdir+set}" = set; then
3065 MKDIR_P
="$ac_cv_path_mkdir -p"
3067 # As a last resort, use the slow shell script. Don't cache a
3068 # value for MKDIR_P within a source directory, because that will
3069 # break other packages using the cache if that directory is
3070 # removed, or if the value is a relative name.
3071 MKDIR_P
="$ac_install_sh -d"
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3075 $as_echo "$MKDIR_P" >&6; }
3077 for ac_prog
in gawk mawk nawk
awk
3079 # Extract the first word of "$ac_prog", so it can be a program name with args.
3080 set dummy
$ac_prog; ac_word
=$2
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3082 $as_echo_n "checking for $ac_word... " >&6; }
3083 if ${ac_cv_prog_AWK+:} false
; then :
3084 $as_echo_n "(cached) " >&6
3086 if test -n "$AWK"; then
3087 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3093 test -z "$as_dir" && as_dir
=.
3094 for ac_exec_ext
in '' $ac_executable_extensions; do
3095 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3096 ac_cv_prog_AWK
="$ac_prog"
3097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3107 if test -n "$AWK"; then
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3109 $as_echo "$AWK" >&6; }
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3112 $as_echo "no" >&6; }
3116 test -n "$AWK" && break
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3120 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3122 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3123 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3124 $as_echo_n "(cached) " >&6
3126 cat >conftest.
make <<\_ACEOF
3129 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3131 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3132 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3134 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3136 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3140 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3142 $as_echo "yes" >&6; }
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3146 $as_echo "no" >&6; }
3147 SET_MAKE
="MAKE=${MAKE-make}"
3150 rm -rf .tst
2>/dev
/null
3151 mkdir .tst
2>/dev
/null
3152 if test -d .tst
; then
3157 rmdir .tst
2>/dev
/null
3159 # Check whether --enable-silent-rules was given.
3160 if test "${enable_silent_rules+set}" = set; then :
3161 enableval
=$enable_silent_rules;
3164 case $enable_silent_rules in # (((
3165 yes) AM_DEFAULT_VERBOSITY
=0;;
3166 no
) AM_DEFAULT_VERBOSITY
=1;;
3167 *) AM_DEFAULT_VERBOSITY
=1;;
3169 am_make
=${MAKE-make}
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3171 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3172 if ${am_cv_make_support_nested_variables+:} false
; then :
3173 $as_echo_n "(cached) " >&6
3175 if $as_echo 'TRUE=$(BAR$(V))
3181 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3182 am_cv_make_support_nested_variables
=yes
3184 am_cv_make_support_nested_variables
=no
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3188 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3189 if test $am_cv_make_support_nested_variables = yes; then
3191 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3193 AM_V
=$AM_DEFAULT_VERBOSITY
3194 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3198 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3199 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3200 # is not polluted with repeated "-I."
3201 am__isrc
=' -I$(srcdir)'
3202 # test to see if srcdir already configured
3203 if test -f $srcdir/config.status
; then
3204 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3208 # test whether we have cygpath
3209 if test -z "$CYGPATH_W"; then
3210 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3211 CYGPATH_W
='cygpath -w'
3218 # Define the identity of the package.
3220 VERSION
='version-unused'
3223 # Some tools Automake needs.
3225 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3228 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3231 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3234 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3237 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3239 # For better backward compatibility. To be removed once Automake 1.9.x
3240 # dies out for good. For more background, see:
3241 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3242 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3243 mkdir_p
='$(MKDIR_P)'
3245 # We need awk for the "check" target (and possibly the TAP driver). The
3246 # system "awk" is bad on some platforms.
3247 # Always define AMTAR for backward compatibility. Yes, it's still used
3248 # in the wild :-( We should find a proper way to deprecate it ...
3252 # We'll loop over all known methods to create a tar archive until one works.
3253 _am_tools
='gnutar pax cpio none'
3255 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3262 # POSIX will say in a future version that running "rm -f" with no argument
3263 # is OK; and we want to be able to make that assumption in our Makefile
3264 # recipes. So use an aggressive probe to check that the usage we want is
3265 # actually supported "in the wild" to an acceptable degree.
3266 # See automake bug#10828.
3267 # To make any issue more visible, cause the running configure to be aborted
3268 # by default if the 'rm' program in use doesn't match our expectations; the
3269 # user can still override this though.
3270 if rm -f && rm -fr && rm -rf; then : OK
; else
3274 Your 'rm' program seems unable to run without file operands specified
3275 on the command line, even when the '-f' option is present. This is contrary
3276 to the behaviour of most rm programs out there, and not conforming with
3277 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3279 Please tell bug-automake@gnu.org about your system, including the value
3280 of your $PATH and any error possibly output before this message. This
3281 can help us improve future automake versions.
3284 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3285 echo 'Configuration will proceed anyway, since you have set the' >&2
3286 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3290 Aborting the configuration process, to ensure you take notice of the issue.
3292 You can download and install GNU coreutils to get an 'rm' implementation
3293 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3295 If you want to complete the configuration process using your problematic
3296 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3297 to "yes", and re-run configure.
3300 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3310 ac_cpp
='$CPP $CPPFLAGS'
3311 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3312 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3313 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3314 if test -n "$ac_tool_prefix"; then
3315 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3316 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3318 $as_echo_n "checking for $ac_word... " >&6; }
3319 if ${ac_cv_prog_CC+:} false
; then :
3320 $as_echo_n "(cached) " >&6
3322 if test -n "$CC"; then
3323 ac_cv_prog_CC
="$CC" # Let the user override the test.
3325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3329 test -z "$as_dir" && as_dir
=.
3330 for ac_exec_ext
in '' $ac_executable_extensions; do
3331 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3332 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3343 if test -n "$CC"; then
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3345 $as_echo "$CC" >&6; }
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3348 $as_echo "no" >&6; }
3353 if test -z "$ac_cv_prog_CC"; then
3355 # Extract the first word of "gcc", so it can be a program name with args.
3356 set dummy gcc
; ac_word
=$2
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3358 $as_echo_n "checking for $ac_word... " >&6; }
3359 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3360 $as_echo_n "(cached) " >&6
3362 if test -n "$ac_ct_CC"; then
3363 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3369 test -z "$as_dir" && as_dir
=.
3370 for ac_exec_ext
in '' $ac_executable_extensions; do
3371 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3372 ac_cv_prog_ac_ct_CC
="gcc"
3373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3382 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3383 if test -n "$ac_ct_CC"; then
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3385 $as_echo "$ac_ct_CC" >&6; }
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3388 $as_echo "no" >&6; }
3391 if test "x$ac_ct_CC" = x
; then
3394 case $cross_compiling:$ac_tool_warned in
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3397 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3398 ac_tool_warned
=yes ;;
3406 if test -z "$CC"; then
3407 if test -n "$ac_tool_prefix"; then
3408 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3409 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3411 $as_echo_n "checking for $ac_word... " >&6; }
3412 if ${ac_cv_prog_CC+:} false
; then :
3413 $as_echo_n "(cached) " >&6
3415 if test -n "$CC"; then
3416 ac_cv_prog_CC
="$CC" # Let the user override the test.
3418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3422 test -z "$as_dir" && as_dir
=.
3423 for ac_exec_ext
in '' $ac_executable_extensions; do
3424 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3425 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3436 if test -n "$CC"; then
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3438 $as_echo "$CC" >&6; }
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3441 $as_echo "no" >&6; }
3447 if test -z "$CC"; then
3448 # Extract the first word of "cc", so it can be a program name with args.
3449 set dummy cc
; ac_word
=$2
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3451 $as_echo_n "checking for $ac_word... " >&6; }
3452 if ${ac_cv_prog_CC+:} false
; then :
3453 $as_echo_n "(cached) " >&6
3455 if test -n "$CC"; then
3456 ac_cv_prog_CC
="$CC" # Let the user override the test.
3459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3463 test -z "$as_dir" && as_dir
=.
3464 for ac_exec_ext
in '' $ac_executable_extensions; do
3465 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3466 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3467 ac_prog_rejected
=yes
3471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3478 if test $ac_prog_rejected = yes; then
3479 # We found a bogon in the path, so make sure we never use it.
3480 set dummy
$ac_cv_prog_CC
3482 if test $# != 0; then
3483 # We chose a different compiler from the bogus one.
3484 # However, it has the same basename, so the bogon will be chosen
3485 # first if we set CC to just the basename; use the full file name.
3487 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3493 if test -n "$CC"; then
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3495 $as_echo "$CC" >&6; }
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3498 $as_echo "no" >&6; }
3503 if test -z "$CC"; then
3504 if test -n "$ac_tool_prefix"; then
3505 for ac_prog
in cl.exe
3507 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3508 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3510 $as_echo_n "checking for $ac_word... " >&6; }
3511 if ${ac_cv_prog_CC+:} false
; then :
3512 $as_echo_n "(cached) " >&6
3514 if test -n "$CC"; then
3515 ac_cv_prog_CC
="$CC" # Let the user override the test.
3517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3521 test -z "$as_dir" && as_dir
=.
3522 for ac_exec_ext
in '' $ac_executable_extensions; do
3523 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3524 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3535 if test -n "$CC"; then
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3537 $as_echo "$CC" >&6; }
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3540 $as_echo "no" >&6; }
3544 test -n "$CC" && break
3547 if test -z "$CC"; then
3549 for ac_prog
in cl.exe
3551 # Extract the first word of "$ac_prog", so it can be a program name with args.
3552 set dummy
$ac_prog; ac_word
=$2
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3554 $as_echo_n "checking for $ac_word... " >&6; }
3555 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3556 $as_echo_n "(cached) " >&6
3558 if test -n "$ac_ct_CC"; then
3559 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3565 test -z "$as_dir" && as_dir
=.
3566 for ac_exec_ext
in '' $ac_executable_extensions; do
3567 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3568 ac_cv_prog_ac_ct_CC
="$ac_prog"
3569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3578 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3579 if test -n "$ac_ct_CC"; then
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3581 $as_echo "$ac_ct_CC" >&6; }
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3584 $as_echo "no" >&6; }
3588 test -n "$ac_ct_CC" && break
3591 if test "x$ac_ct_CC" = x
; then
3594 case $cross_compiling:$ac_tool_warned in
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3597 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3598 ac_tool_warned
=yes ;;
3607 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3608 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3609 as_fn_error $?
"no acceptable C compiler found in \$PATH
3610 See \`config.log' for more details" "$LINENO" 5; }
3612 # Provide some information about the compiler.
3613 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3616 for ac_option
in --version -v -V -qversion; do
3617 { { ac_try
="$ac_compiler $ac_option >&5"
3619 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3620 *) ac_try_echo=$ac_try;;
3622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3623 $as_echo "$ac_try_echo"; } >&5
3624 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3626 if test -s conftest.err; then
3628 ... rest of stderr output deleted ...
3629 10q' conftest.err >conftest.er1
3630 cat conftest.er1 >&5
3632 rm -f conftest.er1 conftest.err
3633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3634 test $ac_status = 0; }
3637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3638 /* end confdefs.h. */
3648 ac_clean_files_save=$ac_clean_files
3649 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3650 # Try to create an executable without -o first, disregard a.out.
3651 # It will help us diagnose broken compilers, and finding out an intuition
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3654 $as_echo_n "checking whether the C compiler works... " >&6; }
3655 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3657 # The possible output files:
3658 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3661 for ac_file in $ac_files
3664 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3665 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3670 if { { ac_try="$ac_link_default"
3672 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3673 *) ac_try_echo
=$ac_try;;
3675 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3676 $as_echo "$ac_try_echo"; } >&5
3677 (eval "$ac_link_default") 2>&5
3679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3680 test $ac_status = 0; }; then :
3681 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3682 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3683 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3684 # so that the user can short-circuit this test for compilers unknown to
3686 for ac_file
in $ac_files ''
3688 test -f "$ac_file" ||
continue
3690 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3693 # We found the default executable, but exeext='' is most
3697 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3699 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3701 # We set ac_cv_exeext here because the later test for it is not
3702 # safe: cross compilers may not add the suffix if given an `-o'
3703 # argument, so we may need to know it at that point already.
3704 # Even if this section looks crufty: it has the advantage of
3711 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3716 if test -z "$ac_file"; then :
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3718 $as_echo "no" >&6; }
3719 $as_echo "$as_me: failed program was:" >&5
3720 sed 's/^/| /' conftest.
$ac_ext >&5
3722 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3723 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3724 as_fn_error
77 "C compiler cannot create executables
3725 See \`config.log' for more details" "$LINENO" 5; }
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3728 $as_echo "yes" >&6; }
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3731 $as_echo_n "checking for C compiler default output file name... " >&6; }
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3733 $as_echo "$ac_file" >&6; }
3734 ac_exeext
=$ac_cv_exeext
3736 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3737 ac_clean_files
=$ac_clean_files_save
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3739 $as_echo_n "checking for suffix of executables... " >&6; }
3740 if { { ac_try
="$ac_link"
3742 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3743 *) ac_try_echo=$ac_try;;
3745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3746 $as_echo "$ac_try_echo"; } >&5
3747 (eval "$ac_link") 2>&5
3749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3750 test $ac_status = 0; }; then :
3751 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3752 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3753 # work properly (i.e., refer to `conftest.exe'), while it won't with
3755 for ac_file
in conftest.exe conftest conftest.
*; do
3756 test -f "$ac_file" ||
continue
3758 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3759 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3765 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3767 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3768 See \`config.log' for more details" "$LINENO" 5; }
3770 rm -f conftest conftest
$ac_cv_exeext
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3772 $as_echo "$ac_cv_exeext" >&6; }
3774 rm -f conftest.
$ac_ext
3775 EXEEXT
=$ac_cv_exeext
3777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3778 /* end confdefs.h. */
3783 FILE *f = fopen ("conftest.out", "w");
3784 return ferror (f) || fclose (f) != 0;
3790 ac_clean_files
="$ac_clean_files conftest.out"
3791 # Check that the compiler produces executables we can run. If not, either
3792 # the compiler is broken, or we cross compile.
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3794 $as_echo_n "checking whether we are cross compiling... " >&6; }
3795 if test "$cross_compiling" != yes; then
3796 { { ac_try
="$ac_link"
3798 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3799 *) ac_try_echo=$ac_try;;
3801 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3802 $as_echo "$ac_try_echo"; } >&5
3803 (eval "$ac_link") 2>&5
3805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3806 test $ac_status = 0; }
3807 if { ac_try='./conftest$ac_cv_exeext'
3808 { { case "(($ac_try" in
3809 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3810 *) ac_try_echo
=$ac_try;;
3812 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3813 $as_echo "$ac_try_echo"; } >&5
3814 (eval "$ac_try") 2>&5
3816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3817 test $ac_status = 0; }; }; then
3820 if test "$cross_compiling" = maybe
; then
3823 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3824 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3825 as_fn_error $?
"cannot run C compiled programs.
3826 If you meant to cross compile, use \`--host'.
3827 See \`config.log' for more details" "$LINENO" 5; }
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3832 $as_echo "$cross_compiling" >&6; }
3834 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3835 ac_clean_files
=$ac_clean_files_save
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3837 $as_echo_n "checking for suffix of object files... " >&6; }
3838 if ${ac_cv_objext+:} false
; then :
3839 $as_echo_n "(cached) " >&6
3841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3842 /* end confdefs.h. */
3852 rm -f conftest.o conftest.obj
3853 if { { ac_try
="$ac_compile"
3855 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3856 *) ac_try_echo=$ac_try;;
3858 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3859 $as_echo "$ac_try_echo"; } >&5
3860 (eval "$ac_compile") 2>&5
3862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3863 test $ac_status = 0; }; then :
3864 for ac_file in conftest.o conftest.obj conftest.*; do
3865 test -f "$ac_file" || continue;
3867 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3868 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3873 $as_echo "$as_me: failed program was:" >&5
3874 sed 's/^/| /' conftest.$ac_ext >&5
3876 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3877 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3878 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3879 See \
`config.log' for more details" "$LINENO" 5; }
3881 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3884 $as_echo "$ac_cv_objext" >&6; }
3885 OBJEXT=$ac_cv_objext
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3888 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3889 if ${ac_cv_c_compiler_gnu+:} false; then :
3890 $as_echo_n "(cached) " >&6
3892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3893 /* end confdefs.h. */
3906 if ac_fn_c_try_compile "$LINENO"; then :
3911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3912 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3916 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3917 if test $ac_compiler_gnu = yes; then
3922 ac_test_CFLAGS=${CFLAGS+set}
3923 ac_save_CFLAGS=$CFLAGS
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3925 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3926 if ${ac_cv_prog_cc_g+:} false; then :
3927 $as_echo_n "(cached) " >&6
3929 ac_save_c_werror_flag=$ac_c_werror_flag
3930 ac_c_werror_flag=yes
3933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3934 /* end confdefs.h. */
3944 if ac_fn_c_try_compile "$LINENO"; then :
3948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3949 /* end confdefs.h. */
3959 if ac_fn_c_try_compile "$LINENO"; then :
3962 ac_c_werror_flag=$ac_save_c_werror_flag
3964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3965 /* end confdefs.h. */
3975 if ac_fn_c_try_compile "$LINENO"; then :
3978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3983 ac_c_werror_flag=$ac_save_c_werror_flag
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3986 $as_echo "$ac_cv_prog_cc_g" >&6; }
3987 if test "$ac_test_CFLAGS" = set; then
3988 CFLAGS=$ac_save_CFLAGS
3989 elif test $ac_cv_prog_cc_g = yes; then
3990 if test "$GCC" = yes; then
3996 if test "$GCC" = yes; then
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4003 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4004 if ${ac_cv_prog_cc_c89+:} false; then :
4005 $as_echo_n "(cached) " >&6
4007 ac_cv_prog_cc_c89=no
4009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4010 /* end confdefs.h. */
4014 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4015 struct buf { int x; };
4016 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4017 static char *e (p, i)
4023 static char *f (char * (*g) (char **, int), char **p, ...)
4028 s = g (p, va_arg (v,int));
4033 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4034 function prototypes and stuff, but not '\xHH' hex character constants.
4035 These don't provoke an error unfortunately, instead are silently treated
4036 as 'x'. The following induces an error, until -std is added to get
4037 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4038 array size at least. It's necessary to write '\x00'==0 to get something
4039 that's true only with -std. */
4040 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4042 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4043 inside strings and character constants. */
4045 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4047 int test (int i, double x);
4048 struct s1 {int (*f) (int a);};
4049 struct s2 {int (*f) (double a);};
4050 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4056 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4061 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4062 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4064 CC="$ac_save_CC $ac_arg"
4065 if ac_fn_c_try_compile "$LINENO"; then :
4066 ac_cv_prog_cc_c89=$ac_arg
4068 rm -f core conftest.err conftest.$ac_objext
4069 test "x$ac_cv_prog_cc_c89" != "xno" && break
4071 rm -f conftest.$ac_ext
4076 case "x$ac_cv_prog_cc_c89" in
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4079 $as_echo "none needed" >&6; } ;;
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4082 $as_echo "unsupported" >&6; } ;;
4084 CC="$CC $ac_cv_prog_cc_c89"
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4086 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4088 if test "x$ac_cv_prog_cc_c89" != xno; then :
4093 ac_cpp='$CPP $CPPFLAGS'
4094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4099 ac_cpp='$CPP $CPPFLAGS'
4100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4104 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4105 if ${am_cv_prog_cc_c_o+:} false; then :
4106 $as_echo_n "(cached) " >&6
4108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4109 /* end confdefs.h. */
4119 # Make sure it works both with $CC and with simple cc.
4120 # Following AC_PROG_CC_C_O, we do the test twice because some
4121 # compilers refuse to overwrite an existing .o file with -o,
4122 # though they will create one.
4123 am_cv_prog_cc_c_o=yes
4125 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4126 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4129 (exit $ac_status); } \
4130 && test -f conftest2.$ac_objext; then
4133 am_cv_prog_cc_c_o=no
4137 rm -f core conftest*
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4141 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4142 if test "$am_cv_prog_cc_c_o" != yes; then
4143 # Losing compiler, so override with the script.
4144 # FIXME: It is wrong to rewrite CC.
4145 # But if we don't then we get into trouble of one sort or another.
4146 # A longer-term fix would be to have automake use am__CC in this case,
4147 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4148 CC="$am_aux_dir/compile $CC"
4151 ac_cpp='$CPP $CPPFLAGS'
4152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4156 DEPDIR="${am__leading_dot}deps"
4158 ac_config_commands="$ac_config_commands depfiles"
4161 am_make=${MAKE-make}
4162 cat > confinc << 'END'
4164 @echo this is the am__doit target
4167 # If we don't find an include directive, just comment out the code.
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4169 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4173 # First try GNU make style include.
4174 echo "include confinc" > confmf
4175 # Ignore all kinds of additional output from 'make'.
4176 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4177 *the\ am__doit\ target*)
4183 # Now try BSD make style include.
4184 if test "$am__include" = "#"; then
4185 echo '.include "confinc"' > confmf
4186 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4187 *the\ am__doit\ target*)
4188 am__include=.include
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4197 $as_echo "$_am_result" >&6; }
4198 rm -f confinc confmf
4200 # Check whether --enable-dependency-tracking was given.
4201 if test "${enable_dependency_tracking+set}" = set; then :
4202 enableval=$enable_dependency_tracking;
4205 if test "x$enable_dependency_tracking" != xno; then
4206 am_depcomp="$ac_aux_dir/depcomp"
4210 if test "x$enable_dependency_tracking" != xno; then
4220 depcc="$CC" am_compiler_list=
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4223 $as_echo_n "checking dependency style of $depcc... " >&6; }
4224 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4225 $as_echo_n "(cached) " >&6
4227 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4228 # We make a subdir and do the tests there. Otherwise we can end up
4229 # making bogus files that we don't know about and never remove. For
4230 # instance it was reported that on HP-UX the gcc test will end up
4231 # making a dummy file named 'D' -- because '-MD' means "put the output
4235 # Copy depcomp to subdir because otherwise we won't find it if we're
4236 # using a relative directory.
4237 cp "$am_depcomp" conftest.dir
4239 # We will build objects and dependencies in a subdirectory because
4240 # it helps to detect inapplicable dependency modes. For instance
4241 # both Tru64's cc and ICC support -MD to output dependencies as a
4242 # side effect of compilation, but ICC will put the dependencies in
4243 # the current directory while Tru64 will put them in the object
4247 am_cv_CC_dependencies_compiler_type=none
4248 if test "$am_compiler_list" = ""; then
4249 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4252 case " $depcc " in #(
4253 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4256 for depmode in $am_compiler_list; do
4257 # Setup a source with many dependencies, because some compilers
4258 # like to wrap large dependency lists on column 80 (with \), and
4259 # we should not choose a depcomp mode which is confused by this.
4261 # We need to recreate these files for each test, as the compiler may
4262 # overwrite some of them when testing with obscure command lines.
4263 # This happens at least with the AIX C compiler.
4265 for i in 1 2 3 4 5 6; do
4266 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4267 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4268 # Solaris 10 /bin/sh.
4269 echo '/* dummy */' > sub/conftst$i.h
4271 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4273 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4274 # mode. It turns out that the SunPro C++ compiler does not properly
4275 # handle '-M -o', and we need to detect this. Also, some Intel
4276 # versions had trouble with output in subdirs.
4277 am__obj=sub/conftest.${OBJEXT-o}
4278 am__minus_obj="-o $am__obj"
4281 # This depmode causes a compiler race in universal mode.
4282 test "$am__universal" = false || continue
4285 # After this tag, mechanisms are not by side-effect, so they'll
4286 # only be used when explicitly requested.
4287 if test "x$enable_dependency_tracking" = xyes; then
4293 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4294 # This compiler won't grok '-c -o', but also, the minuso test has
4295 # not run yet. These depmodes are late enough in the game, and
4296 # so weak that their functioning should not be impacted.
4297 am__obj=conftest.${OBJEXT-o}
4302 if depmode=$depmode \
4303 source=sub/conftest.c object=$am__obj \
4304 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4305 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4306 >/dev/null 2>conftest.err &&
4307 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4308 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4309 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4310 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4311 # icc doesn't choke on unknown options, it will just issue warnings
4312 # or remarks (even with -Werror). So we grep stderr for any message
4313 # that says an option was ignored or not supported.
4314 # When given -MP, icc 7.0 and 7.1 complain thusly:
4315 # icc: Command line warning: ignoring option '-M'; no argument required
4316 # The diagnosis changed in icc 8.0:
4317 # icc: Command line remark: option '-MP' not supported
4318 if (grep 'ignoring option' conftest.err ||
4319 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4320 am_cv_CC_dependencies_compiler_type=$depmode
4329 am_cv_CC_dependencies_compiler_type=none
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4334 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4335 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4338 test "x$enable_dependency_tracking" != xno \
4339 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4341 am__fastdepCC_FALSE='#'
4343 am__fastdepCC_TRUE='#'
4344 am__fastdepCC_FALSE=
4349 ac_compile='$GOC -c $GOFLAGS conftest.$ac_ext >&5'
4350 ac_link='$GOC -o conftest$ac_exeext $GOFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4352 if test -n "$ac_tool_prefix"; then
4353 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
4354 set dummy ${ac_tool_prefix}gccgo; ac_word=$2
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4356 $as_echo_n "checking for $ac_word... " >&6; }
4357 if ${ac_cv_prog_GOC+:} false; then :
4358 $as_echo_n "(cached) " >&6
4360 if test -n "$GOC"; then
4361 ac_cv_prog_GOC="$GOC" # Let the user override the test.
4363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4367 test -z "$as_dir" && as_dir=.
4368 for ac_exec_ext in '' $ac_executable_extensions; do
4369 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4370 ac_cv_prog_GOC="${ac_tool_prefix}gccgo"
4371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4381 if test -n "$GOC"; then
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4383 $as_echo "$GOC" >&6; }
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4386 $as_echo "no" >&6; }
4391 if test -z "$ac_cv_prog_GOC"; then
4393 # Extract the first word of "gccgo", so it can be a program name with args.
4394 set dummy gccgo; ac_word=$2
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4396 $as_echo_n "checking for $ac_word... " >&6; }
4397 if ${ac_cv_prog_ac_ct_GOC+:} false; then :
4398 $as_echo_n "(cached) " >&6
4400 if test -n "$ac_ct_GOC"; then
4401 ac_cv_prog_ac_ct_GOC="$ac_ct_GOC" # Let the user override the test.
4403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4407 test -z "$as_dir" && as_dir=.
4408 for ac_exec_ext in '' $ac_executable_extensions; do
4409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4410 ac_cv_prog_ac_ct_GOC="gccgo"
4411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4420 ac_ct_GOC=$ac_cv_prog_ac_ct_GOC
4421 if test -n "$ac_ct_GOC"; then
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
4423 $as_echo "$ac_ct_GOC" >&6; }
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4426 $as_echo "no" >&6; }
4429 if test "x$ac_ct_GOC" = x; then
4432 case $cross_compiling:$ac_tool_warned in
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4436 ac_tool_warned=yes ;;
4441 GOC="$ac_cv_prog_GOC"
4444 if test -z "$GOC"; then
4445 if test -n "$ac_tool_prefix"; then
4446 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
4447 set dummy ${ac_tool_prefix}gccgo; ac_word=$2
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4449 $as_echo_n "checking for $ac_word... " >&6; }
4450 if ${ac_cv_prog_GOC+:} false; then :
4451 $as_echo_n "(cached) " >&6
4453 if test -n "$GOC"; then
4454 ac_cv_prog_GOC="$GOC" # Let the user override the test.
4456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4460 test -z "$as_dir" && as_dir=.
4461 for ac_exec_ext in '' $ac_executable_extensions; do
4462 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4463 ac_cv_prog_GOC="$ac_tool_prefix}gccgo"
4464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4474 if test -n "$GOC"; then
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4476 $as_echo "$GOC" >&6; }
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4479 $as_echo "no" >&6; }
4485 if test -z "$GOC"; then
4486 # Extract the first word of "gccgo", so it can be a program name with args.
4487 set dummy gccgo; ac_word=$2
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4489 $as_echo_n "checking for $ac_word... " >&6; }
4490 if ${ac_cv_prog_GOC+:} false; then :
4491 $as_echo_n "(cached) " >&6
4493 if test -n "$GOC"; then
4494 ac_cv_prog_GOC="$GOC" # Let the user override the test.
4497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4501 test -z "$as_dir" && as_dir=.
4502 for ac_exec_ext in '' $ac_executable_extensions; do
4503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4504 if test "$as_dir/$ac_word$ac_exec_ext" = "false"; then
4505 ac_prog_rejected=yes
4508 ac_cv_prog_GOC="gccgo"
4509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4516 if test $ac_prog_rejected = yes; then
4517 # We found a bogon in the path, so make sure we never use it.
4518 set dummy $ac_cv_prog_GOC
4520 if test $# != 0; then
4521 # We chose a different compiler from the bogus one.
4522 # However, it has the same basename, so the bogon will be chosen
4523 # first if we set GOC to just the basename; use the full file name.
4525 ac_cv_prog_GOC="$as_dir/$ac_word${1+' '}$@"
4531 if test -n "$GOC"; then
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4533 $as_echo "$GOC" >&6; }
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4536 $as_echo "no" >&6; }
4543 # Provide some information about the compiler.
4544 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Go compiler version" >&5
4547 { { ac_try="$ac_compiler --version >&5"
4549 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4550 *) ac_try_echo
=$ac_try;;
4552 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4553 $as_echo "$ac_try_echo"; } >&5
4554 (eval "$ac_compiler --version >&5") 2>conftest.err
4556 if test -s conftest.err
; then
4558 ... rest of stderr output deleted ...
4559 10q' conftest.err
>conftest.er1
4560 cat conftest.er1
>&5
4562 rm -f conftest.er1 conftest.err
4563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4564 test $ac_status = 0; }
4567 ac_cpp
='$CPP $CPPFLAGS'
4568 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4569 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4570 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4572 # By default we simply use the C compiler to build assembly code.
4574 test "${CCAS+set}" = set || CCAS
=$CC
4575 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
4579 depcc
="$CCAS" am_compiler_list
=
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4582 $as_echo_n "checking dependency style of $depcc... " >&6; }
4583 if ${am_cv_CCAS_dependencies_compiler_type+:} false
; then :
4584 $as_echo_n "(cached) " >&6
4586 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4587 # We make a subdir and do the tests there. Otherwise we can end up
4588 # making bogus files that we don't know about and never remove. For
4589 # instance it was reported that on HP-UX the gcc test will end up
4590 # making a dummy file named 'D' -- because '-MD' means "put the output
4594 # Copy depcomp to subdir because otherwise we won't find it if we're
4595 # using a relative directory.
4596 cp "$am_depcomp" conftest.dir
4598 # We will build objects and dependencies in a subdirectory because
4599 # it helps to detect inapplicable dependency modes. For instance
4600 # both Tru64's cc and ICC support -MD to output dependencies as a
4601 # side effect of compilation, but ICC will put the dependencies in
4602 # the current directory while Tru64 will put them in the object
4606 am_cv_CCAS_dependencies_compiler_type
=none
4607 if test "$am_compiler_list" = ""; then
4608 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4613 for depmode
in $am_compiler_list; do
4614 # Setup a source with many dependencies, because some compilers
4615 # like to wrap large dependency lists on column 80 (with \), and
4616 # we should not choose a depcomp mode which is confused by this.
4618 # We need to recreate these files for each test, as the compiler may
4619 # overwrite some of them when testing with obscure command lines.
4620 # This happens at least with the AIX C compiler.
4622 for i
in 1 2 3 4 5 6; do
4623 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4624 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4625 # Solaris 10 /bin/sh.
4626 echo '/* dummy */' > sub
/conftst
$i.h
4628 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4630 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4631 # mode. It turns out that the SunPro C++ compiler does not properly
4632 # handle '-M -o', and we need to detect this. Also, some Intel
4633 # versions had trouble with output in subdirs.
4634 am__obj
=sub
/conftest.
${OBJEXT-o}
4635 am__minus_obj
="-o $am__obj"
4638 # This depmode causes a compiler race in universal mode.
4639 test "$am__universal" = false ||
continue
4642 # After this tag, mechanisms are not by side-effect, so they'll
4643 # only be used when explicitly requested.
4644 if test "x$enable_dependency_tracking" = xyes
; then
4650 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4651 # This compiler won't grok '-c -o', but also, the minuso test has
4652 # not run yet. These depmodes are late enough in the game, and
4653 # so weak that their functioning should not be impacted.
4654 am__obj
=conftest.
${OBJEXT-o}
4659 if depmode
=$depmode \
4660 source=sub
/conftest.c object
=$am__obj \
4661 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4662 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4663 >/dev
/null
2>conftest.err
&&
4664 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4665 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4666 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4667 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4668 # icc doesn't choke on unknown options, it will just issue warnings
4669 # or remarks (even with -Werror). So we grep stderr for any message
4670 # that says an option was ignored or not supported.
4671 # When given -MP, icc 7.0 and 7.1 complain thusly:
4672 # icc: Command line warning: ignoring option '-M'; no argument required
4673 # The diagnosis changed in icc 8.0:
4674 # icc: Command line remark: option '-MP' not supported
4675 if (grep 'ignoring option' conftest.err ||
4676 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4677 am_cv_CCAS_dependencies_compiler_type
=$depmode
4686 am_cv_CCAS_dependencies_compiler_type
=none
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
4691 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
4692 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
4695 test "x$enable_dependency_tracking" != xno \
4696 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
4697 am__fastdepCCAS_TRUE
=
4698 am__fastdepCCAS_FALSE
='#'
4700 am__fastdepCCAS_TRUE
='#'
4701 am__fastdepCCAS_FALSE
=
4711 # static hash tables crashes on AIX when libgo is built with O2
4712 CFLAGS
="$CFLAGS -fno-section-anchors"
4713 GOCFLAGS
="$GOCFLAGS -fno-section-anchors"
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4719 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4720 # Check whether --enable-maintainer-mode was given.
4721 if test "${enable_maintainer_mode+set}" = set; then :
4722 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4724 USE_MAINTAINER_MODE
=no
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4728 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4729 if test $USE_MAINTAINER_MODE = yes; then
4730 MAINTAINER_MODE_TRUE
=
4731 MAINTAINER_MODE_FALSE
='#'
4733 MAINTAINER_MODE_TRUE
='#'
4734 MAINTAINER_MODE_FALSE
=
4737 MAINT
=$MAINTAINER_MODE_TRUE
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4742 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4743 if ${ac_cv_path_SED+:} false
; then :
4744 $as_echo_n "(cached) " >&6
4746 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4747 for ac_i
in 1 2 3 4 5 6 7; do
4748 ac_script
="$ac_script$as_nl$ac_script"
4750 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
4751 { ac_script
=; unset ac_script
;}
4752 if test -z "$SED"; then
4753 ac_path_SED_found
=false
4754 # Loop through the user's path and test for each of PROGNAME-LIST
4755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4759 test -z "$as_dir" && as_dir
=.
4760 for ac_prog
in sed gsed
; do
4761 for ac_exec_ext
in '' $ac_executable_extensions; do
4762 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4763 as_fn_executable_p
"$ac_path_SED" ||
continue
4764 # Check for GNU ac_path_SED and select it if it is found.
4765 # Check for GNU $ac_path_SED
4766 case `"$ac_path_SED" --version 2>&1` in
4768 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4771 $as_echo_n 0123456789 >"conftest.in"
4774 cat "conftest.in" "conftest.in" >"conftest.tmp"
4775 mv "conftest.tmp" "conftest.in"
4776 cp "conftest.in" "conftest.nl"
4777 $as_echo '' >> "conftest.nl"
4778 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4779 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4780 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4781 if test $ac_count -gt ${ac_path_SED_max-0}; then
4782 # Best one so far, save it but keep looking for a better one
4783 ac_cv_path_SED
="$ac_path_SED"
4784 ac_path_SED_max
=$ac_count
4786 # 10*(2^10) chars as input seems more than enough
4787 test $ac_count -gt 10 && break
4789 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4792 $ac_path_SED_found && break 3
4797 if test -z "$ac_cv_path_SED"; then
4798 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4806 $as_echo "$ac_cv_path_SED" >&6; }
4807 SED
="$ac_cv_path_SED"
4810 test -z "$SED" && SED
=sed
4811 Xsed
="$SED -e 1s/^X//"
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4824 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4825 if ${ac_cv_path_GREP+:} false
; then :
4826 $as_echo_n "(cached) " >&6
4828 if test -z "$GREP"; then
4829 ac_path_GREP_found
=false
4830 # Loop through the user's path and test for each of PROGNAME-LIST
4831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4832 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4835 test -z "$as_dir" && as_dir
=.
4836 for ac_prog
in grep ggrep
; do
4837 for ac_exec_ext
in '' $ac_executable_extensions; do
4838 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4839 as_fn_executable_p
"$ac_path_GREP" ||
continue
4840 # Check for GNU ac_path_GREP and select it if it is found.
4841 # Check for GNU $ac_path_GREP
4842 case `"$ac_path_GREP" --version 2>&1` in
4844 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4847 $as_echo_n 0123456789 >"conftest.in"
4850 cat "conftest.in" "conftest.in" >"conftest.tmp"
4851 mv "conftest.tmp" "conftest.in"
4852 cp "conftest.in" "conftest.nl"
4853 $as_echo 'GREP' >> "conftest.nl"
4854 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4855 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4856 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4857 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4858 # Best one so far, save it but keep looking for a better one
4859 ac_cv_path_GREP
="$ac_path_GREP"
4860 ac_path_GREP_max
=$ac_count
4862 # 10*(2^10) chars as input seems more than enough
4863 test $ac_count -gt 10 && break
4865 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4868 $ac_path_GREP_found && break 3
4873 if test -z "$ac_cv_path_GREP"; then
4874 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4877 ac_cv_path_GREP
=$GREP
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4882 $as_echo "$ac_cv_path_GREP" >&6; }
4883 GREP
="$ac_cv_path_GREP"
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4887 $as_echo_n "checking for egrep... " >&6; }
4888 if ${ac_cv_path_EGREP+:} false
; then :
4889 $as_echo_n "(cached) " >&6
4891 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4892 then ac_cv_path_EGREP
="$GREP -E"
4894 if test -z "$EGREP"; then
4895 ac_path_EGREP_found
=false
4896 # Loop through the user's path and test for each of PROGNAME-LIST
4897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4898 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4901 test -z "$as_dir" && as_dir
=.
4902 for ac_prog
in egrep; do
4903 for ac_exec_ext
in '' $ac_executable_extensions; do
4904 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4905 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4906 # Check for GNU ac_path_EGREP and select it if it is found.
4907 # Check for GNU $ac_path_EGREP
4908 case `"$ac_path_EGREP" --version 2>&1` in
4910 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4913 $as_echo_n 0123456789 >"conftest.in"
4916 cat "conftest.in" "conftest.in" >"conftest.tmp"
4917 mv "conftest.tmp" "conftest.in"
4918 cp "conftest.in" "conftest.nl"
4919 $as_echo 'EGREP' >> "conftest.nl"
4920 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4921 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4922 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4923 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4924 # Best one so far, save it but keep looking for a better one
4925 ac_cv_path_EGREP
="$ac_path_EGREP"
4926 ac_path_EGREP_max
=$ac_count
4928 # 10*(2^10) chars as input seems more than enough
4929 test $ac_count -gt 10 && break
4931 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4934 $ac_path_EGREP_found && break 3
4939 if test -z "$ac_cv_path_EGREP"; then
4940 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4943 ac_cv_path_EGREP
=$EGREP
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4949 $as_echo "$ac_cv_path_EGREP" >&6; }
4950 EGREP
="$ac_cv_path_EGREP"
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4954 $as_echo_n "checking for fgrep... " >&6; }
4955 if ${ac_cv_path_FGREP+:} false
; then :
4956 $as_echo_n "(cached) " >&6
4958 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4959 then ac_cv_path_FGREP
="$GREP -F"
4961 if test -z "$FGREP"; then
4962 ac_path_FGREP_found
=false
4963 # Loop through the user's path and test for each of PROGNAME-LIST
4964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4965 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4968 test -z "$as_dir" && as_dir
=.
4969 for ac_prog
in fgrep
; do
4970 for ac_exec_ext
in '' $ac_executable_extensions; do
4971 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4972 as_fn_executable_p
"$ac_path_FGREP" ||
continue
4973 # Check for GNU ac_path_FGREP and select it if it is found.
4974 # Check for GNU $ac_path_FGREP
4975 case `"$ac_path_FGREP" --version 2>&1` in
4977 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4980 $as_echo_n 0123456789 >"conftest.in"
4983 cat "conftest.in" "conftest.in" >"conftest.tmp"
4984 mv "conftest.tmp" "conftest.in"
4985 cp "conftest.in" "conftest.nl"
4986 $as_echo 'FGREP' >> "conftest.nl"
4987 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4988 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4989 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4990 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4991 # Best one so far, save it but keep looking for a better one
4992 ac_cv_path_FGREP
="$ac_path_FGREP"
4993 ac_path_FGREP_max
=$ac_count
4995 # 10*(2^10) chars as input seems more than enough
4996 test $ac_count -gt 10 && break
4998 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5001 $ac_path_FGREP_found && break 3
5006 if test -z "$ac_cv_path_FGREP"; then
5007 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5010 ac_cv_path_FGREP
=$FGREP
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5016 $as_echo "$ac_cv_path_FGREP" >&6; }
5017 FGREP
="$ac_cv_path_FGREP"
5020 test -z "$GREP" && GREP
=grep
5038 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5039 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5040 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5043 $as_echo_n "checking how to print strings... " >&6; }
5044 # Test print first, because it will be a builtin if present.
5045 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5046 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5048 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5051 # Use this function as a fallback that always works.
5052 func_fallback_echo ()
5054 eval 'cat <<_LTECHO_EOF
5058 ECHO='func_fallback_echo
'
5061 # func_echo_all arg...
5062 # Invoke $ECHO with all args, space-separated.
5069 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5070 $as_echo "printf" >&6; } ;;
5071 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5072 $as_echo "print -r" >&6; } ;;
5073 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5074 $as_echo "cat" >&6; } ;;
5092 # Check whether --with-gnu-ld was given.
5093 if test "${with_gnu_ld+set}" = set; then :
5094 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5100 if test "$GCC" = yes; then
5101 # Check if gcc -print-prog-name=ld gives a path.
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5103 $as_echo_n "checking for ld used by $CC... " >&6; }
5106 # gcc leaves a trailing carriage return which upsets mingw
5107 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5109 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5112 # Accept absolute paths.
5114 re_direlt='/[^
/][^
/]*/\.\.
/'
5115 # Canonicalize the pathname of ld
5116 ac_prog=`$ECHO "$ac_prog"| $SED 's
%\\\\%/%g
'`
5117 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5118 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5120 test -z "$LD" && LD="$ac_prog"
5123 # If it fails, then pretend we aren't using GCC.
5127 # If it is relative, then search for the first ld in PATH.
5131 elif test "$with_gnu_ld" = yes; then
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5133 $as_echo_n "checking for GNU ld... " >&6; }
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5136 $as_echo_n "checking for non-GNU ld... " >&6; }
5138 if ${lt_cv_path_LD+:} false
; then :
5139 $as_echo_n "(cached) " >&6
5141 if test -z "$LD"; then
5142 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5143 for ac_dir
in $PATH; do
5145 test -z "$ac_dir" && ac_dir
=.
5146 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5147 lt_cv_path_LD
="$ac_dir/$ac_prog"
5148 # Check to see if the program is GNU ld. I'd rather use --version,
5149 # but apparently some variants of GNU ld only accept -v.
5150 # Break only if it was the GNU/non-GNU ld that we prefer.
5151 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5152 *GNU
* |
*'with BFD'*)
5153 test "$with_gnu_ld" != no
&& break
5156 test "$with_gnu_ld" != yes && break
5163 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5168 if test -n "$LD"; then
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5170 $as_echo "$LD" >&6; }
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5173 $as_echo "no" >&6; }
5175 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5177 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5178 if ${lt_cv_prog_gnu_ld+:} false
; then :
5179 $as_echo_n "(cached) " >&6
5181 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5182 case `$LD -v 2>&1 </dev/null` in
5183 *GNU
* |
*'with BFD'*)
5184 lt_cv_prog_gnu_ld
=yes
5187 lt_cv_prog_gnu_ld
=no
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5192 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5193 with_gnu_ld
=$lt_cv_prog_gnu_ld
5203 if test -n "$ac_tool_prefix"; then
5204 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5205 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5207 $as_echo_n "checking for $ac_word... " >&6; }
5208 if ${ac_cv_prog_RANLIB+:} false
; then :
5209 $as_echo_n "(cached) " >&6
5211 if test -n "$RANLIB"; then
5212 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5218 test -z "$as_dir" && as_dir
=.
5219 for ac_exec_ext
in '' $ac_executable_extensions; do
5220 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5221 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5231 RANLIB
=$ac_cv_prog_RANLIB
5232 if test -n "$RANLIB"; then
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5234 $as_echo "$RANLIB" >&6; }
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5237 $as_echo "no" >&6; }
5242 if test -z "$ac_cv_prog_RANLIB"; then
5243 ac_ct_RANLIB
=$RANLIB
5244 # Extract the first word of "ranlib", so it can be a program name with args.
5245 set dummy ranlib
; ac_word
=$2
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5247 $as_echo_n "checking for $ac_word... " >&6; }
5248 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5249 $as_echo_n "(cached) " >&6
5251 if test -n "$ac_ct_RANLIB"; then
5252 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5258 test -z "$as_dir" && as_dir
=.
5259 for ac_exec_ext
in '' $ac_executable_extensions; do
5260 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5261 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5271 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5272 if test -n "$ac_ct_RANLIB"; then
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5274 $as_echo "$ac_ct_RANLIB" >&6; }
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5277 $as_echo "no" >&6; }
5280 if test "x$ac_ct_RANLIB" = x
; then
5283 case $cross_compiling:$ac_tool_warned in
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5286 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5287 ac_tool_warned
=yes ;;
5289 RANLIB
=$ac_ct_RANLIB
5292 RANLIB
="$ac_cv_prog_RANLIB"
5295 if test -n "$ac_tool_prefix"; then
5296 # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
5297 set dummy
${ac_tool_prefix}objcopy
; ac_word
=$2
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5299 $as_echo_n "checking for $ac_word... " >&6; }
5300 if ${ac_cv_prog_OBJCOPY+:} false
; then :
5301 $as_echo_n "(cached) " >&6
5303 if test -n "$OBJCOPY"; then
5304 ac_cv_prog_OBJCOPY
="$OBJCOPY" # Let the user override the test.
5306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5310 test -z "$as_dir" && as_dir
=.
5311 for ac_exec_ext
in '' $ac_executable_extensions; do
5312 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5313 ac_cv_prog_OBJCOPY
="${ac_tool_prefix}objcopy"
5314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5323 OBJCOPY
=$ac_cv_prog_OBJCOPY
5324 if test -n "$OBJCOPY"; then
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
5326 $as_echo "$OBJCOPY" >&6; }
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5329 $as_echo "no" >&6; }
5334 if test -z "$ac_cv_prog_OBJCOPY"; then
5335 ac_ct_OBJCOPY
=$OBJCOPY
5336 # Extract the first word of "objcopy", so it can be a program name with args.
5337 set dummy objcopy
; ac_word
=$2
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5339 $as_echo_n "checking for $ac_word... " >&6; }
5340 if ${ac_cv_prog_ac_ct_OBJCOPY+:} false
; then :
5341 $as_echo_n "(cached) " >&6
5343 if test -n "$ac_ct_OBJCOPY"; then
5344 ac_cv_prog_ac_ct_OBJCOPY
="$ac_ct_OBJCOPY" # Let the user override the test.
5346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5350 test -z "$as_dir" && as_dir
=.
5351 for ac_exec_ext
in '' $ac_executable_extensions; do
5352 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5353 ac_cv_prog_ac_ct_OBJCOPY
="objcopy"
5354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5363 ac_ct_OBJCOPY
=$ac_cv_prog_ac_ct_OBJCOPY
5364 if test -n "$ac_ct_OBJCOPY"; then
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
5366 $as_echo "$ac_ct_OBJCOPY" >&6; }
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5369 $as_echo "no" >&6; }
5372 if test "x$ac_ct_OBJCOPY" = x
; then
5373 OBJCOPY
="missing-objcopy"
5375 case $cross_compiling:$ac_tool_warned in
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5378 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5379 ac_tool_warned
=yes ;;
5381 OBJCOPY
=$ac_ct_OBJCOPY
5384 OBJCOPY
="$ac_cv_prog_OBJCOPY"
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5395 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5400 macro_version
='2.2.7a'
5401 macro_revision
='1.3134'
5415 ltmain
="$ac_aux_dir/ltmain.sh"
5417 # Backslashify metacharacters that are still active within
5418 # double-quoted strings.
5419 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5421 # Same as above, but do not quote variable references.
5422 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5424 # Sed substitution to delay expansion of an escaped shell variable in a
5425 # double_quote_subst'ed string.
5426 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5428 # Sed substitution to delay expansion of an escaped single quote.
5429 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5431 # Sed substitution to avoid accidental globbing in evaled expressions
5432 no_glob_subst
='s/\*/\\\*/g'
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5435 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5436 if ${lt_cv_path_NM+:} false
; then :
5437 $as_echo_n "(cached) " >&6
5439 if test -n "$NM"; then
5440 # Let the user override the test.
5443 lt_nm_to_check
="${ac_tool_prefix}nm"
5444 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5445 lt_nm_to_check
="$lt_nm_to_check nm"
5447 for lt_tmp_nm
in $lt_nm_to_check; do
5448 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5449 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5451 test -z "$ac_dir" && ac_dir
=.
5452 tmp_nm
="$ac_dir/$lt_tmp_nm"
5453 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5454 # Check to see if the nm accepts a BSD-compat flag.
5455 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5456 # nm: unknown option "B" ignored
5457 # Tru64's nm complains that /dev/null is an invalid object file
5458 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5459 */dev
/null
* |
*'Invalid file or object type'*)
5460 lt_cv_path_NM
="$tmp_nm -B"
5464 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5466 lt_cv_path_NM
="$tmp_nm -p"
5470 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5471 continue # so that we can try to find one that supports BSD flags
5480 : ${lt_cv_path_NM=no}
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5484 $as_echo "$lt_cv_path_NM" >&6; }
5485 if test "$lt_cv_path_NM" != "no"; then
5488 # Didn't find any BSD compatible name lister, look for dumpbin.
5489 if test -n "$DUMPBIN"; then :
5490 # Let the user override the test.
5492 if test -n "$ac_tool_prefix"; then
5493 for ac_prog
in dumpbin
"link -dump"
5495 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5496 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5498 $as_echo_n "checking for $ac_word... " >&6; }
5499 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5500 $as_echo_n "(cached) " >&6
5502 if test -n "$DUMPBIN"; then
5503 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5509 test -z "$as_dir" && as_dir
=.
5510 for ac_exec_ext
in '' $ac_executable_extensions; do
5511 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5512 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5522 DUMPBIN
=$ac_cv_prog_DUMPBIN
5523 if test -n "$DUMPBIN"; then
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5525 $as_echo "$DUMPBIN" >&6; }
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5528 $as_echo "no" >&6; }
5532 test -n "$DUMPBIN" && break
5535 if test -z "$DUMPBIN"; then
5536 ac_ct_DUMPBIN
=$DUMPBIN
5537 for ac_prog
in dumpbin
"link -dump"
5539 # Extract the first word of "$ac_prog", so it can be a program name with args.
5540 set dummy
$ac_prog; ac_word
=$2
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5542 $as_echo_n "checking for $ac_word... " >&6; }
5543 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5544 $as_echo_n "(cached) " >&6
5546 if test -n "$ac_ct_DUMPBIN"; then
5547 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5553 test -z "$as_dir" && as_dir
=.
5554 for ac_exec_ext
in '' $ac_executable_extensions; do
5555 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5556 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5566 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5567 if test -n "$ac_ct_DUMPBIN"; then
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5569 $as_echo "$ac_ct_DUMPBIN" >&6; }
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5572 $as_echo "no" >&6; }
5576 test -n "$ac_ct_DUMPBIN" && break
5579 if test "x$ac_ct_DUMPBIN" = x
; then
5582 case $cross_compiling:$ac_tool_warned in
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5585 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5586 ac_tool_warned
=yes ;;
5588 DUMPBIN
=$ac_ct_DUMPBIN
5592 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5594 DUMPBIN
="$DUMPBIN -symbols"
5602 if test "$DUMPBIN" != ":"; then
5606 test -z "$NM" && NM
=nm
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5614 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5615 if ${lt_cv_nm_interface+:} false
; then :
5616 $as_echo_n "(cached) " >&6
5618 lt_cv_nm_interface
="BSD nm"
5619 echo "int some_variable = 0;" > conftest.
$ac_ext
5620 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5621 (eval "$ac_compile" 2>conftest.err
)
5622 cat conftest.err
>&5
5623 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5624 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5625 cat conftest.err
>&5
5626 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5627 cat conftest.out
>&5
5628 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5629 lt_cv_nm_interface
="MS dumpbin"
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5634 $as_echo "$lt_cv_nm_interface" >&6; }
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5637 $as_echo_n "checking whether ln -s works... " >&6; }
5639 if test "$LN_S" = "ln -s"; then
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5641 $as_echo "yes" >&6; }
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5644 $as_echo "no, using $LN_S" >&6; }
5647 # find the maximum length of command line arguments
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5649 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5650 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5651 $as_echo_n "(cached) " >&6
5658 # On DJGPP, this test can blow up pretty badly due to problems in libc
5659 # (any single argument exceeding 2000 bytes causes a buffer overrun
5660 # during glob expansion). Even if it were fixed, the result of this
5661 # check would be larger than it should be.
5662 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5666 # Under GNU Hurd, this test is not required because there is
5667 # no limit to the length of command line arguments.
5668 # Libtool will interpret -1 as no limit whatsoever
5669 lt_cv_sys_max_cmd_len
=-1;
5672 cygwin
* | mingw
* | cegcc
*)
5673 # On Win9x/ME, this test blows up -- it succeeds, but takes
5674 # about 5 minutes as the teststring grows exponentially.
5675 # Worse, since 9x/ME are not pre-emptively multitasking,
5676 # you end up with a "frozen" computer, even though with patience
5677 # the test eventually succeeds (with a max line length of 256k).
5678 # Instead, let's just punt: use the minimum linelength reported by
5679 # all of the supported platforms: 8192 (on NT/2K/XP).
5680 lt_cv_sys_max_cmd_len
=8192;
5684 # On MiNT this can take a long time and run out of memory.
5685 lt_cv_sys_max_cmd_len
=8192;
5689 # On AmigaOS with pdksh, this test takes hours, literally.
5690 # So we just punt and use a minimum line length of 8192.
5691 lt_cv_sys_max_cmd_len
=8192;
5694 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5695 # This has been around since 386BSD, at least. Likely further.
5696 if test -x /sbin
/sysctl
; then
5697 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5698 elif test -x /usr
/sbin
/sysctl
; then
5699 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5701 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5703 # And add a safety zone
5704 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5705 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5709 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5710 lt_cv_sys_max_cmd_len
=196608
5714 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5715 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5716 # nice to cause kernel panics so lets avoid the loop below.
5717 # First set a reasonable default.
5718 lt_cv_sys_max_cmd_len
=16384
5720 if test -x /sbin
/sysconfig
; then
5721 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5722 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5727 lt_cv_sys_max_cmd_len
=102400
5729 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5730 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5731 if test -n "$kargmax"; then
5732 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5734 lt_cv_sys_max_cmd_len
=32768
5738 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5739 if test -n "$lt_cv_sys_max_cmd_len"; then
5740 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5741 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5743 # Make teststring a little bigger before we do anything with it.
5744 # a 1K string should be a reasonable start.
5745 for i
in 1 2 3 4 5 6 7 8 ; do
5746 teststring
=$teststring$teststring
5748 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5749 # If test is not a shell built-in, we'll probably end up computing a
5750 # maximum length that is only half of the actual maximum length, but
5752 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5753 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5754 test $i != 17 # 1/2 MB should be enough
5757 teststring
=$teststring$teststring
5759 # Only check the string length outside the loop.
5760 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5762 # Add a significant safety factor because C++ compilers can tack on
5763 # massive amounts of additional arguments before passing them to the
5764 # linker. It appears as though 1/2 is a usable value.
5765 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5772 if test -n $lt_cv_sys_max_cmd_len ; then
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5774 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5777 $as_echo "none" >&6; }
5779 max_cmd_len
=$lt_cv_sys_max_cmd_len
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5791 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5792 # Try some XSI features
5795 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5797 && eval 'test $(( 1 + 1 )) -eq 2 \
5798 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5801 $as_echo "$xsi_shell" >&6; }
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5805 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5807 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5809 && lt_shell_append=yes
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5811 $as_echo "$lt_shell_append" >&6; }
5814 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5824 # test EBCDIC or ASCII
5825 case `echo X|tr X '\101'` in
5826 A) # ASCII based system
5827 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5828 lt_SP2NL='tr \040 \012'
5829 lt_NL2SP='tr \015\012 \040\040'
5831 *) # EBCDIC based system
5832 lt_SP2NL='tr \100 \n'
5833 lt_NL2SP='tr \r\n \100\100'
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5846 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5847 if ${lt_cv_ld_reload_flag+:} false; then :
5848 $as_echo_n "(cached
) " >&6
5850 lt_cv_ld_reload_flag='-r'
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5853 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5854 reload_flag=$lt_cv_ld_reload_flag
5855 case $reload_flag in
5857 *) reload_flag=" $reload_flag" ;;
5859 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5862 if test "$GCC" = yes; then
5863 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5865 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5878 if test -n "$ac_tool_prefix"; then
5879 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5880 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5882 $as_echo_n "checking
for $ac_word...
" >&6; }
5883 if ${ac_cv_prog_OBJDUMP+:} false; then :
5884 $as_echo_n "(cached
) " >&6
5886 if test -n "$OBJDUMP"; then
5887 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5893 test -z "$as_dir" && as_dir=.
5894 for ac_exec_ext in '' $ac_executable_extensions; do
5895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5896 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5897 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5906 OBJDUMP=$ac_cv_prog_OBJDUMP
5907 if test -n "$OBJDUMP"; then
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5909 $as_echo "$OBJDUMP" >&6; }
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5912 $as_echo "no
" >&6; }
5917 if test -z "$ac_cv_prog_OBJDUMP"; then
5918 ac_ct_OBJDUMP=$OBJDUMP
5919 # Extract the first word of "objdump
", so it can be a program name with args.
5920 set dummy objdump; ac_word=$2
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5922 $as_echo_n "checking
for $ac_word...
" >&6; }
5923 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5924 $as_echo_n "(cached
) " >&6
5926 if test -n "$ac_ct_OBJDUMP"; then
5927 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5933 test -z "$as_dir" && as_dir=.
5934 for ac_exec_ext in '' $ac_executable_extensions; do
5935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5936 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5937 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5946 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5947 if test -n "$ac_ct_OBJDUMP"; then
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5949 $as_echo "$ac_ct_OBJDUMP" >&6; }
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5952 $as_echo "no
" >&6; }
5955 if test "x
$ac_ct_OBJDUMP" = x; then
5958 case $cross_compiling:$ac_tool_warned in
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5961 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5962 ac_tool_warned=yes ;;
5964 OBJDUMP=$ac_ct_OBJDUMP
5967 OBJDUMP="$ac_cv_prog_OBJDUMP"
5970 test -z "$OBJDUMP" && OBJDUMP=objdump
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5981 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5982 if ${lt_cv_deplibs_check_method+:} false; then :
5983 $as_echo_n "(cached
) " >&6
5985 lt_cv_file_magic_cmd='$MAGIC_CMD'
5986 lt_cv_file_magic_test_file=
5987 lt_cv_deplibs_check_method='unknown'
5988 # Need to set the preceding variable on all platforms that support
5989 # interlibrary dependencies.
5990 # 'none' -- dependencies not supported.
5991 # `unknown' -- same as none, but documents that we really don't know.
5992 # 'pass_all' -- all dependencies passed with no checks.
5993 # 'test_compile' -- check by making test program.
5994 # 'file_magic [[regex]]' -- check by looking for files in library path
5995 # which responds to the $file_magic_cmd with a given extended regex.
5996 # If you have `file' or equivalent on your system and you're not sure
5997 # whether `pass_all' will *always* work, you probably want this one.
6001 lt_cv_deplibs_check_method=pass_all
6005 lt_cv_deplibs_check_method=pass_all
6009 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6010 lt_cv_file_magic_cmd='/usr/bin/file -L'
6011 lt_cv_file_magic_test_file=/shlib/libc.so
6015 # func_win32_libid is a shell function defined in ltmain.sh
6016 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6017 lt_cv_file_magic_cmd='func_win32_libid'
6021 # Base MSYS/MinGW do not provide the 'file' command needed by
6022 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6023 # unless we find 'file', for example because we are cross-compiling.
6024 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6025 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6026 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6027 lt_cv_file_magic_cmd='func_win32_libid'
6029 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6030 lt_cv_file_magic_cmd='$OBJDUMP -f'
6035 # use the weaker test based on 'objdump'. See mingw*.
6036 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6037 lt_cv_file_magic_cmd='$OBJDUMP -f'
6040 darwin* | rhapsody*)
6041 lt_cv_deplibs_check_method=pass_all
6044 freebsd* | dragonfly*)
6045 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6048 # Not sure whether the presence of OpenBSD here was a mistake.
6049 # Let's accept both of them until this is cleared up.
6050 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6051 lt_cv_file_magic_cmd=/usr/bin/file
6052 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6056 lt_cv_deplibs_check_method=pass_all
6061 lt_cv_deplibs_check_method=pass_all
6065 lt_cv_deplibs_check_method=pass_all
6068 hpux10.20* | hpux11*)
6069 lt_cv_file_magic_cmd=/usr/bin/file
6072 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6073 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6076 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]'
6077 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6080 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6081 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6087 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6088 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6091 irix5* | irix6* | nonstopux*)
6093 *-32|*"-32 ") libmagic=32-bit;;
6094 *-n32|*"-n32 ") libmagic=N32;;
6095 *-64|*"-64 ") libmagic=64-bit;;
6096 *) libmagic=never-match;;
6098 lt_cv_deplibs_check_method=pass_all
6101 # This must be Linux ELF.
6102 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6103 lt_cv_deplibs_check_method=pass_all
6107 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6108 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6110 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6115 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6116 lt_cv_file_magic_cmd=/usr/bin/file
6117 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6121 lt_cv_deplibs_check_method=pass_all
6125 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6126 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6128 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6132 osf3* | osf4* | osf5*)
6133 lt_cv_deplibs_check_method=pass_all
6137 lt_cv_deplibs_check_method=pass_all
6141 lt_cv_deplibs_check_method=pass_all
6144 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6145 lt_cv_deplibs_check_method=pass_all
6149 case $host_vendor in
6151 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]'
6152 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6155 lt_cv_deplibs_check_method=pass_all
6158 lt_cv_file_magic_cmd='/bin/file'
6159 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6162 lt_cv_file_magic_cmd='/bin/file'
6163 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6164 lt_cv_file_magic_test_file=/lib/libc.so
6167 lt_cv_deplibs_check_method=pass_all
6170 lt_cv_deplibs_check_method=pass_all
6176 lt_cv_deplibs_check_method=pass_all
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6182 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6183 file_magic_cmd=$lt_cv_file_magic_cmd
6184 deplibs_check_method=$lt_cv_deplibs_check_method
6185 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6198 if test -n "$ac_tool_prefix"; then
6199 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6200 set dummy ${ac_tool_prefix}ar; ac_word=$2
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6202 $as_echo_n "checking
for $ac_word...
" >&6; }
6203 if ${ac_cv_prog_AR+:} false; then :
6204 $as_echo_n "(cached
) " >&6
6206 if test -n "$AR"; then
6207 ac_cv_prog_AR="$AR" # Let the user override the test.
6209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6213 test -z "$as_dir" && as_dir=.
6214 for ac_exec_ext in '' $ac_executable_extensions; do
6215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6216 ac_cv_prog_AR="${ac_tool_prefix}ar"
6217 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6227 if test -n "$AR"; then
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6229 $as_echo "$AR" >&6; }
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6232 $as_echo "no
" >&6; }
6237 if test -z "$ac_cv_prog_AR"; then
6239 # Extract the first word of "ar", so it can be a program name with args.
6240 set dummy ar; ac_word=$2
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6242 $as_echo_n "checking
for $ac_word...
" >&6; }
6243 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6244 $as_echo_n "(cached
) " >&6
6246 if test -n "$ac_ct_AR"; then
6247 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6253 test -z "$as_dir" && as_dir=.
6254 for ac_exec_ext in '' $ac_executable_extensions; do
6255 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6256 ac_cv_prog_ac_ct_AR="ar"
6257 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6266 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6267 if test -n "$ac_ct_AR"; then
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6269 $as_echo "$ac_ct_AR" >&6; }
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6272 $as_echo "no
" >&6; }
6275 if test "x
$ac_ct_AR" = x; then
6278 case $cross_compiling:$ac_tool_warned in
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6281 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6282 ac_tool_warned=yes ;;
6290 test -z "$AR" && AR=ar
6291 test -z "$AR_FLAGS" && AR_FLAGS=cru
6303 if test -n "$ac_tool_prefix"; then
6304 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6305 set dummy ${ac_tool_prefix}strip; ac_word=$2
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6307 $as_echo_n "checking
for $ac_word...
" >&6; }
6308 if ${ac_cv_prog_STRIP+:} false; then :
6309 $as_echo_n "(cached
) " >&6
6311 if test -n "$STRIP"; then
6312 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6318 test -z "$as_dir" && as_dir=.
6319 for ac_exec_ext in '' $ac_executable_extensions; do
6320 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6321 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6322 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6331 STRIP=$ac_cv_prog_STRIP
6332 if test -n "$STRIP"; then
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6334 $as_echo "$STRIP" >&6; }
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6337 $as_echo "no
" >&6; }
6342 if test -z "$ac_cv_prog_STRIP"; then
6344 # Extract the first word of "strip
", so it can be a program name with args.
6345 set dummy strip; ac_word=$2
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6347 $as_echo_n "checking
for $ac_word...
" >&6; }
6348 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6349 $as_echo_n "(cached
) " >&6
6351 if test -n "$ac_ct_STRIP"; then
6352 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6358 test -z "$as_dir" && as_dir=.
6359 for ac_exec_ext in '' $ac_executable_extensions; do
6360 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6361 ac_cv_prog_ac_ct_STRIP="strip
"
6362 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6371 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6372 if test -n "$ac_ct_STRIP"; then
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6374 $as_echo "$ac_ct_STRIP" >&6; }
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6377 $as_echo "no
" >&6; }
6380 if test "x
$ac_ct_STRIP" = x; then
6383 case $cross_compiling:$ac_tool_warned in
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6386 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6387 ac_tool_warned=yes ;;
6392 STRIP="$ac_cv_prog_STRIP"
6395 test -z "$STRIP" && STRIP=:
6402 if test -n "$ac_tool_prefix"; then
6403 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6404 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6406 $as_echo_n "checking
for $ac_word...
" >&6; }
6407 if ${ac_cv_prog_RANLIB+:} false; then :
6408 $as_echo_n "(cached
) " >&6
6410 if test -n "$RANLIB"; then
6411 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6417 test -z "$as_dir" && as_dir=.
6418 for ac_exec_ext in '' $ac_executable_extensions; do
6419 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6420 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6421 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6430 RANLIB=$ac_cv_prog_RANLIB
6431 if test -n "$RANLIB"; then
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6433 $as_echo "$RANLIB" >&6; }
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6436 $as_echo "no
" >&6; }
6441 if test -z "$ac_cv_prog_RANLIB"; then
6442 ac_ct_RANLIB=$RANLIB
6443 # Extract the first word of "ranlib
", so it can be a program name with args.
6444 set dummy ranlib; ac_word=$2
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6446 $as_echo_n "checking
for $ac_word...
" >&6; }
6447 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6448 $as_echo_n "(cached
) " >&6
6450 if test -n "$ac_ct_RANLIB"; then
6451 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6457 test -z "$as_dir" && as_dir=.
6458 for ac_exec_ext in '' $ac_executable_extensions; do
6459 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6460 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6461 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6470 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6471 if test -n "$ac_ct_RANLIB"; then
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6473 $as_echo "$ac_ct_RANLIB" >&6; }
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6476 $as_echo "no
" >&6; }
6479 if test "x
$ac_ct_RANLIB" = x; then
6482 case $cross_compiling:$ac_tool_warned in
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6485 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6486 ac_tool_warned=yes ;;
6488 RANLIB=$ac_ct_RANLIB
6491 RANLIB="$ac_cv_prog_RANLIB"
6494 test -z "$RANLIB" && RANLIB=:
6501 # Determine commands to create old-style static archives.
6502 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6503 old_postinstall_cmds='chmod 644 $oldlib'
6504 old_postuninstall_cmds=
6506 if test -n "$RANLIB"; then
6509 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6512 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6515 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6520 lock_old_archive_extraction=yes ;;
6522 lock_old_archive_extraction=no ;;
6563 # If no C compiler was specified, use CC.
6566 # If no C compiler flags were specified, use CFLAGS.
6567 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6569 # Allow CC to be a program name with arguments.
6573 # Check for command to grab the raw symbol name followed by C symbol from nm.
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6575 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6576 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6577 $as_echo_n "(cached
) " >&6
6580 # These are sane defaults that work on at least a few old systems.
6581 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6583 # Character class describing NM global symbol codes.
6584 symcode='[BCDEGRST]'
6586 # Regexp to match symbols that can be accessed directly from C.
6587 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6589 # Define system-specific variables.
6594 cygwin* | mingw* | pw32* | cegcc*)
6595 symcode='[ABCDGISTW]'
6598 if test "$host_cpu" = ia64; then
6599 symcode='[ABCDEGRST]'
6603 symcode='[BCDEGRST]'
6606 symcode='[BCDEGQRST]'
6617 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6625 # If we're using GNU nm, then use its standard symbol codes.
6626 case `$NM -V 2>&1` in
6627 *GNU* | *'with BFD'*)
6628 symcode='[ABCDGIRSTW]' ;;
6631 # Transform an extracted symbol line into a proper C declaration.
6632 # Some systems (esp. on ia64) link data and code symbols differently,
6633 # so use this general approach.
6634 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6636 # Transform an extracted symbol line into symbol name and symbol address
6637 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6638 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'"
6640 # Handle CRLF in mingw tool chain
6644 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6648 # Try without a prefix underscore, then with it.
6649 for ac_symprfx in "" "_
"; do
6651 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6652 symxfrm="\\1 $ac_symprfx\\2 \\2"
6654 # Write the raw and C identifiers.
6655 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6656 # Fake it for dumpbin and say T for any non-static function
6657 # and D for any global variable.
6658 # Also find C++ and __fastcall symbols from MSVC++,
6659 # which start with @ or ?.
6660 lt_cv_sys_global_symbol_pipe="$AWK '"\
6661 " {last_section=section; section=\$ 3};"\
6662 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6663 " \$ 0!~/External *\|/{next};"\
6664 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6665 " {if(hide[section]) next};"\
6666 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6667 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6668 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6669 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6670 " ' prfx
=^
$ac_symprfx"
6672 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6675 # Check to see that the pipe works correctly.
6679 cat > conftest.$ac_ext <<_LT_EOF
6684 void nm_test_func(void);
6685 void nm_test_func(void){}
6689 int main(){nm_test_var='a';nm_test_func();return(0);}
6692 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6693 (eval $ac_compile) 2>&5
6695 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6696 test $ac_status = 0; }; then
6697 # Now try to grab the symbols.
6699 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6700 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6702 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6703 test $ac_status = 0; } && test -s "$nlist"; then
6704 # Try sorting and uniquifying the output.
6705 if sort "$nlist" | uniq > "$nlist"T; then
6706 mv -f "$nlist"T "$nlist"
6711 # Make sure that we snagged all the symbols we need.
6712 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6713 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6714 cat <<_LT_EOF > conftest.$ac_ext
6720 # Now generate the symbol file.
6721 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6723 cat <<_LT_EOF >> conftest.$ac_ext
6725 /* The mapping between symbol names and symbols. */
6730 lt__PROGRAM__LTX_preloaded_symbols[] =
6732 { "@PROGRAM@
", (void *) 0 },
6734 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6735 cat <<\_LT_EOF >> conftest.$ac_ext
6739 /* This works around a problem in FreeBSD linker */
6740 #ifdef FREEBSD_WORKAROUND
6741 static const void *lt_preloaded_setup() {
6742 return lt__PROGRAM__LTX_preloaded_symbols;
6750 # Now try linking the two files.
6751 mv conftest.$ac_objext conftstm.$ac_objext
6752 lt_save_LIBS="$LIBS"
6753 lt_save_CFLAGS="$CFLAGS"
6754 LIBS="conftstm.
$ac_objext"
6755 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6756 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6757 (eval $ac_link) 2>&5
6759 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6760 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6763 LIBS="$lt_save_LIBS"
6764 CFLAGS="$lt_save_CFLAGS"
6766 echo "cannot
find nm_test_func
in $nlist" >&5
6769 echo "cannot
find nm_test_var
in $nlist" >&5
6772 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6775 echo "$progname: failed program was
:" >&5
6776 cat conftest.$ac_ext >&5
6778 rm -rf conftest* conftst*
6780 # Do not use the global_symbol_pipe unless it works.
6781 if test "$pipe_works" = yes; then
6784 lt_cv_sys_global_symbol_pipe=
6790 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6791 lt_cv_sys_global_symbol_to_cdecl=
6793 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6795 $as_echo "failed
" >&6; }
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6798 $as_echo "ok
" >&6; }
6823 # Check whether --enable-libtool-lock was given.
6824 if test "${enable_libtool_lock+set}" = set; then :
6825 enableval=$enable_libtool_lock;
6828 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6830 # Some flags need to be propagated to the compiler or linker for good
6834 # Find out which ABI we are using.
6835 echo 'int i;' > conftest.$ac_ext
6836 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6837 (eval $ac_compile) 2>&5
6839 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6840 test $ac_status = 0; }; then
6841 case `/usr/bin/file conftest.$ac_objext` in
6853 # Find out which ABI we are using.
6854 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6855 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6856 (eval $ac_compile) 2>&5
6858 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6859 test $ac_status = 0; }; then
6860 if test "$lt_cv_prog_gnu_ld" = yes; then
6861 case `/usr/bin/file conftest.$ac_objext` in
6863 LD="${LD-ld} -melf32bsmip"
6866 LD="${LD-ld} -melf32bmipn32"
6869 LD="${LD-ld} -melf64bmip"
6873 case `/usr/bin/file conftest.$ac_objext` in
6889 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6890 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6891 # Find out which ABI we are using.
6892 echo 'int i;' > conftest.$ac_ext
6893 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6894 (eval $ac_compile) 2>&5
6896 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6897 test $ac_status = 0; }; then
6898 case `/usr/bin/file conftest.o` in
6901 x86_64-*kfreebsd*-gnu)
6902 LD="${LD-ld} -m elf_i386_fbsd
"
6905 case `/usr/bin/file conftest.o` in
6907 LD="${LD-ld} -m elf32_x86_64
"
6910 LD="${LD-ld} -m elf_i386
"
6914 powerpc64le-*linux*)
6915 LD="${LD-ld} -m elf32lppclinux
"
6918 LD="${LD-ld} -m elf32ppclinux
"
6921 LD="${LD-ld} -m elf_s390
"
6924 LD="${LD-ld} -m elf32_sparc
"
6930 x86_64-*kfreebsd*-gnu)
6931 LD="${LD-ld} -m elf_x86_64_fbsd
"
6934 LD="${LD-ld} -m elf_x86_64
"
6937 LD="${LD-ld} -m elf64lppc
"
6940 LD="${LD-ld} -m elf64ppc
"
6942 s390*-*linux*|s390*-*tpf*)
6943 LD="${LD-ld} -m elf64_s390
"
6946 LD="${LD-ld} -m elf64_sparc
"
6956 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6957 SAVE_CFLAGS="$CFLAGS"
6958 CFLAGS="$CFLAGS -belf"
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6960 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6961 if ${lt_cv_cc_needs_belf+:} false; then :
6962 $as_echo_n "(cached
) " >&6
6965 ac_cpp='$CPP $CPPFLAGS'
6966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6971 /* end confdefs.h. */
6981 if ac_fn_c_try_link "$LINENO"; then :
6982 lt_cv_cc_needs_belf=yes
6984 lt_cv_cc_needs_belf=no
6986 rm -f core conftest.err conftest.$ac_objext \
6987 conftest$ac_exeext conftest.$ac_ext
6989 ac_cpp='$CPP $CPPFLAGS'
6990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6996 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6997 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6998 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6999 CFLAGS="$SAVE_CFLAGS"
7003 # Find out which ABI we are using.
7004 echo 'int i;' > conftest.$ac_ext
7005 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7006 (eval $ac_compile) 2>&5
7008 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7009 test $ac_status = 0; }; then
7010 case `/usr/bin/file conftest.o` in
7012 case $lt_cv_prog_gnu_ld in
7013 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7015 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7027 need_locks="$enable_libtool_lock"
7031 rhapsody* | darwin*)
7032 if test -n "$ac_tool_prefix"; then
7033 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7034 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7036 $as_echo_n "checking
for $ac_word...
" >&6; }
7037 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7038 $as_echo_n "(cached
) " >&6
7040 if test -n "$DSYMUTIL"; then
7041 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7047 test -z "$as_dir" && as_dir=.
7048 for ac_exec_ext in '' $ac_executable_extensions; do
7049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7050 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7051 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7060 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7061 if test -n "$DSYMUTIL"; then
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7063 $as_echo "$DSYMUTIL" >&6; }
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7066 $as_echo "no
" >&6; }
7071 if test -z "$ac_cv_prog_DSYMUTIL"; then
7072 ac_ct_DSYMUTIL=$DSYMUTIL
7073 # Extract the first word of "dsymutil
", so it can be a program name with args.
7074 set dummy dsymutil; ac_word=$2
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7076 $as_echo_n "checking
for $ac_word...
" >&6; }
7077 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7078 $as_echo_n "(cached
) " >&6
7080 if test -n "$ac_ct_DSYMUTIL"; then
7081 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7087 test -z "$as_dir" && as_dir=.
7088 for ac_exec_ext in '' $ac_executable_extensions; do
7089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7090 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7091 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7100 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7101 if test -n "$ac_ct_DSYMUTIL"; then
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7103 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7106 $as_echo "no
" >&6; }
7109 if test "x
$ac_ct_DSYMUTIL" = x; then
7112 case $cross_compiling:$ac_tool_warned in
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7115 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7116 ac_tool_warned=yes ;;
7118 DSYMUTIL=$ac_ct_DSYMUTIL
7121 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7124 if test -n "$ac_tool_prefix"; then
7125 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7126 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7128 $as_echo_n "checking
for $ac_word...
" >&6; }
7129 if ${ac_cv_prog_NMEDIT+:} false; then :
7130 $as_echo_n "(cached
) " >&6
7132 if test -n "$NMEDIT"; then
7133 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7139 test -z "$as_dir" && as_dir=.
7140 for ac_exec_ext in '' $ac_executable_extensions; do
7141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7142 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7143 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7152 NMEDIT=$ac_cv_prog_NMEDIT
7153 if test -n "$NMEDIT"; then
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7155 $as_echo "$NMEDIT" >&6; }
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7158 $as_echo "no
" >&6; }
7163 if test -z "$ac_cv_prog_NMEDIT"; then
7164 ac_ct_NMEDIT=$NMEDIT
7165 # Extract the first word of "nmedit
", so it can be a program name with args.
7166 set dummy nmedit; ac_word=$2
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7168 $as_echo_n "checking
for $ac_word...
" >&6; }
7169 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7170 $as_echo_n "(cached
) " >&6
7172 if test -n "$ac_ct_NMEDIT"; then
7173 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7179 test -z "$as_dir" && as_dir=.
7180 for ac_exec_ext in '' $ac_executable_extensions; do
7181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7182 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7183 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7192 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7193 if test -n "$ac_ct_NMEDIT"; then
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7195 $as_echo "$ac_ct_NMEDIT" >&6; }
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7198 $as_echo "no
" >&6; }
7201 if test "x
$ac_ct_NMEDIT" = x; then
7204 case $cross_compiling:$ac_tool_warned in
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7207 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7208 ac_tool_warned=yes ;;
7210 NMEDIT=$ac_ct_NMEDIT
7213 NMEDIT="$ac_cv_prog_NMEDIT"
7216 if test -n "$ac_tool_prefix"; then
7217 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7218 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7220 $as_echo_n "checking
for $ac_word...
" >&6; }
7221 if ${ac_cv_prog_LIPO+:} false; then :
7222 $as_echo_n "(cached
) " >&6
7224 if test -n "$LIPO"; then
7225 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7231 test -z "$as_dir" && as_dir=.
7232 for ac_exec_ext in '' $ac_executable_extensions; do
7233 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7234 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7235 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7244 LIPO=$ac_cv_prog_LIPO
7245 if test -n "$LIPO"; then
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7247 $as_echo "$LIPO" >&6; }
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7250 $as_echo "no
" >&6; }
7255 if test -z "$ac_cv_prog_LIPO"; then
7257 # Extract the first word of "lipo
", so it can be a program name with args.
7258 set dummy lipo; ac_word=$2
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7260 $as_echo_n "checking
for $ac_word...
" >&6; }
7261 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7262 $as_echo_n "(cached
) " >&6
7264 if test -n "$ac_ct_LIPO"; then
7265 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7271 test -z "$as_dir" && as_dir=.
7272 for ac_exec_ext in '' $ac_executable_extensions; do
7273 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7274 ac_cv_prog_ac_ct_LIPO="lipo
"
7275 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7284 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7285 if test -n "$ac_ct_LIPO"; then
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7287 $as_echo "$ac_ct_LIPO" >&6; }
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7290 $as_echo "no
" >&6; }
7293 if test "x
$ac_ct_LIPO" = x; then
7296 case $cross_compiling:$ac_tool_warned in
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7299 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7300 ac_tool_warned=yes ;;
7305 LIPO="$ac_cv_prog_LIPO"
7308 if test -n "$ac_tool_prefix"; then
7309 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7310 set dummy ${ac_tool_prefix}otool; ac_word=$2
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7312 $as_echo_n "checking
for $ac_word...
" >&6; }
7313 if ${ac_cv_prog_OTOOL+:} false; then :
7314 $as_echo_n "(cached
) " >&6
7316 if test -n "$OTOOL"; then
7317 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7323 test -z "$as_dir" && as_dir=.
7324 for ac_exec_ext in '' $ac_executable_extensions; do
7325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7326 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7327 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7336 OTOOL=$ac_cv_prog_OTOOL
7337 if test -n "$OTOOL"; then
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7339 $as_echo "$OTOOL" >&6; }
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7342 $as_echo "no
" >&6; }
7347 if test -z "$ac_cv_prog_OTOOL"; then
7349 # Extract the first word of "otool
", so it can be a program name with args.
7350 set dummy otool; ac_word=$2
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7352 $as_echo_n "checking
for $ac_word...
" >&6; }
7353 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7354 $as_echo_n "(cached
) " >&6
7356 if test -n "$ac_ct_OTOOL"; then
7357 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7363 test -z "$as_dir" && as_dir=.
7364 for ac_exec_ext in '' $ac_executable_extensions; do
7365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7366 ac_cv_prog_ac_ct_OTOOL="otool
"
7367 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7376 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7377 if test -n "$ac_ct_OTOOL"; then
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7379 $as_echo "$ac_ct_OTOOL" >&6; }
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7382 $as_echo "no
" >&6; }
7385 if test "x
$ac_ct_OTOOL" = x; then
7388 case $cross_compiling:$ac_tool_warned in
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7391 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7392 ac_tool_warned=yes ;;
7397 OTOOL="$ac_cv_prog_OTOOL"
7400 if test -n "$ac_tool_prefix"; then
7401 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7402 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7404 $as_echo_n "checking
for $ac_word...
" >&6; }
7405 if ${ac_cv_prog_OTOOL64+:} false; then :
7406 $as_echo_n "(cached
) " >&6
7408 if test -n "$OTOOL64"; then
7409 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7415 test -z "$as_dir" && as_dir=.
7416 for ac_exec_ext in '' $ac_executable_extensions; do
7417 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7418 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7419 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7428 OTOOL64=$ac_cv_prog_OTOOL64
7429 if test -n "$OTOOL64"; then
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7431 $as_echo "$OTOOL64" >&6; }
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7434 $as_echo "no
" >&6; }
7439 if test -z "$ac_cv_prog_OTOOL64"; then
7440 ac_ct_OTOOL64=$OTOOL64
7441 # Extract the first word of "otool64
", so it can be a program name with args.
7442 set dummy otool64; ac_word=$2
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7444 $as_echo_n "checking
for $ac_word...
" >&6; }
7445 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7446 $as_echo_n "(cached
) " >&6
7448 if test -n "$ac_ct_OTOOL64"; then
7449 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7455 test -z "$as_dir" && as_dir=.
7456 for ac_exec_ext in '' $ac_executable_extensions; do
7457 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7458 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7459 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7468 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7469 if test -n "$ac_ct_OTOOL64"; then
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7471 $as_echo "$ac_ct_OTOOL64" >&6; }
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7474 $as_echo "no
" >&6; }
7477 if test "x
$ac_ct_OTOOL64" = x; then
7480 case $cross_compiling:$ac_tool_warned in
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7483 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7484 ac_tool_warned=yes ;;
7486 OTOOL64=$ac_ct_OTOOL64
7489 OTOOL64="$ac_cv_prog_OTOOL64"
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7519 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7520 if ${lt_cv_apple_cc_single_mod+:} false; then :
7521 $as_echo_n "(cached
) " >&6
7523 lt_cv_apple_cc_single_mod=no
7524 if test -z "${LT_MULTI_MODULE}"; then
7525 # By default we will add the -single_module flag. You can override
7526 # by either setting the environment variable LT_MULTI_MODULE
7527 # non-empty at configure time, or by adding -multi_module to the
7529 rm -rf libconftest.dylib*
7530 echo "int foo
(void
){return 1;}" > conftest.c
7531 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7532 -dynamiclib -Wl,-single_module conftest.c
" >&5
7533 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7534 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7536 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7537 lt_cv_apple_cc_single_mod=yes
7539 cat conftest.err >&5
7541 rm -rf libconftest.dylib*
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7546 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7548 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7549 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7550 $as_echo_n "(cached
) " >&6
7552 lt_cv_ld_exported_symbols_list=no
7553 save_LDFLAGS=$LDFLAGS
7554 echo "_main
" > conftest.sym
7555 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7557 /* end confdefs.h. */
7567 if ac_fn_c_try_link "$LINENO"; then :
7568 lt_cv_ld_exported_symbols_list=yes
7570 lt_cv_ld_exported_symbols_list=no
7572 rm -f core conftest.err conftest.$ac_objext \
7573 conftest$ac_exeext conftest.$ac_ext
7574 LDFLAGS="$save_LDFLAGS"
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7578 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7580 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7581 if ${lt_cv_ld_force_load+:} false; then :
7582 $as_echo_n "(cached
) " >&6
7584 lt_cv_ld_force_load=no
7585 cat > conftest.c << _LT_EOF
7586 int forced_loaded() { return 2;}
7588 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7589 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7590 echo "$AR cru libconftest.a conftest.o
" >&5
7591 $AR cru libconftest.a conftest.o 2>&5
7592 cat > conftest.c << _LT_EOF
7593 int main() { return 0;}
7595 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7596 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7598 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7599 lt_cv_ld_force_load=yes
7601 cat conftest.err >&5
7603 rm -f conftest.err libconftest.a conftest conftest.c
7604 rm -rf conftest.dSYM
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7608 $as_echo "$lt_cv_ld_force_load" >&6; }
7610 rhapsody* | darwin1.[012])
7611 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7613 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7614 darwin*) # darwin 5.x on
7615 # if running on 10.5 or later, the deployment target defaults
7616 # to the OS version, if on x86, and 10.4, the deployment
7617 # target defaults to 10.4. Don't you love it?
7618 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7619 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7620 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7622 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7624 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7628 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7629 _lt_dar_single_mod='$single_module'
7631 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7632 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7634 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7636 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7637 _lt_dsymutil='~$DSYMUTIL $lib || :'
7645 ac_cpp='$CPP $CPPFLAGS'
7646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7650 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7651 # On Suns, sometimes $CPP names a directory.
7652 if test -n "$CPP" && test -d "$CPP"; then
7655 if test -z "$CPP"; then
7656 if ${ac_cv_prog_CPP+:} false; then :
7657 $as_echo_n "(cached
) " >&6
7659 # Double quotes because CPP needs to be expanded
7660 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7663 for ac_c_preproc_warn_flag in '' yes
7665 # Use a header file that comes with gcc, so configuring glibc
7666 # with a fresh cross-compiler works.
7667 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7668 # <limits.h> exists even on freestanding compilers.
7669 # On the NeXT, cc -E runs the code through the compiler's parser,
7670 # not just through cpp. "Syntax error
" is here to catch this case.
7671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7672 /* end confdefs.h. */
7674 # include <limits.h>
7676 # include <assert.h>
7680 if ac_fn_c_try_cpp "$LINENO"; then :
7683 # Broken: fails on valid input.
7686 rm -f conftest.err conftest.i conftest.$ac_ext
7688 # OK, works on sane cases. Now check whether nonexistent headers
7689 # can be detected and how.
7690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7691 /* end confdefs.h. */
7692 #include <ac_nonexistent.h>
7694 if ac_fn_c_try_cpp "$LINENO"; then :
7695 # Broken: success on invalid input.
7698 # Passes both tests.
7702 rm -f conftest.err conftest.i conftest.$ac_ext
7705 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7706 rm -f conftest.i conftest.err conftest.$ac_ext
7707 if $ac_preproc_ok; then :
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7720 $as_echo "$CPP" >&6; }
7722 for ac_c_preproc_warn_flag in '' yes
7724 # Use a header file that comes with gcc, so configuring glibc
7725 # with a fresh cross-compiler works.
7726 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7727 # <limits.h> exists even on freestanding compilers.
7728 # On the NeXT, cc -E runs the code through the compiler's parser,
7729 # not just through cpp. "Syntax error
" is here to catch this case.
7730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7731 /* end confdefs.h. */
7733 # include <limits.h>
7735 # include <assert.h>
7739 if ac_fn_c_try_cpp "$LINENO"; then :
7742 # Broken: fails on valid input.
7745 rm -f conftest.err conftest.i conftest.$ac_ext
7747 # OK, works on sane cases. Now check whether nonexistent headers
7748 # can be detected and how.
7749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7750 /* end confdefs.h. */
7751 #include <ac_nonexistent.h>
7753 if ac_fn_c_try_cpp "$LINENO"; then :
7754 # Broken: success on invalid input.
7757 # Passes both tests.
7761 rm -f conftest.err conftest.i conftest.$ac_ext
7764 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7765 rm -f conftest.i conftest.err conftest.$ac_ext
7766 if $ac_preproc_ok; then :
7769 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7770 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7771 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7772 See \`config.log' for more details
" "$LINENO" 5; }
7776 ac_cpp='$CPP $CPPFLAGS'
7777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7783 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7784 if ${ac_cv_header_stdc+:} false; then :
7785 $as_echo_n "(cached
) " >&6
7787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7788 /* end confdefs.h. */
7802 if ac_fn_c_try_compile "$LINENO"; then :
7803 ac_cv_header_stdc=yes
7805 ac_cv_header_stdc=no
7807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7809 if test $ac_cv_header_stdc = yes; then
7810 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7812 /* end confdefs.h. */
7816 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7817 $EGREP "memchr
" >/dev/null 2>&1; then :
7820 ac_cv_header_stdc=no
7826 if test $ac_cv_header_stdc = yes; then
7827 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7829 /* end confdefs.h. */
7833 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7834 $EGREP "free
" >/dev/null 2>&1; then :
7837 ac_cv_header_stdc=no
7843 if test $ac_cv_header_stdc = yes; then
7844 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7845 if test "$cross_compiling" = yes; then :
7848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7849 /* end confdefs.h. */
7852 #if ((' ' & 0x0FF) == 0x020)
7853 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7854 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7856 # define ISLOWER(c) \
7857 (('a' <= (c) && (c) <= 'i') \
7858 || ('j' <= (c) && (c) <= 'r') \
7859 || ('s' <= (c) && (c) <= 'z'))
7860 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7863 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7868 for (i = 0; i < 256; i++)
7869 if (XOR (islower (i), ISLOWER (i))
7870 || toupper (i) != TOUPPER (i))
7875 if ac_fn_c_try_run "$LINENO"; then :
7878 ac_cv_header_stdc=no
7880 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7881 conftest.$ac_objext conftest.beam conftest.$ac_ext
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7887 $as_echo "$ac_cv_header_stdc" >&6; }
7888 if test $ac_cv_header_stdc = yes; then
7890 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7894 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7895 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7896 inttypes.h stdint.h unistd.h
7898 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7899 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7901 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7902 cat >>confdefs.h
<<_ACEOF
7903 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7911 for ac_header
in dlfcn.h
7913 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7915 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7916 cat >>confdefs.h
<<_ACEOF
7917 #define HAVE_DLFCN_H 1
7924 if test -n "$ac_tool_prefix"; then
7925 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
7926 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7928 $as_echo_n "checking for $ac_word... " >&6; }
7929 if ${ac_cv_prog_GOC+:} false
; then :
7930 $as_echo_n "(cached) " >&6
7932 if test -n "$GOC"; then
7933 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
7935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7939 test -z "$as_dir" && as_dir
=.
7940 for ac_exec_ext
in '' $ac_executable_extensions; do
7941 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7942 ac_cv_prog_GOC
="${ac_tool_prefix}gccgo"
7943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7953 if test -n "$GOC"; then
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
7955 $as_echo "$GOC" >&6; }
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7958 $as_echo "no" >&6; }
7963 if test -z "$ac_cv_prog_GOC"; then
7965 # Extract the first word of "gccgo", so it can be a program name with args.
7966 set dummy gccgo
; ac_word
=$2
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7968 $as_echo_n "checking for $ac_word... " >&6; }
7969 if ${ac_cv_prog_ac_ct_GOC+:} false
; then :
7970 $as_echo_n "(cached) " >&6
7972 if test -n "$ac_ct_GOC"; then
7973 ac_cv_prog_ac_ct_GOC
="$ac_ct_GOC" # Let the user override the test.
7975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7979 test -z "$as_dir" && as_dir
=.
7980 for ac_exec_ext
in '' $ac_executable_extensions; do
7981 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7982 ac_cv_prog_ac_ct_GOC
="gccgo"
7983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7992 ac_ct_GOC
=$ac_cv_prog_ac_ct_GOC
7993 if test -n "$ac_ct_GOC"; then
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
7995 $as_echo "$ac_ct_GOC" >&6; }
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7998 $as_echo "no" >&6; }
8001 if test "x$ac_ct_GOC" = x
; then
8004 case $cross_compiling:$ac_tool_warned in
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8007 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8008 ac_tool_warned
=yes ;;
8013 GOC
="$ac_cv_prog_GOC"
8029 # Check whether --enable-shared was given.
8030 if test "${enable_shared+set}" = set; then :
8031 enableval
=$enable_shared; p
=${PACKAGE-default}
8033 yes) enable_shared
=yes ;;
8034 no
) enable_shared
=no
;;
8037 # Look at the argument we got. We use all the common list separators.
8038 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8039 for pkg
in $enableval; do
8041 if test "X$pkg" = "X$p"; then
8060 # Check whether --enable-static was given.
8061 if test "${enable_static+set}" = set; then :
8062 enableval
=$enable_static; p
=${PACKAGE-default}
8064 yes) enable_static
=yes ;;
8065 no
) enable_static
=no
;;
8068 # Look at the argument we got. We use all the common list separators.
8069 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8070 for pkg
in $enableval; do
8072 if test "X$pkg" = "X$p"; then
8092 # Check whether --with-pic was given.
8093 if test "${with_pic+set}" = set; then :
8094 withval
=$with_pic; pic_mode
="$withval"
8100 test -z "$pic_mode" && pic_mode
=default
8108 # Check whether --enable-fast-install was given.
8109 if test "${enable_fast_install+set}" = set; then :
8110 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8112 yes) enable_fast_install
=yes ;;
8113 no
) enable_fast_install
=no
;;
8115 enable_fast_install
=no
8116 # Look at the argument we got. We use all the common list separators.
8117 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8118 for pkg
in $enableval; do
8120 if test "X$pkg" = "X$p"; then
8121 enable_fast_install
=yes
8128 enable_fast_install
=yes
8141 # This can be used to rebuild libtool when needed
8142 LIBTOOL_DEPS
="$ltmain"
8144 # Always use our own libtool.
8145 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8172 test -z "$LN_S" && LN_S
="ln -s"
8187 if test -n "${ZSH_VERSION+set}" ; then
8188 setopt NO_GLOB_SUBST
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8192 $as_echo_n "checking for objdir... " >&6; }
8193 if ${lt_cv_objdir+:} false
; then :
8194 $as_echo_n "(cached) " >&6
8196 rm -f .libs
2>/dev
/null
8197 mkdir .libs
2>/dev
/null
8198 if test -d .libs
; then
8201 # MS-DOS does not allow filenames that begin with a dot.
8204 rmdir .libs
2>/dev
/null
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8207 $as_echo "$lt_cv_objdir" >&6; }
8208 objdir
=$lt_cv_objdir
8214 cat >>confdefs.h
<<_ACEOF
8215 #define LT_OBJDIR "$lt_cv_objdir/"
8223 # AIX sometimes has problems with the GCC collect2 program. For some
8224 # reason, if we set the COLLECT_NAMES environment variable, the problems
8225 # vanish in a puff of smoke.
8226 if test "X${COLLECT_NAMES+set}" != Xset
; then
8228 export COLLECT_NAMES
8235 can_build_shared
=yes
8237 # All known linkers require a `.a' archive for static linking (except MSVC,
8238 # which needs '.lib').
8241 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8244 old_CFLAGS
="$CFLAGS"
8246 # Set sane defaults for various variables
8247 test -z "$CC" && CC
=cc
8248 test -z "$LTCC" && LTCC
=$CC
8249 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8250 test -z "$LD" && LD
=ld
8251 test -z "$ac_objext" && ac_objext
=o
8253 for cc_temp
in $compiler""; do
8255 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8256 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8261 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8264 # Only perform the check for file, if the check method requires it
8265 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8266 case $deplibs_check_method in
8268 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8270 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8271 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8272 $as_echo_n "(cached) " >&6
8276 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8279 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8280 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8281 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8282 for ac_dir
in $ac_dummy; do
8284 test -z "$ac_dir" && ac_dir
=.
8285 if test -f $ac_dir/${ac_tool_prefix}file; then
8286 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8287 if test -n "$file_magic_test_file"; then
8288 case $deplibs_check_method in
8290 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8291 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8292 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8293 $EGREP "$file_magic_regex" > /dev
/null
; then
8298 *** Warning: the command libtool uses to detect shared libraries,
8299 *** $file_magic_cmd, produces output that libtool cannot recognize.
8300 *** The result is that libtool may fail to recognize shared libraries
8301 *** as such. This will affect the creation of libtool libraries that
8302 *** depend on shared libraries, but programs linked with such libtool
8303 *** libraries will work regardless of this problem. Nevertheless, you
8304 *** may want to report the problem to your system manager and/or to
8305 *** bug-libtool@gnu.org
8315 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8320 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8321 if test -n "$MAGIC_CMD"; then
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8323 $as_echo "$MAGIC_CMD" >&6; }
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8326 $as_echo "no" >&6; }
8333 if test -z "$lt_cv_path_MAGIC_CMD"; then
8334 if test -n "$ac_tool_prefix"; then
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8336 $as_echo_n "checking for file... " >&6; }
8337 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8338 $as_echo_n "(cached) " >&6
8342 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8345 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8346 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8347 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8348 for ac_dir
in $ac_dummy; do
8350 test -z "$ac_dir" && ac_dir
=.
8351 if test -f $ac_dir/file; then
8352 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8353 if test -n "$file_magic_test_file"; then
8354 case $deplibs_check_method in
8356 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8357 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8358 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8359 $EGREP "$file_magic_regex" > /dev
/null
; then
8364 *** Warning: the command libtool uses to detect shared libraries,
8365 *** $file_magic_cmd, produces output that libtool cannot recognize.
8366 *** The result is that libtool may fail to recognize shared libraries
8367 *** as such. This will affect the creation of libtool libraries that
8368 *** depend on shared libraries, but programs linked with such libtool
8369 *** libraries will work regardless of this problem. Nevertheless, you
8370 *** may want to report the problem to your system manager and/or to
8371 *** bug-libtool@gnu.org
8381 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8386 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8387 if test -n "$MAGIC_CMD"; then
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8389 $as_echo "$MAGIC_CMD" >&6; }
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8392 $as_echo "no" >&6; }
8405 # Use C for the default configuration in the libtool script
8409 ac_cpp
='$CPP $CPPFLAGS'
8410 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8411 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8412 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8415 # Source file extension for C test sources.
8418 # Object file extension for compiled C test sources.
8422 # Code to be used in simple compile tests
8423 lt_simple_compile_test_code
="int some_variable = 0;"
8425 # Code to be used in simple link tests
8426 lt_simple_link_test_code
='int main(){return(0);}'
8434 # If no C compiler was specified, use CC.
8437 # If no C compiler flags were specified, use CFLAGS.
8438 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8440 # Allow CC to be a program name with arguments.
8443 # Save the default compiler, since it gets overwritten when the other
8444 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8445 compiler_DEFAULT
=$CC
8447 # save warnings/boilerplate of simple test code
8448 ac_outfile
=conftest.
$ac_objext
8449 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8450 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8451 _lt_compiler_boilerplate
=`cat conftest.err`
8454 ac_outfile
=conftest.
$ac_objext
8455 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8456 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8457 _lt_linker_boilerplate
=`cat conftest.err`
8462 ## There is no encapsulation within the following macros, do not change
8463 ## the running order or otherwise move them around unless you know exactly
8464 ## what you are doing...
8465 if test -n "$compiler"; then
8467 lt_prog_compiler_no_builtin_flag
=
8469 if test "$GCC" = yes; then
8470 case $cc_basename in
8472 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8474 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8478 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8479 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8480 $as_echo_n "(cached) " >&6
8482 lt_cv_prog_compiler_rtti_exceptions
=no
8483 ac_outfile
=conftest.
$ac_objext
8484 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8485 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8486 # Insert the option either (1) after the last *FLAGS variable, or
8487 # (2) before a word containing "conftest.", or (3) at the end.
8488 # Note that $ac_compile itself does not contain backslashes and begins
8489 # with a dollar sign (not a hyphen), so the echo should work correctly.
8490 # The option is referenced via a variable to avoid confusing sed.
8491 lt_compile
=`echo "$ac_compile" | $SED \
8492 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8493 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8494 -e 's:$: $lt_compiler_flag:'`
8495 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8496 (eval "$lt_compile" 2>conftest.err
)
8498 cat conftest.err
>&5
8499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8500 if (exit $ac_status) && test -s "$ac_outfile"; then
8501 # The compiler can only warn and ignore the option if not recognized
8502 # So say no if there are warnings other than the usual output.
8503 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8504 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8505 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8506 lt_cv_prog_compiler_rtti_exceptions
=yes
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8513 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8515 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8516 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8528 lt_prog_compiler_wl
=
8529 lt_prog_compiler_pic
=
8530 lt_prog_compiler_static
=
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8533 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8535 if test "$GCC" = yes; then
8536 lt_prog_compiler_wl
='-Wl,'
8537 lt_prog_compiler_static
='-static'
8541 # All AIX code is PIC.
8542 if test "$host_cpu" = ia64
; then
8543 # AIX 5 now supports IA64 processor
8544 lt_prog_compiler_static
='-Bstatic'
8546 lt_prog_compiler_pic
='-fPIC'
8552 # see comment about AmigaOS4 .so support
8553 lt_prog_compiler_pic
='-fPIC'
8556 # FIXME: we need at least 68020 code to build shared libraries, but
8557 # adding the `-m68020' flag to GCC prevents building anything better,
8559 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8564 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8565 # PIC is the default for these OSes.
8568 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8569 # This hack is so that the source file can tell whether it is being
8570 # built for inclusion in a dll (and should export symbols for example).
8571 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8572 # (--disable-auto-import) libraries
8573 lt_prog_compiler_pic
='-DDLL_EXPORT'
8576 darwin
* | rhapsody
*)
8577 # PIC is the default on this platform
8578 # Common symbols not allowed in MH_DYLIB files
8579 lt_prog_compiler_pic
='-fno-common'
8583 # PIC is the default for Haiku.
8584 # The "-static" flag exists, but is broken.
8585 lt_prog_compiler_static
=
8589 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8590 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8591 # sets the default TLS model and affects inlining.
8597 lt_prog_compiler_pic
='-fPIC'
8603 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8604 # Instead, we relocate shared libraries at runtime.
8608 # Just because we use GCC doesn't mean we suddenly get shared libraries
8609 # on systems that don't support them.
8610 lt_prog_compiler_can_build_shared
=no
8615 # QNX uses GNU C++, but need to define -shared option too, otherwise
8617 lt_prog_compiler_pic
='-fPIC -shared'
8621 if test -d /usr
/nec
; then
8622 lt_prog_compiler_pic
=-Kconform_pic
8627 lt_prog_compiler_pic
='-fPIC'
8631 case $cc_basename in
8632 nvcc
*) # Cuda Compiler Driver 2.2
8633 lt_prog_compiler_wl
='-Xlinker '
8634 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8638 # PORTME Check for flag to pass linker flags through the system compiler.
8641 lt_prog_compiler_wl
='-Wl,'
8642 if test "$host_cpu" = ia64
; then
8643 # AIX 5 now supports IA64 processor
8644 lt_prog_compiler_static
='-Bstatic'
8646 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8650 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8651 # This hack is so that the source file can tell whether it is being
8652 # built for inclusion in a dll (and should export symbols for example).
8653 lt_prog_compiler_pic
='-DDLL_EXPORT'
8656 hpux9
* | hpux10
* | hpux11
*)
8657 lt_prog_compiler_wl
='-Wl,'
8658 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8665 lt_prog_compiler_pic
='+Z'
8668 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8669 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8672 irix5
* | irix6
* | nonstopux
*)
8673 lt_prog_compiler_wl
='-Wl,'
8674 # PIC (with -KPIC) is the default.
8675 lt_prog_compiler_static
='-non_shared'
8678 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8679 case $cc_basename in
8680 # old Intel for x86_64 which still supported -KPIC.
8682 lt_prog_compiler_wl
='-Wl,'
8683 lt_prog_compiler_pic
='-KPIC'
8684 lt_prog_compiler_static
='-static'
8686 # icc used to be incompatible with GCC.
8687 # ICC 10 doesn't accept -KPIC any more.
8689 lt_prog_compiler_wl
='-Wl,'
8690 lt_prog_compiler_pic
='-fPIC'
8691 lt_prog_compiler_static
='-static'
8693 # Lahey Fortran 8.1.
8695 lt_prog_compiler_wl
='-Wl,'
8696 lt_prog_compiler_pic
='--shared'
8697 lt_prog_compiler_static
='--static'
8699 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8700 # Portland Group compilers (*not* the Pentium gcc compiler,
8701 # which looks to be a dead project)
8702 lt_prog_compiler_wl
='-Wl,'
8703 lt_prog_compiler_pic
='-fpic'
8704 lt_prog_compiler_static
='-Bstatic'
8707 lt_prog_compiler_wl
='-Wl,'
8708 # All Alpha code is PIC.
8709 lt_prog_compiler_static
='-non_shared'
8711 xl
* | bgxl
* | bgf
* | mpixl
*)
8712 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8713 lt_prog_compiler_wl
='-Wl,'
8714 lt_prog_compiler_pic
='-qpic'
8715 lt_prog_compiler_static
='-qstaticlink'
8718 case `$CC -V 2>&1 | sed 5q` in
8719 *Sun\ F
* |
*Sun
*Fortran
*)
8720 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8721 lt_prog_compiler_pic
='-KPIC'
8722 lt_prog_compiler_static
='-Bstatic'
8723 lt_prog_compiler_wl
=''
8727 lt_prog_compiler_pic
='-KPIC'
8728 lt_prog_compiler_static
='-Bstatic'
8729 lt_prog_compiler_wl
='-Wl,'
8737 lt_prog_compiler_pic
='-KPIC'
8738 lt_prog_compiler_static
='-Bstatic'
8742 # QNX uses GNU C++, but need to define -shared option too, otherwise
8744 lt_prog_compiler_pic
='-fPIC -shared'
8747 osf3
* | osf4
* | osf5
*)
8748 lt_prog_compiler_wl
='-Wl,'
8749 # All OSF/1 code is PIC.
8750 lt_prog_compiler_static
='-non_shared'
8754 lt_prog_compiler_static
='-non_shared'
8758 lt_prog_compiler_pic
='-KPIC'
8759 lt_prog_compiler_static
='-Bstatic'
8760 case $cc_basename in
8762 lt_prog_compiler_wl
='-Qoption ld ';;
8764 lt_prog_compiler_wl
='-Wl,';;
8769 lt_prog_compiler_wl
='-Qoption ld '
8770 lt_prog_compiler_pic
='-PIC'
8771 lt_prog_compiler_static
='-Bstatic'
8774 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8775 lt_prog_compiler_wl
='-Wl,'
8776 lt_prog_compiler_pic
='-KPIC'
8777 lt_prog_compiler_static
='-Bstatic'
8781 if test -d /usr
/nec
;then
8782 lt_prog_compiler_pic
='-Kconform_pic'
8783 lt_prog_compiler_static
='-Bstatic'
8787 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8788 lt_prog_compiler_wl
='-Wl,'
8789 lt_prog_compiler_pic
='-KPIC'
8790 lt_prog_compiler_static
='-Bstatic'
8794 lt_prog_compiler_wl
='-Wl,'
8795 lt_prog_compiler_can_build_shared
=no
8799 lt_prog_compiler_pic
='-pic'
8800 lt_prog_compiler_static
='-Bstatic'
8804 lt_prog_compiler_can_build_shared
=no
8810 # For platforms which do not support PIC, -DPIC is meaningless:
8812 lt_prog_compiler_pic
=
8815 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8819 $as_echo "$lt_prog_compiler_pic" >&6; }
8827 # Check to make sure the PIC flag actually works.
8829 if test -n "$lt_prog_compiler_pic"; then
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8831 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8832 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8833 $as_echo_n "(cached) " >&6
8835 lt_cv_prog_compiler_pic_works
=no
8836 ac_outfile
=conftest.
$ac_objext
8837 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8838 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8839 # Insert the option either (1) after the last *FLAGS variable, or
8840 # (2) before a word containing "conftest.", or (3) at the end.
8841 # Note that $ac_compile itself does not contain backslashes and begins
8842 # with a dollar sign (not a hyphen), so the echo should work correctly.
8843 # The option is referenced via a variable to avoid confusing sed.
8844 lt_compile
=`echo "$ac_compile" | $SED \
8845 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8846 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8847 -e 's:$: $lt_compiler_flag:'`
8848 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8849 (eval "$lt_compile" 2>conftest.err
)
8851 cat conftest.err
>&5
8852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8853 if (exit $ac_status) && test -s "$ac_outfile"; then
8854 # The compiler can only warn and ignore the option if not recognized
8855 # So say no if there are warnings other than the usual output.
8856 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8857 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8858 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8859 lt_cv_prog_compiler_pic_works
=yes
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8866 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8868 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8869 case $lt_prog_compiler_pic in
8871 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8874 lt_prog_compiler_pic
=
8875 lt_prog_compiler_can_build_shared
=no
8886 # Check to make sure the static flag actually works.
8888 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8890 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8891 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8892 $as_echo_n "(cached) " >&6
8894 lt_cv_prog_compiler_static_works
=no
8895 save_LDFLAGS
="$LDFLAGS"
8896 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8897 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8898 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8899 # The linker can only warn and ignore the option if not recognized
8900 # So say no if there are warnings
8901 if test -s conftest.err
; then
8902 # Append any errors to the config.log.
8903 cat conftest.err
1>&5
8904 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8905 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8906 if diff conftest.exp conftest.er2
>/dev
/null
; then
8907 lt_cv_prog_compiler_static_works
=yes
8910 lt_cv_prog_compiler_static_works
=yes
8914 LDFLAGS
="$save_LDFLAGS"
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8918 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8920 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8923 lt_prog_compiler_static
=
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8933 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8934 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8935 $as_echo_n "(cached) " >&6
8937 lt_cv_prog_compiler_c_o
=no
8938 $RM -r conftest
2>/dev
/null
8942 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8944 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8945 # Insert the option either (1) after the last *FLAGS variable, or
8946 # (2) before a word containing "conftest.", or (3) at the end.
8947 # Note that $ac_compile itself does not contain backslashes and begins
8948 # with a dollar sign (not a hyphen), so the echo should work correctly.
8949 lt_compile
=`echo "$ac_compile" | $SED \
8950 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8951 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8952 -e 's:$: $lt_compiler_flag:'`
8953 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8954 (eval "$lt_compile" 2>out
/conftest.err
)
8956 cat out
/conftest.err
>&5
8957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8958 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8960 # The compiler can only warn and ignore the option if not recognized
8961 # So say no if there are warnings
8962 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8963 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8964 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8965 lt_cv_prog_compiler_c_o
=yes
8970 # SGI C++ compiler will create directory out/ii_files/ for
8971 # template instantiation
8972 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8973 $RM out
/* && rmdir out
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8980 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8988 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8989 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8990 $as_echo_n "(cached) " >&6
8992 lt_cv_prog_compiler_c_o
=no
8993 $RM -r conftest
2>/dev
/null
8997 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8999 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9000 # Insert the option either (1) after the last *FLAGS variable, or
9001 # (2) before a word containing "conftest.", or (3) at the end.
9002 # Note that $ac_compile itself does not contain backslashes and begins
9003 # with a dollar sign (not a hyphen), so the echo should work correctly.
9004 lt_compile
=`echo "$ac_compile" | $SED \
9005 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9006 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9007 -e 's:$: $lt_compiler_flag:'`
9008 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9009 (eval "$lt_compile" 2>out
/conftest.err
)
9011 cat out
/conftest.err
>&5
9012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9013 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9015 # The compiler can only warn and ignore the option if not recognized
9016 # So say no if there are warnings
9017 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9018 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9019 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9020 lt_cv_prog_compiler_c_o
=yes
9025 # SGI C++ compiler will create directory out/ii_files/ for
9026 # template instantiation
9027 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9028 $RM out
/* && rmdir out
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9035 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9040 hard_links
="nottested"
9041 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9042 # do not overwrite the value of need_locks provided by the user
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9044 $as_echo_n "checking if we can lock with hard links... " >&6; }
9047 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9049 ln conftest.a conftest.b
2>&5 || hard_links
=no
9050 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9052 $as_echo "$hard_links" >&6; }
9053 if test "$hard_links" = no
; then
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9055 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9068 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9071 allow_undefined_flag
=
9072 always_export_symbols
=no
9074 archive_expsym_cmds
=
9075 compiler_needs_object
=no
9076 enable_shared_with_static_runtimes
=no
9077 export_dynamic_flag_spec
=
9078 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9079 hardcode_automatic
=no
9081 hardcode_direct_absolute
=no
9082 hardcode_libdir_flag_spec
=
9083 hardcode_libdir_flag_spec_ld
=
9084 hardcode_libdir_separator
=
9086 hardcode_shlibpath_var
=unsupported
9088 link_all_deplibs
=unknown
9091 old_archive_from_new_cmds
=
9092 old_archive_from_expsyms_cmds
=
9093 thread_safe_flag_spec
=
9094 whole_archive_flag_spec
=
9095 # include_expsyms should be a list of space-separated symbols to be *always*
9096 # included in the symbol list
9098 # exclude_expsyms can be an extended regexp of symbols to exclude
9099 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9100 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9101 # as well as any symbol that contains `d'.
9102 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9103 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9104 # platforms (ab)use it in PIC code, but their linkers get confused if
9105 # the symbol is explicitly referenced. Since portable code cannot
9106 # rely on this symbol name, it's probably fine to never include it in
9107 # preloaded symbol tables.
9108 # Exclude shared library initialization/finalization symbols.
9109 extract_expsyms_cmds
=
9112 cygwin
* | mingw
* | pw32
* | cegcc
*)
9113 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9114 # When not using gcc, we currently assume that we are using
9115 # Microsoft Visual C++.
9116 if test "$GCC" != yes; then
9121 # we just hope/assume this is gcc and not c89 (= MSVC++)
9131 # On some targets, GNU ld is compatible enough with the native linker
9132 # that we're better off using the native interface for both.
9133 lt_use_gnu_ld_interface
=no
9134 if test "$with_gnu_ld" = yes; then
9137 # The AIX port of GNU ld has always aspired to compatibility
9138 # with the native linker. However, as the warning in the GNU ld
9139 # block says, versions before 2.19.5* couldn't really create working
9140 # shared libraries, regardless of the interface used.
9141 case `$LD -v 2>&1` in
9142 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9143 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9144 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9146 lt_use_gnu_ld_interface
=yes
9151 lt_use_gnu_ld_interface
=yes
9156 if test "$lt_use_gnu_ld_interface" = yes; then
9157 # If archive_cmds runs LD, not CC, wlarc should be empty
9160 # Set some defaults for GNU ld with shared library support. These
9161 # are reset later if shared libraries are not supported. Putting them
9162 # here allows them to be overridden if necessary.
9163 runpath_var
=LD_RUN_PATH
9164 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9165 export_dynamic_flag_spec
='${wl}--export-dynamic'
9166 # ancient GNU ld didn't support --whole-archive et. al.
9167 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9168 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9170 whole_archive_flag_spec
=
9172 supports_anon_versioning
=no
9173 case `$LD -v 2>&1` in
9174 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9175 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9176 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9177 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9178 *\
2.11.
*) ;; # other 2.11 versions
9179 *) supports_anon_versioning
=yes ;;
9182 # See if GNU ld supports shared libraries.
9185 # On AIX/PPC, the GNU linker is very broken
9186 if test "$host_cpu" != ia64
; then
9190 *** Warning: the GNU linker, at least up to release 2.19, is reported
9191 *** to be unable to reliably create shared libraries on AIX.
9192 *** Therefore, libtool is disabling shared libraries support. If you
9193 *** really care for shared libraries, you may want to install binutils
9194 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9195 *** You will then need to restart the configuration process.
9204 # see comment about AmigaOS4 .so support
9205 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9206 archive_expsym_cmds
=''
9209 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)'
9210 hardcode_libdir_flag_spec
='-L$libdir'
9211 hardcode_minus_L
=yes
9217 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9218 allow_undefined_flag
=unsupported
9219 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9220 # support --undefined. This deserves some investigation. FIXME
9221 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9227 cygwin
* | mingw
* | pw32
* | cegcc
*)
9228 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9229 # as there is no search path for DLLs.
9230 hardcode_libdir_flag_spec
='-L$libdir'
9231 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9232 allow_undefined_flag
=unsupported
9233 always_export_symbols
=no
9234 enable_shared_with_static_runtimes
=yes
9235 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9237 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9238 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9239 # If the export-symbols file already is a .def file (1st line
9240 # is EXPORTS), use it as is; otherwise, prepend...
9241 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9242 cp $export_symbols $output_objdir/$soname.def;
9244 echo EXPORTS > $output_objdir/$soname.def;
9245 cat $export_symbols >> $output_objdir/$soname.def;
9247 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9254 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9255 link_all_deplibs
=yes
9260 hardcode_shlibpath_var
=no
9261 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9262 export_dynamic_flag_spec
='${wl}-E'
9263 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9264 # Instead, shared libraries are loaded at an image base (0x10000000 by
9265 # default) and relocated if they conflict, which is a slow very memory
9266 # consuming and fragmenting process. To avoid this, we pick a random,
9267 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9268 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9269 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9270 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'
9273 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9275 if test "$host_os" = linux-dietlibc
; then
9276 case $cc_basename in
9277 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9280 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9281 && test "$tmp_diet" = no
9284 tmp_sharedflag
='-shared'
9285 case $cc_basename,$host_cpu in
9286 pgcc
*) # Portland Group C compiler
9287 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'
9288 tmp_addflag
=' $pic_flag'
9290 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9291 # Portland Group f77 and f90 compilers
9292 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'
9293 tmp_addflag
=' $pic_flag -Mnomain' ;;
9294 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9295 tmp_addflag
=' -i_dynamic' ;;
9296 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9297 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9298 ifc
* | ifort
*) # Intel Fortran compiler
9299 tmp_addflag
=' -nofor_main' ;;
9300 lf95
*) # Lahey Fortran 8.1
9301 whole_archive_flag_spec
=
9302 tmp_sharedflag
='--shared' ;;
9303 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9304 tmp_sharedflag
='-qmkshrobj'
9306 nvcc
*) # Cuda Compiler Driver 2.2
9307 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'
9308 compiler_needs_object
=yes
9311 case `$CC -V 2>&1 | sed 5q` in
9312 *Sun\ C
*) # Sun C 5.9
9313 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'
9314 compiler_needs_object
=yes
9315 tmp_sharedflag
='-G' ;;
9316 *Sun\ F
*) # Sun Fortran 8.3
9317 tmp_sharedflag
='-G' ;;
9319 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9321 if test "x$supports_anon_versioning" = xyes
; then
9322 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9323 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9324 echo "local: *; };" >> $output_objdir/$libname.ver~
9325 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9328 case $cc_basename in
9329 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9330 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9331 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9332 hardcode_libdir_flag_spec
=
9333 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9334 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9335 if test "x$supports_anon_versioning" = xyes
; then
9336 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9337 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9338 echo "local: *; };" >> $output_objdir/$libname.ver~
9339 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9349 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9350 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9353 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9354 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9359 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9363 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9364 *** create shared libraries on Solaris systems. Therefore, libtool
9365 *** is disabling shared libraries support. We urge you to upgrade GNU
9366 *** binutils to release 2.9.1 or newer. Another option is to modify
9367 *** your PATH or compiler configuration so that the native linker is
9368 *** used, and then restart.
9371 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9372 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9373 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9379 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9380 case `$LD -v 2>&1` in
9381 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9385 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9386 *** reliably create shared libraries on SCO systems. Therefore, libtool
9387 *** is disabling shared libraries support. We urge you to upgrade GNU
9388 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9389 *** your PATH or compiler configuration so that the native linker is
9390 *** used, and then restart.
9395 # For security reasons, it is highly recommended that you always
9396 # use absolute paths for naming shared libraries, and exclude the
9397 # DT_RUNPATH tag from executables and libraries. But doing so
9398 # requires that you compile everything twice, which is a pain.
9399 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9400 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9401 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9402 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9411 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9414 hardcode_shlibpath_var
=no
9418 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9419 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9420 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9427 if test "$ld_shlibs" = no
; then
9429 hardcode_libdir_flag_spec
=
9430 export_dynamic_flag_spec
=
9431 whole_archive_flag_spec
=
9434 # PORTME fill in a description of your system's linker (not GNU ld)
9437 allow_undefined_flag
=unsupported
9438 always_export_symbols
=yes
9439 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'
9440 # Note: this linker hardcodes the directories in LIBPATH if there
9441 # are no directories specified by -L.
9442 hardcode_minus_L
=yes
9443 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9444 # Neither direct hardcoding nor static linking is supported with a
9446 hardcode_direct
=unsupported
9451 if test "$host_cpu" = ia64
; then
9452 # On IA64, the linker does run time linking by default, so we don't
9453 # have to do anything special.
9454 aix_use_runtimelinking
=no
9455 exp_sym_flag
='-Bexport'
9458 # If we're using GNU nm, then we don't want the "-C" option.
9459 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9460 # Also, AIX nm treats weak defined symbols like other global
9461 # defined symbols, whereas GNU nm marks them as "W".
9462 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9463 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'
9465 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'
9467 aix_use_runtimelinking
=no
9469 # Test if we are trying to use run time linking or normal
9470 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9471 # need to do runtime linking.
9472 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9473 for ld_flag
in $LDFLAGS; do
9474 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9475 aix_use_runtimelinking
=yes
9482 exp_sym_flag
='-bexport'
9483 no_entry_flag
='-bnoentry'
9486 # When large executables or shared objects are built, AIX ld can
9487 # have problems creating the table of contents. If linking a library
9488 # or program results in "error TOC overflow" add -mminimal-toc to
9489 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9490 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9494 hardcode_direct_absolute
=yes
9495 hardcode_libdir_separator
=':'
9496 link_all_deplibs
=yes
9497 file_list_spec
='${wl}-f,'
9499 if test "$GCC" = yes; then
9500 case $host_os in aix4.
[012]|aix4.
[012].
*)
9501 # We only want to do this on AIX 4.2 and lower, the check
9502 # below for broken collect2 doesn't work under 4.3+
9503 collect2name
=`${CC} -print-prog-name=collect2`
9504 if test -f "$collect2name" &&
9505 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9507 # We have reworked collect2
9510 # We have old collect2
9511 hardcode_direct
=unsupported
9512 # It fails to find uninstalled libraries when the uninstalled
9513 # path is not listed in the libpath. Setting hardcode_minus_L
9514 # to unsupported forces relinking
9515 hardcode_minus_L
=yes
9516 hardcode_libdir_flag_spec
='-L$libdir'
9517 hardcode_libdir_separator
=
9521 shared_flag
='-shared'
9522 if test "$aix_use_runtimelinking" = yes; then
9523 shared_flag
="$shared_flag "'${wl}-G'
9527 if test "$host_cpu" = ia64
; then
9528 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9529 # chokes on -Wl,-G. The following line is correct:
9532 if test "$aix_use_runtimelinking" = yes; then
9533 shared_flag
='${wl}-G'
9535 shared_flag
='${wl}-bM:SRE'
9540 export_dynamic_flag_spec
='${wl}-bexpall'
9541 # It seems that -bexpall does not export symbols beginning with
9542 # underscore (_), so it is better to generate a list of symbols to export.
9543 always_export_symbols
=yes
9544 if test "$aix_use_runtimelinking" = yes; then
9545 # Warning - without using the other runtime loading flags (-brtl),
9546 # -berok will link without error, but may produce a broken library.
9547 allow_undefined_flag
='-berok'
9548 # Determine the default libpath from the value encoded in an
9550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9551 /* end confdefs.h. */
9561 if ac_fn_c_try_link
"$LINENO"; then :
9563 lt_aix_libpath_sed
='
9564 /Import File Strings/,/^$/ {
9570 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9571 # Check for a 64-bit object if we didn't find anything.
9572 if test -z "$aix_libpath"; then
9573 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9576 rm -f core conftest.err conftest.
$ac_objext \
9577 conftest
$ac_exeext conftest.
$ac_ext
9578 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9580 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9581 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"
9583 if test "$host_cpu" = ia64
; then
9584 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9585 allow_undefined_flag
="-z nodefs"
9586 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"
9588 # Determine the default libpath from the value encoded in an
9590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9591 /* end confdefs.h. */
9601 if ac_fn_c_try_link
"$LINENO"; then :
9603 lt_aix_libpath_sed
='
9604 /Import File Strings/,/^$/ {
9610 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9611 # Check for a 64-bit object if we didn't find anything.
9612 if test -z "$aix_libpath"; then
9613 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9616 rm -f core conftest.err conftest.
$ac_objext \
9617 conftest
$ac_exeext conftest.
$ac_ext
9618 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9620 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9621 # Warning - without using the other run time loading flags,
9622 # -berok will link without error, but may produce a broken library.
9623 no_undefined_flag
=' ${wl}-bernotok'
9624 allow_undefined_flag
=' ${wl}-berok'
9625 if test "$with_gnu_ld" = yes; then
9626 # We only use this code for GNU lds that support --whole-archive.
9627 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9629 # Exported symbols can be pulled into shared objects from archives
9630 whole_archive_flag_spec
='$convenience'
9632 archive_cmds_need_lc
=yes
9633 # This is similar to how AIX traditionally builds its shared libraries.
9634 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'
9642 # see comment about AmigaOS4 .so support
9643 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9644 archive_expsym_cmds
=''
9647 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)'
9648 hardcode_libdir_flag_spec
='-L$libdir'
9649 hardcode_minus_L
=yes
9655 export_dynamic_flag_spec
=-rdynamic
9658 cygwin
* | mingw
* | pw32
* | cegcc
*)
9659 # When not using gcc, we currently assume that we are using
9660 # Microsoft Visual C++.
9661 # hardcode_libdir_flag_spec is actually meaningless, as there is
9662 # no search path for DLLs.
9663 hardcode_libdir_flag_spec
=' '
9664 allow_undefined_flag
=unsupported
9665 # Tell ltmain to make .lib files, not .a files.
9667 # Tell ltmain to make .dll files, not .so files.
9669 # FIXME: Setting linknames here is a bad hack.
9670 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9671 # The linker will automatically build a .lib file if we build a DLL.
9672 old_archive_from_new_cmds
='true'
9673 # FIXME: Should let the user specify the lib program.
9674 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9675 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9676 enable_shared_with_static_runtimes
=yes
9679 darwin
* | rhapsody
*)
9682 archive_cmds_need_lc
=no
9684 hardcode_automatic
=yes
9685 hardcode_shlibpath_var
=unsupported
9686 if test "$lt_cv_ld_force_load" = "yes"; then
9687 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\"`'
9689 whole_archive_flag_spec
=''
9691 link_all_deplibs
=yes
9692 allow_undefined_flag
="$_lt_dar_allow_undefined"
9693 case $cc_basename in
9694 ifort
*) _lt_dar_can_shared
=yes ;;
9695 *) _lt_dar_can_shared
=$GCC ;;
9697 if test "$_lt_dar_can_shared" = "yes"; then
9698 output_verbose_link_cmd
=func_echo_all
9699 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9700 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9701 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}"
9702 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}"
9711 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9712 hardcode_libdir_flag_spec
='-L$libdir'
9713 hardcode_shlibpath_var
=no
9716 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9717 # support. Future versions do this automatically, but an explicit c++rt0.o
9718 # does not break anything, and helps significantly (at the cost of a little
9721 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9722 hardcode_libdir_flag_spec
='-R$libdir'
9724 hardcode_shlibpath_var
=no
9727 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9729 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9731 hardcode_minus_L
=yes
9732 hardcode_shlibpath_var
=no
9735 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9736 freebsd
* | dragonfly
*)
9737 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9738 hardcode_libdir_flag_spec
='-R$libdir'
9740 hardcode_shlibpath_var
=no
9744 if test "$GCC" = yes; then
9745 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'
9747 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'
9749 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9750 hardcode_libdir_separator
=:
9753 # hardcode_minus_L: Not really in the search PATH,
9754 # but as the default location of the library.
9755 hardcode_minus_L
=yes
9756 export_dynamic_flag_spec
='${wl}-E'
9760 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9761 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9763 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9765 if test "$with_gnu_ld" = no
; then
9766 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9767 hardcode_libdir_flag_spec_ld
='+b $libdir'
9768 hardcode_libdir_separator
=:
9770 hardcode_direct_absolute
=yes
9771 export_dynamic_flag_spec
='${wl}-E'
9772 # hardcode_minus_L: Not really in the search PATH,
9773 # but as the default location of the library.
9774 hardcode_minus_L
=yes
9779 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9782 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9785 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9788 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9794 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9797 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9801 # Older versions of the 11.00 compiler do not understand -b yet
9802 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9804 $as_echo_n "checking if $CC understands -b... " >&6; }
9805 if ${lt_cv_prog_compiler__b+:} false
; then :
9806 $as_echo_n "(cached) " >&6
9808 lt_cv_prog_compiler__b
=no
9809 save_LDFLAGS
="$LDFLAGS"
9810 LDFLAGS
="$LDFLAGS -b"
9811 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9812 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9813 # The linker can only warn and ignore the option if not recognized
9814 # So say no if there are warnings
9815 if test -s conftest.err
; then
9816 # Append any errors to the config.log.
9817 cat conftest.err
1>&5
9818 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9819 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9820 if diff conftest.exp conftest.er2
>/dev
/null
; then
9821 lt_cv_prog_compiler__b
=yes
9824 lt_cv_prog_compiler__b
=yes
9828 LDFLAGS
="$save_LDFLAGS"
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9832 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9834 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9835 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9837 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9843 if test "$with_gnu_ld" = no
; then
9844 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9845 hardcode_libdir_separator
=:
9850 hardcode_shlibpath_var
=no
9854 hardcode_direct_absolute
=yes
9855 export_dynamic_flag_spec
='${wl}-E'
9857 # hardcode_minus_L: Not really in the search PATH,
9858 # but as the default location of the library.
9859 hardcode_minus_L
=yes
9865 irix5
* | irix6
* | nonstopux
*)
9866 if test "$GCC" = yes; then
9867 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'
9868 # Try to use the -exported_symbol ld option, if it does not
9869 # work, assume that -exports_file does not work either and
9870 # implicitly export all symbols.
9871 save_LDFLAGS
="$LDFLAGS"
9872 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9874 /* end confdefs.h. */
9877 if ac_fn_c_try_link
"$LINENO"; then :
9878 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'
9881 rm -f core conftest.err conftest.
$ac_objext \
9882 conftest
$ac_exeext conftest.
$ac_ext
9883 LDFLAGS
="$save_LDFLAGS"
9885 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'
9886 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'
9888 archive_cmds_need_lc
='no'
9889 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9890 hardcode_libdir_separator
=:
9892 link_all_deplibs
=yes
9896 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9897 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9899 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9901 hardcode_libdir_flag_spec
='-R$libdir'
9903 hardcode_shlibpath_var
=no
9907 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9909 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9910 hardcode_libdir_separator
=:
9911 hardcode_shlibpath_var
=no
9918 if test -f /usr
/libexec
/ld.so
; then
9920 hardcode_shlibpath_var
=no
9921 hardcode_direct_absolute
=yes
9922 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9923 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9924 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9925 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9926 export_dynamic_flag_spec
='${wl}-E'
9929 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9930 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9931 hardcode_libdir_flag_spec
='-R$libdir'
9934 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9935 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9945 hardcode_libdir_flag_spec
='-L$libdir'
9946 hardcode_minus_L
=yes
9947 allow_undefined_flag
=unsupported
9948 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'
9949 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9953 if test "$GCC" = yes; then
9954 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9955 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'
9957 allow_undefined_flag
=' -expect_unresolved \*'
9958 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'
9960 archive_cmds_need_lc
='no'
9961 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9962 hardcode_libdir_separator
=:
9965 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9966 if test "$GCC" = yes; then
9967 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9968 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'
9969 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9971 allow_undefined_flag
=' -expect_unresolved \*'
9972 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'
9973 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~
9974 $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'
9976 # Both c and cxx compiler support -rpath directly
9977 hardcode_libdir_flag_spec
='-rpath $libdir'
9979 archive_cmds_need_lc
='no'
9980 hardcode_libdir_separator
=:
9984 no_undefined_flag
=' -z defs'
9985 if test "$GCC" = yes; then
9987 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9988 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9989 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9991 case `$CC -V 2>&1` in
9994 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9995 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9996 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10000 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10001 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10002 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10006 hardcode_libdir_flag_spec
='-R$libdir'
10007 hardcode_shlibpath_var
=no
10009 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10011 # The compiler driver will combine and reorder linker options,
10012 # but understands `-z linker_flag'. GCC discards it without `$wl',
10013 # but is careful enough not to reorder.
10014 # Supported since Solaris 2.6 (maybe 2.5.1?)
10015 if test "$GCC" = yes; then
10016 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10018 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10022 link_all_deplibs
=yes
10026 if test "x$host_vendor" = xsequent
; then
10027 # Use $CC to link under sequent, because it throws in some extra .o
10028 # files that make .init and .fini sections work.
10029 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10031 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10033 hardcode_libdir_flag_spec
='-L$libdir'
10034 hardcode_direct
=yes
10035 hardcode_minus_L
=yes
10036 hardcode_shlibpath_var
=no
10040 case $host_vendor in
10042 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10043 hardcode_direct
=yes # is this really true???
10046 ## LD is ld it makes a PLAMLIB
10047 ## CC just makes a GrossModule.
10048 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10049 reload_cmds
='$CC -r -o $output$reload_objs'
10053 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10054 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10057 runpath_var
='LD_RUN_PATH'
10058 hardcode_shlibpath_var
=no
10062 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10063 hardcode_shlibpath_var
=no
10064 export_dynamic_flag_spec
='-Bexport'
10068 if test -d /usr
/nec
; then
10069 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10070 hardcode_shlibpath_var
=no
10071 runpath_var
=LD_RUN_PATH
10072 hardcode_runpath_var
=yes
10077 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10078 no_undefined_flag
='${wl}-z,text'
10079 archive_cmds_need_lc
=no
10080 hardcode_shlibpath_var
=no
10081 runpath_var
='LD_RUN_PATH'
10083 if test "$GCC" = yes; then
10084 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10085 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10087 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10088 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10092 sysv5
* | sco3.2v5
* | sco5v6
*)
10093 # Note: We can NOT use -z defs as we might desire, because we do not
10094 # link with -lc, and that would cause any symbols used from libc to
10095 # always be unresolved, which means just about no library would
10096 # ever link correctly. If we're not using GNU ld we use -z text
10097 # though, which does catch some bad symbols but isn't as heavy-handed
10099 no_undefined_flag
='${wl}-z,text'
10100 allow_undefined_flag
='${wl}-z,nodefs'
10101 archive_cmds_need_lc
=no
10102 hardcode_shlibpath_var
=no
10103 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10104 hardcode_libdir_separator
=':'
10105 link_all_deplibs
=yes
10106 export_dynamic_flag_spec
='${wl}-Bexport'
10107 runpath_var
='LD_RUN_PATH'
10109 if test "$GCC" = yes; then
10110 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10111 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10113 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10114 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10119 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10120 hardcode_libdir_flag_spec
='-L$libdir'
10121 hardcode_shlibpath_var
=no
10129 if test x
$host_vendor = xsni
; then
10131 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10132 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10139 $as_echo "$ld_shlibs" >&6; }
10140 test "$ld_shlibs" = no
&& can_build_shared
=no
10142 with_gnu_ld
=$with_gnu_ld
10159 # Do we need to explicitly link libc?
10161 case "x$archive_cmds_need_lc" in
10163 # Assume -lc should be added
10164 archive_cmds_need_lc
=yes
10166 if test "$enable_shared" = yes && test "$GCC" = yes; then
10167 case $archive_cmds in
10169 # FIXME: we may have to deal with multi-command sequences.
10172 # Test whether the compiler implicitly links with -lc since on some
10173 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10174 # to ld, don't add -lc before -lgcc.
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10176 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10177 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10178 $as_echo_n "(cached) " >&6
10181 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10183 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10184 (eval $ac_compile) 2>&5
10186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10187 test $ac_status = 0; } 2>conftest.err
; then
10190 libobjs
=conftest.
$ac_objext
10192 wl
=$lt_prog_compiler_wl
10193 pic_flag
=$lt_prog_compiler_pic
10199 lt_save_allow_undefined_flag
=$allow_undefined_flag
10200 allow_undefined_flag
=
10201 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10202 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10205 test $ac_status = 0; }
10207 lt_cv_archive_cmds_need_lc
=no
10209 lt_cv_archive_cmds_need_lc
=yes
10211 allow_undefined_flag
=$lt_save_allow_undefined_flag
10213 cat conftest.err
1>&5
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10219 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10220 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10384 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10386 if test "$GCC" = yes; then
10388 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10389 *) lt_awk_arg
="/^libraries:/" ;;
10392 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10393 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10395 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10396 case $lt_search_path_spec in
10398 # if the path contains ";" then we assume it to be the separator
10399 # otherwise default to the standard path separator (i.e. ":") - it is
10400 # assumed that no part of a normal pathname contains ";" but that should
10401 # okay in the real world where ";" in dirpaths is itself problematic.
10402 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10405 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10408 # Ok, now we have the path, separated by spaces, we can step through it
10409 # and add multilib dir if necessary.
10410 lt_tmp_lt_search_path_spec
=
10411 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10412 for lt_sys_path
in $lt_search_path_spec; do
10413 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10414 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10416 test -d "$lt_sys_path" && \
10417 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10420 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10421 BEGIN {RS=" "; FS="/|\n";} {
10424 for (lt_i = NF; lt_i > 0; lt_i--) {
10425 if ($lt_i != "" && $lt_i != ".") {
10426 if ($lt_i == "..") {
10429 if (lt_count == 0) {
10430 lt_foo="/" $lt_i lt_foo;
10437 if (lt_foo != "") { lt_freq[lt_foo]++; }
10438 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10440 # AWK program above erroneously prepends '/' to C:/dos/paths
10443 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10444 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10446 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10448 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10450 library_names_spec
=
10451 libname_spec
='lib$name'
10455 postuninstall_cmds
=
10459 shlibpath_overrides_runpath
=unknown
10461 dynamic_linker
="$host_os ld.so"
10462 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10463 need_lib_prefix
=unknown
10464 hardcode_into_libs
=no
10466 # when you set need_version to no, make sure it does not cause -set_version
10467 # flags to be left without arguments
10468 need_version
=unknown
10473 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10474 shlibpath_var
=LIBPATH
10476 # AIX 3 has no versioning support, so we append a major version to the name.
10477 soname_spec
='${libname}${release}${shared_ext}$major'
10484 hardcode_into_libs
=yes
10485 if test "$host_cpu" = ia64
; then
10486 # AIX 5 supports IA64
10487 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10488 shlibpath_var
=LD_LIBRARY_PATH
10490 # With GCC up to 2.95.x, collect2 would create an import file
10491 # for dependence libraries. The import file would start with
10492 # the line `#! .'. This would cause the generated library to
10493 # depend on `.', always an invalid library. This was fixed in
10494 # development snapshots of GCC prior to 3.0.
10496 aix4 | aix4.
[01] | aix4.
[01].
*)
10497 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10499 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10502 can_build_shared
=no
10506 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10507 # soname into executable. Probably we can add versioning support to
10508 # collect2, so additional links can be useful in future.
10509 if test "$aix_use_runtimelinking" = yes; then
10510 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10511 # instead of lib<name>.a to let people know that these are not
10512 # typical AIX shared libraries.
10513 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10515 # We preserve .a as extension for shared libraries through AIX4.2
10516 # and later when we are not doing run time linking.
10517 library_names_spec
='${libname}${release}.a $libname.a'
10518 soname_spec
='${libname}${release}${shared_ext}$major'
10520 shlibpath_var
=LIBPATH
10527 # Since July 2007 AmigaOS4 officially supports .so libraries.
10528 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10529 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10532 library_names_spec
='$libname.ixlibrary $libname.a'
10533 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10534 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'
10540 library_names_spec
='${libname}${shared_ext}'
10541 dynamic_linker
="$host_os ld.so"
10542 shlibpath_var
=LIBRARY_PATH
10548 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10549 soname_spec
='${libname}${release}${shared_ext}$major'
10550 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10551 shlibpath_var
=LD_LIBRARY_PATH
10552 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10553 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10554 # the default ld.so.conf also contains /usr/contrib/lib and
10555 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10556 # libtool to hard-code these into programs
10559 cygwin
* | mingw
* | pw32
* | cegcc
*)
10560 version_type
=windows
10565 case $GCC,$host_os in
10566 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10567 library_names_spec
='$libname.dll.a'
10568 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10569 postinstall_cmds
='base_file=`basename \${file}`~
10570 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10571 dldir=$destdir/`dirname \$dlpath`~
10572 test -d \$dldir || mkdir -p \$dldir~
10573 $install_prog $dir/$dlname \$dldir/$dlname~
10574 chmod a+x \$dldir/$dlname~
10575 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10576 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10578 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10579 dlpath=$dir/\$dldll~
10581 shlibpath_overrides_runpath
=yes
10585 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10586 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10588 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10591 # MinGW DLLs use traditional 'lib' prefix
10592 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10595 # pw32 DLLs use 'pw' prefix rather than 'lib'
10596 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10602 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10605 dynamic_linker
='Win32 ld.exe'
10606 # FIXME: first we should search . and the directory the executable is in
10610 darwin
* | rhapsody
*)
10611 dynamic_linker
="$host_os dyld"
10612 version_type
=darwin
10615 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10616 soname_spec
='${libname}${release}${major}$shared_ext'
10617 shlibpath_overrides_runpath
=yes
10618 shlibpath_var
=DYLD_LIBRARY_PATH
10619 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10621 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10622 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10629 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10630 soname_spec
='${libname}${release}${shared_ext}$major'
10631 shlibpath_var
=LD_LIBRARY_PATH
10634 freebsd
* | dragonfly
*)
10635 # DragonFly does not have aout. When/if they implement a new
10636 # versioning mechanism, adjust this.
10637 if test -x /usr
/bin
/objformat
; then
10638 objformat
=`/usr/bin/objformat`
10641 freebsd
[23].
*) objformat
=aout
;;
10642 *) objformat
=elf
;;
10645 version_type
=freebsd-
$objformat
10646 case $version_type in
10648 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10653 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10657 shlibpath_var
=LD_LIBRARY_PATH
10660 shlibpath_overrides_runpath
=yes
10662 freebsd3.
[01]* | freebsdelf3.
[01]*)
10663 shlibpath_overrides_runpath
=yes
10664 hardcode_into_libs
=yes
10666 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10667 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10668 shlibpath_overrides_runpath
=no
10669 hardcode_into_libs
=yes
10671 *) # from 4.6 on, and DragonFly
10672 shlibpath_overrides_runpath
=yes
10673 hardcode_into_libs
=yes
10682 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10683 soname_spec
='${libname}${release}${shared_ext}$major'
10684 shlibpath_var
=LD_LIBRARY_PATH
10685 hardcode_into_libs
=yes
10692 dynamic_linker
="$host_os runtime_loader"
10693 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10694 soname_spec
='${libname}${release}${shared_ext}$major'
10695 shlibpath_var
=LIBRARY_PATH
10696 shlibpath_overrides_runpath
=yes
10697 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10698 hardcode_into_libs
=yes
10701 hpux9
* | hpux10
* | hpux11
*)
10702 # Give a soname corresponding to the major version so that dld.sl refuses to
10703 # link against other versions.
10710 hardcode_into_libs
=yes
10711 dynamic_linker
="$host_os dld.so"
10712 shlibpath_var
=LD_LIBRARY_PATH
10713 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10714 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10715 soname_spec
='${libname}${release}${shared_ext}$major'
10716 if test "X$HPUX_IA64_MODE" = X32
; then
10717 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10719 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10721 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10725 hardcode_into_libs
=yes
10726 dynamic_linker
="$host_os dld.sl"
10727 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10728 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10729 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10730 soname_spec
='${libname}${release}${shared_ext}$major'
10731 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10732 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10736 dynamic_linker
="$host_os dld.sl"
10737 shlibpath_var
=SHLIB_PATH
10738 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10739 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10740 soname_spec
='${libname}${release}${shared_ext}$major'
10743 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10744 postinstall_cmds
='chmod 555 $lib'
10745 # or fails outright, so override atomically:
10746 install_override_mode
=555
10753 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10754 soname_spec
='${libname}${release}${shared_ext}$major'
10755 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10756 shlibpath_var
=LD_LIBRARY_PATH
10757 shlibpath_overrides_runpath
=no
10758 hardcode_into_libs
=yes
10761 irix5
* | irix6
* | nonstopux
*)
10763 nonstopux
*) version_type
=nonstopux
;;
10765 if test "$lt_cv_prog_gnu_ld" = yes; then
10773 soname_spec
='${libname}${release}${shared_ext}$major'
10774 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10776 irix5
* | nonstopux
*)
10777 libsuff
= shlibsuff
=
10780 case $LD in # libtool.m4 will add one of these switches to LD
10781 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10782 libsuff
= shlibsuff
= libmagic
=32-bit;;
10783 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10784 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10785 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10786 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10787 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10791 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10792 shlibpath_overrides_runpath
=no
10793 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10794 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10795 hardcode_into_libs
=yes
10798 # No shared lib support for Linux oldld, aout, or coff.
10799 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10803 # This must be Linux ELF.
10804 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10808 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10809 soname_spec
='${libname}${release}${shared_ext}$major'
10810 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10811 shlibpath_var
=LD_LIBRARY_PATH
10812 shlibpath_overrides_runpath
=no
10814 # Some binutils ld are patched to set DT_RUNPATH
10815 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10816 $as_echo_n "(cached) " >&6
10818 lt_cv_shlibpath_overrides_runpath
=no
10819 save_LDFLAGS
=$LDFLAGS
10820 save_libdir
=$libdir
10821 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10822 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10824 /* end confdefs.h. */
10834 if ac_fn_c_try_link
"$LINENO"; then :
10835 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10836 lt_cv_shlibpath_overrides_runpath
=yes
10839 rm -f core conftest.err conftest.
$ac_objext \
10840 conftest
$ac_exeext conftest.
$ac_ext
10841 LDFLAGS
=$save_LDFLAGS
10842 libdir
=$save_libdir
10846 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10848 # This implies no fast_install, which is unacceptable.
10849 # Some rework will be needed to allow for fast_install
10850 # before this can be enabled.
10851 hardcode_into_libs
=yes
10853 # Append ld.so.conf contents to the search path
10854 if test -f /etc
/ld.so.conf
; then
10855 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' ' '`
10856 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10859 # We used to test for /lib/ld.so.1 and disable shared libraries on
10860 # powerpc, because MkLinux only supported shared libraries with the
10861 # GNU dynamic linker. Since this was broken with cross compilers,
10862 # most powerpc-linux boxes support dynamic linking these days and
10863 # people can always --disable-shared, the test was removed, and we
10864 # assume the GNU/Linux dynamic linker is in use.
10865 dynamic_linker
='GNU/Linux ld.so'
10872 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10873 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10874 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10875 dynamic_linker
='NetBSD (a.out) ld.so'
10877 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10878 soname_spec
='${libname}${release}${shared_ext}$major'
10879 dynamic_linker
='NetBSD ld.elf_so'
10881 shlibpath_var
=LD_LIBRARY_PATH
10882 shlibpath_overrides_runpath
=yes
10883 hardcode_into_libs
=yes
10888 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10889 shlibpath_var
=LD_LIBRARY_PATH
10890 shlibpath_overrides_runpath
=yes
10897 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10898 soname_spec
='${libname}${release}${shared_ext}$major'
10899 shlibpath_var
=LD_LIBRARY_PATH
10900 shlibpath_overrides_runpath
=no
10901 hardcode_into_libs
=yes
10902 dynamic_linker
='ldqnx.so'
10907 sys_lib_dlsearch_path_spec
="/usr/lib"
10909 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10911 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10912 *) need_version
=no
;;
10914 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10915 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10916 shlibpath_var
=LD_LIBRARY_PATH
10917 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10919 openbsd2.
[89] | openbsd2.
[89].
*)
10920 shlibpath_overrides_runpath
=no
10923 shlibpath_overrides_runpath
=yes
10927 shlibpath_overrides_runpath
=yes
10932 libname_spec
='$name'
10935 library_names_spec
='$libname${shared_ext} $libname.a'
10936 dynamic_linker
='OS/2 ld.exe'
10937 shlibpath_var
=LIBPATH
10940 osf3
* | osf4
* | osf5
*)
10944 soname_spec
='${libname}${release}${shared_ext}$major'
10945 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10946 shlibpath_var
=LD_LIBRARY_PATH
10947 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10948 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10959 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10960 soname_spec
='${libname}${release}${shared_ext}$major'
10961 shlibpath_var
=LD_LIBRARY_PATH
10962 shlibpath_overrides_runpath
=yes
10963 hardcode_into_libs
=yes
10964 # ldd complains unless libraries are executable
10965 postinstall_cmds
='chmod +x $lib'
10970 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10971 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10972 shlibpath_var
=LD_LIBRARY_PATH
10973 shlibpath_overrides_runpath
=yes
10974 if test "$with_gnu_ld" = yes; then
10982 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10983 soname_spec
='${libname}${release}${shared_ext}$major'
10984 shlibpath_var
=LD_LIBRARY_PATH
10985 case $host_vendor in
10987 shlibpath_overrides_runpath
=no
10989 runpath_var
=LD_RUN_PATH
10997 shlibpath_overrides_runpath
=no
10998 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11004 if test -d /usr
/nec
;then
11006 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11007 soname_spec
='$libname${shared_ext}.$major'
11008 shlibpath_var
=LD_LIBRARY_PATH
11012 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11013 version_type
=freebsd-elf
11016 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11017 soname_spec
='${libname}${release}${shared_ext}$major'
11018 shlibpath_var
=LD_LIBRARY_PATH
11019 shlibpath_overrides_runpath
=yes
11020 hardcode_into_libs
=yes
11021 if test "$with_gnu_ld" = yes; then
11022 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11024 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11027 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11031 sys_lib_dlsearch_path_spec
='/usr/lib'
11035 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11039 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11040 shlibpath_var
=LD_LIBRARY_PATH
11041 shlibpath_overrides_runpath
=no
11042 hardcode_into_libs
=yes
11047 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11048 soname_spec
='${libname}${release}${shared_ext}$major'
11049 shlibpath_var
=LD_LIBRARY_PATH
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11057 $as_echo "$dynamic_linker" >&6; }
11058 test "$dynamic_linker" = no
&& can_build_shared
=no
11060 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11061 if test "$GCC" = yes; then
11062 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11065 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11066 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11068 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11069 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11164 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11166 if test -n "$hardcode_libdir_flag_spec" ||
11167 test -n "$runpath_var" ||
11168 test "X$hardcode_automatic" = "Xyes" ; then
11170 # We can hardcode non-existent directories.
11171 if test "$hardcode_direct" != no
&&
11172 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11173 # have to relink, otherwise we might link with an installed library
11174 # when we should be linking with a yet-to-be-installed one
11175 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11176 test "$hardcode_minus_L" != no
; then
11177 # Linking always hardcodes the temporary library directory.
11178 hardcode_action
=relink
11180 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11181 hardcode_action
=immediate
11184 # We cannot hardcode anything, or else we can only hardcode existing
11186 hardcode_action
=unsupported
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11189 $as_echo "$hardcode_action" >&6; }
11191 if test "$hardcode_action" = relink ||
11192 test "$inherit_rpath" = yes; then
11193 # Fast installation is not supported
11194 enable_fast_install
=no
11195 elif test "$shlibpath_overrides_runpath" = yes ||
11196 test "$enable_shared" = no
; then
11197 # Fast installation is not necessary
11198 enable_fast_install
=needless
11206 if test "x$enable_dlopen" != xyes
; then
11207 enable_dlopen
=unknown
11208 enable_dlopen_self
=unknown
11209 enable_dlopen_self_static
=unknown
11216 lt_cv_dlopen
="load_add_on"
11218 lt_cv_dlopen_self
=yes
11221 mingw
* | pw32
* | cegcc
*)
11222 lt_cv_dlopen
="LoadLibrary"
11227 lt_cv_dlopen
="dlopen"
11232 # if libdl is installed we need to link against it
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11234 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11235 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11236 $as_echo_n "(cached) " >&6
11238 ac_check_lib_save_LIBS
=$LIBS
11240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11241 /* end confdefs.h. */
11243 /* Override any GCC internal prototype to avoid an error.
11244 Use char because int might match the return type of a GCC
11245 builtin and then its argument prototype would still apply. */
11258 if ac_fn_c_try_link
"$LINENO"; then :
11259 ac_cv_lib_dl_dlopen
=yes
11261 ac_cv_lib_dl_dlopen
=no
11263 rm -f core conftest.err conftest.
$ac_objext \
11264 conftest
$ac_exeext conftest.
$ac_ext
11265 LIBS
=$ac_check_lib_save_LIBS
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11268 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11269 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11270 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11273 lt_cv_dlopen
="dyld"
11275 lt_cv_dlopen_self
=yes
11282 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11283 if test "x$ac_cv_func_shl_load" = xyes
; then :
11284 lt_cv_dlopen
="shl_load"
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11287 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11288 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11289 $as_echo_n "(cached) " >&6
11291 ac_check_lib_save_LIBS
=$LIBS
11293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11294 /* end confdefs.h. */
11296 /* Override any GCC internal prototype to avoid an error.
11297 Use char because int might match the return type of a GCC
11298 builtin and then its argument prototype would still apply. */
11306 return shl_load ();
11311 if ac_fn_c_try_link
"$LINENO"; then :
11312 ac_cv_lib_dld_shl_load
=yes
11314 ac_cv_lib_dld_shl_load
=no
11316 rm -f core conftest.err conftest.
$ac_objext \
11317 conftest
$ac_exeext conftest.
$ac_ext
11318 LIBS
=$ac_check_lib_save_LIBS
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11321 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11322 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11323 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11325 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11326 if test "x$ac_cv_func_dlopen" = xyes
; then :
11327 lt_cv_dlopen
="dlopen"
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11330 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11331 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11332 $as_echo_n "(cached) " >&6
11334 ac_check_lib_save_LIBS
=$LIBS
11336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11337 /* end confdefs.h. */
11339 /* Override any GCC internal prototype to avoid an error.
11340 Use char because int might match the return type of a GCC
11341 builtin and then its argument prototype would still apply. */
11354 if ac_fn_c_try_link
"$LINENO"; then :
11355 ac_cv_lib_dl_dlopen
=yes
11357 ac_cv_lib_dl_dlopen
=no
11359 rm -f core conftest.err conftest.
$ac_objext \
11360 conftest
$ac_exeext conftest.
$ac_ext
11361 LIBS
=$ac_check_lib_save_LIBS
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11364 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11365 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11366 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11369 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11370 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11371 $as_echo_n "(cached) " >&6
11373 ac_check_lib_save_LIBS
=$LIBS
11374 LIBS
="-lsvld $LIBS"
11375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11376 /* end confdefs.h. */
11378 /* Override any GCC internal prototype to avoid an error.
11379 Use char because int might match the return type of a GCC
11380 builtin and then its argument prototype would still apply. */
11393 if ac_fn_c_try_link
"$LINENO"; then :
11394 ac_cv_lib_svld_dlopen
=yes
11396 ac_cv_lib_svld_dlopen
=no
11398 rm -f core conftest.err conftest.
$ac_objext \
11399 conftest
$ac_exeext conftest.
$ac_ext
11400 LIBS
=$ac_check_lib_save_LIBS
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11403 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11404 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11405 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11408 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11409 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11410 $as_echo_n "(cached) " >&6
11412 ac_check_lib_save_LIBS
=$LIBS
11414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11415 /* end confdefs.h. */
11417 /* Override any GCC internal prototype to avoid an error.
11418 Use char because int might match the return type of a GCC
11419 builtin and then its argument prototype would still apply. */
11427 return dld_link ();
11432 if ac_fn_c_try_link
"$LINENO"; then :
11433 ac_cv_lib_dld_dld_link
=yes
11435 ac_cv_lib_dld_dld_link
=no
11437 rm -f core conftest.err conftest.
$ac_objext \
11438 conftest
$ac_exeext conftest.
$ac_ext
11439 LIBS
=$ac_check_lib_save_LIBS
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11442 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11443 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11444 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11465 if test "x$lt_cv_dlopen" != xno
; then
11471 case $lt_cv_dlopen in
11473 save_CPPFLAGS
="$CPPFLAGS"
11474 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11476 save_LDFLAGS
="$LDFLAGS"
11477 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11480 LIBS
="$lt_cv_dlopen_libs $LIBS"
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11483 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11484 if ${lt_cv_dlopen_self+:} false
; then :
11485 $as_echo_n "(cached) " >&6
11487 if test "$cross_compiling" = yes; then :
11488 lt_cv_dlopen_self
=cross
11490 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11491 lt_status
=$lt_dlunknown
11492 cat > conftest.
$ac_ext <<_LT_EOF
11493 #line 11493 "configure"
11494 #include "confdefs.h"
11503 # define LT_DLGLOBAL RTLD_GLOBAL
11506 # define LT_DLGLOBAL DL_GLOBAL
11508 # define LT_DLGLOBAL 0
11512 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11513 find out it does not work in some platform. */
11514 #ifndef LT_DLLAZY_OR_NOW
11516 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11519 # define LT_DLLAZY_OR_NOW DL_LAZY
11522 # define LT_DLLAZY_OR_NOW RTLD_NOW
11525 # define LT_DLLAZY_OR_NOW DL_NOW
11527 # define LT_DLLAZY_OR_NOW 0
11534 /* When -fvisbility=hidden is used, assume the code has been annotated
11535 correspondingly for the symbols needed. */
11536 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11537 void fnord () __attribute__((visibility("default")));
11540 void fnord () { int i=42; }
11543 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11544 int status = $lt_dlunknown;
11548 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11551 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11552 else puts (dlerror ());
11554 /* dlclose (self); */
11562 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11563 (eval $ac_link) 2>&5
11565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11566 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11567 (.
/conftest
; exit; ) >&5 2>/dev
/null
11569 case x
$lt_status in
11570 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11571 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11572 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11575 # compilation failed
11576 lt_cv_dlopen_self
=no
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11584 $as_echo "$lt_cv_dlopen_self" >&6; }
11586 if test "x$lt_cv_dlopen_self" = xyes
; then
11587 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11589 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11590 if ${lt_cv_dlopen_self_static+:} false
; then :
11591 $as_echo_n "(cached) " >&6
11593 if test "$cross_compiling" = yes; then :
11594 lt_cv_dlopen_self_static
=cross
11596 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11597 lt_status
=$lt_dlunknown
11598 cat > conftest.
$ac_ext <<_LT_EOF
11599 #line 11599 "configure"
11600 #include "confdefs.h"
11609 # define LT_DLGLOBAL RTLD_GLOBAL
11612 # define LT_DLGLOBAL DL_GLOBAL
11614 # define LT_DLGLOBAL 0
11618 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11619 find out it does not work in some platform. */
11620 #ifndef LT_DLLAZY_OR_NOW
11622 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11625 # define LT_DLLAZY_OR_NOW DL_LAZY
11628 # define LT_DLLAZY_OR_NOW RTLD_NOW
11631 # define LT_DLLAZY_OR_NOW DL_NOW
11633 # define LT_DLLAZY_OR_NOW 0
11640 /* When -fvisbility=hidden is used, assume the code has been annotated
11641 correspondingly for the symbols needed. */
11642 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11643 void fnord () __attribute__((visibility("default")));
11646 void fnord () { int i=42; }
11649 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11650 int status = $lt_dlunknown;
11654 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11657 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11658 else puts (dlerror ());
11660 /* dlclose (self); */
11668 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11669 (eval $ac_link) 2>&5
11671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11672 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11673 (.
/conftest
; exit; ) >&5 2>/dev
/null
11675 case x
$lt_status in
11676 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11677 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11678 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11681 # compilation failed
11682 lt_cv_dlopen_self_static
=no
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11690 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11693 CPPFLAGS
="$save_CPPFLAGS"
11694 LDFLAGS
="$save_LDFLAGS"
11699 case $lt_cv_dlopen_self in
11700 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11701 *) enable_dlopen_self
=unknown
;;
11704 case $lt_cv_dlopen_self_static in
11705 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11706 *) enable_dlopen_self_static
=unknown
;;
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11729 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11730 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11731 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11732 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11734 $as_echo "yes" >&6; }
11736 # FIXME - insert some real tests, host_os isn't really good enough
11739 if test -n "$STRIP" ; then
11740 striplib
="$STRIP -x"
11741 old_striplib
="$STRIP -S"
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11743 $as_echo "yes" >&6; }
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11746 $as_echo "no" >&6; }
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11751 $as_echo "no" >&6; }
11767 # Report which library types will actually be built
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11769 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11771 $as_echo "$can_build_shared" >&6; }
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11774 $as_echo_n "checking whether to build shared libraries... " >&6; }
11775 test "$can_build_shared" = "no" && enable_shared
=no
11777 # On AIX, shared libraries and static libraries use the same namespace, and
11778 # are all built from PIC.
11781 test "$enable_shared" = yes && enable_static
=no
11782 if test -n "$RANLIB"; then
11783 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11784 postinstall_cmds
='$RANLIB $lib'
11789 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11790 test "$enable_shared" = yes && enable_static
=no
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11795 $as_echo "$enable_shared" >&6; }
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11798 $as_echo_n "checking whether to build static libraries... " >&6; }
11799 # Make sure either enable_shared or enable_static is yes.
11800 test "$enable_shared" = yes || enable_static
=yes
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11802 $as_echo "$enable_static" >&6; }
11809 ac_cpp
='$CPP $CPPFLAGS'
11810 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11811 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11812 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11828 # Source file extension for Go test sources.
11831 # Object file extension for compiled Go test sources.
11835 # Code to be used in simple compile tests
11836 lt_simple_compile_test_code
="package main; func main() { }"
11838 # Code to be used in simple link tests
11839 lt_simple_link_test_code
='package main; func main() { }'
11841 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11848 # If no C compiler was specified, use CC.
11851 # If no C compiler flags were specified, use CFLAGS.
11852 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11854 # Allow CC to be a program name with arguments.
11858 # save warnings/boilerplate of simple test code
11859 ac_outfile
=conftest.
$ac_objext
11860 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11861 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11862 _lt_compiler_boilerplate
=`cat conftest.err`
11865 ac_outfile
=conftest.
$ac_objext
11866 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11867 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11868 _lt_linker_boilerplate
=`cat conftest.err`
11872 # Allow CC to be a program name with arguments.
11880 for cc_temp
in $compiler""; do
11882 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11883 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11888 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11891 # Go did not exist at the time GCC didn't implicitly link libc in.
11892 archive_cmds_need_lc_GO
=no
11894 old_archive_cmds_GO
=$old_archive_cmds
11897 ## There is no encapsulation within the following macros, do not change
11898 ## the running order or otherwise move them around unless you know exactly
11899 ## what you are doing...
11900 if test -n "$compiler"; then
11902 lt_prog_compiler_no_builtin_flag_GO
=
11904 if test "$GCC" = yes; then
11905 case $cc_basename in
11907 lt_prog_compiler_no_builtin_flag_GO
=' -Xcompiler -fno-builtin' ;;
11909 lt_prog_compiler_no_builtin_flag_GO
=' -fno-builtin' ;;
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11913 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11914 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
11915 $as_echo_n "(cached) " >&6
11917 lt_cv_prog_compiler_rtti_exceptions
=no
11918 ac_outfile
=conftest.
$ac_objext
11919 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11920 lt_compiler_flag
="-fno-rtti -fno-exceptions"
11921 # Insert the option either (1) after the last *FLAGS variable, or
11922 # (2) before a word containing "conftest.", or (3) at the end.
11923 # Note that $ac_compile itself does not contain backslashes and begins
11924 # with a dollar sign (not a hyphen), so the echo should work correctly.
11925 # The option is referenced via a variable to avoid confusing sed.
11926 lt_compile
=`echo "$ac_compile" | $SED \
11927 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11928 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11929 -e 's:$: $lt_compiler_flag:'`
11930 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11931 (eval "$lt_compile" 2>conftest.err
)
11933 cat conftest.err
>&5
11934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11935 if (exit $ac_status) && test -s "$ac_outfile"; then
11936 # The compiler can only warn and ignore the option if not recognized
11937 # So say no if there are warnings other than the usual output.
11938 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11939 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11940 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11941 lt_cv_prog_compiler_rtti_exceptions
=yes
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11948 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11950 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
11951 lt_prog_compiler_no_builtin_flag_GO
="$lt_prog_compiler_no_builtin_flag_GO -fno-rtti -fno-exceptions"
11960 lt_prog_compiler_wl_GO
=
11961 lt_prog_compiler_pic_GO
=
11962 lt_prog_compiler_static_GO
=
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11965 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11967 if test "$GCC" = yes; then
11968 lt_prog_compiler_wl_GO
='-Wl,'
11969 lt_prog_compiler_static_GO
='-static'
11973 # All AIX code is PIC.
11974 if test "$host_cpu" = ia64
; then
11975 # AIX 5 now supports IA64 processor
11976 lt_prog_compiler_static_GO
='-Bstatic'
11978 lt_prog_compiler_pic_GO
='-fPIC'
11984 # see comment about AmigaOS4 .so support
11985 lt_prog_compiler_pic_GO
='-fPIC'
11988 # FIXME: we need at least 68020 code to build shared libraries, but
11989 # adding the `-m68020' flag to GCC prevents building anything better,
11991 lt_prog_compiler_pic_GO
='-m68020 -resident32 -malways-restore-a4'
11996 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11997 # PIC is the default for these OSes.
12000 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12001 # This hack is so that the source file can tell whether it is being
12002 # built for inclusion in a dll (and should export symbols for example).
12003 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12004 # (--disable-auto-import) libraries
12005 lt_prog_compiler_pic_GO
='-DDLL_EXPORT'
12008 darwin
* | rhapsody
*)
12009 # PIC is the default on this platform
12010 # Common symbols not allowed in MH_DYLIB files
12011 lt_prog_compiler_pic_GO
='-fno-common'
12015 # PIC is the default for Haiku.
12016 # The "-static" flag exists, but is broken.
12017 lt_prog_compiler_static_GO
=
12021 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12022 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12023 # sets the default TLS model and affects inlining.
12029 lt_prog_compiler_pic_GO
='-fPIC'
12035 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12036 # Instead, we relocate shared libraries at runtime.
12040 # Just because we use GCC doesn't mean we suddenly get shared libraries
12041 # on systems that don't support them.
12042 lt_prog_compiler_can_build_shared_GO
=no
12047 # QNX uses GNU C++, but need to define -shared option too, otherwise
12048 # it will coredump.
12049 lt_prog_compiler_pic_GO
='-fPIC -shared'
12053 if test -d /usr
/nec
; then
12054 lt_prog_compiler_pic_GO
=-Kconform_pic
12059 lt_prog_compiler_pic_GO
='-fPIC'
12063 case $cc_basename in
12064 nvcc
*) # Cuda Compiler Driver 2.2
12065 lt_prog_compiler_wl_GO
='-Xlinker '
12066 lt_prog_compiler_pic_GO
='-Xcompiler -fPIC'
12070 # PORTME Check for flag to pass linker flags through the system compiler.
12073 lt_prog_compiler_wl_GO
='-Wl,'
12074 if test "$host_cpu" = ia64
; then
12075 # AIX 5 now supports IA64 processor
12076 lt_prog_compiler_static_GO
='-Bstatic'
12078 lt_prog_compiler_static_GO
='-bnso -bI:/lib/syscalls.exp'
12082 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12083 # This hack is so that the source file can tell whether it is being
12084 # built for inclusion in a dll (and should export symbols for example).
12085 lt_prog_compiler_pic_GO
='-DDLL_EXPORT'
12088 hpux9
* | hpux10
* | hpux11
*)
12089 lt_prog_compiler_wl_GO
='-Wl,'
12090 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12091 # not for PA HP-UX.
12097 lt_prog_compiler_pic_GO
='+Z'
12100 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12101 lt_prog_compiler_static_GO
='${wl}-a ${wl}archive'
12104 irix5
* | irix6
* | nonstopux
*)
12105 lt_prog_compiler_wl_GO
='-Wl,'
12106 # PIC (with -KPIC) is the default.
12107 lt_prog_compiler_static_GO
='-non_shared'
12110 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12111 case $cc_basename in
12112 # old Intel for x86_64 which still supported -KPIC.
12114 lt_prog_compiler_wl_GO
='-Wl,'
12115 lt_prog_compiler_pic_GO
='-KPIC'
12116 lt_prog_compiler_static_GO
='-static'
12118 # icc used to be incompatible with GCC.
12119 # ICC 10 doesn't accept -KPIC any more.
12121 lt_prog_compiler_wl_GO
='-Wl,'
12122 lt_prog_compiler_pic_GO
='-fPIC'
12123 lt_prog_compiler_static_GO
='-static'
12125 # Lahey Fortran 8.1.
12127 lt_prog_compiler_wl_GO
='-Wl,'
12128 lt_prog_compiler_pic_GO
='--shared'
12129 lt_prog_compiler_static_GO
='--static'
12131 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12132 # Portland Group compilers (*not* the Pentium gcc compiler,
12133 # which looks to be a dead project)
12134 lt_prog_compiler_wl_GO
='-Wl,'
12135 lt_prog_compiler_pic_GO
='-fpic'
12136 lt_prog_compiler_static_GO
='-Bstatic'
12139 lt_prog_compiler_wl_GO
='-Wl,'
12140 # All Alpha code is PIC.
12141 lt_prog_compiler_static_GO
='-non_shared'
12143 xl
* | bgxl
* | bgf
* | mpixl
*)
12144 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
12145 lt_prog_compiler_wl_GO
='-Wl,'
12146 lt_prog_compiler_pic_GO
='-qpic'
12147 lt_prog_compiler_static_GO
='-qstaticlink'
12150 case `$CC -V 2>&1 | sed 5q` in
12151 *Sun\ F
* |
*Sun
*Fortran
*)
12152 # Sun Fortran 8.3 passes all unrecognized flags to the linker
12153 lt_prog_compiler_pic_GO
='-KPIC'
12154 lt_prog_compiler_static_GO
='-Bstatic'
12155 lt_prog_compiler_wl_GO
=''
12159 lt_prog_compiler_pic_GO
='-KPIC'
12160 lt_prog_compiler_static_GO
='-Bstatic'
12161 lt_prog_compiler_wl_GO
='-Wl,'
12169 lt_prog_compiler_pic_GO
='-KPIC'
12170 lt_prog_compiler_static_GO
='-Bstatic'
12174 # QNX uses GNU C++, but need to define -shared option too, otherwise
12175 # it will coredump.
12176 lt_prog_compiler_pic_GO
='-fPIC -shared'
12179 osf3
* | osf4
* | osf5
*)
12180 lt_prog_compiler_wl_GO
='-Wl,'
12181 # All OSF/1 code is PIC.
12182 lt_prog_compiler_static_GO
='-non_shared'
12186 lt_prog_compiler_static_GO
='-non_shared'
12190 lt_prog_compiler_pic_GO
='-KPIC'
12191 lt_prog_compiler_static_GO
='-Bstatic'
12192 case $cc_basename in
12193 f77
* | f90
* | f95
*)
12194 lt_prog_compiler_wl_GO
='-Qoption ld ';;
12196 lt_prog_compiler_wl_GO
='-Wl,';;
12201 lt_prog_compiler_wl_GO
='-Qoption ld '
12202 lt_prog_compiler_pic_GO
='-PIC'
12203 lt_prog_compiler_static_GO
='-Bstatic'
12206 sysv4 | sysv4.2uw2
* | sysv4.3
*)
12207 lt_prog_compiler_wl_GO
='-Wl,'
12208 lt_prog_compiler_pic_GO
='-KPIC'
12209 lt_prog_compiler_static_GO
='-Bstatic'
12213 if test -d /usr
/nec
;then
12214 lt_prog_compiler_pic_GO
='-Kconform_pic'
12215 lt_prog_compiler_static_GO
='-Bstatic'
12219 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12220 lt_prog_compiler_wl_GO
='-Wl,'
12221 lt_prog_compiler_pic_GO
='-KPIC'
12222 lt_prog_compiler_static_GO
='-Bstatic'
12226 lt_prog_compiler_wl_GO
='-Wl,'
12227 lt_prog_compiler_can_build_shared_GO
=no
12231 lt_prog_compiler_pic_GO
='-pic'
12232 lt_prog_compiler_static_GO
='-Bstatic'
12236 lt_prog_compiler_can_build_shared_GO
=no
12242 # For platforms which do not support PIC, -DPIC is meaningless:
12244 lt_prog_compiler_pic_GO
=
12247 lt_prog_compiler_pic_GO
="$lt_prog_compiler_pic_GO"
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_GO" >&5
12251 $as_echo "$lt_prog_compiler_pic_GO" >&6; }
12256 # Check to make sure the PIC flag actually works.
12258 if test -n "$lt_prog_compiler_pic_GO"; then
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GO works" >&5
12260 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GO works... " >&6; }
12261 if ${lt_cv_prog_compiler_pic_works_GO+:} false
; then :
12262 $as_echo_n "(cached) " >&6
12264 lt_cv_prog_compiler_pic_works_GO
=no
12265 ac_outfile
=conftest.
$ac_objext
12266 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12267 lt_compiler_flag
="$lt_prog_compiler_pic_GO"
12268 # Insert the option either (1) after the last *FLAGS variable, or
12269 # (2) before a word containing "conftest.", or (3) at the end.
12270 # Note that $ac_compile itself does not contain backslashes and begins
12271 # with a dollar sign (not a hyphen), so the echo should work correctly.
12272 # The option is referenced via a variable to avoid confusing sed.
12273 lt_compile
=`echo "$ac_compile" | $SED \
12274 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12275 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12276 -e 's:$: $lt_compiler_flag:'`
12277 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12278 (eval "$lt_compile" 2>conftest.err
)
12280 cat conftest.err
>&5
12281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12282 if (exit $ac_status) && test -s "$ac_outfile"; then
12283 # The compiler can only warn and ignore the option if not recognized
12284 # So say no if there are warnings other than the usual output.
12285 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
12286 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12287 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12288 lt_cv_prog_compiler_pic_works_GO
=yes
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_GO" >&5
12295 $as_echo "$lt_cv_prog_compiler_pic_works_GO" >&6; }
12297 if test x
"$lt_cv_prog_compiler_pic_works_GO" = xyes
; then
12298 case $lt_prog_compiler_pic_GO in
12300 *) lt_prog_compiler_pic_GO
=" $lt_prog_compiler_pic_GO" ;;
12303 lt_prog_compiler_pic_GO
=
12304 lt_prog_compiler_can_build_shared_GO
=no
12312 # Check to make sure the static flag actually works.
12314 wl
=$lt_prog_compiler_wl_GO eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GO\"
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12316 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12317 if ${lt_cv_prog_compiler_static_works_GO+:} false
; then :
12318 $as_echo_n "(cached) " >&6
12320 lt_cv_prog_compiler_static_works_GO
=no
12321 save_LDFLAGS
="$LDFLAGS"
12322 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12323 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12324 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12325 # The linker can only warn and ignore the option if not recognized
12326 # So say no if there are warnings
12327 if test -s conftest.err
; then
12328 # Append any errors to the config.log.
12329 cat conftest.err
1>&5
12330 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
12331 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12332 if diff conftest.exp conftest.er2
>/dev
/null
; then
12333 lt_cv_prog_compiler_static_works_GO
=yes
12336 lt_cv_prog_compiler_static_works_GO
=yes
12340 LDFLAGS
="$save_LDFLAGS"
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_GO" >&5
12344 $as_echo "$lt_cv_prog_compiler_static_works_GO" >&6; }
12346 if test x
"$lt_cv_prog_compiler_static_works_GO" = xyes
; then
12349 lt_prog_compiler_static_GO
=
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12356 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12357 if ${lt_cv_prog_compiler_c_o_GO+:} false
; then :
12358 $as_echo_n "(cached) " >&6
12360 lt_cv_prog_compiler_c_o_GO
=no
12361 $RM -r conftest
2>/dev
/null
12365 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12367 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12368 # Insert the option either (1) after the last *FLAGS variable, or
12369 # (2) before a word containing "conftest.", or (3) at the end.
12370 # Note that $ac_compile itself does not contain backslashes and begins
12371 # with a dollar sign (not a hyphen), so the echo should work correctly.
12372 lt_compile
=`echo "$ac_compile" | $SED \
12373 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12374 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12375 -e 's:$: $lt_compiler_flag:'`
12376 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12377 (eval "$lt_compile" 2>out
/conftest.err
)
12379 cat out
/conftest.err
>&5
12380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12381 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12383 # The compiler can only warn and ignore the option if not recognized
12384 # So say no if there are warnings
12385 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12386 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12387 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12388 lt_cv_prog_compiler_c_o_GO
=yes
12393 # SGI C++ compiler will create directory out/ii_files/ for
12394 # template instantiation
12395 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12396 $RM out
/* && rmdir out
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
12403 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12408 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12409 if ${lt_cv_prog_compiler_c_o_GO+:} false
; then :
12410 $as_echo_n "(cached) " >&6
12412 lt_cv_prog_compiler_c_o_GO
=no
12413 $RM -r conftest
2>/dev
/null
12417 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12419 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12420 # Insert the option either (1) after the last *FLAGS variable, or
12421 # (2) before a word containing "conftest.", or (3) at the end.
12422 # Note that $ac_compile itself does not contain backslashes and begins
12423 # with a dollar sign (not a hyphen), so the echo should work correctly.
12424 lt_compile
=`echo "$ac_compile" | $SED \
12425 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12426 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12427 -e 's:$: $lt_compiler_flag:'`
12428 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12429 (eval "$lt_compile" 2>out
/conftest.err
)
12431 cat out
/conftest.err
>&5
12432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12433 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12435 # The compiler can only warn and ignore the option if not recognized
12436 # So say no if there are warnings
12437 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12438 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12439 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12440 lt_cv_prog_compiler_c_o_GO
=yes
12445 # SGI C++ compiler will create directory out/ii_files/ for
12446 # template instantiation
12447 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12448 $RM out
/* && rmdir out
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
12455 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
12460 hard_links
="nottested"
12461 if test "$lt_cv_prog_compiler_c_o_GO" = no
&& test "$need_locks" != no
; then
12462 # do not overwrite the value of need_locks provided by the user
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12464 $as_echo_n "checking if we can lock with hard links... " >&6; }
12467 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12469 ln conftest.a conftest.b
2>&5 || hard_links
=no
12470 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12472 $as_echo "$hard_links" >&6; }
12473 if test "$hard_links" = no
; then
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12475 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12485 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12488 allow_undefined_flag_GO
=
12489 always_export_symbols_GO
=no
12491 archive_expsym_cmds_GO
=
12492 compiler_needs_object_GO
=no
12493 enable_shared_with_static_runtimes_GO
=no
12494 export_dynamic_flag_spec_GO
=
12495 export_symbols_cmds_GO
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12496 hardcode_automatic_GO
=no
12497 hardcode_direct_GO
=no
12498 hardcode_direct_absolute_GO
=no
12499 hardcode_libdir_flag_spec_GO
=
12500 hardcode_libdir_flag_spec_ld_GO
=
12501 hardcode_libdir_separator_GO
=
12502 hardcode_minus_L_GO
=no
12503 hardcode_shlibpath_var_GO
=unsupported
12504 inherit_rpath_GO
=no
12505 link_all_deplibs_GO
=unknown
12507 module_expsym_cmds_GO
=
12508 old_archive_from_new_cmds_GO
=
12509 old_archive_from_expsyms_cmds_GO
=
12510 thread_safe_flag_spec_GO
=
12511 whole_archive_flag_spec_GO
=
12512 # include_expsyms should be a list of space-separated symbols to be *always*
12513 # included in the symbol list
12514 include_expsyms_GO
=
12515 # exclude_expsyms can be an extended regexp of symbols to exclude
12516 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12517 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12518 # as well as any symbol that contains `d'.
12519 exclude_expsyms_GO
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12520 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12521 # platforms (ab)use it in PIC code, but their linkers get confused if
12522 # the symbol is explicitly referenced. Since portable code cannot
12523 # rely on this symbol name, it's probably fine to never include it in
12524 # preloaded symbol tables.
12525 # Exclude shared library initialization/finalization symbols.
12526 extract_expsyms_cmds
=
12529 cygwin
* | mingw
* | pw32
* | cegcc
*)
12530 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12531 # When not using gcc, we currently assume that we are using
12532 # Microsoft Visual C++.
12533 if test "$GCC" != yes; then
12538 # we just hope/assume this is gcc and not c89 (= MSVC++)
12548 # On some targets, GNU ld is compatible enough with the native linker
12549 # that we're better off using the native interface for both.
12550 lt_use_gnu_ld_interface
=no
12551 if test "$with_gnu_ld" = yes; then
12554 # The AIX port of GNU ld has always aspired to compatibility
12555 # with the native linker. However, as the warning in the GNU ld
12556 # block says, versions before 2.19.5* couldn't really create working
12557 # shared libraries, regardless of the interface used.
12558 case `$LD -v 2>&1` in
12559 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
12560 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
12561 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
12563 lt_use_gnu_ld_interface
=yes
12568 lt_use_gnu_ld_interface
=yes
12573 if test "$lt_use_gnu_ld_interface" = yes; then
12574 # If archive_cmds runs LD, not CC, wlarc should be empty
12577 # Set some defaults for GNU ld with shared library support. These
12578 # are reset later if shared libraries are not supported. Putting them
12579 # here allows them to be overridden if necessary.
12580 runpath_var
=LD_RUN_PATH
12581 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12582 export_dynamic_flag_spec_GO
='${wl}--export-dynamic'
12583 # ancient GNU ld didn't support --whole-archive et. al.
12584 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12585 whole_archive_flag_spec_GO
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12587 whole_archive_flag_spec_GO
=
12589 supports_anon_versioning
=no
12590 case `$LD -v 2>&1` in
12591 *GNU\ gold
*) supports_anon_versioning
=yes ;;
12592 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12593 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12594 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12595 *\
2.11.
*) ;; # other 2.11 versions
12596 *) supports_anon_versioning
=yes ;;
12599 # See if GNU ld supports shared libraries.
12602 # On AIX/PPC, the GNU linker is very broken
12603 if test "$host_cpu" != ia64
; then
12607 *** Warning: the GNU linker, at least up to release 2.19, is reported
12608 *** to be unable to reliably create shared libraries on AIX.
12609 *** Therefore, libtool is disabling shared libraries support. If you
12610 *** really care for shared libraries, you may want to install binutils
12611 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12612 *** You will then need to restart the configuration process.
12621 # see comment about AmigaOS4 .so support
12622 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12623 archive_expsym_cmds_GO
=''
12626 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)'
12627 hardcode_libdir_flag_spec_GO
='-L$libdir'
12628 hardcode_minus_L_GO
=yes
12634 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12635 allow_undefined_flag_GO
=unsupported
12636 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12637 # support --undefined. This deserves some investigation. FIXME
12638 archive_cmds_GO
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12644 cygwin
* | mingw
* | pw32
* | cegcc
*)
12645 # _LT_TAGVAR(hardcode_libdir_flag_spec, GO) is actually meaningless,
12646 # as there is no search path for DLLs.
12647 hardcode_libdir_flag_spec_GO
='-L$libdir'
12648 export_dynamic_flag_spec_GO
='${wl}--export-all-symbols'
12649 allow_undefined_flag_GO
=unsupported
12650 always_export_symbols_GO
=no
12651 enable_shared_with_static_runtimes_GO
=yes
12652 export_symbols_cmds_GO
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12654 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12655 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12656 # If the export-symbols file already is a .def file (1st line
12657 # is EXPORTS), use it as is; otherwise, prepend...
12658 archive_expsym_cmds_GO
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12659 cp $export_symbols $output_objdir/$soname.def;
12661 echo EXPORTS > $output_objdir/$soname.def;
12662 cat $export_symbols >> $output_objdir/$soname.def;
12664 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12671 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12672 link_all_deplibs_GO
=yes
12676 hardcode_direct_GO
=no
12677 hardcode_shlibpath_var_GO
=no
12678 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12679 export_dynamic_flag_spec_GO
='${wl}-E'
12680 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12681 # Instead, shared libraries are loaded at an image base (0x10000000 by
12682 # default) and relocated if they conflict, which is a slow very memory
12683 # consuming and fragmenting process. To avoid this, we pick a random,
12684 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12685 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12686 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'
12687 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'
12690 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12692 if test "$host_os" = linux-dietlibc
; then
12693 case $cc_basename in
12694 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12697 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12698 && test "$tmp_diet" = no
12701 tmp_sharedflag
='-shared'
12702 case $cc_basename,$host_cpu in
12703 pgcc
*) # Portland Group C compiler
12704 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'
12705 tmp_addflag
=' $pic_flag'
12707 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12708 # Portland Group f77 and f90 compilers
12709 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'
12710 tmp_addflag
=' $pic_flag -Mnomain' ;;
12711 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12712 tmp_addflag
=' -i_dynamic' ;;
12713 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12714 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12715 ifc
* | ifort
*) # Intel Fortran compiler
12716 tmp_addflag
=' -nofor_main' ;;
12717 lf95
*) # Lahey Fortran 8.1
12718 whole_archive_flag_spec_GO
=
12719 tmp_sharedflag
='--shared' ;;
12720 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12721 tmp_sharedflag
='-qmkshrobj'
12723 nvcc
*) # Cuda Compiler Driver 2.2
12724 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'
12725 compiler_needs_object_GO
=yes
12728 case `$CC -V 2>&1 | sed 5q` in
12729 *Sun\ C
*) # Sun C 5.9
12730 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'
12731 compiler_needs_object_GO
=yes
12732 tmp_sharedflag
='-G' ;;
12733 *Sun\ F
*) # Sun Fortran 8.3
12734 tmp_sharedflag
='-G' ;;
12736 archive_cmds_GO
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12738 if test "x$supports_anon_versioning" = xyes
; then
12739 archive_expsym_cmds_GO
='echo "{ global:" > $output_objdir/$libname.ver~
12740 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12741 echo "local: *; };" >> $output_objdir/$libname.ver~
12742 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12745 case $cc_basename in
12746 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12747 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12748 whole_archive_flag_spec_GO
='--whole-archive$convenience --no-whole-archive'
12749 hardcode_libdir_flag_spec_GO
=
12750 hardcode_libdir_flag_spec_ld_GO
='-rpath $libdir'
12751 archive_cmds_GO
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12752 if test "x$supports_anon_versioning" = xyes
; then
12753 archive_expsym_cmds_GO
='echo "{ global:" > $output_objdir/$libname.ver~
12754 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12755 echo "local: *; };" >> $output_objdir/$libname.ver~
12756 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12766 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12767 archive_cmds_GO
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12770 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12771 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12776 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12780 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12781 *** create shared libraries on Solaris systems. Therefore, libtool
12782 *** is disabling shared libraries support. We urge you to upgrade GNU
12783 *** binutils to release 2.9.1 or newer. Another option is to modify
12784 *** your PATH or compiler configuration so that the native linker is
12785 *** used, and then restart.
12788 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12789 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12790 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12796 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12797 case `$LD -v 2>&1` in
12798 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12802 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12803 *** reliably create shared libraries on SCO systems. Therefore, libtool
12804 *** is disabling shared libraries support. We urge you to upgrade GNU
12805 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12806 *** your PATH or compiler configuration so that the native linker is
12807 *** used, and then restart.
12812 # For security reasons, it is highly recommended that you always
12813 # use absolute paths for naming shared libraries, and exclude the
12814 # DT_RUNPATH tag from executables and libraries. But doing so
12815 # requires that you compile everything twice, which is a pain.
12816 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12817 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12818 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12819 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12828 archive_cmds_GO
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12830 hardcode_direct_GO
=yes
12831 hardcode_shlibpath_var_GO
=no
12835 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12836 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12837 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12844 if test "$ld_shlibs_GO" = no
; then
12846 hardcode_libdir_flag_spec_GO
=
12847 export_dynamic_flag_spec_GO
=
12848 whole_archive_flag_spec_GO
=
12851 # PORTME fill in a description of your system's linker (not GNU ld)
12854 allow_undefined_flag_GO
=unsupported
12855 always_export_symbols_GO
=yes
12856 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'
12857 # Note: this linker hardcodes the directories in LIBPATH if there
12858 # are no directories specified by -L.
12859 hardcode_minus_L_GO
=yes
12860 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12861 # Neither direct hardcoding nor static linking is supported with a
12863 hardcode_direct_GO
=unsupported
12868 if test "$host_cpu" = ia64
; then
12869 # On IA64, the linker does run time linking by default, so we don't
12870 # have to do anything special.
12871 aix_use_runtimelinking
=no
12872 exp_sym_flag
='-Bexport'
12875 # If we're using GNU nm, then we don't want the "-C" option.
12876 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12877 # Also, AIX nm treats weak defined symbols like other global
12878 # defined symbols, whereas GNU nm marks them as "W".
12879 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
12880 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'
12882 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'
12884 aix_use_runtimelinking
=no
12886 # Test if we are trying to use run time linking or normal
12887 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12888 # need to do runtime linking.
12889 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12890 for ld_flag
in $LDFLAGS; do
12891 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
12892 aix_use_runtimelinking
=yes
12899 exp_sym_flag
='-bexport'
12900 no_entry_flag
='-bnoentry'
12903 # When large executables or shared objects are built, AIX ld can
12904 # have problems creating the table of contents. If linking a library
12905 # or program results in "error TOC overflow" add -mminimal-toc to
12906 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12907 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12910 hardcode_direct_GO
=yes
12911 hardcode_direct_absolute_GO
=yes
12912 hardcode_libdir_separator_GO
=':'
12913 link_all_deplibs_GO
=yes
12914 file_list_spec_GO
='${wl}-f,'
12916 if test "$GCC" = yes; then
12917 case $host_os in aix4.
[012]|aix4.
[012].
*)
12918 # We only want to do this on AIX 4.2 and lower, the check
12919 # below for broken collect2 doesn't work under 4.3+
12920 collect2name
=`${CC} -print-prog-name=collect2`
12921 if test -f "$collect2name" &&
12922 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12924 # We have reworked collect2
12927 # We have old collect2
12928 hardcode_direct_GO
=unsupported
12929 # It fails to find uninstalled libraries when the uninstalled
12930 # path is not listed in the libpath. Setting hardcode_minus_L
12931 # to unsupported forces relinking
12932 hardcode_minus_L_GO
=yes
12933 hardcode_libdir_flag_spec_GO
='-L$libdir'
12934 hardcode_libdir_separator_GO
=
12938 shared_flag
='-shared'
12939 if test "$aix_use_runtimelinking" = yes; then
12940 shared_flag
="$shared_flag "'${wl}-G'
12944 if test "$host_cpu" = ia64
; then
12945 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12946 # chokes on -Wl,-G. The following line is correct:
12949 if test "$aix_use_runtimelinking" = yes; then
12950 shared_flag
='${wl}-G'
12952 shared_flag
='${wl}-bM:SRE'
12957 export_dynamic_flag_spec_GO
='${wl}-bexpall'
12958 # It seems that -bexpall does not export symbols beginning with
12959 # underscore (_), so it is better to generate a list of symbols to export.
12960 always_export_symbols_GO
=yes
12961 if test "$aix_use_runtimelinking" = yes; then
12962 # Warning - without using the other runtime loading flags (-brtl),
12963 # -berok will link without error, but may produce a broken library.
12964 allow_undefined_flag_GO
='-berok'
12965 # Determine the default libpath from the value encoded in an
12966 # empty executable.
12967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12968 /* end confdefs.h. */
12978 if ac_fn_c_try_link
"$LINENO"; then :
12980 lt_aix_libpath_sed
='
12981 /Import File Strings/,/^$/ {
12987 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12988 # Check for a 64-bit object if we didn't find anything.
12989 if test -z "$aix_libpath"; then
12990 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12993 rm -f core conftest.err conftest.
$ac_objext \
12994 conftest
$ac_exeext conftest.
$ac_ext
12995 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12997 hardcode_libdir_flag_spec_GO
='${wl}-blibpath:$libdir:'"$aix_libpath"
12998 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"
13000 if test "$host_cpu" = ia64
; then
13001 hardcode_libdir_flag_spec_GO
='${wl}-R $libdir:/usr/lib:/lib'
13002 allow_undefined_flag_GO
="-z nodefs"
13003 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"
13005 # Determine the default libpath from the value encoded in an
13006 # empty executable.
13007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13008 /* end confdefs.h. */
13018 if ac_fn_c_try_link
"$LINENO"; then :
13020 lt_aix_libpath_sed
='
13021 /Import File Strings/,/^$/ {
13027 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13028 # Check for a 64-bit object if we didn't find anything.
13029 if test -z "$aix_libpath"; then
13030 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13033 rm -f core conftest.err conftest.
$ac_objext \
13034 conftest
$ac_exeext conftest.
$ac_ext
13035 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13037 hardcode_libdir_flag_spec_GO
='${wl}-blibpath:$libdir:'"$aix_libpath"
13038 # Warning - without using the other run time loading flags,
13039 # -berok will link without error, but may produce a broken library.
13040 no_undefined_flag_GO
=' ${wl}-bernotok'
13041 allow_undefined_flag_GO
=' ${wl}-berok'
13042 if test "$with_gnu_ld" = yes; then
13043 # We only use this code for GNU lds that support --whole-archive.
13044 whole_archive_flag_spec_GO
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13046 # Exported symbols can be pulled into shared objects from archives
13047 whole_archive_flag_spec_GO
='$convenience'
13049 archive_cmds_need_lc_GO
=yes
13050 # This is similar to how AIX traditionally builds its shared libraries.
13051 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'
13059 # see comment about AmigaOS4 .so support
13060 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13061 archive_expsym_cmds_GO
=''
13064 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)'
13065 hardcode_libdir_flag_spec_GO
='-L$libdir'
13066 hardcode_minus_L_GO
=yes
13072 export_dynamic_flag_spec_GO
=-rdynamic
13075 cygwin
* | mingw
* | pw32
* | cegcc
*)
13076 # When not using gcc, we currently assume that we are using
13077 # Microsoft Visual C++.
13078 # hardcode_libdir_flag_spec is actually meaningless, as there is
13079 # no search path for DLLs.
13080 hardcode_libdir_flag_spec_GO
=' '
13081 allow_undefined_flag_GO
=unsupported
13082 # Tell ltmain to make .lib files, not .a files.
13084 # Tell ltmain to make .dll files, not .so files.
13086 # FIXME: Setting linknames here is a bad hack.
13087 archive_cmds_GO
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13088 # The linker will automatically build a .lib file if we build a DLL.
13089 old_archive_from_new_cmds_GO
='true'
13090 # FIXME: Should let the user specify the lib program.
13091 old_archive_cmds_GO
='lib -OUT:$oldlib$oldobjs$old_deplibs'
13092 fix_srcfile_path_GO
='`cygpath -w "$srcfile"`'
13093 enable_shared_with_static_runtimes_GO
=yes
13096 darwin
* | rhapsody
*)
13099 archive_cmds_need_lc_GO
=no
13100 hardcode_direct_GO
=no
13101 hardcode_automatic_GO
=yes
13102 hardcode_shlibpath_var_GO
=unsupported
13103 if test "$lt_cv_ld_force_load" = "yes"; then
13104 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\"`'
13106 whole_archive_flag_spec_GO
=''
13108 link_all_deplibs_GO
=yes
13109 allow_undefined_flag_GO
="$_lt_dar_allow_undefined"
13110 case $cc_basename in
13111 ifort
*) _lt_dar_can_shared
=yes ;;
13112 *) _lt_dar_can_shared
=$GCC ;;
13114 if test "$_lt_dar_can_shared" = "yes"; then
13115 output_verbose_link_cmd
=func_echo_all
13116 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}"
13117 module_cmds_GO
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13118 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}"
13119 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}"
13128 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13129 hardcode_libdir_flag_spec_GO
='-L$libdir'
13130 hardcode_shlibpath_var_GO
=no
13133 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13134 # support. Future versions do this automatically, but an explicit c++rt0.o
13135 # does not break anything, and helps significantly (at the cost of a little
13138 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13139 hardcode_libdir_flag_spec_GO
='-R$libdir'
13140 hardcode_direct_GO
=yes
13141 hardcode_shlibpath_var_GO
=no
13144 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13146 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13147 hardcode_direct_GO
=yes
13148 hardcode_minus_L_GO
=yes
13149 hardcode_shlibpath_var_GO
=no
13152 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13153 freebsd
* | dragonfly
*)
13154 archive_cmds_GO
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13155 hardcode_libdir_flag_spec_GO
='-R$libdir'
13156 hardcode_direct_GO
=yes
13157 hardcode_shlibpath_var_GO
=no
13161 if test "$GCC" = yes; then
13162 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'
13164 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'
13166 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
13167 hardcode_libdir_separator_GO
=:
13168 hardcode_direct_GO
=yes
13170 # hardcode_minus_L: Not really in the search PATH,
13171 # but as the default location of the library.
13172 hardcode_minus_L_GO
=yes
13173 export_dynamic_flag_spec_GO
='${wl}-E'
13177 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
13178 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13180 archive_cmds_GO
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13182 if test "$with_gnu_ld" = no
; then
13183 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
13184 hardcode_libdir_flag_spec_ld_GO
='+b $libdir'
13185 hardcode_libdir_separator_GO
=:
13186 hardcode_direct_GO
=yes
13187 hardcode_direct_absolute_GO
=yes
13188 export_dynamic_flag_spec_GO
='${wl}-E'
13189 # hardcode_minus_L: Not really in the search PATH,
13190 # but as the default location of the library.
13191 hardcode_minus_L_GO
=yes
13196 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
13199 archive_cmds_GO
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13202 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13205 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13211 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13214 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13217 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13221 if test "$with_gnu_ld" = no
; then
13222 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
13223 hardcode_libdir_separator_GO
=:
13227 hardcode_direct_GO
=no
13228 hardcode_shlibpath_var_GO
=no
13231 hardcode_direct_GO
=yes
13232 hardcode_direct_absolute_GO
=yes
13233 export_dynamic_flag_spec_GO
='${wl}-E'
13235 # hardcode_minus_L: Not really in the search PATH,
13236 # but as the default location of the library.
13237 hardcode_minus_L_GO
=yes
13243 irix5
* | irix6
* | nonstopux
*)
13244 if test "$GCC" = yes; then
13245 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'
13246 # Try to use the -exported_symbol ld option, if it does not
13247 # work, assume that -exports_file does not work either and
13248 # implicitly export all symbols.
13249 save_LDFLAGS
="$LDFLAGS"
13250 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13252 /* end confdefs.h. */
13255 if ac_fn_c_try_link
"$LINENO"; then :
13256 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'
13259 rm -f core conftest.err conftest.
$ac_objext \
13260 conftest
$ac_exeext conftest.
$ac_ext
13261 LDFLAGS
="$save_LDFLAGS"
13263 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'
13264 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'
13266 archive_cmds_need_lc_GO
='no'
13267 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
13268 hardcode_libdir_separator_GO
=:
13269 inherit_rpath_GO
=yes
13270 link_all_deplibs_GO
=yes
13274 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13275 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13277 archive_cmds_GO
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13279 hardcode_libdir_flag_spec_GO
='-R$libdir'
13280 hardcode_direct_GO
=yes
13281 hardcode_shlibpath_var_GO
=no
13285 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13286 hardcode_direct_GO
=yes
13287 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
13288 hardcode_libdir_separator_GO
=:
13289 hardcode_shlibpath_var_GO
=no
13296 if test -f /usr
/libexec
/ld.so
; then
13297 hardcode_direct_GO
=yes
13298 hardcode_shlibpath_var_GO
=no
13299 hardcode_direct_absolute_GO
=yes
13300 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13301 archive_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13302 archive_expsym_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13303 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
13304 export_dynamic_flag_spec_GO
='${wl}-E'
13307 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
13308 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13309 hardcode_libdir_flag_spec_GO
='-R$libdir'
13312 archive_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13313 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
13323 hardcode_libdir_flag_spec_GO
='-L$libdir'
13324 hardcode_minus_L_GO
=yes
13325 allow_undefined_flag_GO
=unsupported
13326 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'
13327 old_archive_from_new_cmds_GO
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13331 if test "$GCC" = yes; then
13332 allow_undefined_flag_GO
=' ${wl}-expect_unresolved ${wl}\*'
13333 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'
13335 allow_undefined_flag_GO
=' -expect_unresolved \*'
13336 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'
13338 archive_cmds_need_lc_GO
='no'
13339 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
13340 hardcode_libdir_separator_GO
=:
13343 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
13344 if test "$GCC" = yes; then
13345 allow_undefined_flag_GO
=' ${wl}-expect_unresolved ${wl}\*'
13346 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'
13347 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
13349 allow_undefined_flag_GO
=' -expect_unresolved \*'
13350 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'
13351 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~
13352 $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'
13354 # Both c and cxx compiler support -rpath directly
13355 hardcode_libdir_flag_spec_GO
='-rpath $libdir'
13357 archive_cmds_need_lc_GO
='no'
13358 hardcode_libdir_separator_GO
=:
13362 no_undefined_flag_GO
=' -z defs'
13363 if test "$GCC" = yes; then
13365 archive_cmds_GO
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13366 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13367 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13369 case `$CC -V 2>&1` in
13372 archive_cmds_GO
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13373 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13374 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13378 archive_cmds_GO
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13379 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13380 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13384 hardcode_libdir_flag_spec_GO
='-R$libdir'
13385 hardcode_shlibpath_var_GO
=no
13387 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13389 # The compiler driver will combine and reorder linker options,
13390 # but understands `-z linker_flag'. GCC discards it without `$wl',
13391 # but is careful enough not to reorder.
13392 # Supported since Solaris 2.6 (maybe 2.5.1?)
13393 if test "$GCC" = yes; then
13394 whole_archive_flag_spec_GO
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13396 whole_archive_flag_spec_GO
='-z allextract$convenience -z defaultextract'
13400 link_all_deplibs_GO
=yes
13404 if test "x$host_vendor" = xsequent
; then
13405 # Use $CC to link under sequent, because it throws in some extra .o
13406 # files that make .init and .fini sections work.
13407 archive_cmds_GO
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13409 archive_cmds_GO
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13411 hardcode_libdir_flag_spec_GO
='-L$libdir'
13412 hardcode_direct_GO
=yes
13413 hardcode_minus_L_GO
=yes
13414 hardcode_shlibpath_var_GO
=no
13418 case $host_vendor in
13420 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13421 hardcode_direct_GO
=yes # is this really true???
13424 ## LD is ld it makes a PLAMLIB
13425 ## CC just makes a GrossModule.
13426 archive_cmds_GO
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13427 reload_cmds_GO
='$CC -r -o $output$reload_objs'
13428 hardcode_direct_GO
=no
13431 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13432 hardcode_direct_GO
=no
#Motorola manual says yes, but my tests say they lie
13435 runpath_var
='LD_RUN_PATH'
13436 hardcode_shlibpath_var_GO
=no
13440 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13441 hardcode_shlibpath_var_GO
=no
13442 export_dynamic_flag_spec_GO
='-Bexport'
13446 if test -d /usr
/nec
; then
13447 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13448 hardcode_shlibpath_var_GO
=no
13449 runpath_var
=LD_RUN_PATH
13450 hardcode_runpath_var
=yes
13455 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13456 no_undefined_flag_GO
='${wl}-z,text'
13457 archive_cmds_need_lc_GO
=no
13458 hardcode_shlibpath_var_GO
=no
13459 runpath_var
='LD_RUN_PATH'
13461 if test "$GCC" = yes; then
13462 archive_cmds_GO
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13463 archive_expsym_cmds_GO
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13465 archive_cmds_GO
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13466 archive_expsym_cmds_GO
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13470 sysv5
* | sco3.2v5
* | sco5v6
*)
13471 # Note: We can NOT use -z defs as we might desire, because we do not
13472 # link with -lc, and that would cause any symbols used from libc to
13473 # always be unresolved, which means just about no library would
13474 # ever link correctly. If we're not using GNU ld we use -z text
13475 # though, which does catch some bad symbols but isn't as heavy-handed
13477 no_undefined_flag_GO
='${wl}-z,text'
13478 allow_undefined_flag_GO
='${wl}-z,nodefs'
13479 archive_cmds_need_lc_GO
=no
13480 hardcode_shlibpath_var_GO
=no
13481 hardcode_libdir_flag_spec_GO
='${wl}-R,$libdir'
13482 hardcode_libdir_separator_GO
=':'
13483 link_all_deplibs_GO
=yes
13484 export_dynamic_flag_spec_GO
='${wl}-Bexport'
13485 runpath_var
='LD_RUN_PATH'
13487 if test "$GCC" = yes; then
13488 archive_cmds_GO
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13489 archive_expsym_cmds_GO
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13491 archive_cmds_GO
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13492 archive_expsym_cmds_GO
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13497 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13498 hardcode_libdir_flag_spec_GO
='-L$libdir'
13499 hardcode_shlibpath_var_GO
=no
13507 if test x
$host_vendor = xsni
; then
13509 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13510 export_dynamic_flag_spec_GO
='${wl}-Blargedynsym'
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GO" >&5
13517 $as_echo "$ld_shlibs_GO" >&6; }
13518 test "$ld_shlibs_GO" = no
&& can_build_shared
=no
13520 with_gnu_ld_GO
=$with_gnu_ld
13528 # Do we need to explicitly link libc?
13530 case "x$archive_cmds_need_lc_GO" in
13532 # Assume -lc should be added
13533 archive_cmds_need_lc_GO
=yes
13535 if test "$enable_shared" = yes && test "$GCC" = yes; then
13536 case $archive_cmds_GO in
13538 # FIXME: we may have to deal with multi-command sequences.
13541 # Test whether the compiler implicitly links with -lc since on some
13542 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13543 # to ld, don't add -lc before -lgcc.
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13545 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13546 if ${lt_cv_archive_cmds_need_lc_GO+:} false
; then :
13547 $as_echo_n "(cached) " >&6
13550 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13552 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13553 (eval $ac_compile) 2>&5
13555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13556 test $ac_status = 0; } 2>conftest.err
; then
13559 libobjs
=conftest.
$ac_objext
13561 wl
=$lt_prog_compiler_wl_GO
13562 pic_flag
=$lt_prog_compiler_pic_GO
13568 lt_save_allow_undefined_flag
=$allow_undefined_flag_GO
13569 allow_undefined_flag_GO
=
13570 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GO 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13571 (eval $archive_cmds_GO 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13574 test $ac_status = 0; }
13576 lt_cv_archive_cmds_need_lc_GO
=no
13578 lt_cv_archive_cmds_need_lc_GO
=yes
13580 allow_undefined_flag_GO
=$lt_save_allow_undefined_flag
13582 cat conftest.err
1>&5
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_GO" >&5
13588 $as_echo "$lt_cv_archive_cmds_need_lc_GO" >&6; }
13589 archive_cmds_need_lc_GO
=$lt_cv_archive_cmds_need_lc_GO
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13660 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13661 hardcode_action_GO
=
13662 if test -n "$hardcode_libdir_flag_spec_GO" ||
13663 test -n "$runpath_var_GO" ||
13664 test "X$hardcode_automatic_GO" = "Xyes" ; then
13666 # We can hardcode non-existent directories.
13667 if test "$hardcode_direct_GO" != no
&&
13668 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13669 # have to relink, otherwise we might link with an installed library
13670 # when we should be linking with a yet-to-be-installed one
13671 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, GO)" != no &&
13672 test "$hardcode_minus_L_GO" != no
; then
13673 # Linking always hardcodes the temporary library directory.
13674 hardcode_action_GO
=relink
13676 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13677 hardcode_action_GO
=immediate
13680 # We cannot hardcode anything, or else we can only hardcode existing
13682 hardcode_action_GO
=unsupported
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GO" >&5
13685 $as_echo "$hardcode_action_GO" >&6; }
13687 if test "$hardcode_action_GO" = relink ||
13688 test "$inherit_rpath_GO" = yes; then
13689 # Fast installation is not supported
13690 enable_fast_install
=no
13691 elif test "$shlibpath_overrides_runpath" = yes ||
13692 test "$enable_shared" = no
; then
13693 # Fast installation is not necessary
13694 enable_fast_install
=needless
13706 ac_cpp
='$CPP $CPPFLAGS'
13707 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13708 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13709 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13718 ac_config_commands
="$ac_config_commands libtool"
13723 # Only expand once:
13729 CC_FOR_BUILD
=${CC_FOR_BUILD:-gcc}
13732 for ac_prog
in gawk mawk nawk
awk
13734 # Extract the first word of "$ac_prog", so it can be a program name with args.
13735 set dummy
$ac_prog; ac_word
=$2
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13737 $as_echo_n "checking for $ac_word... " >&6; }
13738 if ${ac_cv_prog_AWK+:} false
; then :
13739 $as_echo_n "(cached) " >&6
13741 if test -n "$AWK"; then
13742 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
13744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13745 for as_dir
in $PATH
13748 test -z "$as_dir" && as_dir
=.
13749 for ac_exec_ext
in '' $ac_executable_extensions; do
13750 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13751 ac_cv_prog_AWK
="$ac_prog"
13752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13761 AWK
=$ac_cv_prog_AWK
13762 if test -n "$AWK"; then
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
13764 $as_echo "$AWK" >&6; }
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13767 $as_echo "no" >&6; }
13771 test -n "$AWK" && break
13775 WARN_FLAGS
='-Wall -Wextra -Wwrite-strings -Wcast-qual'
13778 # Check whether --enable-werror was given.
13779 if test "${enable_werror+set}" = set; then :
13780 enableval
=$enable_werror;
13783 if test "x$enable_werror" != "xno"; then
13788 glibgo_toolexecdir
=no
13789 glibgo_toolexeclibdir
=no
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
13792 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
13793 # Check whether --enable-version-specific-runtime-libs was given.
13794 if test "${enable_version_specific_runtime_libs+set}" = set; then :
13795 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
13796 yes) version_specific_libs
=yes ;;
13797 no
) version_specific_libs
=no
;;
13798 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
13801 version_specific_libs
=no
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
13805 $as_echo "$version_specific_libs" >&6; }
13808 # Check whether --with-toolexeclibdir was given.
13809 if test "${with_toolexeclibdir+set}" = set; then :
13810 withval
=$with_toolexeclibdir; case ${with_toolexeclibdir} in
13814 with_toolexeclibdir
=`echo $with_toolexeclibdir | sed 's,/$,,'`
13818 with_toolexeclibdir
=no
13823 # Version-specific runtime libs processing.
13824 if test $version_specific_libs = yes; then
13825 glibgo_toolexecdir
='${libdir}/gcc/${host_alias}'
13826 glibgo_toolexeclibdir
='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
13829 # Calculate glibgo_toolexecdir, glibgo_toolexeclibdir
13830 # Install a library built with a cross compiler in tooldir, not libdir.
13831 if test -n "$with_cross_host" &&
13832 test x
"$with_cross_host" != x
"no"; then
13833 nover_glibgo_toolexecdir
='${exec_prefix}/${host_alias}'
13834 case ${with_toolexeclibdir} in
13836 nover_glibgo_toolexeclibdir
='${toolexecdir}/lib'
13839 nover_glibgo_toolexeclibdir
=${with_toolexeclibdir}
13843 nover_glibgo_toolexecdir
='${libdir}/gcc/${host_alias}'
13844 nover_glibgo_toolexeclibdir
='${libdir}'
13846 multi_os_directory
=`$GOC -print-multi-os-directory`
13847 case $multi_os_directory in
13848 .
) ;; # Avoid trailing /.
13849 *) nover_glibgo_toolexeclibdir
=${nover_glibgo_toolexeclibdir}/${multi_os_directory} ;;
13852 if test x
"$glibgo_toolexecdir" = x
"no"; then
13853 glibgo_toolexecdir
="${nover_glibgo_toolexecdir}"
13854 glibgo_toolexeclibdir
="${nover_glibgo_toolexeclibdir}"
13861 # See if the user wants to configure without libffi. Some
13862 # architectures don't support it. FIXME: We should set a default
13863 # based on the host.
13865 # Check whether --with-libffi was given.
13866 if test "${with_libffi+set}" = set; then :
13867 withval
=$with_libffi; :
13869 with_libffi
=${with_libffi_default-yes}
13875 if test "$with_libffi" != no
; then
13877 $as_echo "#define USE_LIBFFI 1" >>confdefs.h
13879 LIBFFI
=..
/libffi
/libffi_convenience.la
13880 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
13884 if test "$with_libffi" != "no"; then
13886 USE_LIBFFI_FALSE
='#'
13888 USE_LIBFFI_TRUE
='#'
13893 # See if the user wants to configure without libatomic. This is useful if we are
13894 # on an architecture for which libgo does not need an atomic support library and
13895 # libatomic does not support our C compiler.
13897 # Check whether --with-libatomic was given.
13898 if test "${with_libatomic+set}" = set; then :
13899 withval
=$with_libatomic; :
13901 with_libatomic
=${with_libatomic_default-yes}
13906 if test "$with_libatomic" != no
; then
13907 LIBATOMIC
=..
/libatomic
/libatomic_convenience.la
13911 # Used to tell GNU make to include a file without telling automake to
13913 go_include
="-include"
13916 # All known GOOS values. This is the union of all operating systems
13917 # supported by the gofrontend and all operating systems supported by
13918 # the gc toolchain.
13919 ALLGOOS
="aix android darwin dragonfly freebsd hurd illumos irix js linux netbsd openbsd plan9 rtems solaris windows"
13934 *-*-darwin*) is_darwin
=yes; GOOS
=darwin
;;
13935 *-*-freebsd*) is_freebsd
=yes; GOOS
=freebsd
;;
13936 *-*-irix6*) is_irix
=yes; GOOS
=irix
;;
13937 *-*-linux*) is_linux
=yes; GOOS
=linux
;;
13938 *-*-netbsd*) is_netbsd
=yes; GOOS
=netbsd
;;
13939 *-*-openbsd*) is_openbsd
=yes; GOOS
=openbsd
;;
13940 *-*-dragonfly*) is_dragonfly
=yes; GOOS
=dragonfly
;;
13941 *-*-rtems*) is_rtems
=yes; GOOS
=rtems
;;
13942 *-*-solaris2*) is_solaris
=yes; GOOS
=solaris
;;
13943 *-*-aix*) is_aix
=yes; GOOS
=aix
;;
13944 *-*-gnu*) is_hurd
=yes; GOOS
=hurd
;;
13946 if test $is_darwin = yes; then
13947 LIBGO_IS_DARWIN_TRUE
=
13948 LIBGO_IS_DARWIN_FALSE
='#'
13950 LIBGO_IS_DARWIN_TRUE
='#'
13951 LIBGO_IS_DARWIN_FALSE
=
13954 if test $is_freebsd = yes; then
13955 LIBGO_IS_FREEBSD_TRUE
=
13956 LIBGO_IS_FREEBSD_FALSE
='#'
13958 LIBGO_IS_FREEBSD_TRUE
='#'
13959 LIBGO_IS_FREEBSD_FALSE
=
13962 if test $is_irix = yes; then
13963 LIBGO_IS_IRIX_TRUE
=
13964 LIBGO_IS_IRIX_FALSE
='#'
13966 LIBGO_IS_IRIX_TRUE
='#'
13967 LIBGO_IS_IRIX_FALSE
=
13970 if test $is_linux = yes; then
13971 LIBGO_IS_LINUX_TRUE
=
13972 LIBGO_IS_LINUX_FALSE
='#'
13974 LIBGO_IS_LINUX_TRUE
='#'
13975 LIBGO_IS_LINUX_FALSE
=
13978 if test $is_netbsd = yes; then
13979 LIBGO_IS_NETBSD_TRUE
=
13980 LIBGO_IS_NETBSD_FALSE
='#'
13982 LIBGO_IS_NETBSD_TRUE
='#'
13983 LIBGO_IS_NETBSD_FALSE
=
13986 if test $is_openbsd = yes; then
13987 LIBGO_IS_OPENBSD_TRUE
=
13988 LIBGO_IS_OPENBSD_FALSE
='#'
13990 LIBGO_IS_OPENBSD_TRUE
='#'
13991 LIBGO_IS_OPENBSD_FALSE
=
13994 if test $is_dragonfly = yes; then
13995 LIBGO_IS_DRAGONFLY_TRUE
=
13996 LIBGO_IS_DRAGONFLY_FALSE
='#'
13998 LIBGO_IS_DRAGONFLY_TRUE
='#'
13999 LIBGO_IS_DRAGONFLY_FALSE
=
14002 if test $is_rtems = yes; then
14003 LIBGO_IS_RTEMS_TRUE
=
14004 LIBGO_IS_RTEMS_FALSE
='#'
14006 LIBGO_IS_RTEMS_TRUE
='#'
14007 LIBGO_IS_RTEMS_FALSE
=
14010 if test $is_solaris = yes; then
14011 LIBGO_IS_SOLARIS_TRUE
=
14012 LIBGO_IS_SOLARIS_FALSE
='#'
14014 LIBGO_IS_SOLARIS_TRUE
='#'
14015 LIBGO_IS_SOLARIS_FALSE
=
14018 if test $is_aix = yes; then
14020 LIBGO_IS_AIX_FALSE
='#'
14022 LIBGO_IS_AIX_TRUE
='#'
14023 LIBGO_IS_AIX_FALSE
=
14026 if test $is_hurd = yes; then
14027 LIBGO_IS_HURD_TRUE
=
14028 LIBGO_IS_HURD_FALSE
='#'
14030 LIBGO_IS_HURD_TRUE
='#'
14031 LIBGO_IS_HURD_FALSE
=
14034 if test $is_darwin = yes -o $is_dragonfly = yes -o $is_freebsd = yes -o $is_netbsd = yes -o $is_openbsd = yes; then
14036 LIBGO_IS_BSD_FALSE
='#'
14038 LIBGO_IS_BSD_TRUE
='#'
14039 LIBGO_IS_BSD_FALSE
=
14047 *-*-rtems*) USE_DEJAGNU
=yes ;;
14049 *) USE_DEJAGNU
=yes ;;
14053 # All known GOARCH values. This is the union of all architectures
14054 # supported by the gofrontend and all architectures supported by the
14056 # To add a new architecture:
14057 # - add it to this list
14058 # - if appropriate, add an entry to ALLGOARCHFAMILY below
14059 # - add an entry to the case on ${host} below to set GOARCH
14060 # - update goarchList in libgo/go/go/build/syslist.go
14061 # - update goarch.sh to report the values for this architecture
14062 # - update go-set-goarch in gcc/testsuite/go.test/go-test.exp
14063 # - update ptrSizeMap and intSizeMap in libgo/go/cmd/cgo/main.go
14064 # - update arch lists in libgo/match.sh
14065 # - update arch lists in libgo/testsuite/gotest
14066 # - update +build lines in several places
14067 # - libgo/go/runtime/lfstack_NNbit.go
14068 # - libgo/go/runtime/hashNN.go
14069 # - libgo/go/runtime/unalignedN.go
14070 # - libgo/go/syscall/endian_XX.go
14071 # - possibly others
14072 # - possibly update files in libgo/go/internal/syscall/unix
14073 ALLGOARCH
="386 alpha amd64 amd64p32 arm armbe arm64 arm64be ia64 m68k mips mipsle mips64 mips64le mips64p32 mips64p32le nios2 ppc ppc64 ppc64le riscv riscv64 s390 s390x sh shbe sparc sparc64 wasm"
14075 # All known GOARCH family values.
14076 ALLGOARCHFAMILY
="I386 ALPHA AMD64 ARM ARM64 IA64 M68K MIPS MIPS64 NIOS2 PPC PPC64 RISCV RISCV64 S390 S390X SH SPARC SPARC64 WASM"
14089 arm
*-*-* | strongarm
*-*-* | ep9312
*-*-* | xscale-
*-*)
14097 i
[34567]86-*-* | x86_64-
*-*)
14098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14099 /* end confdefs.h. */
14106 if ac_fn_c_try_compile
"$LINENO"; then :
14109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14110 /* end confdefs.h. */
14117 if ac_fn_c_try_compile
"$LINENO"; then :
14122 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14124 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14134 /* end confdefs.h. */
14136 #if _MIPS_SIM != _ABIO32
14141 if ac_fn_c_try_compile
"$LINENO"; then :
14144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14145 /* end confdefs.h. */
14147 #if _MIPS_SIM != _ABIN32
14152 if ac_fn_c_try_compile
"$LINENO"; then :
14155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14156 /* end confdefs.h. */
14158 #if _MIPS_SIM != _ABI64
14163 if ac_fn_c_try_compile
"$LINENO"; then :
14166 as_fn_error $?
"unknown MIPS ABI" "$LINENO" 5
14169 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14171 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14174 case "$mips_abi" in
14175 "o32") GOARCH
=mips
;;
14176 "n32") GOARCH
=mips64p32
;;
14177 "n64") GOARCH
=mips64
;;
14181 GOARCH
="${GOARCH}le"
14188 rs6000
*-*-* | powerpc
*-*-*)
14189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14190 /* end confdefs.h. */
14197 if ac_fn_c_try_compile
"$LINENO"; then :
14201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14202 /* end confdefs.h. */
14204 #if defined(_BIG_ENDIAN) || defined(__BIG_ENDIAN__)
14209 if ac_fn_c_try_compile
"$LINENO"; then :
14214 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14216 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14223 /* end confdefs.h. */
14225 #if defined(__s390x__)
14230 if ac_fn_c_try_compile
"$LINENO"; then :
14235 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14237 sh3eb
*-*-* | sh4eb
*-*-*)
14240 sh3
*-*-* | sh4
*-*-*)
14244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14245 /* end confdefs.h. */
14247 #if defined(__sparcv9) || defined(__arch64__)
14252 if ac_fn_c_try_compile
"$LINENO"; then :
14257 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14264 if test "$GOARCH" = "386" -o "$GOARCH" = "amd64" -o "$GOARCH" = "amd64p32"; then
14266 LIBGO_IS_X86_FALSE
='#'
14268 LIBGO_IS_X86_TRUE
='#'
14269 LIBGO_IS_X86_FALSE
=
14273 FUNCTION_DESCRIPTORS
=false
14275 rs6000
*-*-* | powerpc
*-*-*)
14276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14277 /* end confdefs.h. */
14284 if ac_fn_c_try_compile
"$LINENO"; then :
14285 FUNCTION_DESCRIPTORS
=false
14287 FUNCTION_DESCRIPTORS
=true
14289 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14294 GO_LIBCALL_OS_FILE
=
14295 GO_LIBCALL_OS_ARCH_FILE
=
14296 GO_SYSCALL_OS_FILE
=
14297 GO_SYSCALL_OS_ARCH_FILE
=
14298 if test -f "${srcdir}/go/syscall/libcall_${GOOS}.go"; then
14299 GO_LIBCALL_OS_FILE
="go/syscall/libcall_${GOOS}.go"
14301 if test -f "${srcdir}/go/syscall/libcall_${GOOS}_${GOARCH}.go"; then
14302 GO_LIBCALL_OS_ARCH_FILE
="go/syscall/libcall_${GOOS}_${GOARCH}.go"
14304 if test -f "${srcdir}/go/syscall/syscall_${GOOS}.go"; then
14305 GO_SYSCALL_OS_FILE
="go/syscall/syscall_${GOOS}.go"
14307 if test -f "${srcdir}/go/syscall/syscall_${GOOS}_${GOARCH}.go"; then
14308 GO_SYSCALL_OS_ARCH_FILE
="go/syscall/syscall_${GOOS}_${GOARCH}.go"
14315 OSCFLAGS
="-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
14318 # IRIX 6 needs _XOPEN_SOURCE=500 for the XPG5 version of struct
14319 # msghdr in <sys/socket.h>.
14320 OSCFLAGS
="$OSCFLAGS -D_XOPEN_SOURCE=500"
14323 # Solaris 10+ needs this so struct msghdr gets the msg_control
14324 # etc. fields in <sys/socket.h> (_XPG4_2). _XOPEN_SOURCE=600 as
14325 # above doesn't work with C99.
14326 OSCFLAGS
="$OSCFLAGS -std=gnu99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__"
14332 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS
=''
14334 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
14335 # with a different meaning.
14336 case ${target_os} in
14338 ac_save_CFLAGS
="$CFLAGS"
14339 CFLAGS
="$CFLAGS -Wa,-nH"
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
14342 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
14343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14344 /* end confdefs.h. */
14354 if ac_fn_c_try_compile
"$LINENO"; then :
14359 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14360 if test "$ac_hwcap_flags" = "yes"; then
14361 HWCAP_CFLAGS
="-Wa,-nH $HWCAP_CFLAGS"
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
14364 $as_echo "$ac_hwcap_flags" >&6; }
14366 CFLAGS
="$ac_save_CFLAGS"
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fsplit-stack is supported" >&5
14374 $as_echo_n "checking whether -fsplit-stack is supported... " >&6; }
14375 if ${libgo_cv_c_split_stack_supported+:} false
; then :
14376 $as_echo_n "(cached) " >&6
14378 CFLAGS_hold
=$CFLAGS
14379 CFLAGS
="$CFLAGS -fsplit-stack"
14380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14381 /* end confdefs.h. */
14384 if ac_fn_c_try_compile
"$LINENO"; then :
14385 libgo_cv_c_split_stack_supported
=yes
14387 libgo_cv_c_split_stack_supported
=no
14389 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14390 CFLAGS
=$CFLAGS_hold
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_split_stack_supported" >&5
14393 $as_echo "$libgo_cv_c_split_stack_supported" >&6; }
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker supports split/non-split linked together" >&5
14396 $as_echo_n "checking whether linker supports split/non-split linked together... " >&6; }
14397 if ${libgo_cv_c_linker_split_non_split+:} false
; then :
14398 $as_echo_n "(cached) " >&6
14400 cat > conftest1.c
<< EOF
14402 int main() { f(); return 0; }
14404 cat > conftest2.c
<< EOF
14407 $CC -c -fsplit-stack $CFLAGS $CPPFLAGS conftest1.c
>/dev
/null
2>&1
14408 $CC -c $CFLAGS $CPPFLAGS conftest2.c
> /dev
/null
2>&1
14409 if $CC -o conftest conftest1.
$ac_objext conftest2.
$ac_objext > /dev
/null
2>&1; then
14410 libgo_cv_c_linker_split_non_split
=yes
14412 libgo_cv_c_linker_split_non_split
=no
14414 rm -f conftest1.
* conftest2.
* conftest
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_linker_split_non_split" >&5
14417 $as_echo "$libgo_cv_c_linker_split_non_split" >&6; }
14419 if test "$libgo_cv_c_split_stack_supported" = yes -a "$libgo_cv_c_linker_split_non_split" = yes; then
14420 SPLIT_STACK
=-fsplit-stack
14422 $as_echo "#define USING_SPLIT_STACK 1" >>confdefs.h
14428 if test "$libgo_cv_c_split_stack_supported" = yes -a "$libgo_cv_c_linker_split_non_split" = yes; then
14429 USING_SPLIT_STACK_TRUE
=
14430 USING_SPLIT_STACK_FALSE
='#'
14432 USING_SPLIT_STACK_TRUE
='#'
14433 USING_SPLIT_STACK_FALSE
=
14437 if test "$libgo_cv_c_split_stack_supported" = yes -a "$libgo_cv_c_linker_split_non_split" = no
; then
14438 GO_SPLIT_STACK
=-fno-split-stack
14444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker supports split stack" >&5
14445 $as_echo_n "checking whether linker supports split stack... " >&6; }
14446 if ${libgo_cv_c_linker_supports_split_stack+:} false
; then :
14447 $as_echo_n "(cached) " >&6
14449 libgo_cv_c_linker_supports_split_stack
=no
14450 if $GOC -Wl,--help 2>/dev
/null |
grep split-stack-adjust-size
>/dev
/null
2>&1; then
14451 libgo_cv_c_linker_supports_split_stack
=yes
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_linker_supports_split_stack" >&5
14455 $as_echo "$libgo_cv_c_linker_supports_split_stack" >&6; }
14456 if test "$libgo_cv_c_linker_supports_split_stack" = yes; then
14458 $as_echo "#define LINKER_SUPPORTS_SPLIT_STACK 1" >>confdefs.h
14462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler is llgo" >&5
14463 $as_echo_n "checking whether compiler is llgo... " >&6; }
14464 if ${libgo_cv_c_goc_is_llgo+:} false
; then :
14465 $as_echo_n "(cached) " >&6
14467 libgo_cv_c_goc_is_llgo
=no
14468 if $GOC -dumpversion 2>/dev
/null |
grep llgo
>/dev
/null
2>&1; then
14469 libgo_cv_c_goc_is_llgo
=yes
14472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_goc_is_llgo" >&5
14473 $as_echo "$libgo_cv_c_goc_is_llgo" >&6; }
14474 if test "$libgo_cv_c_goc_is_llgo" = yes; then
14476 GOC_IS_LLGO_FALSE
='#'
14478 GOC_IS_LLGO_TRUE
='#'
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
14485 $as_echo_n "checking for sqrt in -lm... " >&6; }
14486 if ${ac_cv_lib_m_sqrt+:} false
; then :
14487 $as_echo_n "(cached) " >&6
14489 ac_check_lib_save_LIBS
=$LIBS
14491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14492 /* end confdefs.h. */
14494 /* Override any GCC internal prototype to avoid an error.
14495 Use char because int might match the return type of a GCC
14496 builtin and then its argument prototype would still apply. */
14509 if ac_fn_c_try_link
"$LINENO"; then :
14510 ac_cv_lib_m_sqrt
=yes
14512 ac_cv_lib_m_sqrt
=no
14514 rm -f core conftest.err conftest.
$ac_objext \
14515 conftest
$ac_exeext conftest.
$ac_ext
14516 LIBS
=$ac_check_lib_save_LIBS
14518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
14519 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
14520 if test "x$ac_cv_lib_m_sqrt" = xyes
; then :
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
14527 $as_echo_n "checking for socket libraries... " >&6; }
14528 if ${libgo_cv_lib_sockets+:} false
; then :
14529 $as_echo_n "(cached) " >&6
14531 libgo_cv_lib_sockets
=
14532 libgo_check_both
=no
14533 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14534 if test "x$ac_cv_func_connect" = xyes
; then :
14535 libgo_check_socket
=no
14537 libgo_check_socket
=yes
14540 if test "$libgo_check_socket" = "yes"; then
14541 unset ac_cv_func_connect
14542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
14543 $as_echo_n "checking for main in -lsocket... " >&6; }
14544 if ${ac_cv_lib_socket_main+:} false
; then :
14545 $as_echo_n "(cached) " >&6
14547 ac_check_lib_save_LIBS
=$LIBS
14548 LIBS
="-lsocket $LIBS"
14549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14550 /* end confdefs.h. */
14561 if ac_fn_c_try_link
"$LINENO"; then :
14562 ac_cv_lib_socket_main
=yes
14564 ac_cv_lib_socket_main
=no
14566 rm -f core conftest.err conftest.
$ac_objext \
14567 conftest
$ac_exeext conftest.
$ac_ext
14568 LIBS
=$ac_check_lib_save_LIBS
14570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
14571 $as_echo "$ac_cv_lib_socket_main" >&6; }
14572 if test "x$ac_cv_lib_socket_main" = xyes
; then :
14573 libgo_cv_lib_sockets
="-lsocket"
14575 libgo_check_both
=yes
14579 if test "$libgo_check_both" = "yes"; then
14580 libgo_old_libs
=$LIBS
14581 LIBS
="$LIBS -lsocket -lnsl"
14582 unset ac_cv_func_accept
14583 ac_fn_c_check_func
"$LINENO" "accept" "ac_cv_func_accept"
14584 if test "x$ac_cv_func_accept" = xyes
; then :
14586 libgo_cv_lib_sockets
="-lsocket -lnsl"
14589 unset ac_cv_func_accept
14590 LIBS
=$libgo_old_libs
14592 unset ac_cv_func_gethostbyname
14593 libgo_old_libs
="$LIBS"
14594 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14595 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
14599 $as_echo_n "checking for main in -lnsl... " >&6; }
14600 if ${ac_cv_lib_nsl_main+:} false
; then :
14601 $as_echo_n "(cached) " >&6
14603 ac_check_lib_save_LIBS
=$LIBS
14605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14606 /* end confdefs.h. */
14617 if ac_fn_c_try_link
"$LINENO"; then :
14618 ac_cv_lib_nsl_main
=yes
14620 ac_cv_lib_nsl_main
=no
14622 rm -f core conftest.err conftest.
$ac_objext \
14623 conftest
$ac_exeext conftest.
$ac_ext
14624 LIBS
=$ac_check_lib_save_LIBS
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
14627 $as_echo "$ac_cv_lib_nsl_main" >&6; }
14628 if test "x$ac_cv_lib_nsl_main" = xyes
; then :
14629 libgo_cv_lib_sockets
="$libgo_cv_lib_sockets -lnsl"
14634 unset ac_cv_func_gethostbyname
14635 ac_fn_c_check_func
"$LINENO" "sendfile" "ac_cv_func_sendfile"
14636 if test "x$ac_cv_func_sendfile" = xyes
; then :
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsendfile" >&5
14640 $as_echo_n "checking for main in -lsendfile... " >&6; }
14641 if ${ac_cv_lib_sendfile_main+:} false
; then :
14642 $as_echo_n "(cached) " >&6
14644 ac_check_lib_save_LIBS
=$LIBS
14645 LIBS
="-lsendfile $LIBS"
14646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14647 /* end confdefs.h. */
14658 if ac_fn_c_try_link
"$LINENO"; then :
14659 ac_cv_lib_sendfile_main
=yes
14661 ac_cv_lib_sendfile_main
=no
14663 rm -f core conftest.err conftest.
$ac_objext \
14664 conftest
$ac_exeext conftest.
$ac_ext
14665 LIBS
=$ac_check_lib_save_LIBS
14667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sendfile_main" >&5
14668 $as_echo "$ac_cv_lib_sendfile_main" >&6; }
14669 if test "x$ac_cv_lib_sendfile_main" = xyes
; then :
14670 libgo_cv_lib_sockets
="$libgo_cv_lib_sockets -lsendfile"
14675 LIBS
=$libgo_old_libs
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_sockets" >&5
14679 $as_echo "$libgo_cv_lib_sockets" >&6; }
14680 NET_LIBS
="$libgo_cv_lib_sockets"
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -pthread is supported" >&5
14684 $as_echo_n "checking whether -pthread is supported... " >&6; }
14685 if ${libgo_cv_lib_pthread+:} false
; then :
14686 $as_echo_n "(cached) " >&6
14688 CFLAGS_hold
=$CFLAGS
14689 CFLAGS
="$CFLAGS -pthread -L../libatomic/.libs"
14690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14691 /* end confdefs.h. */
14694 if ac_fn_c_try_compile
"$LINENO"; then :
14695 libgo_cv_lib_pthread
=yes
14697 libgo_cv_lib_pthread
=no
14699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14700 CFLAGS
=$CFLAGS_hold
14702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_pthread" >&5
14703 $as_echo "$libgo_cv_lib_pthread" >&6; }
14705 if test "$libgo_cv_lib_pthread" = yes; then
14706 # RISC-V apparently adds -latomic when using -pthread.
14707 PTHREAD_CFLAGS
="-pthread -L../libatomic/.libs"
14712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
14713 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
14714 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
14715 $as_echo_n "(cached) " >&6
14717 ac_check_lib_save_LIBS
=$LIBS
14718 LIBS
="-lpthread $LIBS"
14719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14720 /* end confdefs.h. */
14722 /* Override any GCC internal prototype to avoid an error.
14723 Use char because int might match the return type of a GCC
14724 builtin and then its argument prototype would still apply. */
14728 char pthread_create ();
14732 return pthread_create ();
14737 if ac_fn_c_try_link
"$LINENO"; then :
14738 ac_cv_lib_pthread_pthread_create
=yes
14740 ac_cv_lib_pthread_pthread_create
=no
14742 rm -f core conftest.err conftest.
$ac_objext \
14743 conftest
$ac_exeext conftest.
$ac_ext
14744 LIBS
=$ac_check_lib_save_LIBS
14746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
14747 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
14748 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
14749 PTHREAD_LIBS
=-lpthread
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
14755 $as_echo_n "checking for library containing sched_yield... " >&6; }
14756 if ${ac_cv_search_sched_yield+:} false
; then :
14757 $as_echo_n "(cached) " >&6
14759 ac_func_search_save_LIBS
=$LIBS
14760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14761 /* end confdefs.h. */
14763 /* Override any GCC internal prototype to avoid an error.
14764 Use char because int might match the return type of a GCC
14765 builtin and then its argument prototype would still apply. */
14769 char sched_yield ();
14773 return sched_yield ();
14778 for ac_lib
in '' rt
; do
14779 if test -z "$ac_lib"; then
14780 ac_res
="none required"
14783 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14785 if ac_fn_c_try_link
"$LINENO"; then :
14786 ac_cv_search_sched_yield
=$ac_res
14788 rm -f core conftest.err conftest.
$ac_objext \
14790 if ${ac_cv_search_sched_yield+:} false
; then :
14794 if ${ac_cv_search_sched_yield+:} false
; then :
14797 ac_cv_search_sched_yield
=no
14799 rm conftest.
$ac_ext
14800 LIBS
=$ac_func_search_save_LIBS
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
14803 $as_echo "$ac_cv_search_sched_yield" >&6; }
14804 ac_res
=$ac_cv_search_sched_yield
14805 if test "$ac_res" != no
; then :
14806 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
14811 $as_echo_n "checking for library containing nanosleep... " >&6; }
14812 if ${ac_cv_search_nanosleep+:} false
; then :
14813 $as_echo_n "(cached) " >&6
14815 ac_func_search_save_LIBS
=$LIBS
14816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14817 /* end confdefs.h. */
14819 /* Override any GCC internal prototype to avoid an error.
14820 Use char because int might match the return type of a GCC
14821 builtin and then its argument prototype would still apply. */
14829 return nanosleep ();
14834 for ac_lib
in '' rt
; do
14835 if test -z "$ac_lib"; then
14836 ac_res
="none required"
14839 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14841 if ac_fn_c_try_link
"$LINENO"; then :
14842 ac_cv_search_nanosleep
=$ac_res
14844 rm -f core conftest.err conftest.
$ac_objext \
14846 if ${ac_cv_search_nanosleep+:} false
; then :
14850 if ${ac_cv_search_nanosleep+:} false
; then :
14853 ac_cv_search_nanosleep
=no
14855 rm conftest.
$ac_ext
14856 LIBS
=$ac_func_search_save_LIBS
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
14859 $as_echo "$ac_cv_search_nanosleep" >&6; }
14860 ac_res
=$ac_cv_search_nanosleep
14861 if test "$ac_res" != no
; then :
14862 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14867 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14868 if ${ac_cv_search_clock_gettime+:} false
; then :
14869 $as_echo_n "(cached) " >&6
14871 ac_func_search_save_LIBS
=$LIBS
14872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14873 /* end confdefs.h. */
14875 /* Override any GCC internal prototype to avoid an error.
14876 Use char because int might match the return type of a GCC
14877 builtin and then its argument prototype would still apply. */
14881 char clock_gettime ();
14885 return clock_gettime ();
14890 for ac_lib
in '' rt
; do
14891 if test -z "$ac_lib"; then
14892 ac_res
="none required"
14895 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14897 if ac_fn_c_try_link
"$LINENO"; then :
14898 ac_cv_search_clock_gettime
=$ac_res
14900 rm -f core conftest.err conftest.
$ac_objext \
14902 if ${ac_cv_search_clock_gettime+:} false
; then :
14906 if ${ac_cv_search_clock_gettime+:} false
; then :
14909 ac_cv_search_clock_gettime
=no
14911 rm conftest.
$ac_ext
14912 LIBS
=$ac_func_search_save_LIBS
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14915 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14916 ac_res
=$ac_cv_search_clock_gettime
14917 if test "$ac_res" != no
; then :
14918 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
14924 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
14925 if ${ac_cv_c_bigendian+:} false
; then :
14926 $as_echo_n "(cached) " >&6
14928 ac_cv_c_bigendian
=unknown
14929 # See if we're dealing with a universal compiler.
14930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14931 /* end confdefs.h. */
14932 #ifndef __APPLE_CC__
14933 not a universal capable compiler
14938 if ac_fn_c_try_compile
"$LINENO"; then :
14940 # Check for potential -arch flags. It is not universal unless
14941 # there are at least two -arch flags with different values.
14944 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
14945 if test -n "$ac_prev"; then
14947 i?
86 | x86_64 | ppc | ppc64
)
14948 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
14951 ac_cv_c_bigendian
=universal
14957 elif test "x$ac_word" = "x-arch"; then
14962 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14963 if test $ac_cv_c_bigendian = unknown
; then
14964 # See if sys/param.h defines the BYTE_ORDER macro.
14965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14966 /* end confdefs.h. */
14967 #include <sys/types.h>
14968 #include <sys/param.h>
14973 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
14974 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
14976 bogus endian macros
14983 if ac_fn_c_try_compile
"$LINENO"; then :
14984 # It does; now see whether it defined to BIG_ENDIAN or not.
14985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14986 /* end confdefs.h. */
14987 #include <sys/types.h>
14988 #include <sys/param.h>
14993 #if BYTE_ORDER != BIG_ENDIAN
15001 if ac_fn_c_try_compile
"$LINENO"; then :
15002 ac_cv_c_bigendian
=yes
15004 ac_cv_c_bigendian
=no
15006 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15010 if test $ac_cv_c_bigendian = unknown
; then
15011 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
15012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15013 /* end confdefs.h. */
15014 #include <limits.h>
15019 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
15020 bogus endian macros
15027 if ac_fn_c_try_compile
"$LINENO"; then :
15028 # It does; now see whether it defined to _BIG_ENDIAN or not.
15029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15030 /* end confdefs.h. */
15031 #include <limits.h>
15036 #ifndef _BIG_ENDIAN
15044 if ac_fn_c_try_compile
"$LINENO"; then :
15045 ac_cv_c_bigendian
=yes
15047 ac_cv_c_bigendian
=no
15049 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15051 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15053 if test $ac_cv_c_bigendian = unknown
; then
15054 # Compile a test program.
15055 if test "$cross_compiling" = yes; then :
15056 # Try to guess by grepping values from an object file.
15057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15058 /* end confdefs.h. */
15059 short int ascii_mm[] =
15060 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
15061 short int ascii_ii[] =
15062 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
15063 int use_ascii (int i) {
15064 return ascii_mm[i] + ascii_ii[i];
15066 short int ebcdic_ii[] =
15067 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
15068 short int ebcdic_mm[] =
15069 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
15070 int use_ebcdic (int i) {
15071 return ebcdic_mm[i] + ebcdic_ii[i];
15078 return use_ascii (foo) == use_ebcdic (foo);
15083 if ac_fn_c_try_compile
"$LINENO"; then :
15084 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
15085 ac_cv_c_bigendian
=yes
15087 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
15088 if test "$ac_cv_c_bigendian" = unknown
; then
15089 ac_cv_c_bigendian
=no
15091 # finding both strings is unlikely to happen, but who knows?
15092 ac_cv_c_bigendian
=unknown
15096 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15099 /* end confdefs.h. */
15100 $ac_includes_default
15105 /* Are we little or big endian? From Harbison&Steele. */
15109 char c[sizeof (long int)];
15112 return u.c[sizeof (long int) - 1] == 1;
15118 if ac_fn_c_try_run
"$LINENO"; then :
15119 ac_cv_c_bigendian
=no
15121 ac_cv_c_bigendian
=yes
15123 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15124 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
15130 $as_echo "$ac_cv_c_bigendian" >&6; }
15131 case $ac_cv_c_bigendian in #(
15133 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
15139 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
15143 as_fn_error $?
"unknown endianness
15144 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
15150 # Check whether --with-system-libunwind was given.
15151 if test "${with_system_libunwind+set}" = set; then :
15152 withval
=$with_system_libunwind;
15155 # If system-libunwind was not specifically set, pick a default setting.
15156 if test x
$with_system_libunwind = x
; then
15158 ia64-
*-hpux*) with_system_libunwind
=yes ;;
15159 *) with_system_libunwind
=no
;;
15162 # Based on system-libunwind and target, do we have ipinfo?
15163 if test x
$with_system_libunwind = xyes
; then
15165 ia64-
*-*) have_unwind_getipinfo
=no
;;
15166 *) have_unwind_getipinfo
=yes ;;
15169 # Darwin before version 9 does not have _Unwind_GetIPInfo.
15172 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
15173 *) have_unwind_getipinfo
=yes ;;
15178 if test x
$have_unwind_getipinfo = xyes
; then
15180 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
15185 for ac_header
in port.h sched.h semaphore.h sys
/file.h sys
/mman.h syscall.h sys
/epoll.h sys
/event.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
/ptrace.h linux
/reboot.h netinet
/in_syst.h netinet
/ip.h netinet
/ip_mroute.h netinet
/if_ether.h
15187 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15188 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15189 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
15190 cat >>confdefs.h
<<_ACEOF
15191 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15199 for ac_header
in netinet
/icmp6.h
15201 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <netinet/in.h>
15204 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
; then :
15205 cat >>confdefs.h
<<_ACEOF
15206 #define HAVE_NETINET_ICMP6_H 1
15214 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
15216 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15217 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_SOCKET_H
15218 #include <sys/socket.h>
15222 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
15223 cat >>confdefs.h
<<_ACEOF
15224 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15232 if test "$ac_cv_header_sys_mman_h" = yes; then
15233 HAVE_SYS_MMAN_H_TRUE
=
15234 HAVE_SYS_MMAN_H_FALSE
='#'
15236 HAVE_SYS_MMAN_H_TRUE
='#'
15237 HAVE_SYS_MMAN_H_FALSE
=
15241 for ac_func
in strerror_r strsignal wait4 mincore setenv unsetenv dl_iterate_phdr memmem
15243 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15244 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15245 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15246 cat >>confdefs.h
<<_ACEOF
15247 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15253 if test "$ac_cv_func_strerror_r" = yes; then
15254 HAVE_STRERROR_R_TRUE
=
15255 HAVE_STRERROR_R_FALSE
='#'
15257 HAVE_STRERROR_R_TRUE
='#'
15258 HAVE_STRERROR_R_FALSE
=
15261 if test "$ac_cv_func_wait4" = yes; then
15263 HAVE_WAIT4_FALSE
='#'
15265 HAVE_WAIT4_TRUE
='#'
15270 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 syscall
tee unlinkat unshare utimensat
15272 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15273 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15274 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15275 cat >>confdefs.h
<<_ACEOF
15276 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15282 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15283 if test "x$ac_cv_type_off_t" = xyes
; then :
15287 cat >>confdefs.h
<<_ACEOF
15288 #define off_t long int
15293 ac_fn_c_check_type
"$LINENO" "loff_t" "ac_cv_type_loff_t" "$ac_includes_default"
15294 if test "x$ac_cv_type_loff_t" = xyes
; then :
15296 cat >>confdefs.h
<<_ACEOF
15297 #define HAVE_LOFF_T 1
15306 for ac_func
in cosl expl logl sinl tanl acosl asinl atanl atan2l expm1l ldexpl log10l log1pl
15308 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15309 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15310 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15311 cat >>confdefs.h
<<_ACEOF
15312 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15320 CFLAGS_hold
="$CFLAGS"
15321 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
15323 LIBS
="$LIBS $PTHREAD_LIBS"
15324 for ac_func
in sem_timedwait
15326 ac_fn_c_check_func
"$LINENO" "sem_timedwait" "ac_cv_func_sem_timedwait"
15327 if test "x$ac_cv_func_sem_timedwait" = xyes
; then :
15328 cat >>confdefs.h
<<_ACEOF
15329 #define HAVE_SEM_TIMEDWAIT 1
15335 CFLAGS
="$CFLAGS_hold"
15339 LIBS
="$LIBS $MATH_LIBS"
15340 for ac_func
in matherr
15342 ac_fn_c_check_func
"$LINENO" "matherr" "ac_cv_func_matherr"
15343 if test "x$ac_cv_func_matherr" = xyes
; then :
15344 cat >>confdefs.h
<<_ACEOF
15345 #define HAVE_MATHERR 1
15353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -minline-all-stringops" >&5
15354 $as_echo_n "checking whether compiler supports -minline-all-stringops... " >&6; }
15355 if ${libgo_cv_c_stringops+:} false
; then :
15356 $as_echo_n "(cached) " >&6
15358 CFLAGS_hold
=$CFLAGS
15359 CFLAGS
="$CFLAGS -minline-all-stringops"
15360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15361 /* end confdefs.h. */
15364 if ac_fn_c_try_compile
"$LINENO"; then :
15365 libgo_cv_c_stringops
=yes
15367 libgo_cv_c_stringops
=no
15369 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15370 CFLAGS
=$CFLAGS_hold
15372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_stringops" >&5
15373 $as_echo "$libgo_cv_c_stringops" >&6; }
15375 if test "$libgo_cv_c_stringops" = yes; then
15376 STRINGOPS_FLAG
=-minline-all-stringops
15380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -mfancy-math-387" >&5
15381 $as_echo_n "checking whether compiler supports -mfancy-math-387... " >&6; }
15382 if ${libgo_cv_c_fancymath+:} false
; then :
15383 $as_echo_n "(cached) " >&6
15385 CFLAGS_hold
=$CFLAGS
15386 CFLAGS
="$CFLAGS -mfancy-math-387"
15387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15388 /* end confdefs.h. */
15391 if ac_fn_c_try_compile
"$LINENO"; then :
15392 libgo_cv_c_fancymath
=yes
15394 libgo_cv_c_fancymath
=no
15396 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15397 CFLAGS
=$CFLAGS_hold
15399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_fancymath" >&5
15400 $as_echo "$libgo_cv_c_fancymath" >&6; }
15402 if test "$libgo_cv_c_fancymath" = yes; then
15403 MATH_FLAG
="-mfancy-math-387"
15405 MATH_FLAG
="${MATH_FLAG} -ffp-contract=off -fno-math-errno -fno-trapping-math"
15408 CFLAGS_hold
=$CFLAGS
15409 CFLAGS
="$CFLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
15410 ac_fn_c_check_type
"$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default"
15411 if test "x$ac_cv_type_off64_t" = xyes
; then :
15413 cat >>confdefs.h
<<_ACEOF
15414 #define HAVE_OFF64_T 1
15420 CFLAGS
=$CFLAGS_hold
15422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking epoll_event size" >&5
15423 $as_echo_n "checking epoll_event size... " >&6; }
15424 if ${libgo_cv_c_epoll_event_size+:} false
; then :
15425 $as_echo_n "(cached) " >&6
15427 if ac_fn_c_compute_int
"$LINENO" "sizeof (struct epoll_event)" "libgo_cv_c_epoll_event_size" "#include <sys/epoll.h>"; then :
15430 libgo_cv_c_epoll_event_size
=0
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_epoll_event_size" >&5
15435 $as_echo "$libgo_cv_c_epoll_event_size" >&6; }
15436 SIZEOF_STRUCT_EPOLL_EVENT
=${libgo_cv_c_epoll_event_size}
15439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking epoll_event data.fd offset" >&5
15440 $as_echo_n "checking epoll_event data.fd offset... " >&6; }
15441 if ${libgo_cv_c_epoll_event_fd_offset+:} false
; then :
15442 $as_echo_n "(cached) " >&6
15444 if ac_fn_c_compute_int
"$LINENO" "offsetof (struct epoll_event, data.fd)" "libgo_cv_c_epoll_event_fd_offset" "#include <stddef.h>
15445 #include <sys/epoll.h>"; then :
15448 libgo_cv_c_epoll_event_fd_offset
=0
15452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_epoll_event_fd_offset" >&5
15453 $as_echo "$libgo_cv_c_epoll_event_fd_offset" >&6; }
15454 STRUCT_EPOLL_EVENT_FD_OFFSET
=${libgo_cv_c_epoll_event_fd_offset}
15457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15458 /* end confdefs.h. */
15459 #include <sys/stat.h>
15462 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15463 $EGREP "timespec_t.*st_atim" >/dev
/null
2>&1; then :
15464 have_stat_timespec
=yes
15466 have_stat_timespec
=no
15470 if test $have_stat_timespec = yes; then
15471 HAVE_STAT_TIMESPEC_TRUE
=
15472 HAVE_STAT_TIMESPEC_FALSE
='#'
15474 HAVE_STAT_TIMESPEC_TRUE
='#'
15475 HAVE_STAT_TIMESPEC_FALSE
=
15479 ac_fn_c_check_type
"$LINENO" "struct exception" "ac_cv_type_struct_exception" "#include <math.h>
15481 if test "x$ac_cv_type_struct_exception" = xyes
; then :
15482 libgo_has_struct_exception
=yes
15484 libgo_has_struct_exception
=no
15487 if test "$libgo_has_struct_exception" = "yes"; then
15489 $as_echo "#define HAVE_STRUCT_EXCEPTION 1" >>confdefs.h
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether setcontext clobbers TLS variables" >&5
15494 $as_echo_n "checking whether setcontext clobbers TLS variables... " >&6; }
15495 if ${libgo_cv_lib_setcontext_clobbers_tls+:} false
; then :
15496 $as_echo_n "(cached) " >&6
15498 CFLAGS_hold
="$CFLAGS"
15499 CFLAGS
="$PTHREAD_CFLAGS"
15501 LIBS
="$LIBS $PTHREAD_LIBS"
15502 # The cast to long int works around a bug in the HP C Compiler
15503 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15504 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15505 # This bug is HP SR number 8606223364.
15506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15507 $as_echo_n "checking size of void *... " >&6; }
15508 if ${ac_cv_sizeof_void_p+:} false
; then :
15509 $as_echo_n "(cached) " >&6
15511 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15514 if test "$ac_cv_type_void_p" = yes; then
15515 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15516 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15517 as_fn_error
77 "cannot compute sizeof (void *)
15518 See \`config.log' for more details" "$LINENO" 5; }
15520 ac_cv_sizeof_void_p
=0
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15526 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15530 cat >>confdefs.h
<<_ACEOF
15531 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15535 as_fn_arith
$ac_cv_sizeof_void_p \
* 8 && ptr_type_size
=$as_val
15536 if test "$cross_compiling" = yes; then :
15537 case "$target:$ptr_type_size" in
15538 i?
86-*-solaris2.1
[01]:64 | x86_64
*-*-solaris2.1
[01]:64)
15539 libgo_cv_lib_setcontext_clobbers_tls
=yes ;;
15541 libgo_cv_lib_setcontext_clobbers_tls
=no
;;
15545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15546 /* end confdefs.h. */
15548 #include <pthread.h>
15549 #include <stdlib.h>
15550 #include <ucontext.h>
15551 #include <unistd.h>
15555 static char stack[10 * 1024 * 1024];
15556 static ucontext_t c;
15558 /* Called via makecontext/setcontext. */
15566 /* Called via pthread_create. */
15571 /* The thread should still see this value after calling
15577 /* The call to setcontext should not return. */
15586 /* The thread should not see this value. */
15589 if (getcontext (&c) < 0)
15592 c.uc_stack.ss_sp = stack;
15593 #ifdef MAKECONTEXT_STACK_TOP
15594 c.uc_stack.ss_sp += sizeof stack;
15596 c.uc_stack.ss_flags = 0;
15597 c.uc_stack.ss_size = sizeof stack;
15599 makecontext (&c, cfn, 0);
15601 if (pthread_create (&tid, NULL, tfn, NULL) != 0)
15604 if (pthread_join (tid, NULL) != 0)
15607 /* The thread should have called exit. */
15612 if ac_fn_c_try_run
"$LINENO"; then :
15613 libgo_cv_lib_setcontext_clobbers_tls
=no
15615 libgo_cv_lib_setcontext_clobbers_tls
=yes
15617 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15618 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15621 CFLAGS
="$CFLAGS_hold"
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_setcontext_clobbers_tls" >&5
15626 $as_echo "$libgo_cv_lib_setcontext_clobbers_tls" >&6; }
15627 if test "$libgo_cv_lib_setcontext_clobbers_tls" = "yes"; then
15629 $as_echo "#define SETCONTEXT_CLOBBERS_TLS 1" >>confdefs.h
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .eh_frame section should be read-only" >&5
15634 $as_echo_n "checking whether .eh_frame section should be read-only... " >&6; }
15635 if ${libgo_cv_ro_eh_frame+:} false
; then :
15636 $as_echo_n "(cached) " >&6
15639 libgo_cv_ro_eh_frame
=no
15640 echo 'extern void foo (void); void bar (void) { foo (); foo (); }' > conftest.c
15641 if $CC $CFLAGS -S -fpic -fexceptions -o conftest.s conftest.c
> /dev
/null
2>&1; then
15642 if grep '.section.*eh_frame.*"a"' conftest.s
> /dev
/null
; then
15643 libgo_cv_ro_eh_frame
=yes
15644 elif grep '.section.*eh_frame.*#alloc' conftest.c \
15645 |
grep -v '#write' > /dev
/null
; then
15646 libgo_cv_ro_eh_frame
=yes
15652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_ro_eh_frame" >&5
15653 $as_echo "$libgo_cv_ro_eh_frame" >&6; }
15654 if test "x$libgo_cv_ro_eh_frame" = xyes
; then
15656 $as_echo "#define EH_FRAME_FLAGS \"a\"" >>confdefs.h
15660 $as_echo "#define EH_FRAME_FLAGS \"aw\"" >>confdefs.h
15664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Qunused-arguments" >&5
15665 $as_echo_n "checking if compiler supports -Qunused-arguments... " >&6; }
15666 if ${libgo_cv_c_unused_arguments+:} false
; then :
15667 $as_echo_n "(cached) " >&6
15669 CFLAGS_hold
=$CFLAGS
15670 CFLAGS
="$CFLAGS -Qunused-arguments"
15671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15672 /* end confdefs.h. */
15675 if ac_fn_c_try_compile
"$LINENO"; then :
15676 libgo_cv_c_unused_arguments
=yes
15678 libgo_cv_c_unused_arguments
=no
15680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15681 CFLAGS
=$CFLAGS_hold
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_unused_arguments" >&5
15684 $as_echo "$libgo_cv_c_unused_arguments" >&6; }
15686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if assembler supports GNU comdat group syntax" >&5
15687 $as_echo_n "checking if assembler supports GNU comdat group syntax... " >&6; }
15688 if ${libgo_cv_as_comdat_gnu+:} false
; then :
15689 $as_echo_n "(cached) " >&6
15692 echo '.section .text,"axG",@progbits,.foo,comdat' > conftest.s
15693 CFLAGS_hold
=$CFLAGS
15694 if test "$libgo_cv_c_unused_arguments" = yes; then
15695 CFLAGS
="$CFLAGS -Qunused-arguments"
15697 if $CC $CFLAGS -c conftest.s
> /dev
/null
2>&1; then
15698 libgo_cv_as_comdat_gnu
=yes
15700 libgo_cv_as_comdat_gnu
=no
15702 CFLAGS
=$CFLAGS_hold
15705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_comdat_gnu" >&5
15706 $as_echo "$libgo_cv_as_comdat_gnu" >&6; }
15707 if test "x$libgo_cv_as_comdat_gnu" = xyes
; then
15709 $as_echo "#define HAVE_AS_COMDAT_GAS 1" >>confdefs.h
15713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports pc related relocs" >&5
15714 $as_echo_n "checking assembler supports pc related relocs... " >&6; }
15715 if ${libgo_cv_as_x86_pcrel+:} false
; then :
15716 $as_echo_n "(cached) " >&6
15719 libgo_cv_as_x86_pcrel
=yes
15720 echo '.text; foo: nop; .data; .long foo-.; .text' > conftest.s
15721 CFLAGS_hold
=$CFLAGS
15722 if test "$libgo_cv_c_unused_arguments" = yes; then
15723 CFLAGS
="$CFLAGS -Qunused-arguments"
15725 if $CC $CFLAGS -c conftest.s
2>&1 |
$EGREP -i 'illegal|warning' > /dev
/null
; then
15726 libgo_cv_as_x86_pcrel
=no
15728 CFLAGS
=$CFLAGS_hold
15731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_x86_pcrel" >&5
15732 $as_echo "$libgo_cv_as_x86_pcrel" >&6; }
15733 if test "x$libgo_cv_as_x86_pcrel" = xyes
; then
15735 $as_echo "#define HAVE_AS_X86_PCREL 1" >>confdefs.h
15739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports unwind section type" >&5
15740 $as_echo_n "checking assembler supports unwind section type... " >&6; }
15741 if ${libgo_cv_as_x86_64_unwind_section_type+:} false
; then :
15742 $as_echo_n "(cached) " >&6
15745 libgo_cv_as_x86_64_unwind_section_type
=yes
15746 echo '.section .eh_frame,"a",@unwind' > conftest.s
15747 CFLAGS_hold
=$CFLAGS
15748 if test "$libgo_cv_c_unused_arguments" = yes; then
15749 CFLAGS
="$CFLAGS -Qunused-arguments"
15751 if $CC $CFLAGS -c conftest.s
2>&1 |
grep -i warning
> /dev
/null
; then
15752 libgo_cv_as_x86_64_unwind_section_type
=no
15754 CFLAGS
=$CFLAGS_hold
15757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_x86_64_unwind_section_type" >&5
15758 $as_echo "$libgo_cv_as_x86_64_unwind_section_type" >&6; }
15759 if test "x$libgo_cv_as_x86_64_unwind_section_type" = xyes
; then
15761 $as_echo "#define HAVE_AS_X86_64_UNWIND_SECTION_TYPE 1" >>confdefs.h
15765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports AES instructions" >&5
15766 $as_echo_n "checking assembler supports AES instructions... " >&6; }
15767 if ${libgo_cv_as_x86_aes+:} false
; then :
15768 $as_echo_n "(cached) " >&6
15771 libgo_cv_as_x86_aes
=yes
15772 echo 'aesenc %xmm0, %xmm1' > conftest.s
15773 CFLAGS_hold
=$CFLAGS
15774 if test "$libgo_cv_c_unused_arguments" = yes; then
15775 CFLAGS
="$CFLAGS -Qunused-arguments"
15777 if $CC $CFLAGS -c conftest.s
2>&1 |
grep -i error
> /dev
/null
; then
15778 libgo_cv_as_x86_aes
=no
15780 CFLAGS
=$CFLAGS_hold
15783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_x86_aes" >&5
15784 $as_echo "$libgo_cv_as_x86_aes" >&6; }
15785 if test "x$libgo_cv_as_x86_aes" = xyes
; then
15787 $as_echo "#define HAVE_AS_X86_AES 1" >>confdefs.h
15791 cat >confcache
<<\_ACEOF
15792 # This file is a shell script that caches the results of configure
15793 # tests run on this system so they can be shared between configure
15794 # scripts and configure runs, see configure's option --config-cache.
15795 # It is not useful on other systems. If it contains results you don't
15796 # want to keep, you may remove or edit it.
15798 # config.status only pays attention to the cache file if you give it
15799 # the --recheck option to rerun configure.
15801 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15802 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15803 # following values.
15807 # The following way of writing the cache mishandles newlines in values,
15808 # but we know of no workaround that is simple, portable, and efficient.
15809 # So, we kill variables containing newlines.
15810 # Ultrix sh set writes to stderr and can't be redirected directly,
15811 # and sets the high bit in the cache file unless we assign to the vars.
15813 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15814 eval ac_val
=\$
$ac_var
15818 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15819 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15822 _ | IFS | as_nl
) ;; #(
15823 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15824 *) { eval $ac_var=; unset $ac_var;} ;;
15830 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15831 *${as_nl}ac_space
=\
*)
15832 # `set' does not quote correctly, so add quotes: double-quote
15833 # substitution turns \\\\ into \\, and sed turns \\ into \.
15836 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15839 # `set' quotes correctly as required by POSIX, so do not add quotes.
15840 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15849 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15851 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15853 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15854 if test -w "$cache_file"; then
15855 if test "x$cache_file" != "x/dev/null"; then
15856 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15857 $as_echo "$as_me: updating cache $cache_file" >&6;}
15858 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15859 cat confcache
>"$cache_file"
15861 case $cache_file in #(
15863 mv -f confcache
"$cache_file"$$
&&
15864 mv -f "$cache_file"$$
"$cache_file" ;; #(
15866 mv -f confcache
"$cache_file" ;;
15871 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15872 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15877 if test ${multilib} = yes; then
15878 multilib_arg
="--enable-multilib"
15883 ac_config_files
="$ac_config_files Makefile testsuite/Makefile testsuite/libgo-test-support.exp"
15886 ac_config_commands
="$ac_config_commands default"
15889 cat >confcache
<<\_ACEOF
15890 # This file is a shell script that caches the results of configure
15891 # tests run on this system so they can be shared between configure
15892 # scripts and configure runs, see configure's option --config-cache.
15893 # It is not useful on other systems. If it contains results you don't
15894 # want to keep, you may remove or edit it.
15896 # config.status only pays attention to the cache file if you give it
15897 # the --recheck option to rerun configure.
15899 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15900 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15901 # following values.
15905 # The following way of writing the cache mishandles newlines in values,
15906 # but we know of no workaround that is simple, portable, and efficient.
15907 # So, we kill variables containing newlines.
15908 # Ultrix sh set writes to stderr and can't be redirected directly,
15909 # and sets the high bit in the cache file unless we assign to the vars.
15911 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15912 eval ac_val
=\$
$ac_var
15916 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15917 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15920 _ | IFS | as_nl
) ;; #(
15921 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15922 *) { eval $ac_var=; unset $ac_var;} ;;
15928 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15929 *${as_nl}ac_space
=\
*)
15930 # `set' does not quote correctly, so add quotes: double-quote
15931 # substitution turns \\\\ into \\, and sed turns \\ into \.
15934 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15937 # `set' quotes correctly as required by POSIX, so do not add quotes.
15938 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15947 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15949 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15951 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15952 if test -w "$cache_file"; then
15953 if test "x$cache_file" != "x/dev/null"; then
15954 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15955 $as_echo "$as_me: updating cache $cache_file" >&6;}
15956 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15957 cat confcache
>"$cache_file"
15959 case $cache_file in #(
15961 mv -f confcache
"$cache_file"$$
&&
15962 mv -f "$cache_file"$$
"$cache_file" ;; #(
15964 mv -f confcache
"$cache_file" ;;
15969 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15970 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15975 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15976 # Let make expand exec_prefix.
15977 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15979 DEFS
=-DHAVE_CONFIG_H
15984 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15985 # 1. Remove the extension, and $U if already installed.
15986 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15987 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15988 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15989 # will be set to the directory where LIBOBJS objects are built.
15990 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15991 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15993 LIBOBJS
=$ac_libobjs
15995 LTLIBOBJS
=$ac_ltlibobjs
15998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15999 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16000 if test -n "$am_sleep_pid"; then
16001 # Hide warnings about reused PIDs.
16002 wait $am_sleep_pid 2>/dev
/null
16004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16005 $as_echo "done" >&6; }
16006 if test -n "$EXEEXT"; then
16008 am__EXEEXT_FALSE
='#'
16010 am__EXEEXT_TRUE
='#'
16014 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16015 as_fn_error $?
"conditional \"AMDEP\" was never defined.
16016 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16018 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16019 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
16020 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16022 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
16023 as_fn_error $?
"conditional \"am__fastdepCCAS\" was never defined.
16024 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16026 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16027 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
16028 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16030 if test -z "${USE_LIBFFI_TRUE}" && test -z "${USE_LIBFFI_FALSE}"; then
16031 as_fn_error $?
"conditional \"USE_LIBFFI\" was never defined.
16032 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16034 if test -z "${LIBGO_IS_DARWIN_TRUE}" && test -z "${LIBGO_IS_DARWIN_FALSE}"; then
16035 as_fn_error $?
"conditional \"LIBGO_IS_DARWIN\" was never defined.
16036 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16038 if test -z "${LIBGO_IS_FREEBSD_TRUE}" && test -z "${LIBGO_IS_FREEBSD_FALSE}"; then
16039 as_fn_error $?
"conditional \"LIBGO_IS_FREEBSD\" was never defined.
16040 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16042 if test -z "${LIBGO_IS_IRIX_TRUE}" && test -z "${LIBGO_IS_IRIX_FALSE}"; then
16043 as_fn_error $?
"conditional \"LIBGO_IS_IRIX\" was never defined.
16044 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16046 if test -z "${LIBGO_IS_LINUX_TRUE}" && test -z "${LIBGO_IS_LINUX_FALSE}"; then
16047 as_fn_error $?
"conditional \"LIBGO_IS_LINUX\" was never defined.
16048 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16050 if test -z "${LIBGO_IS_NETBSD_TRUE}" && test -z "${LIBGO_IS_NETBSD_FALSE}"; then
16051 as_fn_error $?
"conditional \"LIBGO_IS_NETBSD\" was never defined.
16052 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16054 if test -z "${LIBGO_IS_OPENBSD_TRUE}" && test -z "${LIBGO_IS_OPENBSD_FALSE}"; then
16055 as_fn_error $?
"conditional \"LIBGO_IS_OPENBSD\" was never defined.
16056 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16058 if test -z "${LIBGO_IS_DRAGONFLY_TRUE}" && test -z "${LIBGO_IS_DRAGONFLY_FALSE}"; then
16059 as_fn_error $?
"conditional \"LIBGO_IS_DRAGONFLY\" was never defined.
16060 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16062 if test -z "${LIBGO_IS_RTEMS_TRUE}" && test -z "${LIBGO_IS_RTEMS_FALSE}"; then
16063 as_fn_error $?
"conditional \"LIBGO_IS_RTEMS\" was never defined.
16064 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16066 if test -z "${LIBGO_IS_SOLARIS_TRUE}" && test -z "${LIBGO_IS_SOLARIS_FALSE}"; then
16067 as_fn_error $?
"conditional \"LIBGO_IS_SOLARIS\" was never defined.
16068 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16070 if test -z "${LIBGO_IS_AIX_TRUE}" && test -z "${LIBGO_IS_AIX_FALSE}"; then
16071 as_fn_error $?
"conditional \"LIBGO_IS_AIX\" was never defined.
16072 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16074 if test -z "${LIBGO_IS_HURD_TRUE}" && test -z "${LIBGO_IS_HURD_FALSE}"; then
16075 as_fn_error $?
"conditional \"LIBGO_IS_HURD\" was never defined.
16076 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16078 if test -z "${LIBGO_IS_BSD_TRUE}" && test -z "${LIBGO_IS_BSD_FALSE}"; then
16079 as_fn_error $?
"conditional \"LIBGO_IS_BSD\" was never defined.
16080 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16082 if test -z "${LIBGO_IS_X86_TRUE}" && test -z "${LIBGO_IS_X86_FALSE}"; then
16083 as_fn_error $?
"conditional \"LIBGO_IS_X86\" was never defined.
16084 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16086 if test -z "${USING_SPLIT_STACK_TRUE}" && test -z "${USING_SPLIT_STACK_FALSE}"; then
16087 as_fn_error $?
"conditional \"USING_SPLIT_STACK\" was never defined.
16088 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16090 if test -z "${GOC_IS_LLGO_TRUE}" && test -z "${GOC_IS_LLGO_FALSE}"; then
16091 as_fn_error $?
"conditional \"GOC_IS_LLGO\" was never defined.
16092 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16095 if test -z "${HAVE_SYS_MMAN_H_TRUE}" && test -z "${HAVE_SYS_MMAN_H_FALSE}"; then
16096 as_fn_error $?
"conditional \"HAVE_SYS_MMAN_H\" was never defined.
16097 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16099 if test -z "${HAVE_STRERROR_R_TRUE}" && test -z "${HAVE_STRERROR_R_FALSE}"; then
16100 as_fn_error $?
"conditional \"HAVE_STRERROR_R\" was never defined.
16101 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16103 if test -z "${HAVE_WAIT4_TRUE}" && test -z "${HAVE_WAIT4_FALSE}"; then
16104 as_fn_error $?
"conditional \"HAVE_WAIT4\" was never defined.
16105 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16107 if test -z "${HAVE_STAT_TIMESPEC_TRUE}" && test -z "${HAVE_STAT_TIMESPEC_FALSE}"; then
16108 as_fn_error $?
"conditional \"HAVE_STAT_TIMESPEC\" was never defined.
16109 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16112 : "${CONFIG_STATUS=./config.status}"
16114 ac_clean_files_save
=$ac_clean_files
16115 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16116 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16117 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16119 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16121 # Generated by $as_me.
16122 # Run this file to recreate the current configuration.
16123 # Compiler output produced by configure, useful for debugging
16124 # configure, is in config.log if it exists.
16127 ac_cs_recheck=false
16130 SHELL=\${CONFIG_SHELL-$SHELL}
16133 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16134 ## -------------------- ##
16135 ## M4sh Initialization. ##
16136 ## -------------------- ##
16138 # Be more Bourne compatible
16139 DUALCASE
=1; export DUALCASE
# for MKS sh
16140 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16143 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16144 # is contrary to our usage. Disable this feature.
16145 alias -g '${1+"$@"}'='"$@"'
16146 setopt NO_GLOB_SUBST
16148 case `(set -o) 2>/dev/null` in #(
16160 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16161 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16162 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16163 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16164 # Prefer a ksh shell builtin over an external printf program on Solaris,
16165 # but without wasting forks for bash or zsh.
16166 if test -z "$BASH_VERSION$ZSH_VERSION" \
16167 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16168 as_echo='print
-r --'
16169 as_echo_n='print
-rn --'
16170 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16171 as_echo='printf %s
\n'
16172 as_echo_n='printf %s
'
16174 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16175 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16176 as_echo_n='/usr
/ucb
/echo -n'
16178 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16179 as_echo_n_body='eval
16183 expr "X$arg" : "X\\(.*\\)$as_nl";
16184 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16186 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16188 export as_echo_n_body
16189 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16191 export as_echo_body
16192 as_echo='sh
-c $as_echo_body as_echo
'
16195 # The user is always right.
16196 if test "${PATH_SEPARATOR+set}" != set; then
16198 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16199 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16206 # We need space, tab and new line, in precisely that order. Quoting is
16207 # there to prevent editors from complaining about space-tab.
16208 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16209 # splitting by setting IFS to empty value.)
16212 # Find who we are. Look in the path if we contain no directory separator.
16215 *[\\/]* ) as_myself=$0 ;;
16216 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16217 for as_dir in $PATH
16220 test -z "$as_dir" && as_dir=.
16221 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16227 # We did not find ourselves, most probably we were run as `sh COMMAND'
16228 # in which case we are not to be found in the path.
16229 if test "x$as_myself" = x
; then
16232 if test ! -f "$as_myself"; then
16233 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16237 # Unset variables that we do not need and which cause bugs (e.g. in
16238 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16239 # suppresses any "Segmentation fault" message there. '((' could
16240 # trigger a bug in pdksh 5.2.14.
16241 for as_var
in BASH_ENV ENV MAIL MAILPATH
16242 do eval test x\
${$as_var+set} = xset \
16243 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16256 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16259 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16260 # ----------------------------------------
16261 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16262 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16263 # script with STATUS, using 1 if that was 0.
16266 as_status
=$1; test $as_status -eq 0 && as_status
=1
16268 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16269 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16271 $as_echo "$as_me: error: $2" >&2
16272 as_fn_exit
$as_status
16276 # as_fn_set_status STATUS
16277 # -----------------------
16278 # Set $? to STATUS, without forking.
16279 as_fn_set_status
()
16282 } # as_fn_set_status
16284 # as_fn_exit STATUS
16285 # -----------------
16286 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16290 as_fn_set_status
$1
16296 # Portably unset VAR.
16299 { eval $1=; unset $1;}
16301 as_unset
=as_fn_unset
16302 # as_fn_append VAR VALUE
16303 # ----------------------
16304 # Append the text in VALUE to the end of the definition contained in VAR. Take
16305 # advantage of any shell optimizations that allow amortized linear growth over
16306 # repeated appends, instead of the typical quadratic growth present in naive
16308 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16309 eval 'as_fn_append ()
16320 # as_fn_arith ARG...
16321 # ------------------
16322 # Perform arithmetic evaluation on the ARGs, and store the result in the
16323 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16324 # must be portable across $(()) and expr.
16325 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16326 eval 'as_fn_arith ()
16333 as_val
=`expr "$@" || test $? -eq 1`
16338 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16339 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16345 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16346 as_basename
=basename
16351 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16357 as_me
=`$as_basename -- "$0" ||
16358 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16359 X"$0" : 'X\(//\)$' \| \
16360 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16362 sed '/^.*\/\([^/][^/]*\)\/*$/{
16376 # Avoid depending upon Character Ranges.
16377 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16378 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16379 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16380 as_cr_digits
='0123456789'
16381 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16383 ECHO_C
= ECHO_N
= ECHO_T
=
16384 case `echo -n x` in #(((((
16386 case `echo 'xy\c'` in
16387 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16389 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16396 rm -f conf$$ conf$$.exe conf$$.
file
16397 if test -d conf$$.dir
; then
16398 rm -f conf$$.dir
/conf$$.
file
16401 mkdir conf$$.dir
2>/dev
/null
16403 if (echo >conf$$.
file) 2>/dev
/null
; then
16404 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16406 # ... but there are two gotchas:
16407 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16408 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16409 # In both cases, we have to default to `cp -pR'.
16410 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16412 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16420 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16421 rmdir conf$$.dir
2>/dev
/null
16426 # Create "$as_dir" as a directory, including parents if necessary.
16431 -*) as_dir
=.
/$as_dir;;
16433 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16437 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16438 *) as_qdir
=$as_dir;;
16440 as_dirs
="'$as_qdir' $as_dirs"
16441 as_dir
=`$as_dirname -- "$as_dir" ||
16442 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16443 X"$as_dir" : 'X\(//\)[^/]' \| \
16444 X"$as_dir" : 'X\(//\)$' \| \
16445 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16446 $as_echo X"$as_dir" |
16447 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16451 /^X\(\/\/\)[^/].*/{
16464 test -d "$as_dir" && break
16466 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16467 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16471 if mkdir
-p .
2>/dev
/null
; then
16472 as_mkdir_p
='mkdir -p "$as_dir"'
16474 test -d .
/-p && rmdir .
/-p
16479 # as_fn_executable_p FILE
16480 # -----------------------
16481 # Test if FILE is an executable regular file.
16482 as_fn_executable_p
()
16484 test -f "$1" && test -x "$1"
16485 } # as_fn_executable_p
16486 as_test_x
='test -x'
16487 as_executable_p
=as_fn_executable_p
16489 # Sed expression to map a string onto a valid CPP name.
16490 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16492 # Sed expression to map a string onto a valid variable name.
16493 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16497 ## ----------------------------------- ##
16498 ## Main body of $CONFIG_STATUS script. ##
16499 ## ----------------------------------- ##
16501 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16503 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16504 # Save the log message, to keep $0 and so on meaningful, and to
16505 # report actual input values of CONFIG_FILES etc. instead of their
16506 # values after options handling.
16508 This file was extended by package-unused $as_me version-unused, which was
16509 generated by GNU Autoconf 2.69. Invocation command line was
16511 CONFIG_FILES = $CONFIG_FILES
16512 CONFIG_HEADERS = $CONFIG_HEADERS
16513 CONFIG_LINKS = $CONFIG_LINKS
16514 CONFIG_COMMANDS = $CONFIG_COMMANDS
16517 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16522 case $ac_config_files in *"
16523 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16526 case $ac_config_headers in *"
16527 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16531 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16532 # Files that config.status was made for.
16533 config_files="$ac_config_files"
16534 config_headers="$ac_config_headers"
16535 config_commands="$ac_config_commands"
16539 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16541 \`$as_me' instantiates files and other configuration actions
16542 from templates according to the current configuration. Unless the files
16543 and actions are specified as TAGs, all are instantiated by default.
16545 Usage: $0 [OPTION]... [TAG]...
16547 -h, --help print this help, then exit
16548 -V, --version print version number and configuration settings, then exit
16549 --config print configuration, then exit
16550 -q, --quiet, --silent
16551 do not print progress messages
16552 -d, --debug don't remove temporary files
16553 --recheck update $as_me by reconfiguring in the same conditions
16554 --file=FILE[:TEMPLATE]
16555 instantiate the configuration file FILE
16556 --header=FILE[:TEMPLATE]
16557 instantiate the configuration header FILE
16559 Configuration files:
16562 Configuration headers:
16565 Configuration commands:
16568 Report bugs to the package provider."
16571 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16572 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16574 package-unused config.status version-unused
16575 configured by $0, generated by GNU Autoconf 2.69,
16576 with options \\"\$ac_cs_config\\"
16578 Copyright (C) 2012 Free Software Foundation, Inc.
16579 This config.status script is free software; the Free Software Foundation
16580 gives unlimited permission to copy, distribute and modify it."
16587 test -n "\$AWK" || AWK=awk
16590 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16591 # The default lists apply if the user does not specify any file.
16597 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16598 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16602 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16614 # Handling of the options.
16615 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16617 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16618 $as_echo "$ac_cs_version"; exit ;;
16619 --config |
--confi |
--conf |
--con |
--co |
--c )
16620 $as_echo "$ac_cs_config"; exit ;;
16621 --debug |
--debu |
--deb |
--de |
--d |
-d )
16623 --file |
--fil |
--fi |
--f )
16626 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16627 '') as_fn_error $?
"missing file argument" ;;
16629 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16630 ac_need_defaults
=false
;;
16631 --header |
--heade |
--head |
--hea )
16634 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16636 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16637 ac_need_defaults
=false
;;
16639 # Conflict between --help and --header
16640 as_fn_error $?
"ambiguous option: \`$1'
16641 Try \`$0 --help' for more information.";;
16642 --help |
--hel |
-h )
16643 $as_echo "$ac_cs_usage"; exit ;;
16644 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16645 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16648 # This is an error.
16649 -*) as_fn_error $?
"unrecognized option: \`$1'
16650 Try \`$0 --help' for more information." ;;
16652 *) as_fn_append ac_config_targets
" $1"
16653 ac_need_defaults
=false
;;
16659 ac_configure_extra_args
=
16661 if $ac_cs_silent; then
16663 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16668 if \$ac_cs_recheck; then
16669 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16671 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16672 CONFIG_SHELL='$SHELL'
16673 export CONFIG_SHELL
16678 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16682 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16683 ## Running $as_me. ##
16689 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16697 with_multisubdir="$with_multisubdir"
16698 with_multisrctop="$with_multisrctop"
16699 with_target_subdir="$with_target_subdir"
16700 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16701 multi_basedir="$multi_basedir"
16702 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16705 GFORTRAN="$GFORTRAN"
16707 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16710 # The HP-UX ksh and POSIX shell print the target directory to stdout
16711 # if CDPATH is set.
16712 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16714 sed_quote_subst='$sed_quote_subst'
16715 double_quote_subst='$double_quote_subst'
16716 delay_variable_subst='$delay_variable_subst'
16717 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16718 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16719 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16720 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16721 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16722 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16723 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16724 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16725 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16726 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16727 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16728 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16729 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16730 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16731 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16732 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16733 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16734 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16735 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16736 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16737 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16738 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16739 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16740 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16741 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16742 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16743 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16744 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16745 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16746 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16747 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16748 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16749 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16750 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16751 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16752 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16753 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16754 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16755 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16756 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16757 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16758 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16759 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16760 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16761 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16762 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16763 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16764 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16765 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"`'
16766 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16767 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16768 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16769 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16770 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16771 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16772 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16773 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16774 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16775 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16776 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16777 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16778 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16779 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16780 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16781 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16782 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16783 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16784 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16785 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16786 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16787 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16788 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16789 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16790 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16791 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16792 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16793 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16794 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16795 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16796 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16797 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16798 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16799 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16800 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16801 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16802 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16803 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16804 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16805 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16806 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16807 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16808 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16809 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16810 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16811 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16812 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16813 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16814 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16815 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16816 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16817 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16818 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16819 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16820 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16821 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16822 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16823 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16824 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16825 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16826 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16827 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16828 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16829 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16830 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16831 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16832 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16833 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16834 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16835 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16836 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16837 LD_GO='`$ECHO "$LD_GO" | $SED "$delay_single_quote_subst"`'
16838 reload_flag_GO='`$ECHO "$reload_flag_GO" | $SED "$delay_single_quote_subst"`'
16839 reload_cmds_GO='`$ECHO "$reload_cmds_GO" | $SED "$delay_single_quote_subst"`'
16840 old_archive_cmds_GO='`$ECHO "$old_archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
16841 compiler_GO='`$ECHO "$compiler_GO" | $SED "$delay_single_quote_subst"`'
16842 GCC_GO='`$ECHO "$GCC_GO" | $SED "$delay_single_quote_subst"`'
16843 lt_prog_compiler_no_builtin_flag_GO='`$ECHO "$lt_prog_compiler_no_builtin_flag_GO" | $SED "$delay_single_quote_subst"`'
16844 lt_prog_compiler_wl_GO='`$ECHO "$lt_prog_compiler_wl_GO" | $SED "$delay_single_quote_subst"`'
16845 lt_prog_compiler_pic_GO='`$ECHO "$lt_prog_compiler_pic_GO" | $SED "$delay_single_quote_subst"`'
16846 lt_prog_compiler_static_GO='`$ECHO "$lt_prog_compiler_static_GO" | $SED "$delay_single_quote_subst"`'
16847 lt_cv_prog_compiler_c_o_GO='`$ECHO "$lt_cv_prog_compiler_c_o_GO" | $SED "$delay_single_quote_subst"`'
16848 archive_cmds_need_lc_GO='`$ECHO "$archive_cmds_need_lc_GO" | $SED "$delay_single_quote_subst"`'
16849 enable_shared_with_static_runtimes_GO='`$ECHO "$enable_shared_with_static_runtimes_GO" | $SED "$delay_single_quote_subst"`'
16850 export_dynamic_flag_spec_GO='`$ECHO "$export_dynamic_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
16851 whole_archive_flag_spec_GO='`$ECHO "$whole_archive_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
16852 compiler_needs_object_GO='`$ECHO "$compiler_needs_object_GO" | $SED "$delay_single_quote_subst"`'
16853 old_archive_from_new_cmds_GO='`$ECHO "$old_archive_from_new_cmds_GO" | $SED "$delay_single_quote_subst"`'
16854 old_archive_from_expsyms_cmds_GO='`$ECHO "$old_archive_from_expsyms_cmds_GO" | $SED "$delay_single_quote_subst"`'
16855 archive_cmds_GO='`$ECHO "$archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
16856 archive_expsym_cmds_GO='`$ECHO "$archive_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
16857 module_cmds_GO='`$ECHO "$module_cmds_GO" | $SED "$delay_single_quote_subst"`'
16858 module_expsym_cmds_GO='`$ECHO "$module_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
16859 with_gnu_ld_GO='`$ECHO "$with_gnu_ld_GO" | $SED "$delay_single_quote_subst"`'
16860 allow_undefined_flag_GO='`$ECHO "$allow_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
16861 no_undefined_flag_GO='`$ECHO "$no_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
16862 hardcode_libdir_flag_spec_GO='`$ECHO "$hardcode_libdir_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
16863 hardcode_libdir_flag_spec_ld_GO='`$ECHO "$hardcode_libdir_flag_spec_ld_GO" | $SED "$delay_single_quote_subst"`'
16864 hardcode_libdir_separator_GO='`$ECHO "$hardcode_libdir_separator_GO" | $SED "$delay_single_quote_subst"`'
16865 hardcode_direct_GO='`$ECHO "$hardcode_direct_GO" | $SED "$delay_single_quote_subst"`'
16866 hardcode_direct_absolute_GO='`$ECHO "$hardcode_direct_absolute_GO" | $SED "$delay_single_quote_subst"`'
16867 hardcode_minus_L_GO='`$ECHO "$hardcode_minus_L_GO" | $SED "$delay_single_quote_subst"`'
16868 hardcode_shlibpath_var_GO='`$ECHO "$hardcode_shlibpath_var_GO" | $SED "$delay_single_quote_subst"`'
16869 hardcode_automatic_GO='`$ECHO "$hardcode_automatic_GO" | $SED "$delay_single_quote_subst"`'
16870 inherit_rpath_GO='`$ECHO "$inherit_rpath_GO" | $SED "$delay_single_quote_subst"`'
16871 link_all_deplibs_GO='`$ECHO "$link_all_deplibs_GO" | $SED "$delay_single_quote_subst"`'
16872 fix_srcfile_path_GO='`$ECHO "$fix_srcfile_path_GO" | $SED "$delay_single_quote_subst"`'
16873 always_export_symbols_GO='`$ECHO "$always_export_symbols_GO" | $SED "$delay_single_quote_subst"`'
16874 export_symbols_cmds_GO='`$ECHO "$export_symbols_cmds_GO" | $SED "$delay_single_quote_subst"`'
16875 exclude_expsyms_GO='`$ECHO "$exclude_expsyms_GO" | $SED "$delay_single_quote_subst"`'
16876 include_expsyms_GO='`$ECHO "$include_expsyms_GO" | $SED "$delay_single_quote_subst"`'
16877 prelink_cmds_GO='`$ECHO "$prelink_cmds_GO" | $SED "$delay_single_quote_subst"`'
16878 file_list_spec_GO='`$ECHO "$file_list_spec_GO" | $SED "$delay_single_quote_subst"`'
16879 hardcode_action_GO='`$ECHO "$hardcode_action_GO" | $SED "$delay_single_quote_subst"`'
16882 LTCFLAGS='$LTCFLAGS'
16883 compiler='$compiler_DEFAULT'
16885 # A function that is used when there is no print builtin or printf.
16886 func_fallback_echo ()
16888 eval 'cat <<_LTECHO_EOF
16893 # Quote evaled strings.
16907 deplibs_check_method \
16916 lt_cv_sys_global_symbol_pipe \
16917 lt_cv_sys_global_symbol_to_cdecl \
16918 lt_cv_sys_global_symbol_to_c_name_address \
16919 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16920 lt_prog_compiler_no_builtin_flag \
16921 lt_prog_compiler_wl \
16922 lt_prog_compiler_pic \
16923 lt_prog_compiler_static \
16924 lt_cv_prog_compiler_c_o \
16932 export_dynamic_flag_spec \
16933 whole_archive_flag_spec \
16934 compiler_needs_object \
16936 allow_undefined_flag \
16937 no_undefined_flag \
16938 hardcode_libdir_flag_spec \
16939 hardcode_libdir_flag_spec_ld \
16940 hardcode_libdir_separator \
16945 variables_saved_for_relink \
16947 library_names_spec \
16949 install_override_mode \
16956 lt_prog_compiler_no_builtin_flag_GO \
16957 lt_prog_compiler_wl_GO \
16958 lt_prog_compiler_pic_GO \
16959 lt_prog_compiler_static_GO \
16960 lt_cv_prog_compiler_c_o_GO \
16961 export_dynamic_flag_spec_GO \
16962 whole_archive_flag_spec_GO \
16963 compiler_needs_object_GO \
16965 allow_undefined_flag_GO \
16966 no_undefined_flag_GO \
16967 hardcode_libdir_flag_spec_GO \
16968 hardcode_libdir_flag_spec_ld_GO \
16969 hardcode_libdir_separator_GO \
16970 fix_srcfile_path_GO \
16971 exclude_expsyms_GO \
16972 include_expsyms_GO \
16973 file_list_spec_GO; do
16974 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16975 *[\\\\\\\`\\"\\\$]*)
16976 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16979 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16984 # Double-quote double-evaled strings.
16985 for var in reload_cmds \
16986 old_postinstall_cmds \
16987 old_postuninstall_cmds \
16989 extract_expsyms_cmds \
16990 old_archive_from_new_cmds \
16991 old_archive_from_expsyms_cmds \
16993 archive_expsym_cmds \
16995 module_expsym_cmds \
16996 export_symbols_cmds \
16999 postuninstall_cmds \
17001 sys_lib_search_path_spec \
17002 sys_lib_dlsearch_path_spec \
17004 old_archive_cmds_GO \
17005 old_archive_from_new_cmds_GO \
17006 old_archive_from_expsyms_cmds_GO \
17008 archive_expsym_cmds_GO \
17010 module_expsym_cmds_GO \
17011 export_symbols_cmds_GO \
17012 prelink_cmds_GO; do
17013 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17014 *[\\\\\\\`\\"\\\$]*)
17015 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17018 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17023 ac_aux_dir='$ac_aux_dir'
17024 xsi_shell='$xsi_shell'
17025 lt_shell_append='$lt_shell_append'
17027 # See if we are running on zsh, and set the options which allow our
17028 # commands through without removal of \ escapes INIT.
17029 if test -n "\${ZSH_VERSION+set}" ; then
17030 setopt NO_GLOB_SUBST
17036 TIMESTAMP='$TIMESTAMP'
17045 # Variables needed in config.status (file generation) which aren't already
17046 # passed by autoconf.
17052 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17054 # Handling of arguments.
17055 for ac_config_target
in $ac_config_targets
17057 case $ac_config_target in
17058 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
17059 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
17060 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17061 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
17062 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17063 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
17064 "testsuite/libgo-test-support.exp") CONFIG_FILES
="$CONFIG_FILES testsuite/libgo-test-support.exp" ;;
17065 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
17067 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17072 # If the user did not use the arguments to specify the items to instantiate,
17073 # then the envvar interface is used. Set only those that are not.
17074 # We use the long form for the default assignment because of an extremely
17075 # bizarre bug on SunOS 4.1.3.
17076 if $ac_need_defaults; then
17077 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17078 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17079 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17082 # Have a temporary directory for convenience. Make it in the build tree
17083 # simply because there is no reason against having it here, and in addition,
17084 # creating and moving files from /tmp can sometimes cause problems.
17085 # Hook for its removal unless debugging.
17086 # Note that there is a small window in which the directory will not be cleaned:
17087 # after its creation but before its name has been assigned to `$tmp'.
17091 trap 'exit_status=$?
17092 : "${ac_tmp:=$tmp}"
17093 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17095 trap 'as_fn_exit 1' 1 2 13 15
17097 # Create a (secure) tmp directory for tmp files.
17100 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17104 tmp
=.
/conf$$
-$RANDOM
17105 (umask 077 && mkdir
"$tmp")
17106 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
17109 # Set up the scripts for CONFIG_FILES section.
17110 # No need to generate them if there are no CONFIG_FILES.
17111 # This happens for instance with `./config.status config.h'.
17112 if test -n "$CONFIG_FILES"; then
17115 ac_cr
=`echo X | tr X '\015'`
17116 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17117 # But we know of no other shell where ac_cr would be empty at this
17118 # point, so we can use a bashism as a fallback.
17119 if test "x$ac_cr" = x
; then
17120 eval ac_cr
=\$
\'\\r
\'
17122 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17123 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17126 ac_cs_awk_cr
=$ac_cr
17129 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17134 echo "cat >conf$$subs.awk <<_ACEOF" &&
17135 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17137 } >conf$$subs.sh ||
17138 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17139 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17141 for ac_last_try in false false false false false :; do
17142 . ./conf$$subs.sh ||
17143 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17145 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17146 if test $ac_delim_n = $ac_delim_num; then
17148 elif $ac_last_try; then
17149 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17151 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17154 rm -f conf$$subs.sh
17156 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17157 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
17161 s/^/S["/; s
/!.
*/"]=/
17171 s/\(.\{148\}\)..*/\1/
17173 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17178 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17185 s/\(.\{148\}\)..*/\1/
17187 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17191 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17196 ' <conf$$subs.awk | sed '
17201 ' >>$CONFIG_STATUS || ac_write_fail=1
17202 rm -f conf$$subs.awk
17203 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17205 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
17206 for (key in S) S_is_set[key] = 1
17212 nfields = split(line, field, "@
")
17214 len = length(field[1])
17215 for (i = 2; i < nfields; i++) {
17217 keylen = length(key)
17218 if (S_is_set[key]) {
17220 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17221 len += length(value) + length(field[++i])
17232 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17233 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17234 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17237 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
17238 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
17241 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17242 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
17243 # trailing colons and then remove the whole line if VPATH becomes empty
17244 # (actually we leave an empty line to preserve line numbers).
17245 if test "x
$srcdir" = x.; then
17246 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17264 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17265 fi # test -n "$CONFIG_FILES"
17267 # Set up the scripts for CONFIG_HEADERS section.
17268 # No need to generate them if there are no CONFIG_HEADERS.
17269 # This happens for instance with `./config.status Makefile'.
17270 if test -n "$CONFIG_HEADERS"; then
17271 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
17275 # Transform confdefs.h into an awk script `defines.awk', embedded as
17276 # here-document in config.status, that substitutes the proper values into
17277 # config.h.in to produce config.h.
17279 # Create a delimiter string that does not exist in confdefs.h, to ease
17280 # handling of long lines.
17282 for ac_last_try in false false :; do
17283 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
17284 if test -z "$ac_tt"; then
17286 elif $ac_last_try; then
17287 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
17289 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17293 # For the awk script, D is an array of macro values keyed by name,
17294 # likewise P contains macro parameters if any. Preserve backslash
17295 # newline sequences.
17297 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17299 s/.\{148\}/&'"$ac_delim"'/g
17302 s/^[ ]*#[ ]*define[ ][ ]*/ /
17309 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17311 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17315 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17316 D["\
1"]=" \
3\\\\\\n
"\\/p
17318 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17323 s/.\{148\}/&'"$ac_delim"'/g
17328 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17331 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17333 ' <confdefs.h | sed '
17334 s/'"$ac_delim"'/"\\\
17335 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17337 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17338 for (key in D) D_is_set[key] = 1
17341 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17343 split(line, arg, " ")
17344 if (arg[1] == "#") {
17348 defundef
= substr
(arg
[1], 2)
17351 split(mac1
, mac2
, "(") #)
17353 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17354 if (D_is_set
[macro
]) {
17355 # Preserve the white space surrounding the "#".
17356 print prefix
"define", macro P
[macro
] D
[macro
]
17359 # Replace #undef with comments. This is necessary, for example,
17360 # in the case of _POSIX_SOURCE, which is predefined and required
17361 # on some systems where configure will not decide to define it.
17362 if (defundef
== "undef") {
17363 print
"/*", prefix defundef
, macro
, "*/"
17371 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17372 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
17373 fi # test -n "$CONFIG_HEADERS"
17376 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17381 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17383 case $ac_mode$ac_tag in
17385 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17386 :[FH
]-) ac_tag
=-:-;;
17387 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17404 -) ac_f
="$ac_tmp/stdin";;
17405 *) # Look for the file first in the build tree, then in the source tree
17406 # (if the path is not absolute). The absolute path cannot be DOS-style,
17407 # because $ac_f cannot contain `:'.
17411 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17413 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17415 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17416 as_fn_append ac_file_inputs
" '$ac_f'"
17419 # Let's still pretend it is `configure' which instantiates (i.e., don't
17420 # use $as_me), people would be surprised to read:
17421 # /* config.h. Generated by config.status. */
17422 configure_input
='Generated from '`
17423 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17425 if test x
"$ac_file" != x-
; then
17426 configure_input
="$ac_file. $configure_input"
17427 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17428 $as_echo "$as_me: creating $ac_file" >&6;}
17430 # Neutralize special characters interpreted by sed in replacement strings.
17431 case $configure_input in #(
17432 *\
&* |
*\|
* |
*\\* )
17433 ac_sed_conf_input
=`$as_echo "$configure_input" |
17434 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17435 *) ac_sed_conf_input
=$configure_input;;
17439 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
17440 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
17445 ac_dir
=`$as_dirname -- "$ac_file" ||
17446 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17447 X"$ac_file" : 'X\(//\)[^/]' \| \
17448 X"$ac_file" : 'X\(//\)$' \| \
17449 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17450 $as_echo X"$ac_file" |
17451 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17455 /^X\(\/\/\)[^/].*/{
17468 as_dir
="$ac_dir"; as_fn_mkdir_p
17472 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17474 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17475 # A ".." for each directory in $ac_dir_suffix.
17476 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17477 case $ac_top_builddir_sub in
17478 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17479 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17482 ac_abs_top_builddir
=$ac_pwd
17483 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17484 # for backward compatibility:
17485 ac_top_builddir
=$ac_top_build_prefix
17488 .
) # We are building in place.
17490 ac_top_srcdir
=$ac_top_builddir_sub
17491 ac_abs_top_srcdir
=$ac_pwd ;;
17492 [\\/]* | ?
:[\\/]* ) # Absolute name.
17493 ac_srcdir
=$srcdir$ac_dir_suffix;
17494 ac_top_srcdir
=$srcdir
17495 ac_abs_top_srcdir
=$srcdir ;;
17496 *) # Relative name.
17497 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17498 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17499 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17501 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17511 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17512 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17514 ac_MKDIR_P
=$MKDIR_P
17516 [\\/$
]* | ?
:[\\/]* ) ;;
17517 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
17521 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17522 # If the template does not know about datarootdir, expand it.
17523 # FIXME: This hack should be removed a few years after 2.60.
17524 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17535 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17536 *datarootdir
*) ac_datarootdir_seen
=yes;;
17537 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17539 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17541 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17542 ac_datarootdir_hack='
17543 s&@datadir@&$datadir&g
17544 s&@docdir@&$docdir&g
17545 s&@infodir@&$infodir&g
17546 s&@localedir@&$localedir&g
17547 s&@mandir@&$mandir&g
17548 s&\\\${datarootdir}&$datarootdir&g' ;;
17552 # Neutralize VPATH when `$srcdir' = `.'.
17553 # Shell code in configure.ac might set extrasub.
17554 # FIXME: do we really want to maintain this feature?
17555 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17556 ac_sed_extra="$ac_vpsub
17559 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17561 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17562 s|@configure_input@|
$ac_sed_conf_input|
;t t
17563 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17564 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17565 s
&@srcdir@
&$ac_srcdir&;t t
17566 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17567 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17568 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17569 s
&@builddir@
&$ac_builddir&;t t
17570 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17571 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17572 s
&@INSTALL@
&$ac_INSTALL&;t t
17573 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17574 $ac_datarootdir_hack
17576 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
17577 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17579 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17580 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17581 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17582 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17584 which seems to be undefined. Please make sure it is defined" >&5
17585 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17586 which seems to be undefined. Please make sure it is defined" >&2;}
17588 rm -f "$ac_tmp/stdin"
17590 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17591 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17593 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17599 if test x"$ac_file" != x-; then
17601 $as_echo "/* $configure_input */" \
17602 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17603 } >"$ac_tmp/config.h" \
17604 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17605 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17606 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17607 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17610 mv "$ac_tmp/config.h" "$ac_file" \
17611 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17614 $as_echo "/* $configure_input */" \
17615 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17616 || as_fn_error $? "could not create -" "$LINENO" 5
17618 # Compute "$ac_file"'s index
in $config_headers.
17621 for _am_header
in $config_headers :; do
17622 case $_am_header in
17623 $_am_arg |
$_am_arg:* )
17626 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17629 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17630 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17631 X"$_am_arg" : 'X\(//\)[^/]' \| \
17632 X"$_am_arg" : 'X\(//\)$' \| \
17633 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17634 $as_echo X"$_am_arg" |
17635 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17639 /^X\(\/\/\)[^/].*/{
17651 s/.*/./; q'`/stamp-h
$_am_stamp_count
17654 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17655 $as_echo "$as_me: executing $ac_file commands" >&6;}
17660 case $ac_file$ac_mode in
17662 # Only add multilib support code if we just rebuilt the top-level
17664 case " $CONFIG_FILES " in
17666 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
17669 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
17670 # Older Autoconf quotes --file arguments for eval, but not when files
17671 # are listed without --file. Let's play safe and only enable the eval
17672 # if we detect the quoting.
17673 case $CONFIG_FILES in
17674 *\'*) eval set x
"$CONFIG_FILES" ;;
17675 *) set x
$CONFIG_FILES ;;
17680 # Strip MF so we end up with the name of the file.
17681 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17682 # Check whether this is an Automake generated Makefile or not.
17683 # We used to match only the files named 'Makefile.in', but
17684 # some people rename them; so instead we look at the file content.
17685 # Grep'ing the first line is not enough: some people post-process
17686 # each Makefile.in and add a new line on top of each file to say so.
17687 # Grep'ing the whole file is not good either: AIX grep has a line
17688 # limit of 2048, but all sed's we know have understand at least 4000.
17689 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17690 dirpart
=`$as_dirname -- "$mf" ||
17691 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17692 X"$mf" : 'X\(//\)[^/]' \| \
17693 X"$mf" : 'X\(//\)$' \| \
17694 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17696 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17700 /^X\(\/\/\)[^/].*/{
17716 # Extract the definition of DEPDIR, am__include, and am__quote
17717 # from the Makefile without running 'make'.
17718 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17719 test -z "$DEPDIR" && continue
17720 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17721 test -z "$am__include" && continue
17722 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17723 # Find all dependency output files, they are included files with
17724 # $(DEPDIR) in their names. We invoke sed twice because it is the
17725 # simplest approach to changing $(DEPDIR) to its actual value in the
17727 for file in `sed -n "
17728 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17729 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17730 # Make sure the directory exists.
17731 test -f "$dirpart/$file" && continue
17732 fdir
=`$as_dirname -- "$file" ||
17733 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17734 X"$file" : 'X\(//\)[^/]' \| \
17735 X"$file" : 'X\(//\)$' \| \
17736 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17737 $as_echo X"$file" |
17738 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17742 /^X\(\/\/\)[^/].*/{
17755 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17756 # echo "creating $dirpart/$file"
17757 echo '# dummy' > "$dirpart/$file"
17764 # See if we are running on zsh, and set the options which allow our
17765 # commands through without removal of \ escapes.
17766 if test -n "${ZSH_VERSION+set}" ; then
17767 setopt NO_GLOB_SUBST
17770 cfgfile
="${ofile}T"
17771 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17774 cat <<_LT_EOF >> "$cfgfile"
17777 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17778 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17779 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17780 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17782 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17783 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
17784 # Written by Gordon Matzigkeit, 1996
17786 # This file is part of GNU Libtool.
17788 # GNU Libtool is free software; you can redistribute it and/or
17789 # modify it under the terms of the GNU General Public License as
17790 # published by the Free Software Foundation; either version 2 of
17791 # the License, or (at your option) any later version.
17793 # As a special exception to the GNU General Public License,
17794 # if you distribute this file as part of a program or library that
17795 # is built using GNU Libtool, you may include this file under the
17796 # same distribution terms that you use for the rest of that program.
17798 # GNU Libtool is distributed in the hope that it will be useful,
17799 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17800 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17801 # GNU General Public License for more details.
17803 # You should have received a copy of the GNU General Public License
17804 # along with GNU Libtool; see the file COPYING. If not, a copy
17805 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17806 # obtained by writing to the Free Software Foundation, Inc.,
17807 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17810 # The names of the tagged configurations supported by this script.
17811 available_tags="GO "
17813 # ### BEGIN LIBTOOL CONFIG
17815 # A sed program that does not truncate output.
17818 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17819 Xsed="\$SED -e 1s/^X//"
17821 # A grep program that handles long lines.
17827 # A literal string matcher.
17830 # Shell to use when invoking shell scripts.
17833 # An echo program that protects backslashes.
17836 # Which release of libtool.m4 was used?
17837 macro_version=$macro_version
17838 macro_revision=$macro_revision
17840 # Whether or not to build shared libraries.
17841 build_libtool_libs=$enable_shared
17843 # Whether or not to build static libraries.
17844 build_old_libs=$enable_static
17846 # What type of objects to build.
17849 # Whether or not to optimize for fast installation.
17850 fast_install=$enable_fast_install
17853 host_alias=$host_alias
17857 # The build system.
17858 build_alias=$build_alias
17862 # A BSD- or MS-compatible name lister.
17865 # Whether we need soft or hard links.
17868 # What is the maximum length of a command?
17869 max_cmd_len=$max_cmd_len
17871 # Object file suffix (normally "o").
17874 # Executable file suffix (normally "").
17877 # whether the shell understands "unset".
17880 # turn spaces into newlines.
17883 # turn newlines into spaces.
17886 # An object symbol dumper.
17887 OBJDUMP=$lt_OBJDUMP
17889 # Method to check whether dependent libraries are shared objects.
17890 deplibs_check_method=$lt_deplibs_check_method
17892 # Command to use when deplibs_check_method == "file_magic".
17893 file_magic_cmd=$lt_file_magic_cmd
17897 AR_FLAGS=$lt_AR_FLAGS
17899 # A symbol stripping program.
17902 # Commands used to install an old-style archive.
17904 old_postinstall_cmds=$lt_old_postinstall_cmds
17905 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17907 # Whether to use a lock for old archive extraction.
17908 lock_old_archive_extraction=$lock_old_archive_extraction
17913 # LTCC compiler flags.
17914 LTCFLAGS=$lt_CFLAGS
17916 # Take the output of nm and produce a listing of raw symbols and C names.
17917 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17919 # Transform the output of nm in a proper C declaration.
17920 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17922 # Transform the output of nm in a C name address pair.
17923 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17925 # Transform the output of nm in a C name address pair when lib prefix is needed.
17926 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17928 # The name of the directory that contains temporary libtool files.
17931 # Used to examine libraries when file_magic_cmd begins with "file".
17932 MAGIC_CMD=$MAGIC_CMD
17934 # Must we lock files when doing compilation?
17935 need_locks=$lt_need_locks
17937 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17938 DSYMUTIL=$lt_DSYMUTIL
17940 # Tool to change global to local symbols on Mac OS X.
17943 # Tool to manipulate fat objects and archives on Mac OS X.
17946 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17949 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17950 OTOOL64=$lt_OTOOL64
17952 # Old archive suffix (normally "a").
17955 # Shared library suffix (normally ".so").
17956 shrext_cmds=$lt_shrext_cmds
17958 # The commands to extract the exported symbol list from a shared archive.
17959 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17961 # Variables whose values should be saved in libtool wrapper scripts and
17962 # restored at link time.
17963 variables_saved_for_relink=$lt_variables_saved_for_relink
17965 # Do we need the "lib" prefix for modules?
17966 need_lib_prefix=$need_lib_prefix
17968 # Do we need a version for libraries?
17969 need_version=$need_version
17971 # Library versioning type.
17972 version_type=$version_type
17974 # Shared library runtime path variable.
17975 runpath_var=$runpath_var
17977 # Shared library path variable.
17978 shlibpath_var=$shlibpath_var
17980 # Is shlibpath searched before the hard-coded library search path?
17981 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17983 # Format of library name prefix.
17984 libname_spec=$lt_libname_spec
17986 # List of archive names. First name is the real one, the rest are links.
17987 # The last name is the one that the linker finds with -lNAME
17988 library_names_spec=$lt_library_names_spec
17990 # The coded name of the library, if different from the real name.
17991 soname_spec=$lt_soname_spec
17993 # Permission mode override for installation of shared libraries.
17994 install_override_mode=$lt_install_override_mode
17996 # Command to use after installation of a shared archive.
17997 postinstall_cmds=$lt_postinstall_cmds
17999 # Command to use after uninstallation of a shared archive.
18000 postuninstall_cmds=$lt_postuninstall_cmds
18002 # Commands used to finish a libtool library installation in a directory.
18003 finish_cmds=$lt_finish_cmds
18005 # As "finish_cmds", except a single script fragment to be evaled but
18007 finish_eval=$lt_finish_eval
18009 # Whether we should hardcode library paths into libraries.
18010 hardcode_into_libs=$hardcode_into_libs
18012 # Compile-time system search path for libraries.
18013 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18015 # Run-time system search path for libraries.
18016 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18018 # Whether dlopen is supported.
18019 dlopen_support=$enable_dlopen
18021 # Whether dlopen of programs is supported.
18022 dlopen_self=$enable_dlopen_self
18024 # Whether dlopen of statically linked programs is supported.
18025 dlopen_self_static=$enable_dlopen_self_static
18027 # Commands to strip libraries.
18028 old_striplib=$lt_old_striplib
18029 striplib=$lt_striplib
18032 # The linker used to build libraries.
18035 # How to create reloadable object files.
18036 reload_flag=$lt_reload_flag
18037 reload_cmds=$lt_reload_cmds
18039 # Commands used to build an old-style archive.
18040 old_archive_cmds=$lt_old_archive_cmds
18042 # A language specific compiler.
18045 # Is the compiler the GNU compiler?
18048 # Compiler flag to turn off builtin functions.
18049 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18051 # How to pass a linker flag through the compiler.
18052 wl=$lt_lt_prog_compiler_wl
18054 # Additional compiler flags for building library objects.
18055 pic_flag=$lt_lt_prog_compiler_pic
18057 # Compiler flag to prevent dynamic linking.
18058 link_static_flag=$lt_lt_prog_compiler_static
18060 # Does compiler simultaneously support -c and -o options?
18061 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18063 # Whether or not to add -lc for building shared libraries.
18064 build_libtool_need_lc=$archive_cmds_need_lc
18066 # Whether or not to disallow shared libs when runtime libs are static.
18067 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18069 # Compiler flag to allow reflexive dlopens.
18070 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18072 # Compiler flag to generate shared objects directly from archives.
18073 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18075 # Whether the compiler copes with passing no objects directly.
18076 compiler_needs_object=$lt_compiler_needs_object
18078 # Create an old-style archive from a shared archive.
18079 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18081 # Create a temporary old-style archive to link instead of a shared archive.
18082 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18084 # Commands used to build a shared archive.
18085 archive_cmds=$lt_archive_cmds
18086 archive_expsym_cmds=$lt_archive_expsym_cmds
18088 # Commands used to build a loadable module if different from building
18089 # a shared archive.
18090 module_cmds=$lt_module_cmds
18091 module_expsym_cmds=$lt_module_expsym_cmds
18093 # Whether we are building with GNU ld or not.
18094 with_gnu_ld=$lt_with_gnu_ld
18096 # Flag that allows shared libraries with undefined symbols to be built.
18097 allow_undefined_flag=$lt_allow_undefined_flag
18099 # Flag that enforces no undefined symbols.
18100 no_undefined_flag=$lt_no_undefined_flag
18102 # Flag to hardcode \$libdir into a binary during linking.
18103 # This must work even if \$libdir does not exist
18104 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18106 # If ld is used when linking, flag to hardcode \$libdir into a binary
18107 # during linking. This must work even if \$libdir does not exist.
18108 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18110 # Whether we need a single "-rpath" flag with a separated argument.
18111 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18113 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18114 # DIR into the resulting binary.
18115 hardcode_direct=$hardcode_direct
18117 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18118 # DIR into the resulting binary and the resulting library dependency is
18119 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18120 # library is relocated.
18121 hardcode_direct_absolute=$hardcode_direct_absolute
18123 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18124 # into the resulting binary.
18125 hardcode_minus_L=$hardcode_minus_L
18127 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18128 # into the resulting binary.
18129 hardcode_shlibpath_var=$hardcode_shlibpath_var
18131 # Set to "yes" if building a shared library automatically hardcodes DIR
18132 # into the library and all subsequent libraries and executables linked
18134 hardcode_automatic=$hardcode_automatic
18136 # Set to yes if linker adds runtime paths of dependent libraries
18137 # to runtime path list.
18138 inherit_rpath=$inherit_rpath
18140 # Whether libtool must link a program against all its dependency libraries.
18141 link_all_deplibs=$link_all_deplibs
18143 # Fix the shell variable \$srcfile for the compiler.
18144 fix_srcfile_path=$lt_fix_srcfile_path
18146 # Set to "yes" if exported symbols are required.
18147 always_export_symbols=$always_export_symbols
18149 # The commands to list exported symbols.
18150 export_symbols_cmds=$lt_export_symbols_cmds
18152 # Symbols that should not be listed in the preloaded symbols.
18153 exclude_expsyms=$lt_exclude_expsyms
18155 # Symbols that must always be exported.
18156 include_expsyms=$lt_include_expsyms
18158 # Commands necessary for linking programs (against libraries) with templates.
18159 prelink_cmds=$lt_prelink_cmds
18161 # Specify filename containing input files.
18162 file_list_spec=$lt_file_list_spec
18164 # How to hardcode a shared library path into an executable.
18165 hardcode_action=$hardcode_action
18167 # ### END LIBTOOL CONFIG
18173 cat <<\_LT_EOF
>> "$cfgfile"
18174 # AIX sometimes has problems with the GCC collect2 program. For some
18175 # reason, if we set the COLLECT_NAMES environment variable, the problems
18176 # vanish in a puff of smoke.
18177 if test "X${COLLECT_NAMES+set}" != Xset
; then
18179 export COLLECT_NAMES
18186 ltmain
="$ac_aux_dir/ltmain.sh"
18189 # We use sed instead of cat because bash on DJGPP gets confused if
18190 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18191 # text mode, it properly converts lines to CR/LF. This bash problem
18192 # is reportedly fixed, but why not run on old versions too?
18193 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18194 ||
(rm -f "$cfgfile"; exit 1)
18198 cat << \_LT_EOF
>> "$cfgfile"
18200 # func_dirname file append nondir_replacement
18201 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18202 # otherwise set result to NONDIR_REPLACEMENT.
18206 */*) func_dirname_result
="${1%/*}${2}" ;;
18207 * ) func_dirname_result
="${3}" ;;
18211 # func_basename file
18214 func_basename_result
="${1##*/}"
18217 # func_dirname_and_basename file append nondir_replacement
18218 # perform func_basename and func_dirname in a single function
18220 # dirname: Compute the dirname of FILE. If nonempty,
18221 # add APPEND to the result, otherwise set result
18222 # to NONDIR_REPLACEMENT.
18223 # value returned in "$func_dirname_result"
18224 # basename: Compute filename of FILE.
18225 # value retuned in "$func_basename_result"
18226 # Implementation must be kept synchronized with func_dirname
18227 # and func_basename. For efficiency, we do not delegate to
18228 # those functions but instead duplicate the functionality here.
18229 func_dirname_and_basename
()
18232 */*) func_dirname_result
="${1%/*}${2}" ;;
18233 * ) func_dirname_result
="${3}" ;;
18235 func_basename_result
="${1##*/}"
18238 # func_stripname prefix suffix name
18239 # strip PREFIX and SUFFIX off of NAME.
18240 # PREFIX and SUFFIX must not contain globbing or regex special
18241 # characters, hashes, percent signs, but SUFFIX may contain a leading
18242 # dot (in which case that matches only a dot).
18245 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18246 # positional parameters, so assign one to ordinary parameter first.
18247 func_stripname_result
=${3}
18248 func_stripname_result
=${func_stripname_result#"${1}"}
18249 func_stripname_result
=${func_stripname_result%"${2}"}
18255 func_opt_split_opt
=${1%%=*}
18256 func_opt_split_arg
=${1#*=}
18263 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
18264 *) func_lo2o_result
=${1} ;;
18268 # func_xform libobj-or-source
18271 func_xform_result
=${1%.*}.lo
18274 # func_arith arithmetic-term...
18277 func_arith_result
=$
(( $
* ))
18281 # STRING may not start with a hyphen.
18284 func_len_result
=${#1}
18289 *) # Bourne compatible functions.
18290 cat << \_LT_EOF
>> "$cfgfile"
18292 # func_dirname file append nondir_replacement
18293 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18294 # otherwise set result to NONDIR_REPLACEMENT.
18297 # Extract subdirectory from the argument.
18298 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
18299 if test "X$func_dirname_result" = "X${1}"; then
18300 func_dirname_result
="${3}"
18302 func_dirname_result
="$func_dirname_result${2}"
18306 # func_basename file
18309 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
18313 # func_stripname prefix suffix name
18314 # strip PREFIX and SUFFIX off of NAME.
18315 # PREFIX and SUFFIX must not contain globbing or regex special
18316 # characters, hashes, percent signs, but SUFFIX may contain a leading
18317 # dot (in which case that matches only a dot).
18318 # func_strip_suffix prefix name
18322 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
18323 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
18328 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
18329 my_sed_long_arg
='1s/^-[^=]*=//'
18334 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
18335 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
18341 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
18344 # func_xform libobj-or-source
18347 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
18350 # func_arith arithmetic-term...
18353 func_arith_result
=`expr "$@"`
18357 # STRING may not start with a hyphen.
18360 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18366 case $lt_shell_append in
18368 cat << \_LT_EOF
>> "$cfgfile"
18370 # func_append var value
18371 # Append VALUE to the end of shell variable VAR.
18379 cat << \_LT_EOF
>> "$cfgfile"
18381 # func_append var value
18382 # Append VALUE to the end of shell variable VAR.
18393 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18394 ||
(rm -f "$cfgfile"; exit 1)
18396 mv -f "$cfgfile" "$ofile" ||
18397 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18401 cat <<_LT_EOF >> "$ofile"
18403 # ### BEGIN LIBTOOL TAG CONFIG: GO
18405 # The linker used to build libraries.
18408 # How to create reloadable object files.
18409 reload_flag=$lt_reload_flag_GO
18410 reload_cmds=$lt_reload_cmds_GO
18412 # Commands used to build an old-style archive.
18413 old_archive_cmds=$lt_old_archive_cmds_GO
18415 # A language specific compiler.
18418 # Is the compiler the GNU compiler?
18421 # Compiler flag to turn off builtin functions.
18422 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GO
18424 # How to pass a linker flag through the compiler.
18425 wl=$lt_lt_prog_compiler_wl_GO
18427 # Additional compiler flags for building library objects.
18428 pic_flag=$lt_lt_prog_compiler_pic_GO
18430 # Compiler flag to prevent dynamic linking.
18431 link_static_flag=$lt_lt_prog_compiler_static_GO
18433 # Does compiler simultaneously support -c and -o options?
18434 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GO
18436 # Whether or not to add -lc for building shared libraries.
18437 build_libtool_need_lc=$archive_cmds_need_lc_GO
18439 # Whether or not to disallow shared libs when runtime libs are static.
18440 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GO
18442 # Compiler flag to allow reflexive dlopens.
18443 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GO
18445 # Compiler flag to generate shared objects directly from archives.
18446 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GO
18448 # Whether the compiler copes with passing no objects directly.
18449 compiler_needs_object=$lt_compiler_needs_object_GO
18451 # Create an old-style archive from a shared archive.
18452 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GO
18454 # Create a temporary old-style archive to link instead of a shared archive.
18455 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GO
18457 # Commands used to build a shared archive.
18458 archive_cmds=$lt_archive_cmds_GO
18459 archive_expsym_cmds=$lt_archive_expsym_cmds_GO
18461 # Commands used to build a loadable module if different from building
18462 # a shared archive.
18463 module_cmds=$lt_module_cmds_GO
18464 module_expsym_cmds=$lt_module_expsym_cmds_GO
18466 # Whether we are building with GNU ld or not.
18467 with_gnu_ld=$lt_with_gnu_ld_GO
18469 # Flag that allows shared libraries with undefined symbols to be built.
18470 allow_undefined_flag=$lt_allow_undefined_flag_GO
18472 # Flag that enforces no undefined symbols.
18473 no_undefined_flag=$lt_no_undefined_flag_GO
18475 # Flag to hardcode \$libdir into a binary during linking.
18476 # This must work even if \$libdir does not exist
18477 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GO
18479 # If ld is used when linking, flag to hardcode \$libdir into a binary
18480 # during linking. This must work even if \$libdir does not exist.
18481 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GO
18483 # Whether we need a single "-rpath" flag with a separated argument.
18484 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GO
18486 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18487 # DIR into the resulting binary.
18488 hardcode_direct=$hardcode_direct_GO
18490 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18491 # DIR into the resulting binary and the resulting library dependency is
18492 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18493 # library is relocated.
18494 hardcode_direct_absolute=$hardcode_direct_absolute_GO
18496 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18497 # into the resulting binary.
18498 hardcode_minus_L=$hardcode_minus_L_GO
18500 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18501 # into the resulting binary.
18502 hardcode_shlibpath_var=$hardcode_shlibpath_var_GO
18504 # Set to "yes" if building a shared library automatically hardcodes DIR
18505 # into the library and all subsequent libraries and executables linked
18507 hardcode_automatic=$hardcode_automatic_GO
18509 # Set to yes if linker adds runtime paths of dependent libraries
18510 # to runtime path list.
18511 inherit_rpath=$inherit_rpath_GO
18513 # Whether libtool must link a program against all its dependency libraries.
18514 link_all_deplibs=$link_all_deplibs_GO
18516 # Fix the shell variable \$srcfile for the compiler.
18517 fix_srcfile_path=$lt_fix_srcfile_path_GO
18519 # Set to "yes" if exported symbols are required.
18520 always_export_symbols=$always_export_symbols_GO
18522 # The commands to list exported symbols.
18523 export_symbols_cmds=$lt_export_symbols_cmds_GO
18525 # Symbols that should not be listed in the preloaded symbols.
18526 exclude_expsyms=$lt_exclude_expsyms_GO
18528 # Symbols that must always be exported.
18529 include_expsyms=$lt_include_expsyms_GO
18531 # Commands necessary for linking programs (against libraries) with templates.
18532 prelink_cmds=$lt_prelink_cmds_GO
18534 # Specify filename containing input files.
18535 file_list_spec=$lt_file_list_spec_GO
18537 # How to hardcode a shared library path into an executable.
18538 hardcode_action=$hardcode_action_GO
18540 # ### END LIBTOOL TAG CONFIG: GO
18544 "default":C
) if test -n "$CONFIG_FILES"; then
18545 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
18546 # that multilib installs will end up installed in the correct place.
18547 # The testsuite needs it for multilib-aware ABI baseline files.
18548 # To work around this not being passed down from config-ml.in ->
18549 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
18550 # append it here. Only modify Makefiles that have just been created.
18552 # Also, get rid of this simulated-VPATH thing that automake does.
18553 cat > vpsed
<< \_EOF
18554 s
!`test -f '$<' || echo '$(srcdir)/'`!!
18556 for i
in $SUBDIRS; do
18557 case $CONFIG_FILES in
18559 #echo "Adding MULTISUBDIR to $i/Makefile"
18560 sed -f vpsed
$i/Makefile
> tmp
18561 grep '^MULTISUBDIR =' Makefile
>> tmp
18576 ac_clean_files
=$ac_clean_files_save
18578 test $ac_write_fail = 0 ||
18579 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18582 # configure is writing to config.log, and then calls config.status.
18583 # config.status does its own redirection, appending to config.log.
18584 # Unfortunately, on DOS this fails, as config.log is still kept open
18585 # by configure, so config.status won't be able to write to it; its
18586 # output is simply discarded. So we exec the FD to /dev/null,
18587 # effectively closing config.log, so it can be properly (re)opened and
18588 # appended to by config.status. When coming back to configure, we
18589 # need to make the FD available again.
18590 if test "$no_create" != yes; then
18592 ac_config_status_args
=
18593 test "$silent" = yes &&
18594 ac_config_status_args
="$ac_config_status_args --quiet"
18596 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18598 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18599 # would make configure fail if this is the last instruction.
18600 $ac_cs_success || as_fn_exit
1
18602 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18604 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}