2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for package-unused version-unused.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev
/null
; then :
213 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
218 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir
=.
225 for as_base
in sh bash ksh sh5
; do
226 # Try only shells that exist, to save several forks.
227 as_shell
=$as_dir/$as_base
228 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 CONFIG_SHELL
=$as_shell as_have_required
=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
239 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
241 CONFIG_SHELL
=$SHELL as_have_required
=yes
246 if test "x$CONFIG_SHELL" != x
; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
256 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x
$as_have_required = xno
; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x
${ZSH_VERSION+set} = xset
; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL
=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE
= GREP_OPTIONS
=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir
=.
/$as_dir;;
329 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
333 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs
="'$as_qdir' $as_dirs"
337 as_dir
=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
363 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p
()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
406 as_val
=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status
=$1; test $as_status -eq 0 && as_status
=1
420 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit
$as_status
427 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
434 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
446 as_me
=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits
='0123456789'
470 as_cr_alnum
=$as_cr_Letters$as_cr_digits
473 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
474 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x
"$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec
=no
; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C
= ECHO_N
= ECHO_T
=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
521 rm -f conf$$ conf$$.exe conf$$.
file
522 if test -d conf$$.dir
; then
523 rm -f conf$$.dir
/conf$$.
file
526 mkdir conf$$.dir
2>/dev
/null
528 if (echo >conf$$.
file) 2>/dev
/null
; then
529 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
537 elif ln conf$$.
file conf$$
2>/dev
/null
; then
545 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
546 rmdir conf$$.dir
2>/dev
/null
548 if mkdir
-p .
2>/dev
/null
; then
549 as_mkdir_p
='mkdir -p "$as_dir"'
551 test -d .
/-p && rmdir .
/-p
556 as_executable_p
=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL
=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix
=/usr
/local
580 ac_config_libobj_dir
=.
587 # Identity of this package.
588 PACKAGE_NAME
='package-unused'
589 PACKAGE_TARNAME
='libgo'
590 PACKAGE_VERSION
='version-unused'
591 PACKAGE_STRING
='package-unused version-unused'
595 ac_unique_file
="Makefile.am"
596 # Factoring default headers for most tests.
597 ac_includes_default
="\
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
609 # ifdef HAVE_STDLIB_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
632 ac_subst_vars
='am__EXEEXT_FALSE
636 HAVE_STAT_TIMESPEC_FALSE
637 HAVE_STAT_TIMESPEC_TRUE
638 STRUCT_EPOLL_EVENT_FD_OFFSET
639 SIZEOF_STRUCT_EPOLL_EVENT
644 HAVE_STRERROR_R_FALSE
646 HAVE_SYS_MMAN_H_FALSE
655 USING_SPLIT_STACK_FALSE
656 USING_SPLIT_STACK_TRUE
660 GO_SYSCALL_OS_ARCH_FILE
662 GO_LIBCALL_OS_ARCH_FILE
679 LIBGO_IS_SOLARIS_FALSE
680 LIBGO_IS_SOLARIS_TRUE
683 LIBGO_IS_DRAGONFLY_FALSE
684 LIBGO_IS_DRAGONFLY_TRUE
685 LIBGO_IS_OPENBSD_FALSE
686 LIBGO_IS_OPENBSD_TRUE
687 LIBGO_IS_NETBSD_FALSE
693 LIBGO_IS_FREEBSD_FALSE
694 LIBGO_IS_FREEBSD_TRUE
695 LIBGO_IS_DARWIN_FALSE
703 nover_glibgo_toolexeclibdir
704 glibgo_toolexeclibdir
732 MAINTAINER_MODE_FALSE
734 am__fastdepCCAS_FALSE
770 INSTALL_STRIP_PROGRAM
826 program_transform_name
839 enable_option_checking
842 enable_dependency_tracking
843 enable_maintainer_mode
851 enable_version_specific_runtime_libs
854 with_system_libunwind
856 ac_precious_vars
='build_alias
863 # Initialize some variables set by options.
865 ac_init_version
=false
866 ac_unrecognized_opts
=
868 # The variables have the same names as the options, with
869 # dashes changed to underlines.
877 program_transform_name
=s
,x
,x
,
885 # Installation directory options.
886 # These are left unexpanded so users can "make install exec_prefix=/foo"
887 # and all the variables that are supposed to be based on exec_prefix
888 # by default will actually change.
889 # Use braces instead of parens because sh, perl, etc. also accept them.
890 # (The list follows the same order as the GNU Coding Standards.)
891 bindir
='${exec_prefix}/bin'
892 sbindir
='${exec_prefix}/sbin'
893 libexecdir
='${exec_prefix}/libexec'
894 datarootdir
='${prefix}/share'
895 datadir
='${datarootdir}'
896 sysconfdir
='${prefix}/etc'
897 sharedstatedir
='${prefix}/com'
898 localstatedir
='${prefix}/var'
899 includedir
='${prefix}/include'
900 oldincludedir
='/usr/include'
901 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
902 infodir
='${datarootdir}/info'
907 libdir
='${exec_prefix}/lib'
908 localedir
='${datarootdir}/locale'
909 mandir
='${datarootdir}/man'
915 # If the previous option needs an argument, assign it.
916 if test -n "$ac_prev"; then
917 eval $ac_prev=\
$ac_option
923 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
928 # Accept the important Cygnus configure options, so we can diagnose typos.
930 case $ac_dashdash$ac_option in
934 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
936 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
939 -build |
--build |
--buil |
--bui |
--bu)
940 ac_prev
=build_alias
;;
941 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
942 build_alias
=$ac_optarg ;;
944 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
945 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
946 ac_prev
=cache_file
;;
947 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
948 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
949 cache_file
=$ac_optarg ;;
952 cache_file
=config.cache
;;
954 -datadir |
--datadir |
--datadi |
--datad)
956 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
957 datadir
=$ac_optarg ;;
959 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
960 |
--dataroo |
--dataro |
--datar)
961 ac_prev
=datarootdir
;;
962 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
963 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
964 datarootdir
=$ac_optarg ;;
966 -disable-* |
--disable-*)
967 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
968 # Reject names that are not valid shell variable names.
969 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
970 as_fn_error $?
"invalid feature name: $ac_useropt"
971 ac_useropt_orig
=$ac_useropt
972 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
973 case $ac_user_opts in
977 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
978 ac_unrecognized_sep
=', ';;
980 eval enable_
$ac_useropt=no
;;
982 -docdir |
--docdir |
--docdi |
--doc |
--do)
984 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
987 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
989 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
992 -enable-* |
--enable-*)
993 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
994 # Reject names that are not valid shell variable names.
995 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
996 as_fn_error $?
"invalid feature name: $ac_useropt"
997 ac_useropt_orig
=$ac_useropt
998 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
999 case $ac_user_opts in
1001 "enable_
$ac_useropt"
1003 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1004 ac_unrecognized_sep
=', ';;
1006 eval enable_
$ac_useropt=\
$ac_optarg ;;
1008 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1009 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1010 |
--exec |
--exe |
--ex)
1011 ac_prev
=exec_prefix
;;
1012 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1013 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1014 |
--exec=* |
--exe=* |
--ex=*)
1015 exec_prefix
=$ac_optarg ;;
1017 -gas |
--gas |
--ga |
--g)
1018 # Obsolete; use --with-gas.
1021 -help |
--help |
--hel |
--he |
-h)
1022 ac_init_help
=long
;;
1023 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1024 ac_init_help
=recursive
;;
1025 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1026 ac_init_help
=short
;;
1028 -host |
--host |
--hos |
--ho)
1029 ac_prev
=host_alias
;;
1030 -host=* |
--host=* |
--hos=* |
--ho=*)
1031 host_alias
=$ac_optarg ;;
1033 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1035 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1037 htmldir
=$ac_optarg ;;
1039 -includedir |
--includedir |
--includedi |
--included |
--include \
1040 |
--includ |
--inclu |
--incl |
--inc)
1041 ac_prev
=includedir
;;
1042 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1043 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1044 includedir
=$ac_optarg ;;
1046 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1048 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1049 infodir
=$ac_optarg ;;
1051 -libdir |
--libdir |
--libdi |
--libd)
1053 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1054 libdir
=$ac_optarg ;;
1056 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1057 |
--libexe |
--libex |
--libe)
1058 ac_prev
=libexecdir
;;
1059 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1060 |
--libexe=* |
--libex=* |
--libe=*)
1061 libexecdir
=$ac_optarg ;;
1063 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1064 ac_prev
=localedir
;;
1065 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1066 localedir
=$ac_optarg ;;
1068 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1069 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1070 ac_prev
=localstatedir
;;
1071 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1072 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1073 localstatedir
=$ac_optarg ;;
1075 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1077 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1078 mandir
=$ac_optarg ;;
1080 -nfp |
--nfp |
--nf)
1081 # Obsolete; use --without-fp.
1084 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1085 |
--no-cr |
--no-c |
-n)
1088 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1089 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1092 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1093 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1094 |
--oldin |
--oldi |
--old |
--ol |
--o)
1095 ac_prev
=oldincludedir
;;
1096 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1097 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1098 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1099 oldincludedir
=$ac_optarg ;;
1101 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1103 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1104 prefix
=$ac_optarg ;;
1106 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1107 |
--program-pre |
--program-pr |
--program-p)
1108 ac_prev
=program_prefix
;;
1109 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1110 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1111 program_prefix
=$ac_optarg ;;
1113 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1114 |
--program-suf |
--program-su |
--program-s)
1115 ac_prev
=program_suffix
;;
1116 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1117 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1118 program_suffix
=$ac_optarg ;;
1120 -program-transform-name |
--program-transform-name \
1121 |
--program-transform-nam |
--program-transform-na \
1122 |
--program-transform-n |
--program-transform- \
1123 |
--program-transform |
--program-transfor \
1124 |
--program-transfo |
--program-transf \
1125 |
--program-trans |
--program-tran \
1126 |
--progr-tra |
--program-tr |
--program-t)
1127 ac_prev
=program_transform_name
;;
1128 -program-transform-name=* |
--program-transform-name=* \
1129 |
--program-transform-nam=* |
--program-transform-na=* \
1130 |
--program-transform-n=* |
--program-transform-=* \
1131 |
--program-transform=* |
--program-transfor=* \
1132 |
--program-transfo=* |
--program-transf=* \
1133 |
--program-trans=* |
--program-tran=* \
1134 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1135 program_transform_name
=$ac_optarg ;;
1137 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1139 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1140 pdfdir
=$ac_optarg ;;
1142 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1144 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1147 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1148 |
-silent |
--silent |
--silen |
--sile |
--sil)
1151 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1153 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1155 sbindir
=$ac_optarg ;;
1157 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1158 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1159 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1161 ac_prev
=sharedstatedir
;;
1162 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1163 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1164 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1166 sharedstatedir
=$ac_optarg ;;
1168 -site |
--site |
--sit)
1170 -site=* |
--site=* |
--sit=*)
1173 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1175 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1176 srcdir
=$ac_optarg ;;
1178 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1179 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1180 ac_prev
=sysconfdir
;;
1181 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1182 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1183 sysconfdir
=$ac_optarg ;;
1185 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1186 ac_prev
=target_alias
;;
1187 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1188 target_alias
=$ac_optarg ;;
1190 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1193 -version |
--version |
--versio |
--versi |
--vers |
-V)
1194 ac_init_version
=: ;;
1197 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1198 # Reject names that are not valid shell variable names.
1199 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1200 as_fn_error $?
"invalid package name: $ac_useropt"
1201 ac_useropt_orig
=$ac_useropt
1202 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1203 case $ac_user_opts in
1207 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1208 ac_unrecognized_sep
=', ';;
1210 eval with_
$ac_useropt=\
$ac_optarg ;;
1212 -without-* |
--without-*)
1213 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1214 # Reject names that are not valid shell variable names.
1215 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1216 as_fn_error $?
"invalid package name: $ac_useropt"
1217 ac_useropt_orig
=$ac_useropt
1218 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1219 case $ac_user_opts in
1223 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1224 ac_unrecognized_sep
=', ';;
1226 eval with_
$ac_useropt=no
;;
1229 # Obsolete; use --with-x.
1232 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1233 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1234 ac_prev
=x_includes
;;
1235 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1236 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1237 x_includes
=$ac_optarg ;;
1239 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1240 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1241 ac_prev
=x_libraries
;;
1242 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1243 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1244 x_libraries
=$ac_optarg ;;
1246 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1247 Try \`$0 --help' for more information"
1251 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1252 # Reject names that are not valid shell variable names.
1253 case $ac_envvar in #(
1254 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1255 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1257 eval $ac_envvar=\
$ac_optarg
1258 export $ac_envvar ;;
1261 # FIXME: should be removed in autoconf 3.0.
1262 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1263 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1264 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1265 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1271 if test -n "$ac_prev"; then
1272 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1273 as_fn_error $?
"missing argument to $ac_option"
1276 if test -n "$ac_unrecognized_opts"; then
1277 case $enable_option_checking in
1279 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1280 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1284 # Check all directory arguments for consistency.
1285 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1286 datadir sysconfdir sharedstatedir localstatedir includedir \
1287 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1288 libdir localedir mandir
1290 eval ac_val
=\$
$ac_var
1291 # Remove trailing slashes.
1294 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1295 eval $ac_var=\
$ac_val;;
1297 # Be sure to have absolute directory names.
1299 [\\/$
]* | ?
:[\\/]* ) continue;;
1300 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1302 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1305 # There might be people who depend on the old broken behavior: `$host'
1306 # used to hold the argument of --host etc.
1307 # FIXME: To remove some day.
1310 target
=$target_alias
1312 # FIXME: To remove some day.
1313 if test "x$host_alias" != x
; then
1314 if test "x$build_alias" = x
; then
1315 cross_compiling
=maybe
1316 elif test "x$build_alias" != "x$host_alias"; then
1322 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1324 test "$silent" = yes && exec 6>/dev
/null
1327 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1328 ac_ls_di
=`ls -di .` &&
1329 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1330 as_fn_error $?
"working directory cannot be determined"
1331 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1332 as_fn_error $?
"pwd does not report name of working directory"
1335 # Find the source files, if location was not specified.
1336 if test -z "$srcdir"; then
1337 ac_srcdir_defaulted
=yes
1338 # Try the directory containing this script, then the parent directory.
1339 ac_confdir
=`$as_dirname -- "$as_myself" ||
1340 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1341 X"$as_myself" : 'X\(//\)[^/]' \| \
1342 X"$as_myself" : 'X\(//\)$' \| \
1343 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1344 $as_echo X"$as_myself" |
1345 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1363 if test ! -r "$srcdir/$ac_unique_file"; then
1367 ac_srcdir_defaulted
=no
1369 if test ! -r "$srcdir/$ac_unique_file"; then
1370 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1371 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1373 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1375 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1377 # When building in place, set srcdir=.
1378 if test "$ac_abs_confdir" = "$ac_pwd"; then
1381 # Remove unnecessary trailing slashes from srcdir.
1382 # Double slashes in file names in object file debugging info
1383 # mess up M-x gdb in Emacs.
1385 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1387 for ac_var
in $ac_precious_vars; do
1388 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1389 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1390 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1391 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1395 # Report the --help message.
1397 if test "$ac_init_help" = "long"; then
1398 # Omit some internal or obsolete options to make the list less imposing.
1399 # This message is too long to be a string in the A/UX 3.1 sh.
1401 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1403 Usage: $0 [OPTION]... [VAR=VALUE]...
1405 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1406 VAR=VALUE. See below for descriptions of some of the useful variables.
1408 Defaults for the options are specified in brackets.
1411 -h, --help display this help and exit
1412 --help=short display options specific to this package
1413 --help=recursive display the short help of all the included packages
1414 -V, --version display version information and exit
1415 -q, --quiet, --silent do not print \`checking ...' messages
1416 --cache-file=FILE cache test results in FILE [disabled]
1417 -C, --config-cache alias for \`--cache-file=config.cache'
1418 -n, --no-create do not create output files
1419 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1421 Installation directories:
1422 --prefix=PREFIX install architecture-independent files in PREFIX
1423 [$ac_default_prefix]
1424 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1427 By default, \`make install' will install all the files in
1428 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1429 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1430 for instance \`--prefix=\$HOME'.
1432 For better control, use the options below.
1434 Fine tuning of the installation directories:
1435 --bindir=DIR user executables [EPREFIX/bin]
1436 --sbindir=DIR system admin executables [EPREFIX/sbin]
1437 --libexecdir=DIR program executables [EPREFIX/libexec]
1438 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1439 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1440 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1441 --libdir=DIR object code libraries [EPREFIX/lib]
1442 --includedir=DIR C header files [PREFIX/include]
1443 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1444 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1445 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1446 --infodir=DIR info documentation [DATAROOTDIR/info]
1447 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1448 --mandir=DIR man documentation [DATAROOTDIR/man]
1449 --docdir=DIR documentation root [DATAROOTDIR/doc/libgo]
1450 --htmldir=DIR html documentation [DOCDIR]
1451 --dvidir=DIR dvi documentation [DOCDIR]
1452 --pdfdir=DIR pdf documentation [DOCDIR]
1453 --psdir=DIR ps documentation [DOCDIR]
1459 --program-prefix=PREFIX prepend PREFIX to installed program names
1460 --program-suffix=SUFFIX append SUFFIX to installed program names
1461 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1464 --build=BUILD configure
for building on BUILD
[guessed
]
1465 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1466 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1470 if test -n "$ac_init_help"; then
1471 case $ac_init_help in
1472 short | recursive
) echo "Configuration of package-unused version-unused:";;
1477 --disable-option-checking ignore unrecognized
--enable/--with options
1478 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1479 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1480 --enable-multilib build many library versions
(default
)
1481 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1482 --disable-silent-rules verbose build output
(undo
: "make V=0")
1483 --enable-dependency-tracking
1484 do not reject slow dependency extractors
1485 --disable-dependency-tracking
1486 speeds up one-time build
1487 --enable-maintainer-mode
1488 enable make rules and dependencies not useful
(and
1489 sometimes confusing
) to the casual installer
1490 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1491 --enable-static[=PKGS
] build static libraries
[default
=yes]
1492 --enable-fast-install[=PKGS
]
1493 optimize
for fast installation
[default
=yes]
1494 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1495 --enable-werror turns on
-Werror [default
=yes]
1496 --enable-version-specific-runtime-libs
1497 Specify that runtime libraries should be installed
1498 in a compiler-specific directory
1501 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1502 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1503 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1504 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1506 --without-libffi don
't use libffi
1507 --without-libatomic don't use libatomic
1508 --with-system-libunwind use installed libunwind
1510 Some influential environment variables
:
1511 CC C compiler
command
1512 CFLAGS C compiler flags
1513 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1514 nonstandard directory
<lib dir
>
1515 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1516 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1517 you have headers
in a nonstandard directory
<include dir
>
1518 GOC Go compiler
command
1519 GOFLAGS Go compiler flags
1520 CCAS assembler compiler
command (defaults to CC
)
1521 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1524 Use these variables to override the choices made by
`configure' or to help
1525 it to find libraries and programs with nonstandard names/locations.
1527 Report bugs to the package provider.
1532 if test "$ac_init_help" = "recursive"; then
1533 # If there are subdirs, report their specific --help.
1534 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1535 test -d "$ac_dir" ||
1536 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1541 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1543 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1544 # A ".." for each directory in $ac_dir_suffix.
1545 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1546 case $ac_top_builddir_sub in
1547 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1548 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1551 ac_abs_top_builddir=$ac_pwd
1552 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1553 # for backward compatibility:
1554 ac_top_builddir=$ac_top_build_prefix
1557 .) # We are building in place.
1559 ac_top_srcdir=$ac_top_builddir_sub
1560 ac_abs_top_srcdir=$ac_pwd ;;
1561 [\\/]* | ?:[\\/]* ) # Absolute name.
1562 ac_srcdir=$srcdir$ac_dir_suffix;
1563 ac_top_srcdir=$srcdir
1564 ac_abs_top_srcdir=$srcdir ;;
1566 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1567 ac_top_srcdir=$ac_top_build_prefix$srcdir
1568 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1570 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1572 cd "$ac_dir" || { ac_status=$?; continue; }
1573 # Check for guested configure.
1574 if test -f "$ac_srcdir/configure.gnu"; then
1576 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1577 elif test -f "$ac_srcdir/configure"; then
1579 $SHELL "$ac_srcdir/configure" --help=recursive
1581 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1583 cd "$ac_pwd" || { ac_status=$?; break; }
1587 test -n "$ac_init_help" && exit $ac_status
1588 if $ac_init_version; then
1590 package-unused configure version-unused
1591 generated by GNU Autoconf 2.69
1593 Copyright (C) 2012 Free Software Foundation, Inc.
1594 This configure script is free software; the Free Software Foundation
1595 gives unlimited permission to copy, distribute and modify it.
1600 ## ------------------------ ##
1601 ## Autoconf initialization. ##
1602 ## ------------------------ ##
1604 # ac_fn_c_try_compile LINENO
1605 # --------------------------
1606 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1607 ac_fn_c_try_compile ()
1609 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1610 rm -f conftest.$ac_objext
1611 if { { ac_try="$ac_compile"
1613 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1614 *) ac_try_echo
=$ac_try;;
1616 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1617 $as_echo "$ac_try_echo"; } >&5
1618 (eval "$ac_compile") 2>conftest.err
1620 if test -s conftest.err
; then
1621 grep -v '^ *+' conftest.err
>conftest.er1
1622 cat conftest.er1
>&5
1623 mv -f conftest.er1 conftest.err
1625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1626 test $ac_status = 0; } && {
1627 test -z "$ac_c_werror_flag" ||
1628 test ! -s conftest.err
1629 } && test -s conftest.
$ac_objext; then :
1632 $as_echo "$as_me: failed program was:" >&5
1633 sed 's/^/| /' conftest.
$ac_ext >&5
1637 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1638 as_fn_set_status
$ac_retval
1640 } # ac_fn_c_try_compile
1642 # ac_fn_c_try_link LINENO
1643 # -----------------------
1644 # Try to link conftest.$ac_ext, and return whether this succeeded.
1647 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1648 rm -f conftest.
$ac_objext conftest
$ac_exeext
1649 if { { ac_try
="$ac_link"
1651 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1652 *) ac_try_echo=$ac_try;;
1654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1655 $as_echo "$ac_try_echo"; } >&5
1656 (eval "$ac_link") 2>conftest.err
1658 if test -s conftest.err; then
1659 grep -v '^ *+' conftest.err >conftest.er1
1660 cat conftest.er1 >&5
1661 mv -f conftest.er1 conftest.err
1663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1664 test $ac_status = 0; } && {
1665 test -z "$ac_c_werror_flag" ||
1666 test ! -s conftest.err
1667 } && test -s conftest$ac_exeext && {
1668 test "$cross_compiling" = yes ||
1669 test -x conftest$ac_exeext
1673 $as_echo "$as_me: failed program was:" >&5
1674 sed 's/^/| /' conftest.$ac_ext >&5
1678 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1679 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1680 # interfere with the next link command; also delete a directory that is
1681 # left behind by Apple's compiler. We do this before executing the actions.
1682 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1683 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1684 as_fn_set_status $ac_retval
1686 } # ac_fn_c_try_link
1688 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1689 # -------------------------------------------------------
1690 # Tests whether HEADER exists and can be compiled using the include files in
1691 # INCLUDES, setting the cache variable VAR accordingly.
1692 ac_fn_c_check_header_compile ()
1694 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1696 $as_echo_n "checking for $2... " >&6; }
1697 if eval \${$3+:} false; then :
1698 $as_echo_n "(cached) " >&6
1700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1701 /* end confdefs.h. */
1705 if ac_fn_c_try_compile "$LINENO"; then :
1710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1714 $as_echo "$ac_res" >&6; }
1715 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1717 } # ac_fn_c_check_header_compile
1719 # ac_fn_c_try_cpp LINENO
1720 # ----------------------
1721 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1725 if { { ac_try="$ac_cpp conftest.$ac_ext"
1727 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1728 *) ac_try_echo
=$ac_try;;
1730 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1731 $as_echo "$ac_try_echo"; } >&5
1732 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1734 if test -s conftest.err
; then
1735 grep -v '^ *+' conftest.err
>conftest.er1
1736 cat conftest.er1
>&5
1737 mv -f conftest.er1 conftest.err
1739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1740 test $ac_status = 0; } > conftest.i
&& {
1741 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1742 test ! -s conftest.err
1746 $as_echo "$as_me: failed program was:" >&5
1747 sed 's/^/| /' conftest.
$ac_ext >&5
1751 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1752 as_fn_set_status
$ac_retval
1756 # ac_fn_c_try_run LINENO
1757 # ----------------------
1758 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1759 # that executables *can* be run.
1762 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1763 if { { ac_try
="$ac_link"
1765 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1766 *) ac_try_echo=$ac_try;;
1768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1769 $as_echo "$ac_try_echo"; } >&5
1770 (eval "$ac_link") 2>&5
1772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1773 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1774 { { case "(($ac_try" in
1775 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1776 *) ac_try_echo
=$ac_try;;
1778 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1779 $as_echo "$ac_try_echo"; } >&5
1780 (eval "$ac_try") 2>&5
1782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1783 test $ac_status = 0; }; }; then :
1786 $as_echo "$as_me: program exited with status $ac_status" >&5
1787 $as_echo "$as_me: failed program was:" >&5
1788 sed 's/^/| /' conftest.
$ac_ext >&5
1790 ac_retval
=$ac_status
1792 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1794 as_fn_set_status
$ac_retval
1798 # ac_fn_c_check_func LINENO FUNC VAR
1799 # ----------------------------------
1800 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1801 ac_fn_c_check_func
()
1803 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1805 $as_echo_n "checking for $2... " >&6; }
1806 if eval \
${$3+:} false
; then :
1807 $as_echo_n "(cached) " >&6
1809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1810 /* end confdefs.h. */
1811 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1813 #define $2 innocuous_$2
1815 /* System header to define __stub macros and hopefully few prototypes,
1816 which can conflict with char $2 (); below.
1817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1818 <limits.h> exists even on freestanding compilers. */
1821 # include <limits.h>
1823 # include <assert.h>
1828 /* Override any GCC internal prototype to avoid an error.
1829 Use char because int might match the return type of a GCC
1830 builtin and then its argument prototype would still apply. */
1835 /* The GNU C library defines this for functions which it implements
1836 to always fail with ENOSYS. Some functions are actually named
1837 something starting with __ and the normal name is an alias. */
1838 #if defined __stub_$2 || defined __stub___$2
1850 if ac_fn_c_try_link
"$LINENO"; then :
1855 rm -f core conftest.err conftest.
$ac_objext \
1856 conftest
$ac_exeext conftest.
$ac_ext
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1860 $as_echo "$ac_res" >&6; }
1861 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1863 } # ac_fn_c_check_func
1865 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1866 # -------------------------------------------------------
1867 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1868 # the include files in INCLUDES and setting the cache variable VAR
1870 ac_fn_c_check_header_mongrel
()
1872 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1873 if eval \
${$3+:} false
; then :
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1875 $as_echo_n "checking for $2... " >&6; }
1876 if eval \
${$3+:} false
; then :
1877 $as_echo_n "(cached) " >&6
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1881 $as_echo "$ac_res" >&6; }
1883 # Is the header compilable?
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1885 $as_echo_n "checking $2 usability... " >&6; }
1886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1887 /* end confdefs.h. */
1891 if ac_fn_c_try_compile
"$LINENO"; then :
1892 ac_header_compiler
=yes
1894 ac_header_compiler
=no
1896 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1898 $as_echo "$ac_header_compiler" >&6; }
1900 # Is the header present?
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1902 $as_echo_n "checking $2 presence... " >&6; }
1903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1904 /* end confdefs.h. */
1907 if ac_fn_c_try_cpp
"$LINENO"; then :
1908 ac_header_preproc
=yes
1910 ac_header_preproc
=no
1912 rm -f conftest.err conftest.i conftest.
$ac_ext
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1914 $as_echo "$ac_header_preproc" >&6; }
1916 # So? What about this header?
1917 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1920 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1922 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1926 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1928 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1930 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1932 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1934 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1938 $as_echo_n "checking for $2... " >&6; }
1939 if eval \
${$3+:} false
; then :
1940 $as_echo_n "(cached) " >&6
1942 eval "$3=\$ac_header_compiler"
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1946 $as_echo "$ac_res" >&6; }
1948 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1950 } # ac_fn_c_check_header_mongrel
1952 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1953 # -------------------------------------------
1954 # Tests whether TYPE exists after having included INCLUDES, setting cache
1955 # variable VAR accordingly.
1956 ac_fn_c_check_type
()
1958 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1960 $as_echo_n "checking for $2... " >&6; }
1961 if eval \
${$3+:} false
; then :
1962 $as_echo_n "(cached) " >&6
1965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1966 /* end confdefs.h. */
1977 if ac_fn_c_try_compile
"$LINENO"; then :
1978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1979 /* end confdefs.h. */
1990 if ac_fn_c_try_compile
"$LINENO"; then :
1995 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1997 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2001 $as_echo "$ac_res" >&6; }
2002 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2004 } # ac_fn_c_check_type
2006 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2007 # --------------------------------------------
2008 # Tries to find the compile-time value of EXPR in a program that includes
2009 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2011 ac_fn_c_compute_int
()
2013 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2014 if test "$cross_compiling" = yes; then
2015 # Depending upon the size, compute the lo and hi bounds.
2016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2017 /* end confdefs.h. */
2022 static int test_array [1 - 2 * !(($2) >= 0)];
2024 return test_array [0];
2030 if ac_fn_c_try_compile
"$LINENO"; then :
2033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2034 /* end confdefs.h. */
2039 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2041 return test_array [0];
2047 if ac_fn_c_try_compile
"$LINENO"; then :
2048 ac_hi
=$ac_mid; break
2050 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2051 if test $ac_lo -le $ac_mid; then
2055 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2057 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2061 /* end confdefs.h. */
2066 static int test_array [1 - 2 * !(($2) < 0)];
2068 return test_array [0];
2074 if ac_fn_c_try_compile
"$LINENO"; then :
2077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2078 /* end confdefs.h. */
2083 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2085 return test_array [0];
2091 if ac_fn_c_try_compile
"$LINENO"; then :
2092 ac_lo
=$ac_mid; break
2094 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2095 if test $ac_mid -le $ac_hi; then
2099 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2101 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2108 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2109 # Binary search between lo and hi bounds.
2110 while test "x$ac_lo" != "x$ac_hi"; do
2111 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2113 /* end confdefs.h. */
2118 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2120 return test_array [0];
2126 if ac_fn_c_try_compile
"$LINENO"; then :
2129 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2131 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2134 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2139 /* end confdefs.h. */
2141 static long int longval () { return $2; }
2142 static unsigned long int ulongval () { return $2; }
2149 FILE *f = fopen ("conftest.val", "w");
2154 long int i = longval ();
2157 fprintf (f, "%ld", i);
2161 unsigned long int i = ulongval ();
2164 fprintf (f, "%lu", i);
2166 /* Do not output a trailing newline, as this causes \r\n confusion
2167 on some platforms. */
2168 return ferror (f) || fclose (f) != 0;
2174 if ac_fn_c_try_run
"$LINENO"; then :
2175 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2179 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2180 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2184 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2185 as_fn_set_status
$ac_retval
2187 } # ac_fn_c_compute_int
2188 cat >config.log
<<_ACEOF
2189 This file contains any messages produced by compilers while
2190 running configure, to aid debugging if configure makes a mistake.
2192 It was created by package-unused $as_me version-unused, which was
2193 generated by GNU Autoconf 2.69. Invocation command line was
2205 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2206 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2207 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2208 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2209 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2211 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2212 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2214 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2215 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2216 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2217 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2218 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2219 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2220 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2228 test -z "$as_dir" && as_dir
=.
2229 $as_echo "PATH: $as_dir"
2245 # Keep a trace of the command line.
2246 # Strip out --no-create and --no-recursion so they do not pile up.
2247 # Strip out --silent because we don't want to record it for future runs.
2248 # Also quote any args containing shell meta-characters.
2249 # Make two passes to allow for proper duplicate-argument suppression.
2253 ac_must_keep_next
=false
2259 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2260 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2261 |
-silent |
--silent |
--silen |
--sile |
--sil)
2264 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2267 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2269 as_fn_append ac_configure_args1
" '$ac_arg'"
2270 if test $ac_must_keep_next = true
; then
2271 ac_must_keep_next
=false
# Got value, back to normal.
2274 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2275 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2276 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2277 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2278 case "$ac_configure_args0 " in
2279 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2282 -* ) ac_must_keep_next
=true
;;
2285 as_fn_append ac_configure_args
" '$ac_arg'"
2290 { ac_configure_args0
=; unset ac_configure_args0
;}
2291 { ac_configure_args1
=; unset ac_configure_args1
;}
2293 # When interrupted or exit'd, cleanup temporary files, and complete
2294 # config.log. We remove comments because anyway the quotes in there
2295 # would cause problems or look ugly.
2296 # WARNING: Use '\'' to represent an apostrophe within the trap.
2297 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2298 trap 'exit_status=$?
2299 # Save into config.log some information that might help in debugging.
2303 $as_echo "## ---------------- ##
2304 ## Cache variables. ##
2305 ## ---------------- ##"
2307 # The following way of writing the cache mishandles newlines in values,
2309 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2310 eval ac_val=\$$ac_var
2314 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2315 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2318 _ | IFS | as_nl) ;; #(
2319 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2320 *) { eval $ac_var=; unset $ac_var;} ;;
2325 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2326 *${as_nl}ac_space=\ *)
2328 "s/'\''/'\''\\\\'\'''\''/g;
2329 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2332 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2339 $as_echo "## ----------------- ##
2340 ## Output variables. ##
2341 ## ----------------- ##"
2343 for ac_var in $ac_subst_vars
2345 eval ac_val=\$$ac_var
2347 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2349 $as_echo "$ac_var='\''$ac_val'\''"
2353 if test -n "$ac_subst_files"; then
2354 $as_echo "## ------------------- ##
2355 ## File substitutions. ##
2356 ## ------------------- ##"
2358 for ac_var
in $ac_subst_files
2360 eval ac_val
=\$
$ac_var
2362 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2364 $as_echo "$ac_var='\''$ac_val'\''"
2369 if test -s confdefs.h; then
2370 $as_echo "## ----------- ##
2377 test "$ac_signal" != 0 &&
2378 $as_echo "$as_me: caught signal $ac_signal"
2379 $as_echo "$as_me: exit $exit_status"
2381 rm -f core *.core core.conftest.* &&
2382 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2385 for ac_signal
in 1 2 13 15; do
2386 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2390 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2391 rm -f -r conftest
* confdefs.h
2393 $as_echo "/* confdefs.h */" > confdefs.h
2395 # Predefined preprocessor variables.
2397 cat >>confdefs.h
<<_ACEOF
2398 #define PACKAGE_NAME "$PACKAGE_NAME"
2401 cat >>confdefs.h
<<_ACEOF
2402 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2405 cat >>confdefs.h
<<_ACEOF
2406 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2409 cat >>confdefs.h
<<_ACEOF
2410 #define PACKAGE_STRING "$PACKAGE_STRING"
2413 cat >>confdefs.h
<<_ACEOF
2414 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2417 cat >>confdefs.h
<<_ACEOF
2418 #define PACKAGE_URL "$PACKAGE_URL"
2422 # Let the site file select an alternate cache file if it wants to.
2423 # Prefer an explicitly selected file to automatically selected ones.
2426 if test -n "$CONFIG_SITE"; then
2427 # We do not want a PATH search for config.site.
2428 case $CONFIG_SITE in #((
2429 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2430 */*) ac_site_file1
=$CONFIG_SITE;;
2431 *) ac_site_file1
=.
/$CONFIG_SITE;;
2433 elif test "x$prefix" != xNONE
; then
2434 ac_site_file1
=$prefix/share
/config.site
2435 ac_site_file2
=$prefix/etc
/config.site
2437 ac_site_file1
=$ac_default_prefix/share
/config.site
2438 ac_site_file2
=$ac_default_prefix/etc
/config.site
2440 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2442 test "x$ac_site_file" = xNONE
&& continue
2443 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2445 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2446 sed 's/^/| /' "$ac_site_file" >&5
2448 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2449 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2450 as_fn_error $?
"failed to load site script $ac_site_file
2451 See \`config.log' for more details" "$LINENO" 5; }
2455 if test -r "$cache_file"; then
2456 # Some versions of bash will fail to source /dev/null (special files
2457 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2458 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2460 $as_echo "$as_me: loading cache $cache_file" >&6;}
2462 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2463 *) .
"./$cache_file";;
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2468 $as_echo "$as_me: creating cache $cache_file" >&6;}
2472 # Check that the precious variables saved in the cache have kept the same
2474 ac_cache_corrupted
=false
2475 for ac_var
in $ac_precious_vars; do
2476 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2477 eval ac_new_set
=\
$ac_env_${ac_var}_set
2478 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2479 eval ac_new_val
=\
$ac_env_${ac_var}_value
2480 case $ac_old_set,$ac_new_set in
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2483 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2484 ac_cache_corrupted
=: ;;
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2487 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2488 ac_cache_corrupted
=: ;;
2491 if test "x$ac_old_val" != "x$ac_new_val"; then
2492 # differences in whitespace do not lead to failure.
2493 ac_old_val_w
=`echo x $ac_old_val`
2494 ac_new_val_w
=`echo x $ac_new_val`
2495 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2497 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2498 ac_cache_corrupted
=:
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2501 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2502 eval $ac_var=\
$ac_old_val
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2505 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2507 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2510 # Pass precious variables to config.status.
2511 if test "$ac_new_set" = set; then
2513 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2514 *) ac_arg
=$ac_var=$ac_new_val ;;
2516 case " $ac_configure_args " in
2517 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2518 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2522 if $ac_cache_corrupted; then
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2524 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2526 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2527 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2529 ## -------------------- ##
2530 ## Main body of script. ##
2531 ## -------------------- ##
2534 ac_cpp
='$CPP $CPPFLAGS'
2535 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2536 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2537 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2544 ac_config_headers
="$ac_config_headers config.h"
2547 libtool_VERSION
=15:0:0
2550 # Default to --enable-multilib
2551 # Check whether --enable-multilib was given.
2552 if test "${enable_multilib+set}" = set; then :
2553 enableval
=$enable_multilib; case "$enableval" in
2554 yes) multilib
=yes ;;
2556 *) as_fn_error $?
"bad value $enableval for multilib option" "$LINENO" 5 ;;
2563 # We may get other options which we leave undocumented:
2564 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2565 # See config-ml.in if you want the gory details.
2567 if test "$srcdir" = "."; then
2568 if test "$with_target_subdir" != "."; then
2569 multi_basedir
="$srcdir/$with_multisrctop../.."
2571 multi_basedir
="$srcdir/$with_multisrctop.."
2574 multi_basedir
="$srcdir/.."
2578 # Even if the default multilib is not a cross compilation,
2579 # it may be that some of the other multilibs are.
2580 if test $cross_compiling = no
&& test $multilib = yes \
2581 && test "x${with_multisubdir}" != x
; then
2582 cross_compiling
=maybe
2585 ac_config_commands
="$ac_config_commands default-1"
2589 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2590 if test -f "$ac_dir/install-sh"; then
2592 ac_install_sh
="$ac_aux_dir/install-sh -c"
2594 elif test -f "$ac_dir/install.sh"; then
2596 ac_install_sh
="$ac_aux_dir/install.sh -c"
2598 elif test -f "$ac_dir/shtool"; then
2600 ac_install_sh
="$ac_aux_dir/shtool install -c"
2604 if test -z "$ac_aux_dir"; then
2605 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2608 # These three variables are undocumented and unsupported,
2609 # and are intended to be withdrawn in a future Autoconf release.
2610 # They can cause serious problems if a builder's source tree is in a directory
2611 # whose full name contains unusual characters.
2612 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2613 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2614 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2617 # Make sure we can run config.sub.
2618 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2619 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2622 $as_echo_n "checking build system type... " >&6; }
2623 if ${ac_cv_build+:} false
; then :
2624 $as_echo_n "(cached) " >&6
2626 ac_build_alias
=$build_alias
2627 test "x$ac_build_alias" = x
&&
2628 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2629 test "x$ac_build_alias" = x
&&
2630 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2631 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2632 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2636 $as_echo "$ac_cv_build" >&6; }
2637 case $ac_cv_build in
2639 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2642 ac_save_IFS
=$IFS; IFS
='-'
2648 # Remember, the first character of IFS is used to create $*,
2649 # except with old shells:
2652 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2656 $as_echo_n "checking host system type... " >&6; }
2657 if ${ac_cv_host+:} false
; then :
2658 $as_echo_n "(cached) " >&6
2660 if test "x$host_alias" = x
; then
2661 ac_cv_host
=$ac_cv_build
2663 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2664 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2669 $as_echo "$ac_cv_host" >&6; }
2672 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2675 ac_save_IFS
=$IFS; IFS
='-'
2681 # Remember, the first character of IFS is used to create $*,
2682 # except with old shells:
2685 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2689 $as_echo_n "checking target system type... " >&6; }
2690 if ${ac_cv_target+:} false
; then :
2691 $as_echo_n "(cached) " >&6
2693 if test "x$target_alias" = x
; then
2694 ac_cv_target
=$ac_cv_host
2696 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2697 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2702 $as_echo "$ac_cv_target" >&6; }
2703 case $ac_cv_target in
2705 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2707 target
=$ac_cv_target
2708 ac_save_IFS
=$IFS; IFS
='-'
2714 # Remember, the first character of IFS is used to create $*,
2715 # except with old shells:
2718 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2721 # The aliases save the names the user supplied, while $host etc.
2722 # will get canonicalized.
2723 test -n "$target_alias" &&
2724 test "$program_prefix$program_suffix$program_transform_name" = \
2726 program_prefix
=${target_alias}-
2728 target_alias
=${target_alias-$host_alias}
2730 am__api_version
='1.15'
2732 # Find a good install program. We prefer a C program (faster),
2733 # so one script is as good as another. But avoid the broken or
2734 # incompatible versions:
2735 # SysV /etc/install, /usr/sbin/install
2736 # SunOS /usr/etc/install
2737 # IRIX /sbin/install
2739 # AmigaOS /C/install, which installs bootblocks on floppy discs
2740 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2741 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2742 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2743 # OS/2's system install, which has a completely different semantic
2744 # ./install, which can be erroneously created by make from ./install.sh.
2745 # Reject install programs that cannot install multiple files.
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2747 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2748 if test -z "$INSTALL"; then
2749 if ${ac_cv_path_install+:} false
; then :
2750 $as_echo_n "(cached) " >&6
2752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2756 test -z "$as_dir" && as_dir
=.
2757 # Account for people who put trailing slashes in PATH elements.
2758 case $as_dir/ in #((
2759 .
/ | .
// |
/[cC
]/* | \
2760 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2761 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2764 # OSF1 and SCO ODT 3.0 have their own names for install.
2765 # Don't use installbsd from OSF since it installs stuff as root
2767 for ac_prog
in ginstall scoinst
install; do
2768 for ac_exec_ext
in '' $ac_executable_extensions; do
2769 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2770 if test $ac_prog = install &&
2771 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2772 # AIX install. It has an incompatible calling convention.
2774 elif test $ac_prog = install &&
2775 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2776 # program-specific install script used by HP pwplus--don't use.
2779 rm -rf conftest.one conftest.two conftest.dir
2780 echo one
> conftest.one
2781 echo two
> conftest.two
2783 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2784 test -s conftest.one
&& test -s conftest.two
&&
2785 test -s conftest.dir
/conftest.one
&&
2786 test -s conftest.dir
/conftest.two
2788 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2801 rm -rf conftest.one conftest.two conftest.dir
2804 if test "${ac_cv_path_install+set}" = set; then
2805 INSTALL
=$ac_cv_path_install
2807 # As a last resort, use the slow shell script. Don't cache a
2808 # value for INSTALL within a source directory, because that will
2809 # break other packages using the cache if that directory is
2810 # removed, or if the value is a relative name.
2811 INSTALL
=$ac_install_sh
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2815 $as_echo "$INSTALL" >&6; }
2817 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2818 # It thinks the first close brace ends the variable substitution.
2819 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2821 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2823 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2826 $as_echo_n "checking whether build environment is sane... " >&6; }
2827 # Reject unsafe characters in $srcdir or the absolute working directory
2828 # name. Accept space and tab only in the latter.
2832 *[\\\"\
#\$\&\'\`$am_lf]*)
2833 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2836 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2837 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2840 # Do 'set' in a subshell so we don't clobber the current shell's
2841 # arguments. Must try -L first in case configure is actually a
2842 # symlink; some systems play weird games with the mod time of symlinks
2843 # (eg FreeBSD returns the mod time of the symlink's containing
2847 for am_try
in 1 2; do
2848 echo "timestamp, slept: $am_has_slept" > conftest.
file
2849 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2850 if test "$*" = "X"; then
2852 set X
`ls -t "$srcdir/configure" conftest.file`
2854 if test "$*" != "X $srcdir/configure conftest.file" \
2855 && test "$*" != "X conftest.file $srcdir/configure"; then
2857 # If neither matched, then we have a broken ls. This can happen
2858 # if, for instance, CONFIG_SHELL is bash and it inherits a
2859 # broken ls alias from the environment. This has actually
2860 # happened. Such a system could not be considered "sane".
2861 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2862 alias in your environment" "$LINENO" 5
2864 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2871 test "$2" = conftest.
file
2877 as_fn_error $?
"newly created file is older than distributed files!
2878 Check your system clock" "$LINENO" 5
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2881 $as_echo "yes" >&6; }
2882 # If we didn't sleep, we still need to ensure time stamps of config.status and
2883 # generated files are strictly newer.
2885 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2892 test "$program_prefix" != NONE
&&
2893 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2894 # Use a double $ so make ignores it.
2895 test "$program_suffix" != NONE
&&
2896 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2897 # Double any \ or $.
2898 # By default was `s,x,x', remove it if useless.
2899 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2900 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2902 # Expand $ac_aux_dir to an absolute path.
2903 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2905 if test x
"${MISSING+set}" != xset
; then
2908 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2910 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2913 # Use eval to expand $SHELL
2914 if eval "$MISSING --is-lightweight"; then
2915 am_missing_run
="$MISSING "
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2919 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2922 if test x
"${install_sh+set}" != xset
; then
2925 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2927 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2931 # Installed binaries are usually stripped using 'strip' when the user
2932 # run "make install-strip". However 'strip' might not be the right
2933 # tool to use in cross-compilation environments, therefore Automake
2934 # will honor the 'STRIP' environment variable to overrule this program.
2935 if test "$cross_compiling" != no
; then
2936 if test -n "$ac_tool_prefix"; then
2937 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2938 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2940 $as_echo_n "checking for $ac_word... " >&6; }
2941 if ${ac_cv_prog_STRIP+:} false
; then :
2942 $as_echo_n "(cached) " >&6
2944 if test -n "$STRIP"; then
2945 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2951 test -z "$as_dir" && as_dir
=.
2952 for ac_exec_ext
in '' $ac_executable_extensions; do
2953 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2954 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2964 STRIP
=$ac_cv_prog_STRIP
2965 if test -n "$STRIP"; then
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2967 $as_echo "$STRIP" >&6; }
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2970 $as_echo "no" >&6; }
2975 if test -z "$ac_cv_prog_STRIP"; then
2977 # Extract the first word of "strip", so it can be a program name with args.
2978 set dummy strip
; ac_word
=$2
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2980 $as_echo_n "checking for $ac_word... " >&6; }
2981 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2982 $as_echo_n "(cached) " >&6
2984 if test -n "$ac_ct_STRIP"; then
2985 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2991 test -z "$as_dir" && as_dir
=.
2992 for ac_exec_ext
in '' $ac_executable_extensions; do
2993 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2994 ac_cv_prog_ac_ct_STRIP
="strip"
2995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3004 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3005 if test -n "$ac_ct_STRIP"; then
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3007 $as_echo "$ac_ct_STRIP" >&6; }
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3010 $as_echo "no" >&6; }
3013 if test "x$ac_ct_STRIP" = x
; then
3016 case $cross_compiling:$ac_tool_warned in
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3020 ac_tool_warned
=yes ;;
3025 STRIP
="$ac_cv_prog_STRIP"
3029 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3032 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3033 if test -z "$MKDIR_P"; then
3034 if ${ac_cv_path_mkdir+:} false
; then :
3035 $as_echo_n "(cached) " >&6
3037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3038 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3041 test -z "$as_dir" && as_dir
=.
3042 for ac_prog
in mkdir gmkdir
; do
3043 for ac_exec_ext
in '' $ac_executable_extensions; do
3044 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3045 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3046 'mkdir (GNU coreutils) '* | \
3047 'mkdir (coreutils) '* | \
3048 'mkdir (fileutils) '4.1*)
3049 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3059 test -d .
/--version && rmdir .
/--version
3060 if test "${ac_cv_path_mkdir+set}" = set; then
3061 MKDIR_P
="$ac_cv_path_mkdir -p"
3063 # As a last resort, use the slow shell script. Don't cache a
3064 # value for MKDIR_P within a source directory, because that will
3065 # break other packages using the cache if that directory is
3066 # removed, or if the value is a relative name.
3067 MKDIR_P
="$ac_install_sh -d"
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3071 $as_echo "$MKDIR_P" >&6; }
3073 for ac_prog
in gawk mawk nawk
awk
3075 # Extract the first word of "$ac_prog", so it can be a program name with args.
3076 set dummy
$ac_prog; ac_word
=$2
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3078 $as_echo_n "checking for $ac_word... " >&6; }
3079 if ${ac_cv_prog_AWK+:} false
; then :
3080 $as_echo_n "(cached) " >&6
3082 if test -n "$AWK"; then
3083 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3089 test -z "$as_dir" && as_dir
=.
3090 for ac_exec_ext
in '' $ac_executable_extensions; do
3091 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3092 ac_cv_prog_AWK
="$ac_prog"
3093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3103 if test -n "$AWK"; then
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3105 $as_echo "$AWK" >&6; }
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3108 $as_echo "no" >&6; }
3112 test -n "$AWK" && break
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3116 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3118 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3119 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3120 $as_echo_n "(cached) " >&6
3122 cat >conftest.
make <<\_ACEOF
3125 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3127 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3128 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3130 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3132 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3136 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3138 $as_echo "yes" >&6; }
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3142 $as_echo "no" >&6; }
3143 SET_MAKE
="MAKE=${MAKE-make}"
3146 rm -rf .tst
2>/dev
/null
3147 mkdir .tst
2>/dev
/null
3148 if test -d .tst
; then
3153 rmdir .tst
2>/dev
/null
3155 # Check whether --enable-silent-rules was given.
3156 if test "${enable_silent_rules+set}" = set; then :
3157 enableval
=$enable_silent_rules;
3160 case $enable_silent_rules in # (((
3161 yes) AM_DEFAULT_VERBOSITY
=0;;
3162 no
) AM_DEFAULT_VERBOSITY
=1;;
3163 *) AM_DEFAULT_VERBOSITY
=1;;
3165 am_make
=${MAKE-make}
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3167 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3168 if ${am_cv_make_support_nested_variables+:} false
; then :
3169 $as_echo_n "(cached) " >&6
3171 if $as_echo 'TRUE=$(BAR$(V))
3177 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3178 am_cv_make_support_nested_variables
=yes
3180 am_cv_make_support_nested_variables
=no
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3184 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3185 if test $am_cv_make_support_nested_variables = yes; then
3187 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3189 AM_V
=$AM_DEFAULT_VERBOSITY
3190 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3194 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3195 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3196 # is not polluted with repeated "-I."
3197 am__isrc
=' -I$(srcdir)'
3198 # test to see if srcdir already configured
3199 if test -f $srcdir/config.status
; then
3200 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3204 # test whether we have cygpath
3205 if test -z "$CYGPATH_W"; then
3206 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3207 CYGPATH_W
='cygpath -w'
3214 # Define the identity of the package.
3216 VERSION
='version-unused'
3219 # Some tools Automake needs.
3221 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3224 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3227 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3230 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3233 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3235 # For better backward compatibility. To be removed once Automake 1.9.x
3236 # dies out for good. For more background, see:
3237 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3238 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3239 mkdir_p
='$(MKDIR_P)'
3241 # We need awk for the "check" target (and possibly the TAP driver). The
3242 # system "awk" is bad on some platforms.
3243 # Always define AMTAR for backward compatibility. Yes, it's still used
3244 # in the wild :-( We should find a proper way to deprecate it ...
3248 # We'll loop over all known methods to create a tar archive until one works.
3249 _am_tools
='gnutar pax cpio none'
3251 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3258 # POSIX will say in a future version that running "rm -f" with no argument
3259 # is OK; and we want to be able to make that assumption in our Makefile
3260 # recipes. So use an aggressive probe to check that the usage we want is
3261 # actually supported "in the wild" to an acceptable degree.
3262 # See automake bug#10828.
3263 # To make any issue more visible, cause the running configure to be aborted
3264 # by default if the 'rm' program in use doesn't match our expectations; the
3265 # user can still override this though.
3266 if rm -f && rm -fr && rm -rf; then : OK
; else
3270 Your 'rm' program seems unable to run without file operands specified
3271 on the command line, even when the '-f' option is present. This is contrary
3272 to the behaviour of most rm programs out there, and not conforming with
3273 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3275 Please tell bug-automake@gnu.org about your system, including the value
3276 of your $PATH and any error possibly output before this message. This
3277 can help us improve future automake versions.
3280 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3281 echo 'Configuration will proceed anyway, since you have set the' >&2
3282 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3286 Aborting the configuration process, to ensure you take notice of the issue.
3288 You can download and install GNU coreutils to get an 'rm' implementation
3289 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3291 If you want to complete the configuration process using your problematic
3292 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3293 to "yes", and re-run configure.
3296 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3306 ac_cpp
='$CPP $CPPFLAGS'
3307 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3308 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3309 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3310 if test -n "$ac_tool_prefix"; then
3311 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3312 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3314 $as_echo_n "checking for $ac_word... " >&6; }
3315 if ${ac_cv_prog_CC+:} false
; then :
3316 $as_echo_n "(cached) " >&6
3318 if test -n "$CC"; then
3319 ac_cv_prog_CC
="$CC" # Let the user override the test.
3321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3325 test -z "$as_dir" && as_dir
=.
3326 for ac_exec_ext
in '' $ac_executable_extensions; do
3327 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3328 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3339 if test -n "$CC"; then
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3341 $as_echo "$CC" >&6; }
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3344 $as_echo "no" >&6; }
3349 if test -z "$ac_cv_prog_CC"; then
3351 # Extract the first word of "gcc", so it can be a program name with args.
3352 set dummy gcc
; ac_word
=$2
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3354 $as_echo_n "checking for $ac_word... " >&6; }
3355 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3356 $as_echo_n "(cached) " >&6
3358 if test -n "$ac_ct_CC"; then
3359 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3365 test -z "$as_dir" && as_dir
=.
3366 for ac_exec_ext
in '' $ac_executable_extensions; do
3367 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3368 ac_cv_prog_ac_ct_CC
="gcc"
3369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3378 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3379 if test -n "$ac_ct_CC"; then
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3381 $as_echo "$ac_ct_CC" >&6; }
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3384 $as_echo "no" >&6; }
3387 if test "x$ac_ct_CC" = x
; then
3390 case $cross_compiling:$ac_tool_warned in
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3393 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3394 ac_tool_warned
=yes ;;
3402 if test -z "$CC"; then
3403 if test -n "$ac_tool_prefix"; then
3404 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3405 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3407 $as_echo_n "checking for $ac_word... " >&6; }
3408 if ${ac_cv_prog_CC+:} false
; then :
3409 $as_echo_n "(cached) " >&6
3411 if test -n "$CC"; then
3412 ac_cv_prog_CC
="$CC" # Let the user override the test.
3414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3418 test -z "$as_dir" && as_dir
=.
3419 for ac_exec_ext
in '' $ac_executable_extensions; do
3420 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3421 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3432 if test -n "$CC"; then
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3434 $as_echo "$CC" >&6; }
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3437 $as_echo "no" >&6; }
3443 if test -z "$CC"; then
3444 # Extract the first word of "cc", so it can be a program name with args.
3445 set dummy cc
; ac_word
=$2
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3447 $as_echo_n "checking for $ac_word... " >&6; }
3448 if ${ac_cv_prog_CC+:} false
; then :
3449 $as_echo_n "(cached) " >&6
3451 if test -n "$CC"; then
3452 ac_cv_prog_CC
="$CC" # Let the user override the test.
3455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3459 test -z "$as_dir" && as_dir
=.
3460 for ac_exec_ext
in '' $ac_executable_extensions; do
3461 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3462 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3463 ac_prog_rejected
=yes
3467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3474 if test $ac_prog_rejected = yes; then
3475 # We found a bogon in the path, so make sure we never use it.
3476 set dummy
$ac_cv_prog_CC
3478 if test $# != 0; then
3479 # We chose a different compiler from the bogus one.
3480 # However, it has the same basename, so the bogon will be chosen
3481 # first if we set CC to just the basename; use the full file name.
3483 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3489 if test -n "$CC"; then
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3491 $as_echo "$CC" >&6; }
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3494 $as_echo "no" >&6; }
3499 if test -z "$CC"; then
3500 if test -n "$ac_tool_prefix"; then
3501 for ac_prog
in cl.exe
3503 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3504 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3506 $as_echo_n "checking for $ac_word... " >&6; }
3507 if ${ac_cv_prog_CC+:} false
; then :
3508 $as_echo_n "(cached) " >&6
3510 if test -n "$CC"; then
3511 ac_cv_prog_CC
="$CC" # Let the user override the test.
3513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3517 test -z "$as_dir" && as_dir
=.
3518 for ac_exec_ext
in '' $ac_executable_extensions; do
3519 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3520 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3531 if test -n "$CC"; then
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3533 $as_echo "$CC" >&6; }
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3536 $as_echo "no" >&6; }
3540 test -n "$CC" && break
3543 if test -z "$CC"; then
3545 for ac_prog
in cl.exe
3547 # Extract the first word of "$ac_prog", so it can be a program name with args.
3548 set dummy
$ac_prog; ac_word
=$2
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3550 $as_echo_n "checking for $ac_word... " >&6; }
3551 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3552 $as_echo_n "(cached) " >&6
3554 if test -n "$ac_ct_CC"; then
3555 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3561 test -z "$as_dir" && as_dir
=.
3562 for ac_exec_ext
in '' $ac_executable_extensions; do
3563 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3564 ac_cv_prog_ac_ct_CC
="$ac_prog"
3565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3574 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3575 if test -n "$ac_ct_CC"; then
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3577 $as_echo "$ac_ct_CC" >&6; }
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3580 $as_echo "no" >&6; }
3584 test -n "$ac_ct_CC" && break
3587 if test "x$ac_ct_CC" = x
; then
3590 case $cross_compiling:$ac_tool_warned in
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3593 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3594 ac_tool_warned
=yes ;;
3603 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3604 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3605 as_fn_error $?
"no acceptable C compiler found in \$PATH
3606 See \`config.log' for more details" "$LINENO" 5; }
3608 # Provide some information about the compiler.
3609 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3612 for ac_option
in --version -v -V -qversion; do
3613 { { ac_try
="$ac_compiler $ac_option >&5"
3615 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3616 *) ac_try_echo=$ac_try;;
3618 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3619 $as_echo "$ac_try_echo"; } >&5
3620 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3622 if test -s conftest.err; then
3624 ... rest of stderr output deleted ...
3625 10q' conftest.err >conftest.er1
3626 cat conftest.er1 >&5
3628 rm -f conftest.er1 conftest.err
3629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3630 test $ac_status = 0; }
3633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3634 /* end confdefs.h. */
3644 ac_clean_files_save=$ac_clean_files
3645 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3646 # Try to create an executable without -o first, disregard a.out.
3647 # It will help us diagnose broken compilers, and finding out an intuition
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3650 $as_echo_n "checking whether the C compiler works... " >&6; }
3651 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3653 # The possible output files:
3654 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3657 for ac_file in $ac_files
3660 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3661 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3666 if { { ac_try="$ac_link_default"
3668 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3669 *) ac_try_echo
=$ac_try;;
3671 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3672 $as_echo "$ac_try_echo"; } >&5
3673 (eval "$ac_link_default") 2>&5
3675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3676 test $ac_status = 0; }; then :
3677 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3678 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3679 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3680 # so that the user can short-circuit this test for compilers unknown to
3682 for ac_file
in $ac_files ''
3684 test -f "$ac_file" ||
continue
3686 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3689 # We found the default executable, but exeext='' is most
3693 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3695 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3697 # We set ac_cv_exeext here because the later test for it is not
3698 # safe: cross compilers may not add the suffix if given an `-o'
3699 # argument, so we may need to know it at that point already.
3700 # Even if this section looks crufty: it has the advantage of
3707 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3712 if test -z "$ac_file"; then :
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3714 $as_echo "no" >&6; }
3715 $as_echo "$as_me: failed program was:" >&5
3716 sed 's/^/| /' conftest.
$ac_ext >&5
3718 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3719 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3720 as_fn_error
77 "C compiler cannot create executables
3721 See \`config.log' for more details" "$LINENO" 5; }
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3724 $as_echo "yes" >&6; }
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3727 $as_echo_n "checking for C compiler default output file name... " >&6; }
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3729 $as_echo "$ac_file" >&6; }
3730 ac_exeext
=$ac_cv_exeext
3732 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3733 ac_clean_files
=$ac_clean_files_save
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3735 $as_echo_n "checking for suffix of executables... " >&6; }
3736 if { { ac_try
="$ac_link"
3738 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3739 *) ac_try_echo=$ac_try;;
3741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3742 $as_echo "$ac_try_echo"; } >&5
3743 (eval "$ac_link") 2>&5
3745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3746 test $ac_status = 0; }; then :
3747 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3748 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3749 # work properly (i.e., refer to `conftest.exe'), while it won't with
3751 for ac_file
in conftest.exe conftest conftest.
*; do
3752 test -f "$ac_file" ||
continue
3754 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3755 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3761 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3762 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3763 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3764 See \`config.log' for more details" "$LINENO" 5; }
3766 rm -f conftest conftest
$ac_cv_exeext
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3768 $as_echo "$ac_cv_exeext" >&6; }
3770 rm -f conftest.
$ac_ext
3771 EXEEXT
=$ac_cv_exeext
3773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3774 /* end confdefs.h. */
3779 FILE *f = fopen ("conftest.out", "w");
3780 return ferror (f) || fclose (f) != 0;
3786 ac_clean_files
="$ac_clean_files conftest.out"
3787 # Check that the compiler produces executables we can run. If not, either
3788 # the compiler is broken, or we cross compile.
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3790 $as_echo_n "checking whether we are cross compiling... " >&6; }
3791 if test "$cross_compiling" != yes; then
3792 { { ac_try
="$ac_link"
3794 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3795 *) ac_try_echo=$ac_try;;
3797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3798 $as_echo "$ac_try_echo"; } >&5
3799 (eval "$ac_link") 2>&5
3801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3802 test $ac_status = 0; }
3803 if { ac_try='./conftest$ac_cv_exeext'
3804 { { case "(($ac_try" in
3805 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3806 *) ac_try_echo
=$ac_try;;
3808 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3809 $as_echo "$ac_try_echo"; } >&5
3810 (eval "$ac_try") 2>&5
3812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3813 test $ac_status = 0; }; }; then
3816 if test "$cross_compiling" = maybe
; then
3819 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3820 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3821 as_fn_error $?
"cannot run C compiled programs.
3822 If you meant to cross compile, use \`--host'.
3823 See \`config.log' for more details" "$LINENO" 5; }
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3828 $as_echo "$cross_compiling" >&6; }
3830 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3831 ac_clean_files
=$ac_clean_files_save
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3833 $as_echo_n "checking for suffix of object files... " >&6; }
3834 if ${ac_cv_objext+:} false
; then :
3835 $as_echo_n "(cached) " >&6
3837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3838 /* end confdefs.h. */
3848 rm -f conftest.o conftest.obj
3849 if { { ac_try
="$ac_compile"
3851 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3852 *) ac_try_echo=$ac_try;;
3854 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3855 $as_echo "$ac_try_echo"; } >&5
3856 (eval "$ac_compile") 2>&5
3858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3859 test $ac_status = 0; }; then :
3860 for ac_file in conftest.o conftest.obj conftest.*; do
3861 test -f "$ac_file" || continue;
3863 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3864 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3869 $as_echo "$as_me: failed program was:" >&5
3870 sed 's/^/| /' conftest.$ac_ext >&5
3872 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3873 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3874 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3875 See \
`config.log' for more details" "$LINENO" 5; }
3877 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3880 $as_echo "$ac_cv_objext" >&6; }
3881 OBJEXT=$ac_cv_objext
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3884 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3885 if ${ac_cv_c_compiler_gnu+:} false; then :
3886 $as_echo_n "(cached) " >&6
3888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3889 /* end confdefs.h. */
3902 if ac_fn_c_try_compile "$LINENO"; then :
3907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3908 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3912 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3913 if test $ac_compiler_gnu = yes; then
3918 ac_test_CFLAGS=${CFLAGS+set}
3919 ac_save_CFLAGS=$CFLAGS
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3921 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3922 if ${ac_cv_prog_cc_g+:} false; then :
3923 $as_echo_n "(cached) " >&6
3925 ac_save_c_werror_flag=$ac_c_werror_flag
3926 ac_c_werror_flag=yes
3929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3930 /* end confdefs.h. */
3940 if ac_fn_c_try_compile "$LINENO"; then :
3944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3945 /* end confdefs.h. */
3955 if ac_fn_c_try_compile "$LINENO"; then :
3958 ac_c_werror_flag=$ac_save_c_werror_flag
3960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3961 /* end confdefs.h. */
3971 if ac_fn_c_try_compile "$LINENO"; then :
3974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3979 ac_c_werror_flag=$ac_save_c_werror_flag
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3982 $as_echo "$ac_cv_prog_cc_g" >&6; }
3983 if test "$ac_test_CFLAGS" = set; then
3984 CFLAGS=$ac_save_CFLAGS
3985 elif test $ac_cv_prog_cc_g = yes; then
3986 if test "$GCC" = yes; then
3992 if test "$GCC" = yes; then
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3999 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4000 if ${ac_cv_prog_cc_c89+:} false; then :
4001 $as_echo_n "(cached) " >&6
4003 ac_cv_prog_cc_c89=no
4005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4006 /* end confdefs.h. */
4010 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4011 struct buf { int x; };
4012 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4013 static char *e (p, i)
4019 static char *f (char * (*g) (char **, int), char **p, ...)
4024 s = g (p, va_arg (v,int));
4029 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4030 function prototypes and stuff, but not '\xHH' hex character constants.
4031 These don't provoke an error unfortunately, instead are silently treated
4032 as 'x'. The following induces an error, until -std is added to get
4033 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4034 array size at least. It's necessary to write '\x00'==0 to get something
4035 that's true only with -std. */
4036 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4038 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4039 inside strings and character constants. */
4041 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4043 int test (int i, double x);
4044 struct s1 {int (*f) (int a);};
4045 struct s2 {int (*f) (double a);};
4046 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4052 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4057 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4058 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4060 CC="$ac_save_CC $ac_arg"
4061 if ac_fn_c_try_compile "$LINENO"; then :
4062 ac_cv_prog_cc_c89=$ac_arg
4064 rm -f core conftest.err conftest.$ac_objext
4065 test "x$ac_cv_prog_cc_c89" != "xno" && break
4067 rm -f conftest.$ac_ext
4072 case "x$ac_cv_prog_cc_c89" in
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4075 $as_echo "none needed" >&6; } ;;
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4078 $as_echo "unsupported" >&6; } ;;
4080 CC="$CC $ac_cv_prog_cc_c89"
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4082 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4084 if test "x$ac_cv_prog_cc_c89" != xno; then :
4089 ac_cpp='$CPP $CPPFLAGS'
4090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4095 ac_cpp='$CPP $CPPFLAGS'
4096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4100 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4101 if ${am_cv_prog_cc_c_o+:} false; then :
4102 $as_echo_n "(cached) " >&6
4104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4105 /* end confdefs.h. */
4115 # Make sure it works both with $CC and with simple cc.
4116 # Following AC_PROG_CC_C_O, we do the test twice because some
4117 # compilers refuse to overwrite an existing .o file with -o,
4118 # though they will create one.
4119 am_cv_prog_cc_c_o=yes
4121 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4122 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4125 (exit $ac_status); } \
4126 && test -f conftest2.$ac_objext; then
4129 am_cv_prog_cc_c_o=no
4133 rm -f core conftest*
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4137 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4138 if test "$am_cv_prog_cc_c_o" != yes; then
4139 # Losing compiler, so override with the script.
4140 # FIXME: It is wrong to rewrite CC.
4141 # But if we don't then we get into trouble of one sort or another.
4142 # A longer-term fix would be to have automake use am__CC in this case,
4143 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4144 CC="$am_aux_dir/compile $CC"
4147 ac_cpp='$CPP $CPPFLAGS'
4148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4152 DEPDIR="${am__leading_dot}deps"
4154 ac_config_commands="$ac_config_commands depfiles"
4157 am_make=${MAKE-make}
4158 cat > confinc << 'END'
4160 @echo this is the am__doit target
4163 # If we don't find an include directive, just comment out the code.
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4165 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4169 # First try GNU make style include.
4170 echo "include confinc" > confmf
4171 # Ignore all kinds of additional output from 'make'.
4172 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4173 *the\ am__doit\ target*)
4179 # Now try BSD make style include.
4180 if test "$am__include" = "#"; then
4181 echo '.include "confinc"' > confmf
4182 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4183 *the\ am__doit\ target*)
4184 am__include=.include
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4193 $as_echo "$_am_result" >&6; }
4194 rm -f confinc confmf
4196 # Check whether --enable-dependency-tracking was given.
4197 if test "${enable_dependency_tracking+set}" = set; then :
4198 enableval=$enable_dependency_tracking;
4201 if test "x$enable_dependency_tracking" != xno; then
4202 am_depcomp="$ac_aux_dir/depcomp"
4206 if test "x$enable_dependency_tracking" != xno; then
4216 depcc="$CC" am_compiler_list=
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4219 $as_echo_n "checking dependency style of $depcc... " >&6; }
4220 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4221 $as_echo_n "(cached) " >&6
4223 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4224 # We make a subdir and do the tests there. Otherwise we can end up
4225 # making bogus files that we don't know about and never remove. For
4226 # instance it was reported that on HP-UX the gcc test will end up
4227 # making a dummy file named 'D' -- because '-MD' means "put the output
4231 # Copy depcomp to subdir because otherwise we won't find it if we're
4232 # using a relative directory.
4233 cp "$am_depcomp" conftest.dir
4235 # We will build objects and dependencies in a subdirectory because
4236 # it helps to detect inapplicable dependency modes. For instance
4237 # both Tru64's cc and ICC support -MD to output dependencies as a
4238 # side effect of compilation, but ICC will put the dependencies in
4239 # the current directory while Tru64 will put them in the object
4243 am_cv_CC_dependencies_compiler_type=none
4244 if test "$am_compiler_list" = ""; then
4245 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4248 case " $depcc " in #(
4249 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4252 for depmode in $am_compiler_list; do
4253 # Setup a source with many dependencies, because some compilers
4254 # like to wrap large dependency lists on column 80 (with \), and
4255 # we should not choose a depcomp mode which is confused by this.
4257 # We need to recreate these files for each test, as the compiler may
4258 # overwrite some of them when testing with obscure command lines.
4259 # This happens at least with the AIX C compiler.
4261 for i in 1 2 3 4 5 6; do
4262 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4263 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4264 # Solaris 10 /bin/sh.
4265 echo '/* dummy */' > sub/conftst$i.h
4267 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4269 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4270 # mode. It turns out that the SunPro C++ compiler does not properly
4271 # handle '-M -o', and we need to detect this. Also, some Intel
4272 # versions had trouble with output in subdirs.
4273 am__obj=sub/conftest.${OBJEXT-o}
4274 am__minus_obj="-o $am__obj"
4277 # This depmode causes a compiler race in universal mode.
4278 test "$am__universal" = false || continue
4281 # After this tag, mechanisms are not by side-effect, so they'll
4282 # only be used when explicitly requested.
4283 if test "x$enable_dependency_tracking" = xyes; then
4289 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4290 # This compiler won't grok '-c -o', but also, the minuso test has
4291 # not run yet. These depmodes are late enough in the game, and
4292 # so weak that their functioning should not be impacted.
4293 am__obj=conftest.${OBJEXT-o}
4298 if depmode=$depmode \
4299 source=sub/conftest.c object=$am__obj \
4300 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4301 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4302 >/dev/null 2>conftest.err &&
4303 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4304 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4305 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4306 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4307 # icc doesn't choke on unknown options, it will just issue warnings
4308 # or remarks (even with -Werror). So we grep stderr for any message
4309 # that says an option was ignored or not supported.
4310 # When given -MP, icc 7.0 and 7.1 complain thusly:
4311 # icc: Command line warning: ignoring option '-M'; no argument required
4312 # The diagnosis changed in icc 8.0:
4313 # icc: Command line remark: option '-MP' not supported
4314 if (grep 'ignoring option' conftest.err ||
4315 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4316 am_cv_CC_dependencies_compiler_type=$depmode
4325 am_cv_CC_dependencies_compiler_type=none
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4330 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4331 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4334 test "x$enable_dependency_tracking" != xno \
4335 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4337 am__fastdepCC_FALSE='#'
4339 am__fastdepCC_TRUE='#'
4340 am__fastdepCC_FALSE=
4345 ac_compile='$GOC -c $GOFLAGS conftest.$ac_ext >&5'
4346 ac_link='$GOC -o conftest$ac_exeext $GOFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4348 if test -n "$ac_tool_prefix"; then
4349 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
4350 set dummy ${ac_tool_prefix}gccgo; ac_word=$2
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4352 $as_echo_n "checking for $ac_word... " >&6; }
4353 if ${ac_cv_prog_GOC+:} false; then :
4354 $as_echo_n "(cached) " >&6
4356 if test -n "$GOC"; then
4357 ac_cv_prog_GOC="$GOC" # Let the user override the test.
4359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4363 test -z "$as_dir" && as_dir=.
4364 for ac_exec_ext in '' $ac_executable_extensions; do
4365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4366 ac_cv_prog_GOC="${ac_tool_prefix}gccgo"
4367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4377 if test -n "$GOC"; then
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4379 $as_echo "$GOC" >&6; }
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4382 $as_echo "no" >&6; }
4387 if test -z "$ac_cv_prog_GOC"; then
4389 # Extract the first word of "gccgo", so it can be a program name with args.
4390 set dummy gccgo; ac_word=$2
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4392 $as_echo_n "checking for $ac_word... " >&6; }
4393 if ${ac_cv_prog_ac_ct_GOC+:} false; then :
4394 $as_echo_n "(cached) " >&6
4396 if test -n "$ac_ct_GOC"; then
4397 ac_cv_prog_ac_ct_GOC="$ac_ct_GOC" # Let the user override the test.
4399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4403 test -z "$as_dir" && as_dir=.
4404 for ac_exec_ext in '' $ac_executable_extensions; do
4405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4406 ac_cv_prog_ac_ct_GOC="gccgo"
4407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4416 ac_ct_GOC=$ac_cv_prog_ac_ct_GOC
4417 if test -n "$ac_ct_GOC"; then
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
4419 $as_echo "$ac_ct_GOC" >&6; }
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4422 $as_echo "no" >&6; }
4425 if test "x$ac_ct_GOC" = x; then
4428 case $cross_compiling:$ac_tool_warned in
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4432 ac_tool_warned=yes ;;
4437 GOC="$ac_cv_prog_GOC"
4440 if test -z "$GOC"; then
4441 if test -n "$ac_tool_prefix"; then
4442 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
4443 set dummy ${ac_tool_prefix}gccgo; ac_word=$2
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4445 $as_echo_n "checking for $ac_word... " >&6; }
4446 if ${ac_cv_prog_GOC+:} false; then :
4447 $as_echo_n "(cached) " >&6
4449 if test -n "$GOC"; then
4450 ac_cv_prog_GOC="$GOC" # Let the user override the test.
4452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4456 test -z "$as_dir" && as_dir=.
4457 for ac_exec_ext in '' $ac_executable_extensions; do
4458 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4459 ac_cv_prog_GOC="$ac_tool_prefix}gccgo"
4460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4470 if test -n "$GOC"; then
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4472 $as_echo "$GOC" >&6; }
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4475 $as_echo "no" >&6; }
4481 if test -z "$GOC"; then
4482 # Extract the first word of "gccgo", so it can be a program name with args.
4483 set dummy gccgo; ac_word=$2
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4485 $as_echo_n "checking for $ac_word... " >&6; }
4486 if ${ac_cv_prog_GOC+:} false; then :
4487 $as_echo_n "(cached) " >&6
4489 if test -n "$GOC"; then
4490 ac_cv_prog_GOC="$GOC" # Let the user override the test.
4493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4497 test -z "$as_dir" && as_dir=.
4498 for ac_exec_ext in '' $ac_executable_extensions; do
4499 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4500 if test "$as_dir/$ac_word$ac_exec_ext" = "false"; then
4501 ac_prog_rejected=yes
4504 ac_cv_prog_GOC="gccgo"
4505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4512 if test $ac_prog_rejected = yes; then
4513 # We found a bogon in the path, so make sure we never use it.
4514 set dummy $ac_cv_prog_GOC
4516 if test $# != 0; then
4517 # We chose a different compiler from the bogus one.
4518 # However, it has the same basename, so the bogon will be chosen
4519 # first if we set GOC to just the basename; use the full file name.
4521 ac_cv_prog_GOC="$as_dir/$ac_word${1+' '}$@"
4527 if test -n "$GOC"; then
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4529 $as_echo "$GOC" >&6; }
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4532 $as_echo "no" >&6; }
4539 # Provide some information about the compiler.
4540 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Go compiler version" >&5
4543 { { ac_try="$ac_compiler --version >&5"
4545 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4546 *) ac_try_echo
=$ac_try;;
4548 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4549 $as_echo "$ac_try_echo"; } >&5
4550 (eval "$ac_compiler --version >&5") 2>conftest.err
4552 if test -s conftest.err
; then
4554 ... rest of stderr output deleted ...
4555 10q' conftest.err
>conftest.er1
4556 cat conftest.er1
>&5
4558 rm -f conftest.er1 conftest.err
4559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4560 test $ac_status = 0; }
4563 ac_cpp
='$CPP $CPPFLAGS'
4564 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4565 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4566 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4568 # By default we simply use the C compiler to build assembly code.
4570 test "${CCAS+set}" = set || CCAS
=$CC
4571 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
4575 depcc
="$CCAS" am_compiler_list
=
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4578 $as_echo_n "checking dependency style of $depcc... " >&6; }
4579 if ${am_cv_CCAS_dependencies_compiler_type+:} false
; then :
4580 $as_echo_n "(cached) " >&6
4582 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4583 # We make a subdir and do the tests there. Otherwise we can end up
4584 # making bogus files that we don't know about and never remove. For
4585 # instance it was reported that on HP-UX the gcc test will end up
4586 # making a dummy file named 'D' -- because '-MD' means "put the output
4590 # Copy depcomp to subdir because otherwise we won't find it if we're
4591 # using a relative directory.
4592 cp "$am_depcomp" conftest.dir
4594 # We will build objects and dependencies in a subdirectory because
4595 # it helps to detect inapplicable dependency modes. For instance
4596 # both Tru64's cc and ICC support -MD to output dependencies as a
4597 # side effect of compilation, but ICC will put the dependencies in
4598 # the current directory while Tru64 will put them in the object
4602 am_cv_CCAS_dependencies_compiler_type
=none
4603 if test "$am_compiler_list" = ""; then
4604 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4609 for depmode
in $am_compiler_list; do
4610 # Setup a source with many dependencies, because some compilers
4611 # like to wrap large dependency lists on column 80 (with \), and
4612 # we should not choose a depcomp mode which is confused by this.
4614 # We need to recreate these files for each test, as the compiler may
4615 # overwrite some of them when testing with obscure command lines.
4616 # This happens at least with the AIX C compiler.
4618 for i
in 1 2 3 4 5 6; do
4619 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4620 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4621 # Solaris 10 /bin/sh.
4622 echo '/* dummy */' > sub
/conftst
$i.h
4624 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4626 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4627 # mode. It turns out that the SunPro C++ compiler does not properly
4628 # handle '-M -o', and we need to detect this. Also, some Intel
4629 # versions had trouble with output in subdirs.
4630 am__obj
=sub
/conftest.
${OBJEXT-o}
4631 am__minus_obj
="-o $am__obj"
4634 # This depmode causes a compiler race in universal mode.
4635 test "$am__universal" = false ||
continue
4638 # After this tag, mechanisms are not by side-effect, so they'll
4639 # only be used when explicitly requested.
4640 if test "x$enable_dependency_tracking" = xyes
; then
4646 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4647 # This compiler won't grok '-c -o', but also, the minuso test has
4648 # not run yet. These depmodes are late enough in the game, and
4649 # so weak that their functioning should not be impacted.
4650 am__obj
=conftest.
${OBJEXT-o}
4655 if depmode
=$depmode \
4656 source=sub
/conftest.c object
=$am__obj \
4657 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4658 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4659 >/dev
/null
2>conftest.err
&&
4660 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4661 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4662 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4663 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4664 # icc doesn't choke on unknown options, it will just issue warnings
4665 # or remarks (even with -Werror). So we grep stderr for any message
4666 # that says an option was ignored or not supported.
4667 # When given -MP, icc 7.0 and 7.1 complain thusly:
4668 # icc: Command line warning: ignoring option '-M'; no argument required
4669 # The diagnosis changed in icc 8.0:
4670 # icc: Command line remark: option '-MP' not supported
4671 if (grep 'ignoring option' conftest.err ||
4672 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4673 am_cv_CCAS_dependencies_compiler_type
=$depmode
4682 am_cv_CCAS_dependencies_compiler_type
=none
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
4687 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
4688 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
4691 test "x$enable_dependency_tracking" != xno \
4692 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
4693 am__fastdepCCAS_TRUE
=
4694 am__fastdepCCAS_FALSE
='#'
4696 am__fastdepCCAS_TRUE
='#'
4697 am__fastdepCCAS_FALSE
=
4707 # static hash tables crashes on AIX when libgo is built with O2
4708 CFLAGS
="$CFLAGS -fno-section-anchors"
4709 GOCFLAGS
="$GOCFLAGS -fno-section-anchors"
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4715 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4716 # Check whether --enable-maintainer-mode was given.
4717 if test "${enable_maintainer_mode+set}" = set; then :
4718 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4720 USE_MAINTAINER_MODE
=no
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4724 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4725 if test $USE_MAINTAINER_MODE = yes; then
4726 MAINTAINER_MODE_TRUE
=
4727 MAINTAINER_MODE_FALSE
='#'
4729 MAINTAINER_MODE_TRUE
='#'
4730 MAINTAINER_MODE_FALSE
=
4733 MAINT
=$MAINTAINER_MODE_TRUE
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4738 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4739 if ${ac_cv_path_SED+:} false
; then :
4740 $as_echo_n "(cached) " >&6
4742 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4743 for ac_i
in 1 2 3 4 5 6 7; do
4744 ac_script
="$ac_script$as_nl$ac_script"
4746 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
4747 { ac_script
=; unset ac_script
;}
4748 if test -z "$SED"; then
4749 ac_path_SED_found
=false
4750 # Loop through the user's path and test for each of PROGNAME-LIST
4751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4755 test -z "$as_dir" && as_dir
=.
4756 for ac_prog
in sed gsed
; do
4757 for ac_exec_ext
in '' $ac_executable_extensions; do
4758 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4759 as_fn_executable_p
"$ac_path_SED" ||
continue
4760 # Check for GNU ac_path_SED and select it if it is found.
4761 # Check for GNU $ac_path_SED
4762 case `"$ac_path_SED" --version 2>&1` in
4764 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4767 $as_echo_n 0123456789 >"conftest.in"
4770 cat "conftest.in" "conftest.in" >"conftest.tmp"
4771 mv "conftest.tmp" "conftest.in"
4772 cp "conftest.in" "conftest.nl"
4773 $as_echo '' >> "conftest.nl"
4774 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4775 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4776 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4777 if test $ac_count -gt ${ac_path_SED_max-0}; then
4778 # Best one so far, save it but keep looking for a better one
4779 ac_cv_path_SED
="$ac_path_SED"
4780 ac_path_SED_max
=$ac_count
4782 # 10*(2^10) chars as input seems more than enough
4783 test $ac_count -gt 10 && break
4785 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4788 $ac_path_SED_found && break 3
4793 if test -z "$ac_cv_path_SED"; then
4794 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4802 $as_echo "$ac_cv_path_SED" >&6; }
4803 SED
="$ac_cv_path_SED"
4806 test -z "$SED" && SED
=sed
4807 Xsed
="$SED -e 1s/^X//"
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4820 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4821 if ${ac_cv_path_GREP+:} false
; then :
4822 $as_echo_n "(cached) " >&6
4824 if test -z "$GREP"; then
4825 ac_path_GREP_found
=false
4826 # Loop through the user's path and test for each of PROGNAME-LIST
4827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4828 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4831 test -z "$as_dir" && as_dir
=.
4832 for ac_prog
in grep ggrep
; do
4833 for ac_exec_ext
in '' $ac_executable_extensions; do
4834 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4835 as_fn_executable_p
"$ac_path_GREP" ||
continue
4836 # Check for GNU ac_path_GREP and select it if it is found.
4837 # Check for GNU $ac_path_GREP
4838 case `"$ac_path_GREP" --version 2>&1` in
4840 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4843 $as_echo_n 0123456789 >"conftest.in"
4846 cat "conftest.in" "conftest.in" >"conftest.tmp"
4847 mv "conftest.tmp" "conftest.in"
4848 cp "conftest.in" "conftest.nl"
4849 $as_echo 'GREP' >> "conftest.nl"
4850 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4851 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4852 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4853 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4854 # Best one so far, save it but keep looking for a better one
4855 ac_cv_path_GREP
="$ac_path_GREP"
4856 ac_path_GREP_max
=$ac_count
4858 # 10*(2^10) chars as input seems more than enough
4859 test $ac_count -gt 10 && break
4861 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4864 $ac_path_GREP_found && break 3
4869 if test -z "$ac_cv_path_GREP"; then
4870 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4873 ac_cv_path_GREP
=$GREP
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4878 $as_echo "$ac_cv_path_GREP" >&6; }
4879 GREP
="$ac_cv_path_GREP"
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4883 $as_echo_n "checking for egrep... " >&6; }
4884 if ${ac_cv_path_EGREP+:} false
; then :
4885 $as_echo_n "(cached) " >&6
4887 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4888 then ac_cv_path_EGREP
="$GREP -E"
4890 if test -z "$EGREP"; then
4891 ac_path_EGREP_found
=false
4892 # Loop through the user's path and test for each of PROGNAME-LIST
4893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4894 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4897 test -z "$as_dir" && as_dir
=.
4898 for ac_prog
in egrep; do
4899 for ac_exec_ext
in '' $ac_executable_extensions; do
4900 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4901 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4902 # Check for GNU ac_path_EGREP and select it if it is found.
4903 # Check for GNU $ac_path_EGREP
4904 case `"$ac_path_EGREP" --version 2>&1` in
4906 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4909 $as_echo_n 0123456789 >"conftest.in"
4912 cat "conftest.in" "conftest.in" >"conftest.tmp"
4913 mv "conftest.tmp" "conftest.in"
4914 cp "conftest.in" "conftest.nl"
4915 $as_echo 'EGREP' >> "conftest.nl"
4916 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4917 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4918 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4919 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4920 # Best one so far, save it but keep looking for a better one
4921 ac_cv_path_EGREP
="$ac_path_EGREP"
4922 ac_path_EGREP_max
=$ac_count
4924 # 10*(2^10) chars as input seems more than enough
4925 test $ac_count -gt 10 && break
4927 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4930 $ac_path_EGREP_found && break 3
4935 if test -z "$ac_cv_path_EGREP"; then
4936 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4939 ac_cv_path_EGREP
=$EGREP
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4945 $as_echo "$ac_cv_path_EGREP" >&6; }
4946 EGREP
="$ac_cv_path_EGREP"
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4950 $as_echo_n "checking for fgrep... " >&6; }
4951 if ${ac_cv_path_FGREP+:} false
; then :
4952 $as_echo_n "(cached) " >&6
4954 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4955 then ac_cv_path_FGREP
="$GREP -F"
4957 if test -z "$FGREP"; then
4958 ac_path_FGREP_found
=false
4959 # Loop through the user's path and test for each of PROGNAME-LIST
4960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4961 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4964 test -z "$as_dir" && as_dir
=.
4965 for ac_prog
in fgrep
; do
4966 for ac_exec_ext
in '' $ac_executable_extensions; do
4967 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4968 as_fn_executable_p
"$ac_path_FGREP" ||
continue
4969 # Check for GNU ac_path_FGREP and select it if it is found.
4970 # Check for GNU $ac_path_FGREP
4971 case `"$ac_path_FGREP" --version 2>&1` in
4973 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4976 $as_echo_n 0123456789 >"conftest.in"
4979 cat "conftest.in" "conftest.in" >"conftest.tmp"
4980 mv "conftest.tmp" "conftest.in"
4981 cp "conftest.in" "conftest.nl"
4982 $as_echo 'FGREP' >> "conftest.nl"
4983 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4984 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4985 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4986 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4987 # Best one so far, save it but keep looking for a better one
4988 ac_cv_path_FGREP
="$ac_path_FGREP"
4989 ac_path_FGREP_max
=$ac_count
4991 # 10*(2^10) chars as input seems more than enough
4992 test $ac_count -gt 10 && break
4994 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4997 $ac_path_FGREP_found && break 3
5002 if test -z "$ac_cv_path_FGREP"; then
5003 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5006 ac_cv_path_FGREP
=$FGREP
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5012 $as_echo "$ac_cv_path_FGREP" >&6; }
5013 FGREP
="$ac_cv_path_FGREP"
5016 test -z "$GREP" && GREP
=grep
5034 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5035 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5036 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5039 $as_echo_n "checking how to print strings... " >&6; }
5040 # Test print first, because it will be a builtin if present.
5041 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5042 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5044 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5047 # Use this function as a fallback that always works.
5048 func_fallback_echo ()
5050 eval 'cat <<_LTECHO_EOF
5054 ECHO='func_fallback_echo
'
5057 # func_echo_all arg...
5058 # Invoke $ECHO with all args, space-separated.
5065 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5066 $as_echo "printf" >&6; } ;;
5067 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5068 $as_echo "print -r" >&6; } ;;
5069 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5070 $as_echo "cat" >&6; } ;;
5088 # Check whether --with-gnu-ld was given.
5089 if test "${with_gnu_ld+set}" = set; then :
5090 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5096 if test "$GCC" = yes; then
5097 # Check if gcc -print-prog-name=ld gives a path.
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5099 $as_echo_n "checking for ld used by $CC... " >&6; }
5102 # gcc leaves a trailing carriage return which upsets mingw
5103 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5105 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5108 # Accept absolute paths.
5110 re_direlt='/[^
/][^
/]*/\.\.
/'
5111 # Canonicalize the pathname of ld
5112 ac_prog=`$ECHO "$ac_prog"| $SED 's
%\\\\%/%g
'`
5113 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5114 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5116 test -z "$LD" && LD="$ac_prog"
5119 # If it fails, then pretend we aren't using GCC.
5123 # If it is relative, then search for the first ld in PATH.
5127 elif test "$with_gnu_ld" = yes; then
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5129 $as_echo_n "checking for GNU ld... " >&6; }
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5132 $as_echo_n "checking for non-GNU ld... " >&6; }
5134 if ${lt_cv_path_LD+:} false
; then :
5135 $as_echo_n "(cached) " >&6
5137 if test -z "$LD"; then
5138 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5139 for ac_dir
in $PATH; do
5141 test -z "$ac_dir" && ac_dir
=.
5142 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5143 lt_cv_path_LD
="$ac_dir/$ac_prog"
5144 # Check to see if the program is GNU ld. I'd rather use --version,
5145 # but apparently some variants of GNU ld only accept -v.
5146 # Break only if it was the GNU/non-GNU ld that we prefer.
5147 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5148 *GNU
* |
*'with BFD'*)
5149 test "$with_gnu_ld" != no
&& break
5152 test "$with_gnu_ld" != yes && break
5159 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5164 if test -n "$LD"; then
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5166 $as_echo "$LD" >&6; }
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5169 $as_echo "no" >&6; }
5171 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5173 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5174 if ${lt_cv_prog_gnu_ld+:} false
; then :
5175 $as_echo_n "(cached) " >&6
5177 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5178 case `$LD -v 2>&1 </dev/null` in
5179 *GNU
* |
*'with BFD'*)
5180 lt_cv_prog_gnu_ld
=yes
5183 lt_cv_prog_gnu_ld
=no
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5188 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5189 with_gnu_ld
=$lt_cv_prog_gnu_ld
5199 if test -n "$ac_tool_prefix"; then
5200 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5201 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5203 $as_echo_n "checking for $ac_word... " >&6; }
5204 if ${ac_cv_prog_RANLIB+:} false
; then :
5205 $as_echo_n "(cached) " >&6
5207 if test -n "$RANLIB"; then
5208 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5214 test -z "$as_dir" && as_dir
=.
5215 for ac_exec_ext
in '' $ac_executable_extensions; do
5216 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5217 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5227 RANLIB
=$ac_cv_prog_RANLIB
5228 if test -n "$RANLIB"; then
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5230 $as_echo "$RANLIB" >&6; }
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5233 $as_echo "no" >&6; }
5238 if test -z "$ac_cv_prog_RANLIB"; then
5239 ac_ct_RANLIB
=$RANLIB
5240 # Extract the first word of "ranlib", so it can be a program name with args.
5241 set dummy ranlib
; ac_word
=$2
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5243 $as_echo_n "checking for $ac_word... " >&6; }
5244 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5245 $as_echo_n "(cached) " >&6
5247 if test -n "$ac_ct_RANLIB"; then
5248 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5254 test -z "$as_dir" && as_dir
=.
5255 for ac_exec_ext
in '' $ac_executable_extensions; do
5256 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5257 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5267 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5268 if test -n "$ac_ct_RANLIB"; then
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5270 $as_echo "$ac_ct_RANLIB" >&6; }
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5273 $as_echo "no" >&6; }
5276 if test "x$ac_ct_RANLIB" = x
; then
5279 case $cross_compiling:$ac_tool_warned in
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5282 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5283 ac_tool_warned
=yes ;;
5285 RANLIB
=$ac_ct_RANLIB
5288 RANLIB
="$ac_cv_prog_RANLIB"
5291 if test -n "$ac_tool_prefix"; then
5292 # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
5293 set dummy
${ac_tool_prefix}objcopy
; ac_word
=$2
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5295 $as_echo_n "checking for $ac_word... " >&6; }
5296 if ${ac_cv_prog_OBJCOPY+:} false
; then :
5297 $as_echo_n "(cached) " >&6
5299 if test -n "$OBJCOPY"; then
5300 ac_cv_prog_OBJCOPY
="$OBJCOPY" # Let the user override the test.
5302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5306 test -z "$as_dir" && as_dir
=.
5307 for ac_exec_ext
in '' $ac_executable_extensions; do
5308 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5309 ac_cv_prog_OBJCOPY
="${ac_tool_prefix}objcopy"
5310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5319 OBJCOPY
=$ac_cv_prog_OBJCOPY
5320 if test -n "$OBJCOPY"; then
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
5322 $as_echo "$OBJCOPY" >&6; }
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5325 $as_echo "no" >&6; }
5330 if test -z "$ac_cv_prog_OBJCOPY"; then
5331 ac_ct_OBJCOPY
=$OBJCOPY
5332 # Extract the first word of "objcopy", so it can be a program name with args.
5333 set dummy objcopy
; ac_word
=$2
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5335 $as_echo_n "checking for $ac_word... " >&6; }
5336 if ${ac_cv_prog_ac_ct_OBJCOPY+:} false
; then :
5337 $as_echo_n "(cached) " >&6
5339 if test -n "$ac_ct_OBJCOPY"; then
5340 ac_cv_prog_ac_ct_OBJCOPY
="$ac_ct_OBJCOPY" # Let the user override the test.
5342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5346 test -z "$as_dir" && as_dir
=.
5347 for ac_exec_ext
in '' $ac_executable_extensions; do
5348 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5349 ac_cv_prog_ac_ct_OBJCOPY
="objcopy"
5350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5359 ac_ct_OBJCOPY
=$ac_cv_prog_ac_ct_OBJCOPY
5360 if test -n "$ac_ct_OBJCOPY"; then
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
5362 $as_echo "$ac_ct_OBJCOPY" >&6; }
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5365 $as_echo "no" >&6; }
5368 if test "x$ac_ct_OBJCOPY" = x
; then
5369 OBJCOPY
="missing-objcopy"
5371 case $cross_compiling:$ac_tool_warned in
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5374 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5375 ac_tool_warned
=yes ;;
5377 OBJCOPY
=$ac_ct_OBJCOPY
5380 OBJCOPY
="$ac_cv_prog_OBJCOPY"
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5391 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5396 macro_version
='2.2.7a'
5397 macro_revision
='1.3134'
5411 ltmain
="$ac_aux_dir/ltmain.sh"
5413 # Backslashify metacharacters that are still active within
5414 # double-quoted strings.
5415 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5417 # Same as above, but do not quote variable references.
5418 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5420 # Sed substitution to delay expansion of an escaped shell variable in a
5421 # double_quote_subst'ed string.
5422 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5424 # Sed substitution to delay expansion of an escaped single quote.
5425 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5427 # Sed substitution to avoid accidental globbing in evaled expressions
5428 no_glob_subst
='s/\*/\\\*/g'
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5431 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5432 if ${lt_cv_path_NM+:} false
; then :
5433 $as_echo_n "(cached) " >&6
5435 if test -n "$NM"; then
5436 # Let the user override the test.
5439 lt_nm_to_check
="${ac_tool_prefix}nm"
5440 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5441 lt_nm_to_check
="$lt_nm_to_check nm"
5443 for lt_tmp_nm
in $lt_nm_to_check; do
5444 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5445 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5447 test -z "$ac_dir" && ac_dir
=.
5448 tmp_nm
="$ac_dir/$lt_tmp_nm"
5449 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5450 # Check to see if the nm accepts a BSD-compat flag.
5451 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5452 # nm: unknown option "B" ignored
5453 # Tru64's nm complains that /dev/null is an invalid object file
5454 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5455 */dev
/null
* |
*'Invalid file or object type'*)
5456 lt_cv_path_NM
="$tmp_nm -B"
5460 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5462 lt_cv_path_NM
="$tmp_nm -p"
5466 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5467 continue # so that we can try to find one that supports BSD flags
5476 : ${lt_cv_path_NM=no}
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5480 $as_echo "$lt_cv_path_NM" >&6; }
5481 if test "$lt_cv_path_NM" != "no"; then
5484 # Didn't find any BSD compatible name lister, look for dumpbin.
5485 if test -n "$DUMPBIN"; then :
5486 # Let the user override the test.
5488 if test -n "$ac_tool_prefix"; then
5489 for ac_prog
in dumpbin
"link -dump"
5491 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5492 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5494 $as_echo_n "checking for $ac_word... " >&6; }
5495 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5496 $as_echo_n "(cached) " >&6
5498 if test -n "$DUMPBIN"; then
5499 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5505 test -z "$as_dir" && as_dir
=.
5506 for ac_exec_ext
in '' $ac_executable_extensions; do
5507 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5508 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5518 DUMPBIN
=$ac_cv_prog_DUMPBIN
5519 if test -n "$DUMPBIN"; then
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5521 $as_echo "$DUMPBIN" >&6; }
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5524 $as_echo "no" >&6; }
5528 test -n "$DUMPBIN" && break
5531 if test -z "$DUMPBIN"; then
5532 ac_ct_DUMPBIN
=$DUMPBIN
5533 for ac_prog
in dumpbin
"link -dump"
5535 # Extract the first word of "$ac_prog", so it can be a program name with args.
5536 set dummy
$ac_prog; ac_word
=$2
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5538 $as_echo_n "checking for $ac_word... " >&6; }
5539 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5540 $as_echo_n "(cached) " >&6
5542 if test -n "$ac_ct_DUMPBIN"; then
5543 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5549 test -z "$as_dir" && as_dir
=.
5550 for ac_exec_ext
in '' $ac_executable_extensions; do
5551 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5552 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5562 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5563 if test -n "$ac_ct_DUMPBIN"; then
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5565 $as_echo "$ac_ct_DUMPBIN" >&6; }
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5568 $as_echo "no" >&6; }
5572 test -n "$ac_ct_DUMPBIN" && break
5575 if test "x$ac_ct_DUMPBIN" = x
; then
5578 case $cross_compiling:$ac_tool_warned in
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5581 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5582 ac_tool_warned
=yes ;;
5584 DUMPBIN
=$ac_ct_DUMPBIN
5588 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5590 DUMPBIN
="$DUMPBIN -symbols"
5598 if test "$DUMPBIN" != ":"; then
5602 test -z "$NM" && NM
=nm
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5610 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5611 if ${lt_cv_nm_interface+:} false
; then :
5612 $as_echo_n "(cached) " >&6
5614 lt_cv_nm_interface
="BSD nm"
5615 echo "int some_variable = 0;" > conftest.
$ac_ext
5616 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5617 (eval "$ac_compile" 2>conftest.err
)
5618 cat conftest.err
>&5
5619 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5620 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5621 cat conftest.err
>&5
5622 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5623 cat conftest.out
>&5
5624 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5625 lt_cv_nm_interface
="MS dumpbin"
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5630 $as_echo "$lt_cv_nm_interface" >&6; }
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5633 $as_echo_n "checking whether ln -s works... " >&6; }
5635 if test "$LN_S" = "ln -s"; then
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5637 $as_echo "yes" >&6; }
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5640 $as_echo "no, using $LN_S" >&6; }
5643 # find the maximum length of command line arguments
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5645 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5646 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5647 $as_echo_n "(cached) " >&6
5654 # On DJGPP, this test can blow up pretty badly due to problems in libc
5655 # (any single argument exceeding 2000 bytes causes a buffer overrun
5656 # during glob expansion). Even if it were fixed, the result of this
5657 # check would be larger than it should be.
5658 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5662 # Under GNU Hurd, this test is not required because there is
5663 # no limit to the length of command line arguments.
5664 # Libtool will interpret -1 as no limit whatsoever
5665 lt_cv_sys_max_cmd_len
=-1;
5668 cygwin
* | mingw
* | cegcc
*)
5669 # On Win9x/ME, this test blows up -- it succeeds, but takes
5670 # about 5 minutes as the teststring grows exponentially.
5671 # Worse, since 9x/ME are not pre-emptively multitasking,
5672 # you end up with a "frozen" computer, even though with patience
5673 # the test eventually succeeds (with a max line length of 256k).
5674 # Instead, let's just punt: use the minimum linelength reported by
5675 # all of the supported platforms: 8192 (on NT/2K/XP).
5676 lt_cv_sys_max_cmd_len
=8192;
5680 # On MiNT this can take a long time and run out of memory.
5681 lt_cv_sys_max_cmd_len
=8192;
5685 # On AmigaOS with pdksh, this test takes hours, literally.
5686 # So we just punt and use a minimum line length of 8192.
5687 lt_cv_sys_max_cmd_len
=8192;
5690 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5691 # This has been around since 386BSD, at least. Likely further.
5692 if test -x /sbin
/sysctl
; then
5693 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5694 elif test -x /usr
/sbin
/sysctl
; then
5695 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5697 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5699 # And add a safety zone
5700 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5701 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5705 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5706 lt_cv_sys_max_cmd_len
=196608
5710 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5711 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5712 # nice to cause kernel panics so lets avoid the loop below.
5713 # First set a reasonable default.
5714 lt_cv_sys_max_cmd_len
=16384
5716 if test -x /sbin
/sysconfig
; then
5717 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5718 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5723 lt_cv_sys_max_cmd_len
=102400
5725 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5726 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5727 if test -n "$kargmax"; then
5728 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5730 lt_cv_sys_max_cmd_len
=32768
5734 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5735 if test -n "$lt_cv_sys_max_cmd_len"; then
5736 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5737 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5739 # Make teststring a little bigger before we do anything with it.
5740 # a 1K string should be a reasonable start.
5741 for i
in 1 2 3 4 5 6 7 8 ; do
5742 teststring
=$teststring$teststring
5744 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5745 # If test is not a shell built-in, we'll probably end up computing a
5746 # maximum length that is only half of the actual maximum length, but
5748 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5749 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5750 test $i != 17 # 1/2 MB should be enough
5753 teststring
=$teststring$teststring
5755 # Only check the string length outside the loop.
5756 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5758 # Add a significant safety factor because C++ compilers can tack on
5759 # massive amounts of additional arguments before passing them to the
5760 # linker. It appears as though 1/2 is a usable value.
5761 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5768 if test -n $lt_cv_sys_max_cmd_len ; then
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5770 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5773 $as_echo "none" >&6; }
5775 max_cmd_len
=$lt_cv_sys_max_cmd_len
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5787 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5788 # Try some XSI features
5791 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5793 && eval 'test $(( 1 + 1 )) -eq 2 \
5794 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5797 $as_echo "$xsi_shell" >&6; }
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5801 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5803 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5805 && lt_shell_append=yes
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5807 $as_echo "$lt_shell_append" >&6; }
5810 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5820 # test EBCDIC or ASCII
5821 case `echo X|tr X '\101'` in
5822 A) # ASCII based system
5823 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5824 lt_SP2NL='tr \040 \012'
5825 lt_NL2SP='tr \015\012 \040\040'
5827 *) # EBCDIC based system
5828 lt_SP2NL='tr \100 \n'
5829 lt_NL2SP='tr \r\n \100\100'
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5842 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5843 if ${lt_cv_ld_reload_flag+:} false; then :
5844 $as_echo_n "(cached
) " >&6
5846 lt_cv_ld_reload_flag='-r'
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5849 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5850 reload_flag=$lt_cv_ld_reload_flag
5851 case $reload_flag in
5853 *) reload_flag=" $reload_flag" ;;
5855 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5858 if test "$GCC" = yes; then
5859 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5861 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5874 if test -n "$ac_tool_prefix"; then
5875 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5876 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5878 $as_echo_n "checking
for $ac_word...
" >&6; }
5879 if ${ac_cv_prog_OBJDUMP+:} false; then :
5880 $as_echo_n "(cached
) " >&6
5882 if test -n "$OBJDUMP"; then
5883 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5889 test -z "$as_dir" && as_dir=.
5890 for ac_exec_ext in '' $ac_executable_extensions; do
5891 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5892 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5893 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5902 OBJDUMP=$ac_cv_prog_OBJDUMP
5903 if test -n "$OBJDUMP"; then
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5905 $as_echo "$OBJDUMP" >&6; }
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5908 $as_echo "no
" >&6; }
5913 if test -z "$ac_cv_prog_OBJDUMP"; then
5914 ac_ct_OBJDUMP=$OBJDUMP
5915 # Extract the first word of "objdump
", so it can be a program name with args.
5916 set dummy objdump; ac_word=$2
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5918 $as_echo_n "checking
for $ac_word...
" >&6; }
5919 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5920 $as_echo_n "(cached
) " >&6
5922 if test -n "$ac_ct_OBJDUMP"; then
5923 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5929 test -z "$as_dir" && as_dir=.
5930 for ac_exec_ext in '' $ac_executable_extensions; do
5931 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5932 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5933 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5942 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5943 if test -n "$ac_ct_OBJDUMP"; then
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5945 $as_echo "$ac_ct_OBJDUMP" >&6; }
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5948 $as_echo "no
" >&6; }
5951 if test "x
$ac_ct_OBJDUMP" = x; then
5954 case $cross_compiling:$ac_tool_warned in
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5957 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5958 ac_tool_warned=yes ;;
5960 OBJDUMP=$ac_ct_OBJDUMP
5963 OBJDUMP="$ac_cv_prog_OBJDUMP"
5966 test -z "$OBJDUMP" && OBJDUMP=objdump
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5977 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5978 if ${lt_cv_deplibs_check_method+:} false; then :
5979 $as_echo_n "(cached
) " >&6
5981 lt_cv_file_magic_cmd='$MAGIC_CMD'
5982 lt_cv_file_magic_test_file=
5983 lt_cv_deplibs_check_method='unknown'
5984 # Need to set the preceding variable on all platforms that support
5985 # interlibrary dependencies.
5986 # 'none' -- dependencies not supported.
5987 # `unknown' -- same as none, but documents that we really don't know.
5988 # 'pass_all' -- all dependencies passed with no checks.
5989 # 'test_compile' -- check by making test program.
5990 # 'file_magic [[regex]]' -- check by looking for files in library path
5991 # which responds to the $file_magic_cmd with a given extended regex.
5992 # If you have `file' or equivalent on your system and you're not sure
5993 # whether `pass_all' will *always* work, you probably want this one.
5997 lt_cv_deplibs_check_method=pass_all
6001 lt_cv_deplibs_check_method=pass_all
6005 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6006 lt_cv_file_magic_cmd='/usr/bin/file -L'
6007 lt_cv_file_magic_test_file=/shlib/libc.so
6011 # func_win32_libid is a shell function defined in ltmain.sh
6012 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6013 lt_cv_file_magic_cmd='func_win32_libid'
6017 # Base MSYS/MinGW do not provide the 'file' command needed by
6018 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6019 # unless we find 'file', for example because we are cross-compiling.
6020 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6021 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6022 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6023 lt_cv_file_magic_cmd='func_win32_libid'
6025 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6026 lt_cv_file_magic_cmd='$OBJDUMP -f'
6031 # use the weaker test based on 'objdump'. See mingw*.
6032 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6033 lt_cv_file_magic_cmd='$OBJDUMP -f'
6036 darwin* | rhapsody*)
6037 lt_cv_deplibs_check_method=pass_all
6040 freebsd* | dragonfly*)
6041 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6044 # Not sure whether the presence of OpenBSD here was a mistake.
6045 # Let's accept both of them until this is cleared up.
6046 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6047 lt_cv_file_magic_cmd=/usr/bin/file
6048 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6052 lt_cv_deplibs_check_method=pass_all
6057 lt_cv_deplibs_check_method=pass_all
6061 lt_cv_deplibs_check_method=pass_all
6064 hpux10.20* | hpux11*)
6065 lt_cv_file_magic_cmd=/usr/bin/file
6068 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6069 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6072 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]'
6073 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6076 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6077 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6083 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6084 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6087 irix5* | irix6* | nonstopux*)
6089 *-32|*"-32 ") libmagic=32-bit;;
6090 *-n32|*"-n32 ") libmagic=N32;;
6091 *-64|*"-64 ") libmagic=64-bit;;
6092 *) libmagic=never-match;;
6094 lt_cv_deplibs_check_method=pass_all
6097 # This must be Linux ELF.
6098 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6099 lt_cv_deplibs_check_method=pass_all
6103 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6104 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6106 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6111 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6112 lt_cv_file_magic_cmd=/usr/bin/file
6113 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6117 lt_cv_deplibs_check_method=pass_all
6121 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6122 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6124 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6128 osf3* | osf4* | osf5*)
6129 lt_cv_deplibs_check_method=pass_all
6133 lt_cv_deplibs_check_method=pass_all
6137 lt_cv_deplibs_check_method=pass_all
6140 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6141 lt_cv_deplibs_check_method=pass_all
6145 case $host_vendor in
6147 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]'
6148 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6151 lt_cv_deplibs_check_method=pass_all
6154 lt_cv_file_magic_cmd='/bin/file'
6155 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6158 lt_cv_file_magic_cmd='/bin/file'
6159 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6160 lt_cv_file_magic_test_file=/lib/libc.so
6163 lt_cv_deplibs_check_method=pass_all
6166 lt_cv_deplibs_check_method=pass_all
6172 lt_cv_deplibs_check_method=pass_all
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6178 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6179 file_magic_cmd=$lt_cv_file_magic_cmd
6180 deplibs_check_method=$lt_cv_deplibs_check_method
6181 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6194 if test -n "$ac_tool_prefix"; then
6195 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6196 set dummy ${ac_tool_prefix}ar; ac_word=$2
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6198 $as_echo_n "checking
for $ac_word...
" >&6; }
6199 if ${ac_cv_prog_AR+:} false; then :
6200 $as_echo_n "(cached
) " >&6
6202 if test -n "$AR"; then
6203 ac_cv_prog_AR="$AR" # Let the user override the test.
6205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6209 test -z "$as_dir" && as_dir=.
6210 for ac_exec_ext in '' $ac_executable_extensions; do
6211 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6212 ac_cv_prog_AR="${ac_tool_prefix}ar"
6213 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6223 if test -n "$AR"; then
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6225 $as_echo "$AR" >&6; }
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6228 $as_echo "no
" >&6; }
6233 if test -z "$ac_cv_prog_AR"; then
6235 # Extract the first word of "ar", so it can be a program name with args.
6236 set dummy ar; ac_word=$2
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6238 $as_echo_n "checking
for $ac_word...
" >&6; }
6239 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6240 $as_echo_n "(cached
) " >&6
6242 if test -n "$ac_ct_AR"; then
6243 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6249 test -z "$as_dir" && as_dir=.
6250 for ac_exec_ext in '' $ac_executable_extensions; do
6251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6252 ac_cv_prog_ac_ct_AR="ar"
6253 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6262 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6263 if test -n "$ac_ct_AR"; then
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6265 $as_echo "$ac_ct_AR" >&6; }
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6268 $as_echo "no
" >&6; }
6271 if test "x
$ac_ct_AR" = x; then
6274 case $cross_compiling:$ac_tool_warned in
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6277 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6278 ac_tool_warned=yes ;;
6286 test -z "$AR" && AR=ar
6287 test -z "$AR_FLAGS" && AR_FLAGS=cru
6299 if test -n "$ac_tool_prefix"; then
6300 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6301 set dummy ${ac_tool_prefix}strip; ac_word=$2
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6303 $as_echo_n "checking
for $ac_word...
" >&6; }
6304 if ${ac_cv_prog_STRIP+:} false; then :
6305 $as_echo_n "(cached
) " >&6
6307 if test -n "$STRIP"; then
6308 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6314 test -z "$as_dir" && as_dir=.
6315 for ac_exec_ext in '' $ac_executable_extensions; do
6316 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6317 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6318 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6327 STRIP=$ac_cv_prog_STRIP
6328 if test -n "$STRIP"; then
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6330 $as_echo "$STRIP" >&6; }
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6333 $as_echo "no
" >&6; }
6338 if test -z "$ac_cv_prog_STRIP"; then
6340 # Extract the first word of "strip
", so it can be a program name with args.
6341 set dummy strip; ac_word=$2
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6343 $as_echo_n "checking
for $ac_word...
" >&6; }
6344 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6345 $as_echo_n "(cached
) " >&6
6347 if test -n "$ac_ct_STRIP"; then
6348 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6354 test -z "$as_dir" && as_dir=.
6355 for ac_exec_ext in '' $ac_executable_extensions; do
6356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6357 ac_cv_prog_ac_ct_STRIP="strip
"
6358 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6367 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6368 if test -n "$ac_ct_STRIP"; then
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6370 $as_echo "$ac_ct_STRIP" >&6; }
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6373 $as_echo "no
" >&6; }
6376 if test "x
$ac_ct_STRIP" = x; then
6379 case $cross_compiling:$ac_tool_warned in
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6382 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6383 ac_tool_warned=yes ;;
6388 STRIP="$ac_cv_prog_STRIP"
6391 test -z "$STRIP" && STRIP=:
6398 if test -n "$ac_tool_prefix"; then
6399 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6400 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6402 $as_echo_n "checking
for $ac_word...
" >&6; }
6403 if ${ac_cv_prog_RANLIB+:} false; then :
6404 $as_echo_n "(cached
) " >&6
6406 if test -n "$RANLIB"; then
6407 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6413 test -z "$as_dir" && as_dir=.
6414 for ac_exec_ext in '' $ac_executable_extensions; do
6415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6416 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6417 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6426 RANLIB=$ac_cv_prog_RANLIB
6427 if test -n "$RANLIB"; then
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6429 $as_echo "$RANLIB" >&6; }
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6432 $as_echo "no
" >&6; }
6437 if test -z "$ac_cv_prog_RANLIB"; then
6438 ac_ct_RANLIB=$RANLIB
6439 # Extract the first word of "ranlib
", so it can be a program name with args.
6440 set dummy ranlib; ac_word=$2
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6442 $as_echo_n "checking
for $ac_word...
" >&6; }
6443 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6444 $as_echo_n "(cached
) " >&6
6446 if test -n "$ac_ct_RANLIB"; then
6447 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6453 test -z "$as_dir" && as_dir=.
6454 for ac_exec_ext in '' $ac_executable_extensions; do
6455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6456 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6457 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6466 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6467 if test -n "$ac_ct_RANLIB"; then
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6469 $as_echo "$ac_ct_RANLIB" >&6; }
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6472 $as_echo "no
" >&6; }
6475 if test "x
$ac_ct_RANLIB" = x; then
6478 case $cross_compiling:$ac_tool_warned in
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6481 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6482 ac_tool_warned=yes ;;
6484 RANLIB=$ac_ct_RANLIB
6487 RANLIB="$ac_cv_prog_RANLIB"
6490 test -z "$RANLIB" && RANLIB=:
6497 # Determine commands to create old-style static archives.
6498 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6499 old_postinstall_cmds='chmod 644 $oldlib'
6500 old_postuninstall_cmds=
6502 if test -n "$RANLIB"; then
6505 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6508 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6511 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6516 lock_old_archive_extraction=yes ;;
6518 lock_old_archive_extraction=no ;;
6559 # If no C compiler was specified, use CC.
6562 # If no C compiler flags were specified, use CFLAGS.
6563 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6565 # Allow CC to be a program name with arguments.
6569 # Check for command to grab the raw symbol name followed by C symbol from nm.
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6571 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6572 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6573 $as_echo_n "(cached
) " >&6
6576 # These are sane defaults that work on at least a few old systems.
6577 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6579 # Character class describing NM global symbol codes.
6580 symcode='[BCDEGRST]'
6582 # Regexp to match symbols that can be accessed directly from C.
6583 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6585 # Define system-specific variables.
6590 cygwin* | mingw* | pw32* | cegcc*)
6591 symcode='[ABCDGISTW]'
6594 if test "$host_cpu" = ia64; then
6595 symcode='[ABCDEGRST]'
6599 symcode='[BCDEGRST]'
6602 symcode='[BCDEGQRST]'
6613 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6621 # If we're using GNU nm, then use its standard symbol codes.
6622 case `$NM -V 2>&1` in
6623 *GNU* | *'with BFD'*)
6624 symcode='[ABCDGIRSTW]' ;;
6627 # Transform an extracted symbol line into a proper C declaration.
6628 # Some systems (esp. on ia64) link data and code symbols differently,
6629 # so use this general approach.
6630 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6632 # Transform an extracted symbol line into symbol name and symbol address
6633 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6634 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'"
6636 # Handle CRLF in mingw tool chain
6640 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6644 # Try without a prefix underscore, then with it.
6645 for ac_symprfx in "" "_
"; do
6647 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6648 symxfrm="\\1 $ac_symprfx\\2 \\2"
6650 # Write the raw and C identifiers.
6651 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6652 # Fake it for dumpbin and say T for any non-static function
6653 # and D for any global variable.
6654 # Also find C++ and __fastcall symbols from MSVC++,
6655 # which start with @ or ?.
6656 lt_cv_sys_global_symbol_pipe="$AWK '"\
6657 " {last_section=section; section=\$ 3};"\
6658 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6659 " \$ 0!~/External *\|/{next};"\
6660 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6661 " {if(hide[section]) next};"\
6662 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6663 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6664 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6665 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6666 " ' prfx
=^
$ac_symprfx"
6668 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6671 # Check to see that the pipe works correctly.
6675 cat > conftest.$ac_ext <<_LT_EOF
6680 void nm_test_func(void);
6681 void nm_test_func(void){}
6685 int main(){nm_test_var='a';nm_test_func();return(0);}
6688 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6689 (eval $ac_compile) 2>&5
6691 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6692 test $ac_status = 0; }; then
6693 # Now try to grab the symbols.
6695 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6696 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6698 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6699 test $ac_status = 0; } && test -s "$nlist"; then
6700 # Try sorting and uniquifying the output.
6701 if sort "$nlist" | uniq > "$nlist"T; then
6702 mv -f "$nlist"T "$nlist"
6707 # Make sure that we snagged all the symbols we need.
6708 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6709 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6710 cat <<_LT_EOF > conftest.$ac_ext
6716 # Now generate the symbol file.
6717 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6719 cat <<_LT_EOF >> conftest.$ac_ext
6721 /* The mapping between symbol names and symbols. */
6726 lt__PROGRAM__LTX_preloaded_symbols[] =
6728 { "@PROGRAM@
", (void *) 0 },
6730 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6731 cat <<\_LT_EOF >> conftest.$ac_ext
6735 /* This works around a problem in FreeBSD linker */
6736 #ifdef FREEBSD_WORKAROUND
6737 static const void *lt_preloaded_setup() {
6738 return lt__PROGRAM__LTX_preloaded_symbols;
6746 # Now try linking the two files.
6747 mv conftest.$ac_objext conftstm.$ac_objext
6748 lt_save_LIBS="$LIBS"
6749 lt_save_CFLAGS="$CFLAGS"
6750 LIBS="conftstm.
$ac_objext"
6751 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6752 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6753 (eval $ac_link) 2>&5
6755 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6756 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6759 LIBS="$lt_save_LIBS"
6760 CFLAGS="$lt_save_CFLAGS"
6762 echo "cannot
find nm_test_func
in $nlist" >&5
6765 echo "cannot
find nm_test_var
in $nlist" >&5
6768 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6771 echo "$progname: failed program was
:" >&5
6772 cat conftest.$ac_ext >&5
6774 rm -rf conftest* conftst*
6776 # Do not use the global_symbol_pipe unless it works.
6777 if test "$pipe_works" = yes; then
6780 lt_cv_sys_global_symbol_pipe=
6786 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6787 lt_cv_sys_global_symbol_to_cdecl=
6789 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6791 $as_echo "failed
" >&6; }
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6794 $as_echo "ok
" >&6; }
6819 # Check whether --enable-libtool-lock was given.
6820 if test "${enable_libtool_lock+set}" = set; then :
6821 enableval=$enable_libtool_lock;
6824 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6826 # Some flags need to be propagated to the compiler or linker for good
6830 # Find out which ABI we are using.
6831 echo 'int i;' > conftest.$ac_ext
6832 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6833 (eval $ac_compile) 2>&5
6835 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6836 test $ac_status = 0; }; then
6837 case `/usr/bin/file conftest.$ac_objext` in
6849 # Find out which ABI we are using.
6850 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6851 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6852 (eval $ac_compile) 2>&5
6854 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6855 test $ac_status = 0; }; then
6856 if test "$lt_cv_prog_gnu_ld" = yes; then
6857 case `/usr/bin/file conftest.$ac_objext` in
6859 LD="${LD-ld} -melf32bsmip"
6862 LD="${LD-ld} -melf32bmipn32"
6865 LD="${LD-ld} -melf64bmip"
6869 case `/usr/bin/file conftest.$ac_objext` in
6885 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6886 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6887 # Find out which ABI we are using.
6888 echo 'int i;' > conftest.$ac_ext
6889 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6890 (eval $ac_compile) 2>&5
6892 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6893 test $ac_status = 0; }; then
6894 case `/usr/bin/file conftest.o` in
6897 x86_64-*kfreebsd*-gnu)
6898 LD="${LD-ld} -m elf_i386_fbsd
"
6901 case `/usr/bin/file conftest.o` in
6903 LD="${LD-ld} -m elf32_x86_64
"
6906 LD="${LD-ld} -m elf_i386
"
6910 powerpc64le-*linux*)
6911 LD="${LD-ld} -m elf32lppclinux
"
6914 LD="${LD-ld} -m elf32ppclinux
"
6917 LD="${LD-ld} -m elf_s390
"
6920 LD="${LD-ld} -m elf32_sparc
"
6926 x86_64-*kfreebsd*-gnu)
6927 LD="${LD-ld} -m elf_x86_64_fbsd
"
6930 LD="${LD-ld} -m elf_x86_64
"
6933 LD="${LD-ld} -m elf64lppc
"
6936 LD="${LD-ld} -m elf64ppc
"
6938 s390*-*linux*|s390*-*tpf*)
6939 LD="${LD-ld} -m elf64_s390
"
6942 LD="${LD-ld} -m elf64_sparc
"
6952 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6953 SAVE_CFLAGS="$CFLAGS"
6954 CFLAGS="$CFLAGS -belf"
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6956 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6957 if ${lt_cv_cc_needs_belf+:} false; then :
6958 $as_echo_n "(cached
) " >&6
6961 ac_cpp='$CPP $CPPFLAGS'
6962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6967 /* end confdefs.h. */
6977 if ac_fn_c_try_link "$LINENO"; then :
6978 lt_cv_cc_needs_belf=yes
6980 lt_cv_cc_needs_belf=no
6982 rm -f core conftest.err conftest.$ac_objext \
6983 conftest$ac_exeext conftest.$ac_ext
6985 ac_cpp='$CPP $CPPFLAGS'
6986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6992 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6993 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6994 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6995 CFLAGS="$SAVE_CFLAGS"
6999 # Find out which ABI we are using.
7000 echo 'int i;' > conftest.$ac_ext
7001 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7002 (eval $ac_compile) 2>&5
7004 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7005 test $ac_status = 0; }; then
7006 case `/usr/bin/file conftest.o` in
7008 case $lt_cv_prog_gnu_ld in
7009 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7011 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7023 need_locks="$enable_libtool_lock"
7027 rhapsody* | darwin*)
7028 if test -n "$ac_tool_prefix"; then
7029 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7030 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7032 $as_echo_n "checking
for $ac_word...
" >&6; }
7033 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7034 $as_echo_n "(cached
) " >&6
7036 if test -n "$DSYMUTIL"; then
7037 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7043 test -z "$as_dir" && as_dir=.
7044 for ac_exec_ext in '' $ac_executable_extensions; do
7045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7046 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7047 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7056 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7057 if test -n "$DSYMUTIL"; then
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7059 $as_echo "$DSYMUTIL" >&6; }
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7062 $as_echo "no
" >&6; }
7067 if test -z "$ac_cv_prog_DSYMUTIL"; then
7068 ac_ct_DSYMUTIL=$DSYMUTIL
7069 # Extract the first word of "dsymutil
", so it can be a program name with args.
7070 set dummy dsymutil; ac_word=$2
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7072 $as_echo_n "checking
for $ac_word...
" >&6; }
7073 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7074 $as_echo_n "(cached
) " >&6
7076 if test -n "$ac_ct_DSYMUTIL"; then
7077 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7083 test -z "$as_dir" && as_dir=.
7084 for ac_exec_ext in '' $ac_executable_extensions; do
7085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7086 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7087 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7096 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7097 if test -n "$ac_ct_DSYMUTIL"; then
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7099 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7102 $as_echo "no
" >&6; }
7105 if test "x
$ac_ct_DSYMUTIL" = x; then
7108 case $cross_compiling:$ac_tool_warned in
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7111 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7112 ac_tool_warned=yes ;;
7114 DSYMUTIL=$ac_ct_DSYMUTIL
7117 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7120 if test -n "$ac_tool_prefix"; then
7121 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7122 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7124 $as_echo_n "checking
for $ac_word...
" >&6; }
7125 if ${ac_cv_prog_NMEDIT+:} false; then :
7126 $as_echo_n "(cached
) " >&6
7128 if test -n "$NMEDIT"; then
7129 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7135 test -z "$as_dir" && as_dir=.
7136 for ac_exec_ext in '' $ac_executable_extensions; do
7137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7138 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7139 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7148 NMEDIT=$ac_cv_prog_NMEDIT
7149 if test -n "$NMEDIT"; then
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7151 $as_echo "$NMEDIT" >&6; }
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7154 $as_echo "no
" >&6; }
7159 if test -z "$ac_cv_prog_NMEDIT"; then
7160 ac_ct_NMEDIT=$NMEDIT
7161 # Extract the first word of "nmedit
", so it can be a program name with args.
7162 set dummy nmedit; ac_word=$2
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7164 $as_echo_n "checking
for $ac_word...
" >&6; }
7165 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7166 $as_echo_n "(cached
) " >&6
7168 if test -n "$ac_ct_NMEDIT"; then
7169 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7175 test -z "$as_dir" && as_dir=.
7176 for ac_exec_ext in '' $ac_executable_extensions; do
7177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7178 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7179 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7188 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7189 if test -n "$ac_ct_NMEDIT"; then
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7191 $as_echo "$ac_ct_NMEDIT" >&6; }
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7194 $as_echo "no
" >&6; }
7197 if test "x
$ac_ct_NMEDIT" = x; then
7200 case $cross_compiling:$ac_tool_warned in
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7203 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7204 ac_tool_warned=yes ;;
7206 NMEDIT=$ac_ct_NMEDIT
7209 NMEDIT="$ac_cv_prog_NMEDIT"
7212 if test -n "$ac_tool_prefix"; then
7213 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7214 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7216 $as_echo_n "checking
for $ac_word...
" >&6; }
7217 if ${ac_cv_prog_LIPO+:} false; then :
7218 $as_echo_n "(cached
) " >&6
7220 if test -n "$LIPO"; then
7221 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7227 test -z "$as_dir" && as_dir=.
7228 for ac_exec_ext in '' $ac_executable_extensions; do
7229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7230 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7231 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7240 LIPO=$ac_cv_prog_LIPO
7241 if test -n "$LIPO"; then
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7243 $as_echo "$LIPO" >&6; }
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7246 $as_echo "no
" >&6; }
7251 if test -z "$ac_cv_prog_LIPO"; then
7253 # Extract the first word of "lipo
", so it can be a program name with args.
7254 set dummy lipo; ac_word=$2
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7256 $as_echo_n "checking
for $ac_word...
" >&6; }
7257 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7258 $as_echo_n "(cached
) " >&6
7260 if test -n "$ac_ct_LIPO"; then
7261 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7267 test -z "$as_dir" && as_dir=.
7268 for ac_exec_ext in '' $ac_executable_extensions; do
7269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7270 ac_cv_prog_ac_ct_LIPO="lipo
"
7271 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7280 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7281 if test -n "$ac_ct_LIPO"; then
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7283 $as_echo "$ac_ct_LIPO" >&6; }
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7286 $as_echo "no
" >&6; }
7289 if test "x
$ac_ct_LIPO" = x; then
7292 case $cross_compiling:$ac_tool_warned in
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7295 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7296 ac_tool_warned=yes ;;
7301 LIPO="$ac_cv_prog_LIPO"
7304 if test -n "$ac_tool_prefix"; then
7305 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7306 set dummy ${ac_tool_prefix}otool; ac_word=$2
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7308 $as_echo_n "checking
for $ac_word...
" >&6; }
7309 if ${ac_cv_prog_OTOOL+:} false; then :
7310 $as_echo_n "(cached
) " >&6
7312 if test -n "$OTOOL"; then
7313 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7319 test -z "$as_dir" && as_dir=.
7320 for ac_exec_ext in '' $ac_executable_extensions; do
7321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7322 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7323 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7332 OTOOL=$ac_cv_prog_OTOOL
7333 if test -n "$OTOOL"; then
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7335 $as_echo "$OTOOL" >&6; }
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7338 $as_echo "no
" >&6; }
7343 if test -z "$ac_cv_prog_OTOOL"; then
7345 # Extract the first word of "otool
", so it can be a program name with args.
7346 set dummy otool; ac_word=$2
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7348 $as_echo_n "checking
for $ac_word...
" >&6; }
7349 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7350 $as_echo_n "(cached
) " >&6
7352 if test -n "$ac_ct_OTOOL"; then
7353 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7359 test -z "$as_dir" && as_dir=.
7360 for ac_exec_ext in '' $ac_executable_extensions; do
7361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7362 ac_cv_prog_ac_ct_OTOOL="otool
"
7363 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7372 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7373 if test -n "$ac_ct_OTOOL"; then
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7375 $as_echo "$ac_ct_OTOOL" >&6; }
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7378 $as_echo "no
" >&6; }
7381 if test "x
$ac_ct_OTOOL" = x; then
7384 case $cross_compiling:$ac_tool_warned in
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7387 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7388 ac_tool_warned=yes ;;
7393 OTOOL="$ac_cv_prog_OTOOL"
7396 if test -n "$ac_tool_prefix"; then
7397 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7398 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7400 $as_echo_n "checking
for $ac_word...
" >&6; }
7401 if ${ac_cv_prog_OTOOL64+:} false; then :
7402 $as_echo_n "(cached
) " >&6
7404 if test -n "$OTOOL64"; then
7405 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7411 test -z "$as_dir" && as_dir=.
7412 for ac_exec_ext in '' $ac_executable_extensions; do
7413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7414 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7415 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7424 OTOOL64=$ac_cv_prog_OTOOL64
7425 if test -n "$OTOOL64"; then
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7427 $as_echo "$OTOOL64" >&6; }
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7430 $as_echo "no
" >&6; }
7435 if test -z "$ac_cv_prog_OTOOL64"; then
7436 ac_ct_OTOOL64=$OTOOL64
7437 # Extract the first word of "otool64
", so it can be a program name with args.
7438 set dummy otool64; ac_word=$2
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7440 $as_echo_n "checking
for $ac_word...
" >&6; }
7441 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7442 $as_echo_n "(cached
) " >&6
7444 if test -n "$ac_ct_OTOOL64"; then
7445 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7451 test -z "$as_dir" && as_dir=.
7452 for ac_exec_ext in '' $ac_executable_extensions; do
7453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7454 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7455 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7464 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7465 if test -n "$ac_ct_OTOOL64"; then
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7467 $as_echo "$ac_ct_OTOOL64" >&6; }
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7470 $as_echo "no
" >&6; }
7473 if test "x
$ac_ct_OTOOL64" = x; then
7476 case $cross_compiling:$ac_tool_warned in
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7479 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7480 ac_tool_warned=yes ;;
7482 OTOOL64=$ac_ct_OTOOL64
7485 OTOOL64="$ac_cv_prog_OTOOL64"
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7515 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7516 if ${lt_cv_apple_cc_single_mod+:} false; then :
7517 $as_echo_n "(cached
) " >&6
7519 lt_cv_apple_cc_single_mod=no
7520 if test -z "${LT_MULTI_MODULE}"; then
7521 # By default we will add the -single_module flag. You can override
7522 # by either setting the environment variable LT_MULTI_MODULE
7523 # non-empty at configure time, or by adding -multi_module to the
7525 rm -rf libconftest.dylib*
7526 echo "int foo
(void
){return 1;}" > conftest.c
7527 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7528 -dynamiclib -Wl,-single_module conftest.c
" >&5
7529 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7530 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7532 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7533 lt_cv_apple_cc_single_mod=yes
7535 cat conftest.err >&5
7537 rm -rf libconftest.dylib*
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7542 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7544 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7545 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7546 $as_echo_n "(cached
) " >&6
7548 lt_cv_ld_exported_symbols_list=no
7549 save_LDFLAGS=$LDFLAGS
7550 echo "_main
" > conftest.sym
7551 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7553 /* end confdefs.h. */
7563 if ac_fn_c_try_link "$LINENO"; then :
7564 lt_cv_ld_exported_symbols_list=yes
7566 lt_cv_ld_exported_symbols_list=no
7568 rm -f core conftest.err conftest.$ac_objext \
7569 conftest$ac_exeext conftest.$ac_ext
7570 LDFLAGS="$save_LDFLAGS"
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7574 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7576 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7577 if ${lt_cv_ld_force_load+:} false; then :
7578 $as_echo_n "(cached
) " >&6
7580 lt_cv_ld_force_load=no
7581 cat > conftest.c << _LT_EOF
7582 int forced_loaded() { return 2;}
7584 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7585 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7586 echo "$AR cru libconftest.a conftest.o
" >&5
7587 $AR cru libconftest.a conftest.o 2>&5
7588 cat > conftest.c << _LT_EOF
7589 int main() { return 0;}
7591 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7592 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7594 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7595 lt_cv_ld_force_load=yes
7597 cat conftest.err >&5
7599 rm -f conftest.err libconftest.a conftest conftest.c
7600 rm -rf conftest.dSYM
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7604 $as_echo "$lt_cv_ld_force_load" >&6; }
7606 rhapsody* | darwin1.[012])
7607 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7609 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7610 darwin*) # darwin 5.x on
7611 # if running on 10.5 or later, the deployment target defaults
7612 # to the OS version, if on x86, and 10.4, the deployment
7613 # target defaults to 10.4. Don't you love it?
7614 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7615 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7616 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7618 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7620 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7624 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7625 _lt_dar_single_mod='$single_module'
7627 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7628 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7630 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7632 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7633 _lt_dsymutil='~$DSYMUTIL $lib || :'
7641 ac_cpp='$CPP $CPPFLAGS'
7642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7646 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7647 # On Suns, sometimes $CPP names a directory.
7648 if test -n "$CPP" && test -d "$CPP"; then
7651 if test -z "$CPP"; then
7652 if ${ac_cv_prog_CPP+:} false; then :
7653 $as_echo_n "(cached
) " >&6
7655 # Double quotes because CPP needs to be expanded
7656 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7659 for ac_c_preproc_warn_flag in '' yes
7661 # Use a header file that comes with gcc, so configuring glibc
7662 # with a fresh cross-compiler works.
7663 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7664 # <limits.h> exists even on freestanding compilers.
7665 # On the NeXT, cc -E runs the code through the compiler's parser,
7666 # not just through cpp. "Syntax error
" is here to catch this case.
7667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7668 /* end confdefs.h. */
7670 # include <limits.h>
7672 # include <assert.h>
7676 if ac_fn_c_try_cpp "$LINENO"; then :
7679 # Broken: fails on valid input.
7682 rm -f conftest.err conftest.i conftest.$ac_ext
7684 # OK, works on sane cases. Now check whether nonexistent headers
7685 # can be detected and how.
7686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7687 /* end confdefs.h. */
7688 #include <ac_nonexistent.h>
7690 if ac_fn_c_try_cpp "$LINENO"; then :
7691 # Broken: success on invalid input.
7694 # Passes both tests.
7698 rm -f conftest.err conftest.i conftest.$ac_ext
7701 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7702 rm -f conftest.i conftest.err conftest.$ac_ext
7703 if $ac_preproc_ok; then :
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7716 $as_echo "$CPP" >&6; }
7718 for ac_c_preproc_warn_flag in '' yes
7720 # Use a header file that comes with gcc, so configuring glibc
7721 # with a fresh cross-compiler works.
7722 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7723 # <limits.h> exists even on freestanding compilers.
7724 # On the NeXT, cc -E runs the code through the compiler's parser,
7725 # not just through cpp. "Syntax error
" is here to catch this case.
7726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7727 /* end confdefs.h. */
7729 # include <limits.h>
7731 # include <assert.h>
7735 if ac_fn_c_try_cpp "$LINENO"; then :
7738 # Broken: fails on valid input.
7741 rm -f conftest.err conftest.i conftest.$ac_ext
7743 # OK, works on sane cases. Now check whether nonexistent headers
7744 # can be detected and how.
7745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7746 /* end confdefs.h. */
7747 #include <ac_nonexistent.h>
7749 if ac_fn_c_try_cpp "$LINENO"; then :
7750 # Broken: success on invalid input.
7753 # Passes both tests.
7757 rm -f conftest.err conftest.i conftest.$ac_ext
7760 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7761 rm -f conftest.i conftest.err conftest.$ac_ext
7762 if $ac_preproc_ok; then :
7765 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7767 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7768 See \`config.log' for more details
" "$LINENO" 5; }
7772 ac_cpp='$CPP $CPPFLAGS'
7773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7779 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7780 if ${ac_cv_header_stdc+:} false; then :
7781 $as_echo_n "(cached
) " >&6
7783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7784 /* end confdefs.h. */
7798 if ac_fn_c_try_compile "$LINENO"; then :
7799 ac_cv_header_stdc=yes
7801 ac_cv_header_stdc=no
7803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7805 if test $ac_cv_header_stdc = yes; then
7806 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7808 /* end confdefs.h. */
7812 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7813 $EGREP "memchr
" >/dev/null 2>&1; then :
7816 ac_cv_header_stdc=no
7822 if test $ac_cv_header_stdc = yes; then
7823 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7825 /* end confdefs.h. */
7829 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7830 $EGREP "free
" >/dev/null 2>&1; then :
7833 ac_cv_header_stdc=no
7839 if test $ac_cv_header_stdc = yes; then
7840 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7841 if test "$cross_compiling" = yes; then :
7844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7845 /* end confdefs.h. */
7848 #if ((' ' & 0x0FF) == 0x020)
7849 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7850 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7852 # define ISLOWER(c) \
7853 (('a' <= (c) && (c) <= 'i') \
7854 || ('j' <= (c) && (c) <= 'r') \
7855 || ('s' <= (c) && (c) <= 'z'))
7856 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7859 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7864 for (i = 0; i < 256; i++)
7865 if (XOR (islower (i), ISLOWER (i))
7866 || toupper (i) != TOUPPER (i))
7871 if ac_fn_c_try_run "$LINENO"; then :
7874 ac_cv_header_stdc=no
7876 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7877 conftest.$ac_objext conftest.beam conftest.$ac_ext
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7883 $as_echo "$ac_cv_header_stdc" >&6; }
7884 if test $ac_cv_header_stdc = yes; then
7886 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7890 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7891 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7892 inttypes.h stdint.h unistd.h
7894 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7895 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7897 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7898 cat >>confdefs.h
<<_ACEOF
7899 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7907 for ac_header
in dlfcn.h
7909 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7911 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7912 cat >>confdefs.h
<<_ACEOF
7913 #define HAVE_DLFCN_H 1
7920 if test -n "$ac_tool_prefix"; then
7921 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
7922 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7924 $as_echo_n "checking for $ac_word... " >&6; }
7925 if ${ac_cv_prog_GOC+:} false
; then :
7926 $as_echo_n "(cached) " >&6
7928 if test -n "$GOC"; then
7929 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
7931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7935 test -z "$as_dir" && as_dir
=.
7936 for ac_exec_ext
in '' $ac_executable_extensions; do
7937 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7938 ac_cv_prog_GOC
="${ac_tool_prefix}gccgo"
7939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7949 if test -n "$GOC"; then
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
7951 $as_echo "$GOC" >&6; }
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7954 $as_echo "no" >&6; }
7959 if test -z "$ac_cv_prog_GOC"; then
7961 # Extract the first word of "gccgo", so it can be a program name with args.
7962 set dummy gccgo
; ac_word
=$2
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7964 $as_echo_n "checking for $ac_word... " >&6; }
7965 if ${ac_cv_prog_ac_ct_GOC+:} false
; then :
7966 $as_echo_n "(cached) " >&6
7968 if test -n "$ac_ct_GOC"; then
7969 ac_cv_prog_ac_ct_GOC
="$ac_ct_GOC" # Let the user override the test.
7971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7975 test -z "$as_dir" && as_dir
=.
7976 for ac_exec_ext
in '' $ac_executable_extensions; do
7977 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7978 ac_cv_prog_ac_ct_GOC
="gccgo"
7979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7988 ac_ct_GOC
=$ac_cv_prog_ac_ct_GOC
7989 if test -n "$ac_ct_GOC"; then
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
7991 $as_echo "$ac_ct_GOC" >&6; }
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7994 $as_echo "no" >&6; }
7997 if test "x$ac_ct_GOC" = x
; then
8000 case $cross_compiling:$ac_tool_warned in
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8003 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8004 ac_tool_warned
=yes ;;
8009 GOC
="$ac_cv_prog_GOC"
8025 # Check whether --enable-shared was given.
8026 if test "${enable_shared+set}" = set; then :
8027 enableval
=$enable_shared; p
=${PACKAGE-default}
8029 yes) enable_shared
=yes ;;
8030 no
) enable_shared
=no
;;
8033 # Look at the argument we got. We use all the common list separators.
8034 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8035 for pkg
in $enableval; do
8037 if test "X$pkg" = "X$p"; then
8056 # Check whether --enable-static was given.
8057 if test "${enable_static+set}" = set; then :
8058 enableval
=$enable_static; p
=${PACKAGE-default}
8060 yes) enable_static
=yes ;;
8061 no
) enable_static
=no
;;
8064 # Look at the argument we got. We use all the common list separators.
8065 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8066 for pkg
in $enableval; do
8068 if test "X$pkg" = "X$p"; then
8088 # Check whether --with-pic was given.
8089 if test "${with_pic+set}" = set; then :
8090 withval
=$with_pic; pic_mode
="$withval"
8096 test -z "$pic_mode" && pic_mode
=default
8104 # Check whether --enable-fast-install was given.
8105 if test "${enable_fast_install+set}" = set; then :
8106 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8108 yes) enable_fast_install
=yes ;;
8109 no
) enable_fast_install
=no
;;
8111 enable_fast_install
=no
8112 # Look at the argument we got. We use all the common list separators.
8113 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8114 for pkg
in $enableval; do
8116 if test "X$pkg" = "X$p"; then
8117 enable_fast_install
=yes
8124 enable_fast_install
=yes
8137 # This can be used to rebuild libtool when needed
8138 LIBTOOL_DEPS
="$ltmain"
8140 # Always use our own libtool.
8141 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8168 test -z "$LN_S" && LN_S
="ln -s"
8183 if test -n "${ZSH_VERSION+set}" ; then
8184 setopt NO_GLOB_SUBST
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8188 $as_echo_n "checking for objdir... " >&6; }
8189 if ${lt_cv_objdir+:} false
; then :
8190 $as_echo_n "(cached) " >&6
8192 rm -f .libs
2>/dev
/null
8193 mkdir .libs
2>/dev
/null
8194 if test -d .libs
; then
8197 # MS-DOS does not allow filenames that begin with a dot.
8200 rmdir .libs
2>/dev
/null
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8203 $as_echo "$lt_cv_objdir" >&6; }
8204 objdir
=$lt_cv_objdir
8210 cat >>confdefs.h
<<_ACEOF
8211 #define LT_OBJDIR "$lt_cv_objdir/"
8219 # AIX sometimes has problems with the GCC collect2 program. For some
8220 # reason, if we set the COLLECT_NAMES environment variable, the problems
8221 # vanish in a puff of smoke.
8222 if test "X${COLLECT_NAMES+set}" != Xset
; then
8224 export COLLECT_NAMES
8231 can_build_shared
=yes
8233 # All known linkers require a `.a' archive for static linking (except MSVC,
8234 # which needs '.lib').
8237 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8240 old_CFLAGS
="$CFLAGS"
8242 # Set sane defaults for various variables
8243 test -z "$CC" && CC
=cc
8244 test -z "$LTCC" && LTCC
=$CC
8245 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8246 test -z "$LD" && LD
=ld
8247 test -z "$ac_objext" && ac_objext
=o
8249 for cc_temp
in $compiler""; do
8251 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8252 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8257 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8260 # Only perform the check for file, if the check method requires it
8261 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8262 case $deplibs_check_method in
8264 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8266 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8267 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8268 $as_echo_n "(cached) " >&6
8272 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8275 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8276 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8277 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8278 for ac_dir
in $ac_dummy; do
8280 test -z "$ac_dir" && ac_dir
=.
8281 if test -f $ac_dir/${ac_tool_prefix}file; then
8282 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8283 if test -n "$file_magic_test_file"; then
8284 case $deplibs_check_method in
8286 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8287 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8288 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8289 $EGREP "$file_magic_regex" > /dev
/null
; then
8294 *** Warning: the command libtool uses to detect shared libraries,
8295 *** $file_magic_cmd, produces output that libtool cannot recognize.
8296 *** The result is that libtool may fail to recognize shared libraries
8297 *** as such. This will affect the creation of libtool libraries that
8298 *** depend on shared libraries, but programs linked with such libtool
8299 *** libraries will work regardless of this problem. Nevertheless, you
8300 *** may want to report the problem to your system manager and/or to
8301 *** bug-libtool@gnu.org
8311 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8316 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8317 if test -n "$MAGIC_CMD"; then
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8319 $as_echo "$MAGIC_CMD" >&6; }
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8322 $as_echo "no" >&6; }
8329 if test -z "$lt_cv_path_MAGIC_CMD"; then
8330 if test -n "$ac_tool_prefix"; then
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8332 $as_echo_n "checking for file... " >&6; }
8333 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8334 $as_echo_n "(cached) " >&6
8338 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8341 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8342 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8343 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8344 for ac_dir
in $ac_dummy; do
8346 test -z "$ac_dir" && ac_dir
=.
8347 if test -f $ac_dir/file; then
8348 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8349 if test -n "$file_magic_test_file"; then
8350 case $deplibs_check_method in
8352 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8353 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8354 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8355 $EGREP "$file_magic_regex" > /dev
/null
; then
8360 *** Warning: the command libtool uses to detect shared libraries,
8361 *** $file_magic_cmd, produces output that libtool cannot recognize.
8362 *** The result is that libtool may fail to recognize shared libraries
8363 *** as such. This will affect the creation of libtool libraries that
8364 *** depend on shared libraries, but programs linked with such libtool
8365 *** libraries will work regardless of this problem. Nevertheless, you
8366 *** may want to report the problem to your system manager and/or to
8367 *** bug-libtool@gnu.org
8377 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8382 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8383 if test -n "$MAGIC_CMD"; then
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8385 $as_echo "$MAGIC_CMD" >&6; }
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8388 $as_echo "no" >&6; }
8401 # Use C for the default configuration in the libtool script
8405 ac_cpp
='$CPP $CPPFLAGS'
8406 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8407 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8408 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8411 # Source file extension for C test sources.
8414 # Object file extension for compiled C test sources.
8418 # Code to be used in simple compile tests
8419 lt_simple_compile_test_code
="int some_variable = 0;"
8421 # Code to be used in simple link tests
8422 lt_simple_link_test_code
='int main(){return(0);}'
8430 # If no C compiler was specified, use CC.
8433 # If no C compiler flags were specified, use CFLAGS.
8434 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8436 # Allow CC to be a program name with arguments.
8439 # Save the default compiler, since it gets overwritten when the other
8440 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8441 compiler_DEFAULT
=$CC
8443 # save warnings/boilerplate of simple test code
8444 ac_outfile
=conftest.
$ac_objext
8445 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8446 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8447 _lt_compiler_boilerplate
=`cat conftest.err`
8450 ac_outfile
=conftest.
$ac_objext
8451 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8452 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8453 _lt_linker_boilerplate
=`cat conftest.err`
8458 ## There is no encapsulation within the following macros, do not change
8459 ## the running order or otherwise move them around unless you know exactly
8460 ## what you are doing...
8461 if test -n "$compiler"; then
8463 lt_prog_compiler_no_builtin_flag
=
8465 if test "$GCC" = yes; then
8466 case $cc_basename in
8468 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8470 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8474 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8475 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8476 $as_echo_n "(cached) " >&6
8478 lt_cv_prog_compiler_rtti_exceptions
=no
8479 ac_outfile
=conftest.
$ac_objext
8480 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8481 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8482 # Insert the option either (1) after the last *FLAGS variable, or
8483 # (2) before a word containing "conftest.", or (3) at the end.
8484 # Note that $ac_compile itself does not contain backslashes and begins
8485 # with a dollar sign (not a hyphen), so the echo should work correctly.
8486 # The option is referenced via a variable to avoid confusing sed.
8487 lt_compile
=`echo "$ac_compile" | $SED \
8488 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8489 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8490 -e 's:$: $lt_compiler_flag:'`
8491 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8492 (eval "$lt_compile" 2>conftest.err
)
8494 cat conftest.err
>&5
8495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8496 if (exit $ac_status) && test -s "$ac_outfile"; then
8497 # The compiler can only warn and ignore the option if not recognized
8498 # So say no if there are warnings other than the usual output.
8499 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8500 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8501 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8502 lt_cv_prog_compiler_rtti_exceptions
=yes
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8509 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8511 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8512 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8524 lt_prog_compiler_wl
=
8525 lt_prog_compiler_pic
=
8526 lt_prog_compiler_static
=
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8529 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8531 if test "$GCC" = yes; then
8532 lt_prog_compiler_wl
='-Wl,'
8533 lt_prog_compiler_static
='-static'
8537 # All AIX code is PIC.
8538 if test "$host_cpu" = ia64
; then
8539 # AIX 5 now supports IA64 processor
8540 lt_prog_compiler_static
='-Bstatic'
8542 lt_prog_compiler_pic
='-fPIC'
8548 # see comment about AmigaOS4 .so support
8549 lt_prog_compiler_pic
='-fPIC'
8552 # FIXME: we need at least 68020 code to build shared libraries, but
8553 # adding the `-m68020' flag to GCC prevents building anything better,
8555 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8560 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8561 # PIC is the default for these OSes.
8564 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8565 # This hack is so that the source file can tell whether it is being
8566 # built for inclusion in a dll (and should export symbols for example).
8567 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8568 # (--disable-auto-import) libraries
8569 lt_prog_compiler_pic
='-DDLL_EXPORT'
8572 darwin
* | rhapsody
*)
8573 # PIC is the default on this platform
8574 # Common symbols not allowed in MH_DYLIB files
8575 lt_prog_compiler_pic
='-fno-common'
8579 # PIC is the default for Haiku.
8580 # The "-static" flag exists, but is broken.
8581 lt_prog_compiler_static
=
8585 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8586 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8587 # sets the default TLS model and affects inlining.
8593 lt_prog_compiler_pic
='-fPIC'
8599 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8600 # Instead, we relocate shared libraries at runtime.
8604 # Just because we use GCC doesn't mean we suddenly get shared libraries
8605 # on systems that don't support them.
8606 lt_prog_compiler_can_build_shared
=no
8611 # QNX uses GNU C++, but need to define -shared option too, otherwise
8613 lt_prog_compiler_pic
='-fPIC -shared'
8617 if test -d /usr
/nec
; then
8618 lt_prog_compiler_pic
=-Kconform_pic
8623 lt_prog_compiler_pic
='-fPIC'
8627 case $cc_basename in
8628 nvcc
*) # Cuda Compiler Driver 2.2
8629 lt_prog_compiler_wl
='-Xlinker '
8630 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8634 # PORTME Check for flag to pass linker flags through the system compiler.
8637 lt_prog_compiler_wl
='-Wl,'
8638 if test "$host_cpu" = ia64
; then
8639 # AIX 5 now supports IA64 processor
8640 lt_prog_compiler_static
='-Bstatic'
8642 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8646 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8647 # This hack is so that the source file can tell whether it is being
8648 # built for inclusion in a dll (and should export symbols for example).
8649 lt_prog_compiler_pic
='-DDLL_EXPORT'
8652 hpux9
* | hpux10
* | hpux11
*)
8653 lt_prog_compiler_wl
='-Wl,'
8654 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8661 lt_prog_compiler_pic
='+Z'
8664 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8665 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8668 irix5
* | irix6
* | nonstopux
*)
8669 lt_prog_compiler_wl
='-Wl,'
8670 # PIC (with -KPIC) is the default.
8671 lt_prog_compiler_static
='-non_shared'
8674 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8675 case $cc_basename in
8676 # old Intel for x86_64 which still supported -KPIC.
8678 lt_prog_compiler_wl
='-Wl,'
8679 lt_prog_compiler_pic
='-KPIC'
8680 lt_prog_compiler_static
='-static'
8682 # icc used to be incompatible with GCC.
8683 # ICC 10 doesn't accept -KPIC any more.
8685 lt_prog_compiler_wl
='-Wl,'
8686 lt_prog_compiler_pic
='-fPIC'
8687 lt_prog_compiler_static
='-static'
8689 # Lahey Fortran 8.1.
8691 lt_prog_compiler_wl
='-Wl,'
8692 lt_prog_compiler_pic
='--shared'
8693 lt_prog_compiler_static
='--static'
8695 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8696 # Portland Group compilers (*not* the Pentium gcc compiler,
8697 # which looks to be a dead project)
8698 lt_prog_compiler_wl
='-Wl,'
8699 lt_prog_compiler_pic
='-fpic'
8700 lt_prog_compiler_static
='-Bstatic'
8703 lt_prog_compiler_wl
='-Wl,'
8704 # All Alpha code is PIC.
8705 lt_prog_compiler_static
='-non_shared'
8707 xl
* | bgxl
* | bgf
* | mpixl
*)
8708 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8709 lt_prog_compiler_wl
='-Wl,'
8710 lt_prog_compiler_pic
='-qpic'
8711 lt_prog_compiler_static
='-qstaticlink'
8714 case `$CC -V 2>&1 | sed 5q` in
8715 *Sun\ F
* |
*Sun
*Fortran
*)
8716 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8717 lt_prog_compiler_pic
='-KPIC'
8718 lt_prog_compiler_static
='-Bstatic'
8719 lt_prog_compiler_wl
=''
8723 lt_prog_compiler_pic
='-KPIC'
8724 lt_prog_compiler_static
='-Bstatic'
8725 lt_prog_compiler_wl
='-Wl,'
8733 lt_prog_compiler_pic
='-KPIC'
8734 lt_prog_compiler_static
='-Bstatic'
8738 # QNX uses GNU C++, but need to define -shared option too, otherwise
8740 lt_prog_compiler_pic
='-fPIC -shared'
8743 osf3
* | osf4
* | osf5
*)
8744 lt_prog_compiler_wl
='-Wl,'
8745 # All OSF/1 code is PIC.
8746 lt_prog_compiler_static
='-non_shared'
8750 lt_prog_compiler_static
='-non_shared'
8754 lt_prog_compiler_pic
='-KPIC'
8755 lt_prog_compiler_static
='-Bstatic'
8756 case $cc_basename in
8758 lt_prog_compiler_wl
='-Qoption ld ';;
8760 lt_prog_compiler_wl
='-Wl,';;
8765 lt_prog_compiler_wl
='-Qoption ld '
8766 lt_prog_compiler_pic
='-PIC'
8767 lt_prog_compiler_static
='-Bstatic'
8770 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8771 lt_prog_compiler_wl
='-Wl,'
8772 lt_prog_compiler_pic
='-KPIC'
8773 lt_prog_compiler_static
='-Bstatic'
8777 if test -d /usr
/nec
;then
8778 lt_prog_compiler_pic
='-Kconform_pic'
8779 lt_prog_compiler_static
='-Bstatic'
8783 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8784 lt_prog_compiler_wl
='-Wl,'
8785 lt_prog_compiler_pic
='-KPIC'
8786 lt_prog_compiler_static
='-Bstatic'
8790 lt_prog_compiler_wl
='-Wl,'
8791 lt_prog_compiler_can_build_shared
=no
8795 lt_prog_compiler_pic
='-pic'
8796 lt_prog_compiler_static
='-Bstatic'
8800 lt_prog_compiler_can_build_shared
=no
8806 # For platforms which do not support PIC, -DPIC is meaningless:
8808 lt_prog_compiler_pic
=
8811 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8815 $as_echo "$lt_prog_compiler_pic" >&6; }
8823 # Check to make sure the PIC flag actually works.
8825 if test -n "$lt_prog_compiler_pic"; then
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8827 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8828 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8829 $as_echo_n "(cached) " >&6
8831 lt_cv_prog_compiler_pic_works
=no
8832 ac_outfile
=conftest.
$ac_objext
8833 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8834 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8835 # Insert the option either (1) after the last *FLAGS variable, or
8836 # (2) before a word containing "conftest.", or (3) at the end.
8837 # Note that $ac_compile itself does not contain backslashes and begins
8838 # with a dollar sign (not a hyphen), so the echo should work correctly.
8839 # The option is referenced via a variable to avoid confusing sed.
8840 lt_compile
=`echo "$ac_compile" | $SED \
8841 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8842 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8843 -e 's:$: $lt_compiler_flag:'`
8844 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8845 (eval "$lt_compile" 2>conftest.err
)
8847 cat conftest.err
>&5
8848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8849 if (exit $ac_status) && test -s "$ac_outfile"; then
8850 # The compiler can only warn and ignore the option if not recognized
8851 # So say no if there are warnings other than the usual output.
8852 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8853 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8854 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8855 lt_cv_prog_compiler_pic_works
=yes
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8862 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8864 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8865 case $lt_prog_compiler_pic in
8867 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8870 lt_prog_compiler_pic
=
8871 lt_prog_compiler_can_build_shared
=no
8882 # Check to make sure the static flag actually works.
8884 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8886 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8887 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8888 $as_echo_n "(cached) " >&6
8890 lt_cv_prog_compiler_static_works
=no
8891 save_LDFLAGS
="$LDFLAGS"
8892 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8893 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8894 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8895 # The linker can only warn and ignore the option if not recognized
8896 # So say no if there are warnings
8897 if test -s conftest.err
; then
8898 # Append any errors to the config.log.
8899 cat conftest.err
1>&5
8900 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8901 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8902 if diff conftest.exp conftest.er2
>/dev
/null
; then
8903 lt_cv_prog_compiler_static_works
=yes
8906 lt_cv_prog_compiler_static_works
=yes
8910 LDFLAGS
="$save_LDFLAGS"
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8914 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8916 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8919 lt_prog_compiler_static
=
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8929 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8930 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8931 $as_echo_n "(cached) " >&6
8933 lt_cv_prog_compiler_c_o
=no
8934 $RM -r conftest
2>/dev
/null
8938 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8940 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8941 # Insert the option either (1) after the last *FLAGS variable, or
8942 # (2) before a word containing "conftest.", or (3) at the end.
8943 # Note that $ac_compile itself does not contain backslashes and begins
8944 # with a dollar sign (not a hyphen), so the echo should work correctly.
8945 lt_compile
=`echo "$ac_compile" | $SED \
8946 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8947 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8948 -e 's:$: $lt_compiler_flag:'`
8949 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8950 (eval "$lt_compile" 2>out
/conftest.err
)
8952 cat out
/conftest.err
>&5
8953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8954 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8956 # The compiler can only warn and ignore the option if not recognized
8957 # So say no if there are warnings
8958 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8959 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8960 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8961 lt_cv_prog_compiler_c_o
=yes
8966 # SGI C++ compiler will create directory out/ii_files/ for
8967 # template instantiation
8968 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8969 $RM out
/* && rmdir out
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8976 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8984 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8985 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8986 $as_echo_n "(cached) " >&6
8988 lt_cv_prog_compiler_c_o
=no
8989 $RM -r conftest
2>/dev
/null
8993 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8995 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8996 # Insert the option either (1) after the last *FLAGS variable, or
8997 # (2) before a word containing "conftest.", or (3) at the end.
8998 # Note that $ac_compile itself does not contain backslashes and begins
8999 # with a dollar sign (not a hyphen), so the echo should work correctly.
9000 lt_compile
=`echo "$ac_compile" | $SED \
9001 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9002 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9003 -e 's:$: $lt_compiler_flag:'`
9004 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9005 (eval "$lt_compile" 2>out
/conftest.err
)
9007 cat out
/conftest.err
>&5
9008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9009 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9011 # The compiler can only warn and ignore the option if not recognized
9012 # So say no if there are warnings
9013 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9014 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9015 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9016 lt_cv_prog_compiler_c_o
=yes
9021 # SGI C++ compiler will create directory out/ii_files/ for
9022 # template instantiation
9023 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9024 $RM out
/* && rmdir out
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9031 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9036 hard_links
="nottested"
9037 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9038 # do not overwrite the value of need_locks provided by the user
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9040 $as_echo_n "checking if we can lock with hard links... " >&6; }
9043 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9045 ln conftest.a conftest.b
2>&5 || hard_links
=no
9046 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9048 $as_echo "$hard_links" >&6; }
9049 if test "$hard_links" = no
; then
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9051 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9064 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9067 allow_undefined_flag
=
9068 always_export_symbols
=no
9070 archive_expsym_cmds
=
9071 compiler_needs_object
=no
9072 enable_shared_with_static_runtimes
=no
9073 export_dynamic_flag_spec
=
9074 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9075 hardcode_automatic
=no
9077 hardcode_direct_absolute
=no
9078 hardcode_libdir_flag_spec
=
9079 hardcode_libdir_flag_spec_ld
=
9080 hardcode_libdir_separator
=
9082 hardcode_shlibpath_var
=unsupported
9084 link_all_deplibs
=unknown
9087 old_archive_from_new_cmds
=
9088 old_archive_from_expsyms_cmds
=
9089 thread_safe_flag_spec
=
9090 whole_archive_flag_spec
=
9091 # include_expsyms should be a list of space-separated symbols to be *always*
9092 # included in the symbol list
9094 # exclude_expsyms can be an extended regexp of symbols to exclude
9095 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9096 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9097 # as well as any symbol that contains `d'.
9098 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9099 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9100 # platforms (ab)use it in PIC code, but their linkers get confused if
9101 # the symbol is explicitly referenced. Since portable code cannot
9102 # rely on this symbol name, it's probably fine to never include it in
9103 # preloaded symbol tables.
9104 # Exclude shared library initialization/finalization symbols.
9105 extract_expsyms_cmds
=
9108 cygwin
* | mingw
* | pw32
* | cegcc
*)
9109 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9110 # When not using gcc, we currently assume that we are using
9111 # Microsoft Visual C++.
9112 if test "$GCC" != yes; then
9117 # we just hope/assume this is gcc and not c89 (= MSVC++)
9127 # On some targets, GNU ld is compatible enough with the native linker
9128 # that we're better off using the native interface for both.
9129 lt_use_gnu_ld_interface
=no
9130 if test "$with_gnu_ld" = yes; then
9133 # The AIX port of GNU ld has always aspired to compatibility
9134 # with the native linker. However, as the warning in the GNU ld
9135 # block says, versions before 2.19.5* couldn't really create working
9136 # shared libraries, regardless of the interface used.
9137 case `$LD -v 2>&1` in
9138 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9139 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9140 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9142 lt_use_gnu_ld_interface
=yes
9147 lt_use_gnu_ld_interface
=yes
9152 if test "$lt_use_gnu_ld_interface" = yes; then
9153 # If archive_cmds runs LD, not CC, wlarc should be empty
9156 # Set some defaults for GNU ld with shared library support. These
9157 # are reset later if shared libraries are not supported. Putting them
9158 # here allows them to be overridden if necessary.
9159 runpath_var
=LD_RUN_PATH
9160 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9161 export_dynamic_flag_spec
='${wl}--export-dynamic'
9162 # ancient GNU ld didn't support --whole-archive et. al.
9163 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9164 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9166 whole_archive_flag_spec
=
9168 supports_anon_versioning
=no
9169 case `$LD -v 2>&1` in
9170 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9171 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9172 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9173 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9174 *\
2.11.
*) ;; # other 2.11 versions
9175 *) supports_anon_versioning
=yes ;;
9178 # See if GNU ld supports shared libraries.
9181 # On AIX/PPC, the GNU linker is very broken
9182 if test "$host_cpu" != ia64
; then
9186 *** Warning: the GNU linker, at least up to release 2.19, is reported
9187 *** to be unable to reliably create shared libraries on AIX.
9188 *** Therefore, libtool is disabling shared libraries support. If you
9189 *** really care for shared libraries, you may want to install binutils
9190 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9191 *** You will then need to restart the configuration process.
9200 # see comment about AmigaOS4 .so support
9201 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9202 archive_expsym_cmds
=''
9205 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)'
9206 hardcode_libdir_flag_spec
='-L$libdir'
9207 hardcode_minus_L
=yes
9213 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9214 allow_undefined_flag
=unsupported
9215 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9216 # support --undefined. This deserves some investigation. FIXME
9217 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9223 cygwin
* | mingw
* | pw32
* | cegcc
*)
9224 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9225 # as there is no search path for DLLs.
9226 hardcode_libdir_flag_spec
='-L$libdir'
9227 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9228 allow_undefined_flag
=unsupported
9229 always_export_symbols
=no
9230 enable_shared_with_static_runtimes
=yes
9231 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9233 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9234 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9235 # If the export-symbols file already is a .def file (1st line
9236 # is EXPORTS), use it as is; otherwise, prepend...
9237 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9238 cp $export_symbols $output_objdir/$soname.def;
9240 echo EXPORTS > $output_objdir/$soname.def;
9241 cat $export_symbols >> $output_objdir/$soname.def;
9243 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9250 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9251 link_all_deplibs
=yes
9256 hardcode_shlibpath_var
=no
9257 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9258 export_dynamic_flag_spec
='${wl}-E'
9259 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9260 # Instead, shared libraries are loaded at an image base (0x10000000 by
9261 # default) and relocated if they conflict, which is a slow very memory
9262 # consuming and fragmenting process. To avoid this, we pick a random,
9263 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9264 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9265 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9266 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'
9269 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9271 if test "$host_os" = linux-dietlibc
; then
9272 case $cc_basename in
9273 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9276 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9277 && test "$tmp_diet" = no
9280 tmp_sharedflag
='-shared'
9281 case $cc_basename,$host_cpu in
9282 pgcc
*) # Portland Group C compiler
9283 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'
9284 tmp_addflag
=' $pic_flag'
9286 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9287 # Portland Group f77 and f90 compilers
9288 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'
9289 tmp_addflag
=' $pic_flag -Mnomain' ;;
9290 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9291 tmp_addflag
=' -i_dynamic' ;;
9292 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9293 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9294 ifc
* | ifort
*) # Intel Fortran compiler
9295 tmp_addflag
=' -nofor_main' ;;
9296 lf95
*) # Lahey Fortran 8.1
9297 whole_archive_flag_spec
=
9298 tmp_sharedflag
='--shared' ;;
9299 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9300 tmp_sharedflag
='-qmkshrobj'
9302 nvcc
*) # Cuda Compiler Driver 2.2
9303 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'
9304 compiler_needs_object
=yes
9307 case `$CC -V 2>&1 | sed 5q` in
9308 *Sun\ C
*) # Sun C 5.9
9309 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'
9310 compiler_needs_object
=yes
9311 tmp_sharedflag
='-G' ;;
9312 *Sun\ F
*) # Sun Fortran 8.3
9313 tmp_sharedflag
='-G' ;;
9315 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9317 if test "x$supports_anon_versioning" = xyes
; then
9318 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9319 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9320 echo "local: *; };" >> $output_objdir/$libname.ver~
9321 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9324 case $cc_basename in
9325 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9326 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9327 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9328 hardcode_libdir_flag_spec
=
9329 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9330 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9331 if test "x$supports_anon_versioning" = xyes
; then
9332 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9333 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9334 echo "local: *; };" >> $output_objdir/$libname.ver~
9335 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9345 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9346 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9349 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9350 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9355 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9359 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9360 *** create shared libraries on Solaris systems. Therefore, libtool
9361 *** is disabling shared libraries support. We urge you to upgrade GNU
9362 *** binutils to release 2.9.1 or newer. Another option is to modify
9363 *** your PATH or compiler configuration so that the native linker is
9364 *** used, and then restart.
9367 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9368 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9369 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9375 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9376 case `$LD -v 2>&1` in
9377 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9381 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9382 *** reliably create shared libraries on SCO systems. Therefore, libtool
9383 *** is disabling shared libraries support. We urge you to upgrade GNU
9384 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9385 *** your PATH or compiler configuration so that the native linker is
9386 *** used, and then restart.
9391 # For security reasons, it is highly recommended that you always
9392 # use absolute paths for naming shared libraries, and exclude the
9393 # DT_RUNPATH tag from executables and libraries. But doing so
9394 # requires that you compile everything twice, which is a pain.
9395 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9396 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9397 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9398 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9407 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9410 hardcode_shlibpath_var
=no
9414 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9415 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9416 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9423 if test "$ld_shlibs" = no
; then
9425 hardcode_libdir_flag_spec
=
9426 export_dynamic_flag_spec
=
9427 whole_archive_flag_spec
=
9430 # PORTME fill in a description of your system's linker (not GNU ld)
9433 allow_undefined_flag
=unsupported
9434 always_export_symbols
=yes
9435 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'
9436 # Note: this linker hardcodes the directories in LIBPATH if there
9437 # are no directories specified by -L.
9438 hardcode_minus_L
=yes
9439 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9440 # Neither direct hardcoding nor static linking is supported with a
9442 hardcode_direct
=unsupported
9447 if test "$host_cpu" = ia64
; then
9448 # On IA64, the linker does run time linking by default, so we don't
9449 # have to do anything special.
9450 aix_use_runtimelinking
=no
9451 exp_sym_flag
='-Bexport'
9454 # If we're using GNU nm, then we don't want the "-C" option.
9455 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9456 # Also, AIX nm treats weak defined symbols like other global
9457 # defined symbols, whereas GNU nm marks them as "W".
9458 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9459 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'
9461 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'
9463 aix_use_runtimelinking
=no
9465 # Test if we are trying to use run time linking or normal
9466 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9467 # need to do runtime linking.
9468 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9469 for ld_flag
in $LDFLAGS; do
9470 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9471 aix_use_runtimelinking
=yes
9478 exp_sym_flag
='-bexport'
9479 no_entry_flag
='-bnoentry'
9482 # When large executables or shared objects are built, AIX ld can
9483 # have problems creating the table of contents. If linking a library
9484 # or program results in "error TOC overflow" add -mminimal-toc to
9485 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9486 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9490 hardcode_direct_absolute
=yes
9491 hardcode_libdir_separator
=':'
9492 link_all_deplibs
=yes
9493 file_list_spec
='${wl}-f,'
9495 if test "$GCC" = yes; then
9496 case $host_os in aix4.
[012]|aix4.
[012].
*)
9497 # We only want to do this on AIX 4.2 and lower, the check
9498 # below for broken collect2 doesn't work under 4.3+
9499 collect2name
=`${CC} -print-prog-name=collect2`
9500 if test -f "$collect2name" &&
9501 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9503 # We have reworked collect2
9506 # We have old collect2
9507 hardcode_direct
=unsupported
9508 # It fails to find uninstalled libraries when the uninstalled
9509 # path is not listed in the libpath. Setting hardcode_minus_L
9510 # to unsupported forces relinking
9511 hardcode_minus_L
=yes
9512 hardcode_libdir_flag_spec
='-L$libdir'
9513 hardcode_libdir_separator
=
9517 shared_flag
='-shared'
9518 if test "$aix_use_runtimelinking" = yes; then
9519 shared_flag
="$shared_flag "'${wl}-G'
9523 if test "$host_cpu" = ia64
; then
9524 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9525 # chokes on -Wl,-G. The following line is correct:
9528 if test "$aix_use_runtimelinking" = yes; then
9529 shared_flag
='${wl}-G'
9531 shared_flag
='${wl}-bM:SRE'
9536 export_dynamic_flag_spec
='${wl}-bexpall'
9537 # It seems that -bexpall does not export symbols beginning with
9538 # underscore (_), so it is better to generate a list of symbols to export.
9539 always_export_symbols
=yes
9540 if test "$aix_use_runtimelinking" = yes; then
9541 # Warning - without using the other runtime loading flags (-brtl),
9542 # -berok will link without error, but may produce a broken library.
9543 allow_undefined_flag
='-berok'
9544 # Determine the default libpath from the value encoded in an
9546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9547 /* end confdefs.h. */
9557 if ac_fn_c_try_link
"$LINENO"; then :
9559 lt_aix_libpath_sed
='
9560 /Import File Strings/,/^$/ {
9566 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9567 # Check for a 64-bit object if we didn't find anything.
9568 if test -z "$aix_libpath"; then
9569 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9572 rm -f core conftest.err conftest.
$ac_objext \
9573 conftest
$ac_exeext conftest.
$ac_ext
9574 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9576 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9577 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"
9579 if test "$host_cpu" = ia64
; then
9580 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9581 allow_undefined_flag
="-z nodefs"
9582 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"
9584 # Determine the default libpath from the value encoded in an
9586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9587 /* end confdefs.h. */
9597 if ac_fn_c_try_link
"$LINENO"; then :
9599 lt_aix_libpath_sed
='
9600 /Import File Strings/,/^$/ {
9606 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9607 # Check for a 64-bit object if we didn't find anything.
9608 if test -z "$aix_libpath"; then
9609 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9612 rm -f core conftest.err conftest.
$ac_objext \
9613 conftest
$ac_exeext conftest.
$ac_ext
9614 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9616 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9617 # Warning - without using the other run time loading flags,
9618 # -berok will link without error, but may produce a broken library.
9619 no_undefined_flag
=' ${wl}-bernotok'
9620 allow_undefined_flag
=' ${wl}-berok'
9621 if test "$with_gnu_ld" = yes; then
9622 # We only use this code for GNU lds that support --whole-archive.
9623 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9625 # Exported symbols can be pulled into shared objects from archives
9626 whole_archive_flag_spec
='$convenience'
9628 archive_cmds_need_lc
=yes
9629 # This is similar to how AIX traditionally builds its shared libraries.
9630 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'
9638 # see comment about AmigaOS4 .so support
9639 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9640 archive_expsym_cmds
=''
9643 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)'
9644 hardcode_libdir_flag_spec
='-L$libdir'
9645 hardcode_minus_L
=yes
9651 export_dynamic_flag_spec
=-rdynamic
9654 cygwin
* | mingw
* | pw32
* | cegcc
*)
9655 # When not using gcc, we currently assume that we are using
9656 # Microsoft Visual C++.
9657 # hardcode_libdir_flag_spec is actually meaningless, as there is
9658 # no search path for DLLs.
9659 hardcode_libdir_flag_spec
=' '
9660 allow_undefined_flag
=unsupported
9661 # Tell ltmain to make .lib files, not .a files.
9663 # Tell ltmain to make .dll files, not .so files.
9665 # FIXME: Setting linknames here is a bad hack.
9666 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9667 # The linker will automatically build a .lib file if we build a DLL.
9668 old_archive_from_new_cmds
='true'
9669 # FIXME: Should let the user specify the lib program.
9670 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9671 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9672 enable_shared_with_static_runtimes
=yes
9675 darwin
* | rhapsody
*)
9678 archive_cmds_need_lc
=no
9680 hardcode_automatic
=yes
9681 hardcode_shlibpath_var
=unsupported
9682 if test "$lt_cv_ld_force_load" = "yes"; then
9683 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\"`'
9685 whole_archive_flag_spec
=''
9687 link_all_deplibs
=yes
9688 allow_undefined_flag
="$_lt_dar_allow_undefined"
9689 case $cc_basename in
9690 ifort
*) _lt_dar_can_shared
=yes ;;
9691 *) _lt_dar_can_shared
=$GCC ;;
9693 if test "$_lt_dar_can_shared" = "yes"; then
9694 output_verbose_link_cmd
=func_echo_all
9695 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9696 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9697 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}"
9698 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}"
9707 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9708 hardcode_libdir_flag_spec
='-L$libdir'
9709 hardcode_shlibpath_var
=no
9712 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9713 # support. Future versions do this automatically, but an explicit c++rt0.o
9714 # does not break anything, and helps significantly (at the cost of a little
9717 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9718 hardcode_libdir_flag_spec
='-R$libdir'
9720 hardcode_shlibpath_var
=no
9723 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9725 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9727 hardcode_minus_L
=yes
9728 hardcode_shlibpath_var
=no
9731 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9732 freebsd
* | dragonfly
*)
9733 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9734 hardcode_libdir_flag_spec
='-R$libdir'
9736 hardcode_shlibpath_var
=no
9740 if test "$GCC" = yes; then
9741 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'
9743 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'
9745 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9746 hardcode_libdir_separator
=:
9749 # hardcode_minus_L: Not really in the search PATH,
9750 # but as the default location of the library.
9751 hardcode_minus_L
=yes
9752 export_dynamic_flag_spec
='${wl}-E'
9756 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9757 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9759 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9761 if test "$with_gnu_ld" = no
; then
9762 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9763 hardcode_libdir_flag_spec_ld
='+b $libdir'
9764 hardcode_libdir_separator
=:
9766 hardcode_direct_absolute
=yes
9767 export_dynamic_flag_spec
='${wl}-E'
9768 # hardcode_minus_L: Not really in the search PATH,
9769 # but as the default location of the library.
9770 hardcode_minus_L
=yes
9775 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9778 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9781 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9784 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9790 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9793 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9797 # Older versions of the 11.00 compiler do not understand -b yet
9798 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9800 $as_echo_n "checking if $CC understands -b... " >&6; }
9801 if ${lt_cv_prog_compiler__b+:} false
; then :
9802 $as_echo_n "(cached) " >&6
9804 lt_cv_prog_compiler__b
=no
9805 save_LDFLAGS
="$LDFLAGS"
9806 LDFLAGS
="$LDFLAGS -b"
9807 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9808 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9809 # The linker can only warn and ignore the option if not recognized
9810 # So say no if there are warnings
9811 if test -s conftest.err
; then
9812 # Append any errors to the config.log.
9813 cat conftest.err
1>&5
9814 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9815 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9816 if diff conftest.exp conftest.er2
>/dev
/null
; then
9817 lt_cv_prog_compiler__b
=yes
9820 lt_cv_prog_compiler__b
=yes
9824 LDFLAGS
="$save_LDFLAGS"
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9828 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9830 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9831 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9833 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9839 if test "$with_gnu_ld" = no
; then
9840 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9841 hardcode_libdir_separator
=:
9846 hardcode_shlibpath_var
=no
9850 hardcode_direct_absolute
=yes
9851 export_dynamic_flag_spec
='${wl}-E'
9853 # hardcode_minus_L: Not really in the search PATH,
9854 # but as the default location of the library.
9855 hardcode_minus_L
=yes
9861 irix5
* | irix6
* | nonstopux
*)
9862 if test "$GCC" = yes; then
9863 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'
9864 # Try to use the -exported_symbol ld option, if it does not
9865 # work, assume that -exports_file does not work either and
9866 # implicitly export all symbols.
9867 save_LDFLAGS
="$LDFLAGS"
9868 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9870 /* end confdefs.h. */
9873 if ac_fn_c_try_link
"$LINENO"; then :
9874 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'
9877 rm -f core conftest.err conftest.
$ac_objext \
9878 conftest
$ac_exeext conftest.
$ac_ext
9879 LDFLAGS
="$save_LDFLAGS"
9881 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'
9882 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'
9884 archive_cmds_need_lc
='no'
9885 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9886 hardcode_libdir_separator
=:
9888 link_all_deplibs
=yes
9892 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9893 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9895 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9897 hardcode_libdir_flag_spec
='-R$libdir'
9899 hardcode_shlibpath_var
=no
9903 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9905 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9906 hardcode_libdir_separator
=:
9907 hardcode_shlibpath_var
=no
9914 if test -f /usr
/libexec
/ld.so
; then
9916 hardcode_shlibpath_var
=no
9917 hardcode_direct_absolute
=yes
9918 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9919 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9920 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9921 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9922 export_dynamic_flag_spec
='${wl}-E'
9925 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9926 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9927 hardcode_libdir_flag_spec
='-R$libdir'
9930 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9931 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9941 hardcode_libdir_flag_spec
='-L$libdir'
9942 hardcode_minus_L
=yes
9943 allow_undefined_flag
=unsupported
9944 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'
9945 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9949 if test "$GCC" = yes; then
9950 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9951 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'
9953 allow_undefined_flag
=' -expect_unresolved \*'
9954 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'
9956 archive_cmds_need_lc
='no'
9957 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9958 hardcode_libdir_separator
=:
9961 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9962 if test "$GCC" = yes; then
9963 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9964 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'
9965 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9967 allow_undefined_flag
=' -expect_unresolved \*'
9968 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'
9969 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~
9970 $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'
9972 # Both c and cxx compiler support -rpath directly
9973 hardcode_libdir_flag_spec
='-rpath $libdir'
9975 archive_cmds_need_lc
='no'
9976 hardcode_libdir_separator
=:
9980 no_undefined_flag
=' -z defs'
9981 if test "$GCC" = yes; then
9983 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9984 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9985 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9987 case `$CC -V 2>&1` in
9990 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9991 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9992 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9996 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9997 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9998 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10002 hardcode_libdir_flag_spec
='-R$libdir'
10003 hardcode_shlibpath_var
=no
10005 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10007 # The compiler driver will combine and reorder linker options,
10008 # but understands `-z linker_flag'. GCC discards it without `$wl',
10009 # but is careful enough not to reorder.
10010 # Supported since Solaris 2.6 (maybe 2.5.1?)
10011 if test "$GCC" = yes; then
10012 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10014 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10018 link_all_deplibs
=yes
10022 if test "x$host_vendor" = xsequent
; then
10023 # Use $CC to link under sequent, because it throws in some extra .o
10024 # files that make .init and .fini sections work.
10025 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10027 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10029 hardcode_libdir_flag_spec
='-L$libdir'
10030 hardcode_direct
=yes
10031 hardcode_minus_L
=yes
10032 hardcode_shlibpath_var
=no
10036 case $host_vendor in
10038 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10039 hardcode_direct
=yes # is this really true???
10042 ## LD is ld it makes a PLAMLIB
10043 ## CC just makes a GrossModule.
10044 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10045 reload_cmds
='$CC -r -o $output$reload_objs'
10049 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10050 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10053 runpath_var
='LD_RUN_PATH'
10054 hardcode_shlibpath_var
=no
10058 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10059 hardcode_shlibpath_var
=no
10060 export_dynamic_flag_spec
='-Bexport'
10064 if test -d /usr
/nec
; then
10065 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10066 hardcode_shlibpath_var
=no
10067 runpath_var
=LD_RUN_PATH
10068 hardcode_runpath_var
=yes
10073 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10074 no_undefined_flag
='${wl}-z,text'
10075 archive_cmds_need_lc
=no
10076 hardcode_shlibpath_var
=no
10077 runpath_var
='LD_RUN_PATH'
10079 if test "$GCC" = yes; then
10080 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10081 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10083 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10084 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10088 sysv5
* | sco3.2v5
* | sco5v6
*)
10089 # Note: We can NOT use -z defs as we might desire, because we do not
10090 # link with -lc, and that would cause any symbols used from libc to
10091 # always be unresolved, which means just about no library would
10092 # ever link correctly. If we're not using GNU ld we use -z text
10093 # though, which does catch some bad symbols but isn't as heavy-handed
10095 no_undefined_flag
='${wl}-z,text'
10096 allow_undefined_flag
='${wl}-z,nodefs'
10097 archive_cmds_need_lc
=no
10098 hardcode_shlibpath_var
=no
10099 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10100 hardcode_libdir_separator
=':'
10101 link_all_deplibs
=yes
10102 export_dynamic_flag_spec
='${wl}-Bexport'
10103 runpath_var
='LD_RUN_PATH'
10105 if test "$GCC" = yes; then
10106 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10107 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10109 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10110 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10115 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10116 hardcode_libdir_flag_spec
='-L$libdir'
10117 hardcode_shlibpath_var
=no
10125 if test x
$host_vendor = xsni
; then
10127 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10128 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10135 $as_echo "$ld_shlibs" >&6; }
10136 test "$ld_shlibs" = no
&& can_build_shared
=no
10138 with_gnu_ld
=$with_gnu_ld
10155 # Do we need to explicitly link libc?
10157 case "x$archive_cmds_need_lc" in
10159 # Assume -lc should be added
10160 archive_cmds_need_lc
=yes
10162 if test "$enable_shared" = yes && test "$GCC" = yes; then
10163 case $archive_cmds in
10165 # FIXME: we may have to deal with multi-command sequences.
10168 # Test whether the compiler implicitly links with -lc since on some
10169 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10170 # to ld, don't add -lc before -lgcc.
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10172 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10173 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10174 $as_echo_n "(cached) " >&6
10177 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10179 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10180 (eval $ac_compile) 2>&5
10182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10183 test $ac_status = 0; } 2>conftest.err
; then
10186 libobjs
=conftest.
$ac_objext
10188 wl
=$lt_prog_compiler_wl
10189 pic_flag
=$lt_prog_compiler_pic
10195 lt_save_allow_undefined_flag
=$allow_undefined_flag
10196 allow_undefined_flag
=
10197 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10198 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10201 test $ac_status = 0; }
10203 lt_cv_archive_cmds_need_lc
=no
10205 lt_cv_archive_cmds_need_lc
=yes
10207 allow_undefined_flag
=$lt_save_allow_undefined_flag
10209 cat conftest.err
1>&5
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10215 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10216 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10380 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10382 if test "$GCC" = yes; then
10384 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10385 *) lt_awk_arg
="/^libraries:/" ;;
10388 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10389 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10391 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10392 case $lt_search_path_spec in
10394 # if the path contains ";" then we assume it to be the separator
10395 # otherwise default to the standard path separator (i.e. ":") - it is
10396 # assumed that no part of a normal pathname contains ";" but that should
10397 # okay in the real world where ";" in dirpaths is itself problematic.
10398 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10401 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10404 # Ok, now we have the path, separated by spaces, we can step through it
10405 # and add multilib dir if necessary.
10406 lt_tmp_lt_search_path_spec
=
10407 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10408 for lt_sys_path
in $lt_search_path_spec; do
10409 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10410 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10412 test -d "$lt_sys_path" && \
10413 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10416 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10417 BEGIN {RS=" "; FS="/|\n";} {
10420 for (lt_i = NF; lt_i > 0; lt_i--) {
10421 if ($lt_i != "" && $lt_i != ".") {
10422 if ($lt_i == "..") {
10425 if (lt_count == 0) {
10426 lt_foo="/" $lt_i lt_foo;
10433 if (lt_foo != "") { lt_freq[lt_foo]++; }
10434 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10436 # AWK program above erroneously prepends '/' to C:/dos/paths
10439 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10440 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10442 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10444 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10446 library_names_spec
=
10447 libname_spec
='lib$name'
10451 postuninstall_cmds
=
10455 shlibpath_overrides_runpath
=unknown
10457 dynamic_linker
="$host_os ld.so"
10458 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10459 need_lib_prefix
=unknown
10460 hardcode_into_libs
=no
10462 # when you set need_version to no, make sure it does not cause -set_version
10463 # flags to be left without arguments
10464 need_version
=unknown
10469 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10470 shlibpath_var
=LIBPATH
10472 # AIX 3 has no versioning support, so we append a major version to the name.
10473 soname_spec
='${libname}${release}${shared_ext}$major'
10480 hardcode_into_libs
=yes
10481 if test "$host_cpu" = ia64
; then
10482 # AIX 5 supports IA64
10483 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10484 shlibpath_var
=LD_LIBRARY_PATH
10486 # With GCC up to 2.95.x, collect2 would create an import file
10487 # for dependence libraries. The import file would start with
10488 # the line `#! .'. This would cause the generated library to
10489 # depend on `.', always an invalid library. This was fixed in
10490 # development snapshots of GCC prior to 3.0.
10492 aix4 | aix4.
[01] | aix4.
[01].
*)
10493 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10495 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10498 can_build_shared
=no
10502 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10503 # soname into executable. Probably we can add versioning support to
10504 # collect2, so additional links can be useful in future.
10505 if test "$aix_use_runtimelinking" = yes; then
10506 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10507 # instead of lib<name>.a to let people know that these are not
10508 # typical AIX shared libraries.
10509 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10511 # We preserve .a as extension for shared libraries through AIX4.2
10512 # and later when we are not doing run time linking.
10513 library_names_spec
='${libname}${release}.a $libname.a'
10514 soname_spec
='${libname}${release}${shared_ext}$major'
10516 shlibpath_var
=LIBPATH
10523 # Since July 2007 AmigaOS4 officially supports .so libraries.
10524 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10525 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10528 library_names_spec
='$libname.ixlibrary $libname.a'
10529 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10530 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'
10536 library_names_spec
='${libname}${shared_ext}'
10537 dynamic_linker
="$host_os ld.so"
10538 shlibpath_var
=LIBRARY_PATH
10544 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10545 soname_spec
='${libname}${release}${shared_ext}$major'
10546 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10547 shlibpath_var
=LD_LIBRARY_PATH
10548 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10549 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10550 # the default ld.so.conf also contains /usr/contrib/lib and
10551 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10552 # libtool to hard-code these into programs
10555 cygwin
* | mingw
* | pw32
* | cegcc
*)
10556 version_type
=windows
10561 case $GCC,$host_os in
10562 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10563 library_names_spec
='$libname.dll.a'
10564 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10565 postinstall_cmds
='base_file=`basename \${file}`~
10566 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10567 dldir=$destdir/`dirname \$dlpath`~
10568 test -d \$dldir || mkdir -p \$dldir~
10569 $install_prog $dir/$dlname \$dldir/$dlname~
10570 chmod a+x \$dldir/$dlname~
10571 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10572 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10574 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10575 dlpath=$dir/\$dldll~
10577 shlibpath_overrides_runpath
=yes
10581 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10582 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10584 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10587 # MinGW DLLs use traditional 'lib' prefix
10588 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10591 # pw32 DLLs use 'pw' prefix rather than 'lib'
10592 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10598 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10601 dynamic_linker
='Win32 ld.exe'
10602 # FIXME: first we should search . and the directory the executable is in
10606 darwin
* | rhapsody
*)
10607 dynamic_linker
="$host_os dyld"
10608 version_type
=darwin
10611 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10612 soname_spec
='${libname}${release}${major}$shared_ext'
10613 shlibpath_overrides_runpath
=yes
10614 shlibpath_var
=DYLD_LIBRARY_PATH
10615 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10617 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10618 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10625 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10626 soname_spec
='${libname}${release}${shared_ext}$major'
10627 shlibpath_var
=LD_LIBRARY_PATH
10630 freebsd
* | dragonfly
*)
10631 # DragonFly does not have aout. When/if they implement a new
10632 # versioning mechanism, adjust this.
10633 if test -x /usr
/bin
/objformat
; then
10634 objformat
=`/usr/bin/objformat`
10637 freebsd
[23].
*) objformat
=aout
;;
10638 *) objformat
=elf
;;
10641 version_type
=freebsd-
$objformat
10642 case $version_type in
10644 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10649 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10653 shlibpath_var
=LD_LIBRARY_PATH
10656 shlibpath_overrides_runpath
=yes
10658 freebsd3.
[01]* | freebsdelf3.
[01]*)
10659 shlibpath_overrides_runpath
=yes
10660 hardcode_into_libs
=yes
10662 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10663 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10664 shlibpath_overrides_runpath
=no
10665 hardcode_into_libs
=yes
10667 *) # from 4.6 on, and DragonFly
10668 shlibpath_overrides_runpath
=yes
10669 hardcode_into_libs
=yes
10678 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10679 soname_spec
='${libname}${release}${shared_ext}$major'
10680 shlibpath_var
=LD_LIBRARY_PATH
10681 hardcode_into_libs
=yes
10688 dynamic_linker
="$host_os runtime_loader"
10689 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10690 soname_spec
='${libname}${release}${shared_ext}$major'
10691 shlibpath_var
=LIBRARY_PATH
10692 shlibpath_overrides_runpath
=yes
10693 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10694 hardcode_into_libs
=yes
10697 hpux9
* | hpux10
* | hpux11
*)
10698 # Give a soname corresponding to the major version so that dld.sl refuses to
10699 # link against other versions.
10706 hardcode_into_libs
=yes
10707 dynamic_linker
="$host_os dld.so"
10708 shlibpath_var
=LD_LIBRARY_PATH
10709 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10710 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10711 soname_spec
='${libname}${release}${shared_ext}$major'
10712 if test "X$HPUX_IA64_MODE" = X32
; then
10713 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10715 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10717 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10721 hardcode_into_libs
=yes
10722 dynamic_linker
="$host_os dld.sl"
10723 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10724 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10725 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10726 soname_spec
='${libname}${release}${shared_ext}$major'
10727 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10728 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10732 dynamic_linker
="$host_os dld.sl"
10733 shlibpath_var
=SHLIB_PATH
10734 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10735 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10736 soname_spec
='${libname}${release}${shared_ext}$major'
10739 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10740 postinstall_cmds
='chmod 555 $lib'
10741 # or fails outright, so override atomically:
10742 install_override_mode
=555
10749 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10750 soname_spec
='${libname}${release}${shared_ext}$major'
10751 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10752 shlibpath_var
=LD_LIBRARY_PATH
10753 shlibpath_overrides_runpath
=no
10754 hardcode_into_libs
=yes
10757 irix5
* | irix6
* | nonstopux
*)
10759 nonstopux
*) version_type
=nonstopux
;;
10761 if test "$lt_cv_prog_gnu_ld" = yes; then
10769 soname_spec
='${libname}${release}${shared_ext}$major'
10770 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10772 irix5
* | nonstopux
*)
10773 libsuff
= shlibsuff
=
10776 case $LD in # libtool.m4 will add one of these switches to LD
10777 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10778 libsuff
= shlibsuff
= libmagic
=32-bit;;
10779 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10780 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10781 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10782 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10783 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10787 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10788 shlibpath_overrides_runpath
=no
10789 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10790 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10791 hardcode_into_libs
=yes
10794 # No shared lib support for Linux oldld, aout, or coff.
10795 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10799 # This must be Linux ELF.
10800 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10804 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10805 soname_spec
='${libname}${release}${shared_ext}$major'
10806 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10807 shlibpath_var
=LD_LIBRARY_PATH
10808 shlibpath_overrides_runpath
=no
10810 # Some binutils ld are patched to set DT_RUNPATH
10811 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10812 $as_echo_n "(cached) " >&6
10814 lt_cv_shlibpath_overrides_runpath
=no
10815 save_LDFLAGS
=$LDFLAGS
10816 save_libdir
=$libdir
10817 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10818 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10820 /* end confdefs.h. */
10830 if ac_fn_c_try_link
"$LINENO"; then :
10831 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10832 lt_cv_shlibpath_overrides_runpath
=yes
10835 rm -f core conftest.err conftest.
$ac_objext \
10836 conftest
$ac_exeext conftest.
$ac_ext
10837 LDFLAGS
=$save_LDFLAGS
10838 libdir
=$save_libdir
10842 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10844 # This implies no fast_install, which is unacceptable.
10845 # Some rework will be needed to allow for fast_install
10846 # before this can be enabled.
10847 hardcode_into_libs
=yes
10849 # Append ld.so.conf contents to the search path
10850 if test -f /etc
/ld.so.conf
; then
10851 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' ' '`
10852 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10855 # We used to test for /lib/ld.so.1 and disable shared libraries on
10856 # powerpc, because MkLinux only supported shared libraries with the
10857 # GNU dynamic linker. Since this was broken with cross compilers,
10858 # most powerpc-linux boxes support dynamic linking these days and
10859 # people can always --disable-shared, the test was removed, and we
10860 # assume the GNU/Linux dynamic linker is in use.
10861 dynamic_linker
='GNU/Linux ld.so'
10868 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10869 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10870 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10871 dynamic_linker
='NetBSD (a.out) ld.so'
10873 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10874 soname_spec
='${libname}${release}${shared_ext}$major'
10875 dynamic_linker
='NetBSD ld.elf_so'
10877 shlibpath_var
=LD_LIBRARY_PATH
10878 shlibpath_overrides_runpath
=yes
10879 hardcode_into_libs
=yes
10884 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10885 shlibpath_var
=LD_LIBRARY_PATH
10886 shlibpath_overrides_runpath
=yes
10893 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10894 soname_spec
='${libname}${release}${shared_ext}$major'
10895 shlibpath_var
=LD_LIBRARY_PATH
10896 shlibpath_overrides_runpath
=no
10897 hardcode_into_libs
=yes
10898 dynamic_linker
='ldqnx.so'
10903 sys_lib_dlsearch_path_spec
="/usr/lib"
10905 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10907 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10908 *) need_version
=no
;;
10910 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10911 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10912 shlibpath_var
=LD_LIBRARY_PATH
10913 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10915 openbsd2.
[89] | openbsd2.
[89].
*)
10916 shlibpath_overrides_runpath
=no
10919 shlibpath_overrides_runpath
=yes
10923 shlibpath_overrides_runpath
=yes
10928 libname_spec
='$name'
10931 library_names_spec
='$libname${shared_ext} $libname.a'
10932 dynamic_linker
='OS/2 ld.exe'
10933 shlibpath_var
=LIBPATH
10936 osf3
* | osf4
* | osf5
*)
10940 soname_spec
='${libname}${release}${shared_ext}$major'
10941 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10942 shlibpath_var
=LD_LIBRARY_PATH
10943 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10944 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10955 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10956 soname_spec
='${libname}${release}${shared_ext}$major'
10957 shlibpath_var
=LD_LIBRARY_PATH
10958 shlibpath_overrides_runpath
=yes
10959 hardcode_into_libs
=yes
10960 # ldd complains unless libraries are executable
10961 postinstall_cmds
='chmod +x $lib'
10966 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10967 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10968 shlibpath_var
=LD_LIBRARY_PATH
10969 shlibpath_overrides_runpath
=yes
10970 if test "$with_gnu_ld" = yes; then
10978 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10979 soname_spec
='${libname}${release}${shared_ext}$major'
10980 shlibpath_var
=LD_LIBRARY_PATH
10981 case $host_vendor in
10983 shlibpath_overrides_runpath
=no
10985 runpath_var
=LD_RUN_PATH
10993 shlibpath_overrides_runpath
=no
10994 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11000 if test -d /usr
/nec
;then
11002 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11003 soname_spec
='$libname${shared_ext}.$major'
11004 shlibpath_var
=LD_LIBRARY_PATH
11008 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11009 version_type
=freebsd-elf
11012 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11013 soname_spec
='${libname}${release}${shared_ext}$major'
11014 shlibpath_var
=LD_LIBRARY_PATH
11015 shlibpath_overrides_runpath
=yes
11016 hardcode_into_libs
=yes
11017 if test "$with_gnu_ld" = yes; then
11018 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11020 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11023 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11027 sys_lib_dlsearch_path_spec
='/usr/lib'
11031 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11035 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11036 shlibpath_var
=LD_LIBRARY_PATH
11037 shlibpath_overrides_runpath
=no
11038 hardcode_into_libs
=yes
11043 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11044 soname_spec
='${libname}${release}${shared_ext}$major'
11045 shlibpath_var
=LD_LIBRARY_PATH
11052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11053 $as_echo "$dynamic_linker" >&6; }
11054 test "$dynamic_linker" = no
&& can_build_shared
=no
11056 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11057 if test "$GCC" = yes; then
11058 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11061 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11062 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11064 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11065 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11160 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11162 if test -n "$hardcode_libdir_flag_spec" ||
11163 test -n "$runpath_var" ||
11164 test "X$hardcode_automatic" = "Xyes" ; then
11166 # We can hardcode non-existent directories.
11167 if test "$hardcode_direct" != no
&&
11168 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11169 # have to relink, otherwise we might link with an installed library
11170 # when we should be linking with a yet-to-be-installed one
11171 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11172 test "$hardcode_minus_L" != no
; then
11173 # Linking always hardcodes the temporary library directory.
11174 hardcode_action
=relink
11176 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11177 hardcode_action
=immediate
11180 # We cannot hardcode anything, or else we can only hardcode existing
11182 hardcode_action
=unsupported
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11185 $as_echo "$hardcode_action" >&6; }
11187 if test "$hardcode_action" = relink ||
11188 test "$inherit_rpath" = yes; then
11189 # Fast installation is not supported
11190 enable_fast_install
=no
11191 elif test "$shlibpath_overrides_runpath" = yes ||
11192 test "$enable_shared" = no
; then
11193 # Fast installation is not necessary
11194 enable_fast_install
=needless
11202 if test "x$enable_dlopen" != xyes
; then
11203 enable_dlopen
=unknown
11204 enable_dlopen_self
=unknown
11205 enable_dlopen_self_static
=unknown
11212 lt_cv_dlopen
="load_add_on"
11214 lt_cv_dlopen_self
=yes
11217 mingw
* | pw32
* | cegcc
*)
11218 lt_cv_dlopen
="LoadLibrary"
11223 lt_cv_dlopen
="dlopen"
11228 # if libdl is installed we need to link against it
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11230 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11231 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11232 $as_echo_n "(cached) " >&6
11234 ac_check_lib_save_LIBS
=$LIBS
11236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11237 /* end confdefs.h. */
11239 /* Override any GCC internal prototype to avoid an error.
11240 Use char because int might match the return type of a GCC
11241 builtin and then its argument prototype would still apply. */
11254 if ac_fn_c_try_link
"$LINENO"; then :
11255 ac_cv_lib_dl_dlopen
=yes
11257 ac_cv_lib_dl_dlopen
=no
11259 rm -f core conftest.err conftest.
$ac_objext \
11260 conftest
$ac_exeext conftest.
$ac_ext
11261 LIBS
=$ac_check_lib_save_LIBS
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11264 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11265 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11266 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11269 lt_cv_dlopen
="dyld"
11271 lt_cv_dlopen_self
=yes
11278 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11279 if test "x$ac_cv_func_shl_load" = xyes
; then :
11280 lt_cv_dlopen
="shl_load"
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11283 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11284 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11285 $as_echo_n "(cached) " >&6
11287 ac_check_lib_save_LIBS
=$LIBS
11289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11290 /* end confdefs.h. */
11292 /* Override any GCC internal prototype to avoid an error.
11293 Use char because int might match the return type of a GCC
11294 builtin and then its argument prototype would still apply. */
11302 return shl_load ();
11307 if ac_fn_c_try_link
"$LINENO"; then :
11308 ac_cv_lib_dld_shl_load
=yes
11310 ac_cv_lib_dld_shl_load
=no
11312 rm -f core conftest.err conftest.
$ac_objext \
11313 conftest
$ac_exeext conftest.
$ac_ext
11314 LIBS
=$ac_check_lib_save_LIBS
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11317 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11318 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11319 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11321 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11322 if test "x$ac_cv_func_dlopen" = xyes
; then :
11323 lt_cv_dlopen
="dlopen"
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11326 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11327 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11328 $as_echo_n "(cached) " >&6
11330 ac_check_lib_save_LIBS
=$LIBS
11332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11333 /* end confdefs.h. */
11335 /* Override any GCC internal prototype to avoid an error.
11336 Use char because int might match the return type of a GCC
11337 builtin and then its argument prototype would still apply. */
11350 if ac_fn_c_try_link
"$LINENO"; then :
11351 ac_cv_lib_dl_dlopen
=yes
11353 ac_cv_lib_dl_dlopen
=no
11355 rm -f core conftest.err conftest.
$ac_objext \
11356 conftest
$ac_exeext conftest.
$ac_ext
11357 LIBS
=$ac_check_lib_save_LIBS
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11360 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11361 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11362 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11365 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11366 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11367 $as_echo_n "(cached) " >&6
11369 ac_check_lib_save_LIBS
=$LIBS
11370 LIBS
="-lsvld $LIBS"
11371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11372 /* end confdefs.h. */
11374 /* Override any GCC internal prototype to avoid an error.
11375 Use char because int might match the return type of a GCC
11376 builtin and then its argument prototype would still apply. */
11389 if ac_fn_c_try_link
"$LINENO"; then :
11390 ac_cv_lib_svld_dlopen
=yes
11392 ac_cv_lib_svld_dlopen
=no
11394 rm -f core conftest.err conftest.
$ac_objext \
11395 conftest
$ac_exeext conftest.
$ac_ext
11396 LIBS
=$ac_check_lib_save_LIBS
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11399 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11400 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11401 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11404 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11405 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11406 $as_echo_n "(cached) " >&6
11408 ac_check_lib_save_LIBS
=$LIBS
11410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11411 /* end confdefs.h. */
11413 /* Override any GCC internal prototype to avoid an error.
11414 Use char because int might match the return type of a GCC
11415 builtin and then its argument prototype would still apply. */
11423 return dld_link ();
11428 if ac_fn_c_try_link
"$LINENO"; then :
11429 ac_cv_lib_dld_dld_link
=yes
11431 ac_cv_lib_dld_dld_link
=no
11433 rm -f core conftest.err conftest.
$ac_objext \
11434 conftest
$ac_exeext conftest.
$ac_ext
11435 LIBS
=$ac_check_lib_save_LIBS
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11438 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11439 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11440 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11461 if test "x$lt_cv_dlopen" != xno
; then
11467 case $lt_cv_dlopen in
11469 save_CPPFLAGS
="$CPPFLAGS"
11470 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11472 save_LDFLAGS
="$LDFLAGS"
11473 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11476 LIBS
="$lt_cv_dlopen_libs $LIBS"
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11479 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11480 if ${lt_cv_dlopen_self+:} false
; then :
11481 $as_echo_n "(cached) " >&6
11483 if test "$cross_compiling" = yes; then :
11484 lt_cv_dlopen_self
=cross
11486 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11487 lt_status
=$lt_dlunknown
11488 cat > conftest.
$ac_ext <<_LT_EOF
11489 #line 11489 "configure"
11490 #include "confdefs.h"
11499 # define LT_DLGLOBAL RTLD_GLOBAL
11502 # define LT_DLGLOBAL DL_GLOBAL
11504 # define LT_DLGLOBAL 0
11508 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11509 find out it does not work in some platform. */
11510 #ifndef LT_DLLAZY_OR_NOW
11512 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11515 # define LT_DLLAZY_OR_NOW DL_LAZY
11518 # define LT_DLLAZY_OR_NOW RTLD_NOW
11521 # define LT_DLLAZY_OR_NOW DL_NOW
11523 # define LT_DLLAZY_OR_NOW 0
11530 /* When -fvisbility=hidden is used, assume the code has been annotated
11531 correspondingly for the symbols needed. */
11532 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11533 void fnord () __attribute__((visibility("default")));
11536 void fnord () { int i=42; }
11539 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11540 int status = $lt_dlunknown;
11544 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11547 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11548 else puts (dlerror ());
11550 /* dlclose (self); */
11558 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11559 (eval $ac_link) 2>&5
11561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11562 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11563 (.
/conftest
; exit; ) >&5 2>/dev
/null
11565 case x
$lt_status in
11566 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11567 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11568 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11571 # compilation failed
11572 lt_cv_dlopen_self
=no
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11580 $as_echo "$lt_cv_dlopen_self" >&6; }
11582 if test "x$lt_cv_dlopen_self" = xyes
; then
11583 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11585 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11586 if ${lt_cv_dlopen_self_static+:} false
; then :
11587 $as_echo_n "(cached) " >&6
11589 if test "$cross_compiling" = yes; then :
11590 lt_cv_dlopen_self_static
=cross
11592 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11593 lt_status
=$lt_dlunknown
11594 cat > conftest.
$ac_ext <<_LT_EOF
11595 #line 11595 "configure"
11596 #include "confdefs.h"
11605 # define LT_DLGLOBAL RTLD_GLOBAL
11608 # define LT_DLGLOBAL DL_GLOBAL
11610 # define LT_DLGLOBAL 0
11614 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11615 find out it does not work in some platform. */
11616 #ifndef LT_DLLAZY_OR_NOW
11618 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11621 # define LT_DLLAZY_OR_NOW DL_LAZY
11624 # define LT_DLLAZY_OR_NOW RTLD_NOW
11627 # define LT_DLLAZY_OR_NOW DL_NOW
11629 # define LT_DLLAZY_OR_NOW 0
11636 /* When -fvisbility=hidden is used, assume the code has been annotated
11637 correspondingly for the symbols needed. */
11638 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11639 void fnord () __attribute__((visibility("default")));
11642 void fnord () { int i=42; }
11645 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11646 int status = $lt_dlunknown;
11650 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11653 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11654 else puts (dlerror ());
11656 /* dlclose (self); */
11664 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11665 (eval $ac_link) 2>&5
11667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11668 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11669 (.
/conftest
; exit; ) >&5 2>/dev
/null
11671 case x
$lt_status in
11672 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11673 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11674 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11677 # compilation failed
11678 lt_cv_dlopen_self_static
=no
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11686 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11689 CPPFLAGS
="$save_CPPFLAGS"
11690 LDFLAGS
="$save_LDFLAGS"
11695 case $lt_cv_dlopen_self in
11696 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11697 *) enable_dlopen_self
=unknown
;;
11700 case $lt_cv_dlopen_self_static in
11701 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11702 *) enable_dlopen_self_static
=unknown
;;
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11725 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11726 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11727 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11728 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11730 $as_echo "yes" >&6; }
11732 # FIXME - insert some real tests, host_os isn't really good enough
11735 if test -n "$STRIP" ; then
11736 striplib
="$STRIP -x"
11737 old_striplib
="$STRIP -S"
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11739 $as_echo "yes" >&6; }
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11742 $as_echo "no" >&6; }
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11747 $as_echo "no" >&6; }
11763 # Report which library types will actually be built
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11765 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11767 $as_echo "$can_build_shared" >&6; }
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11770 $as_echo_n "checking whether to build shared libraries... " >&6; }
11771 test "$can_build_shared" = "no" && enable_shared
=no
11773 # On AIX, shared libraries and static libraries use the same namespace, and
11774 # are all built from PIC.
11777 test "$enable_shared" = yes && enable_static
=no
11778 if test -n "$RANLIB"; then
11779 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11780 postinstall_cmds
='$RANLIB $lib'
11785 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11786 test "$enable_shared" = yes && enable_static
=no
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11791 $as_echo "$enable_shared" >&6; }
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11794 $as_echo_n "checking whether to build static libraries... " >&6; }
11795 # Make sure either enable_shared or enable_static is yes.
11796 test "$enable_shared" = yes || enable_static
=yes
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11798 $as_echo "$enable_static" >&6; }
11805 ac_cpp
='$CPP $CPPFLAGS'
11806 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11807 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11808 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11824 # Source file extension for Go test sources.
11827 # Object file extension for compiled Go test sources.
11831 # Code to be used in simple compile tests
11832 lt_simple_compile_test_code
="package main; func main() { }"
11834 # Code to be used in simple link tests
11835 lt_simple_link_test_code
='package main; func main() { }'
11837 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11844 # If no C compiler was specified, use CC.
11847 # If no C compiler flags were specified, use CFLAGS.
11848 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11850 # Allow CC to be a program name with arguments.
11854 # save warnings/boilerplate of simple test code
11855 ac_outfile
=conftest.
$ac_objext
11856 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11857 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11858 _lt_compiler_boilerplate
=`cat conftest.err`
11861 ac_outfile
=conftest.
$ac_objext
11862 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11863 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11864 _lt_linker_boilerplate
=`cat conftest.err`
11868 # Allow CC to be a program name with arguments.
11876 for cc_temp
in $compiler""; do
11878 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11879 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11884 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11887 # Go did not exist at the time GCC didn't implicitly link libc in.
11888 archive_cmds_need_lc_GO
=no
11890 old_archive_cmds_GO
=$old_archive_cmds
11893 ## There is no encapsulation within the following macros, do not change
11894 ## the running order or otherwise move them around unless you know exactly
11895 ## what you are doing...
11896 if test -n "$compiler"; then
11898 lt_prog_compiler_no_builtin_flag_GO
=
11900 if test "$GCC" = yes; then
11901 case $cc_basename in
11903 lt_prog_compiler_no_builtin_flag_GO
=' -Xcompiler -fno-builtin' ;;
11905 lt_prog_compiler_no_builtin_flag_GO
=' -fno-builtin' ;;
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11909 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11910 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
11911 $as_echo_n "(cached) " >&6
11913 lt_cv_prog_compiler_rtti_exceptions
=no
11914 ac_outfile
=conftest.
$ac_objext
11915 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11916 lt_compiler_flag
="-fno-rtti -fno-exceptions"
11917 # Insert the option either (1) after the last *FLAGS variable, or
11918 # (2) before a word containing "conftest.", or (3) at the end.
11919 # Note that $ac_compile itself does not contain backslashes and begins
11920 # with a dollar sign (not a hyphen), so the echo should work correctly.
11921 # The option is referenced via a variable to avoid confusing sed.
11922 lt_compile
=`echo "$ac_compile" | $SED \
11923 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11924 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11925 -e 's:$: $lt_compiler_flag:'`
11926 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11927 (eval "$lt_compile" 2>conftest.err
)
11929 cat conftest.err
>&5
11930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11931 if (exit $ac_status) && test -s "$ac_outfile"; then
11932 # The compiler can only warn and ignore the option if not recognized
11933 # So say no if there are warnings other than the usual output.
11934 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11935 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11936 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11937 lt_cv_prog_compiler_rtti_exceptions
=yes
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11944 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11946 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
11947 lt_prog_compiler_no_builtin_flag_GO
="$lt_prog_compiler_no_builtin_flag_GO -fno-rtti -fno-exceptions"
11956 lt_prog_compiler_wl_GO
=
11957 lt_prog_compiler_pic_GO
=
11958 lt_prog_compiler_static_GO
=
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11961 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11963 if test "$GCC" = yes; then
11964 lt_prog_compiler_wl_GO
='-Wl,'
11965 lt_prog_compiler_static_GO
='-static'
11969 # All AIX code is PIC.
11970 if test "$host_cpu" = ia64
; then
11971 # AIX 5 now supports IA64 processor
11972 lt_prog_compiler_static_GO
='-Bstatic'
11974 lt_prog_compiler_pic_GO
='-fPIC'
11980 # see comment about AmigaOS4 .so support
11981 lt_prog_compiler_pic_GO
='-fPIC'
11984 # FIXME: we need at least 68020 code to build shared libraries, but
11985 # adding the `-m68020' flag to GCC prevents building anything better,
11987 lt_prog_compiler_pic_GO
='-m68020 -resident32 -malways-restore-a4'
11992 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11993 # PIC is the default for these OSes.
11996 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11997 # This hack is so that the source file can tell whether it is being
11998 # built for inclusion in a dll (and should export symbols for example).
11999 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12000 # (--disable-auto-import) libraries
12001 lt_prog_compiler_pic_GO
='-DDLL_EXPORT'
12004 darwin
* | rhapsody
*)
12005 # PIC is the default on this platform
12006 # Common symbols not allowed in MH_DYLIB files
12007 lt_prog_compiler_pic_GO
='-fno-common'
12011 # PIC is the default for Haiku.
12012 # The "-static" flag exists, but is broken.
12013 lt_prog_compiler_static_GO
=
12017 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12018 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12019 # sets the default TLS model and affects inlining.
12025 lt_prog_compiler_pic_GO
='-fPIC'
12031 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12032 # Instead, we relocate shared libraries at runtime.
12036 # Just because we use GCC doesn't mean we suddenly get shared libraries
12037 # on systems that don't support them.
12038 lt_prog_compiler_can_build_shared_GO
=no
12043 # QNX uses GNU C++, but need to define -shared option too, otherwise
12044 # it will coredump.
12045 lt_prog_compiler_pic_GO
='-fPIC -shared'
12049 if test -d /usr
/nec
; then
12050 lt_prog_compiler_pic_GO
=-Kconform_pic
12055 lt_prog_compiler_pic_GO
='-fPIC'
12059 case $cc_basename in
12060 nvcc
*) # Cuda Compiler Driver 2.2
12061 lt_prog_compiler_wl_GO
='-Xlinker '
12062 lt_prog_compiler_pic_GO
='-Xcompiler -fPIC'
12066 # PORTME Check for flag to pass linker flags through the system compiler.
12069 lt_prog_compiler_wl_GO
='-Wl,'
12070 if test "$host_cpu" = ia64
; then
12071 # AIX 5 now supports IA64 processor
12072 lt_prog_compiler_static_GO
='-Bstatic'
12074 lt_prog_compiler_static_GO
='-bnso -bI:/lib/syscalls.exp'
12078 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12079 # This hack is so that the source file can tell whether it is being
12080 # built for inclusion in a dll (and should export symbols for example).
12081 lt_prog_compiler_pic_GO
='-DDLL_EXPORT'
12084 hpux9
* | hpux10
* | hpux11
*)
12085 lt_prog_compiler_wl_GO
='-Wl,'
12086 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12087 # not for PA HP-UX.
12093 lt_prog_compiler_pic_GO
='+Z'
12096 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12097 lt_prog_compiler_static_GO
='${wl}-a ${wl}archive'
12100 irix5
* | irix6
* | nonstopux
*)
12101 lt_prog_compiler_wl_GO
='-Wl,'
12102 # PIC (with -KPIC) is the default.
12103 lt_prog_compiler_static_GO
='-non_shared'
12106 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12107 case $cc_basename in
12108 # old Intel for x86_64 which still supported -KPIC.
12110 lt_prog_compiler_wl_GO
='-Wl,'
12111 lt_prog_compiler_pic_GO
='-KPIC'
12112 lt_prog_compiler_static_GO
='-static'
12114 # icc used to be incompatible with GCC.
12115 # ICC 10 doesn't accept -KPIC any more.
12117 lt_prog_compiler_wl_GO
='-Wl,'
12118 lt_prog_compiler_pic_GO
='-fPIC'
12119 lt_prog_compiler_static_GO
='-static'
12121 # Lahey Fortran 8.1.
12123 lt_prog_compiler_wl_GO
='-Wl,'
12124 lt_prog_compiler_pic_GO
='--shared'
12125 lt_prog_compiler_static_GO
='--static'
12127 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12128 # Portland Group compilers (*not* the Pentium gcc compiler,
12129 # which looks to be a dead project)
12130 lt_prog_compiler_wl_GO
='-Wl,'
12131 lt_prog_compiler_pic_GO
='-fpic'
12132 lt_prog_compiler_static_GO
='-Bstatic'
12135 lt_prog_compiler_wl_GO
='-Wl,'
12136 # All Alpha code is PIC.
12137 lt_prog_compiler_static_GO
='-non_shared'
12139 xl
* | bgxl
* | bgf
* | mpixl
*)
12140 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
12141 lt_prog_compiler_wl_GO
='-Wl,'
12142 lt_prog_compiler_pic_GO
='-qpic'
12143 lt_prog_compiler_static_GO
='-qstaticlink'
12146 case `$CC -V 2>&1 | sed 5q` in
12147 *Sun\ F
* |
*Sun
*Fortran
*)
12148 # Sun Fortran 8.3 passes all unrecognized flags to the linker
12149 lt_prog_compiler_pic_GO
='-KPIC'
12150 lt_prog_compiler_static_GO
='-Bstatic'
12151 lt_prog_compiler_wl_GO
=''
12155 lt_prog_compiler_pic_GO
='-KPIC'
12156 lt_prog_compiler_static_GO
='-Bstatic'
12157 lt_prog_compiler_wl_GO
='-Wl,'
12165 lt_prog_compiler_pic_GO
='-KPIC'
12166 lt_prog_compiler_static_GO
='-Bstatic'
12170 # QNX uses GNU C++, but need to define -shared option too, otherwise
12171 # it will coredump.
12172 lt_prog_compiler_pic_GO
='-fPIC -shared'
12175 osf3
* | osf4
* | osf5
*)
12176 lt_prog_compiler_wl_GO
='-Wl,'
12177 # All OSF/1 code is PIC.
12178 lt_prog_compiler_static_GO
='-non_shared'
12182 lt_prog_compiler_static_GO
='-non_shared'
12186 lt_prog_compiler_pic_GO
='-KPIC'
12187 lt_prog_compiler_static_GO
='-Bstatic'
12188 case $cc_basename in
12189 f77
* | f90
* | f95
*)
12190 lt_prog_compiler_wl_GO
='-Qoption ld ';;
12192 lt_prog_compiler_wl_GO
='-Wl,';;
12197 lt_prog_compiler_wl_GO
='-Qoption ld '
12198 lt_prog_compiler_pic_GO
='-PIC'
12199 lt_prog_compiler_static_GO
='-Bstatic'
12202 sysv4 | sysv4.2uw2
* | sysv4.3
*)
12203 lt_prog_compiler_wl_GO
='-Wl,'
12204 lt_prog_compiler_pic_GO
='-KPIC'
12205 lt_prog_compiler_static_GO
='-Bstatic'
12209 if test -d /usr
/nec
;then
12210 lt_prog_compiler_pic_GO
='-Kconform_pic'
12211 lt_prog_compiler_static_GO
='-Bstatic'
12215 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12216 lt_prog_compiler_wl_GO
='-Wl,'
12217 lt_prog_compiler_pic_GO
='-KPIC'
12218 lt_prog_compiler_static_GO
='-Bstatic'
12222 lt_prog_compiler_wl_GO
='-Wl,'
12223 lt_prog_compiler_can_build_shared_GO
=no
12227 lt_prog_compiler_pic_GO
='-pic'
12228 lt_prog_compiler_static_GO
='-Bstatic'
12232 lt_prog_compiler_can_build_shared_GO
=no
12238 # For platforms which do not support PIC, -DPIC is meaningless:
12240 lt_prog_compiler_pic_GO
=
12243 lt_prog_compiler_pic_GO
="$lt_prog_compiler_pic_GO"
12246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_GO" >&5
12247 $as_echo "$lt_prog_compiler_pic_GO" >&6; }
12252 # Check to make sure the PIC flag actually works.
12254 if test -n "$lt_prog_compiler_pic_GO"; then
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GO works" >&5
12256 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GO works... " >&6; }
12257 if ${lt_cv_prog_compiler_pic_works_GO+:} false
; then :
12258 $as_echo_n "(cached) " >&6
12260 lt_cv_prog_compiler_pic_works_GO
=no
12261 ac_outfile
=conftest.
$ac_objext
12262 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12263 lt_compiler_flag
="$lt_prog_compiler_pic_GO"
12264 # Insert the option either (1) after the last *FLAGS variable, or
12265 # (2) before a word containing "conftest.", or (3) at the end.
12266 # Note that $ac_compile itself does not contain backslashes and begins
12267 # with a dollar sign (not a hyphen), so the echo should work correctly.
12268 # The option is referenced via a variable to avoid confusing sed.
12269 lt_compile
=`echo "$ac_compile" | $SED \
12270 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12271 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12272 -e 's:$: $lt_compiler_flag:'`
12273 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12274 (eval "$lt_compile" 2>conftest.err
)
12276 cat conftest.err
>&5
12277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12278 if (exit $ac_status) && test -s "$ac_outfile"; then
12279 # The compiler can only warn and ignore the option if not recognized
12280 # So say no if there are warnings other than the usual output.
12281 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
12282 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12283 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12284 lt_cv_prog_compiler_pic_works_GO
=yes
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_GO" >&5
12291 $as_echo "$lt_cv_prog_compiler_pic_works_GO" >&6; }
12293 if test x
"$lt_cv_prog_compiler_pic_works_GO" = xyes
; then
12294 case $lt_prog_compiler_pic_GO in
12296 *) lt_prog_compiler_pic_GO
=" $lt_prog_compiler_pic_GO" ;;
12299 lt_prog_compiler_pic_GO
=
12300 lt_prog_compiler_can_build_shared_GO
=no
12308 # Check to make sure the static flag actually works.
12310 wl
=$lt_prog_compiler_wl_GO eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GO\"
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12312 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12313 if ${lt_cv_prog_compiler_static_works_GO+:} false
; then :
12314 $as_echo_n "(cached) " >&6
12316 lt_cv_prog_compiler_static_works_GO
=no
12317 save_LDFLAGS
="$LDFLAGS"
12318 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12319 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12320 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12321 # The linker can only warn and ignore the option if not recognized
12322 # So say no if there are warnings
12323 if test -s conftest.err
; then
12324 # Append any errors to the config.log.
12325 cat conftest.err
1>&5
12326 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
12327 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12328 if diff conftest.exp conftest.er2
>/dev
/null
; then
12329 lt_cv_prog_compiler_static_works_GO
=yes
12332 lt_cv_prog_compiler_static_works_GO
=yes
12336 LDFLAGS
="$save_LDFLAGS"
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_GO" >&5
12340 $as_echo "$lt_cv_prog_compiler_static_works_GO" >&6; }
12342 if test x
"$lt_cv_prog_compiler_static_works_GO" = xyes
; then
12345 lt_prog_compiler_static_GO
=
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12352 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12353 if ${lt_cv_prog_compiler_c_o_GO+:} false
; then :
12354 $as_echo_n "(cached) " >&6
12356 lt_cv_prog_compiler_c_o_GO
=no
12357 $RM -r conftest
2>/dev
/null
12361 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12363 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12364 # Insert the option either (1) after the last *FLAGS variable, or
12365 # (2) before a word containing "conftest.", or (3) at the end.
12366 # Note that $ac_compile itself does not contain backslashes and begins
12367 # with a dollar sign (not a hyphen), so the echo should work correctly.
12368 lt_compile
=`echo "$ac_compile" | $SED \
12369 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12370 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12371 -e 's:$: $lt_compiler_flag:'`
12372 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12373 (eval "$lt_compile" 2>out
/conftest.err
)
12375 cat out
/conftest.err
>&5
12376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12377 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12379 # The compiler can only warn and ignore the option if not recognized
12380 # So say no if there are warnings
12381 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12382 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12383 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12384 lt_cv_prog_compiler_c_o_GO
=yes
12389 # SGI C++ compiler will create directory out/ii_files/ for
12390 # template instantiation
12391 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12392 $RM out
/* && rmdir out
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
12399 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12404 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12405 if ${lt_cv_prog_compiler_c_o_GO+:} false
; then :
12406 $as_echo_n "(cached) " >&6
12408 lt_cv_prog_compiler_c_o_GO
=no
12409 $RM -r conftest
2>/dev
/null
12413 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12415 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12416 # Insert the option either (1) after the last *FLAGS variable, or
12417 # (2) before a word containing "conftest.", or (3) at the end.
12418 # Note that $ac_compile itself does not contain backslashes and begins
12419 # with a dollar sign (not a hyphen), so the echo should work correctly.
12420 lt_compile
=`echo "$ac_compile" | $SED \
12421 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12422 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12423 -e 's:$: $lt_compiler_flag:'`
12424 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12425 (eval "$lt_compile" 2>out
/conftest.err
)
12427 cat out
/conftest.err
>&5
12428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12429 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12431 # The compiler can only warn and ignore the option if not recognized
12432 # So say no if there are warnings
12433 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12434 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12435 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12436 lt_cv_prog_compiler_c_o_GO
=yes
12441 # SGI C++ compiler will create directory out/ii_files/ for
12442 # template instantiation
12443 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12444 $RM out
/* && rmdir out
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
12451 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
12456 hard_links
="nottested"
12457 if test "$lt_cv_prog_compiler_c_o_GO" = no
&& test "$need_locks" != no
; then
12458 # do not overwrite the value of need_locks provided by the user
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12460 $as_echo_n "checking if we can lock with hard links... " >&6; }
12463 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12465 ln conftest.a conftest.b
2>&5 || hard_links
=no
12466 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12468 $as_echo "$hard_links" >&6; }
12469 if test "$hard_links" = no
; then
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12471 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12481 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12484 allow_undefined_flag_GO
=
12485 always_export_symbols_GO
=no
12487 archive_expsym_cmds_GO
=
12488 compiler_needs_object_GO
=no
12489 enable_shared_with_static_runtimes_GO
=no
12490 export_dynamic_flag_spec_GO
=
12491 export_symbols_cmds_GO
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12492 hardcode_automatic_GO
=no
12493 hardcode_direct_GO
=no
12494 hardcode_direct_absolute_GO
=no
12495 hardcode_libdir_flag_spec_GO
=
12496 hardcode_libdir_flag_spec_ld_GO
=
12497 hardcode_libdir_separator_GO
=
12498 hardcode_minus_L_GO
=no
12499 hardcode_shlibpath_var_GO
=unsupported
12500 inherit_rpath_GO
=no
12501 link_all_deplibs_GO
=unknown
12503 module_expsym_cmds_GO
=
12504 old_archive_from_new_cmds_GO
=
12505 old_archive_from_expsyms_cmds_GO
=
12506 thread_safe_flag_spec_GO
=
12507 whole_archive_flag_spec_GO
=
12508 # include_expsyms should be a list of space-separated symbols to be *always*
12509 # included in the symbol list
12510 include_expsyms_GO
=
12511 # exclude_expsyms can be an extended regexp of symbols to exclude
12512 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12513 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12514 # as well as any symbol that contains `d'.
12515 exclude_expsyms_GO
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12516 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12517 # platforms (ab)use it in PIC code, but their linkers get confused if
12518 # the symbol is explicitly referenced. Since portable code cannot
12519 # rely on this symbol name, it's probably fine to never include it in
12520 # preloaded symbol tables.
12521 # Exclude shared library initialization/finalization symbols.
12522 extract_expsyms_cmds
=
12525 cygwin
* | mingw
* | pw32
* | cegcc
*)
12526 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12527 # When not using gcc, we currently assume that we are using
12528 # Microsoft Visual C++.
12529 if test "$GCC" != yes; then
12534 # we just hope/assume this is gcc and not c89 (= MSVC++)
12544 # On some targets, GNU ld is compatible enough with the native linker
12545 # that we're better off using the native interface for both.
12546 lt_use_gnu_ld_interface
=no
12547 if test "$with_gnu_ld" = yes; then
12550 # The AIX port of GNU ld has always aspired to compatibility
12551 # with the native linker. However, as the warning in the GNU ld
12552 # block says, versions before 2.19.5* couldn't really create working
12553 # shared libraries, regardless of the interface used.
12554 case `$LD -v 2>&1` in
12555 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
12556 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
12557 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
12559 lt_use_gnu_ld_interface
=yes
12564 lt_use_gnu_ld_interface
=yes
12569 if test "$lt_use_gnu_ld_interface" = yes; then
12570 # If archive_cmds runs LD, not CC, wlarc should be empty
12573 # Set some defaults for GNU ld with shared library support. These
12574 # are reset later if shared libraries are not supported. Putting them
12575 # here allows them to be overridden if necessary.
12576 runpath_var
=LD_RUN_PATH
12577 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12578 export_dynamic_flag_spec_GO
='${wl}--export-dynamic'
12579 # ancient GNU ld didn't support --whole-archive et. al.
12580 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12581 whole_archive_flag_spec_GO
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12583 whole_archive_flag_spec_GO
=
12585 supports_anon_versioning
=no
12586 case `$LD -v 2>&1` in
12587 *GNU\ gold
*) supports_anon_versioning
=yes ;;
12588 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12589 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12590 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12591 *\
2.11.
*) ;; # other 2.11 versions
12592 *) supports_anon_versioning
=yes ;;
12595 # See if GNU ld supports shared libraries.
12598 # On AIX/PPC, the GNU linker is very broken
12599 if test "$host_cpu" != ia64
; then
12603 *** Warning: the GNU linker, at least up to release 2.19, is reported
12604 *** to be unable to reliably create shared libraries on AIX.
12605 *** Therefore, libtool is disabling shared libraries support. If you
12606 *** really care for shared libraries, you may want to install binutils
12607 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12608 *** You will then need to restart the configuration process.
12617 # see comment about AmigaOS4 .so support
12618 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12619 archive_expsym_cmds_GO
=''
12622 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)'
12623 hardcode_libdir_flag_spec_GO
='-L$libdir'
12624 hardcode_minus_L_GO
=yes
12630 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12631 allow_undefined_flag_GO
=unsupported
12632 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12633 # support --undefined. This deserves some investigation. FIXME
12634 archive_cmds_GO
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12640 cygwin
* | mingw
* | pw32
* | cegcc
*)
12641 # _LT_TAGVAR(hardcode_libdir_flag_spec, GO) is actually meaningless,
12642 # as there is no search path for DLLs.
12643 hardcode_libdir_flag_spec_GO
='-L$libdir'
12644 export_dynamic_flag_spec_GO
='${wl}--export-all-symbols'
12645 allow_undefined_flag_GO
=unsupported
12646 always_export_symbols_GO
=no
12647 enable_shared_with_static_runtimes_GO
=yes
12648 export_symbols_cmds_GO
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12650 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12651 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12652 # If the export-symbols file already is a .def file (1st line
12653 # is EXPORTS), use it as is; otherwise, prepend...
12654 archive_expsym_cmds_GO
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12655 cp $export_symbols $output_objdir/$soname.def;
12657 echo EXPORTS > $output_objdir/$soname.def;
12658 cat $export_symbols >> $output_objdir/$soname.def;
12660 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12667 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12668 link_all_deplibs_GO
=yes
12672 hardcode_direct_GO
=no
12673 hardcode_shlibpath_var_GO
=no
12674 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12675 export_dynamic_flag_spec_GO
='${wl}-E'
12676 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12677 # Instead, shared libraries are loaded at an image base (0x10000000 by
12678 # default) and relocated if they conflict, which is a slow very memory
12679 # consuming and fragmenting process. To avoid this, we pick a random,
12680 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12681 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12682 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'
12683 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'
12686 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12688 if test "$host_os" = linux-dietlibc
; then
12689 case $cc_basename in
12690 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12693 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12694 && test "$tmp_diet" = no
12697 tmp_sharedflag
='-shared'
12698 case $cc_basename,$host_cpu in
12699 pgcc
*) # Portland Group C compiler
12700 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'
12701 tmp_addflag
=' $pic_flag'
12703 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12704 # Portland Group f77 and f90 compilers
12705 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'
12706 tmp_addflag
=' $pic_flag -Mnomain' ;;
12707 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12708 tmp_addflag
=' -i_dynamic' ;;
12709 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12710 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12711 ifc
* | ifort
*) # Intel Fortran compiler
12712 tmp_addflag
=' -nofor_main' ;;
12713 lf95
*) # Lahey Fortran 8.1
12714 whole_archive_flag_spec_GO
=
12715 tmp_sharedflag
='--shared' ;;
12716 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12717 tmp_sharedflag
='-qmkshrobj'
12719 nvcc
*) # Cuda Compiler Driver 2.2
12720 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'
12721 compiler_needs_object_GO
=yes
12724 case `$CC -V 2>&1 | sed 5q` in
12725 *Sun\ C
*) # Sun C 5.9
12726 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'
12727 compiler_needs_object_GO
=yes
12728 tmp_sharedflag
='-G' ;;
12729 *Sun\ F
*) # Sun Fortran 8.3
12730 tmp_sharedflag
='-G' ;;
12732 archive_cmds_GO
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12734 if test "x$supports_anon_versioning" = xyes
; then
12735 archive_expsym_cmds_GO
='echo "{ global:" > $output_objdir/$libname.ver~
12736 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12737 echo "local: *; };" >> $output_objdir/$libname.ver~
12738 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12741 case $cc_basename in
12742 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12743 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12744 whole_archive_flag_spec_GO
='--whole-archive$convenience --no-whole-archive'
12745 hardcode_libdir_flag_spec_GO
=
12746 hardcode_libdir_flag_spec_ld_GO
='-rpath $libdir'
12747 archive_cmds_GO
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12748 if test "x$supports_anon_versioning" = xyes
; then
12749 archive_expsym_cmds_GO
='echo "{ global:" > $output_objdir/$libname.ver~
12750 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12751 echo "local: *; };" >> $output_objdir/$libname.ver~
12752 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12762 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12763 archive_cmds_GO
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12766 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12767 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12772 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12776 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12777 *** create shared libraries on Solaris systems. Therefore, libtool
12778 *** is disabling shared libraries support. We urge you to upgrade GNU
12779 *** binutils to release 2.9.1 or newer. Another option is to modify
12780 *** your PATH or compiler configuration so that the native linker is
12781 *** used, and then restart.
12784 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12785 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12786 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12792 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12793 case `$LD -v 2>&1` in
12794 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12798 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12799 *** reliably create shared libraries on SCO systems. Therefore, libtool
12800 *** is disabling shared libraries support. We urge you to upgrade GNU
12801 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12802 *** your PATH or compiler configuration so that the native linker is
12803 *** used, and then restart.
12808 # For security reasons, it is highly recommended that you always
12809 # use absolute paths for naming shared libraries, and exclude the
12810 # DT_RUNPATH tag from executables and libraries. But doing so
12811 # requires that you compile everything twice, which is a pain.
12812 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12813 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12814 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12815 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12824 archive_cmds_GO
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12826 hardcode_direct_GO
=yes
12827 hardcode_shlibpath_var_GO
=no
12831 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12832 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12833 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12840 if test "$ld_shlibs_GO" = no
; then
12842 hardcode_libdir_flag_spec_GO
=
12843 export_dynamic_flag_spec_GO
=
12844 whole_archive_flag_spec_GO
=
12847 # PORTME fill in a description of your system's linker (not GNU ld)
12850 allow_undefined_flag_GO
=unsupported
12851 always_export_symbols_GO
=yes
12852 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'
12853 # Note: this linker hardcodes the directories in LIBPATH if there
12854 # are no directories specified by -L.
12855 hardcode_minus_L_GO
=yes
12856 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12857 # Neither direct hardcoding nor static linking is supported with a
12859 hardcode_direct_GO
=unsupported
12864 if test "$host_cpu" = ia64
; then
12865 # On IA64, the linker does run time linking by default, so we don't
12866 # have to do anything special.
12867 aix_use_runtimelinking
=no
12868 exp_sym_flag
='-Bexport'
12871 # If we're using GNU nm, then we don't want the "-C" option.
12872 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12873 # Also, AIX nm treats weak defined symbols like other global
12874 # defined symbols, whereas GNU nm marks them as "W".
12875 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
12876 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'
12878 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'
12880 aix_use_runtimelinking
=no
12882 # Test if we are trying to use run time linking or normal
12883 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12884 # need to do runtime linking.
12885 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12886 for ld_flag
in $LDFLAGS; do
12887 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
12888 aix_use_runtimelinking
=yes
12895 exp_sym_flag
='-bexport'
12896 no_entry_flag
='-bnoentry'
12899 # When large executables or shared objects are built, AIX ld can
12900 # have problems creating the table of contents. If linking a library
12901 # or program results in "error TOC overflow" add -mminimal-toc to
12902 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12903 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12906 hardcode_direct_GO
=yes
12907 hardcode_direct_absolute_GO
=yes
12908 hardcode_libdir_separator_GO
=':'
12909 link_all_deplibs_GO
=yes
12910 file_list_spec_GO
='${wl}-f,'
12912 if test "$GCC" = yes; then
12913 case $host_os in aix4.
[012]|aix4.
[012].
*)
12914 # We only want to do this on AIX 4.2 and lower, the check
12915 # below for broken collect2 doesn't work under 4.3+
12916 collect2name
=`${CC} -print-prog-name=collect2`
12917 if test -f "$collect2name" &&
12918 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12920 # We have reworked collect2
12923 # We have old collect2
12924 hardcode_direct_GO
=unsupported
12925 # It fails to find uninstalled libraries when the uninstalled
12926 # path is not listed in the libpath. Setting hardcode_minus_L
12927 # to unsupported forces relinking
12928 hardcode_minus_L_GO
=yes
12929 hardcode_libdir_flag_spec_GO
='-L$libdir'
12930 hardcode_libdir_separator_GO
=
12934 shared_flag
='-shared'
12935 if test "$aix_use_runtimelinking" = yes; then
12936 shared_flag
="$shared_flag "'${wl}-G'
12940 if test "$host_cpu" = ia64
; then
12941 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12942 # chokes on -Wl,-G. The following line is correct:
12945 if test "$aix_use_runtimelinking" = yes; then
12946 shared_flag
='${wl}-G'
12948 shared_flag
='${wl}-bM:SRE'
12953 export_dynamic_flag_spec_GO
='${wl}-bexpall'
12954 # It seems that -bexpall does not export symbols beginning with
12955 # underscore (_), so it is better to generate a list of symbols to export.
12956 always_export_symbols_GO
=yes
12957 if test "$aix_use_runtimelinking" = yes; then
12958 # Warning - without using the other runtime loading flags (-brtl),
12959 # -berok will link without error, but may produce a broken library.
12960 allow_undefined_flag_GO
='-berok'
12961 # Determine the default libpath from the value encoded in an
12962 # empty executable.
12963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12964 /* end confdefs.h. */
12974 if ac_fn_c_try_link
"$LINENO"; then :
12976 lt_aix_libpath_sed
='
12977 /Import File Strings/,/^$/ {
12983 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12984 # Check for a 64-bit object if we didn't find anything.
12985 if test -z "$aix_libpath"; then
12986 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12989 rm -f core conftest.err conftest.
$ac_objext \
12990 conftest
$ac_exeext conftest.
$ac_ext
12991 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12993 hardcode_libdir_flag_spec_GO
='${wl}-blibpath:$libdir:'"$aix_libpath"
12994 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"
12996 if test "$host_cpu" = ia64
; then
12997 hardcode_libdir_flag_spec_GO
='${wl}-R $libdir:/usr/lib:/lib'
12998 allow_undefined_flag_GO
="-z nodefs"
12999 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"
13001 # Determine the default libpath from the value encoded in an
13002 # empty executable.
13003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13004 /* end confdefs.h. */
13014 if ac_fn_c_try_link
"$LINENO"; then :
13016 lt_aix_libpath_sed
='
13017 /Import File Strings/,/^$/ {
13023 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13024 # Check for a 64-bit object if we didn't find anything.
13025 if test -z "$aix_libpath"; then
13026 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13029 rm -f core conftest.err conftest.
$ac_objext \
13030 conftest
$ac_exeext conftest.
$ac_ext
13031 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13033 hardcode_libdir_flag_spec_GO
='${wl}-blibpath:$libdir:'"$aix_libpath"
13034 # Warning - without using the other run time loading flags,
13035 # -berok will link without error, but may produce a broken library.
13036 no_undefined_flag_GO
=' ${wl}-bernotok'
13037 allow_undefined_flag_GO
=' ${wl}-berok'
13038 if test "$with_gnu_ld" = yes; then
13039 # We only use this code for GNU lds that support --whole-archive.
13040 whole_archive_flag_spec_GO
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13042 # Exported symbols can be pulled into shared objects from archives
13043 whole_archive_flag_spec_GO
='$convenience'
13045 archive_cmds_need_lc_GO
=yes
13046 # This is similar to how AIX traditionally builds its shared libraries.
13047 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'
13055 # see comment about AmigaOS4 .so support
13056 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13057 archive_expsym_cmds_GO
=''
13060 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)'
13061 hardcode_libdir_flag_spec_GO
='-L$libdir'
13062 hardcode_minus_L_GO
=yes
13068 export_dynamic_flag_spec_GO
=-rdynamic
13071 cygwin
* | mingw
* | pw32
* | cegcc
*)
13072 # When not using gcc, we currently assume that we are using
13073 # Microsoft Visual C++.
13074 # hardcode_libdir_flag_spec is actually meaningless, as there is
13075 # no search path for DLLs.
13076 hardcode_libdir_flag_spec_GO
=' '
13077 allow_undefined_flag_GO
=unsupported
13078 # Tell ltmain to make .lib files, not .a files.
13080 # Tell ltmain to make .dll files, not .so files.
13082 # FIXME: Setting linknames here is a bad hack.
13083 archive_cmds_GO
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13084 # The linker will automatically build a .lib file if we build a DLL.
13085 old_archive_from_new_cmds_GO
='true'
13086 # FIXME: Should let the user specify the lib program.
13087 old_archive_cmds_GO
='lib -OUT:$oldlib$oldobjs$old_deplibs'
13088 fix_srcfile_path_GO
='`cygpath -w "$srcfile"`'
13089 enable_shared_with_static_runtimes_GO
=yes
13092 darwin
* | rhapsody
*)
13095 archive_cmds_need_lc_GO
=no
13096 hardcode_direct_GO
=no
13097 hardcode_automatic_GO
=yes
13098 hardcode_shlibpath_var_GO
=unsupported
13099 if test "$lt_cv_ld_force_load" = "yes"; then
13100 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\"`'
13102 whole_archive_flag_spec_GO
=''
13104 link_all_deplibs_GO
=yes
13105 allow_undefined_flag_GO
="$_lt_dar_allow_undefined"
13106 case $cc_basename in
13107 ifort
*) _lt_dar_can_shared
=yes ;;
13108 *) _lt_dar_can_shared
=$GCC ;;
13110 if test "$_lt_dar_can_shared" = "yes"; then
13111 output_verbose_link_cmd
=func_echo_all
13112 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}"
13113 module_cmds_GO
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13114 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}"
13115 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}"
13124 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13125 hardcode_libdir_flag_spec_GO
='-L$libdir'
13126 hardcode_shlibpath_var_GO
=no
13129 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13130 # support. Future versions do this automatically, but an explicit c++rt0.o
13131 # does not break anything, and helps significantly (at the cost of a little
13134 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13135 hardcode_libdir_flag_spec_GO
='-R$libdir'
13136 hardcode_direct_GO
=yes
13137 hardcode_shlibpath_var_GO
=no
13140 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13142 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13143 hardcode_direct_GO
=yes
13144 hardcode_minus_L_GO
=yes
13145 hardcode_shlibpath_var_GO
=no
13148 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13149 freebsd
* | dragonfly
*)
13150 archive_cmds_GO
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13151 hardcode_libdir_flag_spec_GO
='-R$libdir'
13152 hardcode_direct_GO
=yes
13153 hardcode_shlibpath_var_GO
=no
13157 if test "$GCC" = yes; then
13158 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'
13160 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'
13162 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
13163 hardcode_libdir_separator_GO
=:
13164 hardcode_direct_GO
=yes
13166 # hardcode_minus_L: Not really in the search PATH,
13167 # but as the default location of the library.
13168 hardcode_minus_L_GO
=yes
13169 export_dynamic_flag_spec_GO
='${wl}-E'
13173 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
13174 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13176 archive_cmds_GO
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13178 if test "$with_gnu_ld" = no
; then
13179 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
13180 hardcode_libdir_flag_spec_ld_GO
='+b $libdir'
13181 hardcode_libdir_separator_GO
=:
13182 hardcode_direct_GO
=yes
13183 hardcode_direct_absolute_GO
=yes
13184 export_dynamic_flag_spec_GO
='${wl}-E'
13185 # hardcode_minus_L: Not really in the search PATH,
13186 # but as the default location of the library.
13187 hardcode_minus_L_GO
=yes
13192 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
13195 archive_cmds_GO
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13198 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13201 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13207 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13210 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13213 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13217 if test "$with_gnu_ld" = no
; then
13218 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
13219 hardcode_libdir_separator_GO
=:
13223 hardcode_direct_GO
=no
13224 hardcode_shlibpath_var_GO
=no
13227 hardcode_direct_GO
=yes
13228 hardcode_direct_absolute_GO
=yes
13229 export_dynamic_flag_spec_GO
='${wl}-E'
13231 # hardcode_minus_L: Not really in the search PATH,
13232 # but as the default location of the library.
13233 hardcode_minus_L_GO
=yes
13239 irix5
* | irix6
* | nonstopux
*)
13240 if test "$GCC" = yes; then
13241 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'
13242 # Try to use the -exported_symbol ld option, if it does not
13243 # work, assume that -exports_file does not work either and
13244 # implicitly export all symbols.
13245 save_LDFLAGS
="$LDFLAGS"
13246 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13248 /* end confdefs.h. */
13251 if ac_fn_c_try_link
"$LINENO"; then :
13252 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'
13255 rm -f core conftest.err conftest.
$ac_objext \
13256 conftest
$ac_exeext conftest.
$ac_ext
13257 LDFLAGS
="$save_LDFLAGS"
13259 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'
13260 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'
13262 archive_cmds_need_lc_GO
='no'
13263 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
13264 hardcode_libdir_separator_GO
=:
13265 inherit_rpath_GO
=yes
13266 link_all_deplibs_GO
=yes
13270 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13271 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13273 archive_cmds_GO
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13275 hardcode_libdir_flag_spec_GO
='-R$libdir'
13276 hardcode_direct_GO
=yes
13277 hardcode_shlibpath_var_GO
=no
13281 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13282 hardcode_direct_GO
=yes
13283 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
13284 hardcode_libdir_separator_GO
=:
13285 hardcode_shlibpath_var_GO
=no
13292 if test -f /usr
/libexec
/ld.so
; then
13293 hardcode_direct_GO
=yes
13294 hardcode_shlibpath_var_GO
=no
13295 hardcode_direct_absolute_GO
=yes
13296 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13297 archive_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13298 archive_expsym_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13299 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
13300 export_dynamic_flag_spec_GO
='${wl}-E'
13303 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
13304 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13305 hardcode_libdir_flag_spec_GO
='-R$libdir'
13308 archive_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13309 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
13319 hardcode_libdir_flag_spec_GO
='-L$libdir'
13320 hardcode_minus_L_GO
=yes
13321 allow_undefined_flag_GO
=unsupported
13322 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'
13323 old_archive_from_new_cmds_GO
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13327 if test "$GCC" = yes; then
13328 allow_undefined_flag_GO
=' ${wl}-expect_unresolved ${wl}\*'
13329 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'
13331 allow_undefined_flag_GO
=' -expect_unresolved \*'
13332 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'
13334 archive_cmds_need_lc_GO
='no'
13335 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
13336 hardcode_libdir_separator_GO
=:
13339 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
13340 if test "$GCC" = yes; then
13341 allow_undefined_flag_GO
=' ${wl}-expect_unresolved ${wl}\*'
13342 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'
13343 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
13345 allow_undefined_flag_GO
=' -expect_unresolved \*'
13346 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'
13347 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~
13348 $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'
13350 # Both c and cxx compiler support -rpath directly
13351 hardcode_libdir_flag_spec_GO
='-rpath $libdir'
13353 archive_cmds_need_lc_GO
='no'
13354 hardcode_libdir_separator_GO
=:
13358 no_undefined_flag_GO
=' -z defs'
13359 if test "$GCC" = yes; then
13361 archive_cmds_GO
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13362 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13363 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13365 case `$CC -V 2>&1` in
13368 archive_cmds_GO
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13369 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13370 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13374 archive_cmds_GO
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13375 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13376 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13380 hardcode_libdir_flag_spec_GO
='-R$libdir'
13381 hardcode_shlibpath_var_GO
=no
13383 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13385 # The compiler driver will combine and reorder linker options,
13386 # but understands `-z linker_flag'. GCC discards it without `$wl',
13387 # but is careful enough not to reorder.
13388 # Supported since Solaris 2.6 (maybe 2.5.1?)
13389 if test "$GCC" = yes; then
13390 whole_archive_flag_spec_GO
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13392 whole_archive_flag_spec_GO
='-z allextract$convenience -z defaultextract'
13396 link_all_deplibs_GO
=yes
13400 if test "x$host_vendor" = xsequent
; then
13401 # Use $CC to link under sequent, because it throws in some extra .o
13402 # files that make .init and .fini sections work.
13403 archive_cmds_GO
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13405 archive_cmds_GO
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13407 hardcode_libdir_flag_spec_GO
='-L$libdir'
13408 hardcode_direct_GO
=yes
13409 hardcode_minus_L_GO
=yes
13410 hardcode_shlibpath_var_GO
=no
13414 case $host_vendor in
13416 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13417 hardcode_direct_GO
=yes # is this really true???
13420 ## LD is ld it makes a PLAMLIB
13421 ## CC just makes a GrossModule.
13422 archive_cmds_GO
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13423 reload_cmds_GO
='$CC -r -o $output$reload_objs'
13424 hardcode_direct_GO
=no
13427 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13428 hardcode_direct_GO
=no
#Motorola manual says yes, but my tests say they lie
13431 runpath_var
='LD_RUN_PATH'
13432 hardcode_shlibpath_var_GO
=no
13436 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13437 hardcode_shlibpath_var_GO
=no
13438 export_dynamic_flag_spec_GO
='-Bexport'
13442 if test -d /usr
/nec
; then
13443 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13444 hardcode_shlibpath_var_GO
=no
13445 runpath_var
=LD_RUN_PATH
13446 hardcode_runpath_var
=yes
13451 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13452 no_undefined_flag_GO
='${wl}-z,text'
13453 archive_cmds_need_lc_GO
=no
13454 hardcode_shlibpath_var_GO
=no
13455 runpath_var
='LD_RUN_PATH'
13457 if test "$GCC" = yes; then
13458 archive_cmds_GO
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13459 archive_expsym_cmds_GO
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13461 archive_cmds_GO
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13462 archive_expsym_cmds_GO
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13466 sysv5
* | sco3.2v5
* | sco5v6
*)
13467 # Note: We can NOT use -z defs as we might desire, because we do not
13468 # link with -lc, and that would cause any symbols used from libc to
13469 # always be unresolved, which means just about no library would
13470 # ever link correctly. If we're not using GNU ld we use -z text
13471 # though, which does catch some bad symbols but isn't as heavy-handed
13473 no_undefined_flag_GO
='${wl}-z,text'
13474 allow_undefined_flag_GO
='${wl}-z,nodefs'
13475 archive_cmds_need_lc_GO
=no
13476 hardcode_shlibpath_var_GO
=no
13477 hardcode_libdir_flag_spec_GO
='${wl}-R,$libdir'
13478 hardcode_libdir_separator_GO
=':'
13479 link_all_deplibs_GO
=yes
13480 export_dynamic_flag_spec_GO
='${wl}-Bexport'
13481 runpath_var
='LD_RUN_PATH'
13483 if test "$GCC" = yes; then
13484 archive_cmds_GO
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13485 archive_expsym_cmds_GO
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13487 archive_cmds_GO
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13488 archive_expsym_cmds_GO
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13493 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13494 hardcode_libdir_flag_spec_GO
='-L$libdir'
13495 hardcode_shlibpath_var_GO
=no
13503 if test x
$host_vendor = xsni
; then
13505 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13506 export_dynamic_flag_spec_GO
='${wl}-Blargedynsym'
13512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GO" >&5
13513 $as_echo "$ld_shlibs_GO" >&6; }
13514 test "$ld_shlibs_GO" = no
&& can_build_shared
=no
13516 with_gnu_ld_GO
=$with_gnu_ld
13524 # Do we need to explicitly link libc?
13526 case "x$archive_cmds_need_lc_GO" in
13528 # Assume -lc should be added
13529 archive_cmds_need_lc_GO
=yes
13531 if test "$enable_shared" = yes && test "$GCC" = yes; then
13532 case $archive_cmds_GO in
13534 # FIXME: we may have to deal with multi-command sequences.
13537 # Test whether the compiler implicitly links with -lc since on some
13538 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13539 # to ld, don't add -lc before -lgcc.
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13541 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13542 if ${lt_cv_archive_cmds_need_lc_GO+:} false
; then :
13543 $as_echo_n "(cached) " >&6
13546 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13548 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13549 (eval $ac_compile) 2>&5
13551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13552 test $ac_status = 0; } 2>conftest.err
; then
13555 libobjs
=conftest.
$ac_objext
13557 wl
=$lt_prog_compiler_wl_GO
13558 pic_flag
=$lt_prog_compiler_pic_GO
13564 lt_save_allow_undefined_flag
=$allow_undefined_flag_GO
13565 allow_undefined_flag_GO
=
13566 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GO 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13567 (eval $archive_cmds_GO 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13570 test $ac_status = 0; }
13572 lt_cv_archive_cmds_need_lc_GO
=no
13574 lt_cv_archive_cmds_need_lc_GO
=yes
13576 allow_undefined_flag_GO
=$lt_save_allow_undefined_flag
13578 cat conftest.err
1>&5
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_GO" >&5
13584 $as_echo "$lt_cv_archive_cmds_need_lc_GO" >&6; }
13585 archive_cmds_need_lc_GO
=$lt_cv_archive_cmds_need_lc_GO
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13656 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13657 hardcode_action_GO
=
13658 if test -n "$hardcode_libdir_flag_spec_GO" ||
13659 test -n "$runpath_var_GO" ||
13660 test "X$hardcode_automatic_GO" = "Xyes" ; then
13662 # We can hardcode non-existent directories.
13663 if test "$hardcode_direct_GO" != no
&&
13664 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13665 # have to relink, otherwise we might link with an installed library
13666 # when we should be linking with a yet-to-be-installed one
13667 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, GO)" != no &&
13668 test "$hardcode_minus_L_GO" != no
; then
13669 # Linking always hardcodes the temporary library directory.
13670 hardcode_action_GO
=relink
13672 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13673 hardcode_action_GO
=immediate
13676 # We cannot hardcode anything, or else we can only hardcode existing
13678 hardcode_action_GO
=unsupported
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GO" >&5
13681 $as_echo "$hardcode_action_GO" >&6; }
13683 if test "$hardcode_action_GO" = relink ||
13684 test "$inherit_rpath_GO" = yes; then
13685 # Fast installation is not supported
13686 enable_fast_install
=no
13687 elif test "$shlibpath_overrides_runpath" = yes ||
13688 test "$enable_shared" = no
; then
13689 # Fast installation is not necessary
13690 enable_fast_install
=needless
13702 ac_cpp
='$CPP $CPPFLAGS'
13703 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13704 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13705 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13714 ac_config_commands
="$ac_config_commands libtool"
13719 # Only expand once:
13725 CC_FOR_BUILD
=${CC_FOR_BUILD:-gcc}
13728 for ac_prog
in gawk mawk nawk
awk
13730 # Extract the first word of "$ac_prog", so it can be a program name with args.
13731 set dummy
$ac_prog; ac_word
=$2
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13733 $as_echo_n "checking for $ac_word... " >&6; }
13734 if ${ac_cv_prog_AWK+:} false
; then :
13735 $as_echo_n "(cached) " >&6
13737 if test -n "$AWK"; then
13738 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
13740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13741 for as_dir
in $PATH
13744 test -z "$as_dir" && as_dir
=.
13745 for ac_exec_ext
in '' $ac_executable_extensions; do
13746 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13747 ac_cv_prog_AWK
="$ac_prog"
13748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13757 AWK
=$ac_cv_prog_AWK
13758 if test -n "$AWK"; then
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
13760 $as_echo "$AWK" >&6; }
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13763 $as_echo "no" >&6; }
13767 test -n "$AWK" && break
13771 WARN_FLAGS
='-Wall -Wextra -Wwrite-strings -Wcast-qual'
13774 # Check whether --enable-werror was given.
13775 if test "${enable_werror+set}" = set; then :
13776 enableval
=$enable_werror;
13779 if test "x$enable_werror" != "xno"; then
13784 glibgo_toolexecdir
=no
13785 glibgo_toolexeclibdir
=no
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
13788 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
13789 # Check whether --enable-version-specific-runtime-libs was given.
13790 if test "${enable_version_specific_runtime_libs+set}" = set; then :
13791 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
13792 yes) version_specific_libs
=yes ;;
13793 no
) version_specific_libs
=no
;;
13794 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
13797 version_specific_libs
=no
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
13801 $as_echo "$version_specific_libs" >&6; }
13803 # Version-specific runtime libs processing.
13804 if test $version_specific_libs = yes; then
13805 glibgo_toolexecdir
='${libdir}/gcc/${host_alias}'
13806 glibgo_toolexeclibdir
='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
13809 # Calculate glibgo_toolexecdir, glibgo_toolexeclibdir
13810 # Install a library built with a cross compiler in tooldir, not libdir.
13811 if test -n "$with_cross_host" &&
13812 test x
"$with_cross_host" != x
"no"; then
13813 nover_glibgo_toolexecdir
='${exec_prefix}/${host_alias}'
13814 nover_glibgo_toolexeclibdir
='${toolexecdir}/lib'
13816 nover_glibgo_toolexecdir
='${libdir}/gcc/${host_alias}'
13817 nover_glibgo_toolexeclibdir
='${libdir}'
13819 multi_os_directory
=`$GOC -print-multi-os-directory`
13820 case $multi_os_directory in
13821 .
) ;; # Avoid trailing /.
13822 *) nover_glibgo_toolexeclibdir
=${nover_glibgo_toolexeclibdir}/${multi_os_directory} ;;
13825 if test x
"$glibgo_toolexecdir" = x
"no"; then
13826 glibgo_toolexecdir
="${nover_glibgo_toolexecdir}"
13827 glibgo_toolexeclibdir
="${nover_glibgo_toolexeclibdir}"
13834 # See if the user wants to configure without libffi. Some
13835 # architectures don't support it. FIXME: We should set a default
13836 # based on the host.
13838 # Check whether --with-libffi was given.
13839 if test "${with_libffi+set}" = set; then :
13840 withval
=$with_libffi; :
13842 with_libffi
=${with_libffi_default-yes}
13848 if test "$with_libffi" != no
; then
13850 $as_echo "#define USE_LIBFFI 1" >>confdefs.h
13852 LIBFFI
=..
/libffi
/libffi_convenience.la
13853 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
13857 if test "$with_libffi" != "no"; then
13859 USE_LIBFFI_FALSE
='#'
13861 USE_LIBFFI_TRUE
='#'
13866 # See if the user wants to configure without libatomic. This is useful if we are
13867 # on an architecture for which libgo does not need an atomic support library and
13868 # libatomic does not support our C compiler.
13870 # Check whether --with-libatomic was given.
13871 if test "${with_libatomic+set}" = set; then :
13872 withval
=$with_libatomic; :
13874 with_libatomic
=${with_libatomic_default-yes}
13879 if test "$with_libatomic" != no
; then
13880 LIBATOMIC
=..
/libatomic
/libatomic_convenience.la
13884 # Used to tell GNU make to include a file without telling automake to
13886 go_include
="-include"
13889 # All known GOOS values. This is the union of all operating systems
13890 # supported by the gofrontend and all operating systems supported by
13891 # the gc toolchain.
13892 ALLGOOS
="aix android darwin dragonfly freebsd hurd illumos irix js linux netbsd openbsd plan9 rtems solaris windows"
13907 *-*-darwin*) is_darwin
=yes; GOOS
=darwin
;;
13908 *-*-freebsd*) is_freebsd
=yes; GOOS
=freebsd
;;
13909 *-*-irix6*) is_irix
=yes; GOOS
=irix
;;
13910 *-*-linux*) is_linux
=yes; GOOS
=linux
;;
13911 *-*-netbsd*) is_netbsd
=yes; GOOS
=netbsd
;;
13912 *-*-openbsd*) is_openbsd
=yes; GOOS
=openbsd
;;
13913 *-*-dragonfly*) is_dragonfly
=yes; GOOS
=dragonfly
;;
13914 *-*-rtems*) is_rtems
=yes; GOOS
=rtems
;;
13915 *-*-solaris2*) is_solaris
=yes; GOOS
=solaris
;;
13916 *-*-aix*) is_aix
=yes; GOOS
=aix
;;
13917 *-*-gnu*) is_hurd
=yes; GOOS
=hurd
;;
13919 if test $is_darwin = yes; then
13920 LIBGO_IS_DARWIN_TRUE
=
13921 LIBGO_IS_DARWIN_FALSE
='#'
13923 LIBGO_IS_DARWIN_TRUE
='#'
13924 LIBGO_IS_DARWIN_FALSE
=
13927 if test $is_freebsd = yes; then
13928 LIBGO_IS_FREEBSD_TRUE
=
13929 LIBGO_IS_FREEBSD_FALSE
='#'
13931 LIBGO_IS_FREEBSD_TRUE
='#'
13932 LIBGO_IS_FREEBSD_FALSE
=
13935 if test $is_irix = yes; then
13936 LIBGO_IS_IRIX_TRUE
=
13937 LIBGO_IS_IRIX_FALSE
='#'
13939 LIBGO_IS_IRIX_TRUE
='#'
13940 LIBGO_IS_IRIX_FALSE
=
13943 if test $is_linux = yes; then
13944 LIBGO_IS_LINUX_TRUE
=
13945 LIBGO_IS_LINUX_FALSE
='#'
13947 LIBGO_IS_LINUX_TRUE
='#'
13948 LIBGO_IS_LINUX_FALSE
=
13951 if test $is_netbsd = yes; then
13952 LIBGO_IS_NETBSD_TRUE
=
13953 LIBGO_IS_NETBSD_FALSE
='#'
13955 LIBGO_IS_NETBSD_TRUE
='#'
13956 LIBGO_IS_NETBSD_FALSE
=
13959 if test $is_openbsd = yes; then
13960 LIBGO_IS_OPENBSD_TRUE
=
13961 LIBGO_IS_OPENBSD_FALSE
='#'
13963 LIBGO_IS_OPENBSD_TRUE
='#'
13964 LIBGO_IS_OPENBSD_FALSE
=
13967 if test $is_dragonfly = yes; then
13968 LIBGO_IS_DRAGONFLY_TRUE
=
13969 LIBGO_IS_DRAGONFLY_FALSE
='#'
13971 LIBGO_IS_DRAGONFLY_TRUE
='#'
13972 LIBGO_IS_DRAGONFLY_FALSE
=
13975 if test $is_rtems = yes; then
13976 LIBGO_IS_RTEMS_TRUE
=
13977 LIBGO_IS_RTEMS_FALSE
='#'
13979 LIBGO_IS_RTEMS_TRUE
='#'
13980 LIBGO_IS_RTEMS_FALSE
=
13983 if test $is_solaris = yes; then
13984 LIBGO_IS_SOLARIS_TRUE
=
13985 LIBGO_IS_SOLARIS_FALSE
='#'
13987 LIBGO_IS_SOLARIS_TRUE
='#'
13988 LIBGO_IS_SOLARIS_FALSE
=
13991 if test $is_aix = yes; then
13993 LIBGO_IS_AIX_FALSE
='#'
13995 LIBGO_IS_AIX_TRUE
='#'
13996 LIBGO_IS_AIX_FALSE
=
13999 if test $is_hurd = yes; then
14000 LIBGO_IS_HURD_TRUE
=
14001 LIBGO_IS_HURD_FALSE
='#'
14003 LIBGO_IS_HURD_TRUE
='#'
14004 LIBGO_IS_HURD_FALSE
=
14007 if test $is_darwin = yes -o $is_dragonfly = yes -o $is_freebsd = yes -o $is_netbsd = yes -o $is_openbsd = yes; then
14009 LIBGO_IS_BSD_FALSE
='#'
14011 LIBGO_IS_BSD_TRUE
='#'
14012 LIBGO_IS_BSD_FALSE
=
14020 *-*-rtems*) USE_DEJAGNU
=yes ;;
14022 *) USE_DEJAGNU
=yes ;;
14026 # All known GOARCH values. This is the union of all architectures
14027 # supported by the gofrontend and all architectures supported by the
14029 # To add a new architecture:
14030 # - add it to this list
14031 # - if appropriate, add an entry to ALLGOARCHFAMILY below
14032 # - add an entry to the case on ${host} below to set GOARCH
14033 # - update goarchList in libgo/go/go/build/syslist.go
14034 # - update goarch.sh to report the values for this architecture
14035 # - update go-set-goarch in gcc/testsuite/go.test/go-test.exp
14036 # - update ptrSizeMap and intSizeMap in libgo/go/cmd/cgo/main.go
14037 # - update arch lists in libgo/match.sh
14038 # - update arch lists in libgo/testsuite/gotest
14039 # - update +build lines in several places
14040 # - libgo/go/runtime/lfstack_NNbit.go
14041 # - libgo/go/runtime/hashNN.go
14042 # - libgo/go/runtime/unalignedN.go
14043 # - libgo/go/syscall/endian_XX.go
14044 # - possibly others
14045 # - possibly update files in libgo/go/internal/syscall/unix
14046 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"
14048 # All known GOARCH family values.
14049 ALLGOARCHFAMILY
="I386 ALPHA AMD64 ARM ARM64 IA64 M68K MIPS MIPS64 NIOS2 PPC PPC64 RISCV RISCV64 S390 S390X SH SPARC SPARC64 WASM"
14062 arm
*-*-* | strongarm
*-*-* | ep9312
*-*-* | xscale-
*-*)
14070 i
[34567]86-*-* | x86_64-
*-*)
14071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14072 /* end confdefs.h. */
14079 if ac_fn_c_try_compile
"$LINENO"; then :
14082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14083 /* end confdefs.h. */
14090 if ac_fn_c_try_compile
"$LINENO"; then :
14095 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14097 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14107 /* end confdefs.h. */
14109 #if _MIPS_SIM != _ABIO32
14114 if ac_fn_c_try_compile
"$LINENO"; then :
14117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14118 /* end confdefs.h. */
14120 #if _MIPS_SIM != _ABIN32
14125 if ac_fn_c_try_compile
"$LINENO"; then :
14128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14129 /* end confdefs.h. */
14131 #if _MIPS_SIM != _ABI64
14136 if ac_fn_c_try_compile
"$LINENO"; then :
14139 as_fn_error $?
"unknown MIPS ABI" "$LINENO" 5
14142 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14144 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14146 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14147 case "$mips_abi" in
14148 "o32") GOARCH
=mips
;;
14149 "n32") GOARCH
=mips64p32
;;
14150 "n64") GOARCH
=mips64
;;
14154 GOARCH
="${GOARCH}le"
14161 rs6000
*-*-* | powerpc
*-*-*)
14162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14163 /* end confdefs.h. */
14170 if ac_fn_c_try_compile
"$LINENO"; then :
14174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14175 /* end confdefs.h. */
14177 #if defined(_BIG_ENDIAN) || defined(__BIG_ENDIAN__)
14182 if ac_fn_c_try_compile
"$LINENO"; then :
14187 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14189 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14196 /* end confdefs.h. */
14198 #if defined(__s390x__)
14203 if ac_fn_c_try_compile
"$LINENO"; then :
14208 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14210 sh3eb
*-*-* | sh4eb
*-*-*)
14213 sh3
*-*-* | sh4
*-*-*)
14217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14218 /* end confdefs.h. */
14220 #if defined(__sparcv9) || defined(__arch64__)
14225 if ac_fn_c_try_compile
"$LINENO"; then :
14230 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14237 if test "$GOARCH" = "386" -o "$GOARCH" = "amd64" -o "$GOARCH" = "amd64p32"; then
14239 LIBGO_IS_X86_FALSE
='#'
14241 LIBGO_IS_X86_TRUE
='#'
14242 LIBGO_IS_X86_FALSE
=
14246 FUNCTION_DESCRIPTORS
=false
14248 rs6000
*-*-* | powerpc
*-*-*)
14249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14250 /* end confdefs.h. */
14257 if ac_fn_c_try_compile
"$LINENO"; then :
14258 FUNCTION_DESCRIPTORS
=false
14260 FUNCTION_DESCRIPTORS
=true
14262 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14267 GO_LIBCALL_OS_FILE
=
14268 GO_LIBCALL_OS_ARCH_FILE
=
14269 GO_SYSCALL_OS_FILE
=
14270 GO_SYSCALL_OS_ARCH_FILE
=
14271 if test -f "${srcdir}/go/syscall/libcall_${GOOS}.go"; then
14272 GO_LIBCALL_OS_FILE
="go/syscall/libcall_${GOOS}.go"
14274 if test -f "${srcdir}/go/syscall/libcall_${GOOS}_${GOARCH}.go"; then
14275 GO_LIBCALL_OS_ARCH_FILE
="go/syscall/libcall_${GOOS}_${GOARCH}.go"
14277 if test -f "${srcdir}/go/syscall/syscall_${GOOS}.go"; then
14278 GO_SYSCALL_OS_FILE
="go/syscall/syscall_${GOOS}.go"
14280 if test -f "${srcdir}/go/syscall/syscall_${GOOS}_${GOARCH}.go"; then
14281 GO_SYSCALL_OS_ARCH_FILE
="go/syscall/syscall_${GOOS}_${GOARCH}.go"
14288 OSCFLAGS
="-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
14291 # IRIX 6 needs _XOPEN_SOURCE=500 for the XPG5 version of struct
14292 # msghdr in <sys/socket.h>.
14293 OSCFLAGS
="$OSCFLAGS -D_XOPEN_SOURCE=500"
14296 # Solaris 10+ needs this so struct msghdr gets the msg_control
14297 # etc. fields in <sys/socket.h> (_XPG4_2). _XOPEN_SOURCE=600 as
14298 # above doesn't work with C99.
14299 OSCFLAGS
="$OSCFLAGS -std=gnu99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__"
14305 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS
=''
14307 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
14308 # with a different meaning.
14309 case ${target_os} in
14311 ac_save_CFLAGS
="$CFLAGS"
14312 CFLAGS
="$CFLAGS -Wa,-nH"
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
14315 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
14316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14317 /* end confdefs.h. */
14327 if ac_fn_c_try_compile
"$LINENO"; then :
14332 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14333 if test "$ac_hwcap_flags" = "yes"; then
14334 HWCAP_CFLAGS
="-Wa,-nH $HWCAP_CFLAGS"
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
14337 $as_echo "$ac_hwcap_flags" >&6; }
14339 CFLAGS
="$ac_save_CFLAGS"
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fsplit-stack is supported" >&5
14347 $as_echo_n "checking whether -fsplit-stack is supported... " >&6; }
14348 if ${libgo_cv_c_split_stack_supported+:} false
; then :
14349 $as_echo_n "(cached) " >&6
14351 CFLAGS_hold
=$CFLAGS
14352 CFLAGS
="$CFLAGS -fsplit-stack"
14353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14354 /* end confdefs.h. */
14357 if ac_fn_c_try_compile
"$LINENO"; then :
14358 libgo_cv_c_split_stack_supported
=yes
14360 libgo_cv_c_split_stack_supported
=no
14362 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14363 CFLAGS
=$CFLAGS_hold
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_split_stack_supported" >&5
14366 $as_echo "$libgo_cv_c_split_stack_supported" >&6; }
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker supports split/non-split linked together" >&5
14369 $as_echo_n "checking whether linker supports split/non-split linked together... " >&6; }
14370 if ${libgo_cv_c_linker_split_non_split+:} false
; then :
14371 $as_echo_n "(cached) " >&6
14373 cat > conftest1.c
<< EOF
14375 int main() { f(); return 0; }
14377 cat > conftest2.c
<< EOF
14380 $CC -c -fsplit-stack $CFLAGS $CPPFLAGS conftest1.c
>/dev
/null
2>&1
14381 $CC -c $CFLAGS $CPPFLAGS conftest2.c
> /dev
/null
2>&1
14382 if $CC -o conftest conftest1.
$ac_objext conftest2.
$ac_objext > /dev
/null
2>&1; then
14383 libgo_cv_c_linker_split_non_split
=yes
14385 libgo_cv_c_linker_split_non_split
=no
14387 rm -f conftest1.
* conftest2.
* conftest
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_linker_split_non_split" >&5
14390 $as_echo "$libgo_cv_c_linker_split_non_split" >&6; }
14392 if test "$libgo_cv_c_split_stack_supported" = yes -a "$libgo_cv_c_linker_split_non_split" = yes; then
14393 SPLIT_STACK
=-fsplit-stack
14395 $as_echo "#define USING_SPLIT_STACK 1" >>confdefs.h
14401 if test "$libgo_cv_c_split_stack_supported" = yes -a "$libgo_cv_c_linker_split_non_split" = yes; then
14402 USING_SPLIT_STACK_TRUE
=
14403 USING_SPLIT_STACK_FALSE
='#'
14405 USING_SPLIT_STACK_TRUE
='#'
14406 USING_SPLIT_STACK_FALSE
=
14410 if test "$libgo_cv_c_split_stack_supported" = yes -a "$libgo_cv_c_linker_split_non_split" = no
; then
14411 GO_SPLIT_STACK
=-fno-split-stack
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker supports split stack" >&5
14418 $as_echo_n "checking whether linker supports split stack... " >&6; }
14419 if ${libgo_cv_c_linker_supports_split_stack+:} false
; then :
14420 $as_echo_n "(cached) " >&6
14422 libgo_cv_c_linker_supports_split_stack
=no
14423 if $GOC -Wl,--help 2>/dev
/null |
grep split-stack-adjust-size
>/dev
/null
2>&1; then
14424 libgo_cv_c_linker_supports_split_stack
=yes
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_linker_supports_split_stack" >&5
14428 $as_echo "$libgo_cv_c_linker_supports_split_stack" >&6; }
14429 if test "$libgo_cv_c_linker_supports_split_stack" = yes; then
14431 $as_echo "#define LINKER_SUPPORTS_SPLIT_STACK 1" >>confdefs.h
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler is llgo" >&5
14436 $as_echo_n "checking whether compiler is llgo... " >&6; }
14437 if ${libgo_cv_c_goc_is_llgo+:} false
; then :
14438 $as_echo_n "(cached) " >&6
14440 libgo_cv_c_goc_is_llgo
=no
14441 if $GOC -dumpversion 2>/dev
/null |
grep llgo
>/dev
/null
2>&1; then
14442 libgo_cv_c_goc_is_llgo
=yes
14445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_goc_is_llgo" >&5
14446 $as_echo "$libgo_cv_c_goc_is_llgo" >&6; }
14447 if test "$libgo_cv_c_goc_is_llgo" = yes; then
14449 GOC_IS_LLGO_FALSE
='#'
14451 GOC_IS_LLGO_TRUE
='#'
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
14458 $as_echo_n "checking for sqrt in -lm... " >&6; }
14459 if ${ac_cv_lib_m_sqrt+:} false
; then :
14460 $as_echo_n "(cached) " >&6
14462 ac_check_lib_save_LIBS
=$LIBS
14464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14465 /* end confdefs.h. */
14467 /* Override any GCC internal prototype to avoid an error.
14468 Use char because int might match the return type of a GCC
14469 builtin and then its argument prototype would still apply. */
14482 if ac_fn_c_try_link
"$LINENO"; then :
14483 ac_cv_lib_m_sqrt
=yes
14485 ac_cv_lib_m_sqrt
=no
14487 rm -f core conftest.err conftest.
$ac_objext \
14488 conftest
$ac_exeext conftest.
$ac_ext
14489 LIBS
=$ac_check_lib_save_LIBS
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
14492 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
14493 if test "x$ac_cv_lib_m_sqrt" = xyes
; then :
14499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
14500 $as_echo_n "checking for socket libraries... " >&6; }
14501 if ${libgo_cv_lib_sockets+:} false
; then :
14502 $as_echo_n "(cached) " >&6
14504 libgo_cv_lib_sockets
=
14505 libgo_check_both
=no
14506 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14507 if test "x$ac_cv_func_connect" = xyes
; then :
14508 libgo_check_socket
=no
14510 libgo_check_socket
=yes
14513 if test "$libgo_check_socket" = "yes"; then
14514 unset ac_cv_func_connect
14515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
14516 $as_echo_n "checking for main in -lsocket... " >&6; }
14517 if ${ac_cv_lib_socket_main+:} false
; then :
14518 $as_echo_n "(cached) " >&6
14520 ac_check_lib_save_LIBS
=$LIBS
14521 LIBS
="-lsocket $LIBS"
14522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14523 /* end confdefs.h. */
14534 if ac_fn_c_try_link
"$LINENO"; then :
14535 ac_cv_lib_socket_main
=yes
14537 ac_cv_lib_socket_main
=no
14539 rm -f core conftest.err conftest.
$ac_objext \
14540 conftest
$ac_exeext conftest.
$ac_ext
14541 LIBS
=$ac_check_lib_save_LIBS
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
14544 $as_echo "$ac_cv_lib_socket_main" >&6; }
14545 if test "x$ac_cv_lib_socket_main" = xyes
; then :
14546 libgo_cv_lib_sockets
="-lsocket"
14548 libgo_check_both
=yes
14552 if test "$libgo_check_both" = "yes"; then
14553 libgo_old_libs
=$LIBS
14554 LIBS
="$LIBS -lsocket -lnsl"
14555 unset ac_cv_func_accept
14556 ac_fn_c_check_func
"$LINENO" "accept" "ac_cv_func_accept"
14557 if test "x$ac_cv_func_accept" = xyes
; then :
14559 libgo_cv_lib_sockets
="-lsocket -lnsl"
14562 unset ac_cv_func_accept
14563 LIBS
=$libgo_old_libs
14565 unset ac_cv_func_gethostbyname
14566 libgo_old_libs
="$LIBS"
14567 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14568 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
14572 $as_echo_n "checking for main in -lnsl... " >&6; }
14573 if ${ac_cv_lib_nsl_main+:} false
; then :
14574 $as_echo_n "(cached) " >&6
14576 ac_check_lib_save_LIBS
=$LIBS
14578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14579 /* end confdefs.h. */
14590 if ac_fn_c_try_link
"$LINENO"; then :
14591 ac_cv_lib_nsl_main
=yes
14593 ac_cv_lib_nsl_main
=no
14595 rm -f core conftest.err conftest.
$ac_objext \
14596 conftest
$ac_exeext conftest.
$ac_ext
14597 LIBS
=$ac_check_lib_save_LIBS
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
14600 $as_echo "$ac_cv_lib_nsl_main" >&6; }
14601 if test "x$ac_cv_lib_nsl_main" = xyes
; then :
14602 libgo_cv_lib_sockets
="$libgo_cv_lib_sockets -lnsl"
14607 unset ac_cv_func_gethostbyname
14608 ac_fn_c_check_func
"$LINENO" "sendfile" "ac_cv_func_sendfile"
14609 if test "x$ac_cv_func_sendfile" = xyes
; then :
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsendfile" >&5
14613 $as_echo_n "checking for main in -lsendfile... " >&6; }
14614 if ${ac_cv_lib_sendfile_main+:} false
; then :
14615 $as_echo_n "(cached) " >&6
14617 ac_check_lib_save_LIBS
=$LIBS
14618 LIBS
="-lsendfile $LIBS"
14619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14620 /* end confdefs.h. */
14631 if ac_fn_c_try_link
"$LINENO"; then :
14632 ac_cv_lib_sendfile_main
=yes
14634 ac_cv_lib_sendfile_main
=no
14636 rm -f core conftest.err conftest.
$ac_objext \
14637 conftest
$ac_exeext conftest.
$ac_ext
14638 LIBS
=$ac_check_lib_save_LIBS
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sendfile_main" >&5
14641 $as_echo "$ac_cv_lib_sendfile_main" >&6; }
14642 if test "x$ac_cv_lib_sendfile_main" = xyes
; then :
14643 libgo_cv_lib_sockets
="$libgo_cv_lib_sockets -lsendfile"
14648 LIBS
=$libgo_old_libs
14651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_sockets" >&5
14652 $as_echo "$libgo_cv_lib_sockets" >&6; }
14653 NET_LIBS
="$libgo_cv_lib_sockets"
14656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -pthread is supported" >&5
14657 $as_echo_n "checking whether -pthread is supported... " >&6; }
14658 if ${libgo_cv_lib_pthread+:} false
; then :
14659 $as_echo_n "(cached) " >&6
14661 CFLAGS_hold
=$CFLAGS
14662 CFLAGS
="$CFLAGS -pthread -L../libatomic/.libs"
14663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14664 /* end confdefs.h. */
14667 if ac_fn_c_try_compile
"$LINENO"; then :
14668 libgo_cv_lib_pthread
=yes
14670 libgo_cv_lib_pthread
=no
14672 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14673 CFLAGS
=$CFLAGS_hold
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_pthread" >&5
14676 $as_echo "$libgo_cv_lib_pthread" >&6; }
14678 if test "$libgo_cv_lib_pthread" = yes; then
14679 # RISC-V apparently adds -latomic when using -pthread.
14680 PTHREAD_CFLAGS
="-pthread -L../libatomic/.libs"
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
14686 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
14687 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
14688 $as_echo_n "(cached) " >&6
14690 ac_check_lib_save_LIBS
=$LIBS
14691 LIBS
="-lpthread $LIBS"
14692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14693 /* end confdefs.h. */
14695 /* Override any GCC internal prototype to avoid an error.
14696 Use char because int might match the return type of a GCC
14697 builtin and then its argument prototype would still apply. */
14701 char pthread_create ();
14705 return pthread_create ();
14710 if ac_fn_c_try_link
"$LINENO"; then :
14711 ac_cv_lib_pthread_pthread_create
=yes
14713 ac_cv_lib_pthread_pthread_create
=no
14715 rm -f core conftest.err conftest.
$ac_objext \
14716 conftest
$ac_exeext conftest.
$ac_ext
14717 LIBS
=$ac_check_lib_save_LIBS
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
14720 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
14721 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
14722 PTHREAD_LIBS
=-lpthread
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
14728 $as_echo_n "checking for library containing sched_yield... " >&6; }
14729 if ${ac_cv_search_sched_yield+:} false
; then :
14730 $as_echo_n "(cached) " >&6
14732 ac_func_search_save_LIBS
=$LIBS
14733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14734 /* end confdefs.h. */
14736 /* Override any GCC internal prototype to avoid an error.
14737 Use char because int might match the return type of a GCC
14738 builtin and then its argument prototype would still apply. */
14742 char sched_yield ();
14746 return sched_yield ();
14751 for ac_lib
in '' rt
; do
14752 if test -z "$ac_lib"; then
14753 ac_res
="none required"
14756 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14758 if ac_fn_c_try_link
"$LINENO"; then :
14759 ac_cv_search_sched_yield
=$ac_res
14761 rm -f core conftest.err conftest.
$ac_objext \
14763 if ${ac_cv_search_sched_yield+:} false
; then :
14767 if ${ac_cv_search_sched_yield+:} false
; then :
14770 ac_cv_search_sched_yield
=no
14772 rm conftest.
$ac_ext
14773 LIBS
=$ac_func_search_save_LIBS
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
14776 $as_echo "$ac_cv_search_sched_yield" >&6; }
14777 ac_res
=$ac_cv_search_sched_yield
14778 if test "$ac_res" != no
; then :
14779 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
14784 $as_echo_n "checking for library containing nanosleep... " >&6; }
14785 if ${ac_cv_search_nanosleep+:} false
; then :
14786 $as_echo_n "(cached) " >&6
14788 ac_func_search_save_LIBS
=$LIBS
14789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14790 /* end confdefs.h. */
14792 /* Override any GCC internal prototype to avoid an error.
14793 Use char because int might match the return type of a GCC
14794 builtin and then its argument prototype would still apply. */
14802 return nanosleep ();
14807 for ac_lib
in '' rt
; do
14808 if test -z "$ac_lib"; then
14809 ac_res
="none required"
14812 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14814 if ac_fn_c_try_link
"$LINENO"; then :
14815 ac_cv_search_nanosleep
=$ac_res
14817 rm -f core conftest.err conftest.
$ac_objext \
14819 if ${ac_cv_search_nanosleep+:} false
; then :
14823 if ${ac_cv_search_nanosleep+:} false
; then :
14826 ac_cv_search_nanosleep
=no
14828 rm conftest.
$ac_ext
14829 LIBS
=$ac_func_search_save_LIBS
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
14832 $as_echo "$ac_cv_search_nanosleep" >&6; }
14833 ac_res
=$ac_cv_search_nanosleep
14834 if test "$ac_res" != no
; then :
14835 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14840 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14841 if ${ac_cv_search_clock_gettime+:} false
; then :
14842 $as_echo_n "(cached) " >&6
14844 ac_func_search_save_LIBS
=$LIBS
14845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14846 /* end confdefs.h. */
14848 /* Override any GCC internal prototype to avoid an error.
14849 Use char because int might match the return type of a GCC
14850 builtin and then its argument prototype would still apply. */
14854 char clock_gettime ();
14858 return clock_gettime ();
14863 for ac_lib
in '' rt
; do
14864 if test -z "$ac_lib"; then
14865 ac_res
="none required"
14868 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14870 if ac_fn_c_try_link
"$LINENO"; then :
14871 ac_cv_search_clock_gettime
=$ac_res
14873 rm -f core conftest.err conftest.
$ac_objext \
14875 if ${ac_cv_search_clock_gettime+:} false
; then :
14879 if ${ac_cv_search_clock_gettime+:} false
; then :
14882 ac_cv_search_clock_gettime
=no
14884 rm conftest.
$ac_ext
14885 LIBS
=$ac_func_search_save_LIBS
14887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14888 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14889 ac_res
=$ac_cv_search_clock_gettime
14890 if test "$ac_res" != no
; then :
14891 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
14897 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
14898 if ${ac_cv_c_bigendian+:} false
; then :
14899 $as_echo_n "(cached) " >&6
14901 ac_cv_c_bigendian
=unknown
14902 # See if we're dealing with a universal compiler.
14903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14904 /* end confdefs.h. */
14905 #ifndef __APPLE_CC__
14906 not a universal capable compiler
14911 if ac_fn_c_try_compile
"$LINENO"; then :
14913 # Check for potential -arch flags. It is not universal unless
14914 # there are at least two -arch flags with different values.
14917 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
14918 if test -n "$ac_prev"; then
14920 i?
86 | x86_64 | ppc | ppc64
)
14921 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
14924 ac_cv_c_bigendian
=universal
14930 elif test "x$ac_word" = "x-arch"; then
14935 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14936 if test $ac_cv_c_bigendian = unknown
; then
14937 # See if sys/param.h defines the BYTE_ORDER macro.
14938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14939 /* end confdefs.h. */
14940 #include <sys/types.h>
14941 #include <sys/param.h>
14946 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
14947 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
14949 bogus endian macros
14956 if ac_fn_c_try_compile
"$LINENO"; then :
14957 # It does; now see whether it defined to BIG_ENDIAN or not.
14958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14959 /* end confdefs.h. */
14960 #include <sys/types.h>
14961 #include <sys/param.h>
14966 #if BYTE_ORDER != BIG_ENDIAN
14974 if ac_fn_c_try_compile
"$LINENO"; then :
14975 ac_cv_c_bigendian
=yes
14977 ac_cv_c_bigendian
=no
14979 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14981 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14983 if test $ac_cv_c_bigendian = unknown
; then
14984 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
14985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14986 /* end confdefs.h. */
14987 #include <limits.h>
14992 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
14993 bogus endian macros
15000 if ac_fn_c_try_compile
"$LINENO"; then :
15001 # It does; now see whether it defined to _BIG_ENDIAN or not.
15002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15003 /* end confdefs.h. */
15004 #include <limits.h>
15009 #ifndef _BIG_ENDIAN
15017 if ac_fn_c_try_compile
"$LINENO"; then :
15018 ac_cv_c_bigendian
=yes
15020 ac_cv_c_bigendian
=no
15022 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15024 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15026 if test $ac_cv_c_bigendian = unknown
; then
15027 # Compile a test program.
15028 if test "$cross_compiling" = yes; then :
15029 # Try to guess by grepping values from an object file.
15030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15031 /* end confdefs.h. */
15032 short int ascii_mm[] =
15033 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
15034 short int ascii_ii[] =
15035 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
15036 int use_ascii (int i) {
15037 return ascii_mm[i] + ascii_ii[i];
15039 short int ebcdic_ii[] =
15040 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
15041 short int ebcdic_mm[] =
15042 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
15043 int use_ebcdic (int i) {
15044 return ebcdic_mm[i] + ebcdic_ii[i];
15051 return use_ascii (foo) == use_ebcdic (foo);
15056 if ac_fn_c_try_compile
"$LINENO"; then :
15057 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
15058 ac_cv_c_bigendian
=yes
15060 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
15061 if test "$ac_cv_c_bigendian" = unknown
; then
15062 ac_cv_c_bigendian
=no
15064 # finding both strings is unlikely to happen, but who knows?
15065 ac_cv_c_bigendian
=unknown
15069 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15072 /* end confdefs.h. */
15073 $ac_includes_default
15078 /* Are we little or big endian? From Harbison&Steele. */
15082 char c[sizeof (long int)];
15085 return u.c[sizeof (long int) - 1] == 1;
15091 if ac_fn_c_try_run
"$LINENO"; then :
15092 ac_cv_c_bigendian
=no
15094 ac_cv_c_bigendian
=yes
15096 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15097 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
15103 $as_echo "$ac_cv_c_bigendian" >&6; }
15104 case $ac_cv_c_bigendian in #(
15106 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
15112 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
15116 as_fn_error $?
"unknown endianness
15117 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
15123 # Check whether --with-system-libunwind was given.
15124 if test "${with_system_libunwind+set}" = set; then :
15125 withval
=$with_system_libunwind;
15128 # If system-libunwind was not specifically set, pick a default setting.
15129 if test x
$with_system_libunwind = x
; then
15131 ia64-
*-hpux*) with_system_libunwind
=yes ;;
15132 *) with_system_libunwind
=no
;;
15135 # Based on system-libunwind and target, do we have ipinfo?
15136 if test x
$with_system_libunwind = xyes
; then
15138 ia64-
*-*) have_unwind_getipinfo
=no
;;
15139 *) have_unwind_getipinfo
=yes ;;
15142 # Darwin before version 9 does not have _Unwind_GetIPInfo.
15145 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
15146 *) have_unwind_getipinfo
=yes ;;
15151 if test x
$have_unwind_getipinfo = xyes
; then
15153 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
15158 for ac_header
in port.h sched.h semaphore.h sys
/file.h sys
/mman.h syscall.h sys
/epoll.h sys
/event.h sys
/inotify.h sys
/ptrace.h sys
/syscall.h sys
/user.h sys
/utsname.h sys
/select.h sys
/socket.h net
/if.h net
/if_arp.h net
/route.h netpacket
/packet.h sys
/prctl.h sys
/mount.h sys
/vfs.h sys
/statfs.h sys
/timex.h sys
/sysinfo.h utime.h linux
/ether.h linux
/fs.h linux
/ptrace.h linux
/reboot.h netinet
/in_syst.h netinet
/ip.h netinet
/ip_mroute.h netinet
/if_ether.h
15160 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15161 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15162 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
15163 cat >>confdefs.h
<<_ACEOF
15164 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15172 for ac_header
in netinet
/icmp6.h
15174 ac_fn_c_check_header_compile
"$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <netinet/in.h>
15177 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
; then :
15178 cat >>confdefs.h
<<_ACEOF
15179 #define HAVE_NETINET_ICMP6_H 1
15187 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
15189 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15190 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_SOCKET_H
15191 #include <sys/socket.h>
15195 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
15196 cat >>confdefs.h
<<_ACEOF
15197 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15205 if test "$ac_cv_header_sys_mman_h" = yes; then
15206 HAVE_SYS_MMAN_H_TRUE
=
15207 HAVE_SYS_MMAN_H_FALSE
='#'
15209 HAVE_SYS_MMAN_H_TRUE
='#'
15210 HAVE_SYS_MMAN_H_FALSE
=
15214 for ac_func
in strerror_r strsignal wait4 mincore setenv unsetenv dl_iterate_phdr memmem
15216 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15217 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15218 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15219 cat >>confdefs.h
<<_ACEOF
15220 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15226 if test "$ac_cv_func_strerror_r" = yes; then
15227 HAVE_STRERROR_R_TRUE
=
15228 HAVE_STRERROR_R_FALSE
='#'
15230 HAVE_STRERROR_R_TRUE
='#'
15231 HAVE_STRERROR_R_FALSE
=
15234 if test "$ac_cv_func_wait4" = yes; then
15236 HAVE_WAIT4_FALSE
='#'
15238 HAVE_WAIT4_TRUE
='#'
15243 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
15245 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15246 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15247 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15248 cat >>confdefs.h
<<_ACEOF
15249 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15255 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15256 if test "x$ac_cv_type_off_t" = xyes
; then :
15260 cat >>confdefs.h
<<_ACEOF
15261 #define off_t long int
15266 ac_fn_c_check_type
"$LINENO" "loff_t" "ac_cv_type_loff_t" "$ac_includes_default"
15267 if test "x$ac_cv_type_loff_t" = xyes
; then :
15269 cat >>confdefs.h
<<_ACEOF
15270 #define HAVE_LOFF_T 1
15279 for ac_func
in cosl expl logl sinl tanl acosl asinl atanl atan2l expm1l ldexpl log10l log1pl
15281 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15282 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15283 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15284 cat >>confdefs.h
<<_ACEOF
15285 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15293 CFLAGS_hold
="$CFLAGS"
15294 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
15296 LIBS
="$LIBS $PTHREAD_LIBS"
15297 for ac_func
in sem_timedwait
15299 ac_fn_c_check_func
"$LINENO" "sem_timedwait" "ac_cv_func_sem_timedwait"
15300 if test "x$ac_cv_func_sem_timedwait" = xyes
; then :
15301 cat >>confdefs.h
<<_ACEOF
15302 #define HAVE_SEM_TIMEDWAIT 1
15308 CFLAGS
="$CFLAGS_hold"
15312 LIBS
="$LIBS $MATH_LIBS"
15313 for ac_func
in matherr
15315 ac_fn_c_check_func
"$LINENO" "matherr" "ac_cv_func_matherr"
15316 if test "x$ac_cv_func_matherr" = xyes
; then :
15317 cat >>confdefs.h
<<_ACEOF
15318 #define HAVE_MATHERR 1
15326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -minline-all-stringops" >&5
15327 $as_echo_n "checking whether compiler supports -minline-all-stringops... " >&6; }
15328 if ${libgo_cv_c_stringops+:} false
; then :
15329 $as_echo_n "(cached) " >&6
15331 CFLAGS_hold
=$CFLAGS
15332 CFLAGS
="$CFLAGS -minline-all-stringops"
15333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15334 /* end confdefs.h. */
15337 if ac_fn_c_try_compile
"$LINENO"; then :
15338 libgo_cv_c_stringops
=yes
15340 libgo_cv_c_stringops
=no
15342 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15343 CFLAGS
=$CFLAGS_hold
15345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_stringops" >&5
15346 $as_echo "$libgo_cv_c_stringops" >&6; }
15348 if test "$libgo_cv_c_stringops" = yes; then
15349 STRINGOPS_FLAG
=-minline-all-stringops
15353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -mfancy-math-387" >&5
15354 $as_echo_n "checking whether compiler supports -mfancy-math-387... " >&6; }
15355 if ${libgo_cv_c_fancymath+:} false
; then :
15356 $as_echo_n "(cached) " >&6
15358 CFLAGS_hold
=$CFLAGS
15359 CFLAGS
="$CFLAGS -mfancy-math-387"
15360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15361 /* end confdefs.h. */
15364 if ac_fn_c_try_compile
"$LINENO"; then :
15365 libgo_cv_c_fancymath
=yes
15367 libgo_cv_c_fancymath
=no
15369 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15370 CFLAGS
=$CFLAGS_hold
15372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_fancymath" >&5
15373 $as_echo "$libgo_cv_c_fancymath" >&6; }
15375 if test "$libgo_cv_c_fancymath" = yes; then
15376 MATH_FLAG
="-mfancy-math-387"
15378 MATH_FLAG
="${MATH_FLAG} -ffp-contract=off -fno-math-errno -fno-trapping-math"
15381 CFLAGS_hold
=$CFLAGS
15382 CFLAGS
="$CFLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
15383 ac_fn_c_check_type
"$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default"
15384 if test "x$ac_cv_type_off64_t" = xyes
; then :
15386 cat >>confdefs.h
<<_ACEOF
15387 #define HAVE_OFF64_T 1
15393 CFLAGS
=$CFLAGS_hold
15395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking epoll_event size" >&5
15396 $as_echo_n "checking epoll_event size... " >&6; }
15397 if ${libgo_cv_c_epoll_event_size+:} false
; then :
15398 $as_echo_n "(cached) " >&6
15400 if ac_fn_c_compute_int
"$LINENO" "sizeof (struct epoll_event)" "libgo_cv_c_epoll_event_size" "#include <sys/epoll.h>"; then :
15403 libgo_cv_c_epoll_event_size
=0
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_epoll_event_size" >&5
15408 $as_echo "$libgo_cv_c_epoll_event_size" >&6; }
15409 SIZEOF_STRUCT_EPOLL_EVENT
=${libgo_cv_c_epoll_event_size}
15412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking epoll_event data.fd offset" >&5
15413 $as_echo_n "checking epoll_event data.fd offset... " >&6; }
15414 if ${libgo_cv_c_epoll_event_fd_offset+:} false
; then :
15415 $as_echo_n "(cached) " >&6
15417 if ac_fn_c_compute_int
"$LINENO" "offsetof (struct epoll_event, data.fd)" "libgo_cv_c_epoll_event_fd_offset" "#include <stddef.h>
15418 #include <sys/epoll.h>"; then :
15421 libgo_cv_c_epoll_event_fd_offset
=0
15425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_epoll_event_fd_offset" >&5
15426 $as_echo "$libgo_cv_c_epoll_event_fd_offset" >&6; }
15427 STRUCT_EPOLL_EVENT_FD_OFFSET
=${libgo_cv_c_epoll_event_fd_offset}
15430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15431 /* end confdefs.h. */
15432 #include <sys/stat.h>
15435 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15436 $EGREP "timespec_t.*st_atim" >/dev
/null
2>&1; then :
15437 have_stat_timespec
=yes
15439 have_stat_timespec
=no
15443 if test $have_stat_timespec = yes; then
15444 HAVE_STAT_TIMESPEC_TRUE
=
15445 HAVE_STAT_TIMESPEC_FALSE
='#'
15447 HAVE_STAT_TIMESPEC_TRUE
='#'
15448 HAVE_STAT_TIMESPEC_FALSE
=
15452 ac_fn_c_check_type
"$LINENO" "struct exception" "ac_cv_type_struct_exception" "#include <math.h>
15454 if test "x$ac_cv_type_struct_exception" = xyes
; then :
15455 libgo_has_struct_exception
=yes
15457 libgo_has_struct_exception
=no
15460 if test "$libgo_has_struct_exception" = "yes"; then
15462 $as_echo "#define HAVE_STRUCT_EXCEPTION 1" >>confdefs.h
15466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether setcontext clobbers TLS variables" >&5
15467 $as_echo_n "checking whether setcontext clobbers TLS variables... " >&6; }
15468 if ${libgo_cv_lib_setcontext_clobbers_tls+:} false
; then :
15469 $as_echo_n "(cached) " >&6
15471 CFLAGS_hold
="$CFLAGS"
15472 CFLAGS
="$PTHREAD_CFLAGS"
15474 LIBS
="$LIBS $PTHREAD_LIBS"
15475 # The cast to long int works around a bug in the HP C Compiler
15476 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15477 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15478 # This bug is HP SR number 8606223364.
15479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15480 $as_echo_n "checking size of void *... " >&6; }
15481 if ${ac_cv_sizeof_void_p+:} false
; then :
15482 $as_echo_n "(cached) " >&6
15484 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15487 if test "$ac_cv_type_void_p" = yes; then
15488 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15490 as_fn_error
77 "cannot compute sizeof (void *)
15491 See \`config.log' for more details" "$LINENO" 5; }
15493 ac_cv_sizeof_void_p
=0
15498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15499 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15503 cat >>confdefs.h
<<_ACEOF
15504 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15508 as_fn_arith
$ac_cv_sizeof_void_p \
* 8 && ptr_type_size
=$as_val
15509 if test "$cross_compiling" = yes; then :
15510 case "$target:$ptr_type_size" in
15511 i?
86-*-solaris2.1
[01]:64 | x86_64
*-*-solaris2.1
[01]:64)
15512 libgo_cv_lib_setcontext_clobbers_tls
=yes ;;
15514 libgo_cv_lib_setcontext_clobbers_tls
=no
;;
15518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15519 /* end confdefs.h. */
15521 #include <pthread.h>
15522 #include <stdlib.h>
15523 #include <ucontext.h>
15524 #include <unistd.h>
15528 static char stack[10 * 1024 * 1024];
15529 static ucontext_t c;
15531 /* Called via makecontext/setcontext. */
15539 /* Called via pthread_create. */
15544 /* The thread should still see this value after calling
15550 /* The call to setcontext should not return. */
15559 /* The thread should not see this value. */
15562 if (getcontext (&c) < 0)
15565 c.uc_stack.ss_sp = stack;
15566 #ifdef MAKECONTEXT_STACK_TOP
15567 c.uc_stack.ss_sp += sizeof stack;
15569 c.uc_stack.ss_flags = 0;
15570 c.uc_stack.ss_size = sizeof stack;
15572 makecontext (&c, cfn, 0);
15574 if (pthread_create (&tid, NULL, tfn, NULL) != 0)
15577 if (pthread_join (tid, NULL) != 0)
15580 /* The thread should have called exit. */
15585 if ac_fn_c_try_run
"$LINENO"; then :
15586 libgo_cv_lib_setcontext_clobbers_tls
=no
15588 libgo_cv_lib_setcontext_clobbers_tls
=yes
15590 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15591 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15594 CFLAGS
="$CFLAGS_hold"
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_setcontext_clobbers_tls" >&5
15599 $as_echo "$libgo_cv_lib_setcontext_clobbers_tls" >&6; }
15600 if test "$libgo_cv_lib_setcontext_clobbers_tls" = "yes"; then
15602 $as_echo "#define SETCONTEXT_CLOBBERS_TLS 1" >>confdefs.h
15606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .eh_frame section should be read-only" >&5
15607 $as_echo_n "checking whether .eh_frame section should be read-only... " >&6; }
15608 if ${libgo_cv_ro_eh_frame+:} false
; then :
15609 $as_echo_n "(cached) " >&6
15612 libgo_cv_ro_eh_frame
=no
15613 echo 'extern void foo (void); void bar (void) { foo (); foo (); }' > conftest.c
15614 if $CC $CFLAGS -S -fpic -fexceptions -o conftest.s conftest.c
> /dev
/null
2>&1; then
15615 if grep '.section.*eh_frame.*"a"' conftest.s
> /dev
/null
; then
15616 libgo_cv_ro_eh_frame
=yes
15617 elif grep '.section.*eh_frame.*#alloc' conftest.c \
15618 |
grep -v '#write' > /dev
/null
; then
15619 libgo_cv_ro_eh_frame
=yes
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_ro_eh_frame" >&5
15626 $as_echo "$libgo_cv_ro_eh_frame" >&6; }
15627 if test "x$libgo_cv_ro_eh_frame" = xyes
; then
15629 $as_echo "#define EH_FRAME_FLAGS \"a\"" >>confdefs.h
15633 $as_echo "#define EH_FRAME_FLAGS \"aw\"" >>confdefs.h
15637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Qunused-arguments" >&5
15638 $as_echo_n "checking if compiler supports -Qunused-arguments... " >&6; }
15639 if ${libgo_cv_c_unused_arguments+:} false
; then :
15640 $as_echo_n "(cached) " >&6
15642 CFLAGS_hold
=$CFLAGS
15643 CFLAGS
="$CFLAGS -Qunused-arguments"
15644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15645 /* end confdefs.h. */
15648 if ac_fn_c_try_compile
"$LINENO"; then :
15649 libgo_cv_c_unused_arguments
=yes
15651 libgo_cv_c_unused_arguments
=no
15653 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15654 CFLAGS
=$CFLAGS_hold
15656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_unused_arguments" >&5
15657 $as_echo "$libgo_cv_c_unused_arguments" >&6; }
15659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if assembler supports GNU comdat group syntax" >&5
15660 $as_echo_n "checking if assembler supports GNU comdat group syntax... " >&6; }
15661 if ${libgo_cv_as_comdat_gnu+:} false
; then :
15662 $as_echo_n "(cached) " >&6
15665 echo '.section .text,"axG",@progbits,.foo,comdat' > conftest.s
15666 CFLAGS_hold
=$CFLAGS
15667 if test "$libgo_cv_c_unused_arguments" = yes; then
15668 CFLAGS
="$CFLAGS -Qunused-arguments"
15670 if $CC $CFLAGS -c conftest.s
> /dev
/null
2>&1; then
15671 libgo_cv_as_comdat_gnu
=yes
15673 libgo_cv_as_comdat_gnu
=no
15675 CFLAGS
=$CFLAGS_hold
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_comdat_gnu" >&5
15679 $as_echo "$libgo_cv_as_comdat_gnu" >&6; }
15680 if test "x$libgo_cv_as_comdat_gnu" = xyes
; then
15682 $as_echo "#define HAVE_AS_COMDAT_GAS 1" >>confdefs.h
15686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports pc related relocs" >&5
15687 $as_echo_n "checking assembler supports pc related relocs... " >&6; }
15688 if ${libgo_cv_as_x86_pcrel+:} false
; then :
15689 $as_echo_n "(cached) " >&6
15692 libgo_cv_as_x86_pcrel
=yes
15693 echo '.text; foo: nop; .data; .long foo-.; .text' > conftest.s
15694 CFLAGS_hold
=$CFLAGS
15695 if test "$libgo_cv_c_unused_arguments" = yes; then
15696 CFLAGS
="$CFLAGS -Qunused-arguments"
15698 if $CC $CFLAGS -c conftest.s
2>&1 |
$EGREP -i 'illegal|warning' > /dev
/null
; then
15699 libgo_cv_as_x86_pcrel
=no
15701 CFLAGS
=$CFLAGS_hold
15704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_x86_pcrel" >&5
15705 $as_echo "$libgo_cv_as_x86_pcrel" >&6; }
15706 if test "x$libgo_cv_as_x86_pcrel" = xyes
; then
15708 $as_echo "#define HAVE_AS_X86_PCREL 1" >>confdefs.h
15712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports unwind section type" >&5
15713 $as_echo_n "checking assembler supports unwind section type... " >&6; }
15714 if ${libgo_cv_as_x86_64_unwind_section_type+:} false
; then :
15715 $as_echo_n "(cached) " >&6
15718 libgo_cv_as_x86_64_unwind_section_type
=yes
15719 echo '.section .eh_frame,"a",@unwind' > conftest.s
15720 CFLAGS_hold
=$CFLAGS
15721 if test "$libgo_cv_c_unused_arguments" = yes; then
15722 CFLAGS
="$CFLAGS -Qunused-arguments"
15724 if $CC $CFLAGS -c conftest.s
2>&1 |
grep -i warning
> /dev
/null
; then
15725 libgo_cv_as_x86_64_unwind_section_type
=no
15727 CFLAGS
=$CFLAGS_hold
15730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_x86_64_unwind_section_type" >&5
15731 $as_echo "$libgo_cv_as_x86_64_unwind_section_type" >&6; }
15732 if test "x$libgo_cv_as_x86_64_unwind_section_type" = xyes
; then
15734 $as_echo "#define HAVE_AS_X86_64_UNWIND_SECTION_TYPE 1" >>confdefs.h
15738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports AES instructions" >&5
15739 $as_echo_n "checking assembler supports AES instructions... " >&6; }
15740 if ${libgo_cv_as_x86_aes+:} false
; then :
15741 $as_echo_n "(cached) " >&6
15744 libgo_cv_as_x86_aes
=yes
15745 echo 'aesenc %xmm0, %xmm1' > conftest.s
15746 CFLAGS_hold
=$CFLAGS
15747 if test "$libgo_cv_c_unused_arguments" = yes; then
15748 CFLAGS
="$CFLAGS -Qunused-arguments"
15750 if $CC $CFLAGS -c conftest.s
2>&1 |
grep -i error
> /dev
/null
; then
15751 libgo_cv_as_x86_aes
=no
15753 CFLAGS
=$CFLAGS_hold
15756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_x86_aes" >&5
15757 $as_echo "$libgo_cv_as_x86_aes" >&6; }
15758 if test "x$libgo_cv_as_x86_aes" = xyes
; then
15760 $as_echo "#define HAVE_AS_X86_AES 1" >>confdefs.h
15764 cat >confcache
<<\_ACEOF
15765 # This file is a shell script that caches the results of configure
15766 # tests run on this system so they can be shared between configure
15767 # scripts and configure runs, see configure's option --config-cache.
15768 # It is not useful on other systems. If it contains results you don't
15769 # want to keep, you may remove or edit it.
15771 # config.status only pays attention to the cache file if you give it
15772 # the --recheck option to rerun configure.
15774 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15775 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15776 # following values.
15780 # The following way of writing the cache mishandles newlines in values,
15781 # but we know of no workaround that is simple, portable, and efficient.
15782 # So, we kill variables containing newlines.
15783 # Ultrix sh set writes to stderr and can't be redirected directly,
15784 # and sets the high bit in the cache file unless we assign to the vars.
15786 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15787 eval ac_val
=\$
$ac_var
15791 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15792 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15795 _ | IFS | as_nl
) ;; #(
15796 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15797 *) { eval $ac_var=; unset $ac_var;} ;;
15803 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15804 *${as_nl}ac_space
=\
*)
15805 # `set' does not quote correctly, so add quotes: double-quote
15806 # substitution turns \\\\ into \\, and sed turns \\ into \.
15809 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15812 # `set' quotes correctly as required by POSIX, so do not add quotes.
15813 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15822 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15824 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15826 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15827 if test -w "$cache_file"; then
15828 if test "x$cache_file" != "x/dev/null"; then
15829 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15830 $as_echo "$as_me: updating cache $cache_file" >&6;}
15831 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15832 cat confcache
>"$cache_file"
15834 case $cache_file in #(
15836 mv -f confcache
"$cache_file"$$
&&
15837 mv -f "$cache_file"$$
"$cache_file" ;; #(
15839 mv -f confcache
"$cache_file" ;;
15844 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15845 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15850 if test ${multilib} = yes; then
15851 multilib_arg
="--enable-multilib"
15856 ac_config_files
="$ac_config_files Makefile testsuite/Makefile testsuite/libgo-test-support.exp"
15859 ac_config_commands
="$ac_config_commands default"
15862 cat >confcache
<<\_ACEOF
15863 # This file is a shell script that caches the results of configure
15864 # tests run on this system so they can be shared between configure
15865 # scripts and configure runs, see configure's option --config-cache.
15866 # It is not useful on other systems. If it contains results you don't
15867 # want to keep, you may remove or edit it.
15869 # config.status only pays attention to the cache file if you give it
15870 # the --recheck option to rerun configure.
15872 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15873 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15874 # following values.
15878 # The following way of writing the cache mishandles newlines in values,
15879 # but we know of no workaround that is simple, portable, and efficient.
15880 # So, we kill variables containing newlines.
15881 # Ultrix sh set writes to stderr and can't be redirected directly,
15882 # and sets the high bit in the cache file unless we assign to the vars.
15884 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15885 eval ac_val
=\$
$ac_var
15889 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15890 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15893 _ | IFS | as_nl
) ;; #(
15894 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15895 *) { eval $ac_var=; unset $ac_var;} ;;
15901 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15902 *${as_nl}ac_space
=\
*)
15903 # `set' does not quote correctly, so add quotes: double-quote
15904 # substitution turns \\\\ into \\, and sed turns \\ into \.
15907 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15910 # `set' quotes correctly as required by POSIX, so do not add quotes.
15911 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15920 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15922 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15924 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15925 if test -w "$cache_file"; then
15926 if test "x$cache_file" != "x/dev/null"; then
15927 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15928 $as_echo "$as_me: updating cache $cache_file" >&6;}
15929 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15930 cat confcache
>"$cache_file"
15932 case $cache_file in #(
15934 mv -f confcache
"$cache_file"$$
&&
15935 mv -f "$cache_file"$$
"$cache_file" ;; #(
15937 mv -f confcache
"$cache_file" ;;
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15943 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15948 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15949 # Let make expand exec_prefix.
15950 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15952 DEFS
=-DHAVE_CONFIG_H
15957 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15958 # 1. Remove the extension, and $U if already installed.
15959 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15960 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15961 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15962 # will be set to the directory where LIBOBJS objects are built.
15963 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15964 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15966 LIBOBJS
=$ac_libobjs
15968 LTLIBOBJS
=$ac_ltlibobjs
15971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15972 $as_echo_n "checking that generated files are newer than configure... " >&6; }
15973 if test -n "$am_sleep_pid"; then
15974 # Hide warnings about reused PIDs.
15975 wait $am_sleep_pid 2>/dev
/null
15977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15978 $as_echo "done" >&6; }
15979 if test -n "$EXEEXT"; then
15981 am__EXEEXT_FALSE
='#'
15983 am__EXEEXT_TRUE
='#'
15987 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15988 as_fn_error $?
"conditional \"AMDEP\" was never defined.
15989 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15991 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15992 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
15993 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15995 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
15996 as_fn_error $?
"conditional \"am__fastdepCCAS\" was never defined.
15997 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15999 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16000 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
16001 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16003 if test -z "${USE_LIBFFI_TRUE}" && test -z "${USE_LIBFFI_FALSE}"; then
16004 as_fn_error $?
"conditional \"USE_LIBFFI\" was never defined.
16005 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16007 if test -z "${LIBGO_IS_DARWIN_TRUE}" && test -z "${LIBGO_IS_DARWIN_FALSE}"; then
16008 as_fn_error $?
"conditional \"LIBGO_IS_DARWIN\" was never defined.
16009 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16011 if test -z "${LIBGO_IS_FREEBSD_TRUE}" && test -z "${LIBGO_IS_FREEBSD_FALSE}"; then
16012 as_fn_error $?
"conditional \"LIBGO_IS_FREEBSD\" was never defined.
16013 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16015 if test -z "${LIBGO_IS_IRIX_TRUE}" && test -z "${LIBGO_IS_IRIX_FALSE}"; then
16016 as_fn_error $?
"conditional \"LIBGO_IS_IRIX\" was never defined.
16017 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16019 if test -z "${LIBGO_IS_LINUX_TRUE}" && test -z "${LIBGO_IS_LINUX_FALSE}"; then
16020 as_fn_error $?
"conditional \"LIBGO_IS_LINUX\" was never defined.
16021 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16023 if test -z "${LIBGO_IS_NETBSD_TRUE}" && test -z "${LIBGO_IS_NETBSD_FALSE}"; then
16024 as_fn_error $?
"conditional \"LIBGO_IS_NETBSD\" was never defined.
16025 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16027 if test -z "${LIBGO_IS_OPENBSD_TRUE}" && test -z "${LIBGO_IS_OPENBSD_FALSE}"; then
16028 as_fn_error $?
"conditional \"LIBGO_IS_OPENBSD\" was never defined.
16029 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16031 if test -z "${LIBGO_IS_DRAGONFLY_TRUE}" && test -z "${LIBGO_IS_DRAGONFLY_FALSE}"; then
16032 as_fn_error $?
"conditional \"LIBGO_IS_DRAGONFLY\" was never defined.
16033 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16035 if test -z "${LIBGO_IS_RTEMS_TRUE}" && test -z "${LIBGO_IS_RTEMS_FALSE}"; then
16036 as_fn_error $?
"conditional \"LIBGO_IS_RTEMS\" was never defined.
16037 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16039 if test -z "${LIBGO_IS_SOLARIS_TRUE}" && test -z "${LIBGO_IS_SOLARIS_FALSE}"; then
16040 as_fn_error $?
"conditional \"LIBGO_IS_SOLARIS\" was never defined.
16041 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16043 if test -z "${LIBGO_IS_AIX_TRUE}" && test -z "${LIBGO_IS_AIX_FALSE}"; then
16044 as_fn_error $?
"conditional \"LIBGO_IS_AIX\" was never defined.
16045 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16047 if test -z "${LIBGO_IS_HURD_TRUE}" && test -z "${LIBGO_IS_HURD_FALSE}"; then
16048 as_fn_error $?
"conditional \"LIBGO_IS_HURD\" was never defined.
16049 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16051 if test -z "${LIBGO_IS_BSD_TRUE}" && test -z "${LIBGO_IS_BSD_FALSE}"; then
16052 as_fn_error $?
"conditional \"LIBGO_IS_BSD\" was never defined.
16053 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16055 if test -z "${LIBGO_IS_X86_TRUE}" && test -z "${LIBGO_IS_X86_FALSE}"; then
16056 as_fn_error $?
"conditional \"LIBGO_IS_X86\" was never defined.
16057 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16059 if test -z "${USING_SPLIT_STACK_TRUE}" && test -z "${USING_SPLIT_STACK_FALSE}"; then
16060 as_fn_error $?
"conditional \"USING_SPLIT_STACK\" was never defined.
16061 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16063 if test -z "${GOC_IS_LLGO_TRUE}" && test -z "${GOC_IS_LLGO_FALSE}"; then
16064 as_fn_error $?
"conditional \"GOC_IS_LLGO\" was never defined.
16065 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16068 if test -z "${HAVE_SYS_MMAN_H_TRUE}" && test -z "${HAVE_SYS_MMAN_H_FALSE}"; then
16069 as_fn_error $?
"conditional \"HAVE_SYS_MMAN_H\" was never defined.
16070 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16072 if test -z "${HAVE_STRERROR_R_TRUE}" && test -z "${HAVE_STRERROR_R_FALSE}"; then
16073 as_fn_error $?
"conditional \"HAVE_STRERROR_R\" was never defined.
16074 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16076 if test -z "${HAVE_WAIT4_TRUE}" && test -z "${HAVE_WAIT4_FALSE}"; then
16077 as_fn_error $?
"conditional \"HAVE_WAIT4\" was never defined.
16078 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16080 if test -z "${HAVE_STAT_TIMESPEC_TRUE}" && test -z "${HAVE_STAT_TIMESPEC_FALSE}"; then
16081 as_fn_error $?
"conditional \"HAVE_STAT_TIMESPEC\" was never defined.
16082 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16085 : "${CONFIG_STATUS=./config.status}"
16087 ac_clean_files_save
=$ac_clean_files
16088 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16089 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16090 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16092 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16094 # Generated by $as_me.
16095 # Run this file to recreate the current configuration.
16096 # Compiler output produced by configure, useful for debugging
16097 # configure, is in config.log if it exists.
16100 ac_cs_recheck=false
16103 SHELL=\${CONFIG_SHELL-$SHELL}
16106 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16107 ## -------------------- ##
16108 ## M4sh Initialization. ##
16109 ## -------------------- ##
16111 # Be more Bourne compatible
16112 DUALCASE
=1; export DUALCASE
# for MKS sh
16113 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16116 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16117 # is contrary to our usage. Disable this feature.
16118 alias -g '${1+"$@"}'='"$@"'
16119 setopt NO_GLOB_SUBST
16121 case `(set -o) 2>/dev/null` in #(
16133 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16134 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16135 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16136 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16137 # Prefer a ksh shell builtin over an external printf program on Solaris,
16138 # but without wasting forks for bash or zsh.
16139 if test -z "$BASH_VERSION$ZSH_VERSION" \
16140 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16141 as_echo='print
-r --'
16142 as_echo_n='print
-rn --'
16143 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16144 as_echo='printf %s
\n'
16145 as_echo_n='printf %s
'
16147 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16148 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16149 as_echo_n='/usr
/ucb
/echo -n'
16151 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16152 as_echo_n_body='eval
16156 expr "X$arg" : "X\\(.*\\)$as_nl";
16157 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16159 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16161 export as_echo_n_body
16162 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16164 export as_echo_body
16165 as_echo='sh
-c $as_echo_body as_echo
'
16168 # The user is always right.
16169 if test "${PATH_SEPARATOR+set}" != set; then
16171 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16172 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16179 # We need space, tab and new line, in precisely that order. Quoting is
16180 # there to prevent editors from complaining about space-tab.
16181 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16182 # splitting by setting IFS to empty value.)
16185 # Find who we are. Look in the path if we contain no directory separator.
16188 *[\\/]* ) as_myself=$0 ;;
16189 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16190 for as_dir in $PATH
16193 test -z "$as_dir" && as_dir=.
16194 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16200 # We did not find ourselves, most probably we were run as `sh COMMAND'
16201 # in which case we are not to be found in the path.
16202 if test "x$as_myself" = x
; then
16205 if test ! -f "$as_myself"; then
16206 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16210 # Unset variables that we do not need and which cause bugs (e.g. in
16211 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16212 # suppresses any "Segmentation fault" message there. '((' could
16213 # trigger a bug in pdksh 5.2.14.
16214 for as_var
in BASH_ENV ENV MAIL MAILPATH
16215 do eval test x\
${$as_var+set} = xset \
16216 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16229 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16232 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16233 # ----------------------------------------
16234 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16235 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16236 # script with STATUS, using 1 if that was 0.
16239 as_status
=$1; test $as_status -eq 0 && as_status
=1
16241 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16242 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16244 $as_echo "$as_me: error: $2" >&2
16245 as_fn_exit
$as_status
16249 # as_fn_set_status STATUS
16250 # -----------------------
16251 # Set $? to STATUS, without forking.
16252 as_fn_set_status
()
16255 } # as_fn_set_status
16257 # as_fn_exit STATUS
16258 # -----------------
16259 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16263 as_fn_set_status
$1
16269 # Portably unset VAR.
16272 { eval $1=; unset $1;}
16274 as_unset
=as_fn_unset
16275 # as_fn_append VAR VALUE
16276 # ----------------------
16277 # Append the text in VALUE to the end of the definition contained in VAR. Take
16278 # advantage of any shell optimizations that allow amortized linear growth over
16279 # repeated appends, instead of the typical quadratic growth present in naive
16281 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16282 eval 'as_fn_append ()
16293 # as_fn_arith ARG...
16294 # ------------------
16295 # Perform arithmetic evaluation on the ARGs, and store the result in the
16296 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16297 # must be portable across $(()) and expr.
16298 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16299 eval 'as_fn_arith ()
16306 as_val
=`expr "$@" || test $? -eq 1`
16311 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16312 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16318 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16319 as_basename
=basename
16324 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16330 as_me
=`$as_basename -- "$0" ||
16331 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16332 X"$0" : 'X\(//\)$' \| \
16333 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16335 sed '/^.*\/\([^/][^/]*\)\/*$/{
16349 # Avoid depending upon Character Ranges.
16350 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16351 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16352 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16353 as_cr_digits
='0123456789'
16354 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16356 ECHO_C
= ECHO_N
= ECHO_T
=
16357 case `echo -n x` in #(((((
16359 case `echo 'xy\c'` in
16360 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16362 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16369 rm -f conf$$ conf$$.exe conf$$.
file
16370 if test -d conf$$.dir
; then
16371 rm -f conf$$.dir
/conf$$.
file
16374 mkdir conf$$.dir
2>/dev
/null
16376 if (echo >conf$$.
file) 2>/dev
/null
; then
16377 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16379 # ... but there are two gotchas:
16380 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16381 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16382 # In both cases, we have to default to `cp -pR'.
16383 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16385 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16393 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16394 rmdir conf$$.dir
2>/dev
/null
16399 # Create "$as_dir" as a directory, including parents if necessary.
16404 -*) as_dir
=.
/$as_dir;;
16406 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16410 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16411 *) as_qdir
=$as_dir;;
16413 as_dirs
="'$as_qdir' $as_dirs"
16414 as_dir
=`$as_dirname -- "$as_dir" ||
16415 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16416 X"$as_dir" : 'X\(//\)[^/]' \| \
16417 X"$as_dir" : 'X\(//\)$' \| \
16418 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16419 $as_echo X"$as_dir" |
16420 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16424 /^X\(\/\/\)[^/].*/{
16437 test -d "$as_dir" && break
16439 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16440 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16444 if mkdir
-p .
2>/dev
/null
; then
16445 as_mkdir_p
='mkdir -p "$as_dir"'
16447 test -d .
/-p && rmdir .
/-p
16452 # as_fn_executable_p FILE
16453 # -----------------------
16454 # Test if FILE is an executable regular file.
16455 as_fn_executable_p
()
16457 test -f "$1" && test -x "$1"
16458 } # as_fn_executable_p
16459 as_test_x
='test -x'
16460 as_executable_p
=as_fn_executable_p
16462 # Sed expression to map a string onto a valid CPP name.
16463 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16465 # Sed expression to map a string onto a valid variable name.
16466 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16470 ## ----------------------------------- ##
16471 ## Main body of $CONFIG_STATUS script. ##
16472 ## ----------------------------------- ##
16474 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16476 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16477 # Save the log message, to keep $0 and so on meaningful, and to
16478 # report actual input values of CONFIG_FILES etc. instead of their
16479 # values after options handling.
16481 This file was extended by package-unused $as_me version-unused, which was
16482 generated by GNU Autoconf 2.69. Invocation command line was
16484 CONFIG_FILES = $CONFIG_FILES
16485 CONFIG_HEADERS = $CONFIG_HEADERS
16486 CONFIG_LINKS = $CONFIG_LINKS
16487 CONFIG_COMMANDS = $CONFIG_COMMANDS
16490 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16495 case $ac_config_files in *"
16496 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16499 case $ac_config_headers in *"
16500 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16504 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16505 # Files that config.status was made for.
16506 config_files="$ac_config_files"
16507 config_headers="$ac_config_headers"
16508 config_commands="$ac_config_commands"
16512 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16514 \`$as_me' instantiates files and other configuration actions
16515 from templates according to the current configuration. Unless the files
16516 and actions are specified as TAGs, all are instantiated by default.
16518 Usage: $0 [OPTION]... [TAG]...
16520 -h, --help print this help, then exit
16521 -V, --version print version number and configuration settings, then exit
16522 --config print configuration, then exit
16523 -q, --quiet, --silent
16524 do not print progress messages
16525 -d, --debug don't remove temporary files
16526 --recheck update $as_me by reconfiguring in the same conditions
16527 --file=FILE[:TEMPLATE]
16528 instantiate the configuration file FILE
16529 --header=FILE[:TEMPLATE]
16530 instantiate the configuration header FILE
16532 Configuration files:
16535 Configuration headers:
16538 Configuration commands:
16541 Report bugs to the package provider."
16544 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16545 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16547 package-unused config.status version-unused
16548 configured by $0, generated by GNU Autoconf 2.69,
16549 with options \\"\$ac_cs_config\\"
16551 Copyright (C) 2012 Free Software Foundation, Inc.
16552 This config.status script is free software; the Free Software Foundation
16553 gives unlimited permission to copy, distribute and modify it."
16560 test -n "\$AWK" || AWK=awk
16563 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16564 # The default lists apply if the user does not specify any file.
16570 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16571 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16575 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16587 # Handling of the options.
16588 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16590 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16591 $as_echo "$ac_cs_version"; exit ;;
16592 --config |
--confi |
--conf |
--con |
--co |
--c )
16593 $as_echo "$ac_cs_config"; exit ;;
16594 --debug |
--debu |
--deb |
--de |
--d |
-d )
16596 --file |
--fil |
--fi |
--f )
16599 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16600 '') as_fn_error $?
"missing file argument" ;;
16602 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16603 ac_need_defaults
=false
;;
16604 --header |
--heade |
--head |
--hea )
16607 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16609 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16610 ac_need_defaults
=false
;;
16612 # Conflict between --help and --header
16613 as_fn_error $?
"ambiguous option: \`$1'
16614 Try \`$0 --help' for more information.";;
16615 --help |
--hel |
-h )
16616 $as_echo "$ac_cs_usage"; exit ;;
16617 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16618 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16621 # This is an error.
16622 -*) as_fn_error $?
"unrecognized option: \`$1'
16623 Try \`$0 --help' for more information." ;;
16625 *) as_fn_append ac_config_targets
" $1"
16626 ac_need_defaults
=false
;;
16632 ac_configure_extra_args
=
16634 if $ac_cs_silent; then
16636 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16641 if \$ac_cs_recheck; then
16642 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16644 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16645 CONFIG_SHELL='$SHELL'
16646 export CONFIG_SHELL
16651 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16655 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16656 ## Running $as_me. ##
16662 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16670 with_multisubdir="$with_multisubdir"
16671 with_multisrctop="$with_multisrctop"
16672 with_target_subdir="$with_target_subdir"
16673 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16674 multi_basedir="$multi_basedir"
16675 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16678 GFORTRAN="$GFORTRAN"
16680 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16683 # The HP-UX ksh and POSIX shell print the target directory to stdout
16684 # if CDPATH is set.
16685 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16687 sed_quote_subst='$sed_quote_subst'
16688 double_quote_subst='$double_quote_subst'
16689 delay_variable_subst='$delay_variable_subst'
16690 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16691 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16692 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16693 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16694 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16695 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16696 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16697 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16698 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16699 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16700 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16701 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16702 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16703 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16704 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16705 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16706 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16707 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16708 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16709 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16710 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16711 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16712 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16713 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16714 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16715 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16716 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16717 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16718 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16719 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16720 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16721 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16722 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16723 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16724 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16725 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16726 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16727 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16728 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16729 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16730 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16731 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16732 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16733 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16734 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16735 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16736 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16737 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16738 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"`'
16739 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16740 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16741 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16742 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16743 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16744 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16745 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16746 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16747 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16748 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16749 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16750 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16751 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16752 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16753 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16754 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16755 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16756 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16757 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16758 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16759 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16760 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16761 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16762 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16763 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16764 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16765 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16766 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16767 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16768 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16769 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16770 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16771 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16772 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16773 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16774 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16775 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16776 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16777 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16778 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16779 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16780 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16781 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16782 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16783 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16784 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16785 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16786 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16787 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16788 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16789 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16790 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16791 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16792 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16793 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16794 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16795 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16796 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16797 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16798 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16799 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16800 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16801 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16802 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16803 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16804 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16805 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16806 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16807 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16808 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16809 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16810 LD_GO='`$ECHO "$LD_GO" | $SED "$delay_single_quote_subst"`'
16811 reload_flag_GO='`$ECHO "$reload_flag_GO" | $SED "$delay_single_quote_subst"`'
16812 reload_cmds_GO='`$ECHO "$reload_cmds_GO" | $SED "$delay_single_quote_subst"`'
16813 old_archive_cmds_GO='`$ECHO "$old_archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
16814 compiler_GO='`$ECHO "$compiler_GO" | $SED "$delay_single_quote_subst"`'
16815 GCC_GO='`$ECHO "$GCC_GO" | $SED "$delay_single_quote_subst"`'
16816 lt_prog_compiler_no_builtin_flag_GO='`$ECHO "$lt_prog_compiler_no_builtin_flag_GO" | $SED "$delay_single_quote_subst"`'
16817 lt_prog_compiler_wl_GO='`$ECHO "$lt_prog_compiler_wl_GO" | $SED "$delay_single_quote_subst"`'
16818 lt_prog_compiler_pic_GO='`$ECHO "$lt_prog_compiler_pic_GO" | $SED "$delay_single_quote_subst"`'
16819 lt_prog_compiler_static_GO='`$ECHO "$lt_prog_compiler_static_GO" | $SED "$delay_single_quote_subst"`'
16820 lt_cv_prog_compiler_c_o_GO='`$ECHO "$lt_cv_prog_compiler_c_o_GO" | $SED "$delay_single_quote_subst"`'
16821 archive_cmds_need_lc_GO='`$ECHO "$archive_cmds_need_lc_GO" | $SED "$delay_single_quote_subst"`'
16822 enable_shared_with_static_runtimes_GO='`$ECHO "$enable_shared_with_static_runtimes_GO" | $SED "$delay_single_quote_subst"`'
16823 export_dynamic_flag_spec_GO='`$ECHO "$export_dynamic_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
16824 whole_archive_flag_spec_GO='`$ECHO "$whole_archive_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
16825 compiler_needs_object_GO='`$ECHO "$compiler_needs_object_GO" | $SED "$delay_single_quote_subst"`'
16826 old_archive_from_new_cmds_GO='`$ECHO "$old_archive_from_new_cmds_GO" | $SED "$delay_single_quote_subst"`'
16827 old_archive_from_expsyms_cmds_GO='`$ECHO "$old_archive_from_expsyms_cmds_GO" | $SED "$delay_single_quote_subst"`'
16828 archive_cmds_GO='`$ECHO "$archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
16829 archive_expsym_cmds_GO='`$ECHO "$archive_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
16830 module_cmds_GO='`$ECHO "$module_cmds_GO" | $SED "$delay_single_quote_subst"`'
16831 module_expsym_cmds_GO='`$ECHO "$module_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
16832 with_gnu_ld_GO='`$ECHO "$with_gnu_ld_GO" | $SED "$delay_single_quote_subst"`'
16833 allow_undefined_flag_GO='`$ECHO "$allow_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
16834 no_undefined_flag_GO='`$ECHO "$no_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
16835 hardcode_libdir_flag_spec_GO='`$ECHO "$hardcode_libdir_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
16836 hardcode_libdir_flag_spec_ld_GO='`$ECHO "$hardcode_libdir_flag_spec_ld_GO" | $SED "$delay_single_quote_subst"`'
16837 hardcode_libdir_separator_GO='`$ECHO "$hardcode_libdir_separator_GO" | $SED "$delay_single_quote_subst"`'
16838 hardcode_direct_GO='`$ECHO "$hardcode_direct_GO" | $SED "$delay_single_quote_subst"`'
16839 hardcode_direct_absolute_GO='`$ECHO "$hardcode_direct_absolute_GO" | $SED "$delay_single_quote_subst"`'
16840 hardcode_minus_L_GO='`$ECHO "$hardcode_minus_L_GO" | $SED "$delay_single_quote_subst"`'
16841 hardcode_shlibpath_var_GO='`$ECHO "$hardcode_shlibpath_var_GO" | $SED "$delay_single_quote_subst"`'
16842 hardcode_automatic_GO='`$ECHO "$hardcode_automatic_GO" | $SED "$delay_single_quote_subst"`'
16843 inherit_rpath_GO='`$ECHO "$inherit_rpath_GO" | $SED "$delay_single_quote_subst"`'
16844 link_all_deplibs_GO='`$ECHO "$link_all_deplibs_GO" | $SED "$delay_single_quote_subst"`'
16845 fix_srcfile_path_GO='`$ECHO "$fix_srcfile_path_GO" | $SED "$delay_single_quote_subst"`'
16846 always_export_symbols_GO='`$ECHO "$always_export_symbols_GO" | $SED "$delay_single_quote_subst"`'
16847 export_symbols_cmds_GO='`$ECHO "$export_symbols_cmds_GO" | $SED "$delay_single_quote_subst"`'
16848 exclude_expsyms_GO='`$ECHO "$exclude_expsyms_GO" | $SED "$delay_single_quote_subst"`'
16849 include_expsyms_GO='`$ECHO "$include_expsyms_GO" | $SED "$delay_single_quote_subst"`'
16850 prelink_cmds_GO='`$ECHO "$prelink_cmds_GO" | $SED "$delay_single_quote_subst"`'
16851 file_list_spec_GO='`$ECHO "$file_list_spec_GO" | $SED "$delay_single_quote_subst"`'
16852 hardcode_action_GO='`$ECHO "$hardcode_action_GO" | $SED "$delay_single_quote_subst"`'
16855 LTCFLAGS='$LTCFLAGS'
16856 compiler='$compiler_DEFAULT'
16858 # A function that is used when there is no print builtin or printf.
16859 func_fallback_echo ()
16861 eval 'cat <<_LTECHO_EOF
16866 # Quote evaled strings.
16880 deplibs_check_method \
16889 lt_cv_sys_global_symbol_pipe \
16890 lt_cv_sys_global_symbol_to_cdecl \
16891 lt_cv_sys_global_symbol_to_c_name_address \
16892 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16893 lt_prog_compiler_no_builtin_flag \
16894 lt_prog_compiler_wl \
16895 lt_prog_compiler_pic \
16896 lt_prog_compiler_static \
16897 lt_cv_prog_compiler_c_o \
16905 export_dynamic_flag_spec \
16906 whole_archive_flag_spec \
16907 compiler_needs_object \
16909 allow_undefined_flag \
16910 no_undefined_flag \
16911 hardcode_libdir_flag_spec \
16912 hardcode_libdir_flag_spec_ld \
16913 hardcode_libdir_separator \
16918 variables_saved_for_relink \
16920 library_names_spec \
16922 install_override_mode \
16929 lt_prog_compiler_no_builtin_flag_GO \
16930 lt_prog_compiler_wl_GO \
16931 lt_prog_compiler_pic_GO \
16932 lt_prog_compiler_static_GO \
16933 lt_cv_prog_compiler_c_o_GO \
16934 export_dynamic_flag_spec_GO \
16935 whole_archive_flag_spec_GO \
16936 compiler_needs_object_GO \
16938 allow_undefined_flag_GO \
16939 no_undefined_flag_GO \
16940 hardcode_libdir_flag_spec_GO \
16941 hardcode_libdir_flag_spec_ld_GO \
16942 hardcode_libdir_separator_GO \
16943 fix_srcfile_path_GO \
16944 exclude_expsyms_GO \
16945 include_expsyms_GO \
16946 file_list_spec_GO; do
16947 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16948 *[\\\\\\\`\\"\\\$]*)
16949 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16952 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16957 # Double-quote double-evaled strings.
16958 for var in reload_cmds \
16959 old_postinstall_cmds \
16960 old_postuninstall_cmds \
16962 extract_expsyms_cmds \
16963 old_archive_from_new_cmds \
16964 old_archive_from_expsyms_cmds \
16966 archive_expsym_cmds \
16968 module_expsym_cmds \
16969 export_symbols_cmds \
16972 postuninstall_cmds \
16974 sys_lib_search_path_spec \
16975 sys_lib_dlsearch_path_spec \
16977 old_archive_cmds_GO \
16978 old_archive_from_new_cmds_GO \
16979 old_archive_from_expsyms_cmds_GO \
16981 archive_expsym_cmds_GO \
16983 module_expsym_cmds_GO \
16984 export_symbols_cmds_GO \
16985 prelink_cmds_GO; do
16986 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16987 *[\\\\\\\`\\"\\\$]*)
16988 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16991 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16996 ac_aux_dir='$ac_aux_dir'
16997 xsi_shell='$xsi_shell'
16998 lt_shell_append='$lt_shell_append'
17000 # See if we are running on zsh, and set the options which allow our
17001 # commands through without removal of \ escapes INIT.
17002 if test -n "\${ZSH_VERSION+set}" ; then
17003 setopt NO_GLOB_SUBST
17009 TIMESTAMP='$TIMESTAMP'
17018 # Variables needed in config.status (file generation) which aren't already
17019 # passed by autoconf.
17025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17027 # Handling of arguments.
17028 for ac_config_target
in $ac_config_targets
17030 case $ac_config_target in
17031 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
17032 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
17033 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17034 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
17035 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17036 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
17037 "testsuite/libgo-test-support.exp") CONFIG_FILES
="$CONFIG_FILES testsuite/libgo-test-support.exp" ;;
17038 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
17040 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17045 # If the user did not use the arguments to specify the items to instantiate,
17046 # then the envvar interface is used. Set only those that are not.
17047 # We use the long form for the default assignment because of an extremely
17048 # bizarre bug on SunOS 4.1.3.
17049 if $ac_need_defaults; then
17050 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17051 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17052 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17055 # Have a temporary directory for convenience. Make it in the build tree
17056 # simply because there is no reason against having it here, and in addition,
17057 # creating and moving files from /tmp can sometimes cause problems.
17058 # Hook for its removal unless debugging.
17059 # Note that there is a small window in which the directory will not be cleaned:
17060 # after its creation but before its name has been assigned to `$tmp'.
17064 trap 'exit_status=$?
17065 : "${ac_tmp:=$tmp}"
17066 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17068 trap 'as_fn_exit 1' 1 2 13 15
17070 # Create a (secure) tmp directory for tmp files.
17073 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17077 tmp
=.
/conf$$
-$RANDOM
17078 (umask 077 && mkdir
"$tmp")
17079 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
17082 # Set up the scripts for CONFIG_FILES section.
17083 # No need to generate them if there are no CONFIG_FILES.
17084 # This happens for instance with `./config.status config.h'.
17085 if test -n "$CONFIG_FILES"; then
17088 ac_cr
=`echo X | tr X '\015'`
17089 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17090 # But we know of no other shell where ac_cr would be empty at this
17091 # point, so we can use a bashism as a fallback.
17092 if test "x$ac_cr" = x
; then
17093 eval ac_cr
=\$
\'\\r
\'
17095 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17096 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17099 ac_cs_awk_cr
=$ac_cr
17102 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17107 echo "cat >conf$$subs.awk <<_ACEOF" &&
17108 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17110 } >conf$$subs.sh ||
17111 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17112 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17114 for ac_last_try in false false false false false :; do
17115 . ./conf$$subs.sh ||
17116 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17118 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17119 if test $ac_delim_n = $ac_delim_num; then
17121 elif $ac_last_try; then
17122 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17124 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17127 rm -f conf$$subs.sh
17129 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17130 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
17134 s/^/S["/; s
/!.
*/"]=/
17144 s/\(.\{148\}\)..*/\1/
17146 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17151 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17158 s/\(.\{148\}\)..*/\1/
17160 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17164 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17169 ' <conf$$subs.awk | sed '
17174 ' >>$CONFIG_STATUS || ac_write_fail=1
17175 rm -f conf$$subs.awk
17176 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17178 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
17179 for (key in S) S_is_set[key] = 1
17185 nfields = split(line, field, "@
")
17187 len = length(field[1])
17188 for (i = 2; i < nfields; i++) {
17190 keylen = length(key)
17191 if (S_is_set[key]) {
17193 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17194 len += length(value) + length(field[++i])
17205 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17206 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17207 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17210 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
17211 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
17214 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17215 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
17216 # trailing colons and then remove the whole line if VPATH becomes empty
17217 # (actually we leave an empty line to preserve line numbers).
17218 if test "x
$srcdir" = x.; then
17219 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17237 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17238 fi # test -n "$CONFIG_FILES"
17240 # Set up the scripts for CONFIG_HEADERS section.
17241 # No need to generate them if there are no CONFIG_HEADERS.
17242 # This happens for instance with `./config.status Makefile'.
17243 if test -n "$CONFIG_HEADERS"; then
17244 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
17248 # Transform confdefs.h into an awk script `defines.awk', embedded as
17249 # here-document in config.status, that substitutes the proper values into
17250 # config.h.in to produce config.h.
17252 # Create a delimiter string that does not exist in confdefs.h, to ease
17253 # handling of long lines.
17255 for ac_last_try in false false :; do
17256 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
17257 if test -z "$ac_tt"; then
17259 elif $ac_last_try; then
17260 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
17262 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17266 # For the awk script, D is an array of macro values keyed by name,
17267 # likewise P contains macro parameters if any. Preserve backslash
17268 # newline sequences.
17270 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17272 s/.\{148\}/&'"$ac_delim"'/g
17275 s/^[ ]*#[ ]*define[ ][ ]*/ /
17282 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17284 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17288 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17289 D["\
1"]=" \
3\\\\\\n
"\\/p
17291 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17296 s/.\{148\}/&'"$ac_delim"'/g
17301 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17304 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17306 ' <confdefs.h | sed '
17307 s/'"$ac_delim"'/"\\\
17308 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17310 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17311 for (key in D) D_is_set[key] = 1
17314 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17316 split(line, arg, " ")
17317 if (arg[1] == "#") {
17321 defundef
= substr
(arg
[1], 2)
17324 split(mac1
, mac2
, "(") #)
17326 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17327 if (D_is_set
[macro
]) {
17328 # Preserve the white space surrounding the "#".
17329 print prefix
"define", macro P
[macro
] D
[macro
]
17332 # Replace #undef with comments. This is necessary, for example,
17333 # in the case of _POSIX_SOURCE, which is predefined and required
17334 # on some systems where configure will not decide to define it.
17335 if (defundef
== "undef") {
17336 print
"/*", prefix defundef
, macro
, "*/"
17344 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17345 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
17346 fi # test -n "$CONFIG_HEADERS"
17349 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17354 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17356 case $ac_mode$ac_tag in
17358 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17359 :[FH
]-) ac_tag
=-:-;;
17360 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17377 -) ac_f
="$ac_tmp/stdin";;
17378 *) # Look for the file first in the build tree, then in the source tree
17379 # (if the path is not absolute). The absolute path cannot be DOS-style,
17380 # because $ac_f cannot contain `:'.
17384 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17386 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17388 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17389 as_fn_append ac_file_inputs
" '$ac_f'"
17392 # Let's still pretend it is `configure' which instantiates (i.e., don't
17393 # use $as_me), people would be surprised to read:
17394 # /* config.h. Generated by config.status. */
17395 configure_input
='Generated from '`
17396 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17398 if test x
"$ac_file" != x-
; then
17399 configure_input
="$ac_file. $configure_input"
17400 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17401 $as_echo "$as_me: creating $ac_file" >&6;}
17403 # Neutralize special characters interpreted by sed in replacement strings.
17404 case $configure_input in #(
17405 *\
&* |
*\|
* |
*\\* )
17406 ac_sed_conf_input
=`$as_echo "$configure_input" |
17407 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17408 *) ac_sed_conf_input
=$configure_input;;
17412 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
17413 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
17418 ac_dir
=`$as_dirname -- "$ac_file" ||
17419 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17420 X"$ac_file" : 'X\(//\)[^/]' \| \
17421 X"$ac_file" : 'X\(//\)$' \| \
17422 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17423 $as_echo X"$ac_file" |
17424 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17428 /^X\(\/\/\)[^/].*/{
17441 as_dir
="$ac_dir"; as_fn_mkdir_p
17445 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17447 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17448 # A ".." for each directory in $ac_dir_suffix.
17449 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17450 case $ac_top_builddir_sub in
17451 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17452 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17455 ac_abs_top_builddir
=$ac_pwd
17456 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17457 # for backward compatibility:
17458 ac_top_builddir
=$ac_top_build_prefix
17461 .
) # We are building in place.
17463 ac_top_srcdir
=$ac_top_builddir_sub
17464 ac_abs_top_srcdir
=$ac_pwd ;;
17465 [\\/]* | ?
:[\\/]* ) # Absolute name.
17466 ac_srcdir
=$srcdir$ac_dir_suffix;
17467 ac_top_srcdir
=$srcdir
17468 ac_abs_top_srcdir
=$srcdir ;;
17469 *) # Relative name.
17470 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17471 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17472 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17474 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17484 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17485 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17487 ac_MKDIR_P
=$MKDIR_P
17489 [\\/$
]* | ?
:[\\/]* ) ;;
17490 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
17494 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17495 # If the template does not know about datarootdir, expand it.
17496 # FIXME: This hack should be removed a few years after 2.60.
17497 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17508 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17509 *datarootdir
*) ac_datarootdir_seen
=yes;;
17510 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17512 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17514 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17515 ac_datarootdir_hack='
17516 s&@datadir@&$datadir&g
17517 s&@docdir@&$docdir&g
17518 s&@infodir@&$infodir&g
17519 s&@localedir@&$localedir&g
17520 s&@mandir@&$mandir&g
17521 s&\\\${datarootdir}&$datarootdir&g' ;;
17525 # Neutralize VPATH when `$srcdir' = `.'.
17526 # Shell code in configure.ac might set extrasub.
17527 # FIXME: do we really want to maintain this feature?
17528 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17529 ac_sed_extra="$ac_vpsub
17532 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17534 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17535 s|@configure_input@|
$ac_sed_conf_input|
;t t
17536 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17537 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17538 s
&@srcdir@
&$ac_srcdir&;t t
17539 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17540 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17541 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17542 s
&@builddir@
&$ac_builddir&;t t
17543 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17544 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17545 s
&@INSTALL@
&$ac_INSTALL&;t t
17546 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17547 $ac_datarootdir_hack
17549 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
17550 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17552 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17553 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17554 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17555 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17557 which seems to be undefined. Please make sure it is defined" >&5
17558 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17559 which seems to be undefined. Please make sure it is defined" >&2;}
17561 rm -f "$ac_tmp/stdin"
17563 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17564 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17566 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17572 if test x"$ac_file" != x-; then
17574 $as_echo "/* $configure_input */" \
17575 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17576 } >"$ac_tmp/config.h" \
17577 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17578 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17580 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17583 mv "$ac_tmp/config.h" "$ac_file" \
17584 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17587 $as_echo "/* $configure_input */" \
17588 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17589 || as_fn_error $? "could not create -" "$LINENO" 5
17591 # Compute "$ac_file"'s index
in $config_headers.
17594 for _am_header
in $config_headers :; do
17595 case $_am_header in
17596 $_am_arg |
$_am_arg:* )
17599 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17602 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17603 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17604 X"$_am_arg" : 'X\(//\)[^/]' \| \
17605 X"$_am_arg" : 'X\(//\)$' \| \
17606 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17607 $as_echo X"$_am_arg" |
17608 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17612 /^X\(\/\/\)[^/].*/{
17624 s/.*/./; q'`/stamp-h
$_am_stamp_count
17627 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17628 $as_echo "$as_me: executing $ac_file commands" >&6;}
17633 case $ac_file$ac_mode in
17635 # Only add multilib support code if we just rebuilt the top-level
17637 case " $CONFIG_FILES " in
17639 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
17642 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
17643 # Older Autoconf quotes --file arguments for eval, but not when files
17644 # are listed without --file. Let's play safe and only enable the eval
17645 # if we detect the quoting.
17646 case $CONFIG_FILES in
17647 *\'*) eval set x
"$CONFIG_FILES" ;;
17648 *) set x
$CONFIG_FILES ;;
17653 # Strip MF so we end up with the name of the file.
17654 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17655 # Check whether this is an Automake generated Makefile or not.
17656 # We used to match only the files named 'Makefile.in', but
17657 # some people rename them; so instead we look at the file content.
17658 # Grep'ing the first line is not enough: some people post-process
17659 # each Makefile.in and add a new line on top of each file to say so.
17660 # Grep'ing the whole file is not good either: AIX grep has a line
17661 # limit of 2048, but all sed's we know have understand at least 4000.
17662 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17663 dirpart
=`$as_dirname -- "$mf" ||
17664 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17665 X"$mf" : 'X\(//\)[^/]' \| \
17666 X"$mf" : 'X\(//\)$' \| \
17667 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17669 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17673 /^X\(\/\/\)[^/].*/{
17689 # Extract the definition of DEPDIR, am__include, and am__quote
17690 # from the Makefile without running 'make'.
17691 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17692 test -z "$DEPDIR" && continue
17693 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17694 test -z "$am__include" && continue
17695 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17696 # Find all dependency output files, they are included files with
17697 # $(DEPDIR) in their names. We invoke sed twice because it is the
17698 # simplest approach to changing $(DEPDIR) to its actual value in the
17700 for file in `sed -n "
17701 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17702 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17703 # Make sure the directory exists.
17704 test -f "$dirpart/$file" && continue
17705 fdir
=`$as_dirname -- "$file" ||
17706 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17707 X"$file" : 'X\(//\)[^/]' \| \
17708 X"$file" : 'X\(//\)$' \| \
17709 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17710 $as_echo X"$file" |
17711 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17715 /^X\(\/\/\)[^/].*/{
17728 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17729 # echo "creating $dirpart/$file"
17730 echo '# dummy' > "$dirpart/$file"
17737 # See if we are running on zsh, and set the options which allow our
17738 # commands through without removal of \ escapes.
17739 if test -n "${ZSH_VERSION+set}" ; then
17740 setopt NO_GLOB_SUBST
17743 cfgfile
="${ofile}T"
17744 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17747 cat <<_LT_EOF >> "$cfgfile"
17750 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17751 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17752 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17753 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17755 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17756 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
17757 # Written by Gordon Matzigkeit, 1996
17759 # This file is part of GNU Libtool.
17761 # GNU Libtool is free software; you can redistribute it and/or
17762 # modify it under the terms of the GNU General Public License as
17763 # published by the Free Software Foundation; either version 2 of
17764 # the License, or (at your option) any later version.
17766 # As a special exception to the GNU General Public License,
17767 # if you distribute this file as part of a program or library that
17768 # is built using GNU Libtool, you may include this file under the
17769 # same distribution terms that you use for the rest of that program.
17771 # GNU Libtool is distributed in the hope that it will be useful,
17772 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17773 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17774 # GNU General Public License for more details.
17776 # You should have received a copy of the GNU General Public License
17777 # along with GNU Libtool; see the file COPYING. If not, a copy
17778 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17779 # obtained by writing to the Free Software Foundation, Inc.,
17780 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17783 # The names of the tagged configurations supported by this script.
17784 available_tags="GO "
17786 # ### BEGIN LIBTOOL CONFIG
17788 # A sed program that does not truncate output.
17791 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17792 Xsed="\$SED -e 1s/^X//"
17794 # A grep program that handles long lines.
17800 # A literal string matcher.
17803 # Shell to use when invoking shell scripts.
17806 # An echo program that protects backslashes.
17809 # Which release of libtool.m4 was used?
17810 macro_version=$macro_version
17811 macro_revision=$macro_revision
17813 # Whether or not to build shared libraries.
17814 build_libtool_libs=$enable_shared
17816 # Whether or not to build static libraries.
17817 build_old_libs=$enable_static
17819 # What type of objects to build.
17822 # Whether or not to optimize for fast installation.
17823 fast_install=$enable_fast_install
17826 host_alias=$host_alias
17830 # The build system.
17831 build_alias=$build_alias
17835 # A BSD- or MS-compatible name lister.
17838 # Whether we need soft or hard links.
17841 # What is the maximum length of a command?
17842 max_cmd_len=$max_cmd_len
17844 # Object file suffix (normally "o").
17847 # Executable file suffix (normally "").
17850 # whether the shell understands "unset".
17853 # turn spaces into newlines.
17856 # turn newlines into spaces.
17859 # An object symbol dumper.
17860 OBJDUMP=$lt_OBJDUMP
17862 # Method to check whether dependent libraries are shared objects.
17863 deplibs_check_method=$lt_deplibs_check_method
17865 # Command to use when deplibs_check_method == "file_magic".
17866 file_magic_cmd=$lt_file_magic_cmd
17870 AR_FLAGS=$lt_AR_FLAGS
17872 # A symbol stripping program.
17875 # Commands used to install an old-style archive.
17877 old_postinstall_cmds=$lt_old_postinstall_cmds
17878 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17880 # Whether to use a lock for old archive extraction.
17881 lock_old_archive_extraction=$lock_old_archive_extraction
17886 # LTCC compiler flags.
17887 LTCFLAGS=$lt_CFLAGS
17889 # Take the output of nm and produce a listing of raw symbols and C names.
17890 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17892 # Transform the output of nm in a proper C declaration.
17893 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17895 # Transform the output of nm in a C name address pair.
17896 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17898 # Transform the output of nm in a C name address pair when lib prefix is needed.
17899 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17901 # The name of the directory that contains temporary libtool files.
17904 # Used to examine libraries when file_magic_cmd begins with "file".
17905 MAGIC_CMD=$MAGIC_CMD
17907 # Must we lock files when doing compilation?
17908 need_locks=$lt_need_locks
17910 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17911 DSYMUTIL=$lt_DSYMUTIL
17913 # Tool to change global to local symbols on Mac OS X.
17916 # Tool to manipulate fat objects and archives on Mac OS X.
17919 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17922 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17923 OTOOL64=$lt_OTOOL64
17925 # Old archive suffix (normally "a").
17928 # Shared library suffix (normally ".so").
17929 shrext_cmds=$lt_shrext_cmds
17931 # The commands to extract the exported symbol list from a shared archive.
17932 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17934 # Variables whose values should be saved in libtool wrapper scripts and
17935 # restored at link time.
17936 variables_saved_for_relink=$lt_variables_saved_for_relink
17938 # Do we need the "lib" prefix for modules?
17939 need_lib_prefix=$need_lib_prefix
17941 # Do we need a version for libraries?
17942 need_version=$need_version
17944 # Library versioning type.
17945 version_type=$version_type
17947 # Shared library runtime path variable.
17948 runpath_var=$runpath_var
17950 # Shared library path variable.
17951 shlibpath_var=$shlibpath_var
17953 # Is shlibpath searched before the hard-coded library search path?
17954 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17956 # Format of library name prefix.
17957 libname_spec=$lt_libname_spec
17959 # List of archive names. First name is the real one, the rest are links.
17960 # The last name is the one that the linker finds with -lNAME
17961 library_names_spec=$lt_library_names_spec
17963 # The coded name of the library, if different from the real name.
17964 soname_spec=$lt_soname_spec
17966 # Permission mode override for installation of shared libraries.
17967 install_override_mode=$lt_install_override_mode
17969 # Command to use after installation of a shared archive.
17970 postinstall_cmds=$lt_postinstall_cmds
17972 # Command to use after uninstallation of a shared archive.
17973 postuninstall_cmds=$lt_postuninstall_cmds
17975 # Commands used to finish a libtool library installation in a directory.
17976 finish_cmds=$lt_finish_cmds
17978 # As "finish_cmds", except a single script fragment to be evaled but
17980 finish_eval=$lt_finish_eval
17982 # Whether we should hardcode library paths into libraries.
17983 hardcode_into_libs=$hardcode_into_libs
17985 # Compile-time system search path for libraries.
17986 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17988 # Run-time system search path for libraries.
17989 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17991 # Whether dlopen is supported.
17992 dlopen_support=$enable_dlopen
17994 # Whether dlopen of programs is supported.
17995 dlopen_self=$enable_dlopen_self
17997 # Whether dlopen of statically linked programs is supported.
17998 dlopen_self_static=$enable_dlopen_self_static
18000 # Commands to strip libraries.
18001 old_striplib=$lt_old_striplib
18002 striplib=$lt_striplib
18005 # The linker used to build libraries.
18008 # How to create reloadable object files.
18009 reload_flag=$lt_reload_flag
18010 reload_cmds=$lt_reload_cmds
18012 # Commands used to build an old-style archive.
18013 old_archive_cmds=$lt_old_archive_cmds
18015 # A language specific compiler.
18018 # Is the compiler the GNU compiler?
18021 # Compiler flag to turn off builtin functions.
18022 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18024 # How to pass a linker flag through the compiler.
18025 wl=$lt_lt_prog_compiler_wl
18027 # Additional compiler flags for building library objects.
18028 pic_flag=$lt_lt_prog_compiler_pic
18030 # Compiler flag to prevent dynamic linking.
18031 link_static_flag=$lt_lt_prog_compiler_static
18033 # Does compiler simultaneously support -c and -o options?
18034 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18036 # Whether or not to add -lc for building shared libraries.
18037 build_libtool_need_lc=$archive_cmds_need_lc
18039 # Whether or not to disallow shared libs when runtime libs are static.
18040 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18042 # Compiler flag to allow reflexive dlopens.
18043 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18045 # Compiler flag to generate shared objects directly from archives.
18046 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18048 # Whether the compiler copes with passing no objects directly.
18049 compiler_needs_object=$lt_compiler_needs_object
18051 # Create an old-style archive from a shared archive.
18052 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18054 # Create a temporary old-style archive to link instead of a shared archive.
18055 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18057 # Commands used to build a shared archive.
18058 archive_cmds=$lt_archive_cmds
18059 archive_expsym_cmds=$lt_archive_expsym_cmds
18061 # Commands used to build a loadable module if different from building
18062 # a shared archive.
18063 module_cmds=$lt_module_cmds
18064 module_expsym_cmds=$lt_module_expsym_cmds
18066 # Whether we are building with GNU ld or not.
18067 with_gnu_ld=$lt_with_gnu_ld
18069 # Flag that allows shared libraries with undefined symbols to be built.
18070 allow_undefined_flag=$lt_allow_undefined_flag
18072 # Flag that enforces no undefined symbols.
18073 no_undefined_flag=$lt_no_undefined_flag
18075 # Flag to hardcode \$libdir into a binary during linking.
18076 # This must work even if \$libdir does not exist
18077 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18079 # If ld is used when linking, flag to hardcode \$libdir into a binary
18080 # during linking. This must work even if \$libdir does not exist.
18081 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18083 # Whether we need a single "-rpath" flag with a separated argument.
18084 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18086 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18087 # DIR into the resulting binary.
18088 hardcode_direct=$hardcode_direct
18090 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18091 # DIR into the resulting binary and the resulting library dependency is
18092 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18093 # library is relocated.
18094 hardcode_direct_absolute=$hardcode_direct_absolute
18096 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18097 # into the resulting binary.
18098 hardcode_minus_L=$hardcode_minus_L
18100 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18101 # into the resulting binary.
18102 hardcode_shlibpath_var=$hardcode_shlibpath_var
18104 # Set to "yes" if building a shared library automatically hardcodes DIR
18105 # into the library and all subsequent libraries and executables linked
18107 hardcode_automatic=$hardcode_automatic
18109 # Set to yes if linker adds runtime paths of dependent libraries
18110 # to runtime path list.
18111 inherit_rpath=$inherit_rpath
18113 # Whether libtool must link a program against all its dependency libraries.
18114 link_all_deplibs=$link_all_deplibs
18116 # Fix the shell variable \$srcfile for the compiler.
18117 fix_srcfile_path=$lt_fix_srcfile_path
18119 # Set to "yes" if exported symbols are required.
18120 always_export_symbols=$always_export_symbols
18122 # The commands to list exported symbols.
18123 export_symbols_cmds=$lt_export_symbols_cmds
18125 # Symbols that should not be listed in the preloaded symbols.
18126 exclude_expsyms=$lt_exclude_expsyms
18128 # Symbols that must always be exported.
18129 include_expsyms=$lt_include_expsyms
18131 # Commands necessary for linking programs (against libraries) with templates.
18132 prelink_cmds=$lt_prelink_cmds
18134 # Specify filename containing input files.
18135 file_list_spec=$lt_file_list_spec
18137 # How to hardcode a shared library path into an executable.
18138 hardcode_action=$hardcode_action
18140 # ### END LIBTOOL CONFIG
18146 cat <<\_LT_EOF
>> "$cfgfile"
18147 # AIX sometimes has problems with the GCC collect2 program. For some
18148 # reason, if we set the COLLECT_NAMES environment variable, the problems
18149 # vanish in a puff of smoke.
18150 if test "X${COLLECT_NAMES+set}" != Xset
; then
18152 export COLLECT_NAMES
18159 ltmain
="$ac_aux_dir/ltmain.sh"
18162 # We use sed instead of cat because bash on DJGPP gets confused if
18163 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18164 # text mode, it properly converts lines to CR/LF. This bash problem
18165 # is reportedly fixed, but why not run on old versions too?
18166 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18167 ||
(rm -f "$cfgfile"; exit 1)
18171 cat << \_LT_EOF
>> "$cfgfile"
18173 # func_dirname file append nondir_replacement
18174 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18175 # otherwise set result to NONDIR_REPLACEMENT.
18179 */*) func_dirname_result
="${1%/*}${2}" ;;
18180 * ) func_dirname_result
="${3}" ;;
18184 # func_basename file
18187 func_basename_result
="${1##*/}"
18190 # func_dirname_and_basename file append nondir_replacement
18191 # perform func_basename and func_dirname in a single function
18193 # dirname: Compute the dirname of FILE. If nonempty,
18194 # add APPEND to the result, otherwise set result
18195 # to NONDIR_REPLACEMENT.
18196 # value returned in "$func_dirname_result"
18197 # basename: Compute filename of FILE.
18198 # value retuned in "$func_basename_result"
18199 # Implementation must be kept synchronized with func_dirname
18200 # and func_basename. For efficiency, we do not delegate to
18201 # those functions but instead duplicate the functionality here.
18202 func_dirname_and_basename
()
18205 */*) func_dirname_result
="${1%/*}${2}" ;;
18206 * ) func_dirname_result
="${3}" ;;
18208 func_basename_result
="${1##*/}"
18211 # func_stripname prefix suffix name
18212 # strip PREFIX and SUFFIX off of NAME.
18213 # PREFIX and SUFFIX must not contain globbing or regex special
18214 # characters, hashes, percent signs, but SUFFIX may contain a leading
18215 # dot (in which case that matches only a dot).
18218 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18219 # positional parameters, so assign one to ordinary parameter first.
18220 func_stripname_result
=${3}
18221 func_stripname_result
=${func_stripname_result#"${1}"}
18222 func_stripname_result
=${func_stripname_result%"${2}"}
18228 func_opt_split_opt
=${1%%=*}
18229 func_opt_split_arg
=${1#*=}
18236 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
18237 *) func_lo2o_result
=${1} ;;
18241 # func_xform libobj-or-source
18244 func_xform_result
=${1%.*}.lo
18247 # func_arith arithmetic-term...
18250 func_arith_result
=$
(( $
* ))
18254 # STRING may not start with a hyphen.
18257 func_len_result
=${#1}
18262 *) # Bourne compatible functions.
18263 cat << \_LT_EOF
>> "$cfgfile"
18265 # func_dirname file append nondir_replacement
18266 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18267 # otherwise set result to NONDIR_REPLACEMENT.
18270 # Extract subdirectory from the argument.
18271 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
18272 if test "X$func_dirname_result" = "X${1}"; then
18273 func_dirname_result
="${3}"
18275 func_dirname_result
="$func_dirname_result${2}"
18279 # func_basename file
18282 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
18286 # func_stripname prefix suffix name
18287 # strip PREFIX and SUFFIX off of NAME.
18288 # PREFIX and SUFFIX must not contain globbing or regex special
18289 # characters, hashes, percent signs, but SUFFIX may contain a leading
18290 # dot (in which case that matches only a dot).
18291 # func_strip_suffix prefix name
18295 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
18296 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
18301 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
18302 my_sed_long_arg
='1s/^-[^=]*=//'
18307 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
18308 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
18314 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
18317 # func_xform libobj-or-source
18320 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
18323 # func_arith arithmetic-term...
18326 func_arith_result
=`expr "$@"`
18330 # STRING may not start with a hyphen.
18333 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18339 case $lt_shell_append in
18341 cat << \_LT_EOF
>> "$cfgfile"
18343 # func_append var value
18344 # Append VALUE to the end of shell variable VAR.
18352 cat << \_LT_EOF
>> "$cfgfile"
18354 # func_append var value
18355 # Append VALUE to the end of shell variable VAR.
18366 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18367 ||
(rm -f "$cfgfile"; exit 1)
18369 mv -f "$cfgfile" "$ofile" ||
18370 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18374 cat <<_LT_EOF >> "$ofile"
18376 # ### BEGIN LIBTOOL TAG CONFIG: GO
18378 # The linker used to build libraries.
18381 # How to create reloadable object files.
18382 reload_flag=$lt_reload_flag_GO
18383 reload_cmds=$lt_reload_cmds_GO
18385 # Commands used to build an old-style archive.
18386 old_archive_cmds=$lt_old_archive_cmds_GO
18388 # A language specific compiler.
18391 # Is the compiler the GNU compiler?
18394 # Compiler flag to turn off builtin functions.
18395 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GO
18397 # How to pass a linker flag through the compiler.
18398 wl=$lt_lt_prog_compiler_wl_GO
18400 # Additional compiler flags for building library objects.
18401 pic_flag=$lt_lt_prog_compiler_pic_GO
18403 # Compiler flag to prevent dynamic linking.
18404 link_static_flag=$lt_lt_prog_compiler_static_GO
18406 # Does compiler simultaneously support -c and -o options?
18407 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GO
18409 # Whether or not to add -lc for building shared libraries.
18410 build_libtool_need_lc=$archive_cmds_need_lc_GO
18412 # Whether or not to disallow shared libs when runtime libs are static.
18413 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GO
18415 # Compiler flag to allow reflexive dlopens.
18416 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GO
18418 # Compiler flag to generate shared objects directly from archives.
18419 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GO
18421 # Whether the compiler copes with passing no objects directly.
18422 compiler_needs_object=$lt_compiler_needs_object_GO
18424 # Create an old-style archive from a shared archive.
18425 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GO
18427 # Create a temporary old-style archive to link instead of a shared archive.
18428 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GO
18430 # Commands used to build a shared archive.
18431 archive_cmds=$lt_archive_cmds_GO
18432 archive_expsym_cmds=$lt_archive_expsym_cmds_GO
18434 # Commands used to build a loadable module if different from building
18435 # a shared archive.
18436 module_cmds=$lt_module_cmds_GO
18437 module_expsym_cmds=$lt_module_expsym_cmds_GO
18439 # Whether we are building with GNU ld or not.
18440 with_gnu_ld=$lt_with_gnu_ld_GO
18442 # Flag that allows shared libraries with undefined symbols to be built.
18443 allow_undefined_flag=$lt_allow_undefined_flag_GO
18445 # Flag that enforces no undefined symbols.
18446 no_undefined_flag=$lt_no_undefined_flag_GO
18448 # Flag to hardcode \$libdir into a binary during linking.
18449 # This must work even if \$libdir does not exist
18450 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GO
18452 # If ld is used when linking, flag to hardcode \$libdir into a binary
18453 # during linking. This must work even if \$libdir does not exist.
18454 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GO
18456 # Whether we need a single "-rpath" flag with a separated argument.
18457 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GO
18459 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18460 # DIR into the resulting binary.
18461 hardcode_direct=$hardcode_direct_GO
18463 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18464 # DIR into the resulting binary and the resulting library dependency is
18465 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18466 # library is relocated.
18467 hardcode_direct_absolute=$hardcode_direct_absolute_GO
18469 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18470 # into the resulting binary.
18471 hardcode_minus_L=$hardcode_minus_L_GO
18473 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18474 # into the resulting binary.
18475 hardcode_shlibpath_var=$hardcode_shlibpath_var_GO
18477 # Set to "yes" if building a shared library automatically hardcodes DIR
18478 # into the library and all subsequent libraries and executables linked
18480 hardcode_automatic=$hardcode_automatic_GO
18482 # Set to yes if linker adds runtime paths of dependent libraries
18483 # to runtime path list.
18484 inherit_rpath=$inherit_rpath_GO
18486 # Whether libtool must link a program against all its dependency libraries.
18487 link_all_deplibs=$link_all_deplibs_GO
18489 # Fix the shell variable \$srcfile for the compiler.
18490 fix_srcfile_path=$lt_fix_srcfile_path_GO
18492 # Set to "yes" if exported symbols are required.
18493 always_export_symbols=$always_export_symbols_GO
18495 # The commands to list exported symbols.
18496 export_symbols_cmds=$lt_export_symbols_cmds_GO
18498 # Symbols that should not be listed in the preloaded symbols.
18499 exclude_expsyms=$lt_exclude_expsyms_GO
18501 # Symbols that must always be exported.
18502 include_expsyms=$lt_include_expsyms_GO
18504 # Commands necessary for linking programs (against libraries) with templates.
18505 prelink_cmds=$lt_prelink_cmds_GO
18507 # Specify filename containing input files.
18508 file_list_spec=$lt_file_list_spec_GO
18510 # How to hardcode a shared library path into an executable.
18511 hardcode_action=$hardcode_action_GO
18513 # ### END LIBTOOL TAG CONFIG: GO
18517 "default":C
) if test -n "$CONFIG_FILES"; then
18518 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
18519 # that multilib installs will end up installed in the correct place.
18520 # The testsuite needs it for multilib-aware ABI baseline files.
18521 # To work around this not being passed down from config-ml.in ->
18522 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
18523 # append it here. Only modify Makefiles that have just been created.
18525 # Also, get rid of this simulated-VPATH thing that automake does.
18526 cat > vpsed
<< \_EOF
18527 s
!`test -f '$<' || echo '$(srcdir)/'`!!
18529 for i
in $SUBDIRS; do
18530 case $CONFIG_FILES in
18532 #echo "Adding MULTISUBDIR to $i/Makefile"
18533 sed -f vpsed
$i/Makefile
> tmp
18534 grep '^MULTISUBDIR =' Makefile
>> tmp
18549 ac_clean_files
=$ac_clean_files_save
18551 test $ac_write_fail = 0 ||
18552 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18555 # configure is writing to config.log, and then calls config.status.
18556 # config.status does its own redirection, appending to config.log.
18557 # Unfortunately, on DOS this fails, as config.log is still kept open
18558 # by configure, so config.status won't be able to write to it; its
18559 # output is simply discarded. So we exec the FD to /dev/null,
18560 # effectively closing config.log, so it can be properly (re)opened and
18561 # appended to by config.status. When coming back to configure, we
18562 # need to make the FD available again.
18563 if test "$no_create" != yes; then
18565 ac_config_status_args
=
18566 test "$silent" = yes &&
18567 ac_config_status_args
="$ac_config_status_args --quiet"
18569 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18571 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18572 # would make configure fail if this is the last instruction.
18573 $ac_cs_success || as_fn_exit
1
18575 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18577 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}