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_STATIC_LINK_FALSE
637 HAVE_STATIC_LINK_TRUE
638 HAVE_STAT_TIMESPEC_FALSE
639 HAVE_STAT_TIMESPEC_TRUE
640 STRUCT_EPOLL_EVENT_FD_OFFSET
641 SIZEOF_STRUCT_EPOLL_EVENT
646 HAVE_STRERROR_R_FALSE
648 HAVE_SYS_MMAN_H_FALSE
657 USING_SPLIT_STACK_FALSE
658 USING_SPLIT_STACK_TRUE
662 GO_SYSCALL_OS_ARCH_FILE
664 GO_LIBCALL_OS_ARCH_FILE
681 LIBGO_IS_SOLARIS_FALSE
682 LIBGO_IS_SOLARIS_TRUE
685 LIBGO_IS_DRAGONFLY_FALSE
686 LIBGO_IS_DRAGONFLY_TRUE
687 LIBGO_IS_OPENBSD_FALSE
688 LIBGO_IS_OPENBSD_TRUE
689 LIBGO_IS_NETBSD_FALSE
695 LIBGO_IS_FREEBSD_FALSE
696 LIBGO_IS_FREEBSD_TRUE
697 LIBGO_IS_DARWIN_FALSE
705 nover_glibgo_toolexeclibdir
706 glibgo_toolexeclibdir
734 MAINTAINER_MODE_FALSE
737 am__fastdepCCAS_FALSE
773 INSTALL_STRIP_PROGRAM
829 program_transform_name
842 enable_option_checking
845 enable_dependency_tracking
846 enable_maintainer_mode
854 enable_version_specific_runtime_libs
858 with_system_libunwind
860 ac_precious_vars
='build_alias
867 # Initialize some variables set by options.
869 ac_init_version
=false
870 ac_unrecognized_opts
=
872 # The variables have the same names as the options, with
873 # dashes changed to underlines.
881 program_transform_name
=s
,x
,x
,
889 # Installation directory options.
890 # These are left unexpanded so users can "make install exec_prefix=/foo"
891 # and all the variables that are supposed to be based on exec_prefix
892 # by default will actually change.
893 # Use braces instead of parens because sh, perl, etc. also accept them.
894 # (The list follows the same order as the GNU Coding Standards.)
895 bindir
='${exec_prefix}/bin'
896 sbindir
='${exec_prefix}/sbin'
897 libexecdir
='${exec_prefix}/libexec'
898 datarootdir
='${prefix}/share'
899 datadir
='${datarootdir}'
900 sysconfdir
='${prefix}/etc'
901 sharedstatedir
='${prefix}/com'
902 localstatedir
='${prefix}/var'
903 includedir
='${prefix}/include'
904 oldincludedir
='/usr/include'
905 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
906 infodir
='${datarootdir}/info'
911 libdir
='${exec_prefix}/lib'
912 localedir
='${datarootdir}/locale'
913 mandir
='${datarootdir}/man'
919 # If the previous option needs an argument, assign it.
920 if test -n "$ac_prev"; then
921 eval $ac_prev=\
$ac_option
927 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
932 # Accept the important Cygnus configure options, so we can diagnose typos.
934 case $ac_dashdash$ac_option in
938 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
940 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
943 -build |
--build |
--buil |
--bui |
--bu)
944 ac_prev
=build_alias
;;
945 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
946 build_alias
=$ac_optarg ;;
948 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
949 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
950 ac_prev
=cache_file
;;
951 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
952 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
953 cache_file
=$ac_optarg ;;
956 cache_file
=config.cache
;;
958 -datadir |
--datadir |
--datadi |
--datad)
960 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
961 datadir
=$ac_optarg ;;
963 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
964 |
--dataroo |
--dataro |
--datar)
965 ac_prev
=datarootdir
;;
966 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
967 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
968 datarootdir
=$ac_optarg ;;
970 -disable-* |
--disable-*)
971 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
972 # Reject names that are not valid shell variable names.
973 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
974 as_fn_error $?
"invalid feature name: $ac_useropt"
975 ac_useropt_orig
=$ac_useropt
976 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
977 case $ac_user_opts in
981 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
982 ac_unrecognized_sep
=', ';;
984 eval enable_
$ac_useropt=no
;;
986 -docdir |
--docdir |
--docdi |
--doc |
--do)
988 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
991 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
993 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
996 -enable-* |
--enable-*)
997 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
998 # Reject names that are not valid shell variable names.
999 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1000 as_fn_error $?
"invalid feature name: $ac_useropt"
1001 ac_useropt_orig
=$ac_useropt
1002 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1003 case $ac_user_opts in
1005 "enable_
$ac_useropt"
1007 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1008 ac_unrecognized_sep
=', ';;
1010 eval enable_
$ac_useropt=\
$ac_optarg ;;
1012 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1013 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1014 |
--exec |
--exe |
--ex)
1015 ac_prev
=exec_prefix
;;
1016 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1017 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1018 |
--exec=* |
--exe=* |
--ex=*)
1019 exec_prefix
=$ac_optarg ;;
1021 -gas |
--gas |
--ga |
--g)
1022 # Obsolete; use --with-gas.
1025 -help |
--help |
--hel |
--he |
-h)
1026 ac_init_help
=long
;;
1027 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1028 ac_init_help
=recursive
;;
1029 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1030 ac_init_help
=short
;;
1032 -host |
--host |
--hos |
--ho)
1033 ac_prev
=host_alias
;;
1034 -host=* |
--host=* |
--hos=* |
--ho=*)
1035 host_alias
=$ac_optarg ;;
1037 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1039 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1041 htmldir
=$ac_optarg ;;
1043 -includedir |
--includedir |
--includedi |
--included |
--include \
1044 |
--includ |
--inclu |
--incl |
--inc)
1045 ac_prev
=includedir
;;
1046 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1047 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1048 includedir
=$ac_optarg ;;
1050 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1052 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1053 infodir
=$ac_optarg ;;
1055 -libdir |
--libdir |
--libdi |
--libd)
1057 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1058 libdir
=$ac_optarg ;;
1060 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1061 |
--libexe |
--libex |
--libe)
1062 ac_prev
=libexecdir
;;
1063 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1064 |
--libexe=* |
--libex=* |
--libe=*)
1065 libexecdir
=$ac_optarg ;;
1067 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1068 ac_prev
=localedir
;;
1069 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1070 localedir
=$ac_optarg ;;
1072 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1073 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1074 ac_prev
=localstatedir
;;
1075 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1076 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1077 localstatedir
=$ac_optarg ;;
1079 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1081 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1082 mandir
=$ac_optarg ;;
1084 -nfp |
--nfp |
--nf)
1085 # Obsolete; use --without-fp.
1088 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1089 |
--no-cr |
--no-c |
-n)
1092 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1093 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1096 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1097 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1098 |
--oldin |
--oldi |
--old |
--ol |
--o)
1099 ac_prev
=oldincludedir
;;
1100 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1101 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1102 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1103 oldincludedir
=$ac_optarg ;;
1105 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1107 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1108 prefix
=$ac_optarg ;;
1110 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1111 |
--program-pre |
--program-pr |
--program-p)
1112 ac_prev
=program_prefix
;;
1113 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1114 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1115 program_prefix
=$ac_optarg ;;
1117 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1118 |
--program-suf |
--program-su |
--program-s)
1119 ac_prev
=program_suffix
;;
1120 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1121 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1122 program_suffix
=$ac_optarg ;;
1124 -program-transform-name |
--program-transform-name \
1125 |
--program-transform-nam |
--program-transform-na \
1126 |
--program-transform-n |
--program-transform- \
1127 |
--program-transform |
--program-transfor \
1128 |
--program-transfo |
--program-transf \
1129 |
--program-trans |
--program-tran \
1130 |
--progr-tra |
--program-tr |
--program-t)
1131 ac_prev
=program_transform_name
;;
1132 -program-transform-name=* |
--program-transform-name=* \
1133 |
--program-transform-nam=* |
--program-transform-na=* \
1134 |
--program-transform-n=* |
--program-transform-=* \
1135 |
--program-transform=* |
--program-transfor=* \
1136 |
--program-transfo=* |
--program-transf=* \
1137 |
--program-trans=* |
--program-tran=* \
1138 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1139 program_transform_name
=$ac_optarg ;;
1141 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1143 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1144 pdfdir
=$ac_optarg ;;
1146 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1148 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1151 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1152 |
-silent |
--silent |
--silen |
--sile |
--sil)
1155 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1157 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1159 sbindir
=$ac_optarg ;;
1161 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1162 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1163 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1165 ac_prev
=sharedstatedir
;;
1166 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1167 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1168 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1170 sharedstatedir
=$ac_optarg ;;
1172 -site |
--site |
--sit)
1174 -site=* |
--site=* |
--sit=*)
1177 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1179 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1180 srcdir
=$ac_optarg ;;
1182 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1183 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1184 ac_prev
=sysconfdir
;;
1185 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1186 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1187 sysconfdir
=$ac_optarg ;;
1189 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1190 ac_prev
=target_alias
;;
1191 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1192 target_alias
=$ac_optarg ;;
1194 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1197 -version |
--version |
--versio |
--versi |
--vers |
-V)
1198 ac_init_version
=: ;;
1201 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1202 # Reject names that are not valid shell variable names.
1203 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1204 as_fn_error $?
"invalid package name: $ac_useropt"
1205 ac_useropt_orig
=$ac_useropt
1206 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1207 case $ac_user_opts in
1211 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1212 ac_unrecognized_sep
=', ';;
1214 eval with_
$ac_useropt=\
$ac_optarg ;;
1216 -without-* |
--without-*)
1217 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1218 # Reject names that are not valid shell variable names.
1219 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1220 as_fn_error $?
"invalid package name: $ac_useropt"
1221 ac_useropt_orig
=$ac_useropt
1222 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1223 case $ac_user_opts in
1227 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1228 ac_unrecognized_sep
=', ';;
1230 eval with_
$ac_useropt=no
;;
1233 # Obsolete; use --with-x.
1236 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1237 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1238 ac_prev
=x_includes
;;
1239 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1240 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1241 x_includes
=$ac_optarg ;;
1243 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1244 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1245 ac_prev
=x_libraries
;;
1246 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1247 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1248 x_libraries
=$ac_optarg ;;
1250 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1251 Try \`$0 --help' for more information"
1255 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1256 # Reject names that are not valid shell variable names.
1257 case $ac_envvar in #(
1258 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1259 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1261 eval $ac_envvar=\
$ac_optarg
1262 export $ac_envvar ;;
1265 # FIXME: should be removed in autoconf 3.0.
1266 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1267 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1268 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1269 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1275 if test -n "$ac_prev"; then
1276 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1277 as_fn_error $?
"missing argument to $ac_option"
1280 if test -n "$ac_unrecognized_opts"; then
1281 case $enable_option_checking in
1283 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1284 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1288 # Check all directory arguments for consistency.
1289 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1290 datadir sysconfdir sharedstatedir localstatedir includedir \
1291 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1292 libdir localedir mandir
1294 eval ac_val
=\$
$ac_var
1295 # Remove trailing slashes.
1298 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1299 eval $ac_var=\
$ac_val;;
1301 # Be sure to have absolute directory names.
1303 [\\/$
]* | ?
:[\\/]* ) continue;;
1304 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1306 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1309 # There might be people who depend on the old broken behavior: `$host'
1310 # used to hold the argument of --host etc.
1311 # FIXME: To remove some day.
1314 target
=$target_alias
1316 # FIXME: To remove some day.
1317 if test "x$host_alias" != x
; then
1318 if test "x$build_alias" = x
; then
1319 cross_compiling
=maybe
1320 elif test "x$build_alias" != "x$host_alias"; then
1326 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1328 test "$silent" = yes && exec 6>/dev
/null
1331 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1332 ac_ls_di
=`ls -di .` &&
1333 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1334 as_fn_error $?
"working directory cannot be determined"
1335 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1336 as_fn_error $?
"pwd does not report name of working directory"
1339 # Find the source files, if location was not specified.
1340 if test -z "$srcdir"; then
1341 ac_srcdir_defaulted
=yes
1342 # Try the directory containing this script, then the parent directory.
1343 ac_confdir
=`$as_dirname -- "$as_myself" ||
1344 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1345 X"$as_myself" : 'X\(//\)[^/]' \| \
1346 X"$as_myself" : 'X\(//\)$' \| \
1347 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1348 $as_echo X"$as_myself" |
1349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1367 if test ! -r "$srcdir/$ac_unique_file"; then
1371 ac_srcdir_defaulted
=no
1373 if test ! -r "$srcdir/$ac_unique_file"; then
1374 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1375 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1377 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1379 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1381 # When building in place, set srcdir=.
1382 if test "$ac_abs_confdir" = "$ac_pwd"; then
1385 # Remove unnecessary trailing slashes from srcdir.
1386 # Double slashes in file names in object file debugging info
1387 # mess up M-x gdb in Emacs.
1389 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1391 for ac_var
in $ac_precious_vars; do
1392 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1393 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1394 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1395 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1399 # Report the --help message.
1401 if test "$ac_init_help" = "long"; then
1402 # Omit some internal or obsolete options to make the list less imposing.
1403 # This message is too long to be a string in the A/UX 3.1 sh.
1405 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1407 Usage: $0 [OPTION]... [VAR=VALUE]...
1409 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1410 VAR=VALUE. See below for descriptions of some of the useful variables.
1412 Defaults for the options are specified in brackets.
1415 -h, --help display this help and exit
1416 --help=short display options specific to this package
1417 --help=recursive display the short help of all the included packages
1418 -V, --version display version information and exit
1419 -q, --quiet, --silent do not print \`checking ...' messages
1420 --cache-file=FILE cache test results in FILE [disabled]
1421 -C, --config-cache alias for \`--cache-file=config.cache'
1422 -n, --no-create do not create output files
1423 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1425 Installation directories:
1426 --prefix=PREFIX install architecture-independent files in PREFIX
1427 [$ac_default_prefix]
1428 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1431 By default, \`make install' will install all the files in
1432 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1433 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1434 for instance \`--prefix=\$HOME'.
1436 For better control, use the options below.
1438 Fine tuning of the installation directories:
1439 --bindir=DIR user executables [EPREFIX/bin]
1440 --sbindir=DIR system admin executables [EPREFIX/sbin]
1441 --libexecdir=DIR program executables [EPREFIX/libexec]
1442 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1443 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1444 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1445 --libdir=DIR object code libraries [EPREFIX/lib]
1446 --includedir=DIR C header files [PREFIX/include]
1447 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1448 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1449 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1450 --infodir=DIR info documentation [DATAROOTDIR/info]
1451 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1452 --mandir=DIR man documentation [DATAROOTDIR/man]
1453 --docdir=DIR documentation root [DATAROOTDIR/doc/libgo]
1454 --htmldir=DIR html documentation [DOCDIR]
1455 --dvidir=DIR dvi documentation [DOCDIR]
1456 --pdfdir=DIR pdf documentation [DOCDIR]
1457 --psdir=DIR ps documentation [DOCDIR]
1463 --program-prefix=PREFIX prepend PREFIX to installed program names
1464 --program-suffix=SUFFIX append SUFFIX to installed program names
1465 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1468 --build=BUILD configure
for building on BUILD
[guessed
]
1469 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1470 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1474 if test -n "$ac_init_help"; then
1475 case $ac_init_help in
1476 short | recursive
) echo "Configuration of package-unused version-unused:";;
1481 --disable-option-checking ignore unrecognized
--enable/--with options
1482 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1483 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1484 --enable-multilib build many library versions
(default
)
1485 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1486 --disable-silent-rules verbose build output
(undo
: "make V=0")
1487 --enable-dependency-tracking
1488 do not reject slow dependency extractors
1489 --disable-dependency-tracking
1490 speeds up one-time build
1491 --enable-maintainer-mode
1492 enable make rules and dependencies not useful
(and
1493 sometimes confusing
) to the casual installer
1494 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1495 --enable-static[=PKGS
] build static libraries
[default
=yes]
1496 --enable-fast-install[=PKGS
]
1497 optimize
for fast installation
[default
=yes]
1498 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1499 --disable-werror disable building with
-Werror
1500 --enable-version-specific-runtime-libs
1501 Specify that runtime libraries should be installed
1502 in a compiler-specific directory
1505 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1506 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1507 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1508 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1510 --with-toolexeclibdir=DIR
1511 install libraries built with a cross compiler within
1513 --without-libffi don
't use libffi
1514 --without-libatomic don't use libatomic
1515 --with-system-libunwind use installed libunwind
1517 Some influential environment variables
:
1518 CC C compiler
command
1519 CFLAGS C compiler flags
1520 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1521 nonstandard directory
<lib dir
>
1522 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1523 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1524 you have headers
in a nonstandard directory
<include dir
>
1525 GOC Go compiler
command
1526 GOFLAGS Go compiler flags
1527 CCAS assembler compiler
command (defaults to CC
)
1528 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1531 Use these variables to override the choices made by
`configure' or to help
1532 it to find libraries and programs with nonstandard names/locations.
1534 Report bugs to the package provider.
1539 if test "$ac_init_help" = "recursive"; then
1540 # If there are subdirs, report their specific --help.
1541 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1542 test -d "$ac_dir" ||
1543 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1548 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1550 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1551 # A ".." for each directory in $ac_dir_suffix.
1552 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1553 case $ac_top_builddir_sub in
1554 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1555 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1558 ac_abs_top_builddir=$ac_pwd
1559 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1560 # for backward compatibility:
1561 ac_top_builddir=$ac_top_build_prefix
1564 .) # We are building in place.
1566 ac_top_srcdir=$ac_top_builddir_sub
1567 ac_abs_top_srcdir=$ac_pwd ;;
1568 [\\/]* | ?:[\\/]* ) # Absolute name.
1569 ac_srcdir=$srcdir$ac_dir_suffix;
1570 ac_top_srcdir=$srcdir
1571 ac_abs_top_srcdir=$srcdir ;;
1573 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1574 ac_top_srcdir=$ac_top_build_prefix$srcdir
1575 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1577 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1579 cd "$ac_dir" || { ac_status=$?; continue; }
1580 # Check for guested configure.
1581 if test -f "$ac_srcdir/configure.gnu"; then
1583 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1584 elif test -f "$ac_srcdir/configure"; then
1586 $SHELL "$ac_srcdir/configure" --help=recursive
1588 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1590 cd "$ac_pwd" || { ac_status=$?; break; }
1594 test -n "$ac_init_help" && exit $ac_status
1595 if $ac_init_version; then
1597 package-unused configure version-unused
1598 generated by GNU Autoconf 2.69
1600 Copyright (C) 2012 Free Software Foundation, Inc.
1601 This configure script is free software; the Free Software Foundation
1602 gives unlimited permission to copy, distribute and modify it.
1607 ## ------------------------ ##
1608 ## Autoconf initialization. ##
1609 ## ------------------------ ##
1611 # ac_fn_c_try_compile LINENO
1612 # --------------------------
1613 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1614 ac_fn_c_try_compile ()
1616 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1617 rm -f conftest.$ac_objext
1618 if { { ac_try="$ac_compile"
1620 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1621 *) ac_try_echo
=$ac_try;;
1623 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1624 $as_echo "$ac_try_echo"; } >&5
1625 (eval "$ac_compile") 2>conftest.err
1627 if test -s conftest.err
; then
1628 grep -v '^ *+' conftest.err
>conftest.er1
1629 cat conftest.er1
>&5
1630 mv -f conftest.er1 conftest.err
1632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1633 test $ac_status = 0; } && {
1634 test -z "$ac_c_werror_flag" ||
1635 test ! -s conftest.err
1636 } && test -s conftest.
$ac_objext; then :
1639 $as_echo "$as_me: failed program was:" >&5
1640 sed 's/^/| /' conftest.
$ac_ext >&5
1644 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1645 as_fn_set_status
$ac_retval
1647 } # ac_fn_c_try_compile
1649 # ac_fn_c_try_link LINENO
1650 # -----------------------
1651 # Try to link conftest.$ac_ext, and return whether this succeeded.
1654 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1655 rm -f conftest.
$ac_objext conftest
$ac_exeext
1656 if { { ac_try
="$ac_link"
1658 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1659 *) ac_try_echo=$ac_try;;
1661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1662 $as_echo "$ac_try_echo"; } >&5
1663 (eval "$ac_link") 2>conftest.err
1665 if test -s conftest.err; then
1666 grep -v '^ *+' conftest.err >conftest.er1
1667 cat conftest.er1 >&5
1668 mv -f conftest.er1 conftest.err
1670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1671 test $ac_status = 0; } && {
1672 test -z "$ac_c_werror_flag" ||
1673 test ! -s conftest.err
1674 } && test -s conftest$ac_exeext && {
1675 test "$cross_compiling" = yes ||
1676 test -x conftest$ac_exeext
1680 $as_echo "$as_me: failed program was:" >&5
1681 sed 's/^/| /' conftest.$ac_ext >&5
1685 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1686 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1687 # interfere with the next link command; also delete a directory that is
1688 # left behind by Apple's compiler. We do this before executing the actions.
1689 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1690 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1691 as_fn_set_status $ac_retval
1693 } # ac_fn_c_try_link
1695 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1696 # -------------------------------------------------------
1697 # Tests whether HEADER exists and can be compiled using the include files in
1698 # INCLUDES, setting the cache variable VAR accordingly.
1699 ac_fn_c_check_header_compile ()
1701 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1703 $as_echo_n "checking for $2... " >&6; }
1704 if eval \${$3+:} false; then :
1705 $as_echo_n "(cached) " >&6
1707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1708 /* end confdefs.h. */
1712 if ac_fn_c_try_compile "$LINENO"; then :
1717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1721 $as_echo "$ac_res" >&6; }
1722 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1724 } # ac_fn_c_check_header_compile
1726 # ac_fn_c_try_cpp LINENO
1727 # ----------------------
1728 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1731 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732 if { { ac_try="$ac_cpp conftest.$ac_ext"
1734 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1735 *) ac_try_echo
=$ac_try;;
1737 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1738 $as_echo "$ac_try_echo"; } >&5
1739 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1741 if test -s conftest.err
; then
1742 grep -v '^ *+' conftest.err
>conftest.er1
1743 cat conftest.er1
>&5
1744 mv -f conftest.er1 conftest.err
1746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1747 test $ac_status = 0; } > conftest.i
&& {
1748 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1749 test ! -s conftest.err
1753 $as_echo "$as_me: failed program was:" >&5
1754 sed 's/^/| /' conftest.
$ac_ext >&5
1758 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1759 as_fn_set_status
$ac_retval
1763 # ac_fn_c_try_run LINENO
1764 # ----------------------
1765 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1766 # that executables *can* be run.
1769 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1770 if { { ac_try
="$ac_link"
1772 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1773 *) ac_try_echo=$ac_try;;
1775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1776 $as_echo "$ac_try_echo"; } >&5
1777 (eval "$ac_link") 2>&5
1779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1780 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1781 { { case "(($ac_try" in
1782 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1783 *) ac_try_echo
=$ac_try;;
1785 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1786 $as_echo "$ac_try_echo"; } >&5
1787 (eval "$ac_try") 2>&5
1789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1790 test $ac_status = 0; }; }; then :
1793 $as_echo "$as_me: program exited with status $ac_status" >&5
1794 $as_echo "$as_me: failed program was:" >&5
1795 sed 's/^/| /' conftest.
$ac_ext >&5
1797 ac_retval
=$ac_status
1799 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1800 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1801 as_fn_set_status
$ac_retval
1805 # ac_fn_c_check_func LINENO FUNC VAR
1806 # ----------------------------------
1807 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1808 ac_fn_c_check_func
()
1810 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1812 $as_echo_n "checking for $2... " >&6; }
1813 if eval \
${$3+:} false
; then :
1814 $as_echo_n "(cached) " >&6
1816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1817 /* end confdefs.h. */
1818 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1820 #define $2 innocuous_$2
1822 /* System header to define __stub macros and hopefully few prototypes,
1823 which can conflict with char $2 (); below.
1824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1825 <limits.h> exists even on freestanding compilers. */
1828 # include <limits.h>
1830 # include <assert.h>
1835 /* Override any GCC internal prototype to avoid an error.
1836 Use char because int might match the return type of a GCC
1837 builtin and then its argument prototype would still apply. */
1842 /* The GNU C library defines this for functions which it implements
1843 to always fail with ENOSYS. Some functions are actually named
1844 something starting with __ and the normal name is an alias. */
1845 #if defined __stub_$2 || defined __stub___$2
1857 if ac_fn_c_try_link
"$LINENO"; then :
1862 rm -f core conftest.err conftest.
$ac_objext \
1863 conftest
$ac_exeext conftest.
$ac_ext
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1867 $as_echo "$ac_res" >&6; }
1868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1870 } # ac_fn_c_check_func
1872 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1873 # -------------------------------------------------------
1874 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1875 # the include files in INCLUDES and setting the cache variable VAR
1877 ac_fn_c_check_header_mongrel
()
1879 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1880 if eval \
${$3+:} false
; then :
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1882 $as_echo_n "checking for $2... " >&6; }
1883 if eval \
${$3+:} false
; then :
1884 $as_echo_n "(cached) " >&6
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1888 $as_echo "$ac_res" >&6; }
1890 # Is the header compilable?
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1892 $as_echo_n "checking $2 usability... " >&6; }
1893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1894 /* end confdefs.h. */
1898 if ac_fn_c_try_compile
"$LINENO"; then :
1899 ac_header_compiler
=yes
1901 ac_header_compiler
=no
1903 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1905 $as_echo "$ac_header_compiler" >&6; }
1907 # Is the header present?
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1909 $as_echo_n "checking $2 presence... " >&6; }
1910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1911 /* end confdefs.h. */
1914 if ac_fn_c_try_cpp
"$LINENO"; then :
1915 ac_header_preproc
=yes
1917 ac_header_preproc
=no
1919 rm -f conftest.err conftest.i conftest.
$ac_ext
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1921 $as_echo "$ac_header_preproc" >&6; }
1923 # So? What about this header?
1924 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1927 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1929 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1933 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1935 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1937 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1939 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1941 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1945 $as_echo_n "checking for $2... " >&6; }
1946 if eval \
${$3+:} false
; then :
1947 $as_echo_n "(cached) " >&6
1949 eval "$3=\$ac_header_compiler"
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1953 $as_echo "$ac_res" >&6; }
1955 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1957 } # ac_fn_c_check_header_mongrel
1959 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1960 # ----------------------------------------------------
1961 # Tries to find if the field MEMBER exists in type AGGR, after including
1962 # INCLUDES, setting cache variable VAR accordingly.
1963 ac_fn_c_check_member
()
1965 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1967 $as_echo_n "checking for $2.$3... " >&6; }
1968 if eval \
${$4+:} false
; then :
1969 $as_echo_n "(cached) " >&6
1971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1972 /* end confdefs.h. */
1984 if ac_fn_c_try_compile
"$LINENO"; then :
1987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1988 /* end confdefs.h. */
1994 if (sizeof ac_aggr.$3)
2000 if ac_fn_c_try_compile
"$LINENO"; then :
2005 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2007 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2011 $as_echo "$ac_res" >&6; }
2012 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2014 } # ac_fn_c_check_member
2016 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2017 # -------------------------------------------
2018 # Tests whether TYPE exists after having included INCLUDES, setting cache
2019 # variable VAR accordingly.
2020 ac_fn_c_check_type
()
2022 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2024 $as_echo_n "checking for $2... " >&6; }
2025 if eval \
${$3+:} false
; then :
2026 $as_echo_n "(cached) " >&6
2029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2030 /* end confdefs.h. */
2041 if ac_fn_c_try_compile
"$LINENO"; then :
2042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2043 /* end confdefs.h. */
2054 if ac_fn_c_try_compile
"$LINENO"; then :
2059 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2061 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2065 $as_echo "$ac_res" >&6; }
2066 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2068 } # ac_fn_c_check_type
2070 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2071 # --------------------------------------------
2072 # Tries to find the compile-time value of EXPR in a program that includes
2073 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2075 ac_fn_c_compute_int
()
2077 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2078 if test "$cross_compiling" = yes; then
2079 # Depending upon the size, compute the lo and hi bounds.
2080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2081 /* end confdefs.h. */
2086 static int test_array [1 - 2 * !(($2) >= 0)];
2088 return test_array [0];
2094 if ac_fn_c_try_compile
"$LINENO"; then :
2097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2098 /* end confdefs.h. */
2103 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2105 return test_array [0];
2111 if ac_fn_c_try_compile
"$LINENO"; then :
2112 ac_hi
=$ac_mid; break
2114 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2115 if test $ac_lo -le $ac_mid; then
2119 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2121 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2125 /* end confdefs.h. */
2130 static int test_array [1 - 2 * !(($2) < 0)];
2132 return test_array [0];
2138 if ac_fn_c_try_compile
"$LINENO"; then :
2141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2142 /* end confdefs.h. */
2147 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2149 return test_array [0];
2155 if ac_fn_c_try_compile
"$LINENO"; then :
2156 ac_lo
=$ac_mid; break
2158 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2159 if test $ac_mid -le $ac_hi; then
2163 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2165 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2170 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2172 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2173 # Binary search between lo and hi bounds.
2174 while test "x$ac_lo" != "x$ac_hi"; do
2175 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2177 /* end confdefs.h. */
2182 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2184 return test_array [0];
2190 if ac_fn_c_try_compile
"$LINENO"; then :
2193 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2195 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2198 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2203 /* end confdefs.h. */
2205 static long int longval () { return $2; }
2206 static unsigned long int ulongval () { return $2; }
2213 FILE *f = fopen ("conftest.val", "w");
2218 long int i = longval ();
2221 fprintf (f, "%ld", i);
2225 unsigned long int i = ulongval ();
2228 fprintf (f, "%lu", i);
2230 /* Do not output a trailing newline, as this causes \r\n confusion
2231 on some platforms. */
2232 return ferror (f) || fclose (f) != 0;
2238 if ac_fn_c_try_run
"$LINENO"; then :
2239 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2243 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2244 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2248 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2249 as_fn_set_status
$ac_retval
2251 } # ac_fn_c_compute_int
2252 cat >config.log
<<_ACEOF
2253 This file contains any messages produced by compilers while
2254 running configure, to aid debugging if configure makes a mistake.
2256 It was created by package-unused $as_me version-unused, which was
2257 generated by GNU Autoconf 2.69. Invocation command line was
2269 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2270 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2271 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2272 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2273 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2275 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2276 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2278 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2279 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2280 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2281 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2282 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2283 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2284 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2292 test -z "$as_dir" && as_dir
=.
2293 $as_echo "PATH: $as_dir"
2309 # Keep a trace of the command line.
2310 # Strip out --no-create and --no-recursion so they do not pile up.
2311 # Strip out --silent because we don't want to record it for future runs.
2312 # Also quote any args containing shell meta-characters.
2313 # Make two passes to allow for proper duplicate-argument suppression.
2317 ac_must_keep_next
=false
2323 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2324 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2325 |
-silent |
--silent |
--silen |
--sile |
--sil)
2328 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2331 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2333 as_fn_append ac_configure_args1
" '$ac_arg'"
2334 if test $ac_must_keep_next = true
; then
2335 ac_must_keep_next
=false
# Got value, back to normal.
2338 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2339 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2340 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2341 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2342 case "$ac_configure_args0 " in
2343 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2346 -* ) ac_must_keep_next
=true
;;
2349 as_fn_append ac_configure_args
" '$ac_arg'"
2354 { ac_configure_args0
=; unset ac_configure_args0
;}
2355 { ac_configure_args1
=; unset ac_configure_args1
;}
2357 # When interrupted or exit'd, cleanup temporary files, and complete
2358 # config.log. We remove comments because anyway the quotes in there
2359 # would cause problems or look ugly.
2360 # WARNING: Use '\'' to represent an apostrophe within the trap.
2361 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2362 trap 'exit_status=$?
2363 # Save into config.log some information that might help in debugging.
2367 $as_echo "## ---------------- ##
2368 ## Cache variables. ##
2369 ## ---------------- ##"
2371 # The following way of writing the cache mishandles newlines in values,
2373 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2374 eval ac_val=\$$ac_var
2378 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2379 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2382 _ | IFS | as_nl) ;; #(
2383 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2384 *) { eval $ac_var=; unset $ac_var;} ;;
2389 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2390 *${as_nl}ac_space=\ *)
2392 "s/'\''/'\''\\\\'\'''\''/g;
2393 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2396 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2403 $as_echo "## ----------------- ##
2404 ## Output variables. ##
2405 ## ----------------- ##"
2407 for ac_var in $ac_subst_vars
2409 eval ac_val=\$$ac_var
2411 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2413 $as_echo "$ac_var='\''$ac_val'\''"
2417 if test -n "$ac_subst_files"; then
2418 $as_echo "## ------------------- ##
2419 ## File substitutions. ##
2420 ## ------------------- ##"
2422 for ac_var
in $ac_subst_files
2424 eval ac_val
=\$
$ac_var
2426 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2428 $as_echo "$ac_var='\''$ac_val'\''"
2433 if test -s confdefs.h; then
2434 $as_echo "## ----------- ##
2441 test "$ac_signal" != 0 &&
2442 $as_echo "$as_me: caught signal $ac_signal"
2443 $as_echo "$as_me: exit $exit_status"
2445 rm -f core *.core core.conftest.* &&
2446 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2449 for ac_signal
in 1 2 13 15; do
2450 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2454 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2455 rm -f -r conftest
* confdefs.h
2457 $as_echo "/* confdefs.h */" > confdefs.h
2459 # Predefined preprocessor variables.
2461 cat >>confdefs.h
<<_ACEOF
2462 #define PACKAGE_NAME "$PACKAGE_NAME"
2465 cat >>confdefs.h
<<_ACEOF
2466 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2469 cat >>confdefs.h
<<_ACEOF
2470 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2473 cat >>confdefs.h
<<_ACEOF
2474 #define PACKAGE_STRING "$PACKAGE_STRING"
2477 cat >>confdefs.h
<<_ACEOF
2478 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2481 cat >>confdefs.h
<<_ACEOF
2482 #define PACKAGE_URL "$PACKAGE_URL"
2486 # Let the site file select an alternate cache file if it wants to.
2487 # Prefer an explicitly selected file to automatically selected ones.
2490 if test -n "$CONFIG_SITE"; then
2491 # We do not want a PATH search for config.site.
2492 case $CONFIG_SITE in #((
2493 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2494 */*) ac_site_file1
=$CONFIG_SITE;;
2495 *) ac_site_file1
=.
/$CONFIG_SITE;;
2497 elif test "x$prefix" != xNONE
; then
2498 ac_site_file1
=$prefix/share
/config.site
2499 ac_site_file2
=$prefix/etc
/config.site
2501 ac_site_file1
=$ac_default_prefix/share
/config.site
2502 ac_site_file2
=$ac_default_prefix/etc
/config.site
2504 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2506 test "x$ac_site_file" = xNONE
&& continue
2507 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2509 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2510 sed 's/^/| /' "$ac_site_file" >&5
2512 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2513 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2514 as_fn_error $?
"failed to load site script $ac_site_file
2515 See \`config.log' for more details" "$LINENO" 5; }
2519 if test -r "$cache_file"; then
2520 # Some versions of bash will fail to source /dev/null (special files
2521 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2522 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2524 $as_echo "$as_me: loading cache $cache_file" >&6;}
2526 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2527 *) .
"./$cache_file";;
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2532 $as_echo "$as_me: creating cache $cache_file" >&6;}
2536 # Check that the precious variables saved in the cache have kept the same
2538 ac_cache_corrupted
=false
2539 for ac_var
in $ac_precious_vars; do
2540 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2541 eval ac_new_set
=\
$ac_env_${ac_var}_set
2542 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2543 eval ac_new_val
=\
$ac_env_${ac_var}_value
2544 case $ac_old_set,$ac_new_set in
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2547 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2548 ac_cache_corrupted
=: ;;
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2551 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2552 ac_cache_corrupted
=: ;;
2555 if test "x$ac_old_val" != "x$ac_new_val"; then
2556 # differences in whitespace do not lead to failure.
2557 ac_old_val_w
=`echo x $ac_old_val`
2558 ac_new_val_w
=`echo x $ac_new_val`
2559 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2561 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2562 ac_cache_corrupted
=:
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2565 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2566 eval $ac_var=\
$ac_old_val
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2569 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2571 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2574 # Pass precious variables to config.status.
2575 if test "$ac_new_set" = set; then
2577 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2578 *) ac_arg
=$ac_var=$ac_new_val ;;
2580 case " $ac_configure_args " in
2581 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2582 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2586 if $ac_cache_corrupted; then
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2588 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2590 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2591 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2593 ## -------------------- ##
2594 ## Main body of script. ##
2595 ## -------------------- ##
2598 ac_cpp
='$CPP $CPPFLAGS'
2599 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2600 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2601 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2608 ac_config_headers
="$ac_config_headers config.h"
2611 libtool_VERSION
=22:0:0
2614 # Default to --enable-multilib
2615 # Check whether --enable-multilib was given.
2616 if test "${enable_multilib+set}" = set; then :
2617 enableval
=$enable_multilib; case "$enableval" in
2618 yes) multilib
=yes ;;
2620 *) as_fn_error $?
"bad value $enableval for multilib option" "$LINENO" 5 ;;
2627 # We may get other options which we leave undocumented:
2628 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2629 # See config-ml.in if you want the gory details.
2631 if test "$srcdir" = "."; then
2632 if test "$with_target_subdir" != "."; then
2633 multi_basedir
="$srcdir/$with_multisrctop../.."
2635 multi_basedir
="$srcdir/$with_multisrctop.."
2638 multi_basedir
="$srcdir/.."
2642 # Even if the default multilib is not a cross compilation,
2643 # it may be that some of the other multilibs are.
2644 if test $cross_compiling = no
&& test $multilib = yes \
2645 && test "x${with_multisubdir}" != x
; then
2646 cross_compiling
=maybe
2649 ac_config_commands
="$ac_config_commands default-1"
2653 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2654 if test -f "$ac_dir/install-sh"; then
2656 ac_install_sh
="$ac_aux_dir/install-sh -c"
2658 elif test -f "$ac_dir/install.sh"; then
2660 ac_install_sh
="$ac_aux_dir/install.sh -c"
2662 elif test -f "$ac_dir/shtool"; then
2664 ac_install_sh
="$ac_aux_dir/shtool install -c"
2668 if test -z "$ac_aux_dir"; then
2669 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2672 # These three variables are undocumented and unsupported,
2673 # and are intended to be withdrawn in a future Autoconf release.
2674 # They can cause serious problems if a builder's source tree is in a directory
2675 # whose full name contains unusual characters.
2676 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2677 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2678 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2681 # Make sure we can run config.sub.
2682 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2683 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2686 $as_echo_n "checking build system type... " >&6; }
2687 if ${ac_cv_build+:} false
; then :
2688 $as_echo_n "(cached) " >&6
2690 ac_build_alias
=$build_alias
2691 test "x$ac_build_alias" = x
&&
2692 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2693 test "x$ac_build_alias" = x
&&
2694 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2695 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2696 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2700 $as_echo "$ac_cv_build" >&6; }
2701 case $ac_cv_build in
2703 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2706 ac_save_IFS
=$IFS; IFS
='-'
2712 # Remember, the first character of IFS is used to create $*,
2713 # except with old shells:
2716 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2720 $as_echo_n "checking host system type... " >&6; }
2721 if ${ac_cv_host+:} false
; then :
2722 $as_echo_n "(cached) " >&6
2724 if test "x$host_alias" = x
; then
2725 ac_cv_host
=$ac_cv_build
2727 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2728 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2733 $as_echo "$ac_cv_host" >&6; }
2736 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2739 ac_save_IFS
=$IFS; IFS
='-'
2745 # Remember, the first character of IFS is used to create $*,
2746 # except with old shells:
2749 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2753 $as_echo_n "checking target system type... " >&6; }
2754 if ${ac_cv_target+:} false
; then :
2755 $as_echo_n "(cached) " >&6
2757 if test "x$target_alias" = x
; then
2758 ac_cv_target
=$ac_cv_host
2760 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2761 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2766 $as_echo "$ac_cv_target" >&6; }
2767 case $ac_cv_target in
2769 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2771 target
=$ac_cv_target
2772 ac_save_IFS
=$IFS; IFS
='-'
2778 # Remember, the first character of IFS is used to create $*,
2779 # except with old shells:
2782 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2785 # The aliases save the names the user supplied, while $host etc.
2786 # will get canonicalized.
2787 test -n "$target_alias" &&
2788 test "$program_prefix$program_suffix$program_transform_name" = \
2790 program_prefix
=${target_alias}-
2792 target_alias
=${target_alias-$host_alias}
2794 am__api_version
='1.15'
2796 # Find a good install program. We prefer a C program (faster),
2797 # so one script is as good as another. But avoid the broken or
2798 # incompatible versions:
2799 # SysV /etc/install, /usr/sbin/install
2800 # SunOS /usr/etc/install
2801 # IRIX /sbin/install
2803 # AmigaOS /C/install, which installs bootblocks on floppy discs
2804 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2805 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2806 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2807 # OS/2's system install, which has a completely different semantic
2808 # ./install, which can be erroneously created by make from ./install.sh.
2809 # Reject install programs that cannot install multiple files.
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2811 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2812 if test -z "$INSTALL"; then
2813 if ${ac_cv_path_install+:} false
; then :
2814 $as_echo_n "(cached) " >&6
2816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2820 test -z "$as_dir" && as_dir
=.
2821 # Account for people who put trailing slashes in PATH elements.
2822 case $as_dir/ in #((
2823 .
/ | .
// |
/[cC
]/* | \
2824 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2825 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2828 # OSF1 and SCO ODT 3.0 have their own names for install.
2829 # Don't use installbsd from OSF since it installs stuff as root
2831 for ac_prog
in ginstall scoinst
install; do
2832 for ac_exec_ext
in '' $ac_executable_extensions; do
2833 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2834 if test $ac_prog = install &&
2835 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2836 # AIX install. It has an incompatible calling convention.
2838 elif test $ac_prog = install &&
2839 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2840 # program-specific install script used by HP pwplus--don't use.
2843 rm -rf conftest.one conftest.two conftest.dir
2844 echo one
> conftest.one
2845 echo two
> conftest.two
2847 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2848 test -s conftest.one
&& test -s conftest.two
&&
2849 test -s conftest.dir
/conftest.one
&&
2850 test -s conftest.dir
/conftest.two
2852 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2865 rm -rf conftest.one conftest.two conftest.dir
2868 if test "${ac_cv_path_install+set}" = set; then
2869 INSTALL
=$ac_cv_path_install
2871 # As a last resort, use the slow shell script. Don't cache a
2872 # value for INSTALL within a source directory, because that will
2873 # break other packages using the cache if that directory is
2874 # removed, or if the value is a relative name.
2875 INSTALL
=$ac_install_sh
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2879 $as_echo "$INSTALL" >&6; }
2881 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2882 # It thinks the first close brace ends the variable substitution.
2883 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2885 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2887 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2890 $as_echo_n "checking whether build environment is sane... " >&6; }
2891 # Reject unsafe characters in $srcdir or the absolute working directory
2892 # name. Accept space and tab only in the latter.
2896 *[\\\"\
#\$\&\'\`$am_lf]*)
2897 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2900 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2901 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2904 # Do 'set' in a subshell so we don't clobber the current shell's
2905 # arguments. Must try -L first in case configure is actually a
2906 # symlink; some systems play weird games with the mod time of symlinks
2907 # (eg FreeBSD returns the mod time of the symlink's containing
2911 for am_try
in 1 2; do
2912 echo "timestamp, slept: $am_has_slept" > conftest.
file
2913 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2914 if test "$*" = "X"; then
2916 set X
`ls -t "$srcdir/configure" conftest.file`
2918 if test "$*" != "X $srcdir/configure conftest.file" \
2919 && test "$*" != "X conftest.file $srcdir/configure"; then
2921 # If neither matched, then we have a broken ls. This can happen
2922 # if, for instance, CONFIG_SHELL is bash and it inherits a
2923 # broken ls alias from the environment. This has actually
2924 # happened. Such a system could not be considered "sane".
2925 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2926 alias in your environment" "$LINENO" 5
2928 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2935 test "$2" = conftest.
file
2941 as_fn_error $?
"newly created file is older than distributed files!
2942 Check your system clock" "$LINENO" 5
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2945 $as_echo "yes" >&6; }
2946 # If we didn't sleep, we still need to ensure time stamps of config.status and
2947 # generated files are strictly newer.
2949 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2956 test "$program_prefix" != NONE
&&
2957 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2958 # Use a double $ so make ignores it.
2959 test "$program_suffix" != NONE
&&
2960 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2961 # Double any \ or $.
2962 # By default was `s,x,x', remove it if useless.
2963 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2964 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2966 # Expand $ac_aux_dir to an absolute path.
2967 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2969 if test x
"${MISSING+set}" != xset
; then
2972 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2974 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2977 # Use eval to expand $SHELL
2978 if eval "$MISSING --is-lightweight"; then
2979 am_missing_run
="$MISSING "
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2983 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2986 if test x
"${install_sh+set}" != xset
; then
2989 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2991 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2995 # Installed binaries are usually stripped using 'strip' when the user
2996 # run "make install-strip". However 'strip' might not be the right
2997 # tool to use in cross-compilation environments, therefore Automake
2998 # will honor the 'STRIP' environment variable to overrule this program.
2999 if test "$cross_compiling" != no
; then
3000 if test -n "$ac_tool_prefix"; then
3001 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3002 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3004 $as_echo_n "checking for $ac_word... " >&6; }
3005 if ${ac_cv_prog_STRIP+:} false
; then :
3006 $as_echo_n "(cached) " >&6
3008 if test -n "$STRIP"; then
3009 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3015 test -z "$as_dir" && as_dir
=.
3016 for ac_exec_ext
in '' $ac_executable_extensions; do
3017 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3018 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3028 STRIP
=$ac_cv_prog_STRIP
3029 if test -n "$STRIP"; then
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3031 $as_echo "$STRIP" >&6; }
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3034 $as_echo "no" >&6; }
3039 if test -z "$ac_cv_prog_STRIP"; then
3041 # Extract the first word of "strip", so it can be a program name with args.
3042 set dummy strip
; ac_word
=$2
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3044 $as_echo_n "checking for $ac_word... " >&6; }
3045 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3046 $as_echo_n "(cached) " >&6
3048 if test -n "$ac_ct_STRIP"; then
3049 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3055 test -z "$as_dir" && as_dir
=.
3056 for ac_exec_ext
in '' $ac_executable_extensions; do
3057 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3058 ac_cv_prog_ac_ct_STRIP
="strip"
3059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3068 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3069 if test -n "$ac_ct_STRIP"; then
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3071 $as_echo "$ac_ct_STRIP" >&6; }
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3074 $as_echo "no" >&6; }
3077 if test "x$ac_ct_STRIP" = x
; then
3080 case $cross_compiling:$ac_tool_warned in
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3084 ac_tool_warned
=yes ;;
3089 STRIP
="$ac_cv_prog_STRIP"
3093 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3096 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3097 if test -z "$MKDIR_P"; then
3098 if ${ac_cv_path_mkdir+:} false
; then :
3099 $as_echo_n "(cached) " >&6
3101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3102 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3105 test -z "$as_dir" && as_dir
=.
3106 for ac_prog
in mkdir gmkdir
; do
3107 for ac_exec_ext
in '' $ac_executable_extensions; do
3108 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3109 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3110 'mkdir (GNU coreutils) '* | \
3111 'mkdir (coreutils) '* | \
3112 'mkdir (fileutils) '4.1*)
3113 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3123 test -d .
/--version && rmdir .
/--version
3124 if test "${ac_cv_path_mkdir+set}" = set; then
3125 MKDIR_P
="$ac_cv_path_mkdir -p"
3127 # As a last resort, use the slow shell script. Don't cache a
3128 # value for MKDIR_P within a source directory, because that will
3129 # break other packages using the cache if that directory is
3130 # removed, or if the value is a relative name.
3131 MKDIR_P
="$ac_install_sh -d"
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3135 $as_echo "$MKDIR_P" >&6; }
3137 for ac_prog
in gawk mawk nawk
awk
3139 # Extract the first word of "$ac_prog", so it can be a program name with args.
3140 set dummy
$ac_prog; ac_word
=$2
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3142 $as_echo_n "checking for $ac_word... " >&6; }
3143 if ${ac_cv_prog_AWK+:} false
; then :
3144 $as_echo_n "(cached) " >&6
3146 if test -n "$AWK"; then
3147 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3153 test -z "$as_dir" && as_dir
=.
3154 for ac_exec_ext
in '' $ac_executable_extensions; do
3155 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3156 ac_cv_prog_AWK
="$ac_prog"
3157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3167 if test -n "$AWK"; then
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3169 $as_echo "$AWK" >&6; }
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3172 $as_echo "no" >&6; }
3176 test -n "$AWK" && break
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3180 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3182 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3183 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3184 $as_echo_n "(cached) " >&6
3186 cat >conftest.
make <<\_ACEOF
3189 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3191 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3192 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3194 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3196 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3200 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3202 $as_echo "yes" >&6; }
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3206 $as_echo "no" >&6; }
3207 SET_MAKE
="MAKE=${MAKE-make}"
3210 rm -rf .tst
2>/dev
/null
3211 mkdir .tst
2>/dev
/null
3212 if test -d .tst
; then
3217 rmdir .tst
2>/dev
/null
3219 # Check whether --enable-silent-rules was given.
3220 if test "${enable_silent_rules+set}" = set; then :
3221 enableval
=$enable_silent_rules;
3224 case $enable_silent_rules in # (((
3225 yes) AM_DEFAULT_VERBOSITY
=0;;
3226 no
) AM_DEFAULT_VERBOSITY
=1;;
3227 *) AM_DEFAULT_VERBOSITY
=1;;
3229 am_make
=${MAKE-make}
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3231 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3232 if ${am_cv_make_support_nested_variables+:} false
; then :
3233 $as_echo_n "(cached) " >&6
3235 if $as_echo 'TRUE=$(BAR$(V))
3241 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3242 am_cv_make_support_nested_variables
=yes
3244 am_cv_make_support_nested_variables
=no
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3248 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3249 if test $am_cv_make_support_nested_variables = yes; then
3251 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3253 AM_V
=$AM_DEFAULT_VERBOSITY
3254 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3258 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3259 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3260 # is not polluted with repeated "-I."
3261 am__isrc
=' -I$(srcdir)'
3262 # test to see if srcdir already configured
3263 if test -f $srcdir/config.status
; then
3264 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3268 # test whether we have cygpath
3269 if test -z "$CYGPATH_W"; then
3270 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3271 CYGPATH_W
='cygpath -w'
3278 # Define the identity of the package.
3280 VERSION
='version-unused'
3283 # Some tools Automake needs.
3285 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3288 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3291 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3294 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3297 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3299 # For better backward compatibility. To be removed once Automake 1.9.x
3300 # dies out for good. For more background, see:
3301 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3302 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3303 mkdir_p
='$(MKDIR_P)'
3305 # We need awk for the "check" target (and possibly the TAP driver). The
3306 # system "awk" is bad on some platforms.
3307 # Always define AMTAR for backward compatibility. Yes, it's still used
3308 # in the wild :-( We should find a proper way to deprecate it ...
3312 # We'll loop over all known methods to create a tar archive until one works.
3313 _am_tools
='gnutar pax cpio none'
3315 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3322 # POSIX will say in a future version that running "rm -f" with no argument
3323 # is OK; and we want to be able to make that assumption in our Makefile
3324 # recipes. So use an aggressive probe to check that the usage we want is
3325 # actually supported "in the wild" to an acceptable degree.
3326 # See automake bug#10828.
3327 # To make any issue more visible, cause the running configure to be aborted
3328 # by default if the 'rm' program in use doesn't match our expectations; the
3329 # user can still override this though.
3330 if rm -f && rm -fr && rm -rf; then : OK
; else
3334 Your 'rm' program seems unable to run without file operands specified
3335 on the command line, even when the '-f' option is present. This is contrary
3336 to the behaviour of most rm programs out there, and not conforming with
3337 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3339 Please tell bug-automake@gnu.org about your system, including the value
3340 of your $PATH and any error possibly output before this message. This
3341 can help us improve future automake versions.
3344 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3345 echo 'Configuration will proceed anyway, since you have set the' >&2
3346 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3350 Aborting the configuration process, to ensure you take notice of the issue.
3352 You can download and install GNU coreutils to get an 'rm' implementation
3353 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3355 If you want to complete the configuration process using your problematic
3356 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3357 to "yes", and re-run configure.
3360 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3370 ac_cpp
='$CPP $CPPFLAGS'
3371 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3372 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3373 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3374 if test -n "$ac_tool_prefix"; then
3375 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3376 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3378 $as_echo_n "checking for $ac_word... " >&6; }
3379 if ${ac_cv_prog_CC+:} false
; then :
3380 $as_echo_n "(cached) " >&6
3382 if test -n "$CC"; then
3383 ac_cv_prog_CC
="$CC" # Let the user override the test.
3385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3389 test -z "$as_dir" && as_dir
=.
3390 for ac_exec_ext
in '' $ac_executable_extensions; do
3391 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3392 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3403 if test -n "$CC"; then
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3405 $as_echo "$CC" >&6; }
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3408 $as_echo "no" >&6; }
3413 if test -z "$ac_cv_prog_CC"; then
3415 # Extract the first word of "gcc", so it can be a program name with args.
3416 set dummy gcc
; ac_word
=$2
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3418 $as_echo_n "checking for $ac_word... " >&6; }
3419 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3420 $as_echo_n "(cached) " >&6
3422 if test -n "$ac_ct_CC"; then
3423 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3429 test -z "$as_dir" && as_dir
=.
3430 for ac_exec_ext
in '' $ac_executable_extensions; do
3431 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3432 ac_cv_prog_ac_ct_CC
="gcc"
3433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3442 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3443 if test -n "$ac_ct_CC"; then
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3445 $as_echo "$ac_ct_CC" >&6; }
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3448 $as_echo "no" >&6; }
3451 if test "x$ac_ct_CC" = x
; then
3454 case $cross_compiling:$ac_tool_warned in
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3457 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3458 ac_tool_warned
=yes ;;
3466 if test -z "$CC"; then
3467 if test -n "$ac_tool_prefix"; then
3468 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3469 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3471 $as_echo_n "checking for $ac_word... " >&6; }
3472 if ${ac_cv_prog_CC+:} false
; then :
3473 $as_echo_n "(cached) " >&6
3475 if test -n "$CC"; then
3476 ac_cv_prog_CC
="$CC" # Let the user override the test.
3478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3482 test -z "$as_dir" && as_dir
=.
3483 for ac_exec_ext
in '' $ac_executable_extensions; do
3484 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3485 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3496 if test -n "$CC"; then
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3498 $as_echo "$CC" >&6; }
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3501 $as_echo "no" >&6; }
3507 if test -z "$CC"; then
3508 # Extract the first word of "cc", so it can be a program name with args.
3509 set dummy cc
; ac_word
=$2
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3511 $as_echo_n "checking for $ac_word... " >&6; }
3512 if ${ac_cv_prog_CC+:} false
; then :
3513 $as_echo_n "(cached) " >&6
3515 if test -n "$CC"; then
3516 ac_cv_prog_CC
="$CC" # Let the user override the test.
3519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3523 test -z "$as_dir" && as_dir
=.
3524 for ac_exec_ext
in '' $ac_executable_extensions; do
3525 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3526 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3527 ac_prog_rejected
=yes
3531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3538 if test $ac_prog_rejected = yes; then
3539 # We found a bogon in the path, so make sure we never use it.
3540 set dummy
$ac_cv_prog_CC
3542 if test $# != 0; then
3543 # We chose a different compiler from the bogus one.
3544 # However, it has the same basename, so the bogon will be chosen
3545 # first if we set CC to just the basename; use the full file name.
3547 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3553 if test -n "$CC"; then
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3555 $as_echo "$CC" >&6; }
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3558 $as_echo "no" >&6; }
3563 if test -z "$CC"; then
3564 if test -n "$ac_tool_prefix"; then
3565 for ac_prog
in cl.exe
3567 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3568 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3570 $as_echo_n "checking for $ac_word... " >&6; }
3571 if ${ac_cv_prog_CC+:} false
; then :
3572 $as_echo_n "(cached) " >&6
3574 if test -n "$CC"; then
3575 ac_cv_prog_CC
="$CC" # Let the user override the test.
3577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3581 test -z "$as_dir" && as_dir
=.
3582 for ac_exec_ext
in '' $ac_executable_extensions; do
3583 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3584 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3595 if test -n "$CC"; then
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3597 $as_echo "$CC" >&6; }
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3600 $as_echo "no" >&6; }
3604 test -n "$CC" && break
3607 if test -z "$CC"; then
3609 for ac_prog
in cl.exe
3611 # Extract the first word of "$ac_prog", so it can be a program name with args.
3612 set dummy
$ac_prog; ac_word
=$2
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3614 $as_echo_n "checking for $ac_word... " >&6; }
3615 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3616 $as_echo_n "(cached) " >&6
3618 if test -n "$ac_ct_CC"; then
3619 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3625 test -z "$as_dir" && as_dir
=.
3626 for ac_exec_ext
in '' $ac_executable_extensions; do
3627 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3628 ac_cv_prog_ac_ct_CC
="$ac_prog"
3629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3638 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3639 if test -n "$ac_ct_CC"; then
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3641 $as_echo "$ac_ct_CC" >&6; }
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3644 $as_echo "no" >&6; }
3648 test -n "$ac_ct_CC" && break
3651 if test "x$ac_ct_CC" = x
; then
3654 case $cross_compiling:$ac_tool_warned in
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3657 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3658 ac_tool_warned
=yes ;;
3667 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3668 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3669 as_fn_error $?
"no acceptable C compiler found in \$PATH
3670 See \`config.log' for more details" "$LINENO" 5; }
3672 # Provide some information about the compiler.
3673 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3676 for ac_option
in --version -v -V -qversion; do
3677 { { ac_try
="$ac_compiler $ac_option >&5"
3679 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3680 *) ac_try_echo=$ac_try;;
3682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3683 $as_echo "$ac_try_echo"; } >&5
3684 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3686 if test -s conftest.err; then
3688 ... rest of stderr output deleted ...
3689 10q' conftest.err >conftest.er1
3690 cat conftest.er1 >&5
3692 rm -f conftest.er1 conftest.err
3693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3694 test $ac_status = 0; }
3697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3698 /* end confdefs.h. */
3708 ac_clean_files_save=$ac_clean_files
3709 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3710 # Try to create an executable without -o first, disregard a.out.
3711 # It will help us diagnose broken compilers, and finding out an intuition
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3714 $as_echo_n "checking whether the C compiler works... " >&6; }
3715 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3717 # The possible output files:
3718 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3721 for ac_file in $ac_files
3724 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3725 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3730 if { { ac_try="$ac_link_default"
3732 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3733 *) ac_try_echo
=$ac_try;;
3735 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3736 $as_echo "$ac_try_echo"; } >&5
3737 (eval "$ac_link_default") 2>&5
3739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3740 test $ac_status = 0; }; then :
3741 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3742 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3743 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3744 # so that the user can short-circuit this test for compilers unknown to
3746 for ac_file
in $ac_files ''
3748 test -f "$ac_file" ||
continue
3750 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3753 # We found the default executable, but exeext='' is most
3757 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3759 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3761 # We set ac_cv_exeext here because the later test for it is not
3762 # safe: cross compilers may not add the suffix if given an `-o'
3763 # argument, so we may need to know it at that point already.
3764 # Even if this section looks crufty: it has the advantage of
3771 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3776 if test -z "$ac_file"; then :
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3778 $as_echo "no" >&6; }
3779 $as_echo "$as_me: failed program was:" >&5
3780 sed 's/^/| /' conftest.
$ac_ext >&5
3782 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3783 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3784 as_fn_error
77 "C compiler cannot create executables
3785 See \`config.log' for more details" "$LINENO" 5; }
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3788 $as_echo "yes" >&6; }
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3791 $as_echo_n "checking for C compiler default output file name... " >&6; }
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3793 $as_echo "$ac_file" >&6; }
3794 ac_exeext
=$ac_cv_exeext
3796 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3797 ac_clean_files
=$ac_clean_files_save
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3799 $as_echo_n "checking for suffix of executables... " >&6; }
3800 if { { ac_try
="$ac_link"
3802 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3803 *) ac_try_echo=$ac_try;;
3805 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3806 $as_echo "$ac_try_echo"; } >&5
3807 (eval "$ac_link") 2>&5
3809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3810 test $ac_status = 0; }; then :
3811 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3812 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3813 # work properly (i.e., refer to `conftest.exe'), while it won't with
3815 for ac_file
in conftest.exe conftest conftest.
*; do
3816 test -f "$ac_file" ||
continue
3818 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3819 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3825 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3826 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3827 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3828 See \`config.log' for more details" "$LINENO" 5; }
3830 rm -f conftest conftest
$ac_cv_exeext
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3832 $as_echo "$ac_cv_exeext" >&6; }
3834 rm -f conftest.
$ac_ext
3835 EXEEXT
=$ac_cv_exeext
3837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3838 /* end confdefs.h. */
3843 FILE *f = fopen ("conftest.out", "w");
3844 return ferror (f) || fclose (f) != 0;
3850 ac_clean_files
="$ac_clean_files conftest.out"
3851 # Check that the compiler produces executables we can run. If not, either
3852 # the compiler is broken, or we cross compile.
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3854 $as_echo_n "checking whether we are cross compiling... " >&6; }
3855 if test "$cross_compiling" != yes; then
3856 { { ac_try
="$ac_link"
3858 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3859 *) ac_try_echo=$ac_try;;
3861 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3862 $as_echo "$ac_try_echo"; } >&5
3863 (eval "$ac_link") 2>&5
3865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3866 test $ac_status = 0; }
3867 if { ac_try='./conftest$ac_cv_exeext'
3868 { { case "(($ac_try" in
3869 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3870 *) ac_try_echo
=$ac_try;;
3872 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3873 $as_echo "$ac_try_echo"; } >&5
3874 (eval "$ac_try") 2>&5
3876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3877 test $ac_status = 0; }; }; then
3880 if test "$cross_compiling" = maybe
; then
3883 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3884 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3885 as_fn_error $?
"cannot run C compiled programs.
3886 If you meant to cross compile, use \`--host'.
3887 See \`config.log' for more details" "$LINENO" 5; }
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3892 $as_echo "$cross_compiling" >&6; }
3894 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3895 ac_clean_files
=$ac_clean_files_save
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3897 $as_echo_n "checking for suffix of object files... " >&6; }
3898 if ${ac_cv_objext+:} false
; then :
3899 $as_echo_n "(cached) " >&6
3901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3902 /* end confdefs.h. */
3912 rm -f conftest.o conftest.obj
3913 if { { ac_try
="$ac_compile"
3915 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3916 *) ac_try_echo=$ac_try;;
3918 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3919 $as_echo "$ac_try_echo"; } >&5
3920 (eval "$ac_compile") 2>&5
3922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3923 test $ac_status = 0; }; then :
3924 for ac_file in conftest.o conftest.obj conftest.*; do
3925 test -f "$ac_file" || continue;
3927 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3928 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3933 $as_echo "$as_me: failed program was:" >&5
3934 sed 's/^/| /' conftest.$ac_ext >&5
3936 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3937 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3938 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3939 See \
`config.log' for more details" "$LINENO" 5; }
3941 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3944 $as_echo "$ac_cv_objext" >&6; }
3945 OBJEXT=$ac_cv_objext
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3948 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3949 if ${ac_cv_c_compiler_gnu+:} false; then :
3950 $as_echo_n "(cached) " >&6
3952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3953 /* end confdefs.h. */
3966 if ac_fn_c_try_compile "$LINENO"; then :
3971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3972 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3976 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3977 if test $ac_compiler_gnu = yes; then
3982 ac_test_CFLAGS=${CFLAGS+set}
3983 ac_save_CFLAGS=$CFLAGS
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3985 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3986 if ${ac_cv_prog_cc_g+:} false; then :
3987 $as_echo_n "(cached) " >&6
3989 ac_save_c_werror_flag=$ac_c_werror_flag
3990 ac_c_werror_flag=yes
3993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3994 /* end confdefs.h. */
4004 if ac_fn_c_try_compile "$LINENO"; then :
4008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4009 /* end confdefs.h. */
4019 if ac_fn_c_try_compile "$LINENO"; then :
4022 ac_c_werror_flag=$ac_save_c_werror_flag
4024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4025 /* end confdefs.h. */
4035 if ac_fn_c_try_compile "$LINENO"; then :
4038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4043 ac_c_werror_flag=$ac_save_c_werror_flag
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4046 $as_echo "$ac_cv_prog_cc_g" >&6; }
4047 if test "$ac_test_CFLAGS" = set; then
4048 CFLAGS=$ac_save_CFLAGS
4049 elif test $ac_cv_prog_cc_g = yes; then
4050 if test "$GCC" = yes; then
4056 if test "$GCC" = yes; then
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4063 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4064 if ${ac_cv_prog_cc_c89+:} false; then :
4065 $as_echo_n "(cached) " >&6
4067 ac_cv_prog_cc_c89=no
4069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4070 /* end confdefs.h. */
4074 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4075 struct buf { int x; };
4076 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4077 static char *e (p, i)
4083 static char *f (char * (*g) (char **, int), char **p, ...)
4088 s = g (p, va_arg (v,int));
4093 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4094 function prototypes and stuff, but not '\xHH' hex character constants.
4095 These don't provoke an error unfortunately, instead are silently treated
4096 as 'x'. The following induces an error, until -std is added to get
4097 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4098 array size at least. It's necessary to write '\x00'==0 to get something
4099 that's true only with -std. */
4100 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4102 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4103 inside strings and character constants. */
4105 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4107 int test (int i, double x);
4108 struct s1 {int (*f) (int a);};
4109 struct s2 {int (*f) (double a);};
4110 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4116 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4121 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4122 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4124 CC="$ac_save_CC $ac_arg"
4125 if ac_fn_c_try_compile "$LINENO"; then :
4126 ac_cv_prog_cc_c89=$ac_arg
4128 rm -f core conftest.err conftest.$ac_objext
4129 test "x$ac_cv_prog_cc_c89" != "xno" && break
4131 rm -f conftest.$ac_ext
4136 case "x$ac_cv_prog_cc_c89" in
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4139 $as_echo "none needed" >&6; } ;;
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4142 $as_echo "unsupported" >&6; } ;;
4144 CC="$CC $ac_cv_prog_cc_c89"
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4146 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4148 if test "x$ac_cv_prog_cc_c89" != xno; then :
4153 ac_cpp='$CPP $CPPFLAGS'
4154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4159 ac_cpp='$CPP $CPPFLAGS'
4160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4164 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4165 if ${am_cv_prog_cc_c_o+:} false; then :
4166 $as_echo_n "(cached) " >&6
4168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4169 /* end confdefs.h. */
4179 # Make sure it works both with $CC and with simple cc.
4180 # Following AC_PROG_CC_C_O, we do the test twice because some
4181 # compilers refuse to overwrite an existing .o file with -o,
4182 # though they will create one.
4183 am_cv_prog_cc_c_o=yes
4185 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4186 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4189 (exit $ac_status); } \
4190 && test -f conftest2.$ac_objext; then
4193 am_cv_prog_cc_c_o=no
4197 rm -f core conftest*
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4201 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4202 if test "$am_cv_prog_cc_c_o" != yes; then
4203 # Losing compiler, so override with the script.
4204 # FIXME: It is wrong to rewrite CC.
4205 # But if we don't then we get into trouble of one sort or another.
4206 # A longer-term fix would be to have automake use am__CC in this case,
4207 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4208 CC="$am_aux_dir/compile $CC"
4211 ac_cpp='$CPP $CPPFLAGS'
4212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4216 DEPDIR="${am__leading_dot}deps"
4218 ac_config_commands="$ac_config_commands depfiles"
4221 am_make=${MAKE-make}
4222 cat > confinc << 'END'
4224 @echo this is the am__doit target
4227 # If we don't find an include directive, just comment out the code.
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4229 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4233 # First try GNU make style include.
4234 echo "include confinc" > confmf
4235 # Ignore all kinds of additional output from 'make'.
4236 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4237 *the\ am__doit\ target*)
4243 # Now try BSD make style include.
4244 if test "$am__include" = "#"; then
4245 echo '.include "confinc"' > confmf
4246 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4247 *the\ am__doit\ target*)
4248 am__include=.include
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4257 $as_echo "$_am_result" >&6; }
4258 rm -f confinc confmf
4260 # Check whether --enable-dependency-tracking was given.
4261 if test "${enable_dependency_tracking+set}" = set; then :
4262 enableval=$enable_dependency_tracking;
4265 if test "x$enable_dependency_tracking" != xno; then
4266 am_depcomp="$ac_aux_dir/depcomp"
4270 if test "x$enable_dependency_tracking" != xno; then
4280 depcc="$CC" am_compiler_list=
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4283 $as_echo_n "checking dependency style of $depcc... " >&6; }
4284 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4285 $as_echo_n "(cached) " >&6
4287 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4288 # We make a subdir and do the tests there. Otherwise we can end up
4289 # making bogus files that we don't know about and never remove. For
4290 # instance it was reported that on HP-UX the gcc test will end up
4291 # making a dummy file named 'D' -- because '-MD' means "put the output
4295 # Copy depcomp to subdir because otherwise we won't find it if we're
4296 # using a relative directory.
4297 cp "$am_depcomp" conftest.dir
4299 # We will build objects and dependencies in a subdirectory because
4300 # it helps to detect inapplicable dependency modes. For instance
4301 # both Tru64's cc and ICC support -MD to output dependencies as a
4302 # side effect of compilation, but ICC will put the dependencies in
4303 # the current directory while Tru64 will put them in the object
4307 am_cv_CC_dependencies_compiler_type=none
4308 if test "$am_compiler_list" = ""; then
4309 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4312 case " $depcc " in #(
4313 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4316 for depmode in $am_compiler_list; do
4317 # Setup a source with many dependencies, because some compilers
4318 # like to wrap large dependency lists on column 80 (with \), and
4319 # we should not choose a depcomp mode which is confused by this.
4321 # We need to recreate these files for each test, as the compiler may
4322 # overwrite some of them when testing with obscure command lines.
4323 # This happens at least with the AIX C compiler.
4325 for i in 1 2 3 4 5 6; do
4326 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4327 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4328 # Solaris 10 /bin/sh.
4329 echo '/* dummy */' > sub/conftst$i.h
4331 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4333 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4334 # mode. It turns out that the SunPro C++ compiler does not properly
4335 # handle '-M -o', and we need to detect this. Also, some Intel
4336 # versions had trouble with output in subdirs.
4337 am__obj=sub/conftest.${OBJEXT-o}
4338 am__minus_obj="-o $am__obj"
4341 # This depmode causes a compiler race in universal mode.
4342 test "$am__universal" = false || continue
4345 # After this tag, mechanisms are not by side-effect, so they'll
4346 # only be used when explicitly requested.
4347 if test "x$enable_dependency_tracking" = xyes; then
4353 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4354 # This compiler won't grok '-c -o', but also, the minuso test has
4355 # not run yet. These depmodes are late enough in the game, and
4356 # so weak that their functioning should not be impacted.
4357 am__obj=conftest.${OBJEXT-o}
4362 if depmode=$depmode \
4363 source=sub/conftest.c object=$am__obj \
4364 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4365 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4366 >/dev/null 2>conftest.err &&
4367 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4368 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4369 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4370 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4371 # icc doesn't choke on unknown options, it will just issue warnings
4372 # or remarks (even with -Werror). So we grep stderr for any message
4373 # that says an option was ignored or not supported.
4374 # When given -MP, icc 7.0 and 7.1 complain thusly:
4375 # icc: Command line warning: ignoring option '-M'; no argument required
4376 # The diagnosis changed in icc 8.0:
4377 # icc: Command line remark: option '-MP' not supported
4378 if (grep 'ignoring option' conftest.err ||
4379 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4380 am_cv_CC_dependencies_compiler_type=$depmode
4389 am_cv_CC_dependencies_compiler_type=none
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4394 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4395 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4398 test "x$enable_dependency_tracking" != xno \
4399 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4401 am__fastdepCC_FALSE='#'
4403 am__fastdepCC_TRUE='#'
4404 am__fastdepCC_FALSE=
4409 ac_compile='$GOC -c $GOFLAGS conftest.$ac_ext >&5'
4410 ac_link='$GOC -o conftest$ac_exeext $GOFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4412 if test -n "$ac_tool_prefix"; then
4413 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
4414 set dummy ${ac_tool_prefix}gccgo; ac_word=$2
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4416 $as_echo_n "checking for $ac_word... " >&6; }
4417 if ${ac_cv_prog_GOC+:} false; then :
4418 $as_echo_n "(cached) " >&6
4420 if test -n "$GOC"; then
4421 ac_cv_prog_GOC="$GOC" # Let the user override the test.
4423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4427 test -z "$as_dir" && as_dir=.
4428 for ac_exec_ext in '' $ac_executable_extensions; do
4429 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4430 ac_cv_prog_GOC="${ac_tool_prefix}gccgo"
4431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4441 if test -n "$GOC"; then
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4443 $as_echo "$GOC" >&6; }
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4446 $as_echo "no" >&6; }
4451 if test -z "$ac_cv_prog_GOC"; then
4453 # Extract the first word of "gccgo", so it can be a program name with args.
4454 set dummy gccgo; ac_word=$2
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4456 $as_echo_n "checking for $ac_word... " >&6; }
4457 if ${ac_cv_prog_ac_ct_GOC+:} false; then :
4458 $as_echo_n "(cached) " >&6
4460 if test -n "$ac_ct_GOC"; then
4461 ac_cv_prog_ac_ct_GOC="$ac_ct_GOC" # Let the user override the test.
4463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4467 test -z "$as_dir" && as_dir=.
4468 for ac_exec_ext in '' $ac_executable_extensions; do
4469 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4470 ac_cv_prog_ac_ct_GOC="gccgo"
4471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4480 ac_ct_GOC=$ac_cv_prog_ac_ct_GOC
4481 if test -n "$ac_ct_GOC"; then
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
4483 $as_echo "$ac_ct_GOC" >&6; }
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4486 $as_echo "no" >&6; }
4489 if test "x$ac_ct_GOC" = x; then
4492 case $cross_compiling:$ac_tool_warned in
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4495 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4496 ac_tool_warned=yes ;;
4501 GOC="$ac_cv_prog_GOC"
4504 if test -z "$GOC"; then
4505 if test -n "$ac_tool_prefix"; then
4506 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
4507 set dummy ${ac_tool_prefix}gccgo; ac_word=$2
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4509 $as_echo_n "checking for $ac_word... " >&6; }
4510 if ${ac_cv_prog_GOC+:} false; then :
4511 $as_echo_n "(cached) " >&6
4513 if test -n "$GOC"; then
4514 ac_cv_prog_GOC="$GOC" # Let the user override the test.
4516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4520 test -z "$as_dir" && as_dir=.
4521 for ac_exec_ext in '' $ac_executable_extensions; do
4522 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4523 ac_cv_prog_GOC="$ac_tool_prefix}gccgo"
4524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4534 if test -n "$GOC"; then
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4536 $as_echo "$GOC" >&6; }
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4539 $as_echo "no" >&6; }
4545 if test -z "$GOC"; then
4546 # Extract the first word of "gccgo", so it can be a program name with args.
4547 set dummy gccgo; ac_word=$2
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4549 $as_echo_n "checking for $ac_word... " >&6; }
4550 if ${ac_cv_prog_GOC+:} false; then :
4551 $as_echo_n "(cached) " >&6
4553 if test -n "$GOC"; then
4554 ac_cv_prog_GOC="$GOC" # Let the user override the test.
4557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4561 test -z "$as_dir" && as_dir=.
4562 for ac_exec_ext in '' $ac_executable_extensions; do
4563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4564 if test "$as_dir/$ac_word$ac_exec_ext" = "false"; then
4565 ac_prog_rejected=yes
4568 ac_cv_prog_GOC="gccgo"
4569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4576 if test $ac_prog_rejected = yes; then
4577 # We found a bogon in the path, so make sure we never use it.
4578 set dummy $ac_cv_prog_GOC
4580 if test $# != 0; then
4581 # We chose a different compiler from the bogus one.
4582 # However, it has the same basename, so the bogon will be chosen
4583 # first if we set GOC to just the basename; use the full file name.
4585 ac_cv_prog_GOC="$as_dir/$ac_word${1+' '}$@"
4591 if test -n "$GOC"; then
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4593 $as_echo "$GOC" >&6; }
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4596 $as_echo "no" >&6; }
4603 # Provide some information about the compiler.
4604 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Go compiler version" >&5
4607 { { ac_try="$ac_compiler --version >&5"
4609 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4610 *) ac_try_echo
=$ac_try;;
4612 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4613 $as_echo "$ac_try_echo"; } >&5
4614 (eval "$ac_compiler --version >&5") 2>conftest.err
4616 if test -s conftest.err
; then
4618 ... rest of stderr output deleted ...
4619 10q' conftest.err
>conftest.er1
4620 cat conftest.er1
>&5
4622 rm -f conftest.er1 conftest.err
4623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4624 test $ac_status = 0; }
4627 ac_cpp
='$CPP $CPPFLAGS'
4628 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4629 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4630 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4632 # By default we simply use the C compiler to build assembly code.
4634 test "${CCAS+set}" = set || CCAS
=$CC
4635 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
4639 depcc
="$CCAS" am_compiler_list
=
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4642 $as_echo_n "checking dependency style of $depcc... " >&6; }
4643 if ${am_cv_CCAS_dependencies_compiler_type+:} false
; then :
4644 $as_echo_n "(cached) " >&6
4646 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4647 # We make a subdir and do the tests there. Otherwise we can end up
4648 # making bogus files that we don't know about and never remove. For
4649 # instance it was reported that on HP-UX the gcc test will end up
4650 # making a dummy file named 'D' -- because '-MD' means "put the output
4654 # Copy depcomp to subdir because otherwise we won't find it if we're
4655 # using a relative directory.
4656 cp "$am_depcomp" conftest.dir
4658 # We will build objects and dependencies in a subdirectory because
4659 # it helps to detect inapplicable dependency modes. For instance
4660 # both Tru64's cc and ICC support -MD to output dependencies as a
4661 # side effect of compilation, but ICC will put the dependencies in
4662 # the current directory while Tru64 will put them in the object
4666 am_cv_CCAS_dependencies_compiler_type
=none
4667 if test "$am_compiler_list" = ""; then
4668 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4673 for depmode
in $am_compiler_list; do
4674 # Setup a source with many dependencies, because some compilers
4675 # like to wrap large dependency lists on column 80 (with \), and
4676 # we should not choose a depcomp mode which is confused by this.
4678 # We need to recreate these files for each test, as the compiler may
4679 # overwrite some of them when testing with obscure command lines.
4680 # This happens at least with the AIX C compiler.
4682 for i
in 1 2 3 4 5 6; do
4683 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4684 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4685 # Solaris 10 /bin/sh.
4686 echo '/* dummy */' > sub
/conftst
$i.h
4688 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4690 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4691 # mode. It turns out that the SunPro C++ compiler does not properly
4692 # handle '-M -o', and we need to detect this. Also, some Intel
4693 # versions had trouble with output in subdirs.
4694 am__obj
=sub
/conftest.
${OBJEXT-o}
4695 am__minus_obj
="-o $am__obj"
4698 # This depmode causes a compiler race in universal mode.
4699 test "$am__universal" = false ||
continue
4702 # After this tag, mechanisms are not by side-effect, so they'll
4703 # only be used when explicitly requested.
4704 if test "x$enable_dependency_tracking" = xyes
; then
4710 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4711 # This compiler won't grok '-c -o', but also, the minuso test has
4712 # not run yet. These depmodes are late enough in the game, and
4713 # so weak that their functioning should not be impacted.
4714 am__obj
=conftest.
${OBJEXT-o}
4719 if depmode
=$depmode \
4720 source=sub
/conftest.c object
=$am__obj \
4721 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4722 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4723 >/dev
/null
2>conftest.err
&&
4724 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4725 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4726 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4727 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4728 # icc doesn't choke on unknown options, it will just issue warnings
4729 # or remarks (even with -Werror). So we grep stderr for any message
4730 # that says an option was ignored or not supported.
4731 # When given -MP, icc 7.0 and 7.1 complain thusly:
4732 # icc: Command line warning: ignoring option '-M'; no argument required
4733 # The diagnosis changed in icc 8.0:
4734 # icc: Command line remark: option '-MP' not supported
4735 if (grep 'ignoring option' conftest.err ||
4736 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4737 am_cv_CCAS_dependencies_compiler_type
=$depmode
4746 am_cv_CCAS_dependencies_compiler_type
=none
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
4751 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
4752 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
4755 test "x$enable_dependency_tracking" != xno \
4756 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
4757 am__fastdepCCAS_TRUE
=
4758 am__fastdepCCAS_FALSE
='#'
4760 am__fastdepCCAS_TRUE
='#'
4761 am__fastdepCCAS_FALSE
=
4771 # Check default architecture for FAT library creation
4772 if test -z "`$CC -x c -E /dev/null -g3 -o - | grep 64BIT`" ; then
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4783 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4784 # Check whether --enable-maintainer-mode was given.
4785 if test "${enable_maintainer_mode+set}" = set; then :
4786 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4788 USE_MAINTAINER_MODE
=no
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4792 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4793 if test $USE_MAINTAINER_MODE = yes; then
4794 MAINTAINER_MODE_TRUE
=
4795 MAINTAINER_MODE_FALSE
='#'
4797 MAINTAINER_MODE_TRUE
='#'
4798 MAINTAINER_MODE_FALSE
=
4801 MAINT
=$MAINTAINER_MODE_TRUE
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4806 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4807 if ${ac_cv_path_SED+:} false
; then :
4808 $as_echo_n "(cached) " >&6
4810 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4811 for ac_i
in 1 2 3 4 5 6 7; do
4812 ac_script
="$ac_script$as_nl$ac_script"
4814 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
4815 { ac_script
=; unset ac_script
;}
4816 if test -z "$SED"; then
4817 ac_path_SED_found
=false
4818 # Loop through the user's path and test for each of PROGNAME-LIST
4819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4823 test -z "$as_dir" && as_dir
=.
4824 for ac_prog
in sed gsed
; do
4825 for ac_exec_ext
in '' $ac_executable_extensions; do
4826 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4827 as_fn_executable_p
"$ac_path_SED" ||
continue
4828 # Check for GNU ac_path_SED and select it if it is found.
4829 # Check for GNU $ac_path_SED
4830 case `"$ac_path_SED" --version 2>&1` in
4832 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4835 $as_echo_n 0123456789 >"conftest.in"
4838 cat "conftest.in" "conftest.in" >"conftest.tmp"
4839 mv "conftest.tmp" "conftest.in"
4840 cp "conftest.in" "conftest.nl"
4841 $as_echo '' >> "conftest.nl"
4842 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4843 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4844 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4845 if test $ac_count -gt ${ac_path_SED_max-0}; then
4846 # Best one so far, save it but keep looking for a better one
4847 ac_cv_path_SED
="$ac_path_SED"
4848 ac_path_SED_max
=$ac_count
4850 # 10*(2^10) chars as input seems more than enough
4851 test $ac_count -gt 10 && break
4853 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4856 $ac_path_SED_found && break 3
4861 if test -z "$ac_cv_path_SED"; then
4862 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4870 $as_echo "$ac_cv_path_SED" >&6; }
4871 SED
="$ac_cv_path_SED"
4874 test -z "$SED" && SED
=sed
4875 Xsed
="$SED -e 1s/^X//"
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4888 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4889 if ${ac_cv_path_GREP+:} false
; then :
4890 $as_echo_n "(cached) " >&6
4892 if test -z "$GREP"; then
4893 ac_path_GREP_found
=false
4894 # Loop through the user's path and test for each of PROGNAME-LIST
4895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4896 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4899 test -z "$as_dir" && as_dir
=.
4900 for ac_prog
in grep ggrep
; do
4901 for ac_exec_ext
in '' $ac_executable_extensions; do
4902 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4903 as_fn_executable_p
"$ac_path_GREP" ||
continue
4904 # Check for GNU ac_path_GREP and select it if it is found.
4905 # Check for GNU $ac_path_GREP
4906 case `"$ac_path_GREP" --version 2>&1` in
4908 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4911 $as_echo_n 0123456789 >"conftest.in"
4914 cat "conftest.in" "conftest.in" >"conftest.tmp"
4915 mv "conftest.tmp" "conftest.in"
4916 cp "conftest.in" "conftest.nl"
4917 $as_echo 'GREP' >> "conftest.nl"
4918 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4919 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4920 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4921 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4922 # Best one so far, save it but keep looking for a better one
4923 ac_cv_path_GREP
="$ac_path_GREP"
4924 ac_path_GREP_max
=$ac_count
4926 # 10*(2^10) chars as input seems more than enough
4927 test $ac_count -gt 10 && break
4929 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4932 $ac_path_GREP_found && break 3
4937 if test -z "$ac_cv_path_GREP"; then
4938 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4941 ac_cv_path_GREP
=$GREP
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4946 $as_echo "$ac_cv_path_GREP" >&6; }
4947 GREP
="$ac_cv_path_GREP"
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4951 $as_echo_n "checking for egrep... " >&6; }
4952 if ${ac_cv_path_EGREP+:} false
; then :
4953 $as_echo_n "(cached) " >&6
4955 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4956 then ac_cv_path_EGREP
="$GREP -E"
4958 if test -z "$EGREP"; then
4959 ac_path_EGREP_found
=false
4960 # Loop through the user's path and test for each of PROGNAME-LIST
4961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4962 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4965 test -z "$as_dir" && as_dir
=.
4966 for ac_prog
in egrep; do
4967 for ac_exec_ext
in '' $ac_executable_extensions; do
4968 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4969 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4970 # Check for GNU ac_path_EGREP and select it if it is found.
4971 # Check for GNU $ac_path_EGREP
4972 case `"$ac_path_EGREP" --version 2>&1` in
4974 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4977 $as_echo_n 0123456789 >"conftest.in"
4980 cat "conftest.in" "conftest.in" >"conftest.tmp"
4981 mv "conftest.tmp" "conftest.in"
4982 cp "conftest.in" "conftest.nl"
4983 $as_echo 'EGREP' >> "conftest.nl"
4984 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4985 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4986 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4987 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4988 # Best one so far, save it but keep looking for a better one
4989 ac_cv_path_EGREP
="$ac_path_EGREP"
4990 ac_path_EGREP_max
=$ac_count
4992 # 10*(2^10) chars as input seems more than enough
4993 test $ac_count -gt 10 && break
4995 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4998 $ac_path_EGREP_found && break 3
5003 if test -z "$ac_cv_path_EGREP"; then
5004 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5007 ac_cv_path_EGREP
=$EGREP
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5013 $as_echo "$ac_cv_path_EGREP" >&6; }
5014 EGREP
="$ac_cv_path_EGREP"
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5018 $as_echo_n "checking for fgrep... " >&6; }
5019 if ${ac_cv_path_FGREP+:} false
; then :
5020 $as_echo_n "(cached) " >&6
5022 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5023 then ac_cv_path_FGREP
="$GREP -F"
5025 if test -z "$FGREP"; then
5026 ac_path_FGREP_found
=false
5027 # Loop through the user's path and test for each of PROGNAME-LIST
5028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5029 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5032 test -z "$as_dir" && as_dir
=.
5033 for ac_prog
in fgrep
; do
5034 for ac_exec_ext
in '' $ac_executable_extensions; do
5035 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5036 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5037 # Check for GNU ac_path_FGREP and select it if it is found.
5038 # Check for GNU $ac_path_FGREP
5039 case `"$ac_path_FGREP" --version 2>&1` in
5041 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5044 $as_echo_n 0123456789 >"conftest.in"
5047 cat "conftest.in" "conftest.in" >"conftest.tmp"
5048 mv "conftest.tmp" "conftest.in"
5049 cp "conftest.in" "conftest.nl"
5050 $as_echo 'FGREP' >> "conftest.nl"
5051 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5052 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5053 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5054 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5055 # Best one so far, save it but keep looking for a better one
5056 ac_cv_path_FGREP
="$ac_path_FGREP"
5057 ac_path_FGREP_max
=$ac_count
5059 # 10*(2^10) chars as input seems more than enough
5060 test $ac_count -gt 10 && break
5062 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5065 $ac_path_FGREP_found && break 3
5070 if test -z "$ac_cv_path_FGREP"; then
5071 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5074 ac_cv_path_FGREP
=$FGREP
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5080 $as_echo "$ac_cv_path_FGREP" >&6; }
5081 FGREP
="$ac_cv_path_FGREP"
5084 test -z "$GREP" && GREP
=grep
5102 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5103 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5104 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5107 $as_echo_n "checking how to print strings... " >&6; }
5108 # Test print first, because it will be a builtin if present.
5109 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5110 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5112 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5115 # Use this function as a fallback that always works.
5116 func_fallback_echo ()
5118 eval 'cat <<_LTECHO_EOF
5122 ECHO='func_fallback_echo
'
5125 # func_echo_all arg...
5126 # Invoke $ECHO with all args, space-separated.
5133 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5134 $as_echo "printf" >&6; } ;;
5135 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5136 $as_echo "print -r" >&6; } ;;
5137 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5138 $as_echo "cat" >&6; } ;;
5156 # Check whether --with-gnu-ld was given.
5157 if test "${with_gnu_ld+set}" = set; then :
5158 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5164 if test "$GCC" = yes; then
5165 # Check if gcc -print-prog-name=ld gives a path.
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5167 $as_echo_n "checking for ld used by $CC... " >&6; }
5170 # gcc leaves a trailing carriage return which upsets mingw
5171 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5173 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5176 # Accept absolute paths.
5178 re_direlt='/[^
/][^
/]*/\.\.
/'
5179 # Canonicalize the pathname of ld
5180 ac_prog=`$ECHO "$ac_prog"| $SED 's
%\\\\%/%g
'`
5181 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5182 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5184 test -z "$LD" && LD="$ac_prog"
5187 # If it fails, then pretend we aren't using GCC.
5191 # If it is relative, then search for the first ld in PATH.
5195 elif test "$with_gnu_ld" = yes; then
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5197 $as_echo_n "checking for GNU ld... " >&6; }
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5200 $as_echo_n "checking for non-GNU ld... " >&6; }
5202 if ${lt_cv_path_LD+:} false
; then :
5203 $as_echo_n "(cached) " >&6
5205 if test -z "$LD"; then
5206 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5207 for ac_dir
in $PATH; do
5209 test -z "$ac_dir" && ac_dir
=.
5210 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5211 lt_cv_path_LD
="$ac_dir/$ac_prog"
5212 # Check to see if the program is GNU ld. I'd rather use --version,
5213 # but apparently some variants of GNU ld only accept -v.
5214 # Break only if it was the GNU/non-GNU ld that we prefer.
5215 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5216 *GNU
* |
*'with BFD'*)
5217 test "$with_gnu_ld" != no
&& break
5220 test "$with_gnu_ld" != yes && break
5227 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5232 if test -n "$LD"; then
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5234 $as_echo "$LD" >&6; }
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5237 $as_echo "no" >&6; }
5239 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5241 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5242 if ${lt_cv_prog_gnu_ld+:} false
; then :
5243 $as_echo_n "(cached) " >&6
5245 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5246 case `$LD -v 2>&1 </dev/null` in
5247 *GNU
* |
*'with BFD'*)
5248 lt_cv_prog_gnu_ld
=yes
5251 lt_cv_prog_gnu_ld
=no
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5256 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5257 with_gnu_ld
=$lt_cv_prog_gnu_ld
5267 if test -n "$ac_tool_prefix"; then
5268 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5269 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5271 $as_echo_n "checking for $ac_word... " >&6; }
5272 if ${ac_cv_prog_RANLIB+:} false
; then :
5273 $as_echo_n "(cached) " >&6
5275 if test -n "$RANLIB"; then
5276 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5282 test -z "$as_dir" && as_dir
=.
5283 for ac_exec_ext
in '' $ac_executable_extensions; do
5284 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5285 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5295 RANLIB
=$ac_cv_prog_RANLIB
5296 if test -n "$RANLIB"; then
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5298 $as_echo "$RANLIB" >&6; }
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5301 $as_echo "no" >&6; }
5306 if test -z "$ac_cv_prog_RANLIB"; then
5307 ac_ct_RANLIB
=$RANLIB
5308 # Extract the first word of "ranlib", so it can be a program name with args.
5309 set dummy ranlib
; ac_word
=$2
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5311 $as_echo_n "checking for $ac_word... " >&6; }
5312 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5313 $as_echo_n "(cached) " >&6
5315 if test -n "$ac_ct_RANLIB"; then
5316 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5322 test -z "$as_dir" && as_dir
=.
5323 for ac_exec_ext
in '' $ac_executable_extensions; do
5324 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5325 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5335 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5336 if test -n "$ac_ct_RANLIB"; then
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5338 $as_echo "$ac_ct_RANLIB" >&6; }
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5341 $as_echo "no" >&6; }
5344 if test "x$ac_ct_RANLIB" = x
; then
5347 case $cross_compiling:$ac_tool_warned in
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5351 ac_tool_warned
=yes ;;
5353 RANLIB
=$ac_ct_RANLIB
5356 RANLIB
="$ac_cv_prog_RANLIB"
5359 if test -n "$ac_tool_prefix"; then
5360 # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
5361 set dummy
${ac_tool_prefix}objcopy
; ac_word
=$2
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5363 $as_echo_n "checking for $ac_word... " >&6; }
5364 if ${ac_cv_prog_OBJCOPY+:} false
; then :
5365 $as_echo_n "(cached) " >&6
5367 if test -n "$OBJCOPY"; then
5368 ac_cv_prog_OBJCOPY
="$OBJCOPY" # Let the user override the test.
5370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5374 test -z "$as_dir" && as_dir
=.
5375 for ac_exec_ext
in '' $ac_executable_extensions; do
5376 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5377 ac_cv_prog_OBJCOPY
="${ac_tool_prefix}objcopy"
5378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5387 OBJCOPY
=$ac_cv_prog_OBJCOPY
5388 if test -n "$OBJCOPY"; then
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
5390 $as_echo "$OBJCOPY" >&6; }
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5393 $as_echo "no" >&6; }
5398 if test -z "$ac_cv_prog_OBJCOPY"; then
5399 ac_ct_OBJCOPY
=$OBJCOPY
5400 # Extract the first word of "objcopy", so it can be a program name with args.
5401 set dummy objcopy
; ac_word
=$2
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5403 $as_echo_n "checking for $ac_word... " >&6; }
5404 if ${ac_cv_prog_ac_ct_OBJCOPY+:} false
; then :
5405 $as_echo_n "(cached) " >&6
5407 if test -n "$ac_ct_OBJCOPY"; then
5408 ac_cv_prog_ac_ct_OBJCOPY
="$ac_ct_OBJCOPY" # Let the user override the test.
5410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5414 test -z "$as_dir" && as_dir
=.
5415 for ac_exec_ext
in '' $ac_executable_extensions; do
5416 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5417 ac_cv_prog_ac_ct_OBJCOPY
="objcopy"
5418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5427 ac_ct_OBJCOPY
=$ac_cv_prog_ac_ct_OBJCOPY
5428 if test -n "$ac_ct_OBJCOPY"; then
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
5430 $as_echo "$ac_ct_OBJCOPY" >&6; }
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5433 $as_echo "no" >&6; }
5436 if test "x$ac_ct_OBJCOPY" = x
; then
5437 OBJCOPY
="missing-objcopy"
5439 case $cross_compiling:$ac_tool_warned in
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5443 ac_tool_warned
=yes ;;
5445 OBJCOPY
=$ac_ct_OBJCOPY
5448 OBJCOPY
="$ac_cv_prog_OBJCOPY"
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5459 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5464 macro_version
='2.2.7a'
5465 macro_revision
='1.3134'
5479 ltmain
="$ac_aux_dir/ltmain.sh"
5481 # Backslashify metacharacters that are still active within
5482 # double-quoted strings.
5483 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5485 # Same as above, but do not quote variable references.
5486 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5488 # Sed substitution to delay expansion of an escaped shell variable in a
5489 # double_quote_subst'ed string.
5490 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5492 # Sed substitution to delay expansion of an escaped single quote.
5493 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5495 # Sed substitution to avoid accidental globbing in evaled expressions
5496 no_glob_subst
='s/\*/\\\*/g'
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5499 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5500 if ${lt_cv_path_NM+:} false
; then :
5501 $as_echo_n "(cached) " >&6
5503 if test -n "$NM"; then
5504 # Let the user override the test.
5507 lt_nm_to_check
="${ac_tool_prefix}nm"
5508 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5509 lt_nm_to_check
="$lt_nm_to_check nm"
5511 for lt_tmp_nm
in $lt_nm_to_check; do
5512 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5513 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5515 test -z "$ac_dir" && ac_dir
=.
5516 tmp_nm
="$ac_dir/$lt_tmp_nm"
5517 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5518 # Check to see if the nm accepts a BSD-compat flag.
5519 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5520 # nm: unknown option "B" ignored
5521 # Tru64's nm complains that /dev/null is an invalid object file
5522 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5523 */dev
/null
* |
*'Invalid file or object type'*)
5524 lt_cv_path_NM
="$tmp_nm -B"
5528 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5530 lt_cv_path_NM
="$tmp_nm -p"
5534 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5535 continue # so that we can try to find one that supports BSD flags
5544 : ${lt_cv_path_NM=no}
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5548 $as_echo "$lt_cv_path_NM" >&6; }
5549 if test "$lt_cv_path_NM" != "no"; then
5552 # Didn't find any BSD compatible name lister, look for dumpbin.
5553 if test -n "$DUMPBIN"; then :
5554 # Let the user override the test.
5556 if test -n "$ac_tool_prefix"; then
5557 for ac_prog
in dumpbin
"link -dump"
5559 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5560 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5562 $as_echo_n "checking for $ac_word... " >&6; }
5563 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5564 $as_echo_n "(cached) " >&6
5566 if test -n "$DUMPBIN"; then
5567 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5573 test -z "$as_dir" && as_dir
=.
5574 for ac_exec_ext
in '' $ac_executable_extensions; do
5575 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5576 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5586 DUMPBIN
=$ac_cv_prog_DUMPBIN
5587 if test -n "$DUMPBIN"; then
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5589 $as_echo "$DUMPBIN" >&6; }
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5592 $as_echo "no" >&6; }
5596 test -n "$DUMPBIN" && break
5599 if test -z "$DUMPBIN"; then
5600 ac_ct_DUMPBIN
=$DUMPBIN
5601 for ac_prog
in dumpbin
"link -dump"
5603 # Extract the first word of "$ac_prog", so it can be a program name with args.
5604 set dummy
$ac_prog; ac_word
=$2
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5606 $as_echo_n "checking for $ac_word... " >&6; }
5607 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5608 $as_echo_n "(cached) " >&6
5610 if test -n "$ac_ct_DUMPBIN"; then
5611 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5617 test -z "$as_dir" && as_dir
=.
5618 for ac_exec_ext
in '' $ac_executable_extensions; do
5619 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5620 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5630 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5631 if test -n "$ac_ct_DUMPBIN"; then
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5633 $as_echo "$ac_ct_DUMPBIN" >&6; }
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5636 $as_echo "no" >&6; }
5640 test -n "$ac_ct_DUMPBIN" && break
5643 if test "x$ac_ct_DUMPBIN" = x
; then
5646 case $cross_compiling:$ac_tool_warned in
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5649 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5650 ac_tool_warned
=yes ;;
5652 DUMPBIN
=$ac_ct_DUMPBIN
5656 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5658 DUMPBIN
="$DUMPBIN -symbols"
5666 if test "$DUMPBIN" != ":"; then
5670 test -z "$NM" && NM
=nm
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5678 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5679 if ${lt_cv_nm_interface+:} false
; then :
5680 $as_echo_n "(cached) " >&6
5682 lt_cv_nm_interface
="BSD nm"
5683 echo "int some_variable = 0;" > conftest.
$ac_ext
5684 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5685 (eval "$ac_compile" 2>conftest.err
)
5686 cat conftest.err
>&5
5687 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5688 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5689 cat conftest.err
>&5
5690 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5691 cat conftest.out
>&5
5692 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5693 lt_cv_nm_interface
="MS dumpbin"
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5698 $as_echo "$lt_cv_nm_interface" >&6; }
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5701 $as_echo_n "checking whether ln -s works... " >&6; }
5703 if test "$LN_S" = "ln -s"; then
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5705 $as_echo "yes" >&6; }
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5708 $as_echo "no, using $LN_S" >&6; }
5711 # find the maximum length of command line arguments
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5713 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5714 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5715 $as_echo_n "(cached) " >&6
5722 # On DJGPP, this test can blow up pretty badly due to problems in libc
5723 # (any single argument exceeding 2000 bytes causes a buffer overrun
5724 # during glob expansion). Even if it were fixed, the result of this
5725 # check would be larger than it should be.
5726 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5730 # Under GNU Hurd, this test is not required because there is
5731 # no limit to the length of command line arguments.
5732 # Libtool will interpret -1 as no limit whatsoever
5733 lt_cv_sys_max_cmd_len
=-1;
5736 cygwin
* | mingw
* | cegcc
*)
5737 # On Win9x/ME, this test blows up -- it succeeds, but takes
5738 # about 5 minutes as the teststring grows exponentially.
5739 # Worse, since 9x/ME are not pre-emptively multitasking,
5740 # you end up with a "frozen" computer, even though with patience
5741 # the test eventually succeeds (with a max line length of 256k).
5742 # Instead, let's just punt: use the minimum linelength reported by
5743 # all of the supported platforms: 8192 (on NT/2K/XP).
5744 lt_cv_sys_max_cmd_len
=8192;
5748 # On MiNT this can take a long time and run out of memory.
5749 lt_cv_sys_max_cmd_len
=8192;
5753 # On AmigaOS with pdksh, this test takes hours, literally.
5754 # So we just punt and use a minimum line length of 8192.
5755 lt_cv_sys_max_cmd_len
=8192;
5758 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5759 # This has been around since 386BSD, at least. Likely further.
5760 if test -x /sbin
/sysctl
; then
5761 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5762 elif test -x /usr
/sbin
/sysctl
; then
5763 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5765 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5767 # And add a safety zone
5768 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5769 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5773 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5774 lt_cv_sys_max_cmd_len
=196608
5778 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5779 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5780 # nice to cause kernel panics so lets avoid the loop below.
5781 # First set a reasonable default.
5782 lt_cv_sys_max_cmd_len
=16384
5784 if test -x /sbin
/sysconfig
; then
5785 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5786 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5791 lt_cv_sys_max_cmd_len
=102400
5793 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5794 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5795 if test -n "$kargmax"; then
5796 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5798 lt_cv_sys_max_cmd_len
=32768
5802 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5803 if test -n "$lt_cv_sys_max_cmd_len"; then
5804 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5805 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5807 # Make teststring a little bigger before we do anything with it.
5808 # a 1K string should be a reasonable start.
5809 for i
in 1 2 3 4 5 6 7 8 ; do
5810 teststring
=$teststring$teststring
5812 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5813 # If test is not a shell built-in, we'll probably end up computing a
5814 # maximum length that is only half of the actual maximum length, but
5816 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5817 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5818 test $i != 17 # 1/2 MB should be enough
5821 teststring
=$teststring$teststring
5823 # Only check the string length outside the loop.
5824 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5826 # Add a significant safety factor because C++ compilers can tack on
5827 # massive amounts of additional arguments before passing them to the
5828 # linker. It appears as though 1/2 is a usable value.
5829 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5836 if test -n $lt_cv_sys_max_cmd_len ; then
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5838 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5841 $as_echo "none" >&6; }
5843 max_cmd_len
=$lt_cv_sys_max_cmd_len
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5855 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5856 # Try some XSI features
5859 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5861 && eval 'test $(( 1 + 1 )) -eq 2 \
5862 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5865 $as_echo "$xsi_shell" >&6; }
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5869 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5871 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5873 && lt_shell_append=yes
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5875 $as_echo "$lt_shell_append" >&6; }
5878 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5888 # test EBCDIC or ASCII
5889 case `echo X|tr X '\101'` in
5890 A) # ASCII based system
5891 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5892 lt_SP2NL='tr \040 \012'
5893 lt_NL2SP='tr \015\012 \040\040'
5895 *) # EBCDIC based system
5896 lt_SP2NL='tr \100 \n'
5897 lt_NL2SP='tr \r\n \100\100'
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5910 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5911 if ${lt_cv_ld_reload_flag+:} false; then :
5912 $as_echo_n "(cached
) " >&6
5914 lt_cv_ld_reload_flag='-r'
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5917 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5918 reload_flag=$lt_cv_ld_reload_flag
5919 case $reload_flag in
5921 *) reload_flag=" $reload_flag" ;;
5923 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5926 if test "$GCC" = yes; then
5927 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5929 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5942 if test -n "$ac_tool_prefix"; then
5943 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5944 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5946 $as_echo_n "checking
for $ac_word...
" >&6; }
5947 if ${ac_cv_prog_OBJDUMP+:} false; then :
5948 $as_echo_n "(cached
) " >&6
5950 if test -n "$OBJDUMP"; then
5951 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5957 test -z "$as_dir" && as_dir=.
5958 for ac_exec_ext in '' $ac_executable_extensions; do
5959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5960 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5961 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5970 OBJDUMP=$ac_cv_prog_OBJDUMP
5971 if test -n "$OBJDUMP"; then
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5973 $as_echo "$OBJDUMP" >&6; }
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5976 $as_echo "no
" >&6; }
5981 if test -z "$ac_cv_prog_OBJDUMP"; then
5982 ac_ct_OBJDUMP=$OBJDUMP
5983 # Extract the first word of "objdump
", so it can be a program name with args.
5984 set dummy objdump; ac_word=$2
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5986 $as_echo_n "checking
for $ac_word...
" >&6; }
5987 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5988 $as_echo_n "(cached
) " >&6
5990 if test -n "$ac_ct_OBJDUMP"; then
5991 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5997 test -z "$as_dir" && as_dir=.
5998 for ac_exec_ext in '' $ac_executable_extensions; do
5999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6000 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6001 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6010 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6011 if test -n "$ac_ct_OBJDUMP"; then
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6013 $as_echo "$ac_ct_OBJDUMP" >&6; }
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6016 $as_echo "no
" >&6; }
6019 if test "x
$ac_ct_OBJDUMP" = x; then
6022 case $cross_compiling:$ac_tool_warned in
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6025 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6026 ac_tool_warned=yes ;;
6028 OBJDUMP=$ac_ct_OBJDUMP
6031 OBJDUMP="$ac_cv_prog_OBJDUMP"
6034 test -z "$OBJDUMP" && OBJDUMP=objdump
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6045 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6046 if ${lt_cv_deplibs_check_method+:} false; then :
6047 $as_echo_n "(cached
) " >&6
6049 lt_cv_file_magic_cmd='$MAGIC_CMD'
6050 lt_cv_file_magic_test_file=
6051 lt_cv_deplibs_check_method='unknown'
6052 # Need to set the preceding variable on all platforms that support
6053 # interlibrary dependencies.
6054 # 'none' -- dependencies not supported.
6055 # `unknown' -- same as none, but documents that we really don't know.
6056 # 'pass_all' -- all dependencies passed with no checks.
6057 # 'test_compile' -- check by making test program.
6058 # 'file_magic [[regex]]' -- check by looking for files in library path
6059 # which responds to the $file_magic_cmd with a given extended regex.
6060 # If you have `file' or equivalent on your system and you're not sure
6061 # whether `pass_all' will *always* work, you probably want this one.
6065 lt_cv_deplibs_check_method=pass_all
6069 lt_cv_deplibs_check_method=pass_all
6073 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6074 lt_cv_file_magic_cmd='/usr/bin/file -L'
6075 lt_cv_file_magic_test_file=/shlib/libc.so
6079 # func_win32_libid is a shell function defined in ltmain.sh
6080 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6081 lt_cv_file_magic_cmd='func_win32_libid'
6085 # Base MSYS/MinGW do not provide the 'file' command needed by
6086 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6087 # unless we find 'file', for example because we are cross-compiling.
6088 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6089 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6090 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6091 lt_cv_file_magic_cmd='func_win32_libid'
6093 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6094 lt_cv_file_magic_cmd='$OBJDUMP -f'
6099 # use the weaker test based on 'objdump'. See mingw*.
6100 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6101 lt_cv_file_magic_cmd='$OBJDUMP -f'
6104 darwin* | rhapsody*)
6105 lt_cv_deplibs_check_method=pass_all
6108 freebsd* | dragonfly*)
6109 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6112 # Not sure whether the presence of OpenBSD here was a mistake.
6113 # Let's accept both of them until this is cleared up.
6114 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6115 lt_cv_file_magic_cmd=/usr/bin/file
6116 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6120 lt_cv_deplibs_check_method=pass_all
6125 lt_cv_deplibs_check_method=pass_all
6129 lt_cv_deplibs_check_method=pass_all
6132 hpux10.20* | hpux11*)
6133 lt_cv_file_magic_cmd=/usr/bin/file
6136 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6137 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6140 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]'
6141 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6144 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6145 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6151 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6152 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6155 irix5* | irix6* | nonstopux*)
6157 *-32|*"-32 ") libmagic=32-bit;;
6158 *-n32|*"-n32 ") libmagic=N32;;
6159 *-64|*"-64 ") libmagic=64-bit;;
6160 *) libmagic=never-match;;
6162 lt_cv_deplibs_check_method=pass_all
6165 # This must be Linux ELF.
6166 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6167 lt_cv_deplibs_check_method=pass_all
6171 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6172 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6174 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6179 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6180 lt_cv_file_magic_cmd=/usr/bin/file
6181 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6185 lt_cv_deplibs_check_method=pass_all
6189 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6190 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6192 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6196 osf3* | osf4* | osf5*)
6197 lt_cv_deplibs_check_method=pass_all
6201 lt_cv_deplibs_check_method=pass_all
6205 lt_cv_deplibs_check_method=pass_all
6208 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6209 lt_cv_deplibs_check_method=pass_all
6213 case $host_vendor in
6215 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]'
6216 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6219 lt_cv_deplibs_check_method=pass_all
6222 lt_cv_file_magic_cmd='/bin/file'
6223 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6226 lt_cv_file_magic_cmd='/bin/file'
6227 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6228 lt_cv_file_magic_test_file=/lib/libc.so
6231 lt_cv_deplibs_check_method=pass_all
6234 lt_cv_deplibs_check_method=pass_all
6240 lt_cv_deplibs_check_method=pass_all
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6246 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6247 file_magic_cmd=$lt_cv_file_magic_cmd
6248 deplibs_check_method=$lt_cv_deplibs_check_method
6249 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6262 if test -n "$ac_tool_prefix"; then
6263 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6264 set dummy ${ac_tool_prefix}ar; ac_word=$2
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6266 $as_echo_n "checking
for $ac_word...
" >&6; }
6267 if ${ac_cv_prog_AR+:} false; then :
6268 $as_echo_n "(cached
) " >&6
6270 if test -n "$AR"; then
6271 ac_cv_prog_AR="$AR" # Let the user override the test.
6273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6277 test -z "$as_dir" && as_dir=.
6278 for ac_exec_ext in '' $ac_executable_extensions; do
6279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6280 ac_cv_prog_AR="${ac_tool_prefix}ar"
6281 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6291 if test -n "$AR"; then
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6293 $as_echo "$AR" >&6; }
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6296 $as_echo "no
" >&6; }
6301 if test -z "$ac_cv_prog_AR"; then
6303 # Extract the first word of "ar", so it can be a program name with args.
6304 set dummy ar; ac_word=$2
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6306 $as_echo_n "checking
for $ac_word...
" >&6; }
6307 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6308 $as_echo_n "(cached
) " >&6
6310 if test -n "$ac_ct_AR"; then
6311 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6317 test -z "$as_dir" && as_dir=.
6318 for ac_exec_ext in '' $ac_executable_extensions; do
6319 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6320 ac_cv_prog_ac_ct_AR="ar"
6321 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6330 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6331 if test -n "$ac_ct_AR"; then
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6333 $as_echo "$ac_ct_AR" >&6; }
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6336 $as_echo "no
" >&6; }
6339 if test "x
$ac_ct_AR" = x; then
6342 case $cross_compiling:$ac_tool_warned in
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6345 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6346 ac_tool_warned=yes ;;
6354 test -z "$AR" && AR=ar
6355 test -z "$AR_FLAGS" && AR_FLAGS=cru
6367 if test -n "$ac_tool_prefix"; then
6368 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6369 set dummy ${ac_tool_prefix}strip; ac_word=$2
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6371 $as_echo_n "checking
for $ac_word...
" >&6; }
6372 if ${ac_cv_prog_STRIP+:} false; then :
6373 $as_echo_n "(cached
) " >&6
6375 if test -n "$STRIP"; then
6376 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6382 test -z "$as_dir" && as_dir=.
6383 for ac_exec_ext in '' $ac_executable_extensions; do
6384 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6385 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6386 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6395 STRIP=$ac_cv_prog_STRIP
6396 if test -n "$STRIP"; then
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6398 $as_echo "$STRIP" >&6; }
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6401 $as_echo "no
" >&6; }
6406 if test -z "$ac_cv_prog_STRIP"; then
6408 # Extract the first word of "strip
", so it can be a program name with args.
6409 set dummy strip; ac_word=$2
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6411 $as_echo_n "checking
for $ac_word...
" >&6; }
6412 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6413 $as_echo_n "(cached
) " >&6
6415 if test -n "$ac_ct_STRIP"; then
6416 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6422 test -z "$as_dir" && as_dir=.
6423 for ac_exec_ext in '' $ac_executable_extensions; do
6424 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6425 ac_cv_prog_ac_ct_STRIP="strip
"
6426 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6435 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6436 if test -n "$ac_ct_STRIP"; then
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6438 $as_echo "$ac_ct_STRIP" >&6; }
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6441 $as_echo "no
" >&6; }
6444 if test "x
$ac_ct_STRIP" = x; then
6447 case $cross_compiling:$ac_tool_warned in
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6450 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6451 ac_tool_warned=yes ;;
6456 STRIP="$ac_cv_prog_STRIP"
6459 test -z "$STRIP" && STRIP=:
6466 if test -n "$ac_tool_prefix"; then
6467 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6468 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6470 $as_echo_n "checking
for $ac_word...
" >&6; }
6471 if ${ac_cv_prog_RANLIB+:} false; then :
6472 $as_echo_n "(cached
) " >&6
6474 if test -n "$RANLIB"; then
6475 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6481 test -z "$as_dir" && as_dir=.
6482 for ac_exec_ext in '' $ac_executable_extensions; do
6483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6484 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6485 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6494 RANLIB=$ac_cv_prog_RANLIB
6495 if test -n "$RANLIB"; then
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6497 $as_echo "$RANLIB" >&6; }
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6500 $as_echo "no
" >&6; }
6505 if test -z "$ac_cv_prog_RANLIB"; then
6506 ac_ct_RANLIB=$RANLIB
6507 # Extract the first word of "ranlib
", so it can be a program name with args.
6508 set dummy ranlib; ac_word=$2
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6510 $as_echo_n "checking
for $ac_word...
" >&6; }
6511 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6512 $as_echo_n "(cached
) " >&6
6514 if test -n "$ac_ct_RANLIB"; then
6515 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6521 test -z "$as_dir" && as_dir=.
6522 for ac_exec_ext in '' $ac_executable_extensions; do
6523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6524 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6525 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6534 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6535 if test -n "$ac_ct_RANLIB"; then
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6537 $as_echo "$ac_ct_RANLIB" >&6; }
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6540 $as_echo "no
" >&6; }
6543 if test "x
$ac_ct_RANLIB" = x; then
6546 case $cross_compiling:$ac_tool_warned in
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6549 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6550 ac_tool_warned=yes ;;
6552 RANLIB=$ac_ct_RANLIB
6555 RANLIB="$ac_cv_prog_RANLIB"
6558 test -z "$RANLIB" && RANLIB=:
6565 # Determine commands to create old-style static archives.
6566 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6567 old_postinstall_cmds='chmod 644 $oldlib'
6568 old_postuninstall_cmds=
6570 if test -n "$RANLIB"; then
6573 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6576 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6579 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6584 lock_old_archive_extraction=yes ;;
6586 lock_old_archive_extraction=no ;;
6627 # If no C compiler was specified, use CC.
6630 # If no C compiler flags were specified, use CFLAGS.
6631 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6633 # Allow CC to be a program name with arguments.
6637 # Check for command to grab the raw symbol name followed by C symbol from nm.
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6639 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6640 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6641 $as_echo_n "(cached
) " >&6
6644 # These are sane defaults that work on at least a few old systems.
6645 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6647 # Character class describing NM global symbol codes.
6648 symcode='[BCDEGRST]'
6650 # Regexp to match symbols that can be accessed directly from C.
6651 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6653 # Define system-specific variables.
6658 cygwin* | mingw* | pw32* | cegcc*)
6659 symcode='[ABCDGISTW]'
6662 if test "$host_cpu" = ia64; then
6663 symcode='[ABCDEGRST]'
6667 symcode='[BCDEGRST]'
6670 symcode='[BCDEGQRST]'
6681 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6689 # If we're using GNU nm, then use its standard symbol codes.
6690 case `$NM -V 2>&1` in
6691 *GNU* | *'with BFD'*)
6692 symcode='[ABCDGIRSTW]' ;;
6695 # Transform an extracted symbol line into a proper C declaration.
6696 # Some systems (esp. on ia64) link data and code symbols differently,
6697 # so use this general approach.
6698 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6700 # Transform an extracted symbol line into symbol name and symbol address
6701 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6702 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'"
6704 # Handle CRLF in mingw tool chain
6708 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6712 # Try without a prefix underscore, then with it.
6713 for ac_symprfx in "" "_
"; do
6715 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6716 symxfrm="\\1 $ac_symprfx\\2 \\2"
6718 # Write the raw and C identifiers.
6719 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6720 # Fake it for dumpbin and say T for any non-static function
6721 # and D for any global variable.
6722 # Also find C++ and __fastcall symbols from MSVC++,
6723 # which start with @ or ?.
6724 lt_cv_sys_global_symbol_pipe="$AWK '"\
6725 " {last_section=section; section=\$ 3};"\
6726 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6727 " \$ 0!~/External *\|/{next};"\
6728 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6729 " {if(hide[section]) next};"\
6730 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6731 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6732 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6733 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6734 " ' prfx
=^
$ac_symprfx"
6736 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6739 # Check to see that the pipe works correctly.
6743 cat > conftest.$ac_ext <<_LT_EOF
6748 void nm_test_func(void);
6749 void nm_test_func(void){}
6753 int main(){nm_test_var='a';nm_test_func();return(0);}
6756 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6757 (eval $ac_compile) 2>&5
6759 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6760 test $ac_status = 0; }; then
6761 # Now try to grab the symbols.
6763 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6764 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6766 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6767 test $ac_status = 0; } && test -s "$nlist"; then
6768 # Try sorting and uniquifying the output.
6769 if sort "$nlist" | uniq > "$nlist"T; then
6770 mv -f "$nlist"T "$nlist"
6775 # Make sure that we snagged all the symbols we need.
6776 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6777 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6778 cat <<_LT_EOF > conftest.$ac_ext
6784 # Now generate the symbol file.
6785 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6787 cat <<_LT_EOF >> conftest.$ac_ext
6789 /* The mapping between symbol names and symbols. */
6794 lt__PROGRAM__LTX_preloaded_symbols[] =
6796 { "@PROGRAM@
", (void *) 0 },
6798 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6799 cat <<\_LT_EOF >> conftest.$ac_ext
6803 /* This works around a problem in FreeBSD linker */
6804 #ifdef FREEBSD_WORKAROUND
6805 static const void *lt_preloaded_setup() {
6806 return lt__PROGRAM__LTX_preloaded_symbols;
6814 # Now try linking the two files.
6815 mv conftest.$ac_objext conftstm.$ac_objext
6816 lt_save_LIBS="$LIBS"
6817 lt_save_CFLAGS="$CFLAGS"
6818 LIBS="conftstm.
$ac_objext"
6819 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6820 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6821 (eval $ac_link) 2>&5
6823 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6824 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6827 LIBS="$lt_save_LIBS"
6828 CFLAGS="$lt_save_CFLAGS"
6830 echo "cannot
find nm_test_func
in $nlist" >&5
6833 echo "cannot
find nm_test_var
in $nlist" >&5
6836 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6839 echo "$progname: failed program was
:" >&5
6840 cat conftest.$ac_ext >&5
6842 rm -rf conftest* conftst*
6844 # Do not use the global_symbol_pipe unless it works.
6845 if test "$pipe_works" = yes; then
6848 lt_cv_sys_global_symbol_pipe=
6854 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6855 lt_cv_sys_global_symbol_to_cdecl=
6857 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6859 $as_echo "failed
" >&6; }
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6862 $as_echo "ok
" >&6; }
6887 # Check whether --enable-libtool-lock was given.
6888 if test "${enable_libtool_lock+set}" = set; then :
6889 enableval=$enable_libtool_lock;
6892 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6894 # Some flags need to be propagated to the compiler or linker for good
6898 # Find out which ABI we are using.
6899 echo 'int i;' > conftest.$ac_ext
6900 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6901 (eval $ac_compile) 2>&5
6903 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6904 test $ac_status = 0; }; then
6905 case `/usr/bin/file conftest.$ac_objext` in
6917 # Find out which ABI we are using.
6918 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6919 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6920 (eval $ac_compile) 2>&5
6922 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6923 test $ac_status = 0; }; then
6924 if test "$lt_cv_prog_gnu_ld" = yes; then
6925 case `/usr/bin/file conftest.$ac_objext` in
6927 LD="${LD-ld} -melf32bsmip"
6930 LD="${LD-ld} -melf32bmipn32"
6933 LD="${LD-ld} -melf64bmip"
6937 case `/usr/bin/file conftest.$ac_objext` in
6953 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6954 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6955 # Find out which ABI we are using.
6956 echo 'int i;' > conftest.$ac_ext
6957 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6958 (eval $ac_compile) 2>&5
6960 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6961 test $ac_status = 0; }; then
6962 case `/usr/bin/file conftest.o` in
6965 x86_64-*kfreebsd*-gnu)
6966 LD="${LD-ld} -m elf_i386_fbsd
"
6969 case `/usr/bin/file conftest.o` in
6971 LD="${LD-ld} -m elf32_x86_64
"
6974 LD="${LD-ld} -m elf_i386
"
6978 powerpc64le-*linux*)
6979 LD="${LD-ld} -m elf32lppclinux
"
6982 LD="${LD-ld} -m elf32ppclinux
"
6985 LD="${LD-ld} -m elf_s390
"
6988 LD="${LD-ld} -m elf32_sparc
"
6994 x86_64-*kfreebsd*-gnu)
6995 LD="${LD-ld} -m elf_x86_64_fbsd
"
6998 LD="${LD-ld} -m elf_x86_64
"
7001 LD="${LD-ld} -m elf64lppc
"
7004 LD="${LD-ld} -m elf64ppc
"
7006 s390*-*linux*|s390*-*tpf*)
7007 LD="${LD-ld} -m elf64_s390
"
7010 LD="${LD-ld} -m elf64_sparc
"
7020 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7021 SAVE_CFLAGS="$CFLAGS"
7022 CFLAGS="$CFLAGS -belf"
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7024 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7025 if ${lt_cv_cc_needs_belf+:} false; then :
7026 $as_echo_n "(cached
) " >&6
7029 ac_cpp='$CPP $CPPFLAGS'
7030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7035 /* end confdefs.h. */
7045 if ac_fn_c_try_link "$LINENO"; then :
7046 lt_cv_cc_needs_belf=yes
7048 lt_cv_cc_needs_belf=no
7050 rm -f core conftest.err conftest.$ac_objext \
7051 conftest$ac_exeext conftest.$ac_ext
7053 ac_cpp='$CPP $CPPFLAGS'
7054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7060 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7061 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7062 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7063 CFLAGS="$SAVE_CFLAGS"
7067 # Find out which ABI we are using.
7068 echo 'int i;' > conftest.$ac_ext
7069 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7070 (eval $ac_compile) 2>&5
7072 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7073 test $ac_status = 0; }; then
7074 case `/usr/bin/file conftest.o` in
7076 case $lt_cv_prog_gnu_ld in
7077 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7079 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7091 need_locks="$enable_libtool_lock"
7095 rhapsody* | darwin*)
7096 if test -n "$ac_tool_prefix"; then
7097 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7098 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7100 $as_echo_n "checking
for $ac_word...
" >&6; }
7101 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7102 $as_echo_n "(cached
) " >&6
7104 if test -n "$DSYMUTIL"; then
7105 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7111 test -z "$as_dir" && as_dir=.
7112 for ac_exec_ext in '' $ac_executable_extensions; do
7113 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7114 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7115 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7124 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7125 if test -n "$DSYMUTIL"; then
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7127 $as_echo "$DSYMUTIL" >&6; }
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7130 $as_echo "no
" >&6; }
7135 if test -z "$ac_cv_prog_DSYMUTIL"; then
7136 ac_ct_DSYMUTIL=$DSYMUTIL
7137 # Extract the first word of "dsymutil
", so it can be a program name with args.
7138 set dummy dsymutil; ac_word=$2
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7140 $as_echo_n "checking
for $ac_word...
" >&6; }
7141 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7142 $as_echo_n "(cached
) " >&6
7144 if test -n "$ac_ct_DSYMUTIL"; then
7145 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7151 test -z "$as_dir" && as_dir=.
7152 for ac_exec_ext in '' $ac_executable_extensions; do
7153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7154 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7155 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7164 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7165 if test -n "$ac_ct_DSYMUTIL"; then
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7167 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7170 $as_echo "no
" >&6; }
7173 if test "x
$ac_ct_DSYMUTIL" = x; then
7176 case $cross_compiling:$ac_tool_warned in
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7179 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7180 ac_tool_warned=yes ;;
7182 DSYMUTIL=$ac_ct_DSYMUTIL
7185 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7188 if test -n "$ac_tool_prefix"; then
7189 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7190 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7192 $as_echo_n "checking
for $ac_word...
" >&6; }
7193 if ${ac_cv_prog_NMEDIT+:} false; then :
7194 $as_echo_n "(cached
) " >&6
7196 if test -n "$NMEDIT"; then
7197 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7203 test -z "$as_dir" && as_dir=.
7204 for ac_exec_ext in '' $ac_executable_extensions; do
7205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7206 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7207 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7216 NMEDIT=$ac_cv_prog_NMEDIT
7217 if test -n "$NMEDIT"; then
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7219 $as_echo "$NMEDIT" >&6; }
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7222 $as_echo "no
" >&6; }
7227 if test -z "$ac_cv_prog_NMEDIT"; then
7228 ac_ct_NMEDIT=$NMEDIT
7229 # Extract the first word of "nmedit
", so it can be a program name with args.
7230 set dummy nmedit; ac_word=$2
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7232 $as_echo_n "checking
for $ac_word...
" >&6; }
7233 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7234 $as_echo_n "(cached
) " >&6
7236 if test -n "$ac_ct_NMEDIT"; then
7237 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7243 test -z "$as_dir" && as_dir=.
7244 for ac_exec_ext in '' $ac_executable_extensions; do
7245 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7246 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7247 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7256 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7257 if test -n "$ac_ct_NMEDIT"; then
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7259 $as_echo "$ac_ct_NMEDIT" >&6; }
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7262 $as_echo "no
" >&6; }
7265 if test "x
$ac_ct_NMEDIT" = x; then
7268 case $cross_compiling:$ac_tool_warned in
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7271 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7272 ac_tool_warned=yes ;;
7274 NMEDIT=$ac_ct_NMEDIT
7277 NMEDIT="$ac_cv_prog_NMEDIT"
7280 if test -n "$ac_tool_prefix"; then
7281 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7282 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7284 $as_echo_n "checking
for $ac_word...
" >&6; }
7285 if ${ac_cv_prog_LIPO+:} false; then :
7286 $as_echo_n "(cached
) " >&6
7288 if test -n "$LIPO"; then
7289 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7295 test -z "$as_dir" && as_dir=.
7296 for ac_exec_ext in '' $ac_executable_extensions; do
7297 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7298 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7299 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7308 LIPO=$ac_cv_prog_LIPO
7309 if test -n "$LIPO"; then
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7311 $as_echo "$LIPO" >&6; }
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7314 $as_echo "no
" >&6; }
7319 if test -z "$ac_cv_prog_LIPO"; then
7321 # Extract the first word of "lipo
", so it can be a program name with args.
7322 set dummy lipo; ac_word=$2
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7324 $as_echo_n "checking
for $ac_word...
" >&6; }
7325 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7326 $as_echo_n "(cached
) " >&6
7328 if test -n "$ac_ct_LIPO"; then
7329 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7335 test -z "$as_dir" && as_dir=.
7336 for ac_exec_ext in '' $ac_executable_extensions; do
7337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7338 ac_cv_prog_ac_ct_LIPO="lipo
"
7339 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7348 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7349 if test -n "$ac_ct_LIPO"; then
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7351 $as_echo "$ac_ct_LIPO" >&6; }
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7354 $as_echo "no
" >&6; }
7357 if test "x
$ac_ct_LIPO" = x; then
7360 case $cross_compiling:$ac_tool_warned in
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7363 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7364 ac_tool_warned=yes ;;
7369 LIPO="$ac_cv_prog_LIPO"
7372 if test -n "$ac_tool_prefix"; then
7373 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7374 set dummy ${ac_tool_prefix}otool; ac_word=$2
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7376 $as_echo_n "checking
for $ac_word...
" >&6; }
7377 if ${ac_cv_prog_OTOOL+:} false; then :
7378 $as_echo_n "(cached
) " >&6
7380 if test -n "$OTOOL"; then
7381 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7387 test -z "$as_dir" && as_dir=.
7388 for ac_exec_ext in '' $ac_executable_extensions; do
7389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7390 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7391 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7400 OTOOL=$ac_cv_prog_OTOOL
7401 if test -n "$OTOOL"; then
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7403 $as_echo "$OTOOL" >&6; }
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7406 $as_echo "no
" >&6; }
7411 if test -z "$ac_cv_prog_OTOOL"; then
7413 # Extract the first word of "otool
", so it can be a program name with args.
7414 set dummy otool; ac_word=$2
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7416 $as_echo_n "checking
for $ac_word...
" >&6; }
7417 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7418 $as_echo_n "(cached
) " >&6
7420 if test -n "$ac_ct_OTOOL"; then
7421 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7427 test -z "$as_dir" && as_dir=.
7428 for ac_exec_ext in '' $ac_executable_extensions; do
7429 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7430 ac_cv_prog_ac_ct_OTOOL="otool
"
7431 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7440 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7441 if test -n "$ac_ct_OTOOL"; then
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7443 $as_echo "$ac_ct_OTOOL" >&6; }
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7446 $as_echo "no
" >&6; }
7449 if test "x
$ac_ct_OTOOL" = x; then
7452 case $cross_compiling:$ac_tool_warned in
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7455 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7456 ac_tool_warned=yes ;;
7461 OTOOL="$ac_cv_prog_OTOOL"
7464 if test -n "$ac_tool_prefix"; then
7465 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7466 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7468 $as_echo_n "checking
for $ac_word...
" >&6; }
7469 if ${ac_cv_prog_OTOOL64+:} false; then :
7470 $as_echo_n "(cached
) " >&6
7472 if test -n "$OTOOL64"; then
7473 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7479 test -z "$as_dir" && as_dir=.
7480 for ac_exec_ext in '' $ac_executable_extensions; do
7481 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7482 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7483 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7492 OTOOL64=$ac_cv_prog_OTOOL64
7493 if test -n "$OTOOL64"; then
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7495 $as_echo "$OTOOL64" >&6; }
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7498 $as_echo "no
" >&6; }
7503 if test -z "$ac_cv_prog_OTOOL64"; then
7504 ac_ct_OTOOL64=$OTOOL64
7505 # Extract the first word of "otool64
", so it can be a program name with args.
7506 set dummy otool64; ac_word=$2
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7508 $as_echo_n "checking
for $ac_word...
" >&6; }
7509 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7510 $as_echo_n "(cached
) " >&6
7512 if test -n "$ac_ct_OTOOL64"; then
7513 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7519 test -z "$as_dir" && as_dir=.
7520 for ac_exec_ext in '' $ac_executable_extensions; do
7521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7522 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7523 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7532 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7533 if test -n "$ac_ct_OTOOL64"; then
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7535 $as_echo "$ac_ct_OTOOL64" >&6; }
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7538 $as_echo "no
" >&6; }
7541 if test "x
$ac_ct_OTOOL64" = x; then
7544 case $cross_compiling:$ac_tool_warned in
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7547 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7548 ac_tool_warned=yes ;;
7550 OTOOL64=$ac_ct_OTOOL64
7553 OTOOL64="$ac_cv_prog_OTOOL64"
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7583 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7584 if ${lt_cv_apple_cc_single_mod+:} false; then :
7585 $as_echo_n "(cached
) " >&6
7587 lt_cv_apple_cc_single_mod=no
7588 if test -z "${LT_MULTI_MODULE}"; then
7589 # By default we will add the -single_module flag. You can override
7590 # by either setting the environment variable LT_MULTI_MODULE
7591 # non-empty at configure time, or by adding -multi_module to the
7593 rm -rf libconftest.dylib*
7594 echo "int foo
(void
){return 1;}" > conftest.c
7595 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7596 -dynamiclib -Wl,-single_module conftest.c
" >&5
7597 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7598 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7600 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7601 lt_cv_apple_cc_single_mod=yes
7603 cat conftest.err >&5
7605 rm -rf libconftest.dylib*
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7610 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7612 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7613 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7614 $as_echo_n "(cached
) " >&6
7616 lt_cv_ld_exported_symbols_list=no
7617 save_LDFLAGS=$LDFLAGS
7618 echo "_main
" > conftest.sym
7619 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7621 /* end confdefs.h. */
7631 if ac_fn_c_try_link "$LINENO"; then :
7632 lt_cv_ld_exported_symbols_list=yes
7634 lt_cv_ld_exported_symbols_list=no
7636 rm -f core conftest.err conftest.$ac_objext \
7637 conftest$ac_exeext conftest.$ac_ext
7638 LDFLAGS="$save_LDFLAGS"
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7642 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7644 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7645 if ${lt_cv_ld_force_load+:} false; then :
7646 $as_echo_n "(cached
) " >&6
7648 lt_cv_ld_force_load=no
7649 cat > conftest.c << _LT_EOF
7650 int forced_loaded() { return 2;}
7652 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7653 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7654 echo "$AR cru libconftest.a conftest.o
" >&5
7655 $AR cru libconftest.a conftest.o 2>&5
7656 cat > conftest.c << _LT_EOF
7657 int main() { return 0;}
7659 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7660 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7662 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7663 lt_cv_ld_force_load=yes
7665 cat conftest.err >&5
7667 rm -f conftest.err libconftest.a conftest conftest.c
7668 rm -rf conftest.dSYM
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7672 $as_echo "$lt_cv_ld_force_load" >&6; }
7674 rhapsody* | darwin1.[012])
7675 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7677 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7678 darwin*) # darwin 5.x on
7679 # if running on 10.5 or later, the deployment target defaults
7680 # to the OS version, if on x86, and 10.4, the deployment
7681 # target defaults to 10.4. Don't you love it?
7682 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7683 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7684 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7686 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7688 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7692 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7693 _lt_dar_single_mod='$single_module'
7695 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7696 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7698 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7700 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7701 _lt_dsymutil='~$DSYMUTIL $lib || :'
7709 ac_cpp='$CPP $CPPFLAGS'
7710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7714 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7715 # On Suns, sometimes $CPP names a directory.
7716 if test -n "$CPP" && test -d "$CPP"; then
7719 if test -z "$CPP"; then
7720 if ${ac_cv_prog_CPP+:} false; then :
7721 $as_echo_n "(cached
) " >&6
7723 # Double quotes because CPP needs to be expanded
7724 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7727 for ac_c_preproc_warn_flag in '' yes
7729 # Use a header file that comes with gcc, so configuring glibc
7730 # with a fresh cross-compiler works.
7731 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7732 # <limits.h> exists even on freestanding compilers.
7733 # On the NeXT, cc -E runs the code through the compiler's parser,
7734 # not just through cpp. "Syntax error
" is here to catch this case.
7735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7736 /* end confdefs.h. */
7738 # include <limits.h>
7740 # include <assert.h>
7744 if ac_fn_c_try_cpp "$LINENO"; then :
7747 # Broken: fails on valid input.
7750 rm -f conftest.err conftest.i conftest.$ac_ext
7752 # OK, works on sane cases. Now check whether nonexistent headers
7753 # can be detected and how.
7754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7755 /* end confdefs.h. */
7756 #include <ac_nonexistent.h>
7758 if ac_fn_c_try_cpp "$LINENO"; then :
7759 # Broken: success on invalid input.
7762 # Passes both tests.
7766 rm -f conftest.err conftest.i conftest.$ac_ext
7769 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7770 rm -f conftest.i conftest.err conftest.$ac_ext
7771 if $ac_preproc_ok; then :
7783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7784 $as_echo "$CPP" >&6; }
7786 for ac_c_preproc_warn_flag in '' yes
7788 # Use a header file that comes with gcc, so configuring glibc
7789 # with a fresh cross-compiler works.
7790 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7791 # <limits.h> exists even on freestanding compilers.
7792 # On the NeXT, cc -E runs the code through the compiler's parser,
7793 # not just through cpp. "Syntax error
" is here to catch this case.
7794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7795 /* end confdefs.h. */
7797 # include <limits.h>
7799 # include <assert.h>
7803 if ac_fn_c_try_cpp "$LINENO"; then :
7806 # Broken: fails on valid input.
7809 rm -f conftest.err conftest.i conftest.$ac_ext
7811 # OK, works on sane cases. Now check whether nonexistent headers
7812 # can be detected and how.
7813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7814 /* end confdefs.h. */
7815 #include <ac_nonexistent.h>
7817 if ac_fn_c_try_cpp "$LINENO"; then :
7818 # Broken: success on invalid input.
7821 # Passes both tests.
7825 rm -f conftest.err conftest.i conftest.$ac_ext
7828 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7829 rm -f conftest.i conftest.err conftest.$ac_ext
7830 if $ac_preproc_ok; then :
7833 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7834 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7835 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7836 See \`config.log' for more details
" "$LINENO" 5; }
7840 ac_cpp='$CPP $CPPFLAGS'
7841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7847 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7848 if ${ac_cv_header_stdc+:} false; then :
7849 $as_echo_n "(cached
) " >&6
7851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7852 /* end confdefs.h. */
7866 if ac_fn_c_try_compile "$LINENO"; then :
7867 ac_cv_header_stdc=yes
7869 ac_cv_header_stdc=no
7871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7873 if test $ac_cv_header_stdc = yes; then
7874 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7876 /* end confdefs.h. */
7880 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7881 $EGREP "memchr
" >/dev/null 2>&1; then :
7884 ac_cv_header_stdc=no
7890 if test $ac_cv_header_stdc = yes; then
7891 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7893 /* end confdefs.h. */
7897 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7898 $EGREP "free
" >/dev/null 2>&1; then :
7901 ac_cv_header_stdc=no
7907 if test $ac_cv_header_stdc = yes; then
7908 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7909 if test "$cross_compiling" = yes; then :
7912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7913 /* end confdefs.h. */
7916 #if ((' ' & 0x0FF) == 0x020)
7917 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7918 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7920 # define ISLOWER(c) \
7921 (('a' <= (c) && (c) <= 'i') \
7922 || ('j' <= (c) && (c) <= 'r') \
7923 || ('s' <= (c) && (c) <= 'z'))
7924 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7927 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7932 for (i = 0; i < 256; i++)
7933 if (XOR (islower (i), ISLOWER (i))
7934 || toupper (i) != TOUPPER (i))
7939 if ac_fn_c_try_run "$LINENO"; then :
7942 ac_cv_header_stdc=no
7944 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7945 conftest.$ac_objext conftest.beam conftest.$ac_ext
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7951 $as_echo "$ac_cv_header_stdc" >&6; }
7952 if test $ac_cv_header_stdc = yes; then
7954 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7958 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7959 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7960 inttypes.h stdint.h unistd.h
7962 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7963 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7965 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7966 cat >>confdefs.h
<<_ACEOF
7967 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7975 for ac_header
in dlfcn.h
7977 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7979 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7980 cat >>confdefs.h
<<_ACEOF
7981 #define HAVE_DLFCN_H 1
7988 if test -n "$ac_tool_prefix"; then
7989 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
7990 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7992 $as_echo_n "checking for $ac_word... " >&6; }
7993 if ${ac_cv_prog_GOC+:} false
; then :
7994 $as_echo_n "(cached) " >&6
7996 if test -n "$GOC"; then
7997 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
7999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8003 test -z "$as_dir" && as_dir
=.
8004 for ac_exec_ext
in '' $ac_executable_extensions; do
8005 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8006 ac_cv_prog_GOC
="${ac_tool_prefix}gccgo"
8007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8017 if test -n "$GOC"; then
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
8019 $as_echo "$GOC" >&6; }
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8022 $as_echo "no" >&6; }
8027 if test -z "$ac_cv_prog_GOC"; then
8029 # Extract the first word of "gccgo", so it can be a program name with args.
8030 set dummy gccgo
; ac_word
=$2
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8032 $as_echo_n "checking for $ac_word... " >&6; }
8033 if ${ac_cv_prog_ac_ct_GOC+:} false
; then :
8034 $as_echo_n "(cached) " >&6
8036 if test -n "$ac_ct_GOC"; then
8037 ac_cv_prog_ac_ct_GOC
="$ac_ct_GOC" # Let the user override the test.
8039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8043 test -z "$as_dir" && as_dir
=.
8044 for ac_exec_ext
in '' $ac_executable_extensions; do
8045 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8046 ac_cv_prog_ac_ct_GOC
="gccgo"
8047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8056 ac_ct_GOC
=$ac_cv_prog_ac_ct_GOC
8057 if test -n "$ac_ct_GOC"; then
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
8059 $as_echo "$ac_ct_GOC" >&6; }
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8062 $as_echo "no" >&6; }
8065 if test "x$ac_ct_GOC" = x
; then
8068 case $cross_compiling:$ac_tool_warned in
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8071 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8072 ac_tool_warned
=yes ;;
8077 GOC
="$ac_cv_prog_GOC"
8093 # Check whether --enable-shared was given.
8094 if test "${enable_shared+set}" = set; then :
8095 enableval
=$enable_shared; p
=${PACKAGE-default}
8097 yes) enable_shared
=yes ;;
8098 no
) enable_shared
=no
;;
8101 # Look at the argument we got. We use all the common list separators.
8102 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8103 for pkg
in $enableval; do
8105 if test "X$pkg" = "X$p"; then
8124 # Check whether --enable-static was given.
8125 if test "${enable_static+set}" = set; then :
8126 enableval
=$enable_static; p
=${PACKAGE-default}
8128 yes) enable_static
=yes ;;
8129 no
) enable_static
=no
;;
8132 # Look at the argument we got. We use all the common list separators.
8133 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8134 for pkg
in $enableval; do
8136 if test "X$pkg" = "X$p"; then
8156 # Check whether --with-pic was given.
8157 if test "${with_pic+set}" = set; then :
8158 withval
=$with_pic; pic_mode
="$withval"
8164 test -z "$pic_mode" && pic_mode
=default
8172 # Check whether --enable-fast-install was given.
8173 if test "${enable_fast_install+set}" = set; then :
8174 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8176 yes) enable_fast_install
=yes ;;
8177 no
) enable_fast_install
=no
;;
8179 enable_fast_install
=no
8180 # Look at the argument we got. We use all the common list separators.
8181 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8182 for pkg
in $enableval; do
8184 if test "X$pkg" = "X$p"; then
8185 enable_fast_install
=yes
8192 enable_fast_install
=yes
8205 # This can be used to rebuild libtool when needed
8206 LIBTOOL_DEPS
="$ltmain"
8208 # Always use our own libtool.
8209 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8236 test -z "$LN_S" && LN_S
="ln -s"
8251 if test -n "${ZSH_VERSION+set}" ; then
8252 setopt NO_GLOB_SUBST
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8256 $as_echo_n "checking for objdir... " >&6; }
8257 if ${lt_cv_objdir+:} false
; then :
8258 $as_echo_n "(cached) " >&6
8260 rm -f .libs
2>/dev
/null
8261 mkdir .libs
2>/dev
/null
8262 if test -d .libs
; then
8265 # MS-DOS does not allow filenames that begin with a dot.
8268 rmdir .libs
2>/dev
/null
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8271 $as_echo "$lt_cv_objdir" >&6; }
8272 objdir
=$lt_cv_objdir
8278 cat >>confdefs.h
<<_ACEOF
8279 #define LT_OBJDIR "$lt_cv_objdir/"
8287 # AIX sometimes has problems with the GCC collect2 program. For some
8288 # reason, if we set the COLLECT_NAMES environment variable, the problems
8289 # vanish in a puff of smoke.
8290 if test "X${COLLECT_NAMES+set}" != Xset
; then
8292 export COLLECT_NAMES
8299 can_build_shared
=yes
8301 # All known linkers require a `.a' archive for static linking (except MSVC,
8302 # which needs '.lib').
8305 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8308 old_CFLAGS
="$CFLAGS"
8310 # Set sane defaults for various variables
8311 test -z "$CC" && CC
=cc
8312 test -z "$LTCC" && LTCC
=$CC
8313 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8314 test -z "$LD" && LD
=ld
8315 test -z "$ac_objext" && ac_objext
=o
8317 for cc_temp
in $compiler""; do
8319 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8320 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8325 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8328 # Only perform the check for file, if the check method requires it
8329 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8330 case $deplibs_check_method in
8332 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8334 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8335 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8336 $as_echo_n "(cached) " >&6
8340 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8343 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8344 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8345 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8346 for ac_dir
in $ac_dummy; do
8348 test -z "$ac_dir" && ac_dir
=.
8349 if test -f $ac_dir/${ac_tool_prefix}file; then
8350 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8351 if test -n "$file_magic_test_file"; then
8352 case $deplibs_check_method in
8354 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8355 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8356 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8357 $EGREP "$file_magic_regex" > /dev
/null
; then
8362 *** Warning: the command libtool uses to detect shared libraries,
8363 *** $file_magic_cmd, produces output that libtool cannot recognize.
8364 *** The result is that libtool may fail to recognize shared libraries
8365 *** as such. This will affect the creation of libtool libraries that
8366 *** depend on shared libraries, but programs linked with such libtool
8367 *** libraries will work regardless of this problem. Nevertheless, you
8368 *** may want to report the problem to your system manager and/or to
8369 *** bug-libtool@gnu.org
8379 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8384 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8385 if test -n "$MAGIC_CMD"; then
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8387 $as_echo "$MAGIC_CMD" >&6; }
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8390 $as_echo "no" >&6; }
8397 if test -z "$lt_cv_path_MAGIC_CMD"; then
8398 if test -n "$ac_tool_prefix"; then
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8400 $as_echo_n "checking for file... " >&6; }
8401 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8402 $as_echo_n "(cached) " >&6
8406 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8409 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8410 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8411 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8412 for ac_dir
in $ac_dummy; do
8414 test -z "$ac_dir" && ac_dir
=.
8415 if test -f $ac_dir/file; then
8416 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8417 if test -n "$file_magic_test_file"; then
8418 case $deplibs_check_method in
8420 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8421 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8422 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8423 $EGREP "$file_magic_regex" > /dev
/null
; then
8428 *** Warning: the command libtool uses to detect shared libraries,
8429 *** $file_magic_cmd, produces output that libtool cannot recognize.
8430 *** The result is that libtool may fail to recognize shared libraries
8431 *** as such. This will affect the creation of libtool libraries that
8432 *** depend on shared libraries, but programs linked with such libtool
8433 *** libraries will work regardless of this problem. Nevertheless, you
8434 *** may want to report the problem to your system manager and/or to
8435 *** bug-libtool@gnu.org
8445 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8450 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8451 if test -n "$MAGIC_CMD"; then
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8453 $as_echo "$MAGIC_CMD" >&6; }
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8456 $as_echo "no" >&6; }
8469 # Use C for the default configuration in the libtool script
8473 ac_cpp
='$CPP $CPPFLAGS'
8474 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8475 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8476 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8479 # Source file extension for C test sources.
8482 # Object file extension for compiled C test sources.
8486 # Code to be used in simple compile tests
8487 lt_simple_compile_test_code
="int some_variable = 0;"
8489 # Code to be used in simple link tests
8490 lt_simple_link_test_code
='int main(){return(0);}'
8498 # If no C compiler was specified, use CC.
8501 # If no C compiler flags were specified, use CFLAGS.
8502 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8504 # Allow CC to be a program name with arguments.
8507 # Save the default compiler, since it gets overwritten when the other
8508 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8509 compiler_DEFAULT
=$CC
8511 # save warnings/boilerplate of simple test code
8512 ac_outfile
=conftest.
$ac_objext
8513 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8514 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8515 _lt_compiler_boilerplate
=`cat conftest.err`
8518 ac_outfile
=conftest.
$ac_objext
8519 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8520 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8521 _lt_linker_boilerplate
=`cat conftest.err`
8526 ## There is no encapsulation within the following macros, do not change
8527 ## the running order or otherwise move them around unless you know exactly
8528 ## what you are doing...
8529 if test -n "$compiler"; then
8531 lt_prog_compiler_no_builtin_flag
=
8533 if test "$GCC" = yes; then
8534 case $cc_basename in
8536 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8538 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8542 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8543 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8544 $as_echo_n "(cached) " >&6
8546 lt_cv_prog_compiler_rtti_exceptions
=no
8547 ac_outfile
=conftest.
$ac_objext
8548 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8549 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8550 # Insert the option either (1) after the last *FLAGS variable, or
8551 # (2) before a word containing "conftest.", or (3) at the end.
8552 # Note that $ac_compile itself does not contain backslashes and begins
8553 # with a dollar sign (not a hyphen), so the echo should work correctly.
8554 # The option is referenced via a variable to avoid confusing sed.
8555 lt_compile
=`echo "$ac_compile" | $SED \
8556 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8557 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8558 -e 's:$: $lt_compiler_flag:'`
8559 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8560 (eval "$lt_compile" 2>conftest.err
)
8562 cat conftest.err
>&5
8563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8564 if (exit $ac_status) && test -s "$ac_outfile"; then
8565 # The compiler can only warn and ignore the option if not recognized
8566 # So say no if there are warnings other than the usual output.
8567 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8568 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8569 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8570 lt_cv_prog_compiler_rtti_exceptions
=yes
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8577 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8579 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8580 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8592 lt_prog_compiler_wl
=
8593 lt_prog_compiler_pic
=
8594 lt_prog_compiler_static
=
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8597 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8599 if test "$GCC" = yes; then
8600 lt_prog_compiler_wl
='-Wl,'
8601 lt_prog_compiler_static
='-static'
8605 # All AIX code is PIC.
8606 if test "$host_cpu" = ia64
; then
8607 # AIX 5 now supports IA64 processor
8608 lt_prog_compiler_static
='-Bstatic'
8610 lt_prog_compiler_pic
='-fPIC'
8616 # see comment about AmigaOS4 .so support
8617 lt_prog_compiler_pic
='-fPIC'
8620 # FIXME: we need at least 68020 code to build shared libraries, but
8621 # adding the `-m68020' flag to GCC prevents building anything better,
8623 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8628 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8629 # PIC is the default for these OSes.
8632 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8633 # This hack is so that the source file can tell whether it is being
8634 # built for inclusion in a dll (and should export symbols for example).
8635 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8636 # (--disable-auto-import) libraries
8637 lt_prog_compiler_pic
='-DDLL_EXPORT'
8640 darwin
* | rhapsody
*)
8641 # PIC is the default on this platform
8642 # Common symbols not allowed in MH_DYLIB files
8643 lt_prog_compiler_pic
='-fno-common'
8647 # PIC is the default for Haiku.
8648 # The "-static" flag exists, but is broken.
8649 lt_prog_compiler_static
=
8653 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8654 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8655 # sets the default TLS model and affects inlining.
8661 lt_prog_compiler_pic
='-fPIC'
8667 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8668 # Instead, we relocate shared libraries at runtime.
8672 # Just because we use GCC doesn't mean we suddenly get shared libraries
8673 # on systems that don't support them.
8674 lt_prog_compiler_can_build_shared
=no
8679 # QNX uses GNU C++, but need to define -shared option too, otherwise
8681 lt_prog_compiler_pic
='-fPIC -shared'
8685 if test -d /usr
/nec
; then
8686 lt_prog_compiler_pic
=-Kconform_pic
8691 lt_prog_compiler_pic
='-fPIC'
8695 case $cc_basename in
8696 nvcc
*) # Cuda Compiler Driver 2.2
8697 lt_prog_compiler_wl
='-Xlinker '
8698 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8702 # PORTME Check for flag to pass linker flags through the system compiler.
8705 lt_prog_compiler_wl
='-Wl,'
8706 if test "$host_cpu" = ia64
; then
8707 # AIX 5 now supports IA64 processor
8708 lt_prog_compiler_static
='-Bstatic'
8710 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8714 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8715 # This hack is so that the source file can tell whether it is being
8716 # built for inclusion in a dll (and should export symbols for example).
8717 lt_prog_compiler_pic
='-DDLL_EXPORT'
8720 hpux9
* | hpux10
* | hpux11
*)
8721 lt_prog_compiler_wl
='-Wl,'
8722 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8729 lt_prog_compiler_pic
='+Z'
8732 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8733 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8736 irix5
* | irix6
* | nonstopux
*)
8737 lt_prog_compiler_wl
='-Wl,'
8738 # PIC (with -KPIC) is the default.
8739 lt_prog_compiler_static
='-non_shared'
8742 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8743 case $cc_basename in
8744 # old Intel for x86_64 which still supported -KPIC.
8746 lt_prog_compiler_wl
='-Wl,'
8747 lt_prog_compiler_pic
='-KPIC'
8748 lt_prog_compiler_static
='-static'
8750 # icc used to be incompatible with GCC.
8751 # ICC 10 doesn't accept -KPIC any more.
8753 lt_prog_compiler_wl
='-Wl,'
8754 lt_prog_compiler_pic
='-fPIC'
8755 lt_prog_compiler_static
='-static'
8757 # Lahey Fortran 8.1.
8759 lt_prog_compiler_wl
='-Wl,'
8760 lt_prog_compiler_pic
='--shared'
8761 lt_prog_compiler_static
='--static'
8763 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8764 # Portland Group compilers (*not* the Pentium gcc compiler,
8765 # which looks to be a dead project)
8766 lt_prog_compiler_wl
='-Wl,'
8767 lt_prog_compiler_pic
='-fpic'
8768 lt_prog_compiler_static
='-Bstatic'
8771 lt_prog_compiler_wl
='-Wl,'
8772 # All Alpha code is PIC.
8773 lt_prog_compiler_static
='-non_shared'
8775 xl
* | bgxl
* | bgf
* | mpixl
*)
8776 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8777 lt_prog_compiler_wl
='-Wl,'
8778 lt_prog_compiler_pic
='-qpic'
8779 lt_prog_compiler_static
='-qstaticlink'
8782 case `$CC -V 2>&1 | sed 5q` in
8783 *Sun\ F
* |
*Sun
*Fortran
*)
8784 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8785 lt_prog_compiler_pic
='-KPIC'
8786 lt_prog_compiler_static
='-Bstatic'
8787 lt_prog_compiler_wl
=''
8791 lt_prog_compiler_pic
='-KPIC'
8792 lt_prog_compiler_static
='-Bstatic'
8793 lt_prog_compiler_wl
='-Wl,'
8801 lt_prog_compiler_pic
='-KPIC'
8802 lt_prog_compiler_static
='-Bstatic'
8806 # QNX uses GNU C++, but need to define -shared option too, otherwise
8808 lt_prog_compiler_pic
='-fPIC -shared'
8811 osf3
* | osf4
* | osf5
*)
8812 lt_prog_compiler_wl
='-Wl,'
8813 # All OSF/1 code is PIC.
8814 lt_prog_compiler_static
='-non_shared'
8818 lt_prog_compiler_static
='-non_shared'
8822 lt_prog_compiler_pic
='-KPIC'
8823 lt_prog_compiler_static
='-Bstatic'
8824 case $cc_basename in
8826 lt_prog_compiler_wl
='-Qoption ld ';;
8828 lt_prog_compiler_wl
='-Wl,';;
8833 lt_prog_compiler_wl
='-Qoption ld '
8834 lt_prog_compiler_pic
='-PIC'
8835 lt_prog_compiler_static
='-Bstatic'
8838 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8839 lt_prog_compiler_wl
='-Wl,'
8840 lt_prog_compiler_pic
='-KPIC'
8841 lt_prog_compiler_static
='-Bstatic'
8845 if test -d /usr
/nec
;then
8846 lt_prog_compiler_pic
='-Kconform_pic'
8847 lt_prog_compiler_static
='-Bstatic'
8851 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8852 lt_prog_compiler_wl
='-Wl,'
8853 lt_prog_compiler_pic
='-KPIC'
8854 lt_prog_compiler_static
='-Bstatic'
8858 lt_prog_compiler_wl
='-Wl,'
8859 lt_prog_compiler_can_build_shared
=no
8863 lt_prog_compiler_pic
='-pic'
8864 lt_prog_compiler_static
='-Bstatic'
8868 lt_prog_compiler_can_build_shared
=no
8874 # For platforms which do not support PIC, -DPIC is meaningless:
8876 lt_prog_compiler_pic
=
8879 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8883 $as_echo "$lt_prog_compiler_pic" >&6; }
8891 # Check to make sure the PIC flag actually works.
8893 if test -n "$lt_prog_compiler_pic"; then
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8895 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8896 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8897 $as_echo_n "(cached) " >&6
8899 lt_cv_prog_compiler_pic_works
=no
8900 ac_outfile
=conftest.
$ac_objext
8901 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8902 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8903 # Insert the option either (1) after the last *FLAGS variable, or
8904 # (2) before a word containing "conftest.", or (3) at the end.
8905 # Note that $ac_compile itself does not contain backslashes and begins
8906 # with a dollar sign (not a hyphen), so the echo should work correctly.
8907 # The option is referenced via a variable to avoid confusing sed.
8908 lt_compile
=`echo "$ac_compile" | $SED \
8909 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8910 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8911 -e 's:$: $lt_compiler_flag:'`
8912 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8913 (eval "$lt_compile" 2>conftest.err
)
8915 cat conftest.err
>&5
8916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8917 if (exit $ac_status) && test -s "$ac_outfile"; then
8918 # The compiler can only warn and ignore the option if not recognized
8919 # So say no if there are warnings other than the usual output.
8920 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8921 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8922 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8923 lt_cv_prog_compiler_pic_works
=yes
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8930 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8932 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8933 case $lt_prog_compiler_pic in
8935 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8938 lt_prog_compiler_pic
=
8939 lt_prog_compiler_can_build_shared
=no
8950 # Check to make sure the static flag actually works.
8952 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8954 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8955 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8956 $as_echo_n "(cached) " >&6
8958 lt_cv_prog_compiler_static_works
=no
8959 save_LDFLAGS
="$LDFLAGS"
8960 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8961 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8962 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8963 # The linker can only warn and ignore the option if not recognized
8964 # So say no if there are warnings
8965 if test -s conftest.err
; then
8966 # Append any errors to the config.log.
8967 cat conftest.err
1>&5
8968 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8969 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8970 if diff conftest.exp conftest.er2
>/dev
/null
; then
8971 lt_cv_prog_compiler_static_works
=yes
8974 lt_cv_prog_compiler_static_works
=yes
8978 LDFLAGS
="$save_LDFLAGS"
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8982 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8984 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8987 lt_prog_compiler_static
=
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8997 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8998 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8999 $as_echo_n "(cached) " >&6
9001 lt_cv_prog_compiler_c_o
=no
9002 $RM -r conftest
2>/dev
/null
9006 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9008 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9009 # Insert the option either (1) after the last *FLAGS variable, or
9010 # (2) before a word containing "conftest.", or (3) at the end.
9011 # Note that $ac_compile itself does not contain backslashes and begins
9012 # with a dollar sign (not a hyphen), so the echo should work correctly.
9013 lt_compile
=`echo "$ac_compile" | $SED \
9014 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9015 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9016 -e 's:$: $lt_compiler_flag:'`
9017 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9018 (eval "$lt_compile" 2>out
/conftest.err
)
9020 cat out
/conftest.err
>&5
9021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9022 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9024 # The compiler can only warn and ignore the option if not recognized
9025 # So say no if there are warnings
9026 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9027 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9028 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9029 lt_cv_prog_compiler_c_o
=yes
9034 # SGI C++ compiler will create directory out/ii_files/ for
9035 # template instantiation
9036 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9037 $RM out
/* && rmdir out
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9044 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9052 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9053 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9054 $as_echo_n "(cached) " >&6
9056 lt_cv_prog_compiler_c_o
=no
9057 $RM -r conftest
2>/dev
/null
9061 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9063 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9064 # Insert the option either (1) after the last *FLAGS variable, or
9065 # (2) before a word containing "conftest.", or (3) at the end.
9066 # Note that $ac_compile itself does not contain backslashes and begins
9067 # with a dollar sign (not a hyphen), so the echo should work correctly.
9068 lt_compile
=`echo "$ac_compile" | $SED \
9069 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9070 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9071 -e 's:$: $lt_compiler_flag:'`
9072 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9073 (eval "$lt_compile" 2>out
/conftest.err
)
9075 cat out
/conftest.err
>&5
9076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9077 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9079 # The compiler can only warn and ignore the option if not recognized
9080 # So say no if there are warnings
9081 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9082 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9083 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9084 lt_cv_prog_compiler_c_o
=yes
9089 # SGI C++ compiler will create directory out/ii_files/ for
9090 # template instantiation
9091 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9092 $RM out
/* && rmdir out
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9099 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9104 hard_links
="nottested"
9105 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9106 # do not overwrite the value of need_locks provided by the user
9107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9108 $as_echo_n "checking if we can lock with hard links... " >&6; }
9111 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9113 ln conftest.a conftest.b
2>&5 || hard_links
=no
9114 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9116 $as_echo "$hard_links" >&6; }
9117 if test "$hard_links" = no
; then
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9119 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9132 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9135 allow_undefined_flag
=
9136 always_export_symbols
=no
9138 archive_expsym_cmds
=
9139 compiler_needs_object
=no
9140 enable_shared_with_static_runtimes
=no
9141 export_dynamic_flag_spec
=
9142 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9143 hardcode_automatic
=no
9145 hardcode_direct_absolute
=no
9146 hardcode_libdir_flag_spec
=
9147 hardcode_libdir_flag_spec_ld
=
9148 hardcode_libdir_separator
=
9150 hardcode_shlibpath_var
=unsupported
9152 link_all_deplibs
=unknown
9155 old_archive_from_new_cmds
=
9156 old_archive_from_expsyms_cmds
=
9157 thread_safe_flag_spec
=
9158 whole_archive_flag_spec
=
9159 # include_expsyms should be a list of space-separated symbols to be *always*
9160 # included in the symbol list
9162 # exclude_expsyms can be an extended regexp of symbols to exclude
9163 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9164 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9165 # as well as any symbol that contains `d'.
9166 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9167 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9168 # platforms (ab)use it in PIC code, but their linkers get confused if
9169 # the symbol is explicitly referenced. Since portable code cannot
9170 # rely on this symbol name, it's probably fine to never include it in
9171 # preloaded symbol tables.
9172 # Exclude shared library initialization/finalization symbols.
9173 extract_expsyms_cmds
=
9176 cygwin
* | mingw
* | pw32
* | cegcc
*)
9177 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9178 # When not using gcc, we currently assume that we are using
9179 # Microsoft Visual C++.
9180 if test "$GCC" != yes; then
9185 # we just hope/assume this is gcc and not c89 (= MSVC++)
9195 # On some targets, GNU ld is compatible enough with the native linker
9196 # that we're better off using the native interface for both.
9197 lt_use_gnu_ld_interface
=no
9198 if test "$with_gnu_ld" = yes; then
9201 # The AIX port of GNU ld has always aspired to compatibility
9202 # with the native linker. However, as the warning in the GNU ld
9203 # block says, versions before 2.19.5* couldn't really create working
9204 # shared libraries, regardless of the interface used.
9205 case `$LD -v 2>&1` in
9206 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9207 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9208 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9210 lt_use_gnu_ld_interface
=yes
9215 lt_use_gnu_ld_interface
=yes
9220 if test "$lt_use_gnu_ld_interface" = yes; then
9221 # If archive_cmds runs LD, not CC, wlarc should be empty
9224 # Set some defaults for GNU ld with shared library support. These
9225 # are reset later if shared libraries are not supported. Putting them
9226 # here allows them to be overridden if necessary.
9227 runpath_var
=LD_RUN_PATH
9228 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9229 export_dynamic_flag_spec
='${wl}--export-dynamic'
9230 # ancient GNU ld didn't support --whole-archive et. al.
9231 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9232 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9234 whole_archive_flag_spec
=
9236 supports_anon_versioning
=no
9237 case `$LD -v 2>&1` in
9238 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9239 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9240 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9241 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9242 *\
2.11.
*) ;; # other 2.11 versions
9243 *) supports_anon_versioning
=yes ;;
9246 # See if GNU ld supports shared libraries.
9249 # On AIX/PPC, the GNU linker is very broken
9250 if test "$host_cpu" != ia64
; then
9254 *** Warning: the GNU linker, at least up to release 2.19, is reported
9255 *** to be unable to reliably create shared libraries on AIX.
9256 *** Therefore, libtool is disabling shared libraries support. If you
9257 *** really care for shared libraries, you may want to install binutils
9258 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9259 *** You will then need to restart the configuration process.
9268 # see comment about AmigaOS4 .so support
9269 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9270 archive_expsym_cmds
=''
9273 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)'
9274 hardcode_libdir_flag_spec
='-L$libdir'
9275 hardcode_minus_L
=yes
9281 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9282 allow_undefined_flag
=unsupported
9283 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9284 # support --undefined. This deserves some investigation. FIXME
9285 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9291 cygwin
* | mingw
* | pw32
* | cegcc
*)
9292 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9293 # as there is no search path for DLLs.
9294 hardcode_libdir_flag_spec
='-L$libdir'
9295 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9296 allow_undefined_flag
=unsupported
9297 always_export_symbols
=no
9298 enable_shared_with_static_runtimes
=yes
9299 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9301 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9302 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9303 # If the export-symbols file already is a .def file (1st line
9304 # is EXPORTS), use it as is; otherwise, prepend...
9305 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9306 cp $export_symbols $output_objdir/$soname.def;
9308 echo EXPORTS > $output_objdir/$soname.def;
9309 cat $export_symbols >> $output_objdir/$soname.def;
9311 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9318 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9319 link_all_deplibs
=yes
9324 hardcode_shlibpath_var
=no
9325 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9326 export_dynamic_flag_spec
='${wl}-E'
9327 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9328 # Instead, shared libraries are loaded at an image base (0x10000000 by
9329 # default) and relocated if they conflict, which is a slow very memory
9330 # consuming and fragmenting process. To avoid this, we pick a random,
9331 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9332 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9333 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9334 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'
9337 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9339 if test "$host_os" = linux-dietlibc
; then
9340 case $cc_basename in
9341 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9344 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9345 && test "$tmp_diet" = no
9348 tmp_sharedflag
='-shared'
9349 case $cc_basename,$host_cpu in
9350 pgcc
*) # Portland Group C compiler
9351 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'
9352 tmp_addflag
=' $pic_flag'
9354 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9355 # Portland Group f77 and f90 compilers
9356 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'
9357 tmp_addflag
=' $pic_flag -Mnomain' ;;
9358 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9359 tmp_addflag
=' -i_dynamic' ;;
9360 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9361 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9362 ifc
* | ifort
*) # Intel Fortran compiler
9363 tmp_addflag
=' -nofor_main' ;;
9364 lf95
*) # Lahey Fortran 8.1
9365 whole_archive_flag_spec
=
9366 tmp_sharedflag
='--shared' ;;
9367 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9368 tmp_sharedflag
='-qmkshrobj'
9370 nvcc
*) # Cuda Compiler Driver 2.2
9371 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'
9372 compiler_needs_object
=yes
9375 case `$CC -V 2>&1 | sed 5q` in
9376 *Sun\ C
*) # Sun C 5.9
9377 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'
9378 compiler_needs_object
=yes
9379 tmp_sharedflag
='-G' ;;
9380 *Sun\ F
*) # Sun Fortran 8.3
9381 tmp_sharedflag
='-G' ;;
9383 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9385 if test "x$supports_anon_versioning" = xyes
; then
9386 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9387 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9388 echo "local: *; };" >> $output_objdir/$libname.ver~
9389 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9392 case $cc_basename in
9393 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9394 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9395 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9396 hardcode_libdir_flag_spec
=
9397 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9398 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9399 if test "x$supports_anon_versioning" = xyes
; then
9400 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9401 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9402 echo "local: *; };" >> $output_objdir/$libname.ver~
9403 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9413 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9414 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9417 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9418 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9423 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9427 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9428 *** create shared libraries on Solaris systems. Therefore, libtool
9429 *** is disabling shared libraries support. We urge you to upgrade GNU
9430 *** binutils to release 2.9.1 or newer. Another option is to modify
9431 *** your PATH or compiler configuration so that the native linker is
9432 *** used, and then restart.
9435 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9436 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9437 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9443 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9444 case `$LD -v 2>&1` in
9445 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9449 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9450 *** reliably create shared libraries on SCO systems. Therefore, libtool
9451 *** is disabling shared libraries support. We urge you to upgrade GNU
9452 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9453 *** your PATH or compiler configuration so that the native linker is
9454 *** used, and then restart.
9459 # For security reasons, it is highly recommended that you always
9460 # use absolute paths for naming shared libraries, and exclude the
9461 # DT_RUNPATH tag from executables and libraries. But doing so
9462 # requires that you compile everything twice, which is a pain.
9463 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9464 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9465 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9466 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9475 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9478 hardcode_shlibpath_var
=no
9482 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9483 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9484 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9491 if test "$ld_shlibs" = no
; then
9493 hardcode_libdir_flag_spec
=
9494 export_dynamic_flag_spec
=
9495 whole_archive_flag_spec
=
9498 # PORTME fill in a description of your system's linker (not GNU ld)
9501 allow_undefined_flag
=unsupported
9502 always_export_symbols
=yes
9503 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'
9504 # Note: this linker hardcodes the directories in LIBPATH if there
9505 # are no directories specified by -L.
9506 hardcode_minus_L
=yes
9507 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9508 # Neither direct hardcoding nor static linking is supported with a
9510 hardcode_direct
=unsupported
9515 if test "$host_cpu" = ia64
; then
9516 # On IA64, the linker does run time linking by default, so we don't
9517 # have to do anything special.
9518 aix_use_runtimelinking
=no
9519 exp_sym_flag
='-Bexport'
9522 # If we're using GNU nm, then we don't want the "-C" option.
9523 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9524 # Also, AIX nm treats weak defined symbols like other global
9525 # defined symbols, whereas GNU nm marks them as "W".
9526 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9527 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'
9529 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'
9531 aix_use_runtimelinking
=no
9533 # Test if we are trying to use run time linking or normal
9534 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9535 # need to do runtime linking.
9536 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9537 for ld_flag
in $LDFLAGS; do
9538 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9539 aix_use_runtimelinking
=yes
9546 exp_sym_flag
='-bexport'
9547 no_entry_flag
='-bnoentry'
9550 # When large executables or shared objects are built, AIX ld can
9551 # have problems creating the table of contents. If linking a library
9552 # or program results in "error TOC overflow" add -mminimal-toc to
9553 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9554 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9558 hardcode_direct_absolute
=yes
9559 hardcode_libdir_separator
=':'
9560 link_all_deplibs
=yes
9561 file_list_spec
='${wl}-f,'
9563 if test "$GCC" = yes; then
9564 case $host_os in aix4.
[012]|aix4.
[012].
*)
9565 # We only want to do this on AIX 4.2 and lower, the check
9566 # below for broken collect2 doesn't work under 4.3+
9567 collect2name
=`${CC} -print-prog-name=collect2`
9568 if test -f "$collect2name" &&
9569 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9571 # We have reworked collect2
9574 # We have old collect2
9575 hardcode_direct
=unsupported
9576 # It fails to find uninstalled libraries when the uninstalled
9577 # path is not listed in the libpath. Setting hardcode_minus_L
9578 # to unsupported forces relinking
9579 hardcode_minus_L
=yes
9580 hardcode_libdir_flag_spec
='-L$libdir'
9581 hardcode_libdir_separator
=
9585 shared_flag
='-shared'
9586 if test "$aix_use_runtimelinking" = yes; then
9587 shared_flag
="$shared_flag "'${wl}-G'
9591 if test "$host_cpu" = ia64
; then
9592 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9593 # chokes on -Wl,-G. The following line is correct:
9596 if test "$aix_use_runtimelinking" = yes; then
9597 shared_flag
='${wl}-G'
9599 shared_flag
='${wl}-bM:SRE'
9604 export_dynamic_flag_spec
='${wl}-bexpall'
9605 # It seems that -bexpall does not export symbols beginning with
9606 # underscore (_), so it is better to generate a list of symbols to export.
9607 always_export_symbols
=yes
9608 if test "$aix_use_runtimelinking" = yes; then
9609 # Warning - without using the other runtime loading flags (-brtl),
9610 # -berok will link without error, but may produce a broken library.
9611 allow_undefined_flag
='-berok'
9612 # Determine the default libpath from the value encoded in an
9614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9615 /* end confdefs.h. */
9625 if ac_fn_c_try_link
"$LINENO"; then :
9627 lt_aix_libpath_sed
='
9628 /Import File Strings/,/^$/ {
9634 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9635 # Check for a 64-bit object if we didn't find anything.
9636 if test -z "$aix_libpath"; then
9637 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9640 rm -f core conftest.err conftest.
$ac_objext \
9641 conftest
$ac_exeext conftest.
$ac_ext
9642 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9644 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9645 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"
9647 if test "$host_cpu" = ia64
; then
9648 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9649 allow_undefined_flag
="-z nodefs"
9650 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"
9652 # Determine the default libpath from the value encoded in an
9654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9655 /* end confdefs.h. */
9665 if ac_fn_c_try_link
"$LINENO"; then :
9667 lt_aix_libpath_sed
='
9668 /Import File Strings/,/^$/ {
9674 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9675 # Check for a 64-bit object if we didn't find anything.
9676 if test -z "$aix_libpath"; then
9677 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9680 rm -f core conftest.err conftest.
$ac_objext \
9681 conftest
$ac_exeext conftest.
$ac_ext
9682 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9684 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9685 # Warning - without using the other run time loading flags,
9686 # -berok will link without error, but may produce a broken library.
9687 no_undefined_flag
=' ${wl}-bernotok'
9688 allow_undefined_flag
=' ${wl}-berok'
9689 if test "$with_gnu_ld" = yes; then
9690 # We only use this code for GNU lds that support --whole-archive.
9691 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9693 # Exported symbols can be pulled into shared objects from archives
9694 whole_archive_flag_spec
='$convenience'
9696 archive_cmds_need_lc
=yes
9697 # This is similar to how AIX traditionally builds its shared libraries.
9698 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'
9706 # see comment about AmigaOS4 .so support
9707 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9708 archive_expsym_cmds
=''
9711 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)'
9712 hardcode_libdir_flag_spec
='-L$libdir'
9713 hardcode_minus_L
=yes
9719 export_dynamic_flag_spec
=-rdynamic
9722 cygwin
* | mingw
* | pw32
* | cegcc
*)
9723 # When not using gcc, we currently assume that we are using
9724 # Microsoft Visual C++.
9725 # hardcode_libdir_flag_spec is actually meaningless, as there is
9726 # no search path for DLLs.
9727 hardcode_libdir_flag_spec
=' '
9728 allow_undefined_flag
=unsupported
9729 # Tell ltmain to make .lib files, not .a files.
9731 # Tell ltmain to make .dll files, not .so files.
9733 # FIXME: Setting linknames here is a bad hack.
9734 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9735 # The linker will automatically build a .lib file if we build a DLL.
9736 old_archive_from_new_cmds
='true'
9737 # FIXME: Should let the user specify the lib program.
9738 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9739 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9740 enable_shared_with_static_runtimes
=yes
9743 darwin
* | rhapsody
*)
9746 archive_cmds_need_lc
=no
9748 hardcode_automatic
=yes
9749 hardcode_shlibpath_var
=unsupported
9750 if test "$lt_cv_ld_force_load" = "yes"; then
9751 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\"`'
9753 whole_archive_flag_spec
=''
9755 link_all_deplibs
=yes
9756 allow_undefined_flag
="$_lt_dar_allow_undefined"
9757 case $cc_basename in
9758 ifort
*) _lt_dar_can_shared
=yes ;;
9759 *) _lt_dar_can_shared
=$GCC ;;
9761 if test "$_lt_dar_can_shared" = "yes"; then
9762 output_verbose_link_cmd
=func_echo_all
9763 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9764 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9765 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}"
9766 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}"
9775 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9776 hardcode_libdir_flag_spec
='-L$libdir'
9777 hardcode_shlibpath_var
=no
9780 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9781 # support. Future versions do this automatically, but an explicit c++rt0.o
9782 # does not break anything, and helps significantly (at the cost of a little
9785 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9786 hardcode_libdir_flag_spec
='-R$libdir'
9788 hardcode_shlibpath_var
=no
9791 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9793 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9795 hardcode_minus_L
=yes
9796 hardcode_shlibpath_var
=no
9799 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9800 freebsd
* | dragonfly
*)
9801 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9802 hardcode_libdir_flag_spec
='-R$libdir'
9804 hardcode_shlibpath_var
=no
9808 if test "$GCC" = yes; then
9809 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'
9811 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'
9813 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9814 hardcode_libdir_separator
=:
9817 # hardcode_minus_L: Not really in the search PATH,
9818 # but as the default location of the library.
9819 hardcode_minus_L
=yes
9820 export_dynamic_flag_spec
='${wl}-E'
9824 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9825 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9827 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9829 if test "$with_gnu_ld" = no
; then
9830 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9831 hardcode_libdir_flag_spec_ld
='+b $libdir'
9832 hardcode_libdir_separator
=:
9834 hardcode_direct_absolute
=yes
9835 export_dynamic_flag_spec
='${wl}-E'
9836 # hardcode_minus_L: Not really in the search PATH,
9837 # but as the default location of the library.
9838 hardcode_minus_L
=yes
9843 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9846 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9849 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9852 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9858 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9861 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9865 # Older versions of the 11.00 compiler do not understand -b yet
9866 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9868 $as_echo_n "checking if $CC understands -b... " >&6; }
9869 if ${lt_cv_prog_compiler__b+:} false
; then :
9870 $as_echo_n "(cached) " >&6
9872 lt_cv_prog_compiler__b
=no
9873 save_LDFLAGS
="$LDFLAGS"
9874 LDFLAGS
="$LDFLAGS -b"
9875 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9876 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9877 # The linker can only warn and ignore the option if not recognized
9878 # So say no if there are warnings
9879 if test -s conftest.err
; then
9880 # Append any errors to the config.log.
9881 cat conftest.err
1>&5
9882 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9883 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9884 if diff conftest.exp conftest.er2
>/dev
/null
; then
9885 lt_cv_prog_compiler__b
=yes
9888 lt_cv_prog_compiler__b
=yes
9892 LDFLAGS
="$save_LDFLAGS"
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9896 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9898 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9899 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9901 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9907 if test "$with_gnu_ld" = no
; then
9908 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9909 hardcode_libdir_separator
=:
9914 hardcode_shlibpath_var
=no
9918 hardcode_direct_absolute
=yes
9919 export_dynamic_flag_spec
='${wl}-E'
9921 # hardcode_minus_L: Not really in the search PATH,
9922 # but as the default location of the library.
9923 hardcode_minus_L
=yes
9929 irix5
* | irix6
* | nonstopux
*)
9930 if test "$GCC" = yes; then
9931 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'
9932 # Try to use the -exported_symbol ld option, if it does not
9933 # work, assume that -exports_file does not work either and
9934 # implicitly export all symbols.
9935 save_LDFLAGS
="$LDFLAGS"
9936 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9938 /* end confdefs.h. */
9941 if ac_fn_c_try_link
"$LINENO"; then :
9942 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'
9945 rm -f core conftest.err conftest.
$ac_objext \
9946 conftest
$ac_exeext conftest.
$ac_ext
9947 LDFLAGS
="$save_LDFLAGS"
9949 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'
9950 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'
9952 archive_cmds_need_lc
='no'
9953 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9954 hardcode_libdir_separator
=:
9956 link_all_deplibs
=yes
9960 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9961 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9963 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9965 hardcode_libdir_flag_spec
='-R$libdir'
9967 hardcode_shlibpath_var
=no
9971 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9973 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9974 hardcode_libdir_separator
=:
9975 hardcode_shlibpath_var
=no
9982 if test -f /usr
/libexec
/ld.so
; then
9984 hardcode_shlibpath_var
=no
9985 hardcode_direct_absolute
=yes
9986 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9987 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9988 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9989 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9990 export_dynamic_flag_spec
='${wl}-E'
9993 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9994 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9995 hardcode_libdir_flag_spec
='-R$libdir'
9998 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9999 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10009 hardcode_libdir_flag_spec
='-L$libdir'
10010 hardcode_minus_L
=yes
10011 allow_undefined_flag
=unsupported
10012 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'
10013 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10017 if test "$GCC" = yes; then
10018 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10019 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'
10021 allow_undefined_flag
=' -expect_unresolved \*'
10022 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'
10024 archive_cmds_need_lc
='no'
10025 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10026 hardcode_libdir_separator
=:
10029 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10030 if test "$GCC" = yes; then
10031 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10032 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'
10033 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10035 allow_undefined_flag
=' -expect_unresolved \*'
10036 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'
10037 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~
10038 $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'
10040 # Both c and cxx compiler support -rpath directly
10041 hardcode_libdir_flag_spec
='-rpath $libdir'
10043 archive_cmds_need_lc
='no'
10044 hardcode_libdir_separator
=:
10048 no_undefined_flag
=' -z defs'
10049 if test "$GCC" = yes; then
10051 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10052 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10053 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10055 case `$CC -V 2>&1` in
10058 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10059 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10060 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10064 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10065 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10066 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10070 hardcode_libdir_flag_spec
='-R$libdir'
10071 hardcode_shlibpath_var
=no
10073 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10075 # The compiler driver will combine and reorder linker options,
10076 # but understands `-z linker_flag'. GCC discards it without `$wl',
10077 # but is careful enough not to reorder.
10078 # Supported since Solaris 2.6 (maybe 2.5.1?)
10079 if test "$GCC" = yes; then
10080 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10082 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10086 link_all_deplibs
=yes
10090 if test "x$host_vendor" = xsequent
; then
10091 # Use $CC to link under sequent, because it throws in some extra .o
10092 # files that make .init and .fini sections work.
10093 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10095 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10097 hardcode_libdir_flag_spec
='-L$libdir'
10098 hardcode_direct
=yes
10099 hardcode_minus_L
=yes
10100 hardcode_shlibpath_var
=no
10104 case $host_vendor in
10106 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10107 hardcode_direct
=yes # is this really true???
10110 ## LD is ld it makes a PLAMLIB
10111 ## CC just makes a GrossModule.
10112 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10113 reload_cmds
='$CC -r -o $output$reload_objs'
10117 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10118 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10121 runpath_var
='LD_RUN_PATH'
10122 hardcode_shlibpath_var
=no
10126 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10127 hardcode_shlibpath_var
=no
10128 export_dynamic_flag_spec
='-Bexport'
10132 if test -d /usr
/nec
; then
10133 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10134 hardcode_shlibpath_var
=no
10135 runpath_var
=LD_RUN_PATH
10136 hardcode_runpath_var
=yes
10141 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10142 no_undefined_flag
='${wl}-z,text'
10143 archive_cmds_need_lc
=no
10144 hardcode_shlibpath_var
=no
10145 runpath_var
='LD_RUN_PATH'
10147 if test "$GCC" = yes; then
10148 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10149 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10151 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10152 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10156 sysv5
* | sco3.2v5
* | sco5v6
*)
10157 # Note: We can NOT use -z defs as we might desire, because we do not
10158 # link with -lc, and that would cause any symbols used from libc to
10159 # always be unresolved, which means just about no library would
10160 # ever link correctly. If we're not using GNU ld we use -z text
10161 # though, which does catch some bad symbols but isn't as heavy-handed
10163 no_undefined_flag
='${wl}-z,text'
10164 allow_undefined_flag
='${wl}-z,nodefs'
10165 archive_cmds_need_lc
=no
10166 hardcode_shlibpath_var
=no
10167 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10168 hardcode_libdir_separator
=':'
10169 link_all_deplibs
=yes
10170 export_dynamic_flag_spec
='${wl}-Bexport'
10171 runpath_var
='LD_RUN_PATH'
10173 if test "$GCC" = yes; then
10174 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10175 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10177 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10178 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10183 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10184 hardcode_libdir_flag_spec
='-L$libdir'
10185 hardcode_shlibpath_var
=no
10193 if test x
$host_vendor = xsni
; then
10195 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10196 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10203 $as_echo "$ld_shlibs" >&6; }
10204 test "$ld_shlibs" = no
&& can_build_shared
=no
10206 with_gnu_ld
=$with_gnu_ld
10223 # Do we need to explicitly link libc?
10225 case "x$archive_cmds_need_lc" in
10227 # Assume -lc should be added
10228 archive_cmds_need_lc
=yes
10230 if test "$enable_shared" = yes && test "$GCC" = yes; then
10231 case $archive_cmds in
10233 # FIXME: we may have to deal with multi-command sequences.
10236 # Test whether the compiler implicitly links with -lc since on some
10237 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10238 # to ld, don't add -lc before -lgcc.
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10240 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10241 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10242 $as_echo_n "(cached) " >&6
10245 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10247 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10248 (eval $ac_compile) 2>&5
10250 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10251 test $ac_status = 0; } 2>conftest.err
; then
10254 libobjs
=conftest.
$ac_objext
10256 wl
=$lt_prog_compiler_wl
10257 pic_flag
=$lt_prog_compiler_pic
10263 lt_save_allow_undefined_flag
=$allow_undefined_flag
10264 allow_undefined_flag
=
10265 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10266 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10269 test $ac_status = 0; }
10271 lt_cv_archive_cmds_need_lc
=no
10273 lt_cv_archive_cmds_need_lc
=yes
10275 allow_undefined_flag
=$lt_save_allow_undefined_flag
10277 cat conftest.err
1>&5
10282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10283 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10284 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10448 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10450 if test "$GCC" = yes; then
10452 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10453 *) lt_awk_arg
="/^libraries:/" ;;
10456 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10457 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10459 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10460 case $lt_search_path_spec in
10462 # if the path contains ";" then we assume it to be the separator
10463 # otherwise default to the standard path separator (i.e. ":") - it is
10464 # assumed that no part of a normal pathname contains ";" but that should
10465 # okay in the real world where ";" in dirpaths is itself problematic.
10466 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10469 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10472 # Ok, now we have the path, separated by spaces, we can step through it
10473 # and add multilib dir if necessary.
10474 lt_tmp_lt_search_path_spec
=
10475 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10476 for lt_sys_path
in $lt_search_path_spec; do
10477 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10478 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10480 test -d "$lt_sys_path" && \
10481 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10484 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10485 BEGIN {RS=" "; FS="/|\n";} {
10488 for (lt_i = NF; lt_i > 0; lt_i--) {
10489 if ($lt_i != "" && $lt_i != ".") {
10490 if ($lt_i == "..") {
10493 if (lt_count == 0) {
10494 lt_foo="/" $lt_i lt_foo;
10501 if (lt_foo != "") { lt_freq[lt_foo]++; }
10502 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10504 # AWK program above erroneously prepends '/' to C:/dos/paths
10507 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10508 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10510 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10512 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10514 library_names_spec
=
10515 libname_spec
='lib$name'
10519 postuninstall_cmds
=
10523 shlibpath_overrides_runpath
=unknown
10525 dynamic_linker
="$host_os ld.so"
10526 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10527 need_lib_prefix
=unknown
10528 hardcode_into_libs
=no
10530 # when you set need_version to no, make sure it does not cause -set_version
10531 # flags to be left without arguments
10532 need_version
=unknown
10537 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10538 shlibpath_var
=LIBPATH
10540 # AIX 3 has no versioning support, so we append a major version to the name.
10541 soname_spec
='${libname}${release}${shared_ext}$major'
10548 hardcode_into_libs
=yes
10549 if test "$host_cpu" = ia64
; then
10550 # AIX 5 supports IA64
10551 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10552 shlibpath_var
=LD_LIBRARY_PATH
10554 # With GCC up to 2.95.x, collect2 would create an import file
10555 # for dependence libraries. The import file would start with
10556 # the line `#! .'. This would cause the generated library to
10557 # depend on `.', always an invalid library. This was fixed in
10558 # development snapshots of GCC prior to 3.0.
10560 aix4 | aix4.
[01] | aix4.
[01].
*)
10561 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10563 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10566 can_build_shared
=no
10570 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10571 # soname into executable. Probably we can add versioning support to
10572 # collect2, so additional links can be useful in future.
10573 if test "$aix_use_runtimelinking" = yes; then
10574 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10575 # instead of lib<name>.a to let people know that these are not
10576 # typical AIX shared libraries.
10577 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10579 # We preserve .a as extension for shared libraries through AIX4.2
10580 # and later when we are not doing run time linking.
10581 library_names_spec
='${libname}${release}.a $libname.a'
10582 soname_spec
='${libname}${release}${shared_ext}$major'
10584 shlibpath_var
=LIBPATH
10591 # Since July 2007 AmigaOS4 officially supports .so libraries.
10592 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10593 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10596 library_names_spec
='$libname.ixlibrary $libname.a'
10597 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10598 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'
10604 library_names_spec
='${libname}${shared_ext}'
10605 dynamic_linker
="$host_os ld.so"
10606 shlibpath_var
=LIBRARY_PATH
10612 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10613 soname_spec
='${libname}${release}${shared_ext}$major'
10614 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10615 shlibpath_var
=LD_LIBRARY_PATH
10616 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10617 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10618 # the default ld.so.conf also contains /usr/contrib/lib and
10619 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10620 # libtool to hard-code these into programs
10623 cygwin
* | mingw
* | pw32
* | cegcc
*)
10624 version_type
=windows
10629 case $GCC,$host_os in
10630 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10631 library_names_spec
='$libname.dll.a'
10632 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10633 postinstall_cmds
='base_file=`basename \${file}`~
10634 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10635 dldir=$destdir/`dirname \$dlpath`~
10636 test -d \$dldir || mkdir -p \$dldir~
10637 $install_prog $dir/$dlname \$dldir/$dlname~
10638 chmod a+x \$dldir/$dlname~
10639 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10640 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10642 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10643 dlpath=$dir/\$dldll~
10645 shlibpath_overrides_runpath
=yes
10649 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10650 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10652 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10655 # MinGW DLLs use traditional 'lib' prefix
10656 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10659 # pw32 DLLs use 'pw' prefix rather than 'lib'
10660 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10666 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10669 dynamic_linker
='Win32 ld.exe'
10670 # FIXME: first we should search . and the directory the executable is in
10674 darwin
* | rhapsody
*)
10675 dynamic_linker
="$host_os dyld"
10676 version_type
=darwin
10679 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10680 soname_spec
='${libname}${release}${major}$shared_ext'
10681 shlibpath_overrides_runpath
=yes
10682 shlibpath_var
=DYLD_LIBRARY_PATH
10683 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10685 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10686 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
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
=LD_LIBRARY_PATH
10698 freebsd
* | dragonfly
*)
10699 # DragonFly does not have aout. When/if they implement a new
10700 # versioning mechanism, adjust this.
10701 if test -x /usr
/bin
/objformat
; then
10702 objformat
=`/usr/bin/objformat`
10705 freebsd
[23].
*) objformat
=aout
;;
10706 *) objformat
=elf
;;
10709 version_type
=freebsd-
$objformat
10710 case $version_type in
10712 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10717 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10721 shlibpath_var
=LD_LIBRARY_PATH
10724 shlibpath_overrides_runpath
=yes
10726 freebsd3.
[01]* | freebsdelf3.
[01]*)
10727 shlibpath_overrides_runpath
=yes
10728 hardcode_into_libs
=yes
10730 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10731 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10732 shlibpath_overrides_runpath
=no
10733 hardcode_into_libs
=yes
10735 *) # from 4.6 on, and DragonFly
10736 shlibpath_overrides_runpath
=yes
10737 hardcode_into_libs
=yes
10746 dynamic_linker
="$host_os runtime_loader"
10747 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10748 soname_spec
='${libname}${release}${shared_ext}$major'
10749 shlibpath_var
=LIBRARY_PATH
10750 shlibpath_overrides_runpath
=yes
10751 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10752 hardcode_into_libs
=yes
10755 hpux9
* | hpux10
* | hpux11
*)
10756 # Give a soname corresponding to the major version so that dld.sl refuses to
10757 # link against other versions.
10764 hardcode_into_libs
=yes
10765 dynamic_linker
="$host_os dld.so"
10766 shlibpath_var
=LD_LIBRARY_PATH
10767 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10768 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10769 soname_spec
='${libname}${release}${shared_ext}$major'
10770 if test "X$HPUX_IA64_MODE" = X32
; then
10771 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10773 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10775 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10779 hardcode_into_libs
=yes
10780 dynamic_linker
="$host_os dld.sl"
10781 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10782 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10783 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10784 soname_spec
='${libname}${release}${shared_ext}$major'
10785 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10786 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10790 dynamic_linker
="$host_os dld.sl"
10791 shlibpath_var
=SHLIB_PATH
10792 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10793 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10794 soname_spec
='${libname}${release}${shared_ext}$major'
10797 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10798 postinstall_cmds
='chmod 555 $lib'
10799 # or fails outright, so override atomically:
10800 install_override_mode
=555
10807 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10808 soname_spec
='${libname}${release}${shared_ext}$major'
10809 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10810 shlibpath_var
=LD_LIBRARY_PATH
10811 shlibpath_overrides_runpath
=no
10812 hardcode_into_libs
=yes
10815 irix5
* | irix6
* | nonstopux
*)
10817 nonstopux
*) version_type
=nonstopux
;;
10819 if test "$lt_cv_prog_gnu_ld" = yes; then
10827 soname_spec
='${libname}${release}${shared_ext}$major'
10828 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10830 irix5
* | nonstopux
*)
10831 libsuff
= shlibsuff
=
10834 case $LD in # libtool.m4 will add one of these switches to LD
10835 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10836 libsuff
= shlibsuff
= libmagic
=32-bit;;
10837 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10838 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10839 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10840 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10841 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10845 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10846 shlibpath_overrides_runpath
=no
10847 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10848 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10849 hardcode_into_libs
=yes
10852 # No shared lib support for Linux oldld, aout, or coff.
10853 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10857 # This must be Linux ELF.
10858 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
10862 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10863 soname_spec
='${libname}${release}${shared_ext}$major'
10864 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10865 shlibpath_var
=LD_LIBRARY_PATH
10866 shlibpath_overrides_runpath
=no
10868 # Some binutils ld are patched to set DT_RUNPATH
10869 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10870 $as_echo_n "(cached) " >&6
10872 lt_cv_shlibpath_overrides_runpath
=no
10873 save_LDFLAGS
=$LDFLAGS
10874 save_libdir
=$libdir
10875 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10876 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10878 /* end confdefs.h. */
10888 if ac_fn_c_try_link
"$LINENO"; then :
10889 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10890 lt_cv_shlibpath_overrides_runpath
=yes
10893 rm -f core conftest.err conftest.
$ac_objext \
10894 conftest
$ac_exeext conftest.
$ac_ext
10895 LDFLAGS
=$save_LDFLAGS
10896 libdir
=$save_libdir
10900 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10902 # This implies no fast_install, which is unacceptable.
10903 # Some rework will be needed to allow for fast_install
10904 # before this can be enabled.
10905 hardcode_into_libs
=yes
10907 # Append ld.so.conf contents to the search path
10908 if test -f /etc
/ld.so.conf
; then
10909 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' ' '`
10910 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10913 # We used to test for /lib/ld.so.1 and disable shared libraries on
10914 # powerpc, because MkLinux only supported shared libraries with the
10915 # GNU dynamic linker. Since this was broken with cross compilers,
10916 # most powerpc-linux boxes support dynamic linking these days and
10917 # people can always --disable-shared, the test was removed, and we
10918 # assume the GNU/Linux dynamic linker is in use.
10919 dynamic_linker
='GNU/Linux ld.so'
10926 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10927 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10928 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10929 dynamic_linker
='NetBSD (a.out) ld.so'
10931 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10932 soname_spec
='${libname}${release}${shared_ext}$major'
10933 dynamic_linker
='NetBSD ld.elf_so'
10935 shlibpath_var
=LD_LIBRARY_PATH
10936 shlibpath_overrides_runpath
=yes
10937 hardcode_into_libs
=yes
10942 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10943 shlibpath_var
=LD_LIBRARY_PATH
10944 shlibpath_overrides_runpath
=yes
10951 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10952 soname_spec
='${libname}${release}${shared_ext}$major'
10953 shlibpath_var
=LD_LIBRARY_PATH
10954 shlibpath_overrides_runpath
=no
10955 hardcode_into_libs
=yes
10956 dynamic_linker
='ldqnx.so'
10961 sys_lib_dlsearch_path_spec
="/usr/lib"
10963 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10965 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10966 *) need_version
=no
;;
10968 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10969 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10970 shlibpath_var
=LD_LIBRARY_PATH
10971 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10973 openbsd2.
[89] | openbsd2.
[89].
*)
10974 shlibpath_overrides_runpath
=no
10977 shlibpath_overrides_runpath
=yes
10981 shlibpath_overrides_runpath
=yes
10986 libname_spec
='$name'
10989 library_names_spec
='$libname${shared_ext} $libname.a'
10990 dynamic_linker
='OS/2 ld.exe'
10991 shlibpath_var
=LIBPATH
10994 osf3
* | osf4
* | osf5
*)
10998 soname_spec
='${libname}${release}${shared_ext}$major'
10999 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11000 shlibpath_var
=LD_LIBRARY_PATH
11001 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11002 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11013 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11014 soname_spec
='${libname}${release}${shared_ext}$major'
11015 shlibpath_var
=LD_LIBRARY_PATH
11016 shlibpath_overrides_runpath
=yes
11017 hardcode_into_libs
=yes
11018 # ldd complains unless libraries are executable
11019 postinstall_cmds
='chmod +x $lib'
11024 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11025 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11026 shlibpath_var
=LD_LIBRARY_PATH
11027 shlibpath_overrides_runpath
=yes
11028 if test "$with_gnu_ld" = yes; then
11036 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11037 soname_spec
='${libname}${release}${shared_ext}$major'
11038 shlibpath_var
=LD_LIBRARY_PATH
11039 case $host_vendor in
11041 shlibpath_overrides_runpath
=no
11043 runpath_var
=LD_RUN_PATH
11051 shlibpath_overrides_runpath
=no
11052 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11058 if test -d /usr
/nec
;then
11060 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11061 soname_spec
='$libname${shared_ext}.$major'
11062 shlibpath_var
=LD_LIBRARY_PATH
11066 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11067 version_type
=freebsd-elf
11070 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11071 soname_spec
='${libname}${release}${shared_ext}$major'
11072 shlibpath_var
=LD_LIBRARY_PATH
11073 shlibpath_overrides_runpath
=yes
11074 hardcode_into_libs
=yes
11075 if test "$with_gnu_ld" = yes; then
11076 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11078 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11081 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11085 sys_lib_dlsearch_path_spec
='/usr/lib'
11089 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11094 shlibpath_var
=LD_LIBRARY_PATH
11095 shlibpath_overrides_runpath
=no
11096 hardcode_into_libs
=yes
11101 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11102 soname_spec
='${libname}${release}${shared_ext}$major'
11103 shlibpath_var
=LD_LIBRARY_PATH
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11111 $as_echo "$dynamic_linker" >&6; }
11112 test "$dynamic_linker" = no
&& can_build_shared
=no
11114 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11115 if test "$GCC" = yes; then
11116 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11119 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11120 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11122 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11123 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11218 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11220 if test -n "$hardcode_libdir_flag_spec" ||
11221 test -n "$runpath_var" ||
11222 test "X$hardcode_automatic" = "Xyes" ; then
11224 # We can hardcode non-existent directories.
11225 if test "$hardcode_direct" != no
&&
11226 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11227 # have to relink, otherwise we might link with an installed library
11228 # when we should be linking with a yet-to-be-installed one
11229 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11230 test "$hardcode_minus_L" != no
; then
11231 # Linking always hardcodes the temporary library directory.
11232 hardcode_action
=relink
11234 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11235 hardcode_action
=immediate
11238 # We cannot hardcode anything, or else we can only hardcode existing
11240 hardcode_action
=unsupported
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11243 $as_echo "$hardcode_action" >&6; }
11245 if test "$hardcode_action" = relink ||
11246 test "$inherit_rpath" = yes; then
11247 # Fast installation is not supported
11248 enable_fast_install
=no
11249 elif test "$shlibpath_overrides_runpath" = yes ||
11250 test "$enable_shared" = no
; then
11251 # Fast installation is not necessary
11252 enable_fast_install
=needless
11260 if test "x$enable_dlopen" != xyes
; then
11261 enable_dlopen
=unknown
11262 enable_dlopen_self
=unknown
11263 enable_dlopen_self_static
=unknown
11270 lt_cv_dlopen
="load_add_on"
11272 lt_cv_dlopen_self
=yes
11275 mingw
* | pw32
* | cegcc
*)
11276 lt_cv_dlopen
="LoadLibrary"
11281 lt_cv_dlopen
="dlopen"
11286 # if libdl is installed we need to link against it
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11288 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11289 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11290 $as_echo_n "(cached) " >&6
11292 ac_check_lib_save_LIBS
=$LIBS
11294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11295 /* end confdefs.h. */
11297 /* Override any GCC internal prototype to avoid an error.
11298 Use char because int might match the return type of a GCC
11299 builtin and then its argument prototype would still apply. */
11312 if ac_fn_c_try_link
"$LINENO"; then :
11313 ac_cv_lib_dl_dlopen
=yes
11315 ac_cv_lib_dl_dlopen
=no
11317 rm -f core conftest.err conftest.
$ac_objext \
11318 conftest
$ac_exeext conftest.
$ac_ext
11319 LIBS
=$ac_check_lib_save_LIBS
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11322 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11323 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11324 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11327 lt_cv_dlopen
="dyld"
11329 lt_cv_dlopen_self
=yes
11336 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11337 if test "x$ac_cv_func_shl_load" = xyes
; then :
11338 lt_cv_dlopen
="shl_load"
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11341 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11342 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11343 $as_echo_n "(cached) " >&6
11345 ac_check_lib_save_LIBS
=$LIBS
11347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11348 /* end confdefs.h. */
11350 /* Override any GCC internal prototype to avoid an error.
11351 Use char because int might match the return type of a GCC
11352 builtin and then its argument prototype would still apply. */
11360 return shl_load ();
11365 if ac_fn_c_try_link
"$LINENO"; then :
11366 ac_cv_lib_dld_shl_load
=yes
11368 ac_cv_lib_dld_shl_load
=no
11370 rm -f core conftest.err conftest.
$ac_objext \
11371 conftest
$ac_exeext conftest.
$ac_ext
11372 LIBS
=$ac_check_lib_save_LIBS
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11375 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11376 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11377 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11379 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11380 if test "x$ac_cv_func_dlopen" = xyes
; then :
11381 lt_cv_dlopen
="dlopen"
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11384 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11385 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11386 $as_echo_n "(cached) " >&6
11388 ac_check_lib_save_LIBS
=$LIBS
11390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11391 /* end confdefs.h. */
11393 /* Override any GCC internal prototype to avoid an error.
11394 Use char because int might match the return type of a GCC
11395 builtin and then its argument prototype would still apply. */
11408 if ac_fn_c_try_link
"$LINENO"; then :
11409 ac_cv_lib_dl_dlopen
=yes
11411 ac_cv_lib_dl_dlopen
=no
11413 rm -f core conftest.err conftest.
$ac_objext \
11414 conftest
$ac_exeext conftest.
$ac_ext
11415 LIBS
=$ac_check_lib_save_LIBS
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11418 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11419 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11420 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11423 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11424 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11425 $as_echo_n "(cached) " >&6
11427 ac_check_lib_save_LIBS
=$LIBS
11428 LIBS
="-lsvld $LIBS"
11429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11430 /* end confdefs.h. */
11432 /* Override any GCC internal prototype to avoid an error.
11433 Use char because int might match the return type of a GCC
11434 builtin and then its argument prototype would still apply. */
11447 if ac_fn_c_try_link
"$LINENO"; then :
11448 ac_cv_lib_svld_dlopen
=yes
11450 ac_cv_lib_svld_dlopen
=no
11452 rm -f core conftest.err conftest.
$ac_objext \
11453 conftest
$ac_exeext conftest.
$ac_ext
11454 LIBS
=$ac_check_lib_save_LIBS
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11457 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11458 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11459 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11462 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11463 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11464 $as_echo_n "(cached) " >&6
11466 ac_check_lib_save_LIBS
=$LIBS
11468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11469 /* end confdefs.h. */
11471 /* Override any GCC internal prototype to avoid an error.
11472 Use char because int might match the return type of a GCC
11473 builtin and then its argument prototype would still apply. */
11481 return dld_link ();
11486 if ac_fn_c_try_link
"$LINENO"; then :
11487 ac_cv_lib_dld_dld_link
=yes
11489 ac_cv_lib_dld_dld_link
=no
11491 rm -f core conftest.err conftest.
$ac_objext \
11492 conftest
$ac_exeext conftest.
$ac_ext
11493 LIBS
=$ac_check_lib_save_LIBS
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11496 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11497 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11498 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11519 if test "x$lt_cv_dlopen" != xno
; then
11525 case $lt_cv_dlopen in
11527 save_CPPFLAGS
="$CPPFLAGS"
11528 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11530 save_LDFLAGS
="$LDFLAGS"
11531 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11534 LIBS
="$lt_cv_dlopen_libs $LIBS"
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11537 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11538 if ${lt_cv_dlopen_self+:} false
; then :
11539 $as_echo_n "(cached) " >&6
11541 if test "$cross_compiling" = yes; then :
11542 lt_cv_dlopen_self
=cross
11544 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11545 lt_status
=$lt_dlunknown
11546 cat > conftest.
$ac_ext <<_LT_EOF
11547 #line 11547 "configure"
11548 #include "confdefs.h"
11557 # define LT_DLGLOBAL RTLD_GLOBAL
11560 # define LT_DLGLOBAL DL_GLOBAL
11562 # define LT_DLGLOBAL 0
11566 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11567 find out it does not work in some platform. */
11568 #ifndef LT_DLLAZY_OR_NOW
11570 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11573 # define LT_DLLAZY_OR_NOW DL_LAZY
11576 # define LT_DLLAZY_OR_NOW RTLD_NOW
11579 # define LT_DLLAZY_OR_NOW DL_NOW
11581 # define LT_DLLAZY_OR_NOW 0
11588 /* When -fvisbility=hidden is used, assume the code has been annotated
11589 correspondingly for the symbols needed. */
11590 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11591 void fnord () __attribute__((visibility("default")));
11594 void fnord () { int i=42; }
11597 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11598 int status = $lt_dlunknown;
11602 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11605 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11606 else puts (dlerror ());
11608 /* dlclose (self); */
11616 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11617 (eval $ac_link) 2>&5
11619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11620 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11621 (.
/conftest
; exit; ) >&5 2>/dev
/null
11623 case x
$lt_status in
11624 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11625 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11626 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11629 # compilation failed
11630 lt_cv_dlopen_self
=no
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11638 $as_echo "$lt_cv_dlopen_self" >&6; }
11640 if test "x$lt_cv_dlopen_self" = xyes
; then
11641 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11643 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11644 if ${lt_cv_dlopen_self_static+:} false
; then :
11645 $as_echo_n "(cached) " >&6
11647 if test "$cross_compiling" = yes; then :
11648 lt_cv_dlopen_self_static
=cross
11650 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11651 lt_status
=$lt_dlunknown
11652 cat > conftest.
$ac_ext <<_LT_EOF
11653 #line 11653 "configure"
11654 #include "confdefs.h"
11663 # define LT_DLGLOBAL RTLD_GLOBAL
11666 # define LT_DLGLOBAL DL_GLOBAL
11668 # define LT_DLGLOBAL 0
11672 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11673 find out it does not work in some platform. */
11674 #ifndef LT_DLLAZY_OR_NOW
11676 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11679 # define LT_DLLAZY_OR_NOW DL_LAZY
11682 # define LT_DLLAZY_OR_NOW RTLD_NOW
11685 # define LT_DLLAZY_OR_NOW DL_NOW
11687 # define LT_DLLAZY_OR_NOW 0
11694 /* When -fvisbility=hidden is used, assume the code has been annotated
11695 correspondingly for the symbols needed. */
11696 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11697 void fnord () __attribute__((visibility("default")));
11700 void fnord () { int i=42; }
11703 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11704 int status = $lt_dlunknown;
11708 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11711 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11712 else puts (dlerror ());
11714 /* dlclose (self); */
11722 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11723 (eval $ac_link) 2>&5
11725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11726 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11727 (.
/conftest
; exit; ) >&5 2>/dev
/null
11729 case x
$lt_status in
11730 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11731 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11732 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11735 # compilation failed
11736 lt_cv_dlopen_self_static
=no
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11744 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11747 CPPFLAGS
="$save_CPPFLAGS"
11748 LDFLAGS
="$save_LDFLAGS"
11753 case $lt_cv_dlopen_self in
11754 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11755 *) enable_dlopen_self
=unknown
;;
11758 case $lt_cv_dlopen_self_static in
11759 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11760 *) enable_dlopen_self_static
=unknown
;;
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11783 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11784 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11785 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11786 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11788 $as_echo "yes" >&6; }
11790 # FIXME - insert some real tests, host_os isn't really good enough
11793 if test -n "$STRIP" ; then
11794 striplib
="$STRIP -x"
11795 old_striplib
="$STRIP -S"
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11797 $as_echo "yes" >&6; }
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11800 $as_echo "no" >&6; }
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11805 $as_echo "no" >&6; }
11821 # Report which library types will actually be built
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11823 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11825 $as_echo "$can_build_shared" >&6; }
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11828 $as_echo_n "checking whether to build shared libraries... " >&6; }
11829 test "$can_build_shared" = "no" && enable_shared
=no
11831 # On AIX, shared libraries and static libraries use the same namespace, and
11832 # are all built from PIC.
11835 test "$enable_shared" = yes && enable_static
=no
11836 if test -n "$RANLIB"; then
11837 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11838 postinstall_cmds
='$RANLIB $lib'
11843 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11844 test "$enable_shared" = yes && enable_static
=no
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11849 $as_echo "$enable_shared" >&6; }
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11852 $as_echo_n "checking whether to build static libraries... " >&6; }
11853 # Make sure either enable_shared or enable_static is yes.
11854 test "$enable_shared" = yes || enable_static
=yes
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11856 $as_echo "$enable_static" >&6; }
11863 ac_cpp
='$CPP $CPPFLAGS'
11864 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11865 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11866 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11882 # Source file extension for Go test sources.
11885 # Object file extension for compiled Go test sources.
11889 # Code to be used in simple compile tests
11890 lt_simple_compile_test_code
="package main; func main() { }"
11892 # Code to be used in simple link tests
11893 lt_simple_link_test_code
='package main; func main() { }'
11895 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11902 # If no C compiler was specified, use CC.
11905 # If no C compiler flags were specified, use CFLAGS.
11906 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11908 # Allow CC to be a program name with arguments.
11912 # save warnings/boilerplate of simple test code
11913 ac_outfile
=conftest.
$ac_objext
11914 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11915 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11916 _lt_compiler_boilerplate
=`cat conftest.err`
11919 ac_outfile
=conftest.
$ac_objext
11920 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11921 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11922 _lt_linker_boilerplate
=`cat conftest.err`
11926 # Allow CC to be a program name with arguments.
11934 for cc_temp
in $compiler""; do
11936 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11937 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11942 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11945 # Go did not exist at the time GCC didn't implicitly link libc in.
11946 archive_cmds_need_lc_GO
=no
11948 old_archive_cmds_GO
=$old_archive_cmds
11951 ## There is no encapsulation within the following macros, do not change
11952 ## the running order or otherwise move them around unless you know exactly
11953 ## what you are doing...
11954 if test -n "$compiler"; then
11956 lt_prog_compiler_no_builtin_flag_GO
=
11958 if test "$GCC" = yes; then
11959 case $cc_basename in
11961 lt_prog_compiler_no_builtin_flag_GO
=' -Xcompiler -fno-builtin' ;;
11963 lt_prog_compiler_no_builtin_flag_GO
=' -fno-builtin' ;;
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11967 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11968 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
11969 $as_echo_n "(cached) " >&6
11971 lt_cv_prog_compiler_rtti_exceptions
=no
11972 ac_outfile
=conftest.
$ac_objext
11973 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11974 lt_compiler_flag
="-fno-rtti -fno-exceptions"
11975 # Insert the option either (1) after the last *FLAGS variable, or
11976 # (2) before a word containing "conftest.", or (3) at the end.
11977 # Note that $ac_compile itself does not contain backslashes and begins
11978 # with a dollar sign (not a hyphen), so the echo should work correctly.
11979 # The option is referenced via a variable to avoid confusing sed.
11980 lt_compile
=`echo "$ac_compile" | $SED \
11981 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11982 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11983 -e 's:$: $lt_compiler_flag:'`
11984 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11985 (eval "$lt_compile" 2>conftest.err
)
11987 cat conftest.err
>&5
11988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11989 if (exit $ac_status) && test -s "$ac_outfile"; then
11990 # The compiler can only warn and ignore the option if not recognized
11991 # So say no if there are warnings other than the usual output.
11992 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11993 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11994 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11995 lt_cv_prog_compiler_rtti_exceptions
=yes
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
12002 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
12004 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
12005 lt_prog_compiler_no_builtin_flag_GO
="$lt_prog_compiler_no_builtin_flag_GO -fno-rtti -fno-exceptions"
12014 lt_prog_compiler_wl_GO
=
12015 lt_prog_compiler_pic_GO
=
12016 lt_prog_compiler_static_GO
=
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12019 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12021 if test "$GCC" = yes; then
12022 lt_prog_compiler_wl_GO
='-Wl,'
12023 lt_prog_compiler_static_GO
='-static'
12027 # All AIX code is PIC.
12028 if test "$host_cpu" = ia64
; then
12029 # AIX 5 now supports IA64 processor
12030 lt_prog_compiler_static_GO
='-Bstatic'
12032 lt_prog_compiler_pic_GO
='-fPIC'
12038 # see comment about AmigaOS4 .so support
12039 lt_prog_compiler_pic_GO
='-fPIC'
12042 # FIXME: we need at least 68020 code to build shared libraries, but
12043 # adding the `-m68020' flag to GCC prevents building anything better,
12045 lt_prog_compiler_pic_GO
='-m68020 -resident32 -malways-restore-a4'
12050 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12051 # PIC is the default for these OSes.
12054 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12055 # This hack is so that the source file can tell whether it is being
12056 # built for inclusion in a dll (and should export symbols for example).
12057 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12058 # (--disable-auto-import) libraries
12059 lt_prog_compiler_pic_GO
='-DDLL_EXPORT'
12062 darwin
* | rhapsody
*)
12063 # PIC is the default on this platform
12064 # Common symbols not allowed in MH_DYLIB files
12065 lt_prog_compiler_pic_GO
='-fno-common'
12069 # PIC is the default for Haiku.
12070 # The "-static" flag exists, but is broken.
12071 lt_prog_compiler_static_GO
=
12075 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12076 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12077 # sets the default TLS model and affects inlining.
12083 lt_prog_compiler_pic_GO
='-fPIC'
12089 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12090 # Instead, we relocate shared libraries at runtime.
12094 # Just because we use GCC doesn't mean we suddenly get shared libraries
12095 # on systems that don't support them.
12096 lt_prog_compiler_can_build_shared_GO
=no
12101 # QNX uses GNU C++, but need to define -shared option too, otherwise
12102 # it will coredump.
12103 lt_prog_compiler_pic_GO
='-fPIC -shared'
12107 if test -d /usr
/nec
; then
12108 lt_prog_compiler_pic_GO
=-Kconform_pic
12113 lt_prog_compiler_pic_GO
='-fPIC'
12117 case $cc_basename in
12118 nvcc
*) # Cuda Compiler Driver 2.2
12119 lt_prog_compiler_wl_GO
='-Xlinker '
12120 lt_prog_compiler_pic_GO
='-Xcompiler -fPIC'
12124 # PORTME Check for flag to pass linker flags through the system compiler.
12127 lt_prog_compiler_wl_GO
='-Wl,'
12128 if test "$host_cpu" = ia64
; then
12129 # AIX 5 now supports IA64 processor
12130 lt_prog_compiler_static_GO
='-Bstatic'
12132 lt_prog_compiler_static_GO
='-bnso -bI:/lib/syscalls.exp'
12136 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12137 # This hack is so that the source file can tell whether it is being
12138 # built for inclusion in a dll (and should export symbols for example).
12139 lt_prog_compiler_pic_GO
='-DDLL_EXPORT'
12142 hpux9
* | hpux10
* | hpux11
*)
12143 lt_prog_compiler_wl_GO
='-Wl,'
12144 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12145 # not for PA HP-UX.
12151 lt_prog_compiler_pic_GO
='+Z'
12154 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12155 lt_prog_compiler_static_GO
='${wl}-a ${wl}archive'
12158 irix5
* | irix6
* | nonstopux
*)
12159 lt_prog_compiler_wl_GO
='-Wl,'
12160 # PIC (with -KPIC) is the default.
12161 lt_prog_compiler_static_GO
='-non_shared'
12164 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12165 case $cc_basename in
12166 # old Intel for x86_64 which still supported -KPIC.
12168 lt_prog_compiler_wl_GO
='-Wl,'
12169 lt_prog_compiler_pic_GO
='-KPIC'
12170 lt_prog_compiler_static_GO
='-static'
12172 # icc used to be incompatible with GCC.
12173 # ICC 10 doesn't accept -KPIC any more.
12175 lt_prog_compiler_wl_GO
='-Wl,'
12176 lt_prog_compiler_pic_GO
='-fPIC'
12177 lt_prog_compiler_static_GO
='-static'
12179 # Lahey Fortran 8.1.
12181 lt_prog_compiler_wl_GO
='-Wl,'
12182 lt_prog_compiler_pic_GO
='--shared'
12183 lt_prog_compiler_static_GO
='--static'
12185 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12186 # Portland Group compilers (*not* the Pentium gcc compiler,
12187 # which looks to be a dead project)
12188 lt_prog_compiler_wl_GO
='-Wl,'
12189 lt_prog_compiler_pic_GO
='-fpic'
12190 lt_prog_compiler_static_GO
='-Bstatic'
12193 lt_prog_compiler_wl_GO
='-Wl,'
12194 # All Alpha code is PIC.
12195 lt_prog_compiler_static_GO
='-non_shared'
12197 xl
* | bgxl
* | bgf
* | mpixl
*)
12198 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
12199 lt_prog_compiler_wl_GO
='-Wl,'
12200 lt_prog_compiler_pic_GO
='-qpic'
12201 lt_prog_compiler_static_GO
='-qstaticlink'
12204 case `$CC -V 2>&1 | sed 5q` in
12205 *Sun\ F
* |
*Sun
*Fortran
*)
12206 # Sun Fortran 8.3 passes all unrecognized flags to the linker
12207 lt_prog_compiler_pic_GO
='-KPIC'
12208 lt_prog_compiler_static_GO
='-Bstatic'
12209 lt_prog_compiler_wl_GO
=''
12213 lt_prog_compiler_pic_GO
='-KPIC'
12214 lt_prog_compiler_static_GO
='-Bstatic'
12215 lt_prog_compiler_wl_GO
='-Wl,'
12223 lt_prog_compiler_pic_GO
='-KPIC'
12224 lt_prog_compiler_static_GO
='-Bstatic'
12228 # QNX uses GNU C++, but need to define -shared option too, otherwise
12229 # it will coredump.
12230 lt_prog_compiler_pic_GO
='-fPIC -shared'
12233 osf3
* | osf4
* | osf5
*)
12234 lt_prog_compiler_wl_GO
='-Wl,'
12235 # All OSF/1 code is PIC.
12236 lt_prog_compiler_static_GO
='-non_shared'
12240 lt_prog_compiler_static_GO
='-non_shared'
12244 lt_prog_compiler_pic_GO
='-KPIC'
12245 lt_prog_compiler_static_GO
='-Bstatic'
12246 case $cc_basename in
12247 f77
* | f90
* | f95
*)
12248 lt_prog_compiler_wl_GO
='-Qoption ld ';;
12250 lt_prog_compiler_wl_GO
='-Wl,';;
12255 lt_prog_compiler_wl_GO
='-Qoption ld '
12256 lt_prog_compiler_pic_GO
='-PIC'
12257 lt_prog_compiler_static_GO
='-Bstatic'
12260 sysv4 | sysv4.2uw2
* | sysv4.3
*)
12261 lt_prog_compiler_wl_GO
='-Wl,'
12262 lt_prog_compiler_pic_GO
='-KPIC'
12263 lt_prog_compiler_static_GO
='-Bstatic'
12267 if test -d /usr
/nec
;then
12268 lt_prog_compiler_pic_GO
='-Kconform_pic'
12269 lt_prog_compiler_static_GO
='-Bstatic'
12273 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12274 lt_prog_compiler_wl_GO
='-Wl,'
12275 lt_prog_compiler_pic_GO
='-KPIC'
12276 lt_prog_compiler_static_GO
='-Bstatic'
12280 lt_prog_compiler_wl_GO
='-Wl,'
12281 lt_prog_compiler_can_build_shared_GO
=no
12285 lt_prog_compiler_pic_GO
='-pic'
12286 lt_prog_compiler_static_GO
='-Bstatic'
12290 lt_prog_compiler_can_build_shared_GO
=no
12296 # For platforms which do not support PIC, -DPIC is meaningless:
12298 lt_prog_compiler_pic_GO
=
12301 lt_prog_compiler_pic_GO
="$lt_prog_compiler_pic_GO"
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_GO" >&5
12305 $as_echo "$lt_prog_compiler_pic_GO" >&6; }
12310 # Check to make sure the PIC flag actually works.
12312 if test -n "$lt_prog_compiler_pic_GO"; then
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GO works" >&5
12314 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GO works... " >&6; }
12315 if ${lt_cv_prog_compiler_pic_works_GO+:} false
; then :
12316 $as_echo_n "(cached) " >&6
12318 lt_cv_prog_compiler_pic_works_GO
=no
12319 ac_outfile
=conftest.
$ac_objext
12320 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12321 lt_compiler_flag
="$lt_prog_compiler_pic_GO"
12322 # Insert the option either (1) after the last *FLAGS variable, or
12323 # (2) before a word containing "conftest.", or (3) at the end.
12324 # Note that $ac_compile itself does not contain backslashes and begins
12325 # with a dollar sign (not a hyphen), so the echo should work correctly.
12326 # The option is referenced via a variable to avoid confusing sed.
12327 lt_compile
=`echo "$ac_compile" | $SED \
12328 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12329 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12330 -e 's:$: $lt_compiler_flag:'`
12331 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12332 (eval "$lt_compile" 2>conftest.err
)
12334 cat conftest.err
>&5
12335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12336 if (exit $ac_status) && test -s "$ac_outfile"; then
12337 # The compiler can only warn and ignore the option if not recognized
12338 # So say no if there are warnings other than the usual output.
12339 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
12340 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12341 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12342 lt_cv_prog_compiler_pic_works_GO
=yes
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_GO" >&5
12349 $as_echo "$lt_cv_prog_compiler_pic_works_GO" >&6; }
12351 if test x
"$lt_cv_prog_compiler_pic_works_GO" = xyes
; then
12352 case $lt_prog_compiler_pic_GO in
12354 *) lt_prog_compiler_pic_GO
=" $lt_prog_compiler_pic_GO" ;;
12357 lt_prog_compiler_pic_GO
=
12358 lt_prog_compiler_can_build_shared_GO
=no
12366 # Check to make sure the static flag actually works.
12368 wl
=$lt_prog_compiler_wl_GO eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GO\"
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12370 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12371 if ${lt_cv_prog_compiler_static_works_GO+:} false
; then :
12372 $as_echo_n "(cached) " >&6
12374 lt_cv_prog_compiler_static_works_GO
=no
12375 save_LDFLAGS
="$LDFLAGS"
12376 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12377 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12378 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12379 # The linker can only warn and ignore the option if not recognized
12380 # So say no if there are warnings
12381 if test -s conftest.err
; then
12382 # Append any errors to the config.log.
12383 cat conftest.err
1>&5
12384 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
12385 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12386 if diff conftest.exp conftest.er2
>/dev
/null
; then
12387 lt_cv_prog_compiler_static_works_GO
=yes
12390 lt_cv_prog_compiler_static_works_GO
=yes
12394 LDFLAGS
="$save_LDFLAGS"
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_GO" >&5
12398 $as_echo "$lt_cv_prog_compiler_static_works_GO" >&6; }
12400 if test x
"$lt_cv_prog_compiler_static_works_GO" = xyes
; then
12403 lt_prog_compiler_static_GO
=
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12410 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12411 if ${lt_cv_prog_compiler_c_o_GO+:} false
; then :
12412 $as_echo_n "(cached) " >&6
12414 lt_cv_prog_compiler_c_o_GO
=no
12415 $RM -r conftest
2>/dev
/null
12419 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12421 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12422 # Insert the option either (1) after the last *FLAGS variable, or
12423 # (2) before a word containing "conftest.", or (3) at the end.
12424 # Note that $ac_compile itself does not contain backslashes and begins
12425 # with a dollar sign (not a hyphen), so the echo should work correctly.
12426 lt_compile
=`echo "$ac_compile" | $SED \
12427 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12428 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12429 -e 's:$: $lt_compiler_flag:'`
12430 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12431 (eval "$lt_compile" 2>out
/conftest.err
)
12433 cat out
/conftest.err
>&5
12434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12435 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12437 # The compiler can only warn and ignore the option if not recognized
12438 # So say no if there are warnings
12439 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12440 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12441 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12442 lt_cv_prog_compiler_c_o_GO
=yes
12447 # SGI C++ compiler will create directory out/ii_files/ for
12448 # template instantiation
12449 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12450 $RM out
/* && rmdir out
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
12457 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12462 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12463 if ${lt_cv_prog_compiler_c_o_GO+:} false
; then :
12464 $as_echo_n "(cached) " >&6
12466 lt_cv_prog_compiler_c_o_GO
=no
12467 $RM -r conftest
2>/dev
/null
12471 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12473 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12474 # Insert the option either (1) after the last *FLAGS variable, or
12475 # (2) before a word containing "conftest.", or (3) at the end.
12476 # Note that $ac_compile itself does not contain backslashes and begins
12477 # with a dollar sign (not a hyphen), so the echo should work correctly.
12478 lt_compile
=`echo "$ac_compile" | $SED \
12479 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12480 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12481 -e 's:$: $lt_compiler_flag:'`
12482 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12483 (eval "$lt_compile" 2>out
/conftest.err
)
12485 cat out
/conftest.err
>&5
12486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12487 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12489 # The compiler can only warn and ignore the option if not recognized
12490 # So say no if there are warnings
12491 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12492 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12493 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12494 lt_cv_prog_compiler_c_o_GO
=yes
12499 # SGI C++ compiler will create directory out/ii_files/ for
12500 # template instantiation
12501 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12502 $RM out
/* && rmdir out
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
12509 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
12514 hard_links
="nottested"
12515 if test "$lt_cv_prog_compiler_c_o_GO" = no
&& test "$need_locks" != no
; then
12516 # do not overwrite the value of need_locks provided by the user
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12518 $as_echo_n "checking if we can lock with hard links... " >&6; }
12521 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12523 ln conftest.a conftest.b
2>&5 || hard_links
=no
12524 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12526 $as_echo "$hard_links" >&6; }
12527 if test "$hard_links" = no
; then
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12529 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12539 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12542 allow_undefined_flag_GO
=
12543 always_export_symbols_GO
=no
12545 archive_expsym_cmds_GO
=
12546 compiler_needs_object_GO
=no
12547 enable_shared_with_static_runtimes_GO
=no
12548 export_dynamic_flag_spec_GO
=
12549 export_symbols_cmds_GO
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12550 hardcode_automatic_GO
=no
12551 hardcode_direct_GO
=no
12552 hardcode_direct_absolute_GO
=no
12553 hardcode_libdir_flag_spec_GO
=
12554 hardcode_libdir_flag_spec_ld_GO
=
12555 hardcode_libdir_separator_GO
=
12556 hardcode_minus_L_GO
=no
12557 hardcode_shlibpath_var_GO
=unsupported
12558 inherit_rpath_GO
=no
12559 link_all_deplibs_GO
=unknown
12561 module_expsym_cmds_GO
=
12562 old_archive_from_new_cmds_GO
=
12563 old_archive_from_expsyms_cmds_GO
=
12564 thread_safe_flag_spec_GO
=
12565 whole_archive_flag_spec_GO
=
12566 # include_expsyms should be a list of space-separated symbols to be *always*
12567 # included in the symbol list
12568 include_expsyms_GO
=
12569 # exclude_expsyms can be an extended regexp of symbols to exclude
12570 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12571 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12572 # as well as any symbol that contains `d'.
12573 exclude_expsyms_GO
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12574 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12575 # platforms (ab)use it in PIC code, but their linkers get confused if
12576 # the symbol is explicitly referenced. Since portable code cannot
12577 # rely on this symbol name, it's probably fine to never include it in
12578 # preloaded symbol tables.
12579 # Exclude shared library initialization/finalization symbols.
12580 extract_expsyms_cmds
=
12583 cygwin
* | mingw
* | pw32
* | cegcc
*)
12584 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12585 # When not using gcc, we currently assume that we are using
12586 # Microsoft Visual C++.
12587 if test "$GCC" != yes; then
12592 # we just hope/assume this is gcc and not c89 (= MSVC++)
12602 # On some targets, GNU ld is compatible enough with the native linker
12603 # that we're better off using the native interface for both.
12604 lt_use_gnu_ld_interface
=no
12605 if test "$with_gnu_ld" = yes; then
12608 # The AIX port of GNU ld has always aspired to compatibility
12609 # with the native linker. However, as the warning in the GNU ld
12610 # block says, versions before 2.19.5* couldn't really create working
12611 # shared libraries, regardless of the interface used.
12612 case `$LD -v 2>&1` in
12613 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
12614 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
12615 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
12617 lt_use_gnu_ld_interface
=yes
12622 lt_use_gnu_ld_interface
=yes
12627 if test "$lt_use_gnu_ld_interface" = yes; then
12628 # If archive_cmds runs LD, not CC, wlarc should be empty
12631 # Set some defaults for GNU ld with shared library support. These
12632 # are reset later if shared libraries are not supported. Putting them
12633 # here allows them to be overridden if necessary.
12634 runpath_var
=LD_RUN_PATH
12635 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12636 export_dynamic_flag_spec_GO
='${wl}--export-dynamic'
12637 # ancient GNU ld didn't support --whole-archive et. al.
12638 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12639 whole_archive_flag_spec_GO
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12641 whole_archive_flag_spec_GO
=
12643 supports_anon_versioning
=no
12644 case `$LD -v 2>&1` in
12645 *GNU\ gold
*) supports_anon_versioning
=yes ;;
12646 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12647 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12648 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12649 *\
2.11.
*) ;; # other 2.11 versions
12650 *) supports_anon_versioning
=yes ;;
12653 # See if GNU ld supports shared libraries.
12656 # On AIX/PPC, the GNU linker is very broken
12657 if test "$host_cpu" != ia64
; then
12661 *** Warning: the GNU linker, at least up to release 2.19, is reported
12662 *** to be unable to reliably create shared libraries on AIX.
12663 *** Therefore, libtool is disabling shared libraries support. If you
12664 *** really care for shared libraries, you may want to install binutils
12665 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12666 *** You will then need to restart the configuration process.
12675 # see comment about AmigaOS4 .so support
12676 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12677 archive_expsym_cmds_GO
=''
12680 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)'
12681 hardcode_libdir_flag_spec_GO
='-L$libdir'
12682 hardcode_minus_L_GO
=yes
12688 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12689 allow_undefined_flag_GO
=unsupported
12690 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12691 # support --undefined. This deserves some investigation. FIXME
12692 archive_cmds_GO
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12698 cygwin
* | mingw
* | pw32
* | cegcc
*)
12699 # _LT_TAGVAR(hardcode_libdir_flag_spec, GO) is actually meaningless,
12700 # as there is no search path for DLLs.
12701 hardcode_libdir_flag_spec_GO
='-L$libdir'
12702 export_dynamic_flag_spec_GO
='${wl}--export-all-symbols'
12703 allow_undefined_flag_GO
=unsupported
12704 always_export_symbols_GO
=no
12705 enable_shared_with_static_runtimes_GO
=yes
12706 export_symbols_cmds_GO
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12708 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12709 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12710 # If the export-symbols file already is a .def file (1st line
12711 # is EXPORTS), use it as is; otherwise, prepend...
12712 archive_expsym_cmds_GO
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12713 cp $export_symbols $output_objdir/$soname.def;
12715 echo EXPORTS > $output_objdir/$soname.def;
12716 cat $export_symbols >> $output_objdir/$soname.def;
12718 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12725 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12726 link_all_deplibs_GO
=yes
12730 hardcode_direct_GO
=no
12731 hardcode_shlibpath_var_GO
=no
12732 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12733 export_dynamic_flag_spec_GO
='${wl}-E'
12734 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12735 # Instead, shared libraries are loaded at an image base (0x10000000 by
12736 # default) and relocated if they conflict, which is a slow very memory
12737 # consuming and fragmenting process. To avoid this, we pick a random,
12738 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12739 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12740 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'
12741 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'
12744 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12746 if test "$host_os" = linux-dietlibc
; then
12747 case $cc_basename in
12748 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12751 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12752 && test "$tmp_diet" = no
12755 tmp_sharedflag
='-shared'
12756 case $cc_basename,$host_cpu in
12757 pgcc
*) # Portland Group C compiler
12758 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'
12759 tmp_addflag
=' $pic_flag'
12761 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12762 # Portland Group f77 and f90 compilers
12763 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'
12764 tmp_addflag
=' $pic_flag -Mnomain' ;;
12765 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12766 tmp_addflag
=' -i_dynamic' ;;
12767 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12768 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12769 ifc
* | ifort
*) # Intel Fortran compiler
12770 tmp_addflag
=' -nofor_main' ;;
12771 lf95
*) # Lahey Fortran 8.1
12772 whole_archive_flag_spec_GO
=
12773 tmp_sharedflag
='--shared' ;;
12774 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12775 tmp_sharedflag
='-qmkshrobj'
12777 nvcc
*) # Cuda Compiler Driver 2.2
12778 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'
12779 compiler_needs_object_GO
=yes
12782 case `$CC -V 2>&1 | sed 5q` in
12783 *Sun\ C
*) # Sun C 5.9
12784 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'
12785 compiler_needs_object_GO
=yes
12786 tmp_sharedflag
='-G' ;;
12787 *Sun\ F
*) # Sun Fortran 8.3
12788 tmp_sharedflag
='-G' ;;
12790 archive_cmds_GO
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12792 if test "x$supports_anon_versioning" = xyes
; then
12793 archive_expsym_cmds_GO
='echo "{ global:" > $output_objdir/$libname.ver~
12794 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12795 echo "local: *; };" >> $output_objdir/$libname.ver~
12796 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12799 case $cc_basename in
12800 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12801 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12802 whole_archive_flag_spec_GO
='--whole-archive$convenience --no-whole-archive'
12803 hardcode_libdir_flag_spec_GO
=
12804 hardcode_libdir_flag_spec_ld_GO
='-rpath $libdir'
12805 archive_cmds_GO
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12806 if test "x$supports_anon_versioning" = xyes
; then
12807 archive_expsym_cmds_GO
='echo "{ global:" > $output_objdir/$libname.ver~
12808 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12809 echo "local: *; };" >> $output_objdir/$libname.ver~
12810 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12820 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12821 archive_cmds_GO
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12824 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12825 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12830 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12834 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12835 *** create shared libraries on Solaris systems. Therefore, libtool
12836 *** is disabling shared libraries support. We urge you to upgrade GNU
12837 *** binutils to release 2.9.1 or newer. Another option is to modify
12838 *** your PATH or compiler configuration so that the native linker is
12839 *** used, and then restart.
12842 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12843 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12844 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12850 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12851 case `$LD -v 2>&1` in
12852 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12856 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12857 *** reliably create shared libraries on SCO systems. Therefore, libtool
12858 *** is disabling shared libraries support. We urge you to upgrade GNU
12859 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12860 *** your PATH or compiler configuration so that the native linker is
12861 *** used, and then restart.
12866 # For security reasons, it is highly recommended that you always
12867 # use absolute paths for naming shared libraries, and exclude the
12868 # DT_RUNPATH tag from executables and libraries. But doing so
12869 # requires that you compile everything twice, which is a pain.
12870 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12871 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12872 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12873 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12882 archive_cmds_GO
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12884 hardcode_direct_GO
=yes
12885 hardcode_shlibpath_var_GO
=no
12889 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12890 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12891 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12898 if test "$ld_shlibs_GO" = no
; then
12900 hardcode_libdir_flag_spec_GO
=
12901 export_dynamic_flag_spec_GO
=
12902 whole_archive_flag_spec_GO
=
12905 # PORTME fill in a description of your system's linker (not GNU ld)
12908 allow_undefined_flag_GO
=unsupported
12909 always_export_symbols_GO
=yes
12910 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'
12911 # Note: this linker hardcodes the directories in LIBPATH if there
12912 # are no directories specified by -L.
12913 hardcode_minus_L_GO
=yes
12914 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12915 # Neither direct hardcoding nor static linking is supported with a
12917 hardcode_direct_GO
=unsupported
12922 if test "$host_cpu" = ia64
; then
12923 # On IA64, the linker does run time linking by default, so we don't
12924 # have to do anything special.
12925 aix_use_runtimelinking
=no
12926 exp_sym_flag
='-Bexport'
12929 # If we're using GNU nm, then we don't want the "-C" option.
12930 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12931 # Also, AIX nm treats weak defined symbols like other global
12932 # defined symbols, whereas GNU nm marks them as "W".
12933 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
12934 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'
12936 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'
12938 aix_use_runtimelinking
=no
12940 # Test if we are trying to use run time linking or normal
12941 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12942 # need to do runtime linking.
12943 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12944 for ld_flag
in $LDFLAGS; do
12945 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
12946 aix_use_runtimelinking
=yes
12953 exp_sym_flag
='-bexport'
12954 no_entry_flag
='-bnoentry'
12957 # When large executables or shared objects are built, AIX ld can
12958 # have problems creating the table of contents. If linking a library
12959 # or program results in "error TOC overflow" add -mminimal-toc to
12960 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12961 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12964 hardcode_direct_GO
=yes
12965 hardcode_direct_absolute_GO
=yes
12966 hardcode_libdir_separator_GO
=':'
12967 link_all_deplibs_GO
=yes
12968 file_list_spec_GO
='${wl}-f,'
12970 if test "$GCC" = yes; then
12971 case $host_os in aix4.
[012]|aix4.
[012].
*)
12972 # We only want to do this on AIX 4.2 and lower, the check
12973 # below for broken collect2 doesn't work under 4.3+
12974 collect2name
=`${CC} -print-prog-name=collect2`
12975 if test -f "$collect2name" &&
12976 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12978 # We have reworked collect2
12981 # We have old collect2
12982 hardcode_direct_GO
=unsupported
12983 # It fails to find uninstalled libraries when the uninstalled
12984 # path is not listed in the libpath. Setting hardcode_minus_L
12985 # to unsupported forces relinking
12986 hardcode_minus_L_GO
=yes
12987 hardcode_libdir_flag_spec_GO
='-L$libdir'
12988 hardcode_libdir_separator_GO
=
12992 shared_flag
='-shared'
12993 if test "$aix_use_runtimelinking" = yes; then
12994 shared_flag
="$shared_flag "'${wl}-G'
12998 if test "$host_cpu" = ia64
; then
12999 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13000 # chokes on -Wl,-G. The following line is correct:
13003 if test "$aix_use_runtimelinking" = yes; then
13004 shared_flag
='${wl}-G'
13006 shared_flag
='${wl}-bM:SRE'
13011 export_dynamic_flag_spec_GO
='${wl}-bexpall'
13012 # It seems that -bexpall does not export symbols beginning with
13013 # underscore (_), so it is better to generate a list of symbols to export.
13014 always_export_symbols_GO
=yes
13015 if test "$aix_use_runtimelinking" = yes; then
13016 # Warning - without using the other runtime loading flags (-brtl),
13017 # -berok will link without error, but may produce a broken library.
13018 allow_undefined_flag_GO
='-berok'
13019 # Determine the default libpath from the value encoded in an
13020 # empty executable.
13021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13022 /* end confdefs.h. */
13032 if ac_fn_c_try_link
"$LINENO"; then :
13034 lt_aix_libpath_sed
='
13035 /Import File Strings/,/^$/ {
13041 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13042 # Check for a 64-bit object if we didn't find anything.
13043 if test -z "$aix_libpath"; then
13044 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13047 rm -f core conftest.err conftest.
$ac_objext \
13048 conftest
$ac_exeext conftest.
$ac_ext
13049 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13051 hardcode_libdir_flag_spec_GO
='${wl}-blibpath:$libdir:'"$aix_libpath"
13052 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"
13054 if test "$host_cpu" = ia64
; then
13055 hardcode_libdir_flag_spec_GO
='${wl}-R $libdir:/usr/lib:/lib'
13056 allow_undefined_flag_GO
="-z nodefs"
13057 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"
13059 # Determine the default libpath from the value encoded in an
13060 # empty executable.
13061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13062 /* end confdefs.h. */
13072 if ac_fn_c_try_link
"$LINENO"; then :
13074 lt_aix_libpath_sed
='
13075 /Import File Strings/,/^$/ {
13081 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13082 # Check for a 64-bit object if we didn't find anything.
13083 if test -z "$aix_libpath"; then
13084 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13087 rm -f core conftest.err conftest.
$ac_objext \
13088 conftest
$ac_exeext conftest.
$ac_ext
13089 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13091 hardcode_libdir_flag_spec_GO
='${wl}-blibpath:$libdir:'"$aix_libpath"
13092 # Warning - without using the other run time loading flags,
13093 # -berok will link without error, but may produce a broken library.
13094 no_undefined_flag_GO
=' ${wl}-bernotok'
13095 allow_undefined_flag_GO
=' ${wl}-berok'
13096 if test "$with_gnu_ld" = yes; then
13097 # We only use this code for GNU lds that support --whole-archive.
13098 whole_archive_flag_spec_GO
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13100 # Exported symbols can be pulled into shared objects from archives
13101 whole_archive_flag_spec_GO
='$convenience'
13103 archive_cmds_need_lc_GO
=yes
13104 # This is similar to how AIX traditionally builds its shared libraries.
13105 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'
13113 # see comment about AmigaOS4 .so support
13114 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13115 archive_expsym_cmds_GO
=''
13118 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)'
13119 hardcode_libdir_flag_spec_GO
='-L$libdir'
13120 hardcode_minus_L_GO
=yes
13126 export_dynamic_flag_spec_GO
=-rdynamic
13129 cygwin
* | mingw
* | pw32
* | cegcc
*)
13130 # When not using gcc, we currently assume that we are using
13131 # Microsoft Visual C++.
13132 # hardcode_libdir_flag_spec is actually meaningless, as there is
13133 # no search path for DLLs.
13134 hardcode_libdir_flag_spec_GO
=' '
13135 allow_undefined_flag_GO
=unsupported
13136 # Tell ltmain to make .lib files, not .a files.
13138 # Tell ltmain to make .dll files, not .so files.
13140 # FIXME: Setting linknames here is a bad hack.
13141 archive_cmds_GO
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13142 # The linker will automatically build a .lib file if we build a DLL.
13143 old_archive_from_new_cmds_GO
='true'
13144 # FIXME: Should let the user specify the lib program.
13145 old_archive_cmds_GO
='lib -OUT:$oldlib$oldobjs$old_deplibs'
13146 fix_srcfile_path_GO
='`cygpath -w "$srcfile"`'
13147 enable_shared_with_static_runtimes_GO
=yes
13150 darwin
* | rhapsody
*)
13153 archive_cmds_need_lc_GO
=no
13154 hardcode_direct_GO
=no
13155 hardcode_automatic_GO
=yes
13156 hardcode_shlibpath_var_GO
=unsupported
13157 if test "$lt_cv_ld_force_load" = "yes"; then
13158 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\"`'
13160 whole_archive_flag_spec_GO
=''
13162 link_all_deplibs_GO
=yes
13163 allow_undefined_flag_GO
="$_lt_dar_allow_undefined"
13164 case $cc_basename in
13165 ifort
*) _lt_dar_can_shared
=yes ;;
13166 *) _lt_dar_can_shared
=$GCC ;;
13168 if test "$_lt_dar_can_shared" = "yes"; then
13169 output_verbose_link_cmd
=func_echo_all
13170 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}"
13171 module_cmds_GO
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13172 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}"
13173 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}"
13182 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13183 hardcode_libdir_flag_spec_GO
='-L$libdir'
13184 hardcode_shlibpath_var_GO
=no
13187 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13188 # support. Future versions do this automatically, but an explicit c++rt0.o
13189 # does not break anything, and helps significantly (at the cost of a little
13192 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13193 hardcode_libdir_flag_spec_GO
='-R$libdir'
13194 hardcode_direct_GO
=yes
13195 hardcode_shlibpath_var_GO
=no
13198 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13200 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13201 hardcode_direct_GO
=yes
13202 hardcode_minus_L_GO
=yes
13203 hardcode_shlibpath_var_GO
=no
13206 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13207 freebsd
* | dragonfly
*)
13208 archive_cmds_GO
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13209 hardcode_libdir_flag_spec_GO
='-R$libdir'
13210 hardcode_direct_GO
=yes
13211 hardcode_shlibpath_var_GO
=no
13215 if test "$GCC" = yes; then
13216 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'
13218 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'
13220 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
13221 hardcode_libdir_separator_GO
=:
13222 hardcode_direct_GO
=yes
13224 # hardcode_minus_L: Not really in the search PATH,
13225 # but as the default location of the library.
13226 hardcode_minus_L_GO
=yes
13227 export_dynamic_flag_spec_GO
='${wl}-E'
13231 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
13232 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13234 archive_cmds_GO
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13236 if test "$with_gnu_ld" = no
; then
13237 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
13238 hardcode_libdir_flag_spec_ld_GO
='+b $libdir'
13239 hardcode_libdir_separator_GO
=:
13240 hardcode_direct_GO
=yes
13241 hardcode_direct_absolute_GO
=yes
13242 export_dynamic_flag_spec_GO
='${wl}-E'
13243 # hardcode_minus_L: Not really in the search PATH,
13244 # but as the default location of the library.
13245 hardcode_minus_L_GO
=yes
13250 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
13253 archive_cmds_GO
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13256 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13259 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13265 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13268 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13271 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13275 if test "$with_gnu_ld" = no
; then
13276 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
13277 hardcode_libdir_separator_GO
=:
13281 hardcode_direct_GO
=no
13282 hardcode_shlibpath_var_GO
=no
13285 hardcode_direct_GO
=yes
13286 hardcode_direct_absolute_GO
=yes
13287 export_dynamic_flag_spec_GO
='${wl}-E'
13289 # hardcode_minus_L: Not really in the search PATH,
13290 # but as the default location of the library.
13291 hardcode_minus_L_GO
=yes
13297 irix5
* | irix6
* | nonstopux
*)
13298 if test "$GCC" = yes; then
13299 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'
13300 # Try to use the -exported_symbol ld option, if it does not
13301 # work, assume that -exports_file does not work either and
13302 # implicitly export all symbols.
13303 save_LDFLAGS
="$LDFLAGS"
13304 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13306 /* end confdefs.h. */
13309 if ac_fn_c_try_link
"$LINENO"; then :
13310 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'
13313 rm -f core conftest.err conftest.
$ac_objext \
13314 conftest
$ac_exeext conftest.
$ac_ext
13315 LDFLAGS
="$save_LDFLAGS"
13317 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'
13318 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'
13320 archive_cmds_need_lc_GO
='no'
13321 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
13322 hardcode_libdir_separator_GO
=:
13323 inherit_rpath_GO
=yes
13324 link_all_deplibs_GO
=yes
13328 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13329 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13331 archive_cmds_GO
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13333 hardcode_libdir_flag_spec_GO
='-R$libdir'
13334 hardcode_direct_GO
=yes
13335 hardcode_shlibpath_var_GO
=no
13339 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13340 hardcode_direct_GO
=yes
13341 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
13342 hardcode_libdir_separator_GO
=:
13343 hardcode_shlibpath_var_GO
=no
13350 if test -f /usr
/libexec
/ld.so
; then
13351 hardcode_direct_GO
=yes
13352 hardcode_shlibpath_var_GO
=no
13353 hardcode_direct_absolute_GO
=yes
13354 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13355 archive_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13356 archive_expsym_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13357 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
13358 export_dynamic_flag_spec_GO
='${wl}-E'
13361 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
13362 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13363 hardcode_libdir_flag_spec_GO
='-R$libdir'
13366 archive_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13367 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
13377 hardcode_libdir_flag_spec_GO
='-L$libdir'
13378 hardcode_minus_L_GO
=yes
13379 allow_undefined_flag_GO
=unsupported
13380 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'
13381 old_archive_from_new_cmds_GO
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13385 if test "$GCC" = yes; then
13386 allow_undefined_flag_GO
=' ${wl}-expect_unresolved ${wl}\*'
13387 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'
13389 allow_undefined_flag_GO
=' -expect_unresolved \*'
13390 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'
13392 archive_cmds_need_lc_GO
='no'
13393 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
13394 hardcode_libdir_separator_GO
=:
13397 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
13398 if test "$GCC" = yes; then
13399 allow_undefined_flag_GO
=' ${wl}-expect_unresolved ${wl}\*'
13400 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'
13401 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
13403 allow_undefined_flag_GO
=' -expect_unresolved \*'
13404 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'
13405 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~
13406 $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'
13408 # Both c and cxx compiler support -rpath directly
13409 hardcode_libdir_flag_spec_GO
='-rpath $libdir'
13411 archive_cmds_need_lc_GO
='no'
13412 hardcode_libdir_separator_GO
=:
13416 no_undefined_flag_GO
=' -z defs'
13417 if test "$GCC" = yes; then
13419 archive_cmds_GO
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13420 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13421 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13423 case `$CC -V 2>&1` in
13426 archive_cmds_GO
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13427 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13428 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13432 archive_cmds_GO
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13433 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13434 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13438 hardcode_libdir_flag_spec_GO
='-R$libdir'
13439 hardcode_shlibpath_var_GO
=no
13441 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13443 # The compiler driver will combine and reorder linker options,
13444 # but understands `-z linker_flag'. GCC discards it without `$wl',
13445 # but is careful enough not to reorder.
13446 # Supported since Solaris 2.6 (maybe 2.5.1?)
13447 if test "$GCC" = yes; then
13448 whole_archive_flag_spec_GO
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13450 whole_archive_flag_spec_GO
='-z allextract$convenience -z defaultextract'
13454 link_all_deplibs_GO
=yes
13458 if test "x$host_vendor" = xsequent
; then
13459 # Use $CC to link under sequent, because it throws in some extra .o
13460 # files that make .init and .fini sections work.
13461 archive_cmds_GO
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13463 archive_cmds_GO
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13465 hardcode_libdir_flag_spec_GO
='-L$libdir'
13466 hardcode_direct_GO
=yes
13467 hardcode_minus_L_GO
=yes
13468 hardcode_shlibpath_var_GO
=no
13472 case $host_vendor in
13474 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13475 hardcode_direct_GO
=yes # is this really true???
13478 ## LD is ld it makes a PLAMLIB
13479 ## CC just makes a GrossModule.
13480 archive_cmds_GO
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13481 reload_cmds_GO
='$CC -r -o $output$reload_objs'
13482 hardcode_direct_GO
=no
13485 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13486 hardcode_direct_GO
=no
#Motorola manual says yes, but my tests say they lie
13489 runpath_var
='LD_RUN_PATH'
13490 hardcode_shlibpath_var_GO
=no
13494 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13495 hardcode_shlibpath_var_GO
=no
13496 export_dynamic_flag_spec_GO
='-Bexport'
13500 if test -d /usr
/nec
; then
13501 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13502 hardcode_shlibpath_var_GO
=no
13503 runpath_var
=LD_RUN_PATH
13504 hardcode_runpath_var
=yes
13509 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13510 no_undefined_flag_GO
='${wl}-z,text'
13511 archive_cmds_need_lc_GO
=no
13512 hardcode_shlibpath_var_GO
=no
13513 runpath_var
='LD_RUN_PATH'
13515 if test "$GCC" = yes; then
13516 archive_cmds_GO
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13517 archive_expsym_cmds_GO
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13519 archive_cmds_GO
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13520 archive_expsym_cmds_GO
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13524 sysv5
* | sco3.2v5
* | sco5v6
*)
13525 # Note: We can NOT use -z defs as we might desire, because we do not
13526 # link with -lc, and that would cause any symbols used from libc to
13527 # always be unresolved, which means just about no library would
13528 # ever link correctly. If we're not using GNU ld we use -z text
13529 # though, which does catch some bad symbols but isn't as heavy-handed
13531 no_undefined_flag_GO
='${wl}-z,text'
13532 allow_undefined_flag_GO
='${wl}-z,nodefs'
13533 archive_cmds_need_lc_GO
=no
13534 hardcode_shlibpath_var_GO
=no
13535 hardcode_libdir_flag_spec_GO
='${wl}-R,$libdir'
13536 hardcode_libdir_separator_GO
=':'
13537 link_all_deplibs_GO
=yes
13538 export_dynamic_flag_spec_GO
='${wl}-Bexport'
13539 runpath_var
='LD_RUN_PATH'
13541 if test "$GCC" = yes; then
13542 archive_cmds_GO
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13543 archive_expsym_cmds_GO
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13545 archive_cmds_GO
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13546 archive_expsym_cmds_GO
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13551 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13552 hardcode_libdir_flag_spec_GO
='-L$libdir'
13553 hardcode_shlibpath_var_GO
=no
13561 if test x
$host_vendor = xsni
; then
13563 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13564 export_dynamic_flag_spec_GO
='${wl}-Blargedynsym'
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GO" >&5
13571 $as_echo "$ld_shlibs_GO" >&6; }
13572 test "$ld_shlibs_GO" = no
&& can_build_shared
=no
13574 with_gnu_ld_GO
=$with_gnu_ld
13582 # Do we need to explicitly link libc?
13584 case "x$archive_cmds_need_lc_GO" in
13586 # Assume -lc should be added
13587 archive_cmds_need_lc_GO
=yes
13589 if test "$enable_shared" = yes && test "$GCC" = yes; then
13590 case $archive_cmds_GO in
13592 # FIXME: we may have to deal with multi-command sequences.
13595 # Test whether the compiler implicitly links with -lc since on some
13596 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13597 # to ld, don't add -lc before -lgcc.
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13599 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13600 if ${lt_cv_archive_cmds_need_lc_GO+:} false
; then :
13601 $as_echo_n "(cached) " >&6
13604 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13606 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13607 (eval $ac_compile) 2>&5
13609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13610 test $ac_status = 0; } 2>conftest.err
; then
13613 libobjs
=conftest.
$ac_objext
13615 wl
=$lt_prog_compiler_wl_GO
13616 pic_flag
=$lt_prog_compiler_pic_GO
13622 lt_save_allow_undefined_flag
=$allow_undefined_flag_GO
13623 allow_undefined_flag_GO
=
13624 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GO 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13625 (eval $archive_cmds_GO 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13628 test $ac_status = 0; }
13630 lt_cv_archive_cmds_need_lc_GO
=no
13632 lt_cv_archive_cmds_need_lc_GO
=yes
13634 allow_undefined_flag_GO
=$lt_save_allow_undefined_flag
13636 cat conftest.err
1>&5
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_GO" >&5
13642 $as_echo "$lt_cv_archive_cmds_need_lc_GO" >&6; }
13643 archive_cmds_need_lc_GO
=$lt_cv_archive_cmds_need_lc_GO
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13714 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13715 hardcode_action_GO
=
13716 if test -n "$hardcode_libdir_flag_spec_GO" ||
13717 test -n "$runpath_var_GO" ||
13718 test "X$hardcode_automatic_GO" = "Xyes" ; then
13720 # We can hardcode non-existent directories.
13721 if test "$hardcode_direct_GO" != no
&&
13722 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13723 # have to relink, otherwise we might link with an installed library
13724 # when we should be linking with a yet-to-be-installed one
13725 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, GO)" != no &&
13726 test "$hardcode_minus_L_GO" != no
; then
13727 # Linking always hardcodes the temporary library directory.
13728 hardcode_action_GO
=relink
13730 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13731 hardcode_action_GO
=immediate
13734 # We cannot hardcode anything, or else we can only hardcode existing
13736 hardcode_action_GO
=unsupported
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GO" >&5
13739 $as_echo "$hardcode_action_GO" >&6; }
13741 if test "$hardcode_action_GO" = relink ||
13742 test "$inherit_rpath_GO" = yes; then
13743 # Fast installation is not supported
13744 enable_fast_install
=no
13745 elif test "$shlibpath_overrides_runpath" = yes ||
13746 test "$enable_shared" = no
; then
13747 # Fast installation is not necessary
13748 enable_fast_install
=needless
13760 ac_cpp
='$CPP $CPPFLAGS'
13761 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13762 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13763 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13772 ac_config_commands
="$ac_config_commands libtool"
13777 # Only expand once:
13783 CC_FOR_BUILD
=${CC_FOR_BUILD:-gcc}
13786 for ac_prog
in gawk mawk nawk
awk
13788 # Extract the first word of "$ac_prog", so it can be a program name with args.
13789 set dummy
$ac_prog; ac_word
=$2
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13791 $as_echo_n "checking for $ac_word... " >&6; }
13792 if ${ac_cv_prog_AWK+:} false
; then :
13793 $as_echo_n "(cached) " >&6
13795 if test -n "$AWK"; then
13796 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
13798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13799 for as_dir
in $PATH
13802 test -z "$as_dir" && as_dir
=.
13803 for ac_exec_ext
in '' $ac_executable_extensions; do
13804 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13805 ac_cv_prog_AWK
="$ac_prog"
13806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13815 AWK
=$ac_cv_prog_AWK
13816 if test -n "$AWK"; then
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
13818 $as_echo "$AWK" >&6; }
13820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13821 $as_echo "no" >&6; }
13825 test -n "$AWK" && break
13829 WARN_FLAGS
='-Wall -Wextra -Wwrite-strings -Wcast-qual'
13832 # Check whether --enable-werror was given.
13833 if test "${enable_werror+set}" = set; then :
13834 enableval
=$enable_werror;
13837 if test "x$enable_werror" != "xno" && test "x$GCC" = "xyes"; then :
13842 glibgo_toolexecdir
=no
13843 glibgo_toolexeclibdir
=no
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
13846 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
13847 # Check whether --enable-version-specific-runtime-libs was given.
13848 if test "${enable_version_specific_runtime_libs+set}" = set; then :
13849 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
13850 yes) version_specific_libs
=yes ;;
13851 no
) version_specific_libs
=no
;;
13852 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
13855 version_specific_libs
=no
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
13859 $as_echo "$version_specific_libs" >&6; }
13862 # Check whether --with-toolexeclibdir was given.
13863 if test "${with_toolexeclibdir+set}" = set; then :
13864 withval
=$with_toolexeclibdir; case ${with_toolexeclibdir} in
13868 with_toolexeclibdir
=`echo $with_toolexeclibdir | sed 's,/$,,'`
13872 with_toolexeclibdir
=no
13877 # Version-specific runtime libs processing.
13878 if test $version_specific_libs = yes; then
13879 glibgo_toolexecdir
='${libdir}/gcc/${host_alias}'
13880 glibgo_toolexeclibdir
='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
13883 # Calculate glibgo_toolexecdir, glibgo_toolexeclibdir
13884 # Install a library built with a cross compiler in tooldir, not libdir.
13885 if test -n "$with_cross_host" &&
13886 test x
"$with_cross_host" != x
"no"; then
13887 nover_glibgo_toolexecdir
='${exec_prefix}/${host_alias}'
13888 case ${with_toolexeclibdir} in
13890 nover_glibgo_toolexeclibdir
='${toolexecdir}/lib'
13893 nover_glibgo_toolexeclibdir
=${with_toolexeclibdir}
13897 nover_glibgo_toolexecdir
='${libdir}/gcc/${host_alias}'
13898 nover_glibgo_toolexeclibdir
='${libdir}'
13900 multi_os_directory
=`$GOC -print-multi-os-directory`
13901 case $multi_os_directory in
13902 .
) ;; # Avoid trailing /.
13903 *) nover_glibgo_toolexeclibdir
=${nover_glibgo_toolexeclibdir}/${multi_os_directory} ;;
13906 if test x
"$glibgo_toolexecdir" = x
"no"; then
13907 glibgo_toolexecdir
="${nover_glibgo_toolexecdir}"
13908 glibgo_toolexeclibdir
="${nover_glibgo_toolexeclibdir}"
13915 # See if the user wants to configure without libffi. Some
13916 # architectures don't support it. FIXME: We should set a default
13917 # based on the host.
13919 # Check whether --with-libffi was given.
13920 if test "${with_libffi+set}" = set; then :
13921 withval
=$with_libffi; :
13923 with_libffi
=${with_libffi_default-yes}
13929 if test "$with_libffi" != no
; then
13931 $as_echo "#define USE_LIBFFI 1" >>confdefs.h
13933 LIBFFI
=..
/libffi
/libffi_convenience.la
13934 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
13938 if test "$with_libffi" != "no"; then
13940 USE_LIBFFI_FALSE
='#'
13942 USE_LIBFFI_TRUE
='#'
13947 # See if the user wants to configure without libatomic. This is useful if we are
13948 # on an architecture for which libgo does not need an atomic support library and
13949 # libatomic does not support our C compiler.
13951 # Check whether --with-libatomic was given.
13952 if test "${with_libatomic+set}" = set; then :
13953 withval
=$with_libatomic; :
13955 with_libatomic
=${with_libatomic_default-yes}
13960 if test "$with_libatomic" != no
; then
13961 LIBATOMIC
=..
/libatomic
/libatomic_convenience.la
13965 # Used to tell GNU make to include a file without telling automake to
13967 go_include
="-include"
13970 # All known GOOS values. This is the union of all operating systems
13971 # supported by the gofrontend and all operating systems supported by
13972 # the gc toolchain.
13973 ALLGOOS
="aix android darwin dragonfly freebsd hurd illumos ios irix js linux netbsd openbsd plan9 rtems solaris windows zos"
13988 *-*-darwin*) is_darwin
=yes; GOOS
=darwin
;;
13989 *-*-freebsd*) is_freebsd
=yes; GOOS
=freebsd
;;
13990 *-*-irix6*) is_irix
=yes; GOOS
=irix
;;
13991 *-*-linux*) is_linux
=yes; GOOS
=linux
;;
13992 *-*-netbsd*) is_netbsd
=yes; GOOS
=netbsd
;;
13993 *-*-openbsd*) is_openbsd
=yes; GOOS
=openbsd
;;
13994 *-*-dragonfly*) is_dragonfly
=yes; GOOS
=dragonfly
;;
13995 *-*-rtems*) is_rtems
=yes; GOOS
=rtems
;;
13996 *-*-solaris2*) is_solaris
=yes; GOOS
=solaris
;;
13997 *-*-aix*) is_aix
=yes; GOOS
=aix
;;
13998 *-*-gnu*) is_hurd
=yes; GOOS
=hurd
;;
14000 if test $is_darwin = yes; then
14001 LIBGO_IS_DARWIN_TRUE
=
14002 LIBGO_IS_DARWIN_FALSE
='#'
14004 LIBGO_IS_DARWIN_TRUE
='#'
14005 LIBGO_IS_DARWIN_FALSE
=
14008 if test $is_freebsd = yes; then
14009 LIBGO_IS_FREEBSD_TRUE
=
14010 LIBGO_IS_FREEBSD_FALSE
='#'
14012 LIBGO_IS_FREEBSD_TRUE
='#'
14013 LIBGO_IS_FREEBSD_FALSE
=
14016 if test $is_irix = yes; then
14017 LIBGO_IS_IRIX_TRUE
=
14018 LIBGO_IS_IRIX_FALSE
='#'
14020 LIBGO_IS_IRIX_TRUE
='#'
14021 LIBGO_IS_IRIX_FALSE
=
14024 if test $is_linux = yes; then
14025 LIBGO_IS_LINUX_TRUE
=
14026 LIBGO_IS_LINUX_FALSE
='#'
14028 LIBGO_IS_LINUX_TRUE
='#'
14029 LIBGO_IS_LINUX_FALSE
=
14032 if test $is_netbsd = yes; then
14033 LIBGO_IS_NETBSD_TRUE
=
14034 LIBGO_IS_NETBSD_FALSE
='#'
14036 LIBGO_IS_NETBSD_TRUE
='#'
14037 LIBGO_IS_NETBSD_FALSE
=
14040 if test $is_openbsd = yes; then
14041 LIBGO_IS_OPENBSD_TRUE
=
14042 LIBGO_IS_OPENBSD_FALSE
='#'
14044 LIBGO_IS_OPENBSD_TRUE
='#'
14045 LIBGO_IS_OPENBSD_FALSE
=
14048 if test $is_dragonfly = yes; then
14049 LIBGO_IS_DRAGONFLY_TRUE
=
14050 LIBGO_IS_DRAGONFLY_FALSE
='#'
14052 LIBGO_IS_DRAGONFLY_TRUE
='#'
14053 LIBGO_IS_DRAGONFLY_FALSE
=
14056 if test $is_rtems = yes; then
14057 LIBGO_IS_RTEMS_TRUE
=
14058 LIBGO_IS_RTEMS_FALSE
='#'
14060 LIBGO_IS_RTEMS_TRUE
='#'
14061 LIBGO_IS_RTEMS_FALSE
=
14064 if test $is_solaris = yes; then
14065 LIBGO_IS_SOLARIS_TRUE
=
14066 LIBGO_IS_SOLARIS_FALSE
='#'
14068 LIBGO_IS_SOLARIS_TRUE
='#'
14069 LIBGO_IS_SOLARIS_FALSE
=
14072 if test $is_aix = yes; then
14074 LIBGO_IS_AIX_FALSE
='#'
14076 LIBGO_IS_AIX_TRUE
='#'
14077 LIBGO_IS_AIX_FALSE
=
14080 if test $is_hurd = yes; then
14081 LIBGO_IS_HURD_TRUE
=
14082 LIBGO_IS_HURD_FALSE
='#'
14084 LIBGO_IS_HURD_TRUE
='#'
14085 LIBGO_IS_HURD_FALSE
=
14088 if test $is_darwin = yes -o $is_dragonfly = yes -o $is_freebsd = yes -o $is_netbsd = yes -o $is_openbsd = yes; then
14090 LIBGO_IS_BSD_FALSE
='#'
14092 LIBGO_IS_BSD_TRUE
='#'
14093 LIBGO_IS_BSD_FALSE
=
14101 *-*-rtems*) USE_DEJAGNU
=yes ;;
14103 *) USE_DEJAGNU
=yes ;;
14107 # All known GOARCH values. This is the union of all architectures
14108 # supported by the gofrontend and all architectures supported by the
14110 # To add a new architecture:
14111 # - add it to this list
14112 # - if appropriate, add an entry to ALLGOARCHFAMILY below
14113 # - add an entry to the case on ${host} below to set GOARCH
14114 # - update goarchList in libgo/go/go/build/syslist.go
14115 # - update goarch.sh to report the values for this architecture
14116 # - update go-set-goarch in gcc/testsuite/go.test/go-test.exp
14117 # - update ptrSizeMap and intSizeMap in libgo/go/cmd/cgo/main.go
14118 # - update arch lists in libgo/match.sh
14119 # - update arch lists in libgo/testsuite/gotest
14120 # - update +build lines in several places
14121 # - libgo/go/runtime/lfstack_NNbit.go
14122 # - libgo/go/runtime/hashNN.go
14123 # - libgo/go/runtime/unalignedN.go
14124 # - libgo/go/syscall/endian_XX.go
14125 # - possibly others
14126 # - possibly update files in libgo/go/internal/syscall/unix
14127 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"
14129 # All known GOARCH family values.
14130 ALLGOARCHFAMILY
="I386 ALPHA AMD64 ARM ARM64 IA64 M68K MIPS MIPS64 NIOS2 PPC PPC64 RISCV RISCV64 S390 S390X SH SPARC SPARC64 WASM"
14143 arm
*-*-* | strongarm
*-*-* | ep9312
*-*-* | xscale-
*-*)
14151 i
[34567]86-*-* | x86_64-
*-*)
14152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14153 /* end confdefs.h. */
14160 if ac_fn_c_try_compile
"$LINENO"; then :
14163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14164 /* end confdefs.h. */
14171 if ac_fn_c_try_compile
"$LINENO"; then :
14176 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14178 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14188 /* end confdefs.h. */
14190 #if _MIPS_SIM != _ABIO32
14195 if ac_fn_c_try_compile
"$LINENO"; then :
14198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14199 /* end confdefs.h. */
14201 #if _MIPS_SIM != _ABIN32
14206 if ac_fn_c_try_compile
"$LINENO"; then :
14209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14210 /* end confdefs.h. */
14212 #if _MIPS_SIM != _ABI64
14217 if ac_fn_c_try_compile
"$LINENO"; then :
14220 as_fn_error $?
"unknown MIPS ABI" "$LINENO" 5
14223 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14225 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14227 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14228 case "$mips_abi" in
14229 "o32") GOARCH
=mips
;;
14230 "n32") GOARCH
=mips64p32
;;
14231 "n64") GOARCH
=mips64
;;
14235 GOARCH
="${GOARCH}le"
14242 rs6000
*-*-* | powerpc
*-*-*)
14243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14244 /* end confdefs.h. */
14251 if ac_fn_c_try_compile
"$LINENO"; then :
14255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14256 /* end confdefs.h. */
14258 #if defined(_BIG_ENDIAN) || defined(__BIG_ENDIAN__)
14263 if ac_fn_c_try_compile
"$LINENO"; then :
14268 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14270 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14274 /* end confdefs.h. */
14276 #if __riscv_xlen == 64
14281 if ac_fn_c_try_compile
"$LINENO"; then :
14286 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14290 /* end confdefs.h. */
14292 #if defined(__s390x__)
14297 if ac_fn_c_try_compile
"$LINENO"; then :
14302 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14304 sh3eb
*-*-* | sh4eb
*-*-*)
14307 sh3
*-*-* | sh4
*-*-*)
14311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14312 /* end confdefs.h. */
14314 #if defined(__sparcv9) || defined(__arch64__)
14319 if ac_fn_c_try_compile
"$LINENO"; then :
14324 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14331 if test "$GOARCH" = "386" -o "$GOARCH" = "amd64" -o "$GOARCH" = "amd64p32"; then
14333 LIBGO_IS_X86_FALSE
='#'
14335 LIBGO_IS_X86_TRUE
='#'
14336 LIBGO_IS_X86_FALSE
=
14340 FUNCTION_DESCRIPTORS
=false
14342 rs6000
*-*-* | powerpc
*-*-*)
14343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14344 /* end confdefs.h. */
14351 if ac_fn_c_try_compile
"$LINENO"; then :
14352 FUNCTION_DESCRIPTORS
=false
14354 FUNCTION_DESCRIPTORS
=true
14356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14361 GO_LIBCALL_OS_FILE
=
14362 GO_LIBCALL_OS_ARCH_FILE
=
14363 GO_SYSCALL_OS_FILE
=
14364 GO_SYSCALL_OS_ARCH_FILE
=
14365 if test -f "${srcdir}/go/syscall/libcall_${GOOS}.go"; then
14366 GO_LIBCALL_OS_FILE
="go/syscall/libcall_${GOOS}.go"
14368 if test -f "${srcdir}/go/syscall/libcall_${GOOS}_${GOARCH}.go"; then
14369 GO_LIBCALL_OS_ARCH_FILE
="go/syscall/libcall_${GOOS}_${GOARCH}.go"
14371 if test -f "${srcdir}/go/syscall/syscall_${GOOS}.go"; then
14372 GO_SYSCALL_OS_FILE
="go/syscall/syscall_${GOOS}.go"
14374 if test -f "${srcdir}/go/syscall/syscall_${GOOS}_${GOARCH}.go"; then
14375 GO_SYSCALL_OS_ARCH_FILE
="go/syscall/syscall_${GOOS}_${GOARCH}.go"
14382 OSCFLAGS
="-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
14385 # IRIX 6 needs _XOPEN_SOURCE=500 for the XPG5 version of struct
14386 # msghdr in <sys/socket.h>.
14387 OSCFLAGS
="$OSCFLAGS -D_XOPEN_SOURCE=500"
14390 # Solaris 10+ needs this so struct msghdr gets the msg_control
14391 # etc. fields in <sys/socket.h> (_XPG4_2). _XOPEN_SOURCE=600 as
14392 # above doesn't work with C99.
14393 OSCFLAGS
="$OSCFLAGS -std=gnu99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__"
14399 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS
=''
14401 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
14402 # with a different meaning.
14403 case ${target_os} in
14405 ac_save_CFLAGS
="$CFLAGS"
14406 CFLAGS
="$CFLAGS -Wa,-nH"
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
14409 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
14410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14411 /* end confdefs.h. */
14421 if ac_fn_c_try_compile
"$LINENO"; then :
14426 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14427 if test "$ac_hwcap_flags" = "yes"; then
14428 HWCAP_CFLAGS
="-Wa,-nH $HWCAP_CFLAGS"
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
14431 $as_echo "$ac_hwcap_flags" >&6; }
14433 CFLAGS
="$ac_save_CFLAGS"
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fsplit-stack is supported" >&5
14441 $as_echo_n "checking whether -fsplit-stack is supported... " >&6; }
14442 if ${libgo_cv_c_split_stack_supported+:} false
; then :
14443 $as_echo_n "(cached) " >&6
14445 CFLAGS_hold
=$CFLAGS
14446 CFLAGS
="$CFLAGS -fsplit-stack"
14447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14448 /* end confdefs.h. */
14451 if ac_fn_c_try_compile
"$LINENO"; then :
14452 libgo_cv_c_split_stack_supported
=yes
14454 libgo_cv_c_split_stack_supported
=no
14456 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14457 CFLAGS
=$CFLAGS_hold
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_split_stack_supported" >&5
14460 $as_echo "$libgo_cv_c_split_stack_supported" >&6; }
14462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker supports split/non-split linked together" >&5
14463 $as_echo_n "checking whether linker supports split/non-split linked together... " >&6; }
14464 if ${libgo_cv_c_linker_split_non_split+:} false
; then :
14465 $as_echo_n "(cached) " >&6
14467 cat > conftest1.c
<< EOF
14469 int main() { f(); return 0; }
14471 cat > conftest2.c
<< EOF
14474 $CC -c -fsplit-stack $CFLAGS $CPPFLAGS conftest1.c
>/dev
/null
2>&1
14475 $CC -c $CFLAGS $CPPFLAGS conftest2.c
> /dev
/null
2>&1
14476 if $CC -o conftest conftest1.
$ac_objext conftest2.
$ac_objext > /dev
/null
2>&1; then
14477 libgo_cv_c_linker_split_non_split
=yes
14479 libgo_cv_c_linker_split_non_split
=no
14481 rm -f conftest1.
* conftest2.
* conftest
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_linker_split_non_split" >&5
14484 $as_echo "$libgo_cv_c_linker_split_non_split" >&6; }
14486 if test "$libgo_cv_c_split_stack_supported" = yes -a "$libgo_cv_c_linker_split_non_split" = yes; then
14487 SPLIT_STACK
=-fsplit-stack
14489 $as_echo "#define USING_SPLIT_STACK 1" >>confdefs.h
14495 if test "$libgo_cv_c_split_stack_supported" = yes -a "$libgo_cv_c_linker_split_non_split" = yes; then
14496 USING_SPLIT_STACK_TRUE
=
14497 USING_SPLIT_STACK_FALSE
='#'
14499 USING_SPLIT_STACK_TRUE
='#'
14500 USING_SPLIT_STACK_FALSE
=
14504 if test "$libgo_cv_c_split_stack_supported" = yes -a "$libgo_cv_c_linker_split_non_split" = no
; then
14505 GO_SPLIT_STACK
=-fno-split-stack
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker supports split stack" >&5
14512 $as_echo_n "checking whether linker supports split stack... " >&6; }
14513 if ${libgo_cv_c_linker_supports_split_stack+:} false
; then :
14514 $as_echo_n "(cached) " >&6
14516 libgo_cv_c_linker_supports_split_stack
=no
14517 if $GOC -Wl,--help 2>/dev
/null |
grep split-stack-adjust-size
>/dev
/null
2>&1; then
14518 libgo_cv_c_linker_supports_split_stack
=yes
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_linker_supports_split_stack" >&5
14522 $as_echo "$libgo_cv_c_linker_supports_split_stack" >&6; }
14523 if test "$libgo_cv_c_linker_supports_split_stack" = yes; then
14525 $as_echo "#define LINKER_SUPPORTS_SPLIT_STACK 1" >>confdefs.h
14529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler is llgo" >&5
14530 $as_echo_n "checking whether compiler is llgo... " >&6; }
14531 if ${libgo_cv_c_goc_is_llgo+:} false
; then :
14532 $as_echo_n "(cached) " >&6
14534 libgo_cv_c_goc_is_llgo
=no
14535 if $GOC -dumpversion 2>/dev
/null |
grep llgo
>/dev
/null
2>&1; then
14536 libgo_cv_c_goc_is_llgo
=yes
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_goc_is_llgo" >&5
14540 $as_echo "$libgo_cv_c_goc_is_llgo" >&6; }
14541 if test "$libgo_cv_c_goc_is_llgo" = yes; then
14543 GOC_IS_LLGO_FALSE
='#'
14545 GOC_IS_LLGO_TRUE
='#'
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
14552 $as_echo_n "checking for sqrt in -lm... " >&6; }
14553 if ${ac_cv_lib_m_sqrt+:} false
; then :
14554 $as_echo_n "(cached) " >&6
14556 ac_check_lib_save_LIBS
=$LIBS
14558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14559 /* end confdefs.h. */
14561 /* Override any GCC internal prototype to avoid an error.
14562 Use char because int might match the return type of a GCC
14563 builtin and then its argument prototype would still apply. */
14576 if ac_fn_c_try_link
"$LINENO"; then :
14577 ac_cv_lib_m_sqrt
=yes
14579 ac_cv_lib_m_sqrt
=no
14581 rm -f core conftest.err conftest.
$ac_objext \
14582 conftest
$ac_exeext conftest.
$ac_ext
14583 LIBS
=$ac_check_lib_save_LIBS
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
14586 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
14587 if test "x$ac_cv_lib_m_sqrt" = xyes
; then :
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
14594 $as_echo_n "checking for socket libraries... " >&6; }
14595 if ${libgo_cv_lib_sockets+:} false
; then :
14596 $as_echo_n "(cached) " >&6
14598 libgo_cv_lib_sockets
=
14599 libgo_check_both
=no
14600 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14601 if test "x$ac_cv_func_connect" = xyes
; then :
14602 libgo_check_socket
=no
14604 libgo_check_socket
=yes
14607 if test "$libgo_check_socket" = "yes"; then
14608 unset ac_cv_func_connect
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
14610 $as_echo_n "checking for main in -lsocket... " >&6; }
14611 if ${ac_cv_lib_socket_main+:} false
; then :
14612 $as_echo_n "(cached) " >&6
14614 ac_check_lib_save_LIBS
=$LIBS
14615 LIBS
="-lsocket $LIBS"
14616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14617 /* end confdefs.h. */
14628 if ac_fn_c_try_link
"$LINENO"; then :
14629 ac_cv_lib_socket_main
=yes
14631 ac_cv_lib_socket_main
=no
14633 rm -f core conftest.err conftest.
$ac_objext \
14634 conftest
$ac_exeext conftest.
$ac_ext
14635 LIBS
=$ac_check_lib_save_LIBS
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
14638 $as_echo "$ac_cv_lib_socket_main" >&6; }
14639 if test "x$ac_cv_lib_socket_main" = xyes
; then :
14640 libgo_cv_lib_sockets
="-lsocket"
14642 libgo_check_both
=yes
14646 if test "$libgo_check_both" = "yes"; then
14647 libgo_old_libs
=$LIBS
14648 LIBS
="$LIBS -lsocket -lnsl"
14649 unset ac_cv_func_accept
14650 ac_fn_c_check_func
"$LINENO" "accept" "ac_cv_func_accept"
14651 if test "x$ac_cv_func_accept" = xyes
; then :
14653 libgo_cv_lib_sockets
="-lsocket -lnsl"
14656 unset ac_cv_func_accept
14657 LIBS
=$libgo_old_libs
14659 unset ac_cv_func_gethostbyname
14660 libgo_old_libs
="$LIBS"
14661 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14662 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
14666 $as_echo_n "checking for main in -lnsl... " >&6; }
14667 if ${ac_cv_lib_nsl_main+:} false
; then :
14668 $as_echo_n "(cached) " >&6
14670 ac_check_lib_save_LIBS
=$LIBS
14672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14673 /* end confdefs.h. */
14684 if ac_fn_c_try_link
"$LINENO"; then :
14685 ac_cv_lib_nsl_main
=yes
14687 ac_cv_lib_nsl_main
=no
14689 rm -f core conftest.err conftest.
$ac_objext \
14690 conftest
$ac_exeext conftest.
$ac_ext
14691 LIBS
=$ac_check_lib_save_LIBS
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
14694 $as_echo "$ac_cv_lib_nsl_main" >&6; }
14695 if test "x$ac_cv_lib_nsl_main" = xyes
; then :
14696 libgo_cv_lib_sockets
="$libgo_cv_lib_sockets -lnsl"
14701 unset ac_cv_func_gethostbyname
14702 ac_fn_c_check_func
"$LINENO" "sendfile" "ac_cv_func_sendfile"
14703 if test "x$ac_cv_func_sendfile" = xyes
; then :
14706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsendfile" >&5
14707 $as_echo_n "checking for main in -lsendfile... " >&6; }
14708 if ${ac_cv_lib_sendfile_main+:} false
; then :
14709 $as_echo_n "(cached) " >&6
14711 ac_check_lib_save_LIBS
=$LIBS
14712 LIBS
="-lsendfile $LIBS"
14713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14714 /* end confdefs.h. */
14725 if ac_fn_c_try_link
"$LINENO"; then :
14726 ac_cv_lib_sendfile_main
=yes
14728 ac_cv_lib_sendfile_main
=no
14730 rm -f core conftest.err conftest.
$ac_objext \
14731 conftest
$ac_exeext conftest.
$ac_ext
14732 LIBS
=$ac_check_lib_save_LIBS
14734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sendfile_main" >&5
14735 $as_echo "$ac_cv_lib_sendfile_main" >&6; }
14736 if test "x$ac_cv_lib_sendfile_main" = xyes
; then :
14737 libgo_cv_lib_sockets
="$libgo_cv_lib_sockets -lsendfile"
14742 LIBS
=$libgo_old_libs
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_sockets" >&5
14746 $as_echo "$libgo_cv_lib_sockets" >&6; }
14747 NET_LIBS
="$libgo_cv_lib_sockets"
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -pthread is supported" >&5
14751 $as_echo_n "checking whether -pthread is supported... " >&6; }
14752 if ${libgo_cv_lib_pthread+:} false
; then :
14753 $as_echo_n "(cached) " >&6
14755 CFLAGS_hold
=$CFLAGS
14756 CFLAGS
="$CFLAGS -pthread -L../libatomic/.libs"
14757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14758 /* end confdefs.h. */
14761 if ac_fn_c_try_compile
"$LINENO"; then :
14762 libgo_cv_lib_pthread
=yes
14764 libgo_cv_lib_pthread
=no
14766 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14767 CFLAGS
=$CFLAGS_hold
14769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_pthread" >&5
14770 $as_echo "$libgo_cv_lib_pthread" >&6; }
14772 if test "$libgo_cv_lib_pthread" = yes; then
14773 # RISC-V apparently adds -latomic when using -pthread.
14774 PTHREAD_CFLAGS
="-pthread -L../libatomic/.libs"
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
14780 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
14781 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
14782 $as_echo_n "(cached) " >&6
14784 ac_check_lib_save_LIBS
=$LIBS
14785 LIBS
="-lpthread $LIBS"
14786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14787 /* end confdefs.h. */
14789 /* Override any GCC internal prototype to avoid an error.
14790 Use char because int might match the return type of a GCC
14791 builtin and then its argument prototype would still apply. */
14795 char pthread_create ();
14799 return pthread_create ();
14804 if ac_fn_c_try_link
"$LINENO"; then :
14805 ac_cv_lib_pthread_pthread_create
=yes
14807 ac_cv_lib_pthread_pthread_create
=no
14809 rm -f core conftest.err conftest.
$ac_objext \
14810 conftest
$ac_exeext conftest.
$ac_ext
14811 LIBS
=$ac_check_lib_save_LIBS
14813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
14814 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
14815 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
14816 PTHREAD_LIBS
=-lpthread
14821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing makecontext" >&5
14822 $as_echo_n "checking for library containing makecontext... " >&6; }
14823 if ${ac_cv_search_makecontext+:} false
; then :
14824 $as_echo_n "(cached) " >&6
14826 ac_func_search_save_LIBS
=$LIBS
14827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14828 /* end confdefs.h. */
14830 /* Override any GCC internal prototype to avoid an error.
14831 Use char because int might match the return type of a GCC
14832 builtin and then its argument prototype would still apply. */
14836 char makecontext ();
14840 return makecontext ();
14845 for ac_lib
in '' ucontext
; do
14846 if test -z "$ac_lib"; then
14847 ac_res
="none required"
14850 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14852 if ac_fn_c_try_link
"$LINENO"; then :
14853 ac_cv_search_makecontext
=$ac_res
14855 rm -f core conftest.err conftest.
$ac_objext \
14857 if ${ac_cv_search_makecontext+:} false
; then :
14861 if ${ac_cv_search_makecontext+:} false
; then :
14864 ac_cv_search_makecontext
=no
14866 rm conftest.
$ac_ext
14867 LIBS
=$ac_func_search_save_LIBS
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_makecontext" >&5
14870 $as_echo "$ac_cv_search_makecontext" >&6; }
14871 ac_res
=$ac_cv_search_makecontext
14872 if test "$ac_res" != no
; then :
14873 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
14879 $as_echo_n "checking for library containing sched_yield... " >&6; }
14880 if ${ac_cv_search_sched_yield+:} false
; then :
14881 $as_echo_n "(cached) " >&6
14883 ac_func_search_save_LIBS
=$LIBS
14884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14885 /* end confdefs.h. */
14887 /* Override any GCC internal prototype to avoid an error.
14888 Use char because int might match the return type of a GCC
14889 builtin and then its argument prototype would still apply. */
14893 char sched_yield ();
14897 return sched_yield ();
14902 for ac_lib
in '' rt
; do
14903 if test -z "$ac_lib"; then
14904 ac_res
="none required"
14907 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14909 if ac_fn_c_try_link
"$LINENO"; then :
14910 ac_cv_search_sched_yield
=$ac_res
14912 rm -f core conftest.err conftest.
$ac_objext \
14914 if ${ac_cv_search_sched_yield+:} false
; then :
14918 if ${ac_cv_search_sched_yield+:} false
; then :
14921 ac_cv_search_sched_yield
=no
14923 rm conftest.
$ac_ext
14924 LIBS
=$ac_func_search_save_LIBS
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
14927 $as_echo "$ac_cv_search_sched_yield" >&6; }
14928 ac_res
=$ac_cv_search_sched_yield
14929 if test "$ac_res" != no
; then :
14930 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
14935 $as_echo_n "checking for library containing nanosleep... " >&6; }
14936 if ${ac_cv_search_nanosleep+:} false
; then :
14937 $as_echo_n "(cached) " >&6
14939 ac_func_search_save_LIBS
=$LIBS
14940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14941 /* end confdefs.h. */
14943 /* Override any GCC internal prototype to avoid an error.
14944 Use char because int might match the return type of a GCC
14945 builtin and then its argument prototype would still apply. */
14953 return nanosleep ();
14958 for ac_lib
in '' rt
; do
14959 if test -z "$ac_lib"; then
14960 ac_res
="none required"
14963 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14965 if ac_fn_c_try_link
"$LINENO"; then :
14966 ac_cv_search_nanosleep
=$ac_res
14968 rm -f core conftest.err conftest.
$ac_objext \
14970 if ${ac_cv_search_nanosleep+:} false
; then :
14974 if ${ac_cv_search_nanosleep+:} false
; then :
14977 ac_cv_search_nanosleep
=no
14979 rm conftest.
$ac_ext
14980 LIBS
=$ac_func_search_save_LIBS
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
14983 $as_echo "$ac_cv_search_nanosleep" >&6; }
14984 ac_res
=$ac_cv_search_nanosleep
14985 if test "$ac_res" != no
; then :
14986 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14991 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14992 if ${ac_cv_search_clock_gettime+:} false
; then :
14993 $as_echo_n "(cached) " >&6
14995 ac_func_search_save_LIBS
=$LIBS
14996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14997 /* end confdefs.h. */
14999 /* Override any GCC internal prototype to avoid an error.
15000 Use char because int might match the return type of a GCC
15001 builtin and then its argument prototype would still apply. */
15005 char clock_gettime ();
15009 return clock_gettime ();
15014 for ac_lib
in '' rt
; do
15015 if test -z "$ac_lib"; then
15016 ac_res
="none required"
15019 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15021 if ac_fn_c_try_link
"$LINENO"; then :
15022 ac_cv_search_clock_gettime
=$ac_res
15024 rm -f core conftest.err conftest.
$ac_objext \
15026 if ${ac_cv_search_clock_gettime+:} false
; then :
15030 if ${ac_cv_search_clock_gettime+:} false
; then :
15033 ac_cv_search_clock_gettime
=no
15035 rm conftest.
$ac_ext
15036 LIBS
=$ac_func_search_save_LIBS
15038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15039 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15040 ac_res
=$ac_cv_search_clock_gettime
15041 if test "$ac_res" != no
; then :
15042 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
15048 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
15049 if ${ac_cv_c_bigendian+:} false
; then :
15050 $as_echo_n "(cached) " >&6
15052 ac_cv_c_bigendian
=unknown
15053 # See if we're dealing with a universal compiler.
15054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15055 /* end confdefs.h. */
15056 #ifndef __APPLE_CC__
15057 not a universal capable compiler
15062 if ac_fn_c_try_compile
"$LINENO"; then :
15064 # Check for potential -arch flags. It is not universal unless
15065 # there are at least two -arch flags with different values.
15068 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
15069 if test -n "$ac_prev"; then
15071 i?
86 | x86_64 | ppc | ppc64
)
15072 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
15075 ac_cv_c_bigendian
=universal
15081 elif test "x$ac_word" = "x-arch"; then
15086 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15087 if test $ac_cv_c_bigendian = unknown
; then
15088 # See if sys/param.h defines the BYTE_ORDER macro.
15089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15090 /* end confdefs.h. */
15091 #include <sys/types.h>
15092 #include <sys/param.h>
15097 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
15098 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
15100 bogus endian macros
15107 if ac_fn_c_try_compile
"$LINENO"; then :
15108 # It does; now see whether it defined to BIG_ENDIAN or not.
15109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15110 /* end confdefs.h. */
15111 #include <sys/types.h>
15112 #include <sys/param.h>
15117 #if BYTE_ORDER != BIG_ENDIAN
15125 if ac_fn_c_try_compile
"$LINENO"; then :
15126 ac_cv_c_bigendian
=yes
15128 ac_cv_c_bigendian
=no
15130 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15132 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15134 if test $ac_cv_c_bigendian = unknown
; then
15135 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
15136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15137 /* end confdefs.h. */
15138 #include <limits.h>
15143 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
15144 bogus endian macros
15151 if ac_fn_c_try_compile
"$LINENO"; then :
15152 # It does; now see whether it defined to _BIG_ENDIAN or not.
15153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15154 /* end confdefs.h. */
15155 #include <limits.h>
15160 #ifndef _BIG_ENDIAN
15168 if ac_fn_c_try_compile
"$LINENO"; then :
15169 ac_cv_c_bigendian
=yes
15171 ac_cv_c_bigendian
=no
15173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15175 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15177 if test $ac_cv_c_bigendian = unknown
; then
15178 # Compile a test program.
15179 if test "$cross_compiling" = yes; then :
15180 # Try to guess by grepping values from an object file.
15181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15182 /* end confdefs.h. */
15183 short int ascii_mm[] =
15184 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
15185 short int ascii_ii[] =
15186 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
15187 int use_ascii (int i) {
15188 return ascii_mm[i] + ascii_ii[i];
15190 short int ebcdic_ii[] =
15191 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
15192 short int ebcdic_mm[] =
15193 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
15194 int use_ebcdic (int i) {
15195 return ebcdic_mm[i] + ebcdic_ii[i];
15202 return use_ascii (foo) == use_ebcdic (foo);
15207 if ac_fn_c_try_compile
"$LINENO"; then :
15208 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
15209 ac_cv_c_bigendian
=yes
15211 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
15212 if test "$ac_cv_c_bigendian" = unknown
; then
15213 ac_cv_c_bigendian
=no
15215 # finding both strings is unlikely to happen, but who knows?
15216 ac_cv_c_bigendian
=unknown
15220 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15223 /* end confdefs.h. */
15224 $ac_includes_default
15229 /* Are we little or big endian? From Harbison&Steele. */
15233 char c[sizeof (long int)];
15236 return u.c[sizeof (long int) - 1] == 1;
15242 if ac_fn_c_try_run
"$LINENO"; then :
15243 ac_cv_c_bigendian
=no
15245 ac_cv_c_bigendian
=yes
15247 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15248 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
15254 $as_echo "$ac_cv_c_bigendian" >&6; }
15255 case $ac_cv_c_bigendian in #(
15257 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
15263 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
15267 as_fn_error $?
"unknown endianness
15268 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
15274 # Check whether --with-system-libunwind was given.
15275 if test "${with_system_libunwind+set}" = set; then :
15276 withval
=$with_system_libunwind;
15279 # If system-libunwind was not specifically set, pick a default setting.
15280 if test x
$with_system_libunwind = x
; then
15282 ia64-
*-hpux*) with_system_libunwind
=yes ;;
15283 *) with_system_libunwind
=no
;;
15286 # Based on system-libunwind and target, do we have ipinfo?
15287 if test x
$with_system_libunwind = xyes
; then
15289 ia64-
*-*) have_unwind_getipinfo
=no
;;
15290 *) have_unwind_getipinfo
=yes ;;
15293 # Darwin before version 9 does not have _Unwind_GetIPInfo.
15296 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
15297 *) have_unwind_getipinfo
=yes ;;
15302 if test x
$have_unwind_getipinfo = xyes
; then
15304 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
15309 for ac_header
in fcntl.h 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
/sysctl.h sys
/user.h sys
/utsname.h sys
/select.h sys
/socket.h net
/bpf.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 lwp.h
15311 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15312 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15313 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
15314 cat >>confdefs.h
<<_ACEOF
15315 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15323 for ac_header
in netinet
/icmp6.h
15325 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <netinet/in.h>
15328 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
; then :
15329 cat >>confdefs.h
<<_ACEOF
15330 #define HAVE_NETINET_ICMP6_H 1
15338 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
15340 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15341 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_SOCKET_H
15342 #include <sys/socket.h>
15346 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
15347 cat >>confdefs.h
<<_ACEOF
15348 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15356 if test "$ac_cv_header_sys_mman_h" = yes; then
15357 HAVE_SYS_MMAN_H_TRUE
=
15358 HAVE_SYS_MMAN_H_FALSE
='#'
15360 HAVE_SYS_MMAN_H_TRUE
='#'
15361 HAVE_SYS_MMAN_H_FALSE
=
15365 for ac_func
in strerror_r strsignal wait4 mincore setenv unsetenv dl_iterate_phdr memmem
15367 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15368 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15369 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15370 cat >>confdefs.h
<<_ACEOF
15371 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15377 if test "$ac_cv_func_strerror_r" = yes; then
15378 HAVE_STRERROR_R_TRUE
=
15379 HAVE_STRERROR_R_FALSE
='#'
15381 HAVE_STRERROR_R_TRUE
='#'
15382 HAVE_STRERROR_R_FALSE
=
15385 if test "$ac_cv_func_wait4" = yes; then
15387 HAVE_WAIT4_FALSE
='#'
15389 HAVE_WAIT4_TRUE
='#'
15394 ac_header_dirent
=no
15395 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
15396 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
15397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
15398 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
15399 if eval \
${$as_ac_Header+:} false
; then :
15400 $as_echo_n "(cached) " >&6
15402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15403 /* end confdefs.h. */
15404 #include <sys/types.h>
15416 if ac_fn_c_try_compile
"$LINENO"; then :
15417 eval "$as_ac_Header=yes"
15419 eval "$as_ac_Header=no"
15421 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15423 eval ac_res
=\$
$as_ac_Header
15424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15425 $as_echo "$ac_res" >&6; }
15426 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
15427 cat >>confdefs.h
<<_ACEOF
15428 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
15431 ac_header_dirent
=$ac_hdr; break
15435 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
15436 if test $ac_header_dirent = dirent.h
; then
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
15438 $as_echo_n "checking for library containing opendir... " >&6; }
15439 if ${ac_cv_search_opendir+:} false
; then :
15440 $as_echo_n "(cached) " >&6
15442 ac_func_search_save_LIBS
=$LIBS
15443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15444 /* end confdefs.h. */
15446 /* Override any GCC internal prototype to avoid an error.
15447 Use char because int might match the return type of a GCC
15448 builtin and then its argument prototype would still apply. */
15461 for ac_lib
in '' dir
; do
15462 if test -z "$ac_lib"; then
15463 ac_res
="none required"
15466 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15468 if ac_fn_c_try_link
"$LINENO"; then :
15469 ac_cv_search_opendir
=$ac_res
15471 rm -f core conftest.err conftest.
$ac_objext \
15473 if ${ac_cv_search_opendir+:} false
; then :
15477 if ${ac_cv_search_opendir+:} false
; then :
15480 ac_cv_search_opendir
=no
15482 rm conftest.
$ac_ext
15483 LIBS
=$ac_func_search_save_LIBS
15485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
15486 $as_echo "$ac_cv_search_opendir" >&6; }
15487 ac_res
=$ac_cv_search_opendir
15488 if test "$ac_res" != no
; then :
15489 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
15495 $as_echo_n "checking for library containing opendir... " >&6; }
15496 if ${ac_cv_search_opendir+:} false
; then :
15497 $as_echo_n "(cached) " >&6
15499 ac_func_search_save_LIBS
=$LIBS
15500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15501 /* end confdefs.h. */
15503 /* Override any GCC internal prototype to avoid an error.
15504 Use char because int might match the return type of a GCC
15505 builtin and then its argument prototype would still apply. */
15518 for ac_lib
in '' x
; do
15519 if test -z "$ac_lib"; then
15520 ac_res
="none required"
15523 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15525 if ac_fn_c_try_link
"$LINENO"; then :
15526 ac_cv_search_opendir
=$ac_res
15528 rm -f core conftest.err conftest.
$ac_objext \
15530 if ${ac_cv_search_opendir+:} false
; then :
15534 if ${ac_cv_search_opendir+:} false
; then :
15537 ac_cv_search_opendir
=no
15539 rm conftest.
$ac_ext
15540 LIBS
=$ac_func_search_save_LIBS
15542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
15543 $as_echo "$ac_cv_search_opendir" >&6; }
15544 ac_res
=$ac_cv_search_opendir
15545 if test "$ac_res" != no
; then :
15546 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15554 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_type" "ac_cv_member_struct_dirent_d_type" "
15555 #include <sys/types.h>
15556 #ifdef HAVE_DIRENT_H
15557 # include <dirent.h>
15559 # define dirent direct
15560 # ifdef HAVE_SYS_NDIR_H
15561 # include <sys/ndir.h>
15563 # ifdef HAVE_SYS_DIR_H
15564 # include <sys/dir.h>
15566 # ifdef HAVE_NDIR_H
15572 if test "x$ac_cv_member_struct_dirent_d_type" = xyes
; then :
15574 cat >>confdefs.h
<<_ACEOF
15575 #define HAVE_STRUCT_DIRENT_D_TYPE 1
15583 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
15585 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15586 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15587 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15588 cat >>confdefs.h
<<_ACEOF
15589 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15595 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15596 if test "x$ac_cv_type_off_t" = xyes
; then :
15600 cat >>confdefs.h
<<_ACEOF
15601 #define off_t long int
15607 CFLAGS_hold
="$CFLAGS"
15608 CFLAGS
="$OSCFLAGS $CFLAGS"
15609 ac_fn_c_check_type
"$LINENO" "loff_t" "ac_cv_type_loff_t" "
15610 #include <sys/types.h>
15614 if test "x$ac_cv_type_loff_t" = xyes
; then :
15616 cat >>confdefs.h
<<_ACEOF
15617 #define HAVE_LOFF_T 1
15623 CFLAGS
="$CFLAGS_hold"
15627 for ac_func
in cosl expl logl sinl tanl acosl asinl atanl atan2l expm1l ldexpl log10l log1pl
15629 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15630 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15631 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15632 cat >>confdefs.h
<<_ACEOF
15633 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15641 CFLAGS_hold
="$CFLAGS"
15642 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
15644 LIBS
="$LIBS $PTHREAD_LIBS"
15645 for ac_func
in sem_timedwait
15647 ac_fn_c_check_func
"$LINENO" "sem_timedwait" "ac_cv_func_sem_timedwait"
15648 if test "x$ac_cv_func_sem_timedwait" = xyes
; then :
15649 cat >>confdefs.h
<<_ACEOF
15650 #define HAVE_SEM_TIMEDWAIT 1
15656 CFLAGS
="$CFLAGS_hold"
15660 LIBS
="$LIBS $MATH_LIBS"
15661 for ac_func
in matherr
15663 ac_fn_c_check_func
"$LINENO" "matherr" "ac_cv_func_matherr"
15664 if test "x$ac_cv_func_matherr" = xyes
; then :
15665 cat >>confdefs.h
<<_ACEOF
15666 #define HAVE_MATHERR 1
15674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -minline-all-stringops" >&5
15675 $as_echo_n "checking whether compiler supports -minline-all-stringops... " >&6; }
15676 if ${libgo_cv_c_stringops+:} false
; then :
15677 $as_echo_n "(cached) " >&6
15679 CFLAGS_hold
=$CFLAGS
15680 CFLAGS
="$CFLAGS -minline-all-stringops"
15681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15682 /* end confdefs.h. */
15685 if ac_fn_c_try_compile
"$LINENO"; then :
15686 libgo_cv_c_stringops
=yes
15688 libgo_cv_c_stringops
=no
15690 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15691 CFLAGS
=$CFLAGS_hold
15693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_stringops" >&5
15694 $as_echo "$libgo_cv_c_stringops" >&6; }
15696 if test "$libgo_cv_c_stringops" = yes; then
15697 STRINGOPS_FLAG
=-minline-all-stringops
15701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -mfancy-math-387" >&5
15702 $as_echo_n "checking whether compiler supports -mfancy-math-387... " >&6; }
15703 if ${libgo_cv_c_fancymath+:} false
; then :
15704 $as_echo_n "(cached) " >&6
15706 CFLAGS_hold
=$CFLAGS
15707 CFLAGS
="$CFLAGS -mfancy-math-387"
15708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15709 /* end confdefs.h. */
15712 if ac_fn_c_try_compile
"$LINENO"; then :
15713 libgo_cv_c_fancymath
=yes
15715 libgo_cv_c_fancymath
=no
15717 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15718 CFLAGS
=$CFLAGS_hold
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_fancymath" >&5
15721 $as_echo "$libgo_cv_c_fancymath" >&6; }
15723 if test "$libgo_cv_c_fancymath" = yes; then
15724 MATH_FLAG
="-mfancy-math-387"
15726 MATH_FLAG
="${MATH_FLAG} -ffp-contract=off -fno-math-errno -fno-trapping-math"
15729 CFLAGS_hold
=$CFLAGS
15730 CFLAGS
="$CFLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
15731 ac_fn_c_check_type
"$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default"
15732 if test "x$ac_cv_type_off64_t" = xyes
; then :
15734 cat >>confdefs.h
<<_ACEOF
15735 #define HAVE_OFF64_T 1
15741 CFLAGS
=$CFLAGS_hold
15743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking epoll_event size" >&5
15744 $as_echo_n "checking epoll_event size... " >&6; }
15745 if ${libgo_cv_c_epoll_event_size+:} false
; then :
15746 $as_echo_n "(cached) " >&6
15748 if ac_fn_c_compute_int
"$LINENO" "sizeof (struct epoll_event)" "libgo_cv_c_epoll_event_size" "#include <sys/epoll.h>"; then :
15751 libgo_cv_c_epoll_event_size
=0
15755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_epoll_event_size" >&5
15756 $as_echo "$libgo_cv_c_epoll_event_size" >&6; }
15757 SIZEOF_STRUCT_EPOLL_EVENT
=${libgo_cv_c_epoll_event_size}
15760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking epoll_event data.fd offset" >&5
15761 $as_echo_n "checking epoll_event data.fd offset... " >&6; }
15762 if ${libgo_cv_c_epoll_event_fd_offset+:} false
; then :
15763 $as_echo_n "(cached) " >&6
15765 if ac_fn_c_compute_int
"$LINENO" "offsetof (struct epoll_event, data.fd)" "libgo_cv_c_epoll_event_fd_offset" "#include <stddef.h>
15766 #include <sys/epoll.h>"; then :
15769 libgo_cv_c_epoll_event_fd_offset
=0
15773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_epoll_event_fd_offset" >&5
15774 $as_echo "$libgo_cv_c_epoll_event_fd_offset" >&6; }
15775 STRUCT_EPOLL_EVENT_FD_OFFSET
=${libgo_cv_c_epoll_event_fd_offset}
15778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15779 /* end confdefs.h. */
15780 #include <sys/stat.h>
15783 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15784 $EGREP "timespec_t.*st_atim" >/dev
/null
2>&1; then :
15785 have_stat_timespec
=yes
15787 have_stat_timespec
=no
15791 if test $have_stat_timespec = yes; then
15792 HAVE_STAT_TIMESPEC_TRUE
=
15793 HAVE_STAT_TIMESPEC_FALSE
='#'
15795 HAVE_STAT_TIMESPEC_TRUE
='#'
15796 HAVE_STAT_TIMESPEC_FALSE
=
15800 ac_fn_c_check_type
"$LINENO" "struct exception" "ac_cv_type_struct_exception" "#include <math.h>
15802 if test "x$ac_cv_type_struct_exception" = xyes
; then :
15803 libgo_has_struct_exception
=yes
15805 libgo_has_struct_exception
=no
15808 if test "$libgo_has_struct_exception" = "yes"; then
15810 $as_echo "#define HAVE_STRUCT_EXCEPTION 1" >>confdefs.h
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether setcontext clobbers TLS variables" >&5
15815 $as_echo_n "checking whether setcontext clobbers TLS variables... " >&6; }
15816 if ${libgo_cv_lib_setcontext_clobbers_tls+:} false
; then :
15817 $as_echo_n "(cached) " >&6
15819 CFLAGS_hold
="$CFLAGS"
15820 CFLAGS
="$PTHREAD_CFLAGS"
15822 LIBS
="$LIBS $PTHREAD_LIBS"
15823 # The cast to long int works around a bug in the HP C Compiler
15824 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15825 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15826 # This bug is HP SR number 8606223364.
15827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15828 $as_echo_n "checking size of void *... " >&6; }
15829 if ${ac_cv_sizeof_void_p+:} false
; then :
15830 $as_echo_n "(cached) " >&6
15832 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15835 if test "$ac_cv_type_void_p" = yes; then
15836 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15837 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15838 as_fn_error
77 "cannot compute sizeof (void *)
15839 See \`config.log' for more details" "$LINENO" 5; }
15841 ac_cv_sizeof_void_p
=0
15846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15847 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15851 cat >>confdefs.h
<<_ACEOF
15852 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15856 as_fn_arith
$ac_cv_sizeof_void_p \
* 8 && ptr_type_size
=$as_val
15857 if test "$cross_compiling" = yes; then :
15858 case "$target:$ptr_type_size" in
15859 i?
86-*-solaris2.1
[01]:64 | x86_64
*-*-solaris2.1
[01]:64)
15860 libgo_cv_lib_setcontext_clobbers_tls
=yes ;;
15862 libgo_cv_lib_setcontext_clobbers_tls
=no
;;
15866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15867 /* end confdefs.h. */
15869 #include <pthread.h>
15870 #include <stdlib.h>
15871 #include <ucontext.h>
15872 #include <unistd.h>
15876 static char stack[10 * 1024 * 1024];
15877 static ucontext_t c;
15879 /* Called via makecontext/setcontext. */
15887 /* Called via pthread_create. */
15892 /* The thread should still see this value after calling
15898 /* The call to setcontext should not return. */
15907 /* The thread should not see this value. */
15910 if (getcontext (&c) < 0)
15913 c.uc_stack.ss_sp = stack;
15914 #ifdef MAKECONTEXT_STACK_TOP
15915 c.uc_stack.ss_sp += sizeof stack;
15917 c.uc_stack.ss_flags = 0;
15918 c.uc_stack.ss_size = sizeof stack;
15920 makecontext (&c, cfn, 0);
15922 if (pthread_create (&tid, NULL, tfn, NULL) != 0)
15925 if (pthread_join (tid, NULL) != 0)
15928 /* The thread should have called exit. */
15933 if ac_fn_c_try_run
"$LINENO"; then :
15934 libgo_cv_lib_setcontext_clobbers_tls
=no
15936 libgo_cv_lib_setcontext_clobbers_tls
=yes
15938 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15939 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15942 CFLAGS
="$CFLAGS_hold"
15946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_setcontext_clobbers_tls" >&5
15947 $as_echo "$libgo_cv_lib_setcontext_clobbers_tls" >&6; }
15948 if test "$libgo_cv_lib_setcontext_clobbers_tls" = "yes"; then
15950 $as_echo "#define SETCONTEXT_CLOBBERS_TLS 1" >>confdefs.h
15954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .eh_frame section should be read-only" >&5
15955 $as_echo_n "checking whether .eh_frame section should be read-only... " >&6; }
15956 if ${libgo_cv_ro_eh_frame+:} false
; then :
15957 $as_echo_n "(cached) " >&6
15960 libgo_cv_ro_eh_frame
=no
15961 echo 'extern void foo (void); void bar (void) { foo (); foo (); }' > conftest.c
15962 if $CC $CFLAGS -S -fpic -fexceptions -o conftest.s conftest.c
> /dev
/null
2>&1; then
15963 if grep '.section.*eh_frame.*"a"' conftest.s
> /dev
/null
; then
15964 libgo_cv_ro_eh_frame
=yes
15965 elif grep '.section.*eh_frame.*#alloc' conftest.c \
15966 |
grep -v '#write' > /dev
/null
; then
15967 libgo_cv_ro_eh_frame
=yes
15973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_ro_eh_frame" >&5
15974 $as_echo "$libgo_cv_ro_eh_frame" >&6; }
15975 if test "x$libgo_cv_ro_eh_frame" = xyes
; then
15977 $as_echo "#define EH_FRAME_FLAGS \"a\"" >>confdefs.h
15981 $as_echo "#define EH_FRAME_FLAGS \"aw\"" >>confdefs.h
15985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Qunused-arguments" >&5
15986 $as_echo_n "checking if compiler supports -Qunused-arguments... " >&6; }
15987 if ${libgo_cv_c_unused_arguments+:} false
; then :
15988 $as_echo_n "(cached) " >&6
15990 CFLAGS_hold
=$CFLAGS
15991 CFLAGS
="$CFLAGS -Qunused-arguments"
15992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15993 /* end confdefs.h. */
15996 if ac_fn_c_try_compile
"$LINENO"; then :
15997 libgo_cv_c_unused_arguments
=yes
15999 libgo_cv_c_unused_arguments
=no
16001 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16002 CFLAGS
=$CFLAGS_hold
16004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_unused_arguments" >&5
16005 $as_echo "$libgo_cv_c_unused_arguments" >&6; }
16007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if assembler supports GNU comdat group syntax" >&5
16008 $as_echo_n "checking if assembler supports GNU comdat group syntax... " >&6; }
16009 if ${libgo_cv_as_comdat_gnu+:} false
; then :
16010 $as_echo_n "(cached) " >&6
16013 echo '.section .text,"axG",@progbits,.foo,comdat' > conftest.s
16014 CFLAGS_hold
=$CFLAGS
16015 if test "$libgo_cv_c_unused_arguments" = yes; then
16016 CFLAGS
="$CFLAGS -Qunused-arguments"
16018 if $CC $CFLAGS -c conftest.s
> /dev
/null
2>&1; then
16019 libgo_cv_as_comdat_gnu
=yes
16021 libgo_cv_as_comdat_gnu
=no
16023 CFLAGS
=$CFLAGS_hold
16026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_comdat_gnu" >&5
16027 $as_echo "$libgo_cv_as_comdat_gnu" >&6; }
16028 if test "x$libgo_cv_as_comdat_gnu" = xyes
; then
16030 $as_echo "#define HAVE_AS_COMDAT_GAS 1" >>confdefs.h
16034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports pc related relocs" >&5
16035 $as_echo_n "checking assembler supports pc related relocs... " >&6; }
16036 if ${libgo_cv_as_x86_pcrel+:} false
; then :
16037 $as_echo_n "(cached) " >&6
16040 libgo_cv_as_x86_pcrel
=yes
16041 echo '.text; foo: nop; .data; .long foo-.; .text' > conftest.s
16042 CFLAGS_hold
=$CFLAGS
16043 if test "$libgo_cv_c_unused_arguments" = yes; then
16044 CFLAGS
="$CFLAGS -Qunused-arguments"
16046 if $CC $CFLAGS -c conftest.s
2>&1 |
$EGREP -i 'illegal|warning' > /dev
/null
; then
16047 libgo_cv_as_x86_pcrel
=no
16049 CFLAGS
=$CFLAGS_hold
16052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_x86_pcrel" >&5
16053 $as_echo "$libgo_cv_as_x86_pcrel" >&6; }
16054 if test "x$libgo_cv_as_x86_pcrel" = xyes
; then
16056 $as_echo "#define HAVE_AS_X86_PCREL 1" >>confdefs.h
16060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports unwind section type" >&5
16061 $as_echo_n "checking assembler supports unwind section type... " >&6; }
16062 if ${libgo_cv_as_x86_64_unwind_section_type+:} false
; then :
16063 $as_echo_n "(cached) " >&6
16066 libgo_cv_as_x86_64_unwind_section_type
=yes
16067 echo '.section .eh_frame,"a",@unwind' > conftest.s
16068 CFLAGS_hold
=$CFLAGS
16069 if test "$libgo_cv_c_unused_arguments" = yes; then
16070 CFLAGS
="$CFLAGS -Qunused-arguments"
16072 if $CC $CFLAGS -c conftest.s
2>&1 |
grep -i warning
> /dev
/null
; then
16073 libgo_cv_as_x86_64_unwind_section_type
=no
16075 CFLAGS
=$CFLAGS_hold
16078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_x86_64_unwind_section_type" >&5
16079 $as_echo "$libgo_cv_as_x86_64_unwind_section_type" >&6; }
16080 if test "x$libgo_cv_as_x86_64_unwind_section_type" = xyes
; then
16082 $as_echo "#define HAVE_AS_X86_64_UNWIND_SECTION_TYPE 1" >>confdefs.h
16086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports AES instructions" >&5
16087 $as_echo_n "checking assembler supports AES instructions... " >&6; }
16088 if ${libgo_cv_as_x86_aes+:} false
; then :
16089 $as_echo_n "(cached) " >&6
16092 libgo_cv_as_x86_aes
=yes
16093 echo 'aesenc %xmm0, %xmm1' > conftest.s
16094 CFLAGS_hold
=$CFLAGS
16095 if test "$libgo_cv_c_unused_arguments" = yes; then
16096 CFLAGS
="$CFLAGS -Qunused-arguments"
16098 if $CC $CFLAGS -c conftest.s
2>&1 |
grep -i error
> /dev
/null
; then
16099 libgo_cv_as_x86_aes
=no
16101 CFLAGS
=$CFLAGS_hold
16104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_x86_aes" >&5
16105 $as_echo "$libgo_cv_as_x86_aes" >&6; }
16106 if test "x$libgo_cv_as_x86_aes" = xyes
; then
16108 $as_echo "#define HAVE_AS_X86_AES 1" >>confdefs.h
16112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -static is supported" >&5
16113 $as_echo_n "checking whether -static is supported... " >&6; }
16114 if ${libgo_cv_ld_static+:} false
; then :
16115 $as_echo_n "(cached) " >&6
16117 LDFLAGS_hold
=$LDFLAGS
16118 LDFLAGS
="$LDFLAGS -static"
16119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16120 /* end confdefs.h. */
16130 if ac_fn_c_try_link
"$LINENO"; then :
16131 libgo_cv_ld_static
=yes
16133 libgo_cv_ld_static
=no
16135 rm -f core conftest.err conftest.
$ac_objext \
16136 conftest
$ac_exeext conftest.
$ac_ext
16137 LDFLAGS
=$LDFLAGS_hold
16139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_ld_static" >&5
16140 $as_echo "$libgo_cv_ld_static" >&6; }
16141 if test "$libgo_cv_ld_static" = yes; then
16142 HAVE_STATIC_LINK_TRUE
=
16143 HAVE_STATIC_LINK_FALSE
='#'
16145 HAVE_STATIC_LINK_TRUE
='#'
16146 HAVE_STATIC_LINK_FALSE
=
16150 cat >confcache
<<\_ACEOF
16151 # This file is a shell script that caches the results of configure
16152 # tests run on this system so they can be shared between configure
16153 # scripts and configure runs, see configure's option --config-cache.
16154 # It is not useful on other systems. If it contains results you don't
16155 # want to keep, you may remove or edit it.
16157 # config.status only pays attention to the cache file if you give it
16158 # the --recheck option to rerun configure.
16160 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16161 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16162 # following values.
16166 # The following way of writing the cache mishandles newlines in values,
16167 # but we know of no workaround that is simple, portable, and efficient.
16168 # So, we kill variables containing newlines.
16169 # Ultrix sh set writes to stderr and can't be redirected directly,
16170 # and sets the high bit in the cache file unless we assign to the vars.
16172 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16173 eval ac_val
=\$
$ac_var
16177 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16178 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16181 _ | IFS | as_nl
) ;; #(
16182 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16183 *) { eval $ac_var=; unset $ac_var;} ;;
16189 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16190 *${as_nl}ac_space
=\
*)
16191 # `set' does not quote correctly, so add quotes: double-quote
16192 # substitution turns \\\\ into \\, and sed turns \\ into \.
16195 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16198 # `set' quotes correctly as required by POSIX, so do not add quotes.
16199 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16208 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16210 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16212 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16213 if test -w "$cache_file"; then
16214 if test "x$cache_file" != "x/dev/null"; then
16215 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16216 $as_echo "$as_me: updating cache $cache_file" >&6;}
16217 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
16218 cat confcache
>"$cache_file"
16220 case $cache_file in #(
16222 mv -f confcache
"$cache_file"$$
&&
16223 mv -f "$cache_file"$$
"$cache_file" ;; #(
16225 mv -f confcache
"$cache_file" ;;
16230 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16231 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16236 if test ${multilib} = yes; then
16237 multilib_arg
="--enable-multilib"
16242 ac_config_files
="$ac_config_files Makefile testsuite/Makefile testsuite/libgo-test-support.exp"
16245 ac_config_commands
="$ac_config_commands default"
16248 cat >confcache
<<\_ACEOF
16249 # This file is a shell script that caches the results of configure
16250 # tests run on this system so they can be shared between configure
16251 # scripts and configure runs, see configure's option --config-cache.
16252 # It is not useful on other systems. If it contains results you don't
16253 # want to keep, you may remove or edit it.
16255 # config.status only pays attention to the cache file if you give it
16256 # the --recheck option to rerun configure.
16258 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16259 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16260 # following values.
16264 # The following way of writing the cache mishandles newlines in values,
16265 # but we know of no workaround that is simple, portable, and efficient.
16266 # So, we kill variables containing newlines.
16267 # Ultrix sh set writes to stderr and can't be redirected directly,
16268 # and sets the high bit in the cache file unless we assign to the vars.
16270 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16271 eval ac_val
=\$
$ac_var
16275 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16276 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16279 _ | IFS | as_nl
) ;; #(
16280 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16281 *) { eval $ac_var=; unset $ac_var;} ;;
16287 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16288 *${as_nl}ac_space
=\
*)
16289 # `set' does not quote correctly, so add quotes: double-quote
16290 # substitution turns \\\\ into \\, and sed turns \\ into \.
16293 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16296 # `set' quotes correctly as required by POSIX, so do not add quotes.
16297 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16306 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16308 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16310 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16311 if test -w "$cache_file"; then
16312 if test "x$cache_file" != "x/dev/null"; then
16313 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16314 $as_echo "$as_me: updating cache $cache_file" >&6;}
16315 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
16316 cat confcache
>"$cache_file"
16318 case $cache_file in #(
16320 mv -f confcache
"$cache_file"$$
&&
16321 mv -f "$cache_file"$$
"$cache_file" ;; #(
16323 mv -f confcache
"$cache_file" ;;
16328 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16329 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16334 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16335 # Let make expand exec_prefix.
16336 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16338 DEFS
=-DHAVE_CONFIG_H
16343 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16344 # 1. Remove the extension, and $U if already installed.
16345 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16346 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16347 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16348 # will be set to the directory where LIBOBJS objects are built.
16349 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16350 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16352 LIBOBJS
=$ac_libobjs
16354 LTLIBOBJS
=$ac_ltlibobjs
16357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16358 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16359 if test -n "$am_sleep_pid"; then
16360 # Hide warnings about reused PIDs.
16361 wait $am_sleep_pid 2>/dev
/null
16363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16364 $as_echo "done" >&6; }
16365 if test -n "$EXEEXT"; then
16367 am__EXEEXT_FALSE
='#'
16369 am__EXEEXT_TRUE
='#'
16373 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16374 as_fn_error $?
"conditional \"AMDEP\" was never defined.
16375 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16377 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16378 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
16379 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16381 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
16382 as_fn_error $?
"conditional \"am__fastdepCCAS\" was never defined.
16383 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16385 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16386 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
16387 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16389 if test -z "${USE_LIBFFI_TRUE}" && test -z "${USE_LIBFFI_FALSE}"; then
16390 as_fn_error $?
"conditional \"USE_LIBFFI\" was never defined.
16391 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16393 if test -z "${LIBGO_IS_DARWIN_TRUE}" && test -z "${LIBGO_IS_DARWIN_FALSE}"; then
16394 as_fn_error $?
"conditional \"LIBGO_IS_DARWIN\" was never defined.
16395 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16397 if test -z "${LIBGO_IS_FREEBSD_TRUE}" && test -z "${LIBGO_IS_FREEBSD_FALSE}"; then
16398 as_fn_error $?
"conditional \"LIBGO_IS_FREEBSD\" was never defined.
16399 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16401 if test -z "${LIBGO_IS_IRIX_TRUE}" && test -z "${LIBGO_IS_IRIX_FALSE}"; then
16402 as_fn_error $?
"conditional \"LIBGO_IS_IRIX\" was never defined.
16403 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16405 if test -z "${LIBGO_IS_LINUX_TRUE}" && test -z "${LIBGO_IS_LINUX_FALSE}"; then
16406 as_fn_error $?
"conditional \"LIBGO_IS_LINUX\" was never defined.
16407 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16409 if test -z "${LIBGO_IS_NETBSD_TRUE}" && test -z "${LIBGO_IS_NETBSD_FALSE}"; then
16410 as_fn_error $?
"conditional \"LIBGO_IS_NETBSD\" was never defined.
16411 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16413 if test -z "${LIBGO_IS_OPENBSD_TRUE}" && test -z "${LIBGO_IS_OPENBSD_FALSE}"; then
16414 as_fn_error $?
"conditional \"LIBGO_IS_OPENBSD\" was never defined.
16415 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16417 if test -z "${LIBGO_IS_DRAGONFLY_TRUE}" && test -z "${LIBGO_IS_DRAGONFLY_FALSE}"; then
16418 as_fn_error $?
"conditional \"LIBGO_IS_DRAGONFLY\" was never defined.
16419 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16421 if test -z "${LIBGO_IS_RTEMS_TRUE}" && test -z "${LIBGO_IS_RTEMS_FALSE}"; then
16422 as_fn_error $?
"conditional \"LIBGO_IS_RTEMS\" was never defined.
16423 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16425 if test -z "${LIBGO_IS_SOLARIS_TRUE}" && test -z "${LIBGO_IS_SOLARIS_FALSE}"; then
16426 as_fn_error $?
"conditional \"LIBGO_IS_SOLARIS\" was never defined.
16427 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16429 if test -z "${LIBGO_IS_AIX_TRUE}" && test -z "${LIBGO_IS_AIX_FALSE}"; then
16430 as_fn_error $?
"conditional \"LIBGO_IS_AIX\" was never defined.
16431 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16433 if test -z "${LIBGO_IS_HURD_TRUE}" && test -z "${LIBGO_IS_HURD_FALSE}"; then
16434 as_fn_error $?
"conditional \"LIBGO_IS_HURD\" was never defined.
16435 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16437 if test -z "${LIBGO_IS_BSD_TRUE}" && test -z "${LIBGO_IS_BSD_FALSE}"; then
16438 as_fn_error $?
"conditional \"LIBGO_IS_BSD\" was never defined.
16439 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16441 if test -z "${LIBGO_IS_X86_TRUE}" && test -z "${LIBGO_IS_X86_FALSE}"; then
16442 as_fn_error $?
"conditional \"LIBGO_IS_X86\" was never defined.
16443 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16445 if test -z "${USING_SPLIT_STACK_TRUE}" && test -z "${USING_SPLIT_STACK_FALSE}"; then
16446 as_fn_error $?
"conditional \"USING_SPLIT_STACK\" was never defined.
16447 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16449 if test -z "${GOC_IS_LLGO_TRUE}" && test -z "${GOC_IS_LLGO_FALSE}"; then
16450 as_fn_error $?
"conditional \"GOC_IS_LLGO\" was never defined.
16451 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16454 if test -z "${HAVE_SYS_MMAN_H_TRUE}" && test -z "${HAVE_SYS_MMAN_H_FALSE}"; then
16455 as_fn_error $?
"conditional \"HAVE_SYS_MMAN_H\" was never defined.
16456 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16458 if test -z "${HAVE_STRERROR_R_TRUE}" && test -z "${HAVE_STRERROR_R_FALSE}"; then
16459 as_fn_error $?
"conditional \"HAVE_STRERROR_R\" was never defined.
16460 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16462 if test -z "${HAVE_WAIT4_TRUE}" && test -z "${HAVE_WAIT4_FALSE}"; then
16463 as_fn_error $?
"conditional \"HAVE_WAIT4\" was never defined.
16464 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16466 if test -z "${HAVE_STAT_TIMESPEC_TRUE}" && test -z "${HAVE_STAT_TIMESPEC_FALSE}"; then
16467 as_fn_error $?
"conditional \"HAVE_STAT_TIMESPEC\" was never defined.
16468 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16470 if test -z "${HAVE_STATIC_LINK_TRUE}" && test -z "${HAVE_STATIC_LINK_FALSE}"; then
16471 as_fn_error $?
"conditional \"HAVE_STATIC_LINK\" was never defined.
16472 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16475 : "${CONFIG_STATUS=./config.status}"
16477 ac_clean_files_save
=$ac_clean_files
16478 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16479 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16480 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16482 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16484 # Generated by $as_me.
16485 # Run this file to recreate the current configuration.
16486 # Compiler output produced by configure, useful for debugging
16487 # configure, is in config.log if it exists.
16490 ac_cs_recheck=false
16493 SHELL=\${CONFIG_SHELL-$SHELL}
16496 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16497 ## -------------------- ##
16498 ## M4sh Initialization. ##
16499 ## -------------------- ##
16501 # Be more Bourne compatible
16502 DUALCASE
=1; export DUALCASE
# for MKS sh
16503 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16506 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16507 # is contrary to our usage. Disable this feature.
16508 alias -g '${1+"$@"}'='"$@"'
16509 setopt NO_GLOB_SUBST
16511 case `(set -o) 2>/dev/null` in #(
16523 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16524 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16525 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16526 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16527 # Prefer a ksh shell builtin over an external printf program on Solaris,
16528 # but without wasting forks for bash or zsh.
16529 if test -z "$BASH_VERSION$ZSH_VERSION" \
16530 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16531 as_echo='print
-r --'
16532 as_echo_n='print
-rn --'
16533 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16534 as_echo='printf %s
\n'
16535 as_echo_n='printf %s
'
16537 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16538 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16539 as_echo_n='/usr
/ucb
/echo -n'
16541 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16542 as_echo_n_body='eval
16546 expr "X$arg" : "X\\(.*\\)$as_nl";
16547 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16549 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16551 export as_echo_n_body
16552 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16554 export as_echo_body
16555 as_echo='sh
-c $as_echo_body as_echo
'
16558 # The user is always right.
16559 if test "${PATH_SEPARATOR+set}" != set; then
16561 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16562 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16569 # We need space, tab and new line, in precisely that order. Quoting is
16570 # there to prevent editors from complaining about space-tab.
16571 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16572 # splitting by setting IFS to empty value.)
16575 # Find who we are. Look in the path if we contain no directory separator.
16578 *[\\/]* ) as_myself=$0 ;;
16579 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16580 for as_dir in $PATH
16583 test -z "$as_dir" && as_dir=.
16584 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16590 # We did not find ourselves, most probably we were run as `sh COMMAND'
16591 # in which case we are not to be found in the path.
16592 if test "x$as_myself" = x
; then
16595 if test ! -f "$as_myself"; then
16596 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16600 # Unset variables that we do not need and which cause bugs (e.g. in
16601 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16602 # suppresses any "Segmentation fault" message there. '((' could
16603 # trigger a bug in pdksh 5.2.14.
16604 for as_var
in BASH_ENV ENV MAIL MAILPATH
16605 do eval test x\
${$as_var+set} = xset \
16606 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16619 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16622 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16623 # ----------------------------------------
16624 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16625 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16626 # script with STATUS, using 1 if that was 0.
16629 as_status
=$1; test $as_status -eq 0 && as_status
=1
16631 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16632 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16634 $as_echo "$as_me: error: $2" >&2
16635 as_fn_exit
$as_status
16639 # as_fn_set_status STATUS
16640 # -----------------------
16641 # Set $? to STATUS, without forking.
16642 as_fn_set_status
()
16645 } # as_fn_set_status
16647 # as_fn_exit STATUS
16648 # -----------------
16649 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16653 as_fn_set_status
$1
16659 # Portably unset VAR.
16662 { eval $1=; unset $1;}
16664 as_unset
=as_fn_unset
16665 # as_fn_append VAR VALUE
16666 # ----------------------
16667 # Append the text in VALUE to the end of the definition contained in VAR. Take
16668 # advantage of any shell optimizations that allow amortized linear growth over
16669 # repeated appends, instead of the typical quadratic growth present in naive
16671 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16672 eval 'as_fn_append ()
16683 # as_fn_arith ARG...
16684 # ------------------
16685 # Perform arithmetic evaluation on the ARGs, and store the result in the
16686 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16687 # must be portable across $(()) and expr.
16688 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16689 eval 'as_fn_arith ()
16696 as_val
=`expr "$@" || test $? -eq 1`
16701 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16702 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16708 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16709 as_basename
=basename
16714 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16720 as_me
=`$as_basename -- "$0" ||
16721 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16722 X"$0" : 'X\(//\)$' \| \
16723 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16725 sed '/^.*\/\([^/][^/]*\)\/*$/{
16739 # Avoid depending upon Character Ranges.
16740 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16741 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16742 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16743 as_cr_digits
='0123456789'
16744 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16746 ECHO_C
= ECHO_N
= ECHO_T
=
16747 case `echo -n x` in #(((((
16749 case `echo 'xy\c'` in
16750 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16752 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16759 rm -f conf$$ conf$$.exe conf$$.
file
16760 if test -d conf$$.dir
; then
16761 rm -f conf$$.dir
/conf$$.
file
16764 mkdir conf$$.dir
2>/dev
/null
16766 if (echo >conf$$.
file) 2>/dev
/null
; then
16767 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16769 # ... but there are two gotchas:
16770 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16771 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16772 # In both cases, we have to default to `cp -pR'.
16773 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16775 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16783 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16784 rmdir conf$$.dir
2>/dev
/null
16789 # Create "$as_dir" as a directory, including parents if necessary.
16794 -*) as_dir
=.
/$as_dir;;
16796 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16800 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16801 *) as_qdir
=$as_dir;;
16803 as_dirs
="'$as_qdir' $as_dirs"
16804 as_dir
=`$as_dirname -- "$as_dir" ||
16805 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16806 X"$as_dir" : 'X\(//\)[^/]' \| \
16807 X"$as_dir" : 'X\(//\)$' \| \
16808 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16809 $as_echo X"$as_dir" |
16810 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16814 /^X\(\/\/\)[^/].*/{
16827 test -d "$as_dir" && break
16829 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16830 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16834 if mkdir
-p .
2>/dev
/null
; then
16835 as_mkdir_p
='mkdir -p "$as_dir"'
16837 test -d .
/-p && rmdir .
/-p
16842 # as_fn_executable_p FILE
16843 # -----------------------
16844 # Test if FILE is an executable regular file.
16845 as_fn_executable_p
()
16847 test -f "$1" && test -x "$1"
16848 } # as_fn_executable_p
16849 as_test_x
='test -x'
16850 as_executable_p
=as_fn_executable_p
16852 # Sed expression to map a string onto a valid CPP name.
16853 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16855 # Sed expression to map a string onto a valid variable name.
16856 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16860 ## ----------------------------------- ##
16861 ## Main body of $CONFIG_STATUS script. ##
16862 ## ----------------------------------- ##
16864 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16866 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16867 # Save the log message, to keep $0 and so on meaningful, and to
16868 # report actual input values of CONFIG_FILES etc. instead of their
16869 # values after options handling.
16871 This file was extended by package-unused $as_me version-unused, which was
16872 generated by GNU Autoconf 2.69. Invocation command line was
16874 CONFIG_FILES = $CONFIG_FILES
16875 CONFIG_HEADERS = $CONFIG_HEADERS
16876 CONFIG_LINKS = $CONFIG_LINKS
16877 CONFIG_COMMANDS = $CONFIG_COMMANDS
16880 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16885 case $ac_config_files in *"
16886 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16889 case $ac_config_headers in *"
16890 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16894 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16895 # Files that config.status was made for.
16896 config_files="$ac_config_files"
16897 config_headers="$ac_config_headers"
16898 config_commands="$ac_config_commands"
16902 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16904 \`$as_me' instantiates files and other configuration actions
16905 from templates according to the current configuration. Unless the files
16906 and actions are specified as TAGs, all are instantiated by default.
16908 Usage: $0 [OPTION]... [TAG]...
16910 -h, --help print this help, then exit
16911 -V, --version print version number and configuration settings, then exit
16912 --config print configuration, then exit
16913 -q, --quiet, --silent
16914 do not print progress messages
16915 -d, --debug don't remove temporary files
16916 --recheck update $as_me by reconfiguring in the same conditions
16917 --file=FILE[:TEMPLATE]
16918 instantiate the configuration file FILE
16919 --header=FILE[:TEMPLATE]
16920 instantiate the configuration header FILE
16922 Configuration files:
16925 Configuration headers:
16928 Configuration commands:
16931 Report bugs to the package provider."
16934 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16935 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16937 package-unused config.status version-unused
16938 configured by $0, generated by GNU Autoconf 2.69,
16939 with options \\"\$ac_cs_config\\"
16941 Copyright (C) 2012 Free Software Foundation, Inc.
16942 This config.status script is free software; the Free Software Foundation
16943 gives unlimited permission to copy, distribute and modify it."
16950 test -n "\$AWK" || AWK=awk
16953 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16954 # The default lists apply if the user does not specify any file.
16960 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16961 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16965 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16977 # Handling of the options.
16978 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16980 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16981 $as_echo "$ac_cs_version"; exit ;;
16982 --config |
--confi |
--conf |
--con |
--co |
--c )
16983 $as_echo "$ac_cs_config"; exit ;;
16984 --debug |
--debu |
--deb |
--de |
--d |
-d )
16986 --file |
--fil |
--fi |
--f )
16989 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16990 '') as_fn_error $?
"missing file argument" ;;
16992 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16993 ac_need_defaults
=false
;;
16994 --header |
--heade |
--head |
--hea )
16997 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16999 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17000 ac_need_defaults
=false
;;
17002 # Conflict between --help and --header
17003 as_fn_error $?
"ambiguous option: \`$1'
17004 Try \`$0 --help' for more information.";;
17005 --help |
--hel |
-h )
17006 $as_echo "$ac_cs_usage"; exit ;;
17007 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17008 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17011 # This is an error.
17012 -*) as_fn_error $?
"unrecognized option: \`$1'
17013 Try \`$0 --help' for more information." ;;
17015 *) as_fn_append ac_config_targets
" $1"
17016 ac_need_defaults
=false
;;
17022 ac_configure_extra_args
=
17024 if $ac_cs_silent; then
17026 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17030 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17031 if \$ac_cs_recheck; then
17032 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17034 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17035 CONFIG_SHELL='$SHELL'
17036 export CONFIG_SHELL
17041 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17045 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17046 ## Running $as_me. ##
17052 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17060 with_multisubdir="$with_multisubdir"
17061 with_multisrctop="$with_multisrctop"
17062 with_target_subdir="$with_target_subdir"
17063 ac_configure_args="${multilib_arg} ${ac_configure_args}"
17064 multi_basedir="$multi_basedir"
17065 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
17068 GFORTRAN="$GFORTRAN"
17070 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17073 # The HP-UX ksh and POSIX shell print the target directory to stdout
17074 # if CDPATH is set.
17075 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17077 sed_quote_subst='$sed_quote_subst'
17078 double_quote_subst='$double_quote_subst'
17079 delay_variable_subst='$delay_variable_subst'
17080 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17081 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17082 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17083 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17084 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17085 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17086 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17087 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17088 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17089 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17090 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17091 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17092 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17093 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17094 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17095 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17096 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17097 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17098 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17099 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17100 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17101 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17102 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17103 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17104 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17105 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17106 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17107 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17108 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17109 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17110 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17111 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17112 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17113 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17114 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17115 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17116 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17117 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17118 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17119 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17120 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17121 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17122 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17123 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17124 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17125 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17126 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17127 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17128 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"`'
17129 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17130 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17131 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17132 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17133 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17134 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17135 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17136 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17137 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17138 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17139 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17140 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17141 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17142 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17143 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17144 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17145 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17146 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17147 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17148 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17149 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17150 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17151 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17152 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17153 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17154 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17155 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17156 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17157 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17158 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17159 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17160 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
17161 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17162 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17163 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17164 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17165 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17166 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17167 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17168 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17169 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
17170 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17171 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17172 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17173 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17174 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17175 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17176 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17177 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17178 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17179 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17180 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17181 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17182 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17183 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17184 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17185 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17186 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17187 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17188 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17189 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17190 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17191 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17192 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17193 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17194 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17195 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17196 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17197 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17198 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17199 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17200 LD_GO='`$ECHO "$LD_GO" | $SED "$delay_single_quote_subst"`'
17201 reload_flag_GO='`$ECHO "$reload_flag_GO" | $SED "$delay_single_quote_subst"`'
17202 reload_cmds_GO='`$ECHO "$reload_cmds_GO" | $SED "$delay_single_quote_subst"`'
17203 old_archive_cmds_GO='`$ECHO "$old_archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
17204 compiler_GO='`$ECHO "$compiler_GO" | $SED "$delay_single_quote_subst"`'
17205 GCC_GO='`$ECHO "$GCC_GO" | $SED "$delay_single_quote_subst"`'
17206 lt_prog_compiler_no_builtin_flag_GO='`$ECHO "$lt_prog_compiler_no_builtin_flag_GO" | $SED "$delay_single_quote_subst"`'
17207 lt_prog_compiler_wl_GO='`$ECHO "$lt_prog_compiler_wl_GO" | $SED "$delay_single_quote_subst"`'
17208 lt_prog_compiler_pic_GO='`$ECHO "$lt_prog_compiler_pic_GO" | $SED "$delay_single_quote_subst"`'
17209 lt_prog_compiler_static_GO='`$ECHO "$lt_prog_compiler_static_GO" | $SED "$delay_single_quote_subst"`'
17210 lt_cv_prog_compiler_c_o_GO='`$ECHO "$lt_cv_prog_compiler_c_o_GO" | $SED "$delay_single_quote_subst"`'
17211 archive_cmds_need_lc_GO='`$ECHO "$archive_cmds_need_lc_GO" | $SED "$delay_single_quote_subst"`'
17212 enable_shared_with_static_runtimes_GO='`$ECHO "$enable_shared_with_static_runtimes_GO" | $SED "$delay_single_quote_subst"`'
17213 export_dynamic_flag_spec_GO='`$ECHO "$export_dynamic_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
17214 whole_archive_flag_spec_GO='`$ECHO "$whole_archive_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
17215 compiler_needs_object_GO='`$ECHO "$compiler_needs_object_GO" | $SED "$delay_single_quote_subst"`'
17216 old_archive_from_new_cmds_GO='`$ECHO "$old_archive_from_new_cmds_GO" | $SED "$delay_single_quote_subst"`'
17217 old_archive_from_expsyms_cmds_GO='`$ECHO "$old_archive_from_expsyms_cmds_GO" | $SED "$delay_single_quote_subst"`'
17218 archive_cmds_GO='`$ECHO "$archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
17219 archive_expsym_cmds_GO='`$ECHO "$archive_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
17220 module_cmds_GO='`$ECHO "$module_cmds_GO" | $SED "$delay_single_quote_subst"`'
17221 module_expsym_cmds_GO='`$ECHO "$module_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
17222 with_gnu_ld_GO='`$ECHO "$with_gnu_ld_GO" | $SED "$delay_single_quote_subst"`'
17223 allow_undefined_flag_GO='`$ECHO "$allow_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
17224 no_undefined_flag_GO='`$ECHO "$no_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
17225 hardcode_libdir_flag_spec_GO='`$ECHO "$hardcode_libdir_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
17226 hardcode_libdir_flag_spec_ld_GO='`$ECHO "$hardcode_libdir_flag_spec_ld_GO" | $SED "$delay_single_quote_subst"`'
17227 hardcode_libdir_separator_GO='`$ECHO "$hardcode_libdir_separator_GO" | $SED "$delay_single_quote_subst"`'
17228 hardcode_direct_GO='`$ECHO "$hardcode_direct_GO" | $SED "$delay_single_quote_subst"`'
17229 hardcode_direct_absolute_GO='`$ECHO "$hardcode_direct_absolute_GO" | $SED "$delay_single_quote_subst"`'
17230 hardcode_minus_L_GO='`$ECHO "$hardcode_minus_L_GO" | $SED "$delay_single_quote_subst"`'
17231 hardcode_shlibpath_var_GO='`$ECHO "$hardcode_shlibpath_var_GO" | $SED "$delay_single_quote_subst"`'
17232 hardcode_automatic_GO='`$ECHO "$hardcode_automatic_GO" | $SED "$delay_single_quote_subst"`'
17233 inherit_rpath_GO='`$ECHO "$inherit_rpath_GO" | $SED "$delay_single_quote_subst"`'
17234 link_all_deplibs_GO='`$ECHO "$link_all_deplibs_GO" | $SED "$delay_single_quote_subst"`'
17235 fix_srcfile_path_GO='`$ECHO "$fix_srcfile_path_GO" | $SED "$delay_single_quote_subst"`'
17236 always_export_symbols_GO='`$ECHO "$always_export_symbols_GO" | $SED "$delay_single_quote_subst"`'
17237 export_symbols_cmds_GO='`$ECHO "$export_symbols_cmds_GO" | $SED "$delay_single_quote_subst"`'
17238 exclude_expsyms_GO='`$ECHO "$exclude_expsyms_GO" | $SED "$delay_single_quote_subst"`'
17239 include_expsyms_GO='`$ECHO "$include_expsyms_GO" | $SED "$delay_single_quote_subst"`'
17240 prelink_cmds_GO='`$ECHO "$prelink_cmds_GO" | $SED "$delay_single_quote_subst"`'
17241 file_list_spec_GO='`$ECHO "$file_list_spec_GO" | $SED "$delay_single_quote_subst"`'
17242 hardcode_action_GO='`$ECHO "$hardcode_action_GO" | $SED "$delay_single_quote_subst"`'
17245 LTCFLAGS='$LTCFLAGS'
17246 compiler='$compiler_DEFAULT'
17248 # A function that is used when there is no print builtin or printf.
17249 func_fallback_echo ()
17251 eval 'cat <<_LTECHO_EOF
17256 # Quote evaled strings.
17270 deplibs_check_method \
17279 lt_cv_sys_global_symbol_pipe \
17280 lt_cv_sys_global_symbol_to_cdecl \
17281 lt_cv_sys_global_symbol_to_c_name_address \
17282 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17283 lt_prog_compiler_no_builtin_flag \
17284 lt_prog_compiler_wl \
17285 lt_prog_compiler_pic \
17286 lt_prog_compiler_static \
17287 lt_cv_prog_compiler_c_o \
17295 export_dynamic_flag_spec \
17296 whole_archive_flag_spec \
17297 compiler_needs_object \
17299 allow_undefined_flag \
17300 no_undefined_flag \
17301 hardcode_libdir_flag_spec \
17302 hardcode_libdir_flag_spec_ld \
17303 hardcode_libdir_separator \
17308 variables_saved_for_relink \
17310 library_names_spec \
17312 install_override_mode \
17319 lt_prog_compiler_no_builtin_flag_GO \
17320 lt_prog_compiler_wl_GO \
17321 lt_prog_compiler_pic_GO \
17322 lt_prog_compiler_static_GO \
17323 lt_cv_prog_compiler_c_o_GO \
17324 export_dynamic_flag_spec_GO \
17325 whole_archive_flag_spec_GO \
17326 compiler_needs_object_GO \
17328 allow_undefined_flag_GO \
17329 no_undefined_flag_GO \
17330 hardcode_libdir_flag_spec_GO \
17331 hardcode_libdir_flag_spec_ld_GO \
17332 hardcode_libdir_separator_GO \
17333 fix_srcfile_path_GO \
17334 exclude_expsyms_GO \
17335 include_expsyms_GO \
17336 file_list_spec_GO; do
17337 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17338 *[\\\\\\\`\\"\\\$]*)
17339 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17342 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17347 # Double-quote double-evaled strings.
17348 for var in reload_cmds \
17349 old_postinstall_cmds \
17350 old_postuninstall_cmds \
17352 extract_expsyms_cmds \
17353 old_archive_from_new_cmds \
17354 old_archive_from_expsyms_cmds \
17356 archive_expsym_cmds \
17358 module_expsym_cmds \
17359 export_symbols_cmds \
17362 postuninstall_cmds \
17364 sys_lib_search_path_spec \
17365 sys_lib_dlsearch_path_spec \
17367 old_archive_cmds_GO \
17368 old_archive_from_new_cmds_GO \
17369 old_archive_from_expsyms_cmds_GO \
17371 archive_expsym_cmds_GO \
17373 module_expsym_cmds_GO \
17374 export_symbols_cmds_GO \
17375 prelink_cmds_GO; do
17376 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17377 *[\\\\\\\`\\"\\\$]*)
17378 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17381 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17386 ac_aux_dir='$ac_aux_dir'
17387 xsi_shell='$xsi_shell'
17388 lt_shell_append='$lt_shell_append'
17390 # See if we are running on zsh, and set the options which allow our
17391 # commands through without removal of \ escapes INIT.
17392 if test -n "\${ZSH_VERSION+set}" ; then
17393 setopt NO_GLOB_SUBST
17399 TIMESTAMP='$TIMESTAMP'
17408 # Variables needed in config.status (file generation) which aren't already
17409 # passed by autoconf.
17415 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17417 # Handling of arguments.
17418 for ac_config_target
in $ac_config_targets
17420 case $ac_config_target in
17421 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
17422 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
17423 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17424 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
17425 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17426 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
17427 "testsuite/libgo-test-support.exp") CONFIG_FILES
="$CONFIG_FILES testsuite/libgo-test-support.exp" ;;
17428 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
17430 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17435 # If the user did not use the arguments to specify the items to instantiate,
17436 # then the envvar interface is used. Set only those that are not.
17437 # We use the long form for the default assignment because of an extremely
17438 # bizarre bug on SunOS 4.1.3.
17439 if $ac_need_defaults; then
17440 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17441 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17442 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17445 # Have a temporary directory for convenience. Make it in the build tree
17446 # simply because there is no reason against having it here, and in addition,
17447 # creating and moving files from /tmp can sometimes cause problems.
17448 # Hook for its removal unless debugging.
17449 # Note that there is a small window in which the directory will not be cleaned:
17450 # after its creation but before its name has been assigned to `$tmp'.
17454 trap 'exit_status=$?
17455 : "${ac_tmp:=$tmp}"
17456 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17458 trap 'as_fn_exit 1' 1 2 13 15
17460 # Create a (secure) tmp directory for tmp files.
17463 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17467 tmp
=.
/conf$$
-$RANDOM
17468 (umask 077 && mkdir
"$tmp")
17469 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
17472 # Set up the scripts for CONFIG_FILES section.
17473 # No need to generate them if there are no CONFIG_FILES.
17474 # This happens for instance with `./config.status config.h'.
17475 if test -n "$CONFIG_FILES"; then
17478 ac_cr
=`echo X | tr X '\015'`
17479 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17480 # But we know of no other shell where ac_cr would be empty at this
17481 # point, so we can use a bashism as a fallback.
17482 if test "x$ac_cr" = x
; then
17483 eval ac_cr
=\$
\'\\r
\'
17485 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17486 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17489 ac_cs_awk_cr
=$ac_cr
17492 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17497 echo "cat >conf$$subs.awk <<_ACEOF" &&
17498 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17500 } >conf$$subs.sh ||
17501 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17502 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17504 for ac_last_try in false false false false false :; do
17505 . ./conf$$subs.sh ||
17506 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17508 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17509 if test $ac_delim_n = $ac_delim_num; then
17511 elif $ac_last_try; then
17512 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17514 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17517 rm -f conf$$subs.sh
17519 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17520 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
17524 s/^/S["/; s
/!.
*/"]=/
17534 s/\(.\{148\}\)..*/\1/
17536 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17541 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17548 s/\(.\{148\}\)..*/\1/
17550 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17554 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17559 ' <conf$$subs.awk | sed '
17564 ' >>$CONFIG_STATUS || ac_write_fail=1
17565 rm -f conf$$subs.awk
17566 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17568 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
17569 for (key in S) S_is_set[key] = 1
17575 nfields = split(line, field, "@
")
17577 len = length(field[1])
17578 for (i = 2; i < nfields; i++) {
17580 keylen = length(key)
17581 if (S_is_set[key]) {
17583 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17584 len += length(value) + length(field[++i])
17595 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17596 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17597 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17600 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
17601 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
17604 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17605 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
17606 # trailing colons and then remove the whole line if VPATH becomes empty
17607 # (actually we leave an empty line to preserve line numbers).
17608 if test "x
$srcdir" = x.; then
17609 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17627 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17628 fi # test -n "$CONFIG_FILES"
17630 # Set up the scripts for CONFIG_HEADERS section.
17631 # No need to generate them if there are no CONFIG_HEADERS.
17632 # This happens for instance with `./config.status Makefile'.
17633 if test -n "$CONFIG_HEADERS"; then
17634 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
17638 # Transform confdefs.h into an awk script `defines.awk', embedded as
17639 # here-document in config.status, that substitutes the proper values into
17640 # config.h.in to produce config.h.
17642 # Create a delimiter string that does not exist in confdefs.h, to ease
17643 # handling of long lines.
17645 for ac_last_try in false false :; do
17646 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
17647 if test -z "$ac_tt"; then
17649 elif $ac_last_try; then
17650 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
17652 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17656 # For the awk script, D is an array of macro values keyed by name,
17657 # likewise P contains macro parameters if any. Preserve backslash
17658 # newline sequences.
17660 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17662 s/.\{148\}/&'"$ac_delim"'/g
17665 s/^[ ]*#[ ]*define[ ][ ]*/ /
17672 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17674 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17678 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17679 D["\
1"]=" \
3\\\\\\n
"\\/p
17681 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17686 s/.\{148\}/&'"$ac_delim"'/g
17691 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17694 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17696 ' <confdefs.h | sed '
17697 s/'"$ac_delim"'/"\\\
17698 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17700 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17701 for (key in D) D_is_set[key] = 1
17704 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17706 split(line, arg, " ")
17707 if (arg[1] == "#") {
17711 defundef
= substr
(arg
[1], 2)
17714 split(mac1
, mac2
, "(") #)
17716 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17717 if (D_is_set
[macro
]) {
17718 # Preserve the white space surrounding the "#".
17719 print prefix
"define", macro P
[macro
] D
[macro
]
17722 # Replace #undef with comments. This is necessary, for example,
17723 # in the case of _POSIX_SOURCE, which is predefined and required
17724 # on some systems where configure will not decide to define it.
17725 if (defundef
== "undef") {
17726 print
"/*", prefix defundef
, macro
, "*/"
17734 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17735 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
17736 fi # test -n "$CONFIG_HEADERS"
17739 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17744 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17746 case $ac_mode$ac_tag in
17748 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17749 :[FH
]-) ac_tag
=-:-;;
17750 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17767 -) ac_f
="$ac_tmp/stdin";;
17768 *) # Look for the file first in the build tree, then in the source tree
17769 # (if the path is not absolute). The absolute path cannot be DOS-style,
17770 # because $ac_f cannot contain `:'.
17774 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17776 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17778 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17779 as_fn_append ac_file_inputs
" '$ac_f'"
17782 # Let's still pretend it is `configure' which instantiates (i.e., don't
17783 # use $as_me), people would be surprised to read:
17784 # /* config.h. Generated by config.status. */
17785 configure_input
='Generated from '`
17786 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17788 if test x
"$ac_file" != x-
; then
17789 configure_input
="$ac_file. $configure_input"
17790 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17791 $as_echo "$as_me: creating $ac_file" >&6;}
17793 # Neutralize special characters interpreted by sed in replacement strings.
17794 case $configure_input in #(
17795 *\
&* |
*\|
* |
*\\* )
17796 ac_sed_conf_input
=`$as_echo "$configure_input" |
17797 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17798 *) ac_sed_conf_input
=$configure_input;;
17802 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
17803 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
17808 ac_dir
=`$as_dirname -- "$ac_file" ||
17809 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17810 X"$ac_file" : 'X\(//\)[^/]' \| \
17811 X"$ac_file" : 'X\(//\)$' \| \
17812 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17813 $as_echo X"$ac_file" |
17814 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17818 /^X\(\/\/\)[^/].*/{
17831 as_dir
="$ac_dir"; as_fn_mkdir_p
17835 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17837 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17838 # A ".." for each directory in $ac_dir_suffix.
17839 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17840 case $ac_top_builddir_sub in
17841 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17842 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17845 ac_abs_top_builddir
=$ac_pwd
17846 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17847 # for backward compatibility:
17848 ac_top_builddir
=$ac_top_build_prefix
17851 .
) # We are building in place.
17853 ac_top_srcdir
=$ac_top_builddir_sub
17854 ac_abs_top_srcdir
=$ac_pwd ;;
17855 [\\/]* | ?
:[\\/]* ) # Absolute name.
17856 ac_srcdir
=$srcdir$ac_dir_suffix;
17857 ac_top_srcdir
=$srcdir
17858 ac_abs_top_srcdir
=$srcdir ;;
17859 *) # Relative name.
17860 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17861 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17862 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17864 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17874 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17875 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17877 ac_MKDIR_P
=$MKDIR_P
17879 [\\/$
]* | ?
:[\\/]* ) ;;
17880 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
17884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17885 # If the template does not know about datarootdir, expand it.
17886 # FIXME: This hack should be removed a few years after 2.60.
17887 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17898 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17899 *datarootdir
*) ac_datarootdir_seen
=yes;;
17900 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17902 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17904 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17905 ac_datarootdir_hack='
17906 s&@datadir@&$datadir&g
17907 s&@docdir@&$docdir&g
17908 s&@infodir@&$infodir&g
17909 s&@localedir@&$localedir&g
17910 s&@mandir@&$mandir&g
17911 s&\\\${datarootdir}&$datarootdir&g' ;;
17915 # Neutralize VPATH when `$srcdir' = `.'.
17916 # Shell code in configure.ac might set extrasub.
17917 # FIXME: do we really want to maintain this feature?
17918 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17919 ac_sed_extra="$ac_vpsub
17922 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17924 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17925 s|@configure_input@|
$ac_sed_conf_input|
;t t
17926 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17927 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17928 s
&@srcdir@
&$ac_srcdir&;t t
17929 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17930 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17931 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17932 s
&@builddir@
&$ac_builddir&;t t
17933 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17934 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17935 s
&@INSTALL@
&$ac_INSTALL&;t t
17936 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17937 $ac_datarootdir_hack
17939 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
17940 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17942 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17943 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17944 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17945 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17947 which seems to be undefined. Please make sure it is defined" >&5
17948 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17949 which seems to be undefined. Please make sure it is defined" >&2;}
17951 rm -f "$ac_tmp/stdin"
17953 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17954 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17956 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17962 if test x"$ac_file" != x-; then
17964 $as_echo "/* $configure_input */" \
17965 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17966 } >"$ac_tmp/config.h" \
17967 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17968 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17969 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17970 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17973 mv "$ac_tmp/config.h" "$ac_file" \
17974 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17977 $as_echo "/* $configure_input */" \
17978 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17979 || as_fn_error $? "could not create -" "$LINENO" 5
17981 # Compute "$ac_file"'s index
in $config_headers.
17984 for _am_header
in $config_headers :; do
17985 case $_am_header in
17986 $_am_arg |
$_am_arg:* )
17989 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17992 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17993 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17994 X"$_am_arg" : 'X\(//\)[^/]' \| \
17995 X"$_am_arg" : 'X\(//\)$' \| \
17996 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17997 $as_echo X"$_am_arg" |
17998 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18002 /^X\(\/\/\)[^/].*/{
18014 s/.*/./; q'`/stamp-h
$_am_stamp_count
18017 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18018 $as_echo "$as_me: executing $ac_file commands" >&6;}
18023 case $ac_file$ac_mode in
18025 # Only add multilib support code if we just rebuilt the top-level
18027 case " $CONFIG_FILES " in
18029 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
18032 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
18033 # Older Autoconf quotes --file arguments for eval, but not when files
18034 # are listed without --file. Let's play safe and only enable the eval
18035 # if we detect the quoting.
18036 case $CONFIG_FILES in
18037 *\'*) eval set x
"$CONFIG_FILES" ;;
18038 *) set x
$CONFIG_FILES ;;
18043 # Strip MF so we end up with the name of the file.
18044 mf
=`echo "$mf" | sed -e 's/:.*$//'`
18045 # Check whether this is an Automake generated Makefile or not.
18046 # We used to match only the files named 'Makefile.in', but
18047 # some people rename them; so instead we look at the file content.
18048 # Grep'ing the first line is not enough: some people post-process
18049 # each Makefile.in and add a new line on top of each file to say so.
18050 # Grep'ing the whole file is not good either: AIX grep has a line
18051 # limit of 2048, but all sed's we know have understand at least 4000.
18052 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
18053 dirpart
=`$as_dirname -- "$mf" ||
18054 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18055 X"$mf" : 'X\(//\)[^/]' \| \
18056 X"$mf" : 'X\(//\)$' \| \
18057 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18059 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18063 /^X\(\/\/\)[^/].*/{
18079 # Extract the definition of DEPDIR, am__include, and am__quote
18080 # from the Makefile without running 'make'.
18081 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
18082 test -z "$DEPDIR" && continue
18083 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
18084 test -z "$am__include" && continue
18085 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
18086 # Find all dependency output files, they are included files with
18087 # $(DEPDIR) in their names. We invoke sed twice because it is the
18088 # simplest approach to changing $(DEPDIR) to its actual value in the
18090 for file in `sed -n "
18091 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18092 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18093 # Make sure the directory exists.
18094 test -f "$dirpart/$file" && continue
18095 fdir
=`$as_dirname -- "$file" ||
18096 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18097 X"$file" : 'X\(//\)[^/]' \| \
18098 X"$file" : 'X\(//\)$' \| \
18099 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18100 $as_echo X"$file" |
18101 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18105 /^X\(\/\/\)[^/].*/{
18118 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
18119 # echo "creating $dirpart/$file"
18120 echo '# dummy' > "$dirpart/$file"
18127 # See if we are running on zsh, and set the options which allow our
18128 # commands through without removal of \ escapes.
18129 if test -n "${ZSH_VERSION+set}" ; then
18130 setopt NO_GLOB_SUBST
18133 cfgfile
="${ofile}T"
18134 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18137 cat <<_LT_EOF >> "$cfgfile"
18140 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18141 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18142 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18143 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18145 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18146 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
18147 # Written by Gordon Matzigkeit, 1996
18149 # This file is part of GNU Libtool.
18151 # GNU Libtool is free software; you can redistribute it and/or
18152 # modify it under the terms of the GNU General Public License as
18153 # published by the Free Software Foundation; either version 2 of
18154 # the License, or (at your option) any later version.
18156 # As a special exception to the GNU General Public License,
18157 # if you distribute this file as part of a program or library that
18158 # is built using GNU Libtool, you may include this file under the
18159 # same distribution terms that you use for the rest of that program.
18161 # GNU Libtool is distributed in the hope that it will be useful,
18162 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18163 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18164 # GNU General Public License for more details.
18166 # You should have received a copy of the GNU General Public License
18167 # along with GNU Libtool; see the file COPYING. If not, a copy
18168 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18169 # obtained by writing to the Free Software Foundation, Inc.,
18170 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18173 # The names of the tagged configurations supported by this script.
18174 available_tags="GO "
18176 # ### BEGIN LIBTOOL CONFIG
18178 # A sed program that does not truncate output.
18181 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18182 Xsed="\$SED -e 1s/^X//"
18184 # A grep program that handles long lines.
18190 # A literal string matcher.
18193 # Shell to use when invoking shell scripts.
18196 # An echo program that protects backslashes.
18199 # Which release of libtool.m4 was used?
18200 macro_version=$macro_version
18201 macro_revision=$macro_revision
18203 # Whether or not to build shared libraries.
18204 build_libtool_libs=$enable_shared
18206 # Whether or not to build static libraries.
18207 build_old_libs=$enable_static
18209 # What type of objects to build.
18212 # Whether or not to optimize for fast installation.
18213 fast_install=$enable_fast_install
18216 host_alias=$host_alias
18220 # The build system.
18221 build_alias=$build_alias
18225 # A BSD- or MS-compatible name lister.
18228 # Whether we need soft or hard links.
18231 # What is the maximum length of a command?
18232 max_cmd_len=$max_cmd_len
18234 # Object file suffix (normally "o").
18237 # Executable file suffix (normally "").
18240 # whether the shell understands "unset".
18243 # turn spaces into newlines.
18246 # turn newlines into spaces.
18249 # An object symbol dumper.
18250 OBJDUMP=$lt_OBJDUMP
18252 # Method to check whether dependent libraries are shared objects.
18253 deplibs_check_method=$lt_deplibs_check_method
18255 # Command to use when deplibs_check_method == "file_magic".
18256 file_magic_cmd=$lt_file_magic_cmd
18260 AR_FLAGS=$lt_AR_FLAGS
18262 # A symbol stripping program.
18265 # Commands used to install an old-style archive.
18267 old_postinstall_cmds=$lt_old_postinstall_cmds
18268 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18270 # Whether to use a lock for old archive extraction.
18271 lock_old_archive_extraction=$lock_old_archive_extraction
18276 # LTCC compiler flags.
18277 LTCFLAGS=$lt_CFLAGS
18279 # Take the output of nm and produce a listing of raw symbols and C names.
18280 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18282 # Transform the output of nm in a proper C declaration.
18283 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18285 # Transform the output of nm in a C name address pair.
18286 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18288 # Transform the output of nm in a C name address pair when lib prefix is needed.
18289 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18291 # The name of the directory that contains temporary libtool files.
18294 # Used to examine libraries when file_magic_cmd begins with "file".
18295 MAGIC_CMD=$MAGIC_CMD
18297 # Must we lock files when doing compilation?
18298 need_locks=$lt_need_locks
18300 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18301 DSYMUTIL=$lt_DSYMUTIL
18303 # Tool to change global to local symbols on Mac OS X.
18306 # Tool to manipulate fat objects and archives on Mac OS X.
18309 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18312 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18313 OTOOL64=$lt_OTOOL64
18315 # Old archive suffix (normally "a").
18318 # Shared library suffix (normally ".so").
18319 shrext_cmds=$lt_shrext_cmds
18321 # The commands to extract the exported symbol list from a shared archive.
18322 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18324 # Variables whose values should be saved in libtool wrapper scripts and
18325 # restored at link time.
18326 variables_saved_for_relink=$lt_variables_saved_for_relink
18328 # Do we need the "lib" prefix for modules?
18329 need_lib_prefix=$need_lib_prefix
18331 # Do we need a version for libraries?
18332 need_version=$need_version
18334 # Library versioning type.
18335 version_type=$version_type
18337 # Shared library runtime path variable.
18338 runpath_var=$runpath_var
18340 # Shared library path variable.
18341 shlibpath_var=$shlibpath_var
18343 # Is shlibpath searched before the hard-coded library search path?
18344 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18346 # Format of library name prefix.
18347 libname_spec=$lt_libname_spec
18349 # List of archive names. First name is the real one, the rest are links.
18350 # The last name is the one that the linker finds with -lNAME
18351 library_names_spec=$lt_library_names_spec
18353 # The coded name of the library, if different from the real name.
18354 soname_spec=$lt_soname_spec
18356 # Permission mode override for installation of shared libraries.
18357 install_override_mode=$lt_install_override_mode
18359 # Command to use after installation of a shared archive.
18360 postinstall_cmds=$lt_postinstall_cmds
18362 # Command to use after uninstallation of a shared archive.
18363 postuninstall_cmds=$lt_postuninstall_cmds
18365 # Commands used to finish a libtool library installation in a directory.
18366 finish_cmds=$lt_finish_cmds
18368 # As "finish_cmds", except a single script fragment to be evaled but
18370 finish_eval=$lt_finish_eval
18372 # Whether we should hardcode library paths into libraries.
18373 hardcode_into_libs=$hardcode_into_libs
18375 # Compile-time system search path for libraries.
18376 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18378 # Run-time system search path for libraries.
18379 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18381 # Whether dlopen is supported.
18382 dlopen_support=$enable_dlopen
18384 # Whether dlopen of programs is supported.
18385 dlopen_self=$enable_dlopen_self
18387 # Whether dlopen of statically linked programs is supported.
18388 dlopen_self_static=$enable_dlopen_self_static
18390 # Commands to strip libraries.
18391 old_striplib=$lt_old_striplib
18392 striplib=$lt_striplib
18395 # The linker used to build libraries.
18398 # How to create reloadable object files.
18399 reload_flag=$lt_reload_flag
18400 reload_cmds=$lt_reload_cmds
18402 # Commands used to build an old-style archive.
18403 old_archive_cmds=$lt_old_archive_cmds
18405 # A language specific compiler.
18408 # Is the compiler the GNU compiler?
18411 # Compiler flag to turn off builtin functions.
18412 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18414 # How to pass a linker flag through the compiler.
18415 wl=$lt_lt_prog_compiler_wl
18417 # Additional compiler flags for building library objects.
18418 pic_flag=$lt_lt_prog_compiler_pic
18420 # Compiler flag to prevent dynamic linking.
18421 link_static_flag=$lt_lt_prog_compiler_static
18423 # Does compiler simultaneously support -c and -o options?
18424 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18426 # Whether or not to add -lc for building shared libraries.
18427 build_libtool_need_lc=$archive_cmds_need_lc
18429 # Whether or not to disallow shared libs when runtime libs are static.
18430 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18432 # Compiler flag to allow reflexive dlopens.
18433 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18435 # Compiler flag to generate shared objects directly from archives.
18436 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18438 # Whether the compiler copes with passing no objects directly.
18439 compiler_needs_object=$lt_compiler_needs_object
18441 # Create an old-style archive from a shared archive.
18442 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18444 # Create a temporary old-style archive to link instead of a shared archive.
18445 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18447 # Commands used to build a shared archive.
18448 archive_cmds=$lt_archive_cmds
18449 archive_expsym_cmds=$lt_archive_expsym_cmds
18451 # Commands used to build a loadable module if different from building
18452 # a shared archive.
18453 module_cmds=$lt_module_cmds
18454 module_expsym_cmds=$lt_module_expsym_cmds
18456 # Whether we are building with GNU ld or not.
18457 with_gnu_ld=$lt_with_gnu_ld
18459 # Flag that allows shared libraries with undefined symbols to be built.
18460 allow_undefined_flag=$lt_allow_undefined_flag
18462 # Flag that enforces no undefined symbols.
18463 no_undefined_flag=$lt_no_undefined_flag
18465 # Flag to hardcode \$libdir into a binary during linking.
18466 # This must work even if \$libdir does not exist
18467 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18469 # If ld is used when linking, flag to hardcode \$libdir into a binary
18470 # during linking. This must work even if \$libdir does not exist.
18471 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18473 # Whether we need a single "-rpath" flag with a separated argument.
18474 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18476 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18477 # DIR into the resulting binary.
18478 hardcode_direct=$hardcode_direct
18480 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18481 # DIR into the resulting binary and the resulting library dependency is
18482 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18483 # library is relocated.
18484 hardcode_direct_absolute=$hardcode_direct_absolute
18486 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18487 # into the resulting binary.
18488 hardcode_minus_L=$hardcode_minus_L
18490 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18491 # into the resulting binary.
18492 hardcode_shlibpath_var=$hardcode_shlibpath_var
18494 # Set to "yes" if building a shared library automatically hardcodes DIR
18495 # into the library and all subsequent libraries and executables linked
18497 hardcode_automatic=$hardcode_automatic
18499 # Set to yes if linker adds runtime paths of dependent libraries
18500 # to runtime path list.
18501 inherit_rpath=$inherit_rpath
18503 # Whether libtool must link a program against all its dependency libraries.
18504 link_all_deplibs=$link_all_deplibs
18506 # Fix the shell variable \$srcfile for the compiler.
18507 fix_srcfile_path=$lt_fix_srcfile_path
18509 # Set to "yes" if exported symbols are required.
18510 always_export_symbols=$always_export_symbols
18512 # The commands to list exported symbols.
18513 export_symbols_cmds=$lt_export_symbols_cmds
18515 # Symbols that should not be listed in the preloaded symbols.
18516 exclude_expsyms=$lt_exclude_expsyms
18518 # Symbols that must always be exported.
18519 include_expsyms=$lt_include_expsyms
18521 # Commands necessary for linking programs (against libraries) with templates.
18522 prelink_cmds=$lt_prelink_cmds
18524 # Specify filename containing input files.
18525 file_list_spec=$lt_file_list_spec
18527 # How to hardcode a shared library path into an executable.
18528 hardcode_action=$hardcode_action
18530 # ### END LIBTOOL CONFIG
18536 cat <<\_LT_EOF
>> "$cfgfile"
18537 # AIX sometimes has problems with the GCC collect2 program. For some
18538 # reason, if we set the COLLECT_NAMES environment variable, the problems
18539 # vanish in a puff of smoke.
18540 if test "X${COLLECT_NAMES+set}" != Xset
; then
18542 export COLLECT_NAMES
18549 ltmain
="$ac_aux_dir/ltmain.sh"
18552 # We use sed instead of cat because bash on DJGPP gets confused if
18553 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18554 # text mode, it properly converts lines to CR/LF. This bash problem
18555 # is reportedly fixed, but why not run on old versions too?
18556 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18557 ||
(rm -f "$cfgfile"; exit 1)
18561 cat << \_LT_EOF
>> "$cfgfile"
18563 # func_dirname file append nondir_replacement
18564 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18565 # otherwise set result to NONDIR_REPLACEMENT.
18569 */*) func_dirname_result
="${1%/*}${2}" ;;
18570 * ) func_dirname_result
="${3}" ;;
18574 # func_basename file
18577 func_basename_result
="${1##*/}"
18580 # func_dirname_and_basename file append nondir_replacement
18581 # perform func_basename and func_dirname in a single function
18583 # dirname: Compute the dirname of FILE. If nonempty,
18584 # add APPEND to the result, otherwise set result
18585 # to NONDIR_REPLACEMENT.
18586 # value returned in "$func_dirname_result"
18587 # basename: Compute filename of FILE.
18588 # value retuned in "$func_basename_result"
18589 # Implementation must be kept synchronized with func_dirname
18590 # and func_basename. For efficiency, we do not delegate to
18591 # those functions but instead duplicate the functionality here.
18592 func_dirname_and_basename
()
18595 */*) func_dirname_result
="${1%/*}${2}" ;;
18596 * ) func_dirname_result
="${3}" ;;
18598 func_basename_result
="${1##*/}"
18601 # func_stripname prefix suffix name
18602 # strip PREFIX and SUFFIX off of NAME.
18603 # PREFIX and SUFFIX must not contain globbing or regex special
18604 # characters, hashes, percent signs, but SUFFIX may contain a leading
18605 # dot (in which case that matches only a dot).
18608 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18609 # positional parameters, so assign one to ordinary parameter first.
18610 func_stripname_result
=${3}
18611 func_stripname_result
=${func_stripname_result#"${1}"}
18612 func_stripname_result
=${func_stripname_result%"${2}"}
18618 func_opt_split_opt
=${1%%=*}
18619 func_opt_split_arg
=${1#*=}
18626 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
18627 *) func_lo2o_result
=${1} ;;
18631 # func_xform libobj-or-source
18634 func_xform_result
=${1%.*}.lo
18637 # func_arith arithmetic-term...
18640 func_arith_result
=$
(( $
* ))
18644 # STRING may not start with a hyphen.
18647 func_len_result
=${#1}
18652 *) # Bourne compatible functions.
18653 cat << \_LT_EOF
>> "$cfgfile"
18655 # func_dirname file append nondir_replacement
18656 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18657 # otherwise set result to NONDIR_REPLACEMENT.
18660 # Extract subdirectory from the argument.
18661 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
18662 if test "X$func_dirname_result" = "X${1}"; then
18663 func_dirname_result
="${3}"
18665 func_dirname_result
="$func_dirname_result${2}"
18669 # func_basename file
18672 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
18676 # func_stripname prefix suffix name
18677 # strip PREFIX and SUFFIX off of NAME.
18678 # PREFIX and SUFFIX must not contain globbing or regex special
18679 # characters, hashes, percent signs, but SUFFIX may contain a leading
18680 # dot (in which case that matches only a dot).
18681 # func_strip_suffix prefix name
18685 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
18686 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
18691 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
18692 my_sed_long_arg
='1s/^-[^=]*=//'
18697 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
18698 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
18704 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
18707 # func_xform libobj-or-source
18710 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
18713 # func_arith arithmetic-term...
18716 func_arith_result
=`expr "$@"`
18720 # STRING may not start with a hyphen.
18723 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18729 case $lt_shell_append in
18731 cat << \_LT_EOF
>> "$cfgfile"
18733 # func_append var value
18734 # Append VALUE to the end of shell variable VAR.
18742 cat << \_LT_EOF
>> "$cfgfile"
18744 # func_append var value
18745 # Append VALUE to the end of shell variable VAR.
18756 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18757 ||
(rm -f "$cfgfile"; exit 1)
18759 mv -f "$cfgfile" "$ofile" ||
18760 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18764 cat <<_LT_EOF >> "$ofile"
18766 # ### BEGIN LIBTOOL TAG CONFIG: GO
18768 # The linker used to build libraries.
18771 # How to create reloadable object files.
18772 reload_flag=$lt_reload_flag_GO
18773 reload_cmds=$lt_reload_cmds_GO
18775 # Commands used to build an old-style archive.
18776 old_archive_cmds=$lt_old_archive_cmds_GO
18778 # A language specific compiler.
18781 # Is the compiler the GNU compiler?
18784 # Compiler flag to turn off builtin functions.
18785 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GO
18787 # How to pass a linker flag through the compiler.
18788 wl=$lt_lt_prog_compiler_wl_GO
18790 # Additional compiler flags for building library objects.
18791 pic_flag=$lt_lt_prog_compiler_pic_GO
18793 # Compiler flag to prevent dynamic linking.
18794 link_static_flag=$lt_lt_prog_compiler_static_GO
18796 # Does compiler simultaneously support -c and -o options?
18797 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GO
18799 # Whether or not to add -lc for building shared libraries.
18800 build_libtool_need_lc=$archive_cmds_need_lc_GO
18802 # Whether or not to disallow shared libs when runtime libs are static.
18803 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GO
18805 # Compiler flag to allow reflexive dlopens.
18806 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GO
18808 # Compiler flag to generate shared objects directly from archives.
18809 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GO
18811 # Whether the compiler copes with passing no objects directly.
18812 compiler_needs_object=$lt_compiler_needs_object_GO
18814 # Create an old-style archive from a shared archive.
18815 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GO
18817 # Create a temporary old-style archive to link instead of a shared archive.
18818 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GO
18820 # Commands used to build a shared archive.
18821 archive_cmds=$lt_archive_cmds_GO
18822 archive_expsym_cmds=$lt_archive_expsym_cmds_GO
18824 # Commands used to build a loadable module if different from building
18825 # a shared archive.
18826 module_cmds=$lt_module_cmds_GO
18827 module_expsym_cmds=$lt_module_expsym_cmds_GO
18829 # Whether we are building with GNU ld or not.
18830 with_gnu_ld=$lt_with_gnu_ld_GO
18832 # Flag that allows shared libraries with undefined symbols to be built.
18833 allow_undefined_flag=$lt_allow_undefined_flag_GO
18835 # Flag that enforces no undefined symbols.
18836 no_undefined_flag=$lt_no_undefined_flag_GO
18838 # Flag to hardcode \$libdir into a binary during linking.
18839 # This must work even if \$libdir does not exist
18840 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GO
18842 # If ld is used when linking, flag to hardcode \$libdir into a binary
18843 # during linking. This must work even if \$libdir does not exist.
18844 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GO
18846 # Whether we need a single "-rpath" flag with a separated argument.
18847 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GO
18849 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18850 # DIR into the resulting binary.
18851 hardcode_direct=$hardcode_direct_GO
18853 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18854 # DIR into the resulting binary and the resulting library dependency is
18855 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18856 # library is relocated.
18857 hardcode_direct_absolute=$hardcode_direct_absolute_GO
18859 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18860 # into the resulting binary.
18861 hardcode_minus_L=$hardcode_minus_L_GO
18863 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18864 # into the resulting binary.
18865 hardcode_shlibpath_var=$hardcode_shlibpath_var_GO
18867 # Set to "yes" if building a shared library automatically hardcodes DIR
18868 # into the library and all subsequent libraries and executables linked
18870 hardcode_automatic=$hardcode_automatic_GO
18872 # Set to yes if linker adds runtime paths of dependent libraries
18873 # to runtime path list.
18874 inherit_rpath=$inherit_rpath_GO
18876 # Whether libtool must link a program against all its dependency libraries.
18877 link_all_deplibs=$link_all_deplibs_GO
18879 # Fix the shell variable \$srcfile for the compiler.
18880 fix_srcfile_path=$lt_fix_srcfile_path_GO
18882 # Set to "yes" if exported symbols are required.
18883 always_export_symbols=$always_export_symbols_GO
18885 # The commands to list exported symbols.
18886 export_symbols_cmds=$lt_export_symbols_cmds_GO
18888 # Symbols that should not be listed in the preloaded symbols.
18889 exclude_expsyms=$lt_exclude_expsyms_GO
18891 # Symbols that must always be exported.
18892 include_expsyms=$lt_include_expsyms_GO
18894 # Commands necessary for linking programs (against libraries) with templates.
18895 prelink_cmds=$lt_prelink_cmds_GO
18897 # Specify filename containing input files.
18898 file_list_spec=$lt_file_list_spec_GO
18900 # How to hardcode a shared library path into an executable.
18901 hardcode_action=$hardcode_action_GO
18903 # ### END LIBTOOL TAG CONFIG: GO
18907 "default":C
) if test -n "$CONFIG_FILES"; then
18908 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
18909 # that multilib installs will end up installed in the correct place.
18910 # The testsuite needs it for multilib-aware ABI baseline files.
18911 # To work around this not being passed down from config-ml.in ->
18912 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
18913 # append it here. Only modify Makefiles that have just been created.
18915 # Also, get rid of this simulated-VPATH thing that automake does.
18916 cat > vpsed
<< \_EOF
18917 s
!`test -f '$<' || echo '$(srcdir)/'`!!
18919 for i
in $SUBDIRS; do
18920 case $CONFIG_FILES in
18922 #echo "Adding MULTISUBDIR to $i/Makefile"
18923 sed -f vpsed
$i/Makefile
> tmp
18924 grep '^MULTISUBDIR =' Makefile
>> tmp
18939 ac_clean_files
=$ac_clean_files_save
18941 test $ac_write_fail = 0 ||
18942 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18945 # configure is writing to config.log, and then calls config.status.
18946 # config.status does its own redirection, appending to config.log.
18947 # Unfortunately, on DOS this fails, as config.log is still kept open
18948 # by configure, so config.status won't be able to write to it; its
18949 # output is simply discarded. So we exec the FD to /dev/null,
18950 # effectively closing config.log, so it can be properly (re)opened and
18951 # appended to by config.status. When coming back to configure, we
18952 # need to make the FD available again.
18953 if test "$no_create" != yes; then
18955 ac_config_status_args
=
18956 test "$silent" = yes &&
18957 ac_config_status_args
="$ac_config_status_args --quiet"
18959 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18961 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18962 # would make configure fail if this is the last instruction.
18963 $ac_cs_success || as_fn_exit
1
18965 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18967 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}