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
=21: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 sched_yield" >&5
14822 $as_echo_n "checking for library containing sched_yield... " >&6; }
14823 if ${ac_cv_search_sched_yield+:} 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 sched_yield ();
14840 return sched_yield ();
14845 for ac_lib
in '' rt
; 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_sched_yield
=$ac_res
14855 rm -f core conftest.err conftest.
$ac_objext \
14857 if ${ac_cv_search_sched_yield+:} false
; then :
14861 if ${ac_cv_search_sched_yield+:} false
; then :
14864 ac_cv_search_sched_yield
=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_sched_yield" >&5
14870 $as_echo "$ac_cv_search_sched_yield" >&6; }
14871 ac_res
=$ac_cv_search_sched_yield
14872 if test "$ac_res" != no
; then :
14873 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
14878 $as_echo_n "checking for library containing nanosleep... " >&6; }
14879 if ${ac_cv_search_nanosleep+:} false
; then :
14880 $as_echo_n "(cached) " >&6
14882 ac_func_search_save_LIBS
=$LIBS
14883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14884 /* end confdefs.h. */
14886 /* Override any GCC internal prototype to avoid an error.
14887 Use char because int might match the return type of a GCC
14888 builtin and then its argument prototype would still apply. */
14896 return nanosleep ();
14901 for ac_lib
in '' rt
; do
14902 if test -z "$ac_lib"; then
14903 ac_res
="none required"
14906 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14908 if ac_fn_c_try_link
"$LINENO"; then :
14909 ac_cv_search_nanosleep
=$ac_res
14911 rm -f core conftest.err conftest.
$ac_objext \
14913 if ${ac_cv_search_nanosleep+:} false
; then :
14917 if ${ac_cv_search_nanosleep+:} false
; then :
14920 ac_cv_search_nanosleep
=no
14922 rm conftest.
$ac_ext
14923 LIBS
=$ac_func_search_save_LIBS
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
14926 $as_echo "$ac_cv_search_nanosleep" >&6; }
14927 ac_res
=$ac_cv_search_nanosleep
14928 if test "$ac_res" != no
; then :
14929 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14934 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14935 if ${ac_cv_search_clock_gettime+:} false
; then :
14936 $as_echo_n "(cached) " >&6
14938 ac_func_search_save_LIBS
=$LIBS
14939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14940 /* end confdefs.h. */
14942 /* Override any GCC internal prototype to avoid an error.
14943 Use char because int might match the return type of a GCC
14944 builtin and then its argument prototype would still apply. */
14948 char clock_gettime ();
14952 return clock_gettime ();
14957 for ac_lib
in '' rt
; do
14958 if test -z "$ac_lib"; then
14959 ac_res
="none required"
14962 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14964 if ac_fn_c_try_link
"$LINENO"; then :
14965 ac_cv_search_clock_gettime
=$ac_res
14967 rm -f core conftest.err conftest.
$ac_objext \
14969 if ${ac_cv_search_clock_gettime+:} false
; then :
14973 if ${ac_cv_search_clock_gettime+:} false
; then :
14976 ac_cv_search_clock_gettime
=no
14978 rm conftest.
$ac_ext
14979 LIBS
=$ac_func_search_save_LIBS
14981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14982 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14983 ac_res
=$ac_cv_search_clock_gettime
14984 if test "$ac_res" != no
; then :
14985 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
14991 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
14992 if ${ac_cv_c_bigendian+:} false
; then :
14993 $as_echo_n "(cached) " >&6
14995 ac_cv_c_bigendian
=unknown
14996 # See if we're dealing with a universal compiler.
14997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14998 /* end confdefs.h. */
14999 #ifndef __APPLE_CC__
15000 not a universal capable compiler
15005 if ac_fn_c_try_compile
"$LINENO"; then :
15007 # Check for potential -arch flags. It is not universal unless
15008 # there are at least two -arch flags with different values.
15011 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
15012 if test -n "$ac_prev"; then
15014 i?
86 | x86_64 | ppc | ppc64
)
15015 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
15018 ac_cv_c_bigendian
=universal
15024 elif test "x$ac_word" = "x-arch"; then
15029 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15030 if test $ac_cv_c_bigendian = unknown
; then
15031 # See if sys/param.h defines the BYTE_ORDER macro.
15032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15033 /* end confdefs.h. */
15034 #include <sys/types.h>
15035 #include <sys/param.h>
15040 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
15041 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
15043 bogus endian macros
15050 if ac_fn_c_try_compile
"$LINENO"; then :
15051 # It does; now see whether it defined to BIG_ENDIAN or not.
15052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15053 /* end confdefs.h. */
15054 #include <sys/types.h>
15055 #include <sys/param.h>
15060 #if BYTE_ORDER != BIG_ENDIAN
15068 if ac_fn_c_try_compile
"$LINENO"; then :
15069 ac_cv_c_bigendian
=yes
15071 ac_cv_c_bigendian
=no
15073 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15075 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15077 if test $ac_cv_c_bigendian = unknown
; then
15078 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
15079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15080 /* end confdefs.h. */
15081 #include <limits.h>
15086 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
15087 bogus endian macros
15094 if ac_fn_c_try_compile
"$LINENO"; then :
15095 # It does; now see whether it defined to _BIG_ENDIAN or not.
15096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15097 /* end confdefs.h. */
15098 #include <limits.h>
15103 #ifndef _BIG_ENDIAN
15111 if ac_fn_c_try_compile
"$LINENO"; then :
15112 ac_cv_c_bigendian
=yes
15114 ac_cv_c_bigendian
=no
15116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15120 if test $ac_cv_c_bigendian = unknown
; then
15121 # Compile a test program.
15122 if test "$cross_compiling" = yes; then :
15123 # Try to guess by grepping values from an object file.
15124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15125 /* end confdefs.h. */
15126 short int ascii_mm[] =
15127 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
15128 short int ascii_ii[] =
15129 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
15130 int use_ascii (int i) {
15131 return ascii_mm[i] + ascii_ii[i];
15133 short int ebcdic_ii[] =
15134 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
15135 short int ebcdic_mm[] =
15136 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
15137 int use_ebcdic (int i) {
15138 return ebcdic_mm[i] + ebcdic_ii[i];
15145 return use_ascii (foo) == use_ebcdic (foo);
15150 if ac_fn_c_try_compile
"$LINENO"; then :
15151 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
15152 ac_cv_c_bigendian
=yes
15154 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
15155 if test "$ac_cv_c_bigendian" = unknown
; then
15156 ac_cv_c_bigendian
=no
15158 # finding both strings is unlikely to happen, but who knows?
15159 ac_cv_c_bigendian
=unknown
15163 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15166 /* end confdefs.h. */
15167 $ac_includes_default
15172 /* Are we little or big endian? From Harbison&Steele. */
15176 char c[sizeof (long int)];
15179 return u.c[sizeof (long int) - 1] == 1;
15185 if ac_fn_c_try_run
"$LINENO"; then :
15186 ac_cv_c_bigendian
=no
15188 ac_cv_c_bigendian
=yes
15190 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15191 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
15197 $as_echo "$ac_cv_c_bigendian" >&6; }
15198 case $ac_cv_c_bigendian in #(
15200 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
15206 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
15210 as_fn_error $?
"unknown endianness
15211 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
15217 # Check whether --with-system-libunwind was given.
15218 if test "${with_system_libunwind+set}" = set; then :
15219 withval
=$with_system_libunwind;
15222 # If system-libunwind was not specifically set, pick a default setting.
15223 if test x
$with_system_libunwind = x
; then
15225 ia64-
*-hpux*) with_system_libunwind
=yes ;;
15226 *) with_system_libunwind
=no
;;
15229 # Based on system-libunwind and target, do we have ipinfo?
15230 if test x
$with_system_libunwind = xyes
; then
15232 ia64-
*-*) have_unwind_getipinfo
=no
;;
15233 *) have_unwind_getipinfo
=yes ;;
15236 # Darwin before version 9 does not have _Unwind_GetIPInfo.
15239 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
15240 *) have_unwind_getipinfo
=yes ;;
15245 if test x
$have_unwind_getipinfo = xyes
; then
15247 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
15252 for ac_header
in port.h sched.h semaphore.h sys
/file.h sys
/mman.h syscall.h sys
/epoll.h sys
/event.h sys
/inotify.h sys
/ptrace.h sys
/syscall.h sys
/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
15254 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15255 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15256 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
15257 cat >>confdefs.h
<<_ACEOF
15258 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15266 for ac_header
in netinet
/icmp6.h
15268 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <netinet/in.h>
15271 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
; then :
15272 cat >>confdefs.h
<<_ACEOF
15273 #define HAVE_NETINET_ICMP6_H 1
15281 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
15283 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15284 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_SOCKET_H
15285 #include <sys/socket.h>
15289 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
15290 cat >>confdefs.h
<<_ACEOF
15291 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15299 if test "$ac_cv_header_sys_mman_h" = yes; then
15300 HAVE_SYS_MMAN_H_TRUE
=
15301 HAVE_SYS_MMAN_H_FALSE
='#'
15303 HAVE_SYS_MMAN_H_TRUE
='#'
15304 HAVE_SYS_MMAN_H_FALSE
=
15308 for ac_func
in strerror_r strsignal wait4 mincore setenv unsetenv dl_iterate_phdr memmem
15310 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15311 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15312 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15313 cat >>confdefs.h
<<_ACEOF
15314 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15320 if test "$ac_cv_func_strerror_r" = yes; then
15321 HAVE_STRERROR_R_TRUE
=
15322 HAVE_STRERROR_R_FALSE
='#'
15324 HAVE_STRERROR_R_TRUE
='#'
15325 HAVE_STRERROR_R_FALSE
=
15328 if test "$ac_cv_func_wait4" = yes; then
15330 HAVE_WAIT4_FALSE
='#'
15332 HAVE_WAIT4_TRUE
='#'
15337 ac_header_dirent
=no
15338 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
15339 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
15341 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
15342 if eval \
${$as_ac_Header+:} false
; then :
15343 $as_echo_n "(cached) " >&6
15345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15346 /* end confdefs.h. */
15347 #include <sys/types.h>
15359 if ac_fn_c_try_compile
"$LINENO"; then :
15360 eval "$as_ac_Header=yes"
15362 eval "$as_ac_Header=no"
15364 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15366 eval ac_res
=\$
$as_ac_Header
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15368 $as_echo "$ac_res" >&6; }
15369 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
15370 cat >>confdefs.h
<<_ACEOF
15371 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
15374 ac_header_dirent
=$ac_hdr; break
15378 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
15379 if test $ac_header_dirent = dirent.h
; then
15380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
15381 $as_echo_n "checking for library containing opendir... " >&6; }
15382 if ${ac_cv_search_opendir+:} false
; then :
15383 $as_echo_n "(cached) " >&6
15385 ac_func_search_save_LIBS
=$LIBS
15386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15387 /* end confdefs.h. */
15389 /* Override any GCC internal prototype to avoid an error.
15390 Use char because int might match the return type of a GCC
15391 builtin and then its argument prototype would still apply. */
15404 for ac_lib
in '' dir
; do
15405 if test -z "$ac_lib"; then
15406 ac_res
="none required"
15409 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15411 if ac_fn_c_try_link
"$LINENO"; then :
15412 ac_cv_search_opendir
=$ac_res
15414 rm -f core conftest.err conftest.
$ac_objext \
15416 if ${ac_cv_search_opendir+:} false
; then :
15420 if ${ac_cv_search_opendir+:} false
; then :
15423 ac_cv_search_opendir
=no
15425 rm conftest.
$ac_ext
15426 LIBS
=$ac_func_search_save_LIBS
15428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
15429 $as_echo "$ac_cv_search_opendir" >&6; }
15430 ac_res
=$ac_cv_search_opendir
15431 if test "$ac_res" != no
; then :
15432 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
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 '' x
; 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"
15497 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_type" "ac_cv_member_struct_dirent_d_type" "
15498 #include <sys/types.h>
15499 #ifdef HAVE_DIRENT_H
15500 # include <dirent.h>
15502 # define dirent direct
15503 # ifdef HAVE_SYS_NDIR_H
15504 # include <sys/ndir.h>
15506 # ifdef HAVE_SYS_DIR_H
15507 # include <sys/dir.h>
15509 # ifdef HAVE_NDIR_H
15515 if test "x$ac_cv_member_struct_dirent_d_type" = xyes
; then :
15517 cat >>confdefs.h
<<_ACEOF
15518 #define HAVE_STRUCT_DIRENT_D_TYPE 1
15526 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
15528 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15529 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15530 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15531 cat >>confdefs.h
<<_ACEOF
15532 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15538 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15539 if test "x$ac_cv_type_off_t" = xyes
; then :
15543 cat >>confdefs.h
<<_ACEOF
15544 #define off_t long int
15549 ac_fn_c_check_type
"$LINENO" "loff_t" "ac_cv_type_loff_t" "$ac_includes_default"
15550 if test "x$ac_cv_type_loff_t" = xyes
; then :
15552 cat >>confdefs.h
<<_ACEOF
15553 #define HAVE_LOFF_T 1
15562 for ac_func
in cosl expl logl sinl tanl acosl asinl atanl atan2l expm1l ldexpl log10l log1pl
15564 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15565 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15566 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15567 cat >>confdefs.h
<<_ACEOF
15568 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15576 CFLAGS_hold
="$CFLAGS"
15577 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
15579 LIBS
="$LIBS $PTHREAD_LIBS"
15580 for ac_func
in sem_timedwait
15582 ac_fn_c_check_func
"$LINENO" "sem_timedwait" "ac_cv_func_sem_timedwait"
15583 if test "x$ac_cv_func_sem_timedwait" = xyes
; then :
15584 cat >>confdefs.h
<<_ACEOF
15585 #define HAVE_SEM_TIMEDWAIT 1
15591 CFLAGS
="$CFLAGS_hold"
15595 LIBS
="$LIBS $MATH_LIBS"
15596 for ac_func
in matherr
15598 ac_fn_c_check_func
"$LINENO" "matherr" "ac_cv_func_matherr"
15599 if test "x$ac_cv_func_matherr" = xyes
; then :
15600 cat >>confdefs.h
<<_ACEOF
15601 #define HAVE_MATHERR 1
15609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -minline-all-stringops" >&5
15610 $as_echo_n "checking whether compiler supports -minline-all-stringops... " >&6; }
15611 if ${libgo_cv_c_stringops+:} false
; then :
15612 $as_echo_n "(cached) " >&6
15614 CFLAGS_hold
=$CFLAGS
15615 CFLAGS
="$CFLAGS -minline-all-stringops"
15616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15617 /* end confdefs.h. */
15620 if ac_fn_c_try_compile
"$LINENO"; then :
15621 libgo_cv_c_stringops
=yes
15623 libgo_cv_c_stringops
=no
15625 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15626 CFLAGS
=$CFLAGS_hold
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_stringops" >&5
15629 $as_echo "$libgo_cv_c_stringops" >&6; }
15631 if test "$libgo_cv_c_stringops" = yes; then
15632 STRINGOPS_FLAG
=-minline-all-stringops
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -mfancy-math-387" >&5
15637 $as_echo_n "checking whether compiler supports -mfancy-math-387... " >&6; }
15638 if ${libgo_cv_c_fancymath+:} false
; then :
15639 $as_echo_n "(cached) " >&6
15641 CFLAGS_hold
=$CFLAGS
15642 CFLAGS
="$CFLAGS -mfancy-math-387"
15643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15644 /* end confdefs.h. */
15647 if ac_fn_c_try_compile
"$LINENO"; then :
15648 libgo_cv_c_fancymath
=yes
15650 libgo_cv_c_fancymath
=no
15652 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15653 CFLAGS
=$CFLAGS_hold
15655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_fancymath" >&5
15656 $as_echo "$libgo_cv_c_fancymath" >&6; }
15658 if test "$libgo_cv_c_fancymath" = yes; then
15659 MATH_FLAG
="-mfancy-math-387"
15661 MATH_FLAG
="${MATH_FLAG} -ffp-contract=off -fno-math-errno -fno-trapping-math"
15664 CFLAGS_hold
=$CFLAGS
15665 CFLAGS
="$CFLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
15666 ac_fn_c_check_type
"$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default"
15667 if test "x$ac_cv_type_off64_t" = xyes
; then :
15669 cat >>confdefs.h
<<_ACEOF
15670 #define HAVE_OFF64_T 1
15676 CFLAGS
=$CFLAGS_hold
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking epoll_event size" >&5
15679 $as_echo_n "checking epoll_event size... " >&6; }
15680 if ${libgo_cv_c_epoll_event_size+:} false
; then :
15681 $as_echo_n "(cached) " >&6
15683 if ac_fn_c_compute_int
"$LINENO" "sizeof (struct epoll_event)" "libgo_cv_c_epoll_event_size" "#include <sys/epoll.h>"; then :
15686 libgo_cv_c_epoll_event_size
=0
15690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_epoll_event_size" >&5
15691 $as_echo "$libgo_cv_c_epoll_event_size" >&6; }
15692 SIZEOF_STRUCT_EPOLL_EVENT
=${libgo_cv_c_epoll_event_size}
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking epoll_event data.fd offset" >&5
15696 $as_echo_n "checking epoll_event data.fd offset... " >&6; }
15697 if ${libgo_cv_c_epoll_event_fd_offset+:} false
; then :
15698 $as_echo_n "(cached) " >&6
15700 if ac_fn_c_compute_int
"$LINENO" "offsetof (struct epoll_event, data.fd)" "libgo_cv_c_epoll_event_fd_offset" "#include <stddef.h>
15701 #include <sys/epoll.h>"; then :
15704 libgo_cv_c_epoll_event_fd_offset
=0
15708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_epoll_event_fd_offset" >&5
15709 $as_echo "$libgo_cv_c_epoll_event_fd_offset" >&6; }
15710 STRUCT_EPOLL_EVENT_FD_OFFSET
=${libgo_cv_c_epoll_event_fd_offset}
15713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15714 /* end confdefs.h. */
15715 #include <sys/stat.h>
15718 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15719 $EGREP "timespec_t.*st_atim" >/dev
/null
2>&1; then :
15720 have_stat_timespec
=yes
15722 have_stat_timespec
=no
15726 if test $have_stat_timespec = yes; then
15727 HAVE_STAT_TIMESPEC_TRUE
=
15728 HAVE_STAT_TIMESPEC_FALSE
='#'
15730 HAVE_STAT_TIMESPEC_TRUE
='#'
15731 HAVE_STAT_TIMESPEC_FALSE
=
15735 ac_fn_c_check_type
"$LINENO" "struct exception" "ac_cv_type_struct_exception" "#include <math.h>
15737 if test "x$ac_cv_type_struct_exception" = xyes
; then :
15738 libgo_has_struct_exception
=yes
15740 libgo_has_struct_exception
=no
15743 if test "$libgo_has_struct_exception" = "yes"; then
15745 $as_echo "#define HAVE_STRUCT_EXCEPTION 1" >>confdefs.h
15749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether setcontext clobbers TLS variables" >&5
15750 $as_echo_n "checking whether setcontext clobbers TLS variables... " >&6; }
15751 if ${libgo_cv_lib_setcontext_clobbers_tls+:} false
; then :
15752 $as_echo_n "(cached) " >&6
15754 CFLAGS_hold
="$CFLAGS"
15755 CFLAGS
="$PTHREAD_CFLAGS"
15757 LIBS
="$LIBS $PTHREAD_LIBS"
15758 # The cast to long int works around a bug in the HP C Compiler
15759 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15760 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15761 # This bug is HP SR number 8606223364.
15762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15763 $as_echo_n "checking size of void *... " >&6; }
15764 if ${ac_cv_sizeof_void_p+:} false
; then :
15765 $as_echo_n "(cached) " >&6
15767 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15770 if test "$ac_cv_type_void_p" = yes; then
15771 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15772 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15773 as_fn_error
77 "cannot compute sizeof (void *)
15774 See \`config.log' for more details" "$LINENO" 5; }
15776 ac_cv_sizeof_void_p
=0
15781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15782 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15786 cat >>confdefs.h
<<_ACEOF
15787 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15791 as_fn_arith
$ac_cv_sizeof_void_p \
* 8 && ptr_type_size
=$as_val
15792 if test "$cross_compiling" = yes; then :
15793 case "$target:$ptr_type_size" in
15794 i?
86-*-solaris2.1
[01]:64 | x86_64
*-*-solaris2.1
[01]:64)
15795 libgo_cv_lib_setcontext_clobbers_tls
=yes ;;
15797 libgo_cv_lib_setcontext_clobbers_tls
=no
;;
15801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15802 /* end confdefs.h. */
15804 #include <pthread.h>
15805 #include <stdlib.h>
15806 #include <ucontext.h>
15807 #include <unistd.h>
15811 static char stack[10 * 1024 * 1024];
15812 static ucontext_t c;
15814 /* Called via makecontext/setcontext. */
15822 /* Called via pthread_create. */
15827 /* The thread should still see this value after calling
15833 /* The call to setcontext should not return. */
15842 /* The thread should not see this value. */
15845 if (getcontext (&c) < 0)
15848 c.uc_stack.ss_sp = stack;
15849 #ifdef MAKECONTEXT_STACK_TOP
15850 c.uc_stack.ss_sp += sizeof stack;
15852 c.uc_stack.ss_flags = 0;
15853 c.uc_stack.ss_size = sizeof stack;
15855 makecontext (&c, cfn, 0);
15857 if (pthread_create (&tid, NULL, tfn, NULL) != 0)
15860 if (pthread_join (tid, NULL) != 0)
15863 /* The thread should have called exit. */
15868 if ac_fn_c_try_run
"$LINENO"; then :
15869 libgo_cv_lib_setcontext_clobbers_tls
=no
15871 libgo_cv_lib_setcontext_clobbers_tls
=yes
15873 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15874 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15877 CFLAGS
="$CFLAGS_hold"
15881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_setcontext_clobbers_tls" >&5
15882 $as_echo "$libgo_cv_lib_setcontext_clobbers_tls" >&6; }
15883 if test "$libgo_cv_lib_setcontext_clobbers_tls" = "yes"; then
15885 $as_echo "#define SETCONTEXT_CLOBBERS_TLS 1" >>confdefs.h
15889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .eh_frame section should be read-only" >&5
15890 $as_echo_n "checking whether .eh_frame section should be read-only... " >&6; }
15891 if ${libgo_cv_ro_eh_frame+:} false
; then :
15892 $as_echo_n "(cached) " >&6
15895 libgo_cv_ro_eh_frame
=no
15896 echo 'extern void foo (void); void bar (void) { foo (); foo (); }' > conftest.c
15897 if $CC $CFLAGS -S -fpic -fexceptions -o conftest.s conftest.c
> /dev
/null
2>&1; then
15898 if grep '.section.*eh_frame.*"a"' conftest.s
> /dev
/null
; then
15899 libgo_cv_ro_eh_frame
=yes
15900 elif grep '.section.*eh_frame.*#alloc' conftest.c \
15901 |
grep -v '#write' > /dev
/null
; then
15902 libgo_cv_ro_eh_frame
=yes
15908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_ro_eh_frame" >&5
15909 $as_echo "$libgo_cv_ro_eh_frame" >&6; }
15910 if test "x$libgo_cv_ro_eh_frame" = xyes
; then
15912 $as_echo "#define EH_FRAME_FLAGS \"a\"" >>confdefs.h
15916 $as_echo "#define EH_FRAME_FLAGS \"aw\"" >>confdefs.h
15920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Qunused-arguments" >&5
15921 $as_echo_n "checking if compiler supports -Qunused-arguments... " >&6; }
15922 if ${libgo_cv_c_unused_arguments+:} false
; then :
15923 $as_echo_n "(cached) " >&6
15925 CFLAGS_hold
=$CFLAGS
15926 CFLAGS
="$CFLAGS -Qunused-arguments"
15927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15928 /* end confdefs.h. */
15931 if ac_fn_c_try_compile
"$LINENO"; then :
15932 libgo_cv_c_unused_arguments
=yes
15934 libgo_cv_c_unused_arguments
=no
15936 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15937 CFLAGS
=$CFLAGS_hold
15939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_unused_arguments" >&5
15940 $as_echo "$libgo_cv_c_unused_arguments" >&6; }
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if assembler supports GNU comdat group syntax" >&5
15943 $as_echo_n "checking if assembler supports GNU comdat group syntax... " >&6; }
15944 if ${libgo_cv_as_comdat_gnu+:} false
; then :
15945 $as_echo_n "(cached) " >&6
15948 echo '.section .text,"axG",@progbits,.foo,comdat' > conftest.s
15949 CFLAGS_hold
=$CFLAGS
15950 if test "$libgo_cv_c_unused_arguments" = yes; then
15951 CFLAGS
="$CFLAGS -Qunused-arguments"
15953 if $CC $CFLAGS -c conftest.s
> /dev
/null
2>&1; then
15954 libgo_cv_as_comdat_gnu
=yes
15956 libgo_cv_as_comdat_gnu
=no
15958 CFLAGS
=$CFLAGS_hold
15961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_comdat_gnu" >&5
15962 $as_echo "$libgo_cv_as_comdat_gnu" >&6; }
15963 if test "x$libgo_cv_as_comdat_gnu" = xyes
; then
15965 $as_echo "#define HAVE_AS_COMDAT_GAS 1" >>confdefs.h
15969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports pc related relocs" >&5
15970 $as_echo_n "checking assembler supports pc related relocs... " >&6; }
15971 if ${libgo_cv_as_x86_pcrel+:} false
; then :
15972 $as_echo_n "(cached) " >&6
15975 libgo_cv_as_x86_pcrel
=yes
15976 echo '.text; foo: nop; .data; .long foo-.; .text' > conftest.s
15977 CFLAGS_hold
=$CFLAGS
15978 if test "$libgo_cv_c_unused_arguments" = yes; then
15979 CFLAGS
="$CFLAGS -Qunused-arguments"
15981 if $CC $CFLAGS -c conftest.s
2>&1 |
$EGREP -i 'illegal|warning' > /dev
/null
; then
15982 libgo_cv_as_x86_pcrel
=no
15984 CFLAGS
=$CFLAGS_hold
15987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_x86_pcrel" >&5
15988 $as_echo "$libgo_cv_as_x86_pcrel" >&6; }
15989 if test "x$libgo_cv_as_x86_pcrel" = xyes
; then
15991 $as_echo "#define HAVE_AS_X86_PCREL 1" >>confdefs.h
15995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports unwind section type" >&5
15996 $as_echo_n "checking assembler supports unwind section type... " >&6; }
15997 if ${libgo_cv_as_x86_64_unwind_section_type+:} false
; then :
15998 $as_echo_n "(cached) " >&6
16001 libgo_cv_as_x86_64_unwind_section_type
=yes
16002 echo '.section .eh_frame,"a",@unwind' > conftest.s
16003 CFLAGS_hold
=$CFLAGS
16004 if test "$libgo_cv_c_unused_arguments" = yes; then
16005 CFLAGS
="$CFLAGS -Qunused-arguments"
16007 if $CC $CFLAGS -c conftest.s
2>&1 |
grep -i warning
> /dev
/null
; then
16008 libgo_cv_as_x86_64_unwind_section_type
=no
16010 CFLAGS
=$CFLAGS_hold
16013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_x86_64_unwind_section_type" >&5
16014 $as_echo "$libgo_cv_as_x86_64_unwind_section_type" >&6; }
16015 if test "x$libgo_cv_as_x86_64_unwind_section_type" = xyes
; then
16017 $as_echo "#define HAVE_AS_X86_64_UNWIND_SECTION_TYPE 1" >>confdefs.h
16021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports AES instructions" >&5
16022 $as_echo_n "checking assembler supports AES instructions... " >&6; }
16023 if ${libgo_cv_as_x86_aes+:} false
; then :
16024 $as_echo_n "(cached) " >&6
16027 libgo_cv_as_x86_aes
=yes
16028 echo 'aesenc %xmm0, %xmm1' > conftest.s
16029 CFLAGS_hold
=$CFLAGS
16030 if test "$libgo_cv_c_unused_arguments" = yes; then
16031 CFLAGS
="$CFLAGS -Qunused-arguments"
16033 if $CC $CFLAGS -c conftest.s
2>&1 |
grep -i error
> /dev
/null
; then
16034 libgo_cv_as_x86_aes
=no
16036 CFLAGS
=$CFLAGS_hold
16039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_x86_aes" >&5
16040 $as_echo "$libgo_cv_as_x86_aes" >&6; }
16041 if test "x$libgo_cv_as_x86_aes" = xyes
; then
16043 $as_echo "#define HAVE_AS_X86_AES 1" >>confdefs.h
16047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -static is supported" >&5
16048 $as_echo_n "checking whether -static is supported... " >&6; }
16049 if ${libgo_cv_ld_static+:} false
; then :
16050 $as_echo_n "(cached) " >&6
16052 LDFLAGS_hold
=$LDFLAGS
16053 LDFLAGS
="$LDFLAGS -static"
16054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16055 /* end confdefs.h. */
16065 if ac_fn_c_try_link
"$LINENO"; then :
16066 libgo_cv_ld_static
=yes
16068 libgo_cv_ld_static
=no
16070 rm -f core conftest.err conftest.
$ac_objext \
16071 conftest
$ac_exeext conftest.
$ac_ext
16072 LDFLAGS
=$LDFLAGS_hold
16074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_ld_static" >&5
16075 $as_echo "$libgo_cv_ld_static" >&6; }
16076 if test "$libgo_cv_ld_static" = yes; then
16077 HAVE_STATIC_LINK_TRUE
=
16078 HAVE_STATIC_LINK_FALSE
='#'
16080 HAVE_STATIC_LINK_TRUE
='#'
16081 HAVE_STATIC_LINK_FALSE
=
16085 cat >confcache
<<\_ACEOF
16086 # This file is a shell script that caches the results of configure
16087 # tests run on this system so they can be shared between configure
16088 # scripts and configure runs, see configure's option --config-cache.
16089 # It is not useful on other systems. If it contains results you don't
16090 # want to keep, you may remove or edit it.
16092 # config.status only pays attention to the cache file if you give it
16093 # the --recheck option to rerun configure.
16095 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16096 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16097 # following values.
16101 # The following way of writing the cache mishandles newlines in values,
16102 # but we know of no workaround that is simple, portable, and efficient.
16103 # So, we kill variables containing newlines.
16104 # Ultrix sh set writes to stderr and can't be redirected directly,
16105 # and sets the high bit in the cache file unless we assign to the vars.
16107 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16108 eval ac_val
=\$
$ac_var
16112 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16113 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16116 _ | IFS | as_nl
) ;; #(
16117 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16118 *) { eval $ac_var=; unset $ac_var;} ;;
16124 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16125 *${as_nl}ac_space
=\
*)
16126 # `set' does not quote correctly, so add quotes: double-quote
16127 # substitution turns \\\\ into \\, and sed turns \\ into \.
16130 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16133 # `set' quotes correctly as required by POSIX, so do not add quotes.
16134 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16143 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16145 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16147 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16148 if test -w "$cache_file"; then
16149 if test "x$cache_file" != "x/dev/null"; then
16150 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16151 $as_echo "$as_me: updating cache $cache_file" >&6;}
16152 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
16153 cat confcache
>"$cache_file"
16155 case $cache_file in #(
16157 mv -f confcache
"$cache_file"$$
&&
16158 mv -f "$cache_file"$$
"$cache_file" ;; #(
16160 mv -f confcache
"$cache_file" ;;
16165 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16166 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16171 if test ${multilib} = yes; then
16172 multilib_arg
="--enable-multilib"
16177 ac_config_files
="$ac_config_files Makefile testsuite/Makefile testsuite/libgo-test-support.exp"
16180 ac_config_commands
="$ac_config_commands default"
16183 cat >confcache
<<\_ACEOF
16184 # This file is a shell script that caches the results of configure
16185 # tests run on this system so they can be shared between configure
16186 # scripts and configure runs, see configure's option --config-cache.
16187 # It is not useful on other systems. If it contains results you don't
16188 # want to keep, you may remove or edit it.
16190 # config.status only pays attention to the cache file if you give it
16191 # the --recheck option to rerun configure.
16193 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16194 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16195 # following values.
16199 # The following way of writing the cache mishandles newlines in values,
16200 # but we know of no workaround that is simple, portable, and efficient.
16201 # So, we kill variables containing newlines.
16202 # Ultrix sh set writes to stderr and can't be redirected directly,
16203 # and sets the high bit in the cache file unless we assign to the vars.
16205 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16206 eval ac_val
=\$
$ac_var
16210 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16211 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16214 _ | IFS | as_nl
) ;; #(
16215 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16216 *) { eval $ac_var=; unset $ac_var;} ;;
16222 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16223 *${as_nl}ac_space
=\
*)
16224 # `set' does not quote correctly, so add quotes: double-quote
16225 # substitution turns \\\\ into \\, and sed turns \\ into \.
16228 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16231 # `set' quotes correctly as required by POSIX, so do not add quotes.
16232 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16241 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16243 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16245 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16246 if test -w "$cache_file"; then
16247 if test "x$cache_file" != "x/dev/null"; then
16248 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16249 $as_echo "$as_me: updating cache $cache_file" >&6;}
16250 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
16251 cat confcache
>"$cache_file"
16253 case $cache_file in #(
16255 mv -f confcache
"$cache_file"$$
&&
16256 mv -f "$cache_file"$$
"$cache_file" ;; #(
16258 mv -f confcache
"$cache_file" ;;
16263 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16264 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16269 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16270 # Let make expand exec_prefix.
16271 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16273 DEFS
=-DHAVE_CONFIG_H
16278 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16279 # 1. Remove the extension, and $U if already installed.
16280 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16281 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16282 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16283 # will be set to the directory where LIBOBJS objects are built.
16284 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16285 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16287 LIBOBJS
=$ac_libobjs
16289 LTLIBOBJS
=$ac_ltlibobjs
16292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16293 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16294 if test -n "$am_sleep_pid"; then
16295 # Hide warnings about reused PIDs.
16296 wait $am_sleep_pid 2>/dev
/null
16298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16299 $as_echo "done" >&6; }
16300 if test -n "$EXEEXT"; then
16302 am__EXEEXT_FALSE
='#'
16304 am__EXEEXT_TRUE
='#'
16308 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16309 as_fn_error $?
"conditional \"AMDEP\" was never defined.
16310 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16312 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16313 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
16314 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16316 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
16317 as_fn_error $?
"conditional \"am__fastdepCCAS\" was never defined.
16318 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16320 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16321 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
16322 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16324 if test -z "${USE_LIBFFI_TRUE}" && test -z "${USE_LIBFFI_FALSE}"; then
16325 as_fn_error $?
"conditional \"USE_LIBFFI\" was never defined.
16326 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16328 if test -z "${LIBGO_IS_DARWIN_TRUE}" && test -z "${LIBGO_IS_DARWIN_FALSE}"; then
16329 as_fn_error $?
"conditional \"LIBGO_IS_DARWIN\" was never defined.
16330 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16332 if test -z "${LIBGO_IS_FREEBSD_TRUE}" && test -z "${LIBGO_IS_FREEBSD_FALSE}"; then
16333 as_fn_error $?
"conditional \"LIBGO_IS_FREEBSD\" was never defined.
16334 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16336 if test -z "${LIBGO_IS_IRIX_TRUE}" && test -z "${LIBGO_IS_IRIX_FALSE}"; then
16337 as_fn_error $?
"conditional \"LIBGO_IS_IRIX\" was never defined.
16338 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16340 if test -z "${LIBGO_IS_LINUX_TRUE}" && test -z "${LIBGO_IS_LINUX_FALSE}"; then
16341 as_fn_error $?
"conditional \"LIBGO_IS_LINUX\" was never defined.
16342 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16344 if test -z "${LIBGO_IS_NETBSD_TRUE}" && test -z "${LIBGO_IS_NETBSD_FALSE}"; then
16345 as_fn_error $?
"conditional \"LIBGO_IS_NETBSD\" was never defined.
16346 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16348 if test -z "${LIBGO_IS_OPENBSD_TRUE}" && test -z "${LIBGO_IS_OPENBSD_FALSE}"; then
16349 as_fn_error $?
"conditional \"LIBGO_IS_OPENBSD\" was never defined.
16350 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16352 if test -z "${LIBGO_IS_DRAGONFLY_TRUE}" && test -z "${LIBGO_IS_DRAGONFLY_FALSE}"; then
16353 as_fn_error $?
"conditional \"LIBGO_IS_DRAGONFLY\" was never defined.
16354 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16356 if test -z "${LIBGO_IS_RTEMS_TRUE}" && test -z "${LIBGO_IS_RTEMS_FALSE}"; then
16357 as_fn_error $?
"conditional \"LIBGO_IS_RTEMS\" was never defined.
16358 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16360 if test -z "${LIBGO_IS_SOLARIS_TRUE}" && test -z "${LIBGO_IS_SOLARIS_FALSE}"; then
16361 as_fn_error $?
"conditional \"LIBGO_IS_SOLARIS\" was never defined.
16362 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16364 if test -z "${LIBGO_IS_AIX_TRUE}" && test -z "${LIBGO_IS_AIX_FALSE}"; then
16365 as_fn_error $?
"conditional \"LIBGO_IS_AIX\" was never defined.
16366 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16368 if test -z "${LIBGO_IS_HURD_TRUE}" && test -z "${LIBGO_IS_HURD_FALSE}"; then
16369 as_fn_error $?
"conditional \"LIBGO_IS_HURD\" was never defined.
16370 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16372 if test -z "${LIBGO_IS_BSD_TRUE}" && test -z "${LIBGO_IS_BSD_FALSE}"; then
16373 as_fn_error $?
"conditional \"LIBGO_IS_BSD\" was never defined.
16374 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16376 if test -z "${LIBGO_IS_X86_TRUE}" && test -z "${LIBGO_IS_X86_FALSE}"; then
16377 as_fn_error $?
"conditional \"LIBGO_IS_X86\" was never defined.
16378 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16380 if test -z "${USING_SPLIT_STACK_TRUE}" && test -z "${USING_SPLIT_STACK_FALSE}"; then
16381 as_fn_error $?
"conditional \"USING_SPLIT_STACK\" was never defined.
16382 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16384 if test -z "${GOC_IS_LLGO_TRUE}" && test -z "${GOC_IS_LLGO_FALSE}"; then
16385 as_fn_error $?
"conditional \"GOC_IS_LLGO\" was never defined.
16386 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16389 if test -z "${HAVE_SYS_MMAN_H_TRUE}" && test -z "${HAVE_SYS_MMAN_H_FALSE}"; then
16390 as_fn_error $?
"conditional \"HAVE_SYS_MMAN_H\" was never defined.
16391 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16393 if test -z "${HAVE_STRERROR_R_TRUE}" && test -z "${HAVE_STRERROR_R_FALSE}"; then
16394 as_fn_error $?
"conditional \"HAVE_STRERROR_R\" was never defined.
16395 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16397 if test -z "${HAVE_WAIT4_TRUE}" && test -z "${HAVE_WAIT4_FALSE}"; then
16398 as_fn_error $?
"conditional \"HAVE_WAIT4\" was never defined.
16399 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16401 if test -z "${HAVE_STAT_TIMESPEC_TRUE}" && test -z "${HAVE_STAT_TIMESPEC_FALSE}"; then
16402 as_fn_error $?
"conditional \"HAVE_STAT_TIMESPEC\" was never defined.
16403 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16405 if test -z "${HAVE_STATIC_LINK_TRUE}" && test -z "${HAVE_STATIC_LINK_FALSE}"; then
16406 as_fn_error $?
"conditional \"HAVE_STATIC_LINK\" was never defined.
16407 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16410 : "${CONFIG_STATUS=./config.status}"
16412 ac_clean_files_save
=$ac_clean_files
16413 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16414 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16415 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16417 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16419 # Generated by $as_me.
16420 # Run this file to recreate the current configuration.
16421 # Compiler output produced by configure, useful for debugging
16422 # configure, is in config.log if it exists.
16425 ac_cs_recheck=false
16428 SHELL=\${CONFIG_SHELL-$SHELL}
16431 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16432 ## -------------------- ##
16433 ## M4sh Initialization. ##
16434 ## -------------------- ##
16436 # Be more Bourne compatible
16437 DUALCASE
=1; export DUALCASE
# for MKS sh
16438 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16441 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16442 # is contrary to our usage. Disable this feature.
16443 alias -g '${1+"$@"}'='"$@"'
16444 setopt NO_GLOB_SUBST
16446 case `(set -o) 2>/dev/null` in #(
16458 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16459 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16460 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16461 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16462 # Prefer a ksh shell builtin over an external printf program on Solaris,
16463 # but without wasting forks for bash or zsh.
16464 if test -z "$BASH_VERSION$ZSH_VERSION" \
16465 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16466 as_echo='print
-r --'
16467 as_echo_n='print
-rn --'
16468 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16469 as_echo='printf %s
\n'
16470 as_echo_n='printf %s
'
16472 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16473 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16474 as_echo_n='/usr
/ucb
/echo -n'
16476 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16477 as_echo_n_body='eval
16481 expr "X$arg" : "X\\(.*\\)$as_nl";
16482 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16484 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16486 export as_echo_n_body
16487 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16489 export as_echo_body
16490 as_echo='sh
-c $as_echo_body as_echo
'
16493 # The user is always right.
16494 if test "${PATH_SEPARATOR+set}" != set; then
16496 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16497 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16504 # We need space, tab and new line, in precisely that order. Quoting is
16505 # there to prevent editors from complaining about space-tab.
16506 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16507 # splitting by setting IFS to empty value.)
16510 # Find who we are. Look in the path if we contain no directory separator.
16513 *[\\/]* ) as_myself=$0 ;;
16514 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16515 for as_dir in $PATH
16518 test -z "$as_dir" && as_dir=.
16519 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16525 # We did not find ourselves, most probably we were run as `sh COMMAND'
16526 # in which case we are not to be found in the path.
16527 if test "x$as_myself" = x
; then
16530 if test ! -f "$as_myself"; then
16531 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16535 # Unset variables that we do not need and which cause bugs (e.g. in
16536 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16537 # suppresses any "Segmentation fault" message there. '((' could
16538 # trigger a bug in pdksh 5.2.14.
16539 for as_var
in BASH_ENV ENV MAIL MAILPATH
16540 do eval test x\
${$as_var+set} = xset \
16541 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16554 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16557 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16558 # ----------------------------------------
16559 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16560 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16561 # script with STATUS, using 1 if that was 0.
16564 as_status
=$1; test $as_status -eq 0 && as_status
=1
16566 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16567 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16569 $as_echo "$as_me: error: $2" >&2
16570 as_fn_exit
$as_status
16574 # as_fn_set_status STATUS
16575 # -----------------------
16576 # Set $? to STATUS, without forking.
16577 as_fn_set_status
()
16580 } # as_fn_set_status
16582 # as_fn_exit STATUS
16583 # -----------------
16584 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16588 as_fn_set_status
$1
16594 # Portably unset VAR.
16597 { eval $1=; unset $1;}
16599 as_unset
=as_fn_unset
16600 # as_fn_append VAR VALUE
16601 # ----------------------
16602 # Append the text in VALUE to the end of the definition contained in VAR. Take
16603 # advantage of any shell optimizations that allow amortized linear growth over
16604 # repeated appends, instead of the typical quadratic growth present in naive
16606 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16607 eval 'as_fn_append ()
16618 # as_fn_arith ARG...
16619 # ------------------
16620 # Perform arithmetic evaluation on the ARGs, and store the result in the
16621 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16622 # must be portable across $(()) and expr.
16623 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16624 eval 'as_fn_arith ()
16631 as_val
=`expr "$@" || test $? -eq 1`
16636 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16637 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16643 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16644 as_basename
=basename
16649 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16655 as_me
=`$as_basename -- "$0" ||
16656 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16657 X"$0" : 'X\(//\)$' \| \
16658 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16660 sed '/^.*\/\([^/][^/]*\)\/*$/{
16674 # Avoid depending upon Character Ranges.
16675 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16676 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16677 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16678 as_cr_digits
='0123456789'
16679 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16681 ECHO_C
= ECHO_N
= ECHO_T
=
16682 case `echo -n x` in #(((((
16684 case `echo 'xy\c'` in
16685 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16687 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16694 rm -f conf$$ conf$$.exe conf$$.
file
16695 if test -d conf$$.dir
; then
16696 rm -f conf$$.dir
/conf$$.
file
16699 mkdir conf$$.dir
2>/dev
/null
16701 if (echo >conf$$.
file) 2>/dev
/null
; then
16702 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16704 # ... but there are two gotchas:
16705 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16706 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16707 # In both cases, we have to default to `cp -pR'.
16708 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16710 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16718 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16719 rmdir conf$$.dir
2>/dev
/null
16724 # Create "$as_dir" as a directory, including parents if necessary.
16729 -*) as_dir
=.
/$as_dir;;
16731 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16735 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16736 *) as_qdir
=$as_dir;;
16738 as_dirs
="'$as_qdir' $as_dirs"
16739 as_dir
=`$as_dirname -- "$as_dir" ||
16740 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16741 X"$as_dir" : 'X\(//\)[^/]' \| \
16742 X"$as_dir" : 'X\(//\)$' \| \
16743 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16744 $as_echo X"$as_dir" |
16745 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16749 /^X\(\/\/\)[^/].*/{
16762 test -d "$as_dir" && break
16764 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16765 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16769 if mkdir
-p .
2>/dev
/null
; then
16770 as_mkdir_p
='mkdir -p "$as_dir"'
16772 test -d .
/-p && rmdir .
/-p
16777 # as_fn_executable_p FILE
16778 # -----------------------
16779 # Test if FILE is an executable regular file.
16780 as_fn_executable_p
()
16782 test -f "$1" && test -x "$1"
16783 } # as_fn_executable_p
16784 as_test_x
='test -x'
16785 as_executable_p
=as_fn_executable_p
16787 # Sed expression to map a string onto a valid CPP name.
16788 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16790 # Sed expression to map a string onto a valid variable name.
16791 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16795 ## ----------------------------------- ##
16796 ## Main body of $CONFIG_STATUS script. ##
16797 ## ----------------------------------- ##
16799 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16801 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16802 # Save the log message, to keep $0 and so on meaningful, and to
16803 # report actual input values of CONFIG_FILES etc. instead of their
16804 # values after options handling.
16806 This file was extended by package-unused $as_me version-unused, which was
16807 generated by GNU Autoconf 2.69. Invocation command line was
16809 CONFIG_FILES = $CONFIG_FILES
16810 CONFIG_HEADERS = $CONFIG_HEADERS
16811 CONFIG_LINKS = $CONFIG_LINKS
16812 CONFIG_COMMANDS = $CONFIG_COMMANDS
16815 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16820 case $ac_config_files in *"
16821 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16824 case $ac_config_headers in *"
16825 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16829 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16830 # Files that config.status was made for.
16831 config_files="$ac_config_files"
16832 config_headers="$ac_config_headers"
16833 config_commands="$ac_config_commands"
16837 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16839 \`$as_me' instantiates files and other configuration actions
16840 from templates according to the current configuration. Unless the files
16841 and actions are specified as TAGs, all are instantiated by default.
16843 Usage: $0 [OPTION]... [TAG]...
16845 -h, --help print this help, then exit
16846 -V, --version print version number and configuration settings, then exit
16847 --config print configuration, then exit
16848 -q, --quiet, --silent
16849 do not print progress messages
16850 -d, --debug don't remove temporary files
16851 --recheck update $as_me by reconfiguring in the same conditions
16852 --file=FILE[:TEMPLATE]
16853 instantiate the configuration file FILE
16854 --header=FILE[:TEMPLATE]
16855 instantiate the configuration header FILE
16857 Configuration files:
16860 Configuration headers:
16863 Configuration commands:
16866 Report bugs to the package provider."
16869 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16870 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16872 package-unused config.status version-unused
16873 configured by $0, generated by GNU Autoconf 2.69,
16874 with options \\"\$ac_cs_config\\"
16876 Copyright (C) 2012 Free Software Foundation, Inc.
16877 This config.status script is free software; the Free Software Foundation
16878 gives unlimited permission to copy, distribute and modify it."
16885 test -n "\$AWK" || AWK=awk
16888 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16889 # The default lists apply if the user does not specify any file.
16895 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16896 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16900 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16912 # Handling of the options.
16913 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16915 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16916 $as_echo "$ac_cs_version"; exit ;;
16917 --config |
--confi |
--conf |
--con |
--co |
--c )
16918 $as_echo "$ac_cs_config"; exit ;;
16919 --debug |
--debu |
--deb |
--de |
--d |
-d )
16921 --file |
--fil |
--fi |
--f )
16924 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16925 '') as_fn_error $?
"missing file argument" ;;
16927 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16928 ac_need_defaults
=false
;;
16929 --header |
--heade |
--head |
--hea )
16932 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16934 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16935 ac_need_defaults
=false
;;
16937 # Conflict between --help and --header
16938 as_fn_error $?
"ambiguous option: \`$1'
16939 Try \`$0 --help' for more information.";;
16940 --help |
--hel |
-h )
16941 $as_echo "$ac_cs_usage"; exit ;;
16942 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16943 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16946 # This is an error.
16947 -*) as_fn_error $?
"unrecognized option: \`$1'
16948 Try \`$0 --help' for more information." ;;
16950 *) as_fn_append ac_config_targets
" $1"
16951 ac_need_defaults
=false
;;
16957 ac_configure_extra_args
=
16959 if $ac_cs_silent; then
16961 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16965 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16966 if \$ac_cs_recheck; then
16967 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16969 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16970 CONFIG_SHELL='$SHELL'
16971 export CONFIG_SHELL
16976 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16980 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16981 ## Running $as_me. ##
16987 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16995 with_multisubdir="$with_multisubdir"
16996 with_multisrctop="$with_multisrctop"
16997 with_target_subdir="$with_target_subdir"
16998 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16999 multi_basedir="$multi_basedir"
17000 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
17003 GFORTRAN="$GFORTRAN"
17005 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17008 # The HP-UX ksh and POSIX shell print the target directory to stdout
17009 # if CDPATH is set.
17010 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17012 sed_quote_subst='$sed_quote_subst'
17013 double_quote_subst='$double_quote_subst'
17014 delay_variable_subst='$delay_variable_subst'
17015 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17016 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17017 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17018 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17019 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17020 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17021 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17022 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17023 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17024 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17025 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17026 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17027 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17028 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17029 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17030 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17031 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17032 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17033 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17034 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17035 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17036 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17037 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17038 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17039 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17040 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17041 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17042 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17043 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17044 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17045 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17046 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17047 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17048 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17049 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17050 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17051 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17052 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17053 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17054 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17055 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17056 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17057 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17058 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17059 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17060 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17061 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17062 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17063 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"`'
17064 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17065 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17066 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17067 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17068 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17069 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17070 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17071 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17072 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17073 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17074 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17075 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17076 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17077 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17078 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17079 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17080 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17081 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17082 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17083 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17084 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17085 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17086 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17087 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17088 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17089 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17090 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17091 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17092 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17093 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17094 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17095 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
17096 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17097 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17098 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17099 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17100 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17101 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17102 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17103 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17104 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
17105 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17106 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17107 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17108 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17109 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17110 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17111 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17112 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17113 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17114 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17115 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17116 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17117 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17118 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17119 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17120 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17121 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17122 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17123 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17124 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17125 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17126 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17127 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17128 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17129 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17130 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17131 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17132 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17133 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17134 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17135 LD_GO='`$ECHO "$LD_GO" | $SED "$delay_single_quote_subst"`'
17136 reload_flag_GO='`$ECHO "$reload_flag_GO" | $SED "$delay_single_quote_subst"`'
17137 reload_cmds_GO='`$ECHO "$reload_cmds_GO" | $SED "$delay_single_quote_subst"`'
17138 old_archive_cmds_GO='`$ECHO "$old_archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
17139 compiler_GO='`$ECHO "$compiler_GO" | $SED "$delay_single_quote_subst"`'
17140 GCC_GO='`$ECHO "$GCC_GO" | $SED "$delay_single_quote_subst"`'
17141 lt_prog_compiler_no_builtin_flag_GO='`$ECHO "$lt_prog_compiler_no_builtin_flag_GO" | $SED "$delay_single_quote_subst"`'
17142 lt_prog_compiler_wl_GO='`$ECHO "$lt_prog_compiler_wl_GO" | $SED "$delay_single_quote_subst"`'
17143 lt_prog_compiler_pic_GO='`$ECHO "$lt_prog_compiler_pic_GO" | $SED "$delay_single_quote_subst"`'
17144 lt_prog_compiler_static_GO='`$ECHO "$lt_prog_compiler_static_GO" | $SED "$delay_single_quote_subst"`'
17145 lt_cv_prog_compiler_c_o_GO='`$ECHO "$lt_cv_prog_compiler_c_o_GO" | $SED "$delay_single_quote_subst"`'
17146 archive_cmds_need_lc_GO='`$ECHO "$archive_cmds_need_lc_GO" | $SED "$delay_single_quote_subst"`'
17147 enable_shared_with_static_runtimes_GO='`$ECHO "$enable_shared_with_static_runtimes_GO" | $SED "$delay_single_quote_subst"`'
17148 export_dynamic_flag_spec_GO='`$ECHO "$export_dynamic_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
17149 whole_archive_flag_spec_GO='`$ECHO "$whole_archive_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
17150 compiler_needs_object_GO='`$ECHO "$compiler_needs_object_GO" | $SED "$delay_single_quote_subst"`'
17151 old_archive_from_new_cmds_GO='`$ECHO "$old_archive_from_new_cmds_GO" | $SED "$delay_single_quote_subst"`'
17152 old_archive_from_expsyms_cmds_GO='`$ECHO "$old_archive_from_expsyms_cmds_GO" | $SED "$delay_single_quote_subst"`'
17153 archive_cmds_GO='`$ECHO "$archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
17154 archive_expsym_cmds_GO='`$ECHO "$archive_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
17155 module_cmds_GO='`$ECHO "$module_cmds_GO" | $SED "$delay_single_quote_subst"`'
17156 module_expsym_cmds_GO='`$ECHO "$module_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
17157 with_gnu_ld_GO='`$ECHO "$with_gnu_ld_GO" | $SED "$delay_single_quote_subst"`'
17158 allow_undefined_flag_GO='`$ECHO "$allow_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
17159 no_undefined_flag_GO='`$ECHO "$no_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
17160 hardcode_libdir_flag_spec_GO='`$ECHO "$hardcode_libdir_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
17161 hardcode_libdir_flag_spec_ld_GO='`$ECHO "$hardcode_libdir_flag_spec_ld_GO" | $SED "$delay_single_quote_subst"`'
17162 hardcode_libdir_separator_GO='`$ECHO "$hardcode_libdir_separator_GO" | $SED "$delay_single_quote_subst"`'
17163 hardcode_direct_GO='`$ECHO "$hardcode_direct_GO" | $SED "$delay_single_quote_subst"`'
17164 hardcode_direct_absolute_GO='`$ECHO "$hardcode_direct_absolute_GO" | $SED "$delay_single_quote_subst"`'
17165 hardcode_minus_L_GO='`$ECHO "$hardcode_minus_L_GO" | $SED "$delay_single_quote_subst"`'
17166 hardcode_shlibpath_var_GO='`$ECHO "$hardcode_shlibpath_var_GO" | $SED "$delay_single_quote_subst"`'
17167 hardcode_automatic_GO='`$ECHO "$hardcode_automatic_GO" | $SED "$delay_single_quote_subst"`'
17168 inherit_rpath_GO='`$ECHO "$inherit_rpath_GO" | $SED "$delay_single_quote_subst"`'
17169 link_all_deplibs_GO='`$ECHO "$link_all_deplibs_GO" | $SED "$delay_single_quote_subst"`'
17170 fix_srcfile_path_GO='`$ECHO "$fix_srcfile_path_GO" | $SED "$delay_single_quote_subst"`'
17171 always_export_symbols_GO='`$ECHO "$always_export_symbols_GO" | $SED "$delay_single_quote_subst"`'
17172 export_symbols_cmds_GO='`$ECHO "$export_symbols_cmds_GO" | $SED "$delay_single_quote_subst"`'
17173 exclude_expsyms_GO='`$ECHO "$exclude_expsyms_GO" | $SED "$delay_single_quote_subst"`'
17174 include_expsyms_GO='`$ECHO "$include_expsyms_GO" | $SED "$delay_single_quote_subst"`'
17175 prelink_cmds_GO='`$ECHO "$prelink_cmds_GO" | $SED "$delay_single_quote_subst"`'
17176 file_list_spec_GO='`$ECHO "$file_list_spec_GO" | $SED "$delay_single_quote_subst"`'
17177 hardcode_action_GO='`$ECHO "$hardcode_action_GO" | $SED "$delay_single_quote_subst"`'
17180 LTCFLAGS='$LTCFLAGS'
17181 compiler='$compiler_DEFAULT'
17183 # A function that is used when there is no print builtin or printf.
17184 func_fallback_echo ()
17186 eval 'cat <<_LTECHO_EOF
17191 # Quote evaled strings.
17205 deplibs_check_method \
17214 lt_cv_sys_global_symbol_pipe \
17215 lt_cv_sys_global_symbol_to_cdecl \
17216 lt_cv_sys_global_symbol_to_c_name_address \
17217 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17218 lt_prog_compiler_no_builtin_flag \
17219 lt_prog_compiler_wl \
17220 lt_prog_compiler_pic \
17221 lt_prog_compiler_static \
17222 lt_cv_prog_compiler_c_o \
17230 export_dynamic_flag_spec \
17231 whole_archive_flag_spec \
17232 compiler_needs_object \
17234 allow_undefined_flag \
17235 no_undefined_flag \
17236 hardcode_libdir_flag_spec \
17237 hardcode_libdir_flag_spec_ld \
17238 hardcode_libdir_separator \
17243 variables_saved_for_relink \
17245 library_names_spec \
17247 install_override_mode \
17254 lt_prog_compiler_no_builtin_flag_GO \
17255 lt_prog_compiler_wl_GO \
17256 lt_prog_compiler_pic_GO \
17257 lt_prog_compiler_static_GO \
17258 lt_cv_prog_compiler_c_o_GO \
17259 export_dynamic_flag_spec_GO \
17260 whole_archive_flag_spec_GO \
17261 compiler_needs_object_GO \
17263 allow_undefined_flag_GO \
17264 no_undefined_flag_GO \
17265 hardcode_libdir_flag_spec_GO \
17266 hardcode_libdir_flag_spec_ld_GO \
17267 hardcode_libdir_separator_GO \
17268 fix_srcfile_path_GO \
17269 exclude_expsyms_GO \
17270 include_expsyms_GO \
17271 file_list_spec_GO; do
17272 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17273 *[\\\\\\\`\\"\\\$]*)
17274 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17277 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17282 # Double-quote double-evaled strings.
17283 for var in reload_cmds \
17284 old_postinstall_cmds \
17285 old_postuninstall_cmds \
17287 extract_expsyms_cmds \
17288 old_archive_from_new_cmds \
17289 old_archive_from_expsyms_cmds \
17291 archive_expsym_cmds \
17293 module_expsym_cmds \
17294 export_symbols_cmds \
17297 postuninstall_cmds \
17299 sys_lib_search_path_spec \
17300 sys_lib_dlsearch_path_spec \
17302 old_archive_cmds_GO \
17303 old_archive_from_new_cmds_GO \
17304 old_archive_from_expsyms_cmds_GO \
17306 archive_expsym_cmds_GO \
17308 module_expsym_cmds_GO \
17309 export_symbols_cmds_GO \
17310 prelink_cmds_GO; do
17311 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17312 *[\\\\\\\`\\"\\\$]*)
17313 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17316 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17321 ac_aux_dir='$ac_aux_dir'
17322 xsi_shell='$xsi_shell'
17323 lt_shell_append='$lt_shell_append'
17325 # See if we are running on zsh, and set the options which allow our
17326 # commands through without removal of \ escapes INIT.
17327 if test -n "\${ZSH_VERSION+set}" ; then
17328 setopt NO_GLOB_SUBST
17334 TIMESTAMP='$TIMESTAMP'
17343 # Variables needed in config.status (file generation) which aren't already
17344 # passed by autoconf.
17350 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17352 # Handling of arguments.
17353 for ac_config_target
in $ac_config_targets
17355 case $ac_config_target in
17356 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
17357 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
17358 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17359 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
17360 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17361 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
17362 "testsuite/libgo-test-support.exp") CONFIG_FILES
="$CONFIG_FILES testsuite/libgo-test-support.exp" ;;
17363 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
17365 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17370 # If the user did not use the arguments to specify the items to instantiate,
17371 # then the envvar interface is used. Set only those that are not.
17372 # We use the long form for the default assignment because of an extremely
17373 # bizarre bug on SunOS 4.1.3.
17374 if $ac_need_defaults; then
17375 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17376 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17377 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17380 # Have a temporary directory for convenience. Make it in the build tree
17381 # simply because there is no reason against having it here, and in addition,
17382 # creating and moving files from /tmp can sometimes cause problems.
17383 # Hook for its removal unless debugging.
17384 # Note that there is a small window in which the directory will not be cleaned:
17385 # after its creation but before its name has been assigned to `$tmp'.
17389 trap 'exit_status=$?
17390 : "${ac_tmp:=$tmp}"
17391 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17393 trap 'as_fn_exit 1' 1 2 13 15
17395 # Create a (secure) tmp directory for tmp files.
17398 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17402 tmp
=.
/conf$$
-$RANDOM
17403 (umask 077 && mkdir
"$tmp")
17404 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
17407 # Set up the scripts for CONFIG_FILES section.
17408 # No need to generate them if there are no CONFIG_FILES.
17409 # This happens for instance with `./config.status config.h'.
17410 if test -n "$CONFIG_FILES"; then
17413 ac_cr
=`echo X | tr X '\015'`
17414 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17415 # But we know of no other shell where ac_cr would be empty at this
17416 # point, so we can use a bashism as a fallback.
17417 if test "x$ac_cr" = x
; then
17418 eval ac_cr
=\$
\'\\r
\'
17420 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17421 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17424 ac_cs_awk_cr
=$ac_cr
17427 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17432 echo "cat >conf$$subs.awk <<_ACEOF" &&
17433 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17435 } >conf$$subs.sh ||
17436 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17437 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17439 for ac_last_try in false false false false false :; do
17440 . ./conf$$subs.sh ||
17441 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17443 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17444 if test $ac_delim_n = $ac_delim_num; then
17446 elif $ac_last_try; then
17447 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17449 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17452 rm -f conf$$subs.sh
17454 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17455 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
17459 s/^/S["/; s
/!.
*/"]=/
17469 s/\(.\{148\}\)..*/\1/
17471 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17476 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17483 s/\(.\{148\}\)..*/\1/
17485 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17489 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17494 ' <conf$$subs.awk | sed '
17499 ' >>$CONFIG_STATUS || ac_write_fail=1
17500 rm -f conf$$subs.awk
17501 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17503 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
17504 for (key in S) S_is_set[key] = 1
17510 nfields = split(line, field, "@
")
17512 len = length(field[1])
17513 for (i = 2; i < nfields; i++) {
17515 keylen = length(key)
17516 if (S_is_set[key]) {
17518 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17519 len += length(value) + length(field[++i])
17530 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17531 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17532 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17535 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
17536 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
17539 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17540 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
17541 # trailing colons and then remove the whole line if VPATH becomes empty
17542 # (actually we leave an empty line to preserve line numbers).
17543 if test "x
$srcdir" = x.; then
17544 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17562 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17563 fi # test -n "$CONFIG_FILES"
17565 # Set up the scripts for CONFIG_HEADERS section.
17566 # No need to generate them if there are no CONFIG_HEADERS.
17567 # This happens for instance with `./config.status Makefile'.
17568 if test -n "$CONFIG_HEADERS"; then
17569 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
17573 # Transform confdefs.h into an awk script `defines.awk', embedded as
17574 # here-document in config.status, that substitutes the proper values into
17575 # config.h.in to produce config.h.
17577 # Create a delimiter string that does not exist in confdefs.h, to ease
17578 # handling of long lines.
17580 for ac_last_try in false false :; do
17581 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
17582 if test -z "$ac_tt"; then
17584 elif $ac_last_try; then
17585 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
17587 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17591 # For the awk script, D is an array of macro values keyed by name,
17592 # likewise P contains macro parameters if any. Preserve backslash
17593 # newline sequences.
17595 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17597 s/.\{148\}/&'"$ac_delim"'/g
17600 s/^[ ]*#[ ]*define[ ][ ]*/ /
17607 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17609 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17613 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17614 D["\
1"]=" \
3\\\\\\n
"\\/p
17616 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17621 s/.\{148\}/&'"$ac_delim"'/g
17626 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17629 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17631 ' <confdefs.h | sed '
17632 s/'"$ac_delim"'/"\\\
17633 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17635 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17636 for (key in D) D_is_set[key] = 1
17639 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17641 split(line, arg, " ")
17642 if (arg[1] == "#") {
17646 defundef
= substr
(arg
[1], 2)
17649 split(mac1
, mac2
, "(") #)
17651 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17652 if (D_is_set
[macro
]) {
17653 # Preserve the white space surrounding the "#".
17654 print prefix
"define", macro P
[macro
] D
[macro
]
17657 # Replace #undef with comments. This is necessary, for example,
17658 # in the case of _POSIX_SOURCE, which is predefined and required
17659 # on some systems where configure will not decide to define it.
17660 if (defundef
== "undef") {
17661 print
"/*", prefix defundef
, macro
, "*/"
17669 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17670 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
17671 fi # test -n "$CONFIG_HEADERS"
17674 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17679 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17681 case $ac_mode$ac_tag in
17683 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17684 :[FH
]-) ac_tag
=-:-;;
17685 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17702 -) ac_f
="$ac_tmp/stdin";;
17703 *) # Look for the file first in the build tree, then in the source tree
17704 # (if the path is not absolute). The absolute path cannot be DOS-style,
17705 # because $ac_f cannot contain `:'.
17709 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17711 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17713 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17714 as_fn_append ac_file_inputs
" '$ac_f'"
17717 # Let's still pretend it is `configure' which instantiates (i.e., don't
17718 # use $as_me), people would be surprised to read:
17719 # /* config.h. Generated by config.status. */
17720 configure_input
='Generated from '`
17721 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17723 if test x
"$ac_file" != x-
; then
17724 configure_input
="$ac_file. $configure_input"
17725 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17726 $as_echo "$as_me: creating $ac_file" >&6;}
17728 # Neutralize special characters interpreted by sed in replacement strings.
17729 case $configure_input in #(
17730 *\
&* |
*\|
* |
*\\* )
17731 ac_sed_conf_input
=`$as_echo "$configure_input" |
17732 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17733 *) ac_sed_conf_input
=$configure_input;;
17737 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
17738 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
17743 ac_dir
=`$as_dirname -- "$ac_file" ||
17744 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17745 X"$ac_file" : 'X\(//\)[^/]' \| \
17746 X"$ac_file" : 'X\(//\)$' \| \
17747 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17748 $as_echo X"$ac_file" |
17749 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17753 /^X\(\/\/\)[^/].*/{
17766 as_dir
="$ac_dir"; as_fn_mkdir_p
17770 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17772 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17773 # A ".." for each directory in $ac_dir_suffix.
17774 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17775 case $ac_top_builddir_sub in
17776 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17777 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17780 ac_abs_top_builddir
=$ac_pwd
17781 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17782 # for backward compatibility:
17783 ac_top_builddir
=$ac_top_build_prefix
17786 .
) # We are building in place.
17788 ac_top_srcdir
=$ac_top_builddir_sub
17789 ac_abs_top_srcdir
=$ac_pwd ;;
17790 [\\/]* | ?
:[\\/]* ) # Absolute name.
17791 ac_srcdir
=$srcdir$ac_dir_suffix;
17792 ac_top_srcdir
=$srcdir
17793 ac_abs_top_srcdir
=$srcdir ;;
17794 *) # Relative name.
17795 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17796 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17797 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17799 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17809 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17810 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17812 ac_MKDIR_P
=$MKDIR_P
17814 [\\/$
]* | ?
:[\\/]* ) ;;
17815 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
17819 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17820 # If the template does not know about datarootdir, expand it.
17821 # FIXME: This hack should be removed a few years after 2.60.
17822 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17833 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17834 *datarootdir
*) ac_datarootdir_seen
=yes;;
17835 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17837 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17839 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17840 ac_datarootdir_hack='
17841 s&@datadir@&$datadir&g
17842 s&@docdir@&$docdir&g
17843 s&@infodir@&$infodir&g
17844 s&@localedir@&$localedir&g
17845 s&@mandir@&$mandir&g
17846 s&\\\${datarootdir}&$datarootdir&g' ;;
17850 # Neutralize VPATH when `$srcdir' = `.'.
17851 # Shell code in configure.ac might set extrasub.
17852 # FIXME: do we really want to maintain this feature?
17853 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17854 ac_sed_extra="$ac_vpsub
17857 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17859 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17860 s|@configure_input@|
$ac_sed_conf_input|
;t t
17861 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17862 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17863 s
&@srcdir@
&$ac_srcdir&;t t
17864 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17865 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17866 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17867 s
&@builddir@
&$ac_builddir&;t t
17868 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17869 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17870 s
&@INSTALL@
&$ac_INSTALL&;t t
17871 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17872 $ac_datarootdir_hack
17874 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
17875 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17877 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17878 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17879 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17880 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17882 which seems to be undefined. Please make sure it is defined" >&5
17883 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17884 which seems to be undefined. Please make sure it is defined" >&2;}
17886 rm -f "$ac_tmp/stdin"
17888 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17889 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17891 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17897 if test x"$ac_file" != x-; then
17899 $as_echo "/* $configure_input */" \
17900 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17901 } >"$ac_tmp/config.h" \
17902 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17903 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17904 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17905 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17908 mv "$ac_tmp/config.h" "$ac_file" \
17909 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17912 $as_echo "/* $configure_input */" \
17913 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17914 || as_fn_error $? "could not create -" "$LINENO" 5
17916 # Compute "$ac_file"'s index
in $config_headers.
17919 for _am_header
in $config_headers :; do
17920 case $_am_header in
17921 $_am_arg |
$_am_arg:* )
17924 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17927 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17928 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17929 X"$_am_arg" : 'X\(//\)[^/]' \| \
17930 X"$_am_arg" : 'X\(//\)$' \| \
17931 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17932 $as_echo X"$_am_arg" |
17933 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17937 /^X\(\/\/\)[^/].*/{
17949 s/.*/./; q'`/stamp-h
$_am_stamp_count
17952 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17953 $as_echo "$as_me: executing $ac_file commands" >&6;}
17958 case $ac_file$ac_mode in
17960 # Only add multilib support code if we just rebuilt the top-level
17962 case " $CONFIG_FILES " in
17964 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
17967 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
17968 # Older Autoconf quotes --file arguments for eval, but not when files
17969 # are listed without --file. Let's play safe and only enable the eval
17970 # if we detect the quoting.
17971 case $CONFIG_FILES in
17972 *\'*) eval set x
"$CONFIG_FILES" ;;
17973 *) set x
$CONFIG_FILES ;;
17978 # Strip MF so we end up with the name of the file.
17979 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17980 # Check whether this is an Automake generated Makefile or not.
17981 # We used to match only the files named 'Makefile.in', but
17982 # some people rename them; so instead we look at the file content.
17983 # Grep'ing the first line is not enough: some people post-process
17984 # each Makefile.in and add a new line on top of each file to say so.
17985 # Grep'ing the whole file is not good either: AIX grep has a line
17986 # limit of 2048, but all sed's we know have understand at least 4000.
17987 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17988 dirpart
=`$as_dirname -- "$mf" ||
17989 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17990 X"$mf" : 'X\(//\)[^/]' \| \
17991 X"$mf" : 'X\(//\)$' \| \
17992 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17994 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17998 /^X\(\/\/\)[^/].*/{
18014 # Extract the definition of DEPDIR, am__include, and am__quote
18015 # from the Makefile without running 'make'.
18016 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
18017 test -z "$DEPDIR" && continue
18018 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
18019 test -z "$am__include" && continue
18020 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
18021 # Find all dependency output files, they are included files with
18022 # $(DEPDIR) in their names. We invoke sed twice because it is the
18023 # simplest approach to changing $(DEPDIR) to its actual value in the
18025 for file in `sed -n "
18026 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18027 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18028 # Make sure the directory exists.
18029 test -f "$dirpart/$file" && continue
18030 fdir
=`$as_dirname -- "$file" ||
18031 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18032 X"$file" : 'X\(//\)[^/]' \| \
18033 X"$file" : 'X\(//\)$' \| \
18034 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18035 $as_echo X"$file" |
18036 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18040 /^X\(\/\/\)[^/].*/{
18053 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
18054 # echo "creating $dirpart/$file"
18055 echo '# dummy' > "$dirpart/$file"
18062 # See if we are running on zsh, and set the options which allow our
18063 # commands through without removal of \ escapes.
18064 if test -n "${ZSH_VERSION+set}" ; then
18065 setopt NO_GLOB_SUBST
18068 cfgfile
="${ofile}T"
18069 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18072 cat <<_LT_EOF >> "$cfgfile"
18075 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18076 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18077 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18078 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18080 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18081 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
18082 # Written by Gordon Matzigkeit, 1996
18084 # This file is part of GNU Libtool.
18086 # GNU Libtool is free software; you can redistribute it and/or
18087 # modify it under the terms of the GNU General Public License as
18088 # published by the Free Software Foundation; either version 2 of
18089 # the License, or (at your option) any later version.
18091 # As a special exception to the GNU General Public License,
18092 # if you distribute this file as part of a program or library that
18093 # is built using GNU Libtool, you may include this file under the
18094 # same distribution terms that you use for the rest of that program.
18096 # GNU Libtool is distributed in the hope that it will be useful,
18097 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18098 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18099 # GNU General Public License for more details.
18101 # You should have received a copy of the GNU General Public License
18102 # along with GNU Libtool; see the file COPYING. If not, a copy
18103 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18104 # obtained by writing to the Free Software Foundation, Inc.,
18105 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18108 # The names of the tagged configurations supported by this script.
18109 available_tags="GO "
18111 # ### BEGIN LIBTOOL CONFIG
18113 # A sed program that does not truncate output.
18116 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18117 Xsed="\$SED -e 1s/^X//"
18119 # A grep program that handles long lines.
18125 # A literal string matcher.
18128 # Shell to use when invoking shell scripts.
18131 # An echo program that protects backslashes.
18134 # Which release of libtool.m4 was used?
18135 macro_version=$macro_version
18136 macro_revision=$macro_revision
18138 # Whether or not to build shared libraries.
18139 build_libtool_libs=$enable_shared
18141 # Whether or not to build static libraries.
18142 build_old_libs=$enable_static
18144 # What type of objects to build.
18147 # Whether or not to optimize for fast installation.
18148 fast_install=$enable_fast_install
18151 host_alias=$host_alias
18155 # The build system.
18156 build_alias=$build_alias
18160 # A BSD- or MS-compatible name lister.
18163 # Whether we need soft or hard links.
18166 # What is the maximum length of a command?
18167 max_cmd_len=$max_cmd_len
18169 # Object file suffix (normally "o").
18172 # Executable file suffix (normally "").
18175 # whether the shell understands "unset".
18178 # turn spaces into newlines.
18181 # turn newlines into spaces.
18184 # An object symbol dumper.
18185 OBJDUMP=$lt_OBJDUMP
18187 # Method to check whether dependent libraries are shared objects.
18188 deplibs_check_method=$lt_deplibs_check_method
18190 # Command to use when deplibs_check_method == "file_magic".
18191 file_magic_cmd=$lt_file_magic_cmd
18195 AR_FLAGS=$lt_AR_FLAGS
18197 # A symbol stripping program.
18200 # Commands used to install an old-style archive.
18202 old_postinstall_cmds=$lt_old_postinstall_cmds
18203 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18205 # Whether to use a lock for old archive extraction.
18206 lock_old_archive_extraction=$lock_old_archive_extraction
18211 # LTCC compiler flags.
18212 LTCFLAGS=$lt_CFLAGS
18214 # Take the output of nm and produce a listing of raw symbols and C names.
18215 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18217 # Transform the output of nm in a proper C declaration.
18218 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18220 # Transform the output of nm in a C name address pair.
18221 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18223 # Transform the output of nm in a C name address pair when lib prefix is needed.
18224 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18226 # The name of the directory that contains temporary libtool files.
18229 # Used to examine libraries when file_magic_cmd begins with "file".
18230 MAGIC_CMD=$MAGIC_CMD
18232 # Must we lock files when doing compilation?
18233 need_locks=$lt_need_locks
18235 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18236 DSYMUTIL=$lt_DSYMUTIL
18238 # Tool to change global to local symbols on Mac OS X.
18241 # Tool to manipulate fat objects and archives on Mac OS X.
18244 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18247 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18248 OTOOL64=$lt_OTOOL64
18250 # Old archive suffix (normally "a").
18253 # Shared library suffix (normally ".so").
18254 shrext_cmds=$lt_shrext_cmds
18256 # The commands to extract the exported symbol list from a shared archive.
18257 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18259 # Variables whose values should be saved in libtool wrapper scripts and
18260 # restored at link time.
18261 variables_saved_for_relink=$lt_variables_saved_for_relink
18263 # Do we need the "lib" prefix for modules?
18264 need_lib_prefix=$need_lib_prefix
18266 # Do we need a version for libraries?
18267 need_version=$need_version
18269 # Library versioning type.
18270 version_type=$version_type
18272 # Shared library runtime path variable.
18273 runpath_var=$runpath_var
18275 # Shared library path variable.
18276 shlibpath_var=$shlibpath_var
18278 # Is shlibpath searched before the hard-coded library search path?
18279 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18281 # Format of library name prefix.
18282 libname_spec=$lt_libname_spec
18284 # List of archive names. First name is the real one, the rest are links.
18285 # The last name is the one that the linker finds with -lNAME
18286 library_names_spec=$lt_library_names_spec
18288 # The coded name of the library, if different from the real name.
18289 soname_spec=$lt_soname_spec
18291 # Permission mode override for installation of shared libraries.
18292 install_override_mode=$lt_install_override_mode
18294 # Command to use after installation of a shared archive.
18295 postinstall_cmds=$lt_postinstall_cmds
18297 # Command to use after uninstallation of a shared archive.
18298 postuninstall_cmds=$lt_postuninstall_cmds
18300 # Commands used to finish a libtool library installation in a directory.
18301 finish_cmds=$lt_finish_cmds
18303 # As "finish_cmds", except a single script fragment to be evaled but
18305 finish_eval=$lt_finish_eval
18307 # Whether we should hardcode library paths into libraries.
18308 hardcode_into_libs=$hardcode_into_libs
18310 # Compile-time system search path for libraries.
18311 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18313 # Run-time system search path for libraries.
18314 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18316 # Whether dlopen is supported.
18317 dlopen_support=$enable_dlopen
18319 # Whether dlopen of programs is supported.
18320 dlopen_self=$enable_dlopen_self
18322 # Whether dlopen of statically linked programs is supported.
18323 dlopen_self_static=$enable_dlopen_self_static
18325 # Commands to strip libraries.
18326 old_striplib=$lt_old_striplib
18327 striplib=$lt_striplib
18330 # The linker used to build libraries.
18333 # How to create reloadable object files.
18334 reload_flag=$lt_reload_flag
18335 reload_cmds=$lt_reload_cmds
18337 # Commands used to build an old-style archive.
18338 old_archive_cmds=$lt_old_archive_cmds
18340 # A language specific compiler.
18343 # Is the compiler the GNU compiler?
18346 # Compiler flag to turn off builtin functions.
18347 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18349 # How to pass a linker flag through the compiler.
18350 wl=$lt_lt_prog_compiler_wl
18352 # Additional compiler flags for building library objects.
18353 pic_flag=$lt_lt_prog_compiler_pic
18355 # Compiler flag to prevent dynamic linking.
18356 link_static_flag=$lt_lt_prog_compiler_static
18358 # Does compiler simultaneously support -c and -o options?
18359 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18361 # Whether or not to add -lc for building shared libraries.
18362 build_libtool_need_lc=$archive_cmds_need_lc
18364 # Whether or not to disallow shared libs when runtime libs are static.
18365 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18367 # Compiler flag to allow reflexive dlopens.
18368 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18370 # Compiler flag to generate shared objects directly from archives.
18371 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18373 # Whether the compiler copes with passing no objects directly.
18374 compiler_needs_object=$lt_compiler_needs_object
18376 # Create an old-style archive from a shared archive.
18377 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18379 # Create a temporary old-style archive to link instead of a shared archive.
18380 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18382 # Commands used to build a shared archive.
18383 archive_cmds=$lt_archive_cmds
18384 archive_expsym_cmds=$lt_archive_expsym_cmds
18386 # Commands used to build a loadable module if different from building
18387 # a shared archive.
18388 module_cmds=$lt_module_cmds
18389 module_expsym_cmds=$lt_module_expsym_cmds
18391 # Whether we are building with GNU ld or not.
18392 with_gnu_ld=$lt_with_gnu_ld
18394 # Flag that allows shared libraries with undefined symbols to be built.
18395 allow_undefined_flag=$lt_allow_undefined_flag
18397 # Flag that enforces no undefined symbols.
18398 no_undefined_flag=$lt_no_undefined_flag
18400 # Flag to hardcode \$libdir into a binary during linking.
18401 # This must work even if \$libdir does not exist
18402 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18404 # If ld is used when linking, flag to hardcode \$libdir into a binary
18405 # during linking. This must work even if \$libdir does not exist.
18406 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18408 # Whether we need a single "-rpath" flag with a separated argument.
18409 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18411 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18412 # DIR into the resulting binary.
18413 hardcode_direct=$hardcode_direct
18415 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18416 # DIR into the resulting binary and the resulting library dependency is
18417 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18418 # library is relocated.
18419 hardcode_direct_absolute=$hardcode_direct_absolute
18421 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18422 # into the resulting binary.
18423 hardcode_minus_L=$hardcode_minus_L
18425 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18426 # into the resulting binary.
18427 hardcode_shlibpath_var=$hardcode_shlibpath_var
18429 # Set to "yes" if building a shared library automatically hardcodes DIR
18430 # into the library and all subsequent libraries and executables linked
18432 hardcode_automatic=$hardcode_automatic
18434 # Set to yes if linker adds runtime paths of dependent libraries
18435 # to runtime path list.
18436 inherit_rpath=$inherit_rpath
18438 # Whether libtool must link a program against all its dependency libraries.
18439 link_all_deplibs=$link_all_deplibs
18441 # Fix the shell variable \$srcfile for the compiler.
18442 fix_srcfile_path=$lt_fix_srcfile_path
18444 # Set to "yes" if exported symbols are required.
18445 always_export_symbols=$always_export_symbols
18447 # The commands to list exported symbols.
18448 export_symbols_cmds=$lt_export_symbols_cmds
18450 # Symbols that should not be listed in the preloaded symbols.
18451 exclude_expsyms=$lt_exclude_expsyms
18453 # Symbols that must always be exported.
18454 include_expsyms=$lt_include_expsyms
18456 # Commands necessary for linking programs (against libraries) with templates.
18457 prelink_cmds=$lt_prelink_cmds
18459 # Specify filename containing input files.
18460 file_list_spec=$lt_file_list_spec
18462 # How to hardcode a shared library path into an executable.
18463 hardcode_action=$hardcode_action
18465 # ### END LIBTOOL CONFIG
18471 cat <<\_LT_EOF
>> "$cfgfile"
18472 # AIX sometimes has problems with the GCC collect2 program. For some
18473 # reason, if we set the COLLECT_NAMES environment variable, the problems
18474 # vanish in a puff of smoke.
18475 if test "X${COLLECT_NAMES+set}" != Xset
; then
18477 export COLLECT_NAMES
18484 ltmain
="$ac_aux_dir/ltmain.sh"
18487 # We use sed instead of cat because bash on DJGPP gets confused if
18488 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18489 # text mode, it properly converts lines to CR/LF. This bash problem
18490 # is reportedly fixed, but why not run on old versions too?
18491 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18492 ||
(rm -f "$cfgfile"; exit 1)
18496 cat << \_LT_EOF
>> "$cfgfile"
18498 # func_dirname file append nondir_replacement
18499 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18500 # otherwise set result to NONDIR_REPLACEMENT.
18504 */*) func_dirname_result
="${1%/*}${2}" ;;
18505 * ) func_dirname_result
="${3}" ;;
18509 # func_basename file
18512 func_basename_result
="${1##*/}"
18515 # func_dirname_and_basename file append nondir_replacement
18516 # perform func_basename and func_dirname in a single function
18518 # dirname: Compute the dirname of FILE. If nonempty,
18519 # add APPEND to the result, otherwise set result
18520 # to NONDIR_REPLACEMENT.
18521 # value returned in "$func_dirname_result"
18522 # basename: Compute filename of FILE.
18523 # value retuned in "$func_basename_result"
18524 # Implementation must be kept synchronized with func_dirname
18525 # and func_basename. For efficiency, we do not delegate to
18526 # those functions but instead duplicate the functionality here.
18527 func_dirname_and_basename
()
18530 */*) func_dirname_result
="${1%/*}${2}" ;;
18531 * ) func_dirname_result
="${3}" ;;
18533 func_basename_result
="${1##*/}"
18536 # func_stripname prefix suffix name
18537 # strip PREFIX and SUFFIX off of NAME.
18538 # PREFIX and SUFFIX must not contain globbing or regex special
18539 # characters, hashes, percent signs, but SUFFIX may contain a leading
18540 # dot (in which case that matches only a dot).
18543 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18544 # positional parameters, so assign one to ordinary parameter first.
18545 func_stripname_result
=${3}
18546 func_stripname_result
=${func_stripname_result#"${1}"}
18547 func_stripname_result
=${func_stripname_result%"${2}"}
18553 func_opt_split_opt
=${1%%=*}
18554 func_opt_split_arg
=${1#*=}
18561 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
18562 *) func_lo2o_result
=${1} ;;
18566 # func_xform libobj-or-source
18569 func_xform_result
=${1%.*}.lo
18572 # func_arith arithmetic-term...
18575 func_arith_result
=$
(( $
* ))
18579 # STRING may not start with a hyphen.
18582 func_len_result
=${#1}
18587 *) # Bourne compatible functions.
18588 cat << \_LT_EOF
>> "$cfgfile"
18590 # func_dirname file append nondir_replacement
18591 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18592 # otherwise set result to NONDIR_REPLACEMENT.
18595 # Extract subdirectory from the argument.
18596 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
18597 if test "X$func_dirname_result" = "X${1}"; then
18598 func_dirname_result
="${3}"
18600 func_dirname_result
="$func_dirname_result${2}"
18604 # func_basename file
18607 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
18611 # func_stripname prefix suffix name
18612 # strip PREFIX and SUFFIX off of NAME.
18613 # PREFIX and SUFFIX must not contain globbing or regex special
18614 # characters, hashes, percent signs, but SUFFIX may contain a leading
18615 # dot (in which case that matches only a dot).
18616 # func_strip_suffix prefix name
18620 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
18621 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
18626 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
18627 my_sed_long_arg
='1s/^-[^=]*=//'
18632 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
18633 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
18639 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
18642 # func_xform libobj-or-source
18645 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
18648 # func_arith arithmetic-term...
18651 func_arith_result
=`expr "$@"`
18655 # STRING may not start with a hyphen.
18658 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18664 case $lt_shell_append in
18666 cat << \_LT_EOF
>> "$cfgfile"
18668 # func_append var value
18669 # Append VALUE to the end of shell variable VAR.
18677 cat << \_LT_EOF
>> "$cfgfile"
18679 # func_append var value
18680 # Append VALUE to the end of shell variable VAR.
18691 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18692 ||
(rm -f "$cfgfile"; exit 1)
18694 mv -f "$cfgfile" "$ofile" ||
18695 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18699 cat <<_LT_EOF >> "$ofile"
18701 # ### BEGIN LIBTOOL TAG CONFIG: GO
18703 # The linker used to build libraries.
18706 # How to create reloadable object files.
18707 reload_flag=$lt_reload_flag_GO
18708 reload_cmds=$lt_reload_cmds_GO
18710 # Commands used to build an old-style archive.
18711 old_archive_cmds=$lt_old_archive_cmds_GO
18713 # A language specific compiler.
18716 # Is the compiler the GNU compiler?
18719 # Compiler flag to turn off builtin functions.
18720 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GO
18722 # How to pass a linker flag through the compiler.
18723 wl=$lt_lt_prog_compiler_wl_GO
18725 # Additional compiler flags for building library objects.
18726 pic_flag=$lt_lt_prog_compiler_pic_GO
18728 # Compiler flag to prevent dynamic linking.
18729 link_static_flag=$lt_lt_prog_compiler_static_GO
18731 # Does compiler simultaneously support -c and -o options?
18732 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GO
18734 # Whether or not to add -lc for building shared libraries.
18735 build_libtool_need_lc=$archive_cmds_need_lc_GO
18737 # Whether or not to disallow shared libs when runtime libs are static.
18738 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GO
18740 # Compiler flag to allow reflexive dlopens.
18741 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GO
18743 # Compiler flag to generate shared objects directly from archives.
18744 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GO
18746 # Whether the compiler copes with passing no objects directly.
18747 compiler_needs_object=$lt_compiler_needs_object_GO
18749 # Create an old-style archive from a shared archive.
18750 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GO
18752 # Create a temporary old-style archive to link instead of a shared archive.
18753 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GO
18755 # Commands used to build a shared archive.
18756 archive_cmds=$lt_archive_cmds_GO
18757 archive_expsym_cmds=$lt_archive_expsym_cmds_GO
18759 # Commands used to build a loadable module if different from building
18760 # a shared archive.
18761 module_cmds=$lt_module_cmds_GO
18762 module_expsym_cmds=$lt_module_expsym_cmds_GO
18764 # Whether we are building with GNU ld or not.
18765 with_gnu_ld=$lt_with_gnu_ld_GO
18767 # Flag that allows shared libraries with undefined symbols to be built.
18768 allow_undefined_flag=$lt_allow_undefined_flag_GO
18770 # Flag that enforces no undefined symbols.
18771 no_undefined_flag=$lt_no_undefined_flag_GO
18773 # Flag to hardcode \$libdir into a binary during linking.
18774 # This must work even if \$libdir does not exist
18775 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GO
18777 # If ld is used when linking, flag to hardcode \$libdir into a binary
18778 # during linking. This must work even if \$libdir does not exist.
18779 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GO
18781 # Whether we need a single "-rpath" flag with a separated argument.
18782 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GO
18784 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18785 # DIR into the resulting binary.
18786 hardcode_direct=$hardcode_direct_GO
18788 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18789 # DIR into the resulting binary and the resulting library dependency is
18790 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18791 # library is relocated.
18792 hardcode_direct_absolute=$hardcode_direct_absolute_GO
18794 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18795 # into the resulting binary.
18796 hardcode_minus_L=$hardcode_minus_L_GO
18798 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18799 # into the resulting binary.
18800 hardcode_shlibpath_var=$hardcode_shlibpath_var_GO
18802 # Set to "yes" if building a shared library automatically hardcodes DIR
18803 # into the library and all subsequent libraries and executables linked
18805 hardcode_automatic=$hardcode_automatic_GO
18807 # Set to yes if linker adds runtime paths of dependent libraries
18808 # to runtime path list.
18809 inherit_rpath=$inherit_rpath_GO
18811 # Whether libtool must link a program against all its dependency libraries.
18812 link_all_deplibs=$link_all_deplibs_GO
18814 # Fix the shell variable \$srcfile for the compiler.
18815 fix_srcfile_path=$lt_fix_srcfile_path_GO
18817 # Set to "yes" if exported symbols are required.
18818 always_export_symbols=$always_export_symbols_GO
18820 # The commands to list exported symbols.
18821 export_symbols_cmds=$lt_export_symbols_cmds_GO
18823 # Symbols that should not be listed in the preloaded symbols.
18824 exclude_expsyms=$lt_exclude_expsyms_GO
18826 # Symbols that must always be exported.
18827 include_expsyms=$lt_include_expsyms_GO
18829 # Commands necessary for linking programs (against libraries) with templates.
18830 prelink_cmds=$lt_prelink_cmds_GO
18832 # Specify filename containing input files.
18833 file_list_spec=$lt_file_list_spec_GO
18835 # How to hardcode a shared library path into an executable.
18836 hardcode_action=$hardcode_action_GO
18838 # ### END LIBTOOL TAG CONFIG: GO
18842 "default":C
) if test -n "$CONFIG_FILES"; then
18843 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
18844 # that multilib installs will end up installed in the correct place.
18845 # The testsuite needs it for multilib-aware ABI baseline files.
18846 # To work around this not being passed down from config-ml.in ->
18847 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
18848 # append it here. Only modify Makefiles that have just been created.
18850 # Also, get rid of this simulated-VPATH thing that automake does.
18851 cat > vpsed
<< \_EOF
18852 s
!`test -f '$<' || echo '$(srcdir)/'`!!
18854 for i
in $SUBDIRS; do
18855 case $CONFIG_FILES in
18857 #echo "Adding MULTISUBDIR to $i/Makefile"
18858 sed -f vpsed
$i/Makefile
> tmp
18859 grep '^MULTISUBDIR =' Makefile
>> tmp
18874 ac_clean_files
=$ac_clean_files_save
18876 test $ac_write_fail = 0 ||
18877 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18880 # configure is writing to config.log, and then calls config.status.
18881 # config.status does its own redirection, appending to config.log.
18882 # Unfortunately, on DOS this fails, as config.log is still kept open
18883 # by configure, so config.status won't be able to write to it; its
18884 # output is simply discarded. So we exec the FD to /dev/null,
18885 # effectively closing config.log, so it can be properly (re)opened and
18886 # appended to by config.status. When coming back to configure, we
18887 # need to make the FD available again.
18888 if test "$no_create" != yes; then
18890 ac_config_status_args
=
18891 test "$silent" = yes &&
18892 ac_config_status_args
="$ac_config_status_args --quiet"
18894 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18896 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18897 # would make configure fail if this is the last instruction.
18898 $ac_cs_success || as_fn_exit
1
18900 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18902 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}