2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev
/null
; then :
186 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
191 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir
=.
198 for as_base
in sh bash ksh sh5
; do
199 # Try only shells that exist, to save several forks.
200 as_shell
=$as_dir/$as_base
201 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
203 CONFIG_SHELL
=$as_shell as_have_required
=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
212 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
214 CONFIG_SHELL
=$SHELL as_have_required
=yes
219 if test "x$CONFIG_SHELL" != x
; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x
$as_have_required = xno
; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x
${ZSH_VERSION+set} = xset
; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL
=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE
= GREP_OPTIONS
=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir
=.
/$as_dir;;
291 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
295 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs
="'$as_qdir' $as_dirs"
299 as_dir
=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
325 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
360 as_val
=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status
=$?
; test $as_status -eq 0 && as_status
=1
374 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit
$as_status
381 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
388 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
400 as_me
=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits
='0123456789'
424 as_cr_alnum
=$as_cr_Letters$as_cr_digits
427 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
428 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x
"$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C
= ECHO_N
= ECHO_T
=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
471 rm -f conf$$ conf$$.exe conf$$.
file
472 if test -d conf$$.dir
; then
473 rm -f conf$$.dir
/conf$$.
file
476 mkdir conf$$.dir
2>/dev
/null
478 if (echo >conf$$.
file) 2>/dev
/null
; then
479 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
487 elif ln conf$$.
file conf$$
2>/dev
/null
; then
495 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
496 rmdir conf$$.dir
2>/dev
/null
498 if mkdir
-p .
2>/dev
/null
; then
499 as_mkdir_p
='mkdir -p "$as_dir"'
501 test -d .
/-p && rmdir .
/-p
505 if test -x / >/dev
/null
2>&1; then
508 if ls -dL / >/dev
/null
2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p
=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL
=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev
/null
6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix
=/usr
/local
549 ac_config_libobj_dir
=.
556 # Identity of this package.
557 PACKAGE_NAME
='package-unused'
558 PACKAGE_TARNAME
='libgo'
559 PACKAGE_VERSION
='version-unused'
560 PACKAGE_STRING
='package-unused version-unused'
564 ac_unique_file
="Makefile.am"
565 # Factoring default headers for most tests.
566 ac_includes_default
="\
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
578 # ifdef HAVE_STDLIB_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
601 ac_subst_vars
='am__EXEEXT_FALSE
605 STRUCT_EPOLL_EVENT_FD_OFFSET
606 SIZEOF_STRUCT_EPOLL_EVENT
611 HAVE_STRERROR_R_FALSE
613 HAVE_SYS_MMAN_H_FALSE
619 USING_SPLIT_STACK_FALSE
620 USING_SPLIT_STACK_TRUE
623 GO_SYSCALL_OS_ARCH_FILE
625 GO_LIBCALL_OS_ARCH_FILE
628 LIBGO_IS_X86_64_FALSE
630 LIBGO_IS_SPARC64_FALSE
631 LIBGO_IS_SPARC64_TRUE
638 LIBGO_IS_MIPSO64_FALSE
639 LIBGO_IS_MIPSO64_TRUE
640 LIBGO_IS_MIPSN64_FALSE
641 LIBGO_IS_MIPSN64_TRUE
642 LIBGO_IS_MIPSN32_FALSE
643 LIBGO_IS_MIPSN32_TRUE
644 LIBGO_IS_MIPSO32_FALSE
645 LIBGO_IS_MIPSO32_TRUE
657 LIBGO_IS_SOLARIS_FALSE
658 LIBGO_IS_SOLARIS_TRUE
661 LIBGO_IS_OPENBSD_FALSE
662 LIBGO_IS_OPENBSD_TRUE
663 LIBGO_IS_NETBSD_FALSE
669 LIBGO_IS_FREEBSD_FALSE
670 LIBGO_IS_FREEBSD_TRUE
671 LIBGO_IS_DARWIN_FALSE
676 nover_glibgo_toolexeclibdir
677 glibgo_toolexeclibdir
705 MAINTAINER_MODE_FALSE
733 INSTALL_STRIP_PROGRAM
789 program_transform_name
802 enable_option_checking
804 enable_dependency_tracking
805 enable_maintainer_mode
813 enable_version_specific_runtime_libs
815 with_system_libunwind
816 enable_sjlj_exceptions
818 ac_precious_vars
='build_alias
825 # Initialize some variables set by options.
827 ac_init_version
=false
828 ac_unrecognized_opts
=
830 # The variables have the same names as the options, with
831 # dashes changed to underlines.
839 program_transform_name
=s
,x
,x
,
847 # Installation directory options.
848 # These are left unexpanded so users can "make install exec_prefix=/foo"
849 # and all the variables that are supposed to be based on exec_prefix
850 # by default will actually change.
851 # Use braces instead of parens because sh, perl, etc. also accept them.
852 # (The list follows the same order as the GNU Coding Standards.)
853 bindir
='${exec_prefix}/bin'
854 sbindir
='${exec_prefix}/sbin'
855 libexecdir
='${exec_prefix}/libexec'
856 datarootdir
='${prefix}/share'
857 datadir
='${datarootdir}'
858 sysconfdir
='${prefix}/etc'
859 sharedstatedir
='${prefix}/com'
860 localstatedir
='${prefix}/var'
861 includedir
='${prefix}/include'
862 oldincludedir
='/usr/include'
863 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
864 infodir
='${datarootdir}/info'
869 libdir
='${exec_prefix}/lib'
870 localedir
='${datarootdir}/locale'
871 mandir
='${datarootdir}/man'
877 # If the previous option needs an argument, assign it.
878 if test -n "$ac_prev"; then
879 eval $ac_prev=\
$ac_option
885 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
889 # Accept the important Cygnus configure options, so we can diagnose typos.
891 case $ac_dashdash$ac_option in
895 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
897 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
900 -build |
--build |
--buil |
--bui |
--bu)
901 ac_prev
=build_alias
;;
902 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
903 build_alias
=$ac_optarg ;;
905 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
906 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
907 ac_prev
=cache_file
;;
908 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
909 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
910 cache_file
=$ac_optarg ;;
913 cache_file
=config.cache
;;
915 -datadir |
--datadir |
--datadi |
--datad)
917 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
918 datadir
=$ac_optarg ;;
920 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
921 |
--dataroo |
--dataro |
--datar)
922 ac_prev
=datarootdir
;;
923 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
924 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
925 datarootdir
=$ac_optarg ;;
927 -disable-* |
--disable-*)
928 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
929 # Reject names that are not valid shell variable names.
930 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
931 as_fn_error
"invalid feature name: $ac_useropt"
932 ac_useropt_orig
=$ac_useropt
933 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
934 case $ac_user_opts in
938 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
939 ac_unrecognized_sep
=', ';;
941 eval enable_
$ac_useropt=no
;;
943 -docdir |
--docdir |
--docdi |
--doc |
--do)
945 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
948 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
950 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
953 -enable-* |
--enable-*)
954 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
955 # Reject names that are not valid shell variable names.
956 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
957 as_fn_error
"invalid feature name: $ac_useropt"
958 ac_useropt_orig
=$ac_useropt
959 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
960 case $ac_user_opts in
964 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
965 ac_unrecognized_sep
=', ';;
967 eval enable_
$ac_useropt=\
$ac_optarg ;;
969 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
970 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
971 |
--exec |
--exe |
--ex)
972 ac_prev
=exec_prefix
;;
973 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
974 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
975 |
--exec=* |
--exe=* |
--ex=*)
976 exec_prefix
=$ac_optarg ;;
978 -gas |
--gas |
--ga |
--g)
979 # Obsolete; use --with-gas.
982 -help |
--help |
--hel |
--he |
-h)
984 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
985 ac_init_help
=recursive
;;
986 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
987 ac_init_help
=short
;;
989 -host |
--host |
--hos |
--ho)
990 ac_prev
=host_alias
;;
991 -host=* |
--host=* |
--hos=* |
--ho=*)
992 host_alias
=$ac_optarg ;;
994 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
996 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
998 htmldir
=$ac_optarg ;;
1000 -includedir |
--includedir |
--includedi |
--included |
--include \
1001 |
--includ |
--inclu |
--incl |
--inc)
1002 ac_prev
=includedir
;;
1003 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1004 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1005 includedir
=$ac_optarg ;;
1007 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1009 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1010 infodir
=$ac_optarg ;;
1012 -libdir |
--libdir |
--libdi |
--libd)
1014 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1015 libdir
=$ac_optarg ;;
1017 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1018 |
--libexe |
--libex |
--libe)
1019 ac_prev
=libexecdir
;;
1020 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1021 |
--libexe=* |
--libex=* |
--libe=*)
1022 libexecdir
=$ac_optarg ;;
1024 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1025 ac_prev
=localedir
;;
1026 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1027 localedir
=$ac_optarg ;;
1029 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1030 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1031 ac_prev
=localstatedir
;;
1032 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1033 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1034 localstatedir
=$ac_optarg ;;
1036 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1038 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1039 mandir
=$ac_optarg ;;
1041 -nfp |
--nfp |
--nf)
1042 # Obsolete; use --without-fp.
1045 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1046 |
--no-cr |
--no-c |
-n)
1049 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1050 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1053 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1054 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1055 |
--oldin |
--oldi |
--old |
--ol |
--o)
1056 ac_prev
=oldincludedir
;;
1057 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1058 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1059 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1060 oldincludedir
=$ac_optarg ;;
1062 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1064 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1065 prefix
=$ac_optarg ;;
1067 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1068 |
--program-pre |
--program-pr |
--program-p)
1069 ac_prev
=program_prefix
;;
1070 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1071 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1072 program_prefix
=$ac_optarg ;;
1074 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1075 |
--program-suf |
--program-su |
--program-s)
1076 ac_prev
=program_suffix
;;
1077 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1078 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1079 program_suffix
=$ac_optarg ;;
1081 -program-transform-name |
--program-transform-name \
1082 |
--program-transform-nam |
--program-transform-na \
1083 |
--program-transform-n |
--program-transform- \
1084 |
--program-transform |
--program-transfor \
1085 |
--program-transfo |
--program-transf \
1086 |
--program-trans |
--program-tran \
1087 |
--progr-tra |
--program-tr |
--program-t)
1088 ac_prev
=program_transform_name
;;
1089 -program-transform-name=* |
--program-transform-name=* \
1090 |
--program-transform-nam=* |
--program-transform-na=* \
1091 |
--program-transform-n=* |
--program-transform-=* \
1092 |
--program-transform=* |
--program-transfor=* \
1093 |
--program-transfo=* |
--program-transf=* \
1094 |
--program-trans=* |
--program-tran=* \
1095 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1096 program_transform_name
=$ac_optarg ;;
1098 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1100 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1101 pdfdir
=$ac_optarg ;;
1103 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1105 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1108 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1109 |
-silent |
--silent |
--silen |
--sile |
--sil)
1112 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1114 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1116 sbindir
=$ac_optarg ;;
1118 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1119 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1120 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1122 ac_prev
=sharedstatedir
;;
1123 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1124 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1125 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1127 sharedstatedir
=$ac_optarg ;;
1129 -site |
--site |
--sit)
1131 -site=* |
--site=* |
--sit=*)
1134 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1136 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1137 srcdir
=$ac_optarg ;;
1139 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1140 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1141 ac_prev
=sysconfdir
;;
1142 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1143 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1144 sysconfdir
=$ac_optarg ;;
1146 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1147 ac_prev
=target_alias
;;
1148 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1149 target_alias
=$ac_optarg ;;
1151 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1154 -version |
--version |
--versio |
--versi |
--vers |
-V)
1155 ac_init_version
=: ;;
1158 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1159 # Reject names that are not valid shell variable names.
1160 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1161 as_fn_error
"invalid package name: $ac_useropt"
1162 ac_useropt_orig
=$ac_useropt
1163 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1164 case $ac_user_opts in
1168 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1169 ac_unrecognized_sep
=', ';;
1171 eval with_
$ac_useropt=\
$ac_optarg ;;
1173 -without-* |
--without-*)
1174 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1175 # Reject names that are not valid shell variable names.
1176 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1177 as_fn_error
"invalid package name: $ac_useropt"
1178 ac_useropt_orig
=$ac_useropt
1179 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1180 case $ac_user_opts in
1184 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1185 ac_unrecognized_sep
=', ';;
1187 eval with_
$ac_useropt=no
;;
1190 # Obsolete; use --with-x.
1193 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1194 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1195 ac_prev
=x_includes
;;
1196 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1197 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1198 x_includes
=$ac_optarg ;;
1200 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1201 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1202 ac_prev
=x_libraries
;;
1203 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1204 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1205 x_libraries
=$ac_optarg ;;
1207 -*) as_fn_error
"unrecognized option: \`$ac_option'
1208 Try \`$0 --help' for more information."
1212 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1213 # Reject names that are not valid shell variable names.
1214 case $ac_envvar in #(
1215 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1216 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1218 eval $ac_envvar=\
$ac_optarg
1219 export $ac_envvar ;;
1222 # FIXME: should be removed in autoconf 3.0.
1223 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1224 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1225 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1226 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1232 if test -n "$ac_prev"; then
1233 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1234 as_fn_error
"missing argument to $ac_option"
1237 if test -n "$ac_unrecognized_opts"; then
1238 case $enable_option_checking in
1240 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1241 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1245 # Check all directory arguments for consistency.
1246 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1247 datadir sysconfdir sharedstatedir localstatedir includedir \
1248 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1249 libdir localedir mandir
1251 eval ac_val
=\$
$ac_var
1252 # Remove trailing slashes.
1255 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1256 eval $ac_var=\
$ac_val;;
1258 # Be sure to have absolute directory names.
1260 [\\/$
]* | ?
:[\\/]* ) continue;;
1261 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1263 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1266 # There might be people who depend on the old broken behavior: `$host'
1267 # used to hold the argument of --host etc.
1268 # FIXME: To remove some day.
1271 target
=$target_alias
1273 # FIXME: To remove some day.
1274 if test "x$host_alias" != x
; then
1275 if test "x$build_alias" = x
; then
1276 cross_compiling
=maybe
1277 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1278 If a cross compiler is detected then cross compile mode will be used." >&2
1279 elif test "x$build_alias" != "x$host_alias"; then
1285 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1287 test "$silent" = yes && exec 6>/dev
/null
1290 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1291 ac_ls_di
=`ls -di .` &&
1292 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1293 as_fn_error
"working directory cannot be determined"
1294 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1295 as_fn_error
"pwd does not report name of working directory"
1298 # Find the source files, if location was not specified.
1299 if test -z "$srcdir"; then
1300 ac_srcdir_defaulted
=yes
1301 # Try the directory containing this script, then the parent directory.
1302 ac_confdir
=`$as_dirname -- "$as_myself" ||
1303 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1304 X"$as_myself" : 'X\(//\)[^/]' \| \
1305 X"$as_myself" : 'X\(//\)$' \| \
1306 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1307 $as_echo X"$as_myself" |
1308 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1326 if test ! -r "$srcdir/$ac_unique_file"; then
1330 ac_srcdir_defaulted
=no
1332 if test ! -r "$srcdir/$ac_unique_file"; then
1333 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1334 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1336 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1338 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1340 # When building in place, set srcdir=.
1341 if test "$ac_abs_confdir" = "$ac_pwd"; then
1344 # Remove unnecessary trailing slashes from srcdir.
1345 # Double slashes in file names in object file debugging info
1346 # mess up M-x gdb in Emacs.
1348 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1350 for ac_var
in $ac_precious_vars; do
1351 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1352 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1353 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1354 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1358 # Report the --help message.
1360 if test "$ac_init_help" = "long"; then
1361 # Omit some internal or obsolete options to make the list less imposing.
1362 # This message is too long to be a string in the A/UX 3.1 sh.
1364 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1366 Usage: $0 [OPTION]... [VAR=VALUE]...
1368 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1369 VAR=VALUE. See below for descriptions of some of the useful variables.
1371 Defaults for the options are specified in brackets.
1374 -h, --help display this help and exit
1375 --help=short display options specific to this package
1376 --help=recursive display the short help of all the included packages
1377 -V, --version display version information and exit
1378 -q, --quiet, --silent do not print \`checking...' messages
1379 --cache-file=FILE cache test results in FILE [disabled]
1380 -C, --config-cache alias for \`--cache-file=config.cache'
1381 -n, --no-create do not create output files
1382 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1384 Installation directories:
1385 --prefix=PREFIX install architecture-independent files in PREFIX
1386 [$ac_default_prefix]
1387 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1390 By default, \`make install' will install all the files in
1391 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1392 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1393 for instance \`--prefix=\$HOME'.
1395 For better control, use the options below.
1397 Fine tuning of the installation directories:
1398 --bindir=DIR user executables [EPREFIX/bin]
1399 --sbindir=DIR system admin executables [EPREFIX/sbin]
1400 --libexecdir=DIR program executables [EPREFIX/libexec]
1401 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1402 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1403 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1404 --libdir=DIR object code libraries [EPREFIX/lib]
1405 --includedir=DIR C header files [PREFIX/include]
1406 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1407 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1408 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1409 --infodir=DIR info documentation [DATAROOTDIR/info]
1410 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1411 --mandir=DIR man documentation [DATAROOTDIR/man]
1412 --docdir=DIR documentation root [DATAROOTDIR/doc/libgo]
1413 --htmldir=DIR html documentation [DOCDIR]
1414 --dvidir=DIR dvi documentation [DOCDIR]
1415 --pdfdir=DIR pdf documentation [DOCDIR]
1416 --psdir=DIR ps documentation [DOCDIR]
1422 --program-prefix=PREFIX prepend PREFIX to installed program names
1423 --program-suffix=SUFFIX append SUFFIX to installed program names
1424 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1427 --build=BUILD configure
for building on BUILD
[guessed
]
1428 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1429 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1433 if test -n "$ac_init_help"; then
1434 case $ac_init_help in
1435 short | recursive
) echo "Configuration of package-unused version-unused:";;
1440 --disable-option-checking ignore unrecognized
--enable/--with options
1441 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1442 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1443 --enable-multilib build many library versions
(default
)
1444 --disable-dependency-tracking speeds up one-time build
1445 --enable-dependency-tracking do not reject slow dependency extractors
1446 --enable-maintainer-mode enable make rules and dependencies not useful
1447 (and sometimes confusing
) to the casual installer
1448 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1449 --enable-static[=PKGS
] build static libraries
[default
=yes]
1450 --enable-fast-install[=PKGS
]
1451 optimize
for fast installation
[default
=yes]
1452 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1453 --enable-werror turns on
-Werror [default
=yes]
1454 --enable-version-specific-runtime-libs
1455 Specify that runtime libraries should be installed
1456 in a compiler-specific directory
1457 --enable-sjlj-exceptions
1458 force use of builtin_setjmp
for exceptions
1461 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1462 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1463 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1464 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1466 --without-libffi don
't use libffi
1467 --with-system-libunwind use installed libunwind
1469 Some influential environment variables:
1470 CC C compiler command
1471 CFLAGS C compiler flags
1472 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1473 nonstandard directory <lib dir>
1474 LIBS libraries to pass to the linker, e.g. -l<library>
1475 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1476 you have headers in a nonstandard directory <include dir>
1477 GOC Go compiler command
1478 GOCFLAGS Go compiler flags
1481 Use these variables to override the choices made by `configure' or to
help
1482 it to
find libraries and programs with nonstandard names
/locations.
1484 Report bugs to the package provider.
1489 if test "$ac_init_help" = "recursive"; then
1490 # If there are subdirs, report their specific --help.
1491 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1492 test -d "$ac_dir" ||
1493 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1498 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1500 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1501 # A ".." for each directory in $ac_dir_suffix.
1502 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1503 case $ac_top_builddir_sub in
1504 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1505 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1508 ac_abs_top_builddir
=$ac_pwd
1509 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1510 # for backward compatibility:
1511 ac_top_builddir
=$ac_top_build_prefix
1514 .
) # We are building in place.
1516 ac_top_srcdir
=$ac_top_builddir_sub
1517 ac_abs_top_srcdir
=$ac_pwd ;;
1518 [\\/]* | ?
:[\\/]* ) # Absolute name.
1519 ac_srcdir
=$srcdir$ac_dir_suffix;
1520 ac_top_srcdir
=$srcdir
1521 ac_abs_top_srcdir
=$srcdir ;;
1523 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1524 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1525 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1527 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1529 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1530 # Check for guested configure.
1531 if test -f "$ac_srcdir/configure.gnu"; then
1533 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1534 elif test -f "$ac_srcdir/configure"; then
1536 $SHELL "$ac_srcdir/configure" --help=recursive
1538 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1540 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1544 test -n "$ac_init_help" && exit $ac_status
1545 if $ac_init_version; then
1547 package-unused configure version-unused
1548 generated by GNU Autoconf
2.64
1550 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1551 This configure
script is free software
; the Free Software Foundation
1552 gives unlimited permission to copy
, distribute and modify it.
1557 ## ------------------------ ##
1558 ## Autoconf initialization. ##
1559 ## ------------------------ ##
1561 # ac_fn_c_try_compile LINENO
1562 # --------------------------
1563 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1564 ac_fn_c_try_compile
()
1566 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1567 rm -f conftest.
$ac_objext
1568 if { { ac_try
="$ac_compile"
1570 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1571 *) ac_try_echo=$ac_try;;
1573 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1574 $as_echo "$ac_try_echo"; } >&5
1575 (eval "$ac_compile") 2>conftest.err
1577 if test -s conftest.err; then
1578 grep -v '^ *+' conftest.err >conftest.er1
1579 cat conftest.er1 >&5
1580 mv -f conftest.er1 conftest.err
1582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1583 test $ac_status = 0; } && {
1584 test -z "$ac_c_werror_flag" ||
1585 test ! -s conftest.err
1586 } && test -s conftest.$ac_objext; then :
1589 $as_echo "$as_me: failed program was:" >&5
1590 sed 's/^/| /' conftest.$ac_ext >&5
1594 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1597 } # ac_fn_c_try_compile
1599 # ac_fn_c_try_link LINENO
1600 # -----------------------
1601 # Try to link conftest.$ac_ext, and return whether this succeeded.
1604 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1605 rm -f conftest.$ac_objext conftest$ac_exeext
1606 if { { ac_try="$ac_link"
1608 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1609 *) ac_try_echo
=$ac_try;;
1611 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1612 $as_echo "$ac_try_echo"; } >&5
1613 (eval "$ac_link") 2>conftest.err
1615 if test -s conftest.err
; then
1616 grep -v '^ *+' conftest.err
>conftest.er1
1617 cat conftest.er1
>&5
1618 mv -f conftest.er1 conftest.err
1620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1621 test $ac_status = 0; } && {
1622 test -z "$ac_c_werror_flag" ||
1623 test ! -s conftest.err
1624 } && test -s conftest
$ac_exeext && {
1625 test "$cross_compiling" = yes ||
1626 $as_test_x conftest
$ac_exeext
1630 $as_echo "$as_me: failed program was:" >&5
1631 sed 's/^/| /' conftest.
$ac_ext >&5
1635 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1636 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1637 # interfere with the next link command; also delete a directory that is
1638 # left behind by Apple's compiler. We do this before executing the actions.
1639 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1640 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1643 } # ac_fn_c_try_link
1645 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1646 # -------------------------------------------------------
1647 # Tests whether HEADER exists and can be compiled using the include files in
1648 # INCLUDES, setting the cache variable VAR accordingly.
1649 ac_fn_c_check_header_compile
()
1651 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1653 $as_echo_n "checking for $2... " >&6; }
1654 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1655 $as_echo_n "(cached) " >&6
1657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1658 /* end confdefs.h. */
1662 if ac_fn_c_try_compile
"$LINENO"; then :
1667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1671 $as_echo "$ac_res" >&6; }
1672 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1674 } # ac_fn_c_check_header_compile
1676 # ac_fn_c_try_cpp LINENO
1677 # ----------------------
1678 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1681 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1682 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1684 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1685 *) ac_try_echo=$ac_try;;
1687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1688 $as_echo "$ac_try_echo"; } >&5
1689 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1691 if test -s conftest.err; then
1692 grep -v '^ *+' conftest.err >conftest.er1
1693 cat conftest.er1 >&5
1694 mv -f conftest.er1 conftest.err
1696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1697 test $ac_status = 0; } >/dev/null && {
1698 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1699 test ! -s conftest.err
1703 $as_echo "$as_me: failed program was:" >&5
1704 sed 's/^/| /' conftest.$ac_ext >&5
1708 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1713 # ac_fn_c_try_run LINENO
1714 # ----------------------
1715 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1716 # that executables *can* be run.
1719 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1720 if { { ac_try="$ac_link"
1722 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1723 *) ac_try_echo
=$ac_try;;
1725 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1726 $as_echo "$ac_try_echo"; } >&5
1727 (eval "$ac_link") 2>&5
1729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1730 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1731 { { case "(($ac_try" in
1732 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1733 *) ac_try_echo=$ac_try;;
1735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1736 $as_echo "$ac_try_echo"; } >&5
1737 (eval "$ac_try") 2>&5
1739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1740 test $ac_status = 0; }; }; then :
1743 $as_echo "$as_me: program exited with status $ac_status" >&5
1744 $as_echo "$as_me: failed program was:" >&5
1745 sed 's/^/| /' conftest.$ac_ext >&5
1747 ac_retval=$ac_status
1749 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1750 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1755 # ac_fn_c_check_func LINENO FUNC VAR
1756 # ----------------------------------
1757 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1758 ac_fn_c_check_func ()
1760 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1762 $as_echo_n "checking for $2... " >&6; }
1763 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1764 $as_echo_n "(cached) " >&6
1766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1767 /* end confdefs.h. */
1768 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1769 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1770 #define $2 innocuous_$2
1772 /* System header to define __stub macros and hopefully few prototypes,
1773 which can conflict with char $2 (); below.
1774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1775 <limits.h> exists even on freestanding compilers. */
1778 # include <limits.h>
1780 # include <assert.h>
1785 /* Override any GCC internal prototype to avoid an error.
1786 Use char because int might match the return type of a GCC
1787 builtin and then its argument prototype would still apply. */
1792 /* The GNU C library defines this for functions which it implements
1793 to always fail with ENOSYS. Some functions are actually named
1794 something starting with __ and the normal name is an alias. */
1795 #if defined __stub_$2 || defined __stub___$2
1807 if ac_fn_c_try_link "$LINENO"; then :
1812 rm -f core conftest.err conftest.$ac_objext \
1813 conftest$ac_exeext conftest.$ac_ext
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1817 $as_echo "$ac_res" >&6; }
1818 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1820 } # ac_fn_c_check_func
1822 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1823 # -------------------------------------------------------
1824 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1825 # the include files in INCLUDES and setting the cache variable VAR
1827 ac_fn_c_check_header_mongrel ()
1829 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1830 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1832 $as_echo_n "checking for $2... " >&6; }
1833 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1834 $as_echo_n "(cached) " >&6
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1838 $as_echo "$ac_res" >&6; }
1840 # Is the header compilable?
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1842 $as_echo_n "checking $2 usability... " >&6; }
1843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1844 /* end confdefs.h. */
1848 if ac_fn_c_try_compile "$LINENO"; then :
1849 ac_header_compiler=yes
1851 ac_header_compiler=no
1853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1855 $as_echo "$ac_header_compiler" >&6; }
1857 # Is the header present?
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1859 $as_echo_n "checking $2 presence... " >&6; }
1860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1861 /* end confdefs.h. */
1864 if ac_fn_c_try_cpp "$LINENO"; then :
1865 ac_header_preproc=yes
1867 ac_header_preproc=no
1869 rm -f conftest.err conftest.$ac_ext
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1871 $as_echo "$ac_header_preproc" >&6; }
1873 # So? What about this header?
1874 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1877 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1879 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1883 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1885 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1887 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1889 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1891 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1895 $as_echo_n "checking for $2... " >&6; }
1896 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1897 $as_echo_n "(cached) " >&6
1899 eval "$3=\$ac_header_compiler"
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1903 $as_echo "$ac_res" >&6; }
1905 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1907 } # ac_fn_c_check_header_mongrel
1909 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1910 # -------------------------------------------
1911 # Tests whether TYPE exists after having included INCLUDES, setting cache
1912 # variable VAR accordingly.
1913 ac_fn_c_check_type ()
1915 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1917 $as_echo_n "checking for $2... " >&6; }
1918 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1919 $as_echo_n "(cached) " >&6
1922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1923 /* end confdefs.h. */
1934 if ac_fn_c_try_compile "$LINENO"; then :
1935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1936 /* end confdefs.h. */
1947 if ac_fn_c_try_compile "$LINENO"; then :
1952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1958 $as_echo "$ac_res" >&6; }
1959 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1961 } # ac_fn_c_check_type
1963 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1964 # --------------------------------------------
1965 # Tries to find the compile-time value of EXPR in a program that includes
1966 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1968 ac_fn_c_compute_int ()
1970 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1971 if test "$cross_compiling" = yes; then
1972 # Depending upon the size, compute the lo and hi bounds.
1973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1974 /* end confdefs.h. */
1979 static int test_array [1 - 2 * !(($2) >= 0)];
1986 if ac_fn_c_try_compile "$LINENO"; then :
1989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1990 /* end confdefs.h. */
1995 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2002 if ac_fn_c_try_compile "$LINENO"; then :
2003 ac_hi=$ac_mid; break
2005 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2006 if test $ac_lo -le $ac_mid; then
2010 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2016 /* end confdefs.h. */
2021 static int test_array [1 - 2 * !(($2) < 0)];
2028 if ac_fn_c_try_compile "$LINENO"; then :
2031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2032 /* end confdefs.h. */
2037 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2044 if ac_fn_c_try_compile "$LINENO"; then :
2045 ac_lo=$ac_mid; break
2047 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2048 if test $ac_mid -le $ac_hi; then
2052 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2062 # Binary search between lo and hi bounds.
2063 while test "x$ac_lo" != "x$ac_hi"; do
2064 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2066 /* end confdefs.h. */
2071 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2078 if ac_fn_c_try_compile "$LINENO"; then :
2081 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2086 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2091 /* end confdefs.h. */
2093 static long int longval () { return $2; }
2094 static unsigned long int ulongval () { return $2; }
2101 FILE *f = fopen ("conftest.val", "w");
2106 long int i = longval ();
2109 fprintf (f, "%ld", i);
2113 unsigned long int i = ulongval ();
2116 fprintf (f, "%lu", i);
2118 /* Do not output a trailing newline, as this causes \r\n confusion
2119 on some platforms. */
2120 return ferror (f) || fclose (f) != 0;
2126 if ac_fn_c_try_run "$LINENO"; then :
2127 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2131 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2132 conftest.$ac_objext conftest.beam conftest.$ac_ext
2136 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2139 } # ac_fn_c_compute_int
2140 cat >config.log <<_ACEOF
2141 This file contains any messages produced by compilers while
2142 running configure, to aid debugging if configure makes a mistake.
2144 It was created by package-unused $as_me version-unused, which was
2145 generated by GNU Autoconf 2.64. Invocation command line was
2157 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2158 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2159 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2160 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2161 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2163 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2164 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2166 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2167 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2168 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2169 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2170 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2171 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2172 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2180 test -z "$as_dir" && as_dir=.
2181 $as_echo "PATH: $as_dir"
2197 # Keep a trace of the command line.
2198 # Strip out --no-create and --no-recursion so they do not pile up.
2199 # Strip out --silent because we don't want to record it for future runs.
2200 # Also quote any args containing shell meta-characters.
2201 # Make two passes to allow for proper duplicate-argument suppression.
2205 ac_must_keep_next=false
2211 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2212 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2213 | -silent | --silent | --silen | --sile | --sil)
2216 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2219 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2221 as_fn_append ac_configure_args1 " '$ac_arg'"
2222 if test $ac_must_keep_next = true; then
2223 ac_must_keep_next=false # Got value, back to normal.
2226 *=* | --config-cache | -C | -disable-* | --disable-* \
2227 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2228 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2229 | -with-* | --with-* | -without-* | --without-* | --x)
2230 case "$ac_configure_args0 " in
2231 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2234 -* ) ac_must_keep_next=true ;;
2237 as_fn_append ac_configure_args " '$ac_arg'"
2242 { ac_configure_args0=; unset ac_configure_args0;}
2243 { ac_configure_args1=; unset ac_configure_args1;}
2245 # When interrupted or exit'd, cleanup temporary files, and complete
2246 # config.log. We remove comments because anyway the quotes in there
2247 # would cause problems or look ugly.
2248 # WARNING: Use '\'' to represent an apostrophe within the trap.
2249 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2250 trap 'exit_status=$?
2251 # Save into config.log some information that might help in debugging.
2256 ## ---------------- ##
2257 ## Cache variables. ##
2258 ## ---------------- ##
2261 # The following way of writing the cache mishandles newlines in values,
2263 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2264 eval ac_val=\$$ac_var
2268 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2269 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2272 _ | IFS | as_nl) ;; #(
2273 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2274 *) { eval $ac_var=; unset $ac_var;} ;;
2279 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2280 *${as_nl}ac_space=\ *)
2282 "s/'\''/'\''\\\\'\'''\''/g;
2283 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2286 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2294 ## ----------------- ##
2295 ## Output variables. ##
2296 ## ----------------- ##
2299 for ac_var in $ac_subst_vars
2301 eval ac_val=\$$ac_var
2303 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2305 $as_echo "$ac_var='\''$ac_val'\''"
2309 if test -n "$ac_subst_files"; then
2311 ## ------------------- ##
2312 ## File substitutions. ##
2313 ## ------------------- ##
2316 for ac_var in $ac_subst_files
2318 eval ac_val=\$$ac_var
2320 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2322 $as_echo "$ac_var='\''$ac_val'\''"
2327 if test -s confdefs.h; then
2337 test "$ac_signal" != 0 &&
2338 $as_echo "$as_me: caught signal $ac_signal"
2339 $as_echo "$as_me: exit $exit_status"
2341 rm -f core *.core core.conftest.* &&
2342 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2345 for ac_signal in 1 2 13 15; do
2346 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2350 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2351 rm -f -r conftest* confdefs.h
2353 $as_echo "/* confdefs.h */" > confdefs.h
2355 # Predefined preprocessor variables.
2357 cat >>confdefs.h <<_ACEOF
2358 #define PACKAGE_NAME "$PACKAGE_NAME"
2361 cat >>confdefs.h <<_ACEOF
2362 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2365 cat >>confdefs.h <<_ACEOF
2366 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2369 cat >>confdefs.h <<_ACEOF
2370 #define PACKAGE_STRING "$PACKAGE_STRING"
2373 cat >>confdefs.h <<_ACEOF
2374 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2377 cat >>confdefs.h <<_ACEOF
2378 #define PACKAGE_URL "$PACKAGE_URL"
2382 # Let the site file select an alternate cache file if it wants to.
2383 # Prefer an explicitly selected file to automatically selected ones.
2386 if test -n "$CONFIG_SITE"; then
2387 ac_site_file1=$CONFIG_SITE
2388 elif test "x$prefix" != xNONE; then
2389 ac_site_file1=$prefix/share/config.site
2390 ac_site_file2=$prefix/etc/config.site
2392 ac_site_file1=$ac_default_prefix/share/config.site
2393 ac_site_file2=$ac_default_prefix/etc/config.site
2395 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2397 test "x$ac_site_file" = xNONE && continue
2398 if test -r "$ac_site_file"; then
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2400 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2401 sed 's/^/| /' "$ac_site_file" >&5
2406 if test -r "$cache_file"; then
2407 # Some versions of bash will fail to source /dev/null (special
2408 # files actually), so we avoid doing that.
2409 if test -f "$cache_file"; then
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2411 $as_echo "$as_me: loading cache $cache_file" >&6;}
2413 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2414 *) . "./$cache_file";;
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2419 $as_echo "$as_me: creating cache $cache_file" >&6;}
2423 # Check that the precious variables saved in the cache have kept the same
2425 ac_cache_corrupted=false
2426 for ac_var in $ac_precious_vars; do
2427 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2428 eval ac_new_set=\$ac_env_${ac_var}_set
2429 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2430 eval ac_new_val=\$ac_env_${ac_var}_value
2431 case $ac_old_set,$ac_new_set in
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2434 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2435 ac_cache_corrupted=: ;;
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2438 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2439 ac_cache_corrupted=: ;;
2442 if test "x$ac_old_val" != "x$ac_new_val"; then
2443 # differences in whitespace do not lead to failure.
2444 ac_old_val_w=`echo x
$ac_old_val`
2445 ac_new_val_w=`echo x
$ac_new_val`
2446 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2448 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2449 ac_cache_corrupted=:
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2452 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2453 eval $ac_var=\$ac_old_val
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2456 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2458 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2461 # Pass precious variables to config.status.
2462 if test "$ac_new_set" = set; then
2464 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2465 *) ac_arg=$ac_var=$ac_new_val ;;
2467 case " $ac_configure_args " in
2468 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2469 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2473 if $ac_cache_corrupted; then
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2475 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2477 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2478 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2480 ## -------------------- ##
2481 ## Main body of script. ##
2482 ## -------------------- ##
2485 ac_cpp='$CPP $CPPFLAGS'
2486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2495 ac_config_headers="$ac_config_headers config.h"
2498 libtool_VERSION=3:1:0
2501 # Default to --enable-multilib
2502 # Check whether --enable-multilib was given.
2503 if test "${enable_multilib+set}" = set; then :
2504 enableval=$enable_multilib; case "$enableval" in
2505 yes) multilib=yes ;;
2507 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2514 # We may get other options which we leave undocumented:
2515 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2516 # See config-ml.in if you want the gory details.
2518 if test "$srcdir" = "."; then
2519 if test "$with_target_subdir" != "."; then
2520 multi_basedir="$srcdir/$with_multisrctop../.."
2522 multi_basedir="$srcdir/$with_multisrctop.."
2525 multi_basedir="$srcdir/.."
2529 # Even if the default multilib is not a cross compilation,
2530 # it may be that some of the other multilibs are.
2531 if test $cross_compiling = no && test $multilib = yes \
2532 && test "x${with_multisubdir}" != x ; then
2533 cross_compiling=maybe
2536 ac_config_commands="$ac_config_commands default-1"
2540 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2541 for ac_t in install-sh install.sh shtool; do
2542 if test -f "$ac_dir/$ac_t"; then
2544 ac_install_sh="$ac_aux_dir/$ac_t -c"
2549 if test -z "$ac_aux_dir"; then
2550 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2553 # These three variables are undocumented and unsupported,
2554 # and are intended to be withdrawn in a future Autoconf release.
2555 # They can cause serious problems if a builder's source tree is in a directory
2556 # whose full name contains unusual characters.
2557 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2558 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2559 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2562 # Make sure we can run config.sub.
2563 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2564 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2567 $as_echo_n "checking build system type... " >&6; }
2568 if test "${ac_cv_build+set}" = set; then :
2569 $as_echo_n "(cached) " >&6
2571 ac_build_alias=$build_alias
2572 test "x$ac_build_alias" = x &&
2573 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2574 test "x$ac_build_alias" = x &&
2575 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2576 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2577 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2581 $as_echo "$ac_cv_build" >&6; }
2582 case $ac_cv_build in
2584 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2587 ac_save_IFS=$IFS; IFS='-'
2593 # Remember, the first character of IFS is used to create $*,
2594 # except with old shells:
2597 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2601 $as_echo_n "checking host system type... " >&6; }
2602 if test "${ac_cv_host+set}" = set; then :
2603 $as_echo_n "(cached) " >&6
2605 if test "x$host_alias" = x; then
2606 ac_cv_host=$ac_cv_build
2608 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2609 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2614 $as_echo "$ac_cv_host" >&6; }
2617 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2620 ac_save_IFS=$IFS; IFS='-'
2626 # Remember, the first character of IFS is used to create $*,
2627 # except with old shells:
2630 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2634 $as_echo_n "checking target system type... " >&6; }
2635 if test "${ac_cv_target+set}" = set; then :
2636 $as_echo_n "(cached) " >&6
2638 if test "x$target_alias" = x; then
2639 ac_cv_target=$ac_cv_host
2641 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2642 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2647 $as_echo "$ac_cv_target" >&6; }
2648 case $ac_cv_target in
2650 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2652 target=$ac_cv_target
2653 ac_save_IFS=$IFS; IFS='-'
2659 # Remember, the first character of IFS is used to create $*,
2660 # except with old shells:
2663 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2666 # The aliases save the names the user supplied, while $host etc.
2667 # will get canonicalized.
2668 test -n "$target_alias" &&
2669 test "$program_prefix$program_suffix$program_transform_name" = \
2671 program_prefix=${target_alias}-
2673 target_alias=${target_alias-$host_alias}
2675 am__api_version='1.11'
2677 # Find a good install program. We prefer a C program (faster),
2678 # so one script is as good as another. But avoid the broken or
2679 # incompatible versions:
2680 # SysV /etc/install, /usr/sbin/install
2681 # SunOS /usr/etc/install
2682 # IRIX /sbin/install
2684 # AmigaOS /C/install, which installs bootblocks on floppy discs
2685 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2686 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2687 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2688 # OS/2's system install, which has a completely different semantic
2689 # ./install, which can be erroneously created by make from ./install.sh.
2690 # Reject install programs that cannot install multiple files.
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2692 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2693 if test -z "$INSTALL"; then
2694 if test "${ac_cv_path_install+set}" = set; then :
2695 $as_echo_n "(cached) " >&6
2697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2701 test -z "$as_dir" && as_dir=.
2702 # Account for people who put trailing slashes in PATH elements.
2703 case $as_dir/ in #((
2704 ./ | .// | /[cC]/* | \
2705 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2706 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2709 # OSF1 and SCO ODT 3.0 have their own names for install.
2710 # Don't use installbsd from OSF since it installs stuff as root
2712 for ac_prog in ginstall scoinst install; do
2713 for ac_exec_ext in '' $ac_executable_extensions; do
2714 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2715 if test $ac_prog = install &&
2716 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2717 # AIX install. It has an incompatible calling convention.
2719 elif test $ac_prog = install &&
2720 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2721 # program-specific install script used by HP pwplus--don't use.
2724 rm -rf conftest.one conftest.two conftest.dir
2725 echo one > conftest.one
2726 echo two > conftest.two
2728 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2729 test -s conftest.one && test -s conftest.two &&
2730 test -s conftest.dir/conftest.one &&
2731 test -s conftest.dir/conftest.two
2733 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2746 rm -rf conftest.one conftest.two conftest.dir
2749 if test "${ac_cv_path_install+set}" = set; then
2750 INSTALL=$ac_cv_path_install
2752 # As a last resort, use the slow shell script. Don't cache a
2753 # value for INSTALL within a source directory, because that will
2754 # break other packages using the cache if that directory is
2755 # removed, or if the value is a relative name.
2756 INSTALL=$ac_install_sh
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2760 $as_echo "$INSTALL" >&6; }
2762 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2763 # It thinks the first close brace ends the variable substitution.
2764 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2766 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2768 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2771 $as_echo_n "checking whether build environment is sane... " >&6; }
2774 echo timestamp > conftest.file
2775 # Reject unsafe characters in $srcdir or the absolute working directory
2776 # name. Accept space and tab only in the latter.
2780 *[\\\"\#\$\&\'\`$am_lf]*)
2781 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2784 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2785 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2788 # Do `set' in a subshell so we don't clobber the current shell's
2789 # arguments. Must try -L first in case configure is actually a
2790 # symlink; some systems play weird games with the mod time of symlinks
2791 # (eg FreeBSD returns the mod time of the symlink's containing
2794 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2795 if test "$*" = "X"; then
2797 set X
`ls -t "$srcdir/configure" conftest.file`
2800 if test "$*" != "X $srcdir/configure conftest.file" \
2801 && test "$*" != "X conftest.file $srcdir/configure"; then
2803 # If neither matched, then we have a broken ls. This can happen
2804 # if, for instance, CONFIG_SHELL is bash and it inherits a
2805 # broken ls alias from the environment. This has actually
2806 # happened. Such a system could not be considered "sane".
2807 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2808 alias in your environment" "$LINENO" 5
2811 test "$2" = conftest.
file
2817 as_fn_error
"newly created file is older than distributed files!
2818 Check your system clock" "$LINENO" 5
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2821 $as_echo "yes" >&6; }
2822 test "$program_prefix" != NONE
&&
2823 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2824 # Use a double $ so make ignores it.
2825 test "$program_suffix" != NONE
&&
2826 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2827 # Double any \ or $.
2828 # By default was `s,x,x', remove it if useless.
2829 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2830 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2832 # expand $ac_aux_dir to an absolute path
2833 am_aux_dir
=`cd $ac_aux_dir && pwd`
2835 if test x
"${MISSING+set}" != xset
; then
2838 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2840 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2843 # Use eval to expand $SHELL
2844 if eval "$MISSING --run true"; then
2845 am_missing_run
="$MISSING --run "
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2849 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2852 if test x
"${install_sh}" != xset
; then
2855 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2857 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2861 # Installed binaries are usually stripped using `strip' when the user
2862 # run `make install-strip'. However `strip' might not be the right
2863 # tool to use in cross-compilation environments, therefore Automake
2864 # will honor the `STRIP' environment variable to overrule this program.
2865 if test "$cross_compiling" != no
; then
2866 if test -n "$ac_tool_prefix"; then
2867 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2868 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2870 $as_echo_n "checking for $ac_word... " >&6; }
2871 if test "${ac_cv_prog_STRIP+set}" = set; then :
2872 $as_echo_n "(cached) " >&6
2874 if test -n "$STRIP"; then
2875 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2881 test -z "$as_dir" && as_dir
=.
2882 for ac_exec_ext
in '' $ac_executable_extensions; do
2883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2884 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2894 STRIP
=$ac_cv_prog_STRIP
2895 if test -n "$STRIP"; then
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2897 $as_echo "$STRIP" >&6; }
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2900 $as_echo "no" >&6; }
2905 if test -z "$ac_cv_prog_STRIP"; then
2907 # Extract the first word of "strip", so it can be a program name with args.
2908 set dummy strip
; ac_word
=$2
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2910 $as_echo_n "checking for $ac_word... " >&6; }
2911 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2912 $as_echo_n "(cached) " >&6
2914 if test -n "$ac_ct_STRIP"; then
2915 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2921 test -z "$as_dir" && as_dir
=.
2922 for ac_exec_ext
in '' $ac_executable_extensions; do
2923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2924 ac_cv_prog_ac_ct_STRIP
="strip"
2925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2934 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2935 if test -n "$ac_ct_STRIP"; then
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2937 $as_echo "$ac_ct_STRIP" >&6; }
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2940 $as_echo "no" >&6; }
2943 if test "x$ac_ct_STRIP" = x
; then
2946 case $cross_compiling:$ac_tool_warned in
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2949 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2950 ac_tool_warned
=yes ;;
2955 STRIP
="$ac_cv_prog_STRIP"
2959 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2962 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2963 if test -z "$MKDIR_P"; then
2964 if test "${ac_cv_path_mkdir+set}" = set; then :
2965 $as_echo_n "(cached) " >&6
2967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2968 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2971 test -z "$as_dir" && as_dir
=.
2972 for ac_prog
in mkdir gmkdir
; do
2973 for ac_exec_ext
in '' $ac_executable_extensions; do
2974 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2975 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2976 'mkdir (GNU coreutils) '* | \
2977 'mkdir (coreutils) '* | \
2978 'mkdir (fileutils) '4.1*)
2979 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2989 if test "${ac_cv_path_mkdir+set}" = set; then
2990 MKDIR_P
="$ac_cv_path_mkdir -p"
2992 # As a last resort, use the slow shell script. Don't cache a
2993 # value for MKDIR_P within a source directory, because that will
2994 # break other packages using the cache if that directory is
2995 # removed, or if the value is a relative name.
2996 test -d .
/--version && rmdir .
/--version
2997 MKDIR_P
="$ac_install_sh -d"
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3001 $as_echo "$MKDIR_P" >&6; }
3005 [\\/$
]* | ?
:[\\/]*) ;;
3006 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3009 for ac_prog
in gawk mawk nawk
awk
3011 # Extract the first word of "$ac_prog", so it can be a program name with args.
3012 set dummy
$ac_prog; ac_word
=$2
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3014 $as_echo_n "checking for $ac_word... " >&6; }
3015 if test "${ac_cv_prog_AWK+set}" = set; then :
3016 $as_echo_n "(cached) " >&6
3018 if test -n "$AWK"; then
3019 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3025 test -z "$as_dir" && as_dir
=.
3026 for ac_exec_ext
in '' $ac_executable_extensions; do
3027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3028 ac_cv_prog_AWK
="$ac_prog"
3029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3039 if test -n "$AWK"; then
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3041 $as_echo "$AWK" >&6; }
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3044 $as_echo "no" >&6; }
3048 test -n "$AWK" && break
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3052 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3054 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3055 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3056 $as_echo_n "(cached) " >&6
3058 cat >conftest.
make <<\_ACEOF
3061 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3063 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3064 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3066 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3068 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3072 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3074 $as_echo "yes" >&6; }
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3078 $as_echo "no" >&6; }
3079 SET_MAKE
="MAKE=${MAKE-make}"
3082 rm -rf .tst
2>/dev
/null
3083 mkdir .tst
2>/dev
/null
3084 if test -d .tst
; then
3089 rmdir .tst
2>/dev
/null
3091 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3092 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3093 # is not polluted with repeated "-I."
3094 am__isrc
=' -I$(srcdir)'
3095 # test to see if srcdir already configured
3096 if test -f $srcdir/config.status
; then
3097 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3101 # test whether we have cygpath
3102 if test -z "$CYGPATH_W"; then
3103 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3104 CYGPATH_W
='cygpath -w'
3111 # Define the identity of the package.
3113 VERSION
='version-unused'
3116 # Some tools Automake needs.
3118 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3121 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3124 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3127 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3130 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3132 # We need awk for the "check" target. The system "awk" is bad on
3134 # Always define AMTAR for backward compatibility.
3136 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3138 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3150 ac_cpp
='$CPP $CPPFLAGS'
3151 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3152 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3153 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3154 if test -n "$ac_tool_prefix"; then
3155 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3156 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3158 $as_echo_n "checking for $ac_word... " >&6; }
3159 if test "${ac_cv_prog_CC+set}" = set; then :
3160 $as_echo_n "(cached) " >&6
3162 if test -n "$CC"; then
3163 ac_cv_prog_CC
="$CC" # Let the user override the test.
3165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3169 test -z "$as_dir" && as_dir
=.
3170 for ac_exec_ext
in '' $ac_executable_extensions; do
3171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3172 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3183 if test -n "$CC"; then
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3185 $as_echo "$CC" >&6; }
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3188 $as_echo "no" >&6; }
3193 if test -z "$ac_cv_prog_CC"; then
3195 # Extract the first word of "gcc", so it can be a program name with args.
3196 set dummy gcc
; ac_word
=$2
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3198 $as_echo_n "checking for $ac_word... " >&6; }
3199 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3200 $as_echo_n "(cached) " >&6
3202 if test -n "$ac_ct_CC"; then
3203 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3209 test -z "$as_dir" && as_dir
=.
3210 for ac_exec_ext
in '' $ac_executable_extensions; do
3211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3212 ac_cv_prog_ac_ct_CC
="gcc"
3213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3222 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3223 if test -n "$ac_ct_CC"; then
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3225 $as_echo "$ac_ct_CC" >&6; }
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3228 $as_echo "no" >&6; }
3231 if test "x$ac_ct_CC" = x
; then
3234 case $cross_compiling:$ac_tool_warned in
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3237 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3238 ac_tool_warned
=yes ;;
3246 if test -z "$CC"; then
3247 if test -n "$ac_tool_prefix"; then
3248 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3249 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3251 $as_echo_n "checking for $ac_word... " >&6; }
3252 if test "${ac_cv_prog_CC+set}" = set; then :
3253 $as_echo_n "(cached) " >&6
3255 if test -n "$CC"; then
3256 ac_cv_prog_CC
="$CC" # Let the user override the test.
3258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3262 test -z "$as_dir" && as_dir
=.
3263 for ac_exec_ext
in '' $ac_executable_extensions; do
3264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3265 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3276 if test -n "$CC"; then
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3278 $as_echo "$CC" >&6; }
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3281 $as_echo "no" >&6; }
3287 if test -z "$CC"; then
3288 # Extract the first word of "cc", so it can be a program name with args.
3289 set dummy cc
; ac_word
=$2
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3291 $as_echo_n "checking for $ac_word... " >&6; }
3292 if test "${ac_cv_prog_CC+set}" = set; then :
3293 $as_echo_n "(cached) " >&6
3295 if test -n "$CC"; then
3296 ac_cv_prog_CC
="$CC" # Let the user override the test.
3299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3303 test -z "$as_dir" && as_dir
=.
3304 for ac_exec_ext
in '' $ac_executable_extensions; do
3305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3306 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3307 ac_prog_rejected
=yes
3311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3318 if test $ac_prog_rejected = yes; then
3319 # We found a bogon in the path, so make sure we never use it.
3320 set dummy
$ac_cv_prog_CC
3322 if test $# != 0; then
3323 # We chose a different compiler from the bogus one.
3324 # However, it has the same basename, so the bogon will be chosen
3325 # first if we set CC to just the basename; use the full file name.
3327 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3333 if test -n "$CC"; then
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3335 $as_echo "$CC" >&6; }
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3338 $as_echo "no" >&6; }
3343 if test -z "$CC"; then
3344 if test -n "$ac_tool_prefix"; then
3345 for ac_prog
in cl.exe
3347 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3348 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3350 $as_echo_n "checking for $ac_word... " >&6; }
3351 if test "${ac_cv_prog_CC+set}" = set; then :
3352 $as_echo_n "(cached) " >&6
3354 if test -n "$CC"; then
3355 ac_cv_prog_CC
="$CC" # Let the user override the test.
3357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3361 test -z "$as_dir" && as_dir
=.
3362 for ac_exec_ext
in '' $ac_executable_extensions; do
3363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3364 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3375 if test -n "$CC"; then
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3377 $as_echo "$CC" >&6; }
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3380 $as_echo "no" >&6; }
3384 test -n "$CC" && break
3387 if test -z "$CC"; then
3389 for ac_prog
in cl.exe
3391 # Extract the first word of "$ac_prog", so it can be a program name with args.
3392 set dummy
$ac_prog; ac_word
=$2
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3394 $as_echo_n "checking for $ac_word... " >&6; }
3395 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3396 $as_echo_n "(cached) " >&6
3398 if test -n "$ac_ct_CC"; then
3399 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3405 test -z "$as_dir" && as_dir
=.
3406 for ac_exec_ext
in '' $ac_executable_extensions; do
3407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3408 ac_cv_prog_ac_ct_CC
="$ac_prog"
3409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3418 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3419 if test -n "$ac_ct_CC"; then
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3421 $as_echo "$ac_ct_CC" >&6; }
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3424 $as_echo "no" >&6; }
3428 test -n "$ac_ct_CC" && break
3431 if test "x$ac_ct_CC" = x
; then
3434 case $cross_compiling:$ac_tool_warned in
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3438 ac_tool_warned
=yes ;;
3447 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3448 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3449 as_fn_error
"no acceptable C compiler found in \$PATH
3450 See \`config.log' for more details." "$LINENO" 5; }
3452 # Provide some information about the compiler.
3453 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3456 for ac_option
in --version -v -V -qversion; do
3457 { { ac_try
="$ac_compiler $ac_option >&5"
3459 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3460 *) ac_try_echo=$ac_try;;
3462 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3463 $as_echo "$ac_try_echo"; } >&5
3464 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3466 if test -s conftest.err; then
3468 ... rest of stderr output deleted ...
3469 10q' conftest.err >conftest.er1
3470 cat conftest.er1 >&5
3471 rm -f conftest.er1 conftest.err
3473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3474 test $ac_status = 0; }
3477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3478 /* end confdefs.h. */
3488 ac_clean_files_save=$ac_clean_files
3489 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3490 # Try to create an executable without -o first, disregard a.out.
3491 # It will help us diagnose broken compilers, and finding out an intuition
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3494 $as_echo_n "checking for C compiler default output file name... " >&6; }
3495 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3497 # The possible output files:
3498 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3501 for ac_file in $ac_files
3504 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3505 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3510 if { { ac_try="$ac_link_default"
3512 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3513 *) ac_try_echo
=$ac_try;;
3515 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3516 $as_echo "$ac_try_echo"; } >&5
3517 (eval "$ac_link_default") 2>&5
3519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3520 test $ac_status = 0; }; then :
3521 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3522 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3523 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3524 # so that the user can short-circuit this test for compilers unknown to
3526 for ac_file
in $ac_files ''
3528 test -f "$ac_file" ||
continue
3530 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3533 # We found the default executable, but exeext='' is most
3537 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3539 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3541 # We set ac_cv_exeext here because the later test for it is not
3542 # safe: cross compilers may not add the suffix if given an `-o'
3543 # argument, so we may need to know it at that point already.
3544 # Even if this section looks crufty: it has the advantage of
3551 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3557 $as_echo "$ac_file" >&6; }
3558 if test -z "$ac_file"; then :
3559 $as_echo "$as_me: failed program was:" >&5
3560 sed 's/^/| /' conftest.
$ac_ext >&5
3562 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3563 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3564 { as_fn_set_status
77
3565 as_fn_error
"C compiler cannot create executables
3566 See \`config.log' for more details." "$LINENO" 5; }; }
3568 ac_exeext
=$ac_cv_exeext
3570 # Check that the compiler produces executables we can run. If not, either
3571 # the compiler is broken, or we cross compile.
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3573 $as_echo_n "checking whether the C compiler works... " >&6; }
3574 # If not cross compiling, check that we can run a simple program.
3575 if test "$cross_compiling" != yes; then
3576 if { ac_try
='./$ac_file'
3577 { { case "(($ac_try" in
3578 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3579 *) ac_try_echo=$ac_try;;
3581 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3582 $as_echo "$ac_try_echo"; } >&5
3583 (eval "$ac_try") 2>&5
3585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3586 test $ac_status = 0; }; }; then
3589 if test "$cross_compiling" = maybe; then
3592 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3593 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3594 as_fn_error "cannot run C compiled programs.
3595 If you meant to cross compile
, use \
`--host'.
3596 See \`config.log
' for more details." "$LINENO" 5; }
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3601 $as_echo "yes" >&6; }
3603 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3604 ac_clean_files=$ac_clean_files_save
3605 # Check that the compiler produces executables we can run. If not, either
3606 # the compiler is broken, or we cross compile.
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3608 $as_echo_n "checking whether we are cross compiling... " >&6; }
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3610 $as_echo "$cross_compiling" >&6; }
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3613 $as_echo_n "checking for suffix of executables... " >&6; }
3614 if { { ac_try="$ac_link"
3616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3617 *) ac_try_echo=$ac_try;;
3619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3620 $as_echo "$ac_try_echo"; } >&5
3621 (eval "$ac_link") 2>&5
3623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3624 test $ac_status = 0; }; then :
3625 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3626 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3627 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3629 for ac_file
in conftest.exe conftest conftest.
*; do
3630 test -f "$ac_file" ||
continue
3632 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3633 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3639 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3640 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3641 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3642 See \`config.log' for more details." "$LINENO" 5; }
3644 rm -f conftest
$ac_cv_exeext
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3646 $as_echo "$ac_cv_exeext" >&6; }
3648 rm -f conftest.
$ac_ext
3649 EXEEXT
=$ac_cv_exeext
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3652 $as_echo_n "checking for suffix of object files... " >&6; }
3653 if test "${ac_cv_objext+set}" = set; then :
3654 $as_echo_n "(cached) " >&6
3656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3657 /* end confdefs.h. */
3667 rm -f conftest.o conftest.obj
3668 if { { ac_try
="$ac_compile"
3670 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3671 *) ac_try_echo=$ac_try;;
3673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3674 $as_echo "$ac_try_echo"; } >&5
3675 (eval "$ac_compile") 2>&5
3677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3678 test $ac_status = 0; }; then :
3679 for ac_file in conftest.o conftest.obj conftest.*; do
3680 test -f "$ac_file" || continue;
3682 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3683 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3688 $as_echo "$as_me: failed program was:" >&5
3689 sed 's/^/| /' conftest.$ac_ext >&5
3691 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3692 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3693 as_fn_error "cannot compute suffix of object files
: cannot compile
3694 See \
`config.log' for more details." "$LINENO" 5; }
3696 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3699 $as_echo "$ac_cv_objext" >&6; }
3700 OBJEXT=$ac_cv_objext
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3703 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3704 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3705 $as_echo_n "(cached) " >&6
3707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3708 /* end confdefs.h. */
3721 if ac_fn_c_try_compile "$LINENO"; then :
3726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3727 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3731 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3732 if test $ac_compiler_gnu = yes; then
3737 ac_test_CFLAGS=${CFLAGS+set}
3738 ac_save_CFLAGS=$CFLAGS
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3740 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3741 if test "${ac_cv_prog_cc_g+set}" = set; then :
3742 $as_echo_n "(cached) " >&6
3744 ac_save_c_werror_flag=$ac_c_werror_flag
3745 ac_c_werror_flag=yes
3748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3749 /* end confdefs.h. */
3759 if ac_fn_c_try_compile "$LINENO"; then :
3763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3764 /* end confdefs.h. */
3774 if ac_fn_c_try_compile "$LINENO"; then :
3777 ac_c_werror_flag=$ac_save_c_werror_flag
3779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3780 /* end confdefs.h. */
3790 if ac_fn_c_try_compile "$LINENO"; then :
3793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3798 ac_c_werror_flag=$ac_save_c_werror_flag
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3801 $as_echo "$ac_cv_prog_cc_g" >&6; }
3802 if test "$ac_test_CFLAGS" = set; then
3803 CFLAGS=$ac_save_CFLAGS
3804 elif test $ac_cv_prog_cc_g = yes; then
3805 if test "$GCC" = yes; then
3811 if test "$GCC" = yes; then
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3818 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3819 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3820 $as_echo_n "(cached) " >&6
3822 ac_cv_prog_cc_c89=no
3824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3825 /* end confdefs.h. */
3828 #include <sys/types.h>
3829 #include <sys/stat.h>
3830 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3831 struct buf { int x; };
3832 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3833 static char *e (p, i)
3839 static char *f (char * (*g) (char **, int), char **p, ...)
3844 s = g (p, va_arg (v,int));
3849 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3850 function prototypes and stuff, but not '\xHH' hex character constants.
3851 These don't provoke an error unfortunately, instead are silently treated
3852 as 'x'. The following induces an error, until -std is added to get
3853 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3854 array size at least. It's necessary to write '\x00'==0 to get something
3855 that's true only with -std. */
3856 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3858 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3859 inside strings and character constants. */
3861 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3863 int test (int i, double x);
3864 struct s1 {int (*f) (int a);};
3865 struct s2 {int (*f) (double a);};
3866 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3872 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3877 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3878 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3880 CC="$ac_save_CC $ac_arg"
3881 if ac_fn_c_try_compile "$LINENO"; then :
3882 ac_cv_prog_cc_c89=$ac_arg
3884 rm -f core conftest.err conftest.$ac_objext
3885 test "x$ac_cv_prog_cc_c89" != "xno" && break
3887 rm -f conftest.$ac_ext
3892 case "x$ac_cv_prog_cc_c89" in
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3895 $as_echo "none needed" >&6; } ;;
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3898 $as_echo "unsupported" >&6; } ;;
3900 CC="$CC $ac_cv_prog_cc_c89"
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3902 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3904 if test "x$ac_cv_prog_cc_c89" != xno; then :
3909 ac_cpp='$CPP $CPPFLAGS'
3910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3913 DEPDIR="${am__leading_dot}deps"
3915 ac_config_commands="$ac_config_commands depfiles"
3918 am_make=${MAKE-make}
3919 cat > confinc << 'END'
3921 @echo this is the am__doit target
3924 # If we don't find an include directive, just comment out the code.
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3926 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3930 # First try GNU make style include.
3931 echo "include confinc" > confmf
3932 # Ignore all kinds of additional output from `make'.
3933 case `$am_make -s -f confmf 2> /dev/null` in #(
3934 *the\ am__doit\ target*)
3940 # Now try BSD make style include.
3941 if test "$am__include" = "#"; then
3942 echo '.include
"confinc"' > confmf
3943 case `$am_make -s -f confmf 2> /dev/null` in #(
3944 *the\ am__doit\ target*)
3945 am__include=.include
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3954 $as_echo "$_am_result" >&6; }
3955 rm -f confinc confmf
3957 # Check whether --enable-dependency-tracking was given.
3958 if test "${enable_dependency_tracking+set}" = set; then :
3959 enableval=$enable_dependency_tracking;
3962 if test "x$enable_dependency_tracking" != xno; then
3963 am_depcomp="$ac_aux_dir/depcomp"
3966 if test "x$enable_dependency_tracking" != xno
; then
3976 depcc
="$CC" am_compiler_list
=
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3979 $as_echo_n "checking dependency style of $depcc... " >&6; }
3980 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3981 $as_echo_n "(cached) " >&6
3983 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3984 # We make a subdir and do the tests there. Otherwise we can end up
3985 # making bogus files that we don't know about and never remove. For
3986 # instance it was reported that on HP-UX the gcc test will end up
3987 # making a dummy file named `D' -- because `-MD' means `put the output
3990 # Copy depcomp to subdir because otherwise we won't find it if we're
3991 # using a relative directory.
3992 cp "$am_depcomp" conftest.dir
3994 # We will build objects and dependencies in a subdirectory because
3995 # it helps to detect inapplicable dependency modes. For instance
3996 # both Tru64's cc and ICC support -MD to output dependencies as a
3997 # side effect of compilation, but ICC will put the dependencies in
3998 # the current directory while Tru64 will put them in the object
4002 am_cv_CC_dependencies_compiler_type
=none
4003 if test "$am_compiler_list" = ""; then
4004 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4007 case " $depcc " in #(
4008 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4011 for depmode
in $am_compiler_list; do
4012 # Setup a source with many dependencies, because some compilers
4013 # like to wrap large dependency lists on column 80 (with \), and
4014 # we should not choose a depcomp mode which is confused by this.
4016 # We need to recreate these files for each test, as the compiler may
4017 # overwrite some of them when testing with obscure command lines.
4018 # This happens at least with the AIX C compiler.
4020 for i
in 1 2 3 4 5 6; do
4021 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4022 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4023 # Solaris 8's {/usr,}/bin/sh.
4024 touch sub
/conftst
$i.h
4026 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4028 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4029 # mode. It turns out that the SunPro C++ compiler does not properly
4030 # handle `-M -o', and we need to detect this. Also, some Intel
4031 # versions had trouble with output in subdirs
4032 am__obj
=sub
/conftest.
${OBJEXT-o}
4033 am__minus_obj
="-o $am__obj"
4036 # This depmode causes a compiler race in universal mode.
4037 test "$am__universal" = false ||
continue
4040 # after this tag, mechanisms are not by side-effect, so they'll
4041 # only be used when explicitly requested
4042 if test "x$enable_dependency_tracking" = xyes
; then
4048 msvisualcpp | msvcmsys
)
4049 # This compiler won't grok `-c -o', but also, the minuso test has
4050 # not run yet. These depmodes are late enough in the game, and
4051 # so weak that their functioning should not be impacted.
4052 am__obj
=conftest.
${OBJEXT-o}
4057 if depmode
=$depmode \
4058 source=sub
/conftest.c object
=$am__obj \
4059 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4060 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4061 >/dev
/null
2>conftest.err
&&
4062 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4063 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4064 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4065 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4066 # icc doesn't choke on unknown options, it will just issue warnings
4067 # or remarks (even with -Werror). So we grep stderr for any message
4068 # that says an option was ignored or not supported.
4069 # When given -MP, icc 7.0 and 7.1 complain thusly:
4070 # icc: Command line warning: ignoring option '-M'; no argument required
4071 # The diagnosis changed in icc 8.0:
4072 # icc: Command line remark: option '-MP' not supported
4073 if (grep 'ignoring option' conftest.err ||
4074 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4075 am_cv_CC_dependencies_compiler_type
=$depmode
4084 am_cv_CC_dependencies_compiler_type
=none
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4089 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4090 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4093 test "x$enable_dependency_tracking" != xno \
4094 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4096 am__fastdepCC_FALSE
='#'
4098 am__fastdepCC_TRUE
='#'
4099 am__fastdepCC_FALSE
=
4104 ac_compile
='$GOC -c $GOCFLAGS conftest.$ac_ext >&5'
4105 ac_link
='$GOC -o conftest$ac_exeext $GOCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4107 if test -n "$ac_tool_prefix"; then
4108 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
4109 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4111 $as_echo_n "checking for $ac_word... " >&6; }
4112 if test "${ac_cv_prog_GOC+set}" = set; then :
4113 $as_echo_n "(cached) " >&6
4115 if test -n "$GOC"; then
4116 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
4118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4122 test -z "$as_dir" && as_dir
=.
4123 for ac_exec_ext
in '' $ac_executable_extensions; do
4124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4125 ac_cv_prog_GOC
="${ac_tool_prefix}gccgo"
4126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4136 if test -n "$GOC"; then
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4138 $as_echo "$GOC" >&6; }
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4141 $as_echo "no" >&6; }
4146 if test -z "$ac_cv_prog_GOC"; then
4148 # Extract the first word of "gccgo", so it can be a program name with args.
4149 set dummy gccgo
; ac_word
=$2
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4151 $as_echo_n "checking for $ac_word... " >&6; }
4152 if test "${ac_cv_prog_ac_ct_GOC+set}" = set; then :
4153 $as_echo_n "(cached) " >&6
4155 if test -n "$ac_ct_GOC"; then
4156 ac_cv_prog_ac_ct_GOC
="$ac_ct_GOC" # Let the user override the test.
4158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4162 test -z "$as_dir" && as_dir
=.
4163 for ac_exec_ext
in '' $ac_executable_extensions; do
4164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4165 ac_cv_prog_ac_ct_GOC
="gccgo"
4166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4175 ac_ct_GOC
=$ac_cv_prog_ac_ct_GOC
4176 if test -n "$ac_ct_GOC"; then
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
4178 $as_echo "$ac_ct_GOC" >&6; }
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4181 $as_echo "no" >&6; }
4184 if test "x$ac_ct_GOC" = x
; then
4187 case $cross_compiling:$ac_tool_warned in
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4190 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4191 ac_tool_warned
=yes ;;
4196 GOC
="$ac_cv_prog_GOC"
4199 if test -z "$GOC"; then
4200 if test -n "$ac_tool_prefix"; then
4201 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
4202 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4204 $as_echo_n "checking for $ac_word... " >&6; }
4205 if test "${ac_cv_prog_GOC+set}" = set; then :
4206 $as_echo_n "(cached) " >&6
4208 if test -n "$GOC"; then
4209 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
4211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4215 test -z "$as_dir" && as_dir
=.
4216 for ac_exec_ext
in '' $ac_executable_extensions; do
4217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4218 ac_cv_prog_GOC
="$ac_tool_prefix}gccgo"
4219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4229 if test -n "$GOC"; then
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4231 $as_echo "$GOC" >&6; }
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4234 $as_echo "no" >&6; }
4240 if test -z "$GOC"; then
4241 # Extract the first word of "gccgo", so it can be a program name with args.
4242 set dummy gccgo
; ac_word
=$2
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4244 $as_echo_n "checking for $ac_word... " >&6; }
4245 if test "${ac_cv_prog_GOC+set}" = set; then :
4246 $as_echo_n "(cached) " >&6
4248 if test -n "$GOC"; then
4249 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
4252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4256 test -z "$as_dir" && as_dir
=.
4257 for ac_exec_ext
in '' $ac_executable_extensions; do
4258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4259 if test "$as_dir/$ac_word$ac_exec_ext" = "gccgo"; then
4260 ac_prog_rejected
=yes
4263 ac_cv_prog_GOC
="gccgo"
4264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4271 if test $ac_prog_rejected = yes; then
4272 # We found a bogon in the path, so make sure we never use it.
4273 set dummy
$ac_cv_prog_GOC
4275 if test $# != 0; then
4276 # We chose a different compiler from the bogus one.
4277 # However, it has the same basename, so the bogon will be chosen
4278 # first if we set GOC to just the basename; use the full file name.
4280 ac_cv_prog_GOC
="$as_dir/$ac_word${1+' '}$@"
4286 if test -n "$GOC"; then
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4288 $as_echo "$GOC" >&6; }
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4291 $as_echo "no" >&6; }
4298 # Provide some information about the compiler.
4299 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Go compiler version" >&5
4302 { { ac_try
="$ac_compiler --version >&5"
4304 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4305 *) ac_try_echo=$ac_try;;
4307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4308 $as_echo "$ac_try_echo"; } >&5
4309 (eval "$ac_compiler --version >&5") 2>conftest.err
4311 if test -s conftest.err; then
4313 ... rest of stderr output deleted ...
4314 10q' conftest.err >conftest.er1
4315 cat conftest.er1 >&5
4316 rm -f conftest.er1 conftest.err
4318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4319 test $ac_status = 0; }
4322 ac_cpp='$CPP $CPPFLAGS'
4323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4333 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4334 # Check whether --enable-maintainer-mode was given.
4335 if test "${enable_maintainer_mode+set}" = set; then :
4336 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4338 USE_MAINTAINER_MODE=no
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4342 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4343 if test $USE_MAINTAINER_MODE = yes; then
4344 MAINTAINER_MODE_TRUE=
4345 MAINTAINER_MODE_FALSE='#'
4347 MAINTAINER_MODE_TRUE='#'
4348 MAINTAINER_MODE_FALSE=
4351 MAINT=$MAINTAINER_MODE_TRUE
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4356 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4357 if test "${ac_cv_path_SED+set}" = set; then :
4358 $as_echo_n "(cached) " >&6
4360 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4361 for ac_i in 1 2 3 4 5 6 7; do
4362 ac_script="$ac_script$as_nl$ac_script"
4364 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4365 { ac_script=; unset ac_script;}
4366 if test -z "$SED"; then
4367 ac_path_SED_found=false
4368 # Loop through the user's path and test for each of PROGNAME-LIST
4369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4373 test -z "$as_dir" && as_dir=.
4374 for ac_prog in sed gsed; do
4375 for ac_exec_ext in '' $ac_executable_extensions; do
4376 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4377 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4378 # Check for GNU ac_path_SED and select it if it is found.
4379 # Check for GNU $ac_path_SED
4380 case `"$ac_path_SED" --version 2>&1` in
4382 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4385 $as_echo_n 0123456789 >"conftest.in"
4388 cat "conftest.in" "conftest.in" >"conftest.tmp"
4389 mv "conftest.tmp" "conftest.in"
4390 cp "conftest.in" "conftest.nl"
4391 $as_echo '' >> "conftest.nl"
4392 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4393 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4394 as_fn_arith $ac_count + 1 && ac_count=$as_val
4395 if test $ac_count -gt ${ac_path_SED_max-0}; then
4396 # Best one so far, save it but keep looking for a better one
4397 ac_cv_path_SED="$ac_path_SED"
4398 ac_path_SED_max=$ac_count
4400 # 10*(2^10) chars as input seems more than enough
4401 test $ac_count -gt 10 && break
4403 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4406 $ac_path_SED_found && break 3
4411 if test -z "$ac_cv_path_SED"; then
4412 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4420 $as_echo "$ac_cv_path_SED" >&6; }
4421 SED="$ac_cv_path_SED"
4424 test -z "$SED" && SED=sed
4425 Xsed="$SED -e 1s/^X//"
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4438 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4439 if test "${ac_cv_path_GREP+set}" = set; then :
4440 $as_echo_n "(cached) " >&6
4442 if test -z "$GREP"; then
4443 ac_path_GREP_found=false
4444 # Loop through the user's path and test for each of PROGNAME-LIST
4445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4446 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4449 test -z "$as_dir" && as_dir=.
4450 for ac_prog in grep ggrep; do
4451 for ac_exec_ext in '' $ac_executable_extensions; do
4452 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4453 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4454 # Check for GNU ac_path_GREP and select it if it is found.
4455 # Check for GNU $ac_path_GREP
4456 case `"$ac_path_GREP" --version 2>&1` in
4458 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4461 $as_echo_n 0123456789 >"conftest.in"
4464 cat "conftest.in" "conftest.in" >"conftest.tmp"
4465 mv "conftest.tmp" "conftest.in"
4466 cp "conftest.in" "conftest.nl"
4467 $as_echo 'GREP' >> "conftest.nl"
4468 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4469 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4470 as_fn_arith $ac_count + 1 && ac_count=$as_val
4471 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4472 # Best one so far, save it but keep looking for a better one
4473 ac_cv_path_GREP="$ac_path_GREP"
4474 ac_path_GREP_max=$ac_count
4476 # 10*(2^10) chars as input seems more than enough
4477 test $ac_count -gt 10 && break
4479 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4482 $ac_path_GREP_found && break 3
4487 if test -z "$ac_cv_path_GREP"; then
4488 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4491 ac_cv_path_GREP=$GREP
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4496 $as_echo "$ac_cv_path_GREP" >&6; }
4497 GREP="$ac_cv_path_GREP"
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4501 $as_echo_n "checking for egrep... " >&6; }
4502 if test "${ac_cv_path_EGREP+set}" = set; then :
4503 $as_echo_n "(cached) " >&6
4505 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4506 then ac_cv_path_EGREP="$GREP -E"
4508 if test -z "$EGREP"; then
4509 ac_path_EGREP_found=false
4510 # Loop through the user's path and test for each of PROGNAME-LIST
4511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4512 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4515 test -z "$as_dir" && as_dir=.
4516 for ac_prog in egrep; do
4517 for ac_exec_ext in '' $ac_executable_extensions; do
4518 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4519 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4520 # Check for GNU ac_path_EGREP and select it if it is found.
4521 # Check for GNU $ac_path_EGREP
4522 case `"$ac_path_EGREP" --version 2>&1` in
4524 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4527 $as_echo_n 0123456789 >"conftest.in"
4530 cat "conftest.in" "conftest.in" >"conftest.tmp"
4531 mv "conftest.tmp" "conftest.in"
4532 cp "conftest.in" "conftest.nl"
4533 $as_echo 'EGREP' >> "conftest.nl"
4534 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4535 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4536 as_fn_arith $ac_count + 1 && ac_count=$as_val
4537 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4538 # Best one so far, save it but keep looking for a better one
4539 ac_cv_path_EGREP="$ac_path_EGREP"
4540 ac_path_EGREP_max=$ac_count
4542 # 10*(2^10) chars as input seems more than enough
4543 test $ac_count -gt 10 && break
4545 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4548 $ac_path_EGREP_found && break 3
4553 if test -z "$ac_cv_path_EGREP"; then
4554 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4557 ac_cv_path_EGREP=$EGREP
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4563 $as_echo "$ac_cv_path_EGREP" >&6; }
4564 EGREP="$ac_cv_path_EGREP"
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4568 $as_echo_n "checking for fgrep... " >&6; }
4569 if test "${ac_cv_path_FGREP+set}" = set; then :
4570 $as_echo_n "(cached) " >&6
4572 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4573 then ac_cv_path_FGREP="$GREP -F"
4575 if test -z "$FGREP"; then
4576 ac_path_FGREP_found=false
4577 # Loop through the user's path and test for each of PROGNAME-LIST
4578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4579 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4582 test -z "$as_dir" && as_dir=.
4583 for ac_prog in fgrep; do
4584 for ac_exec_ext in '' $ac_executable_extensions; do
4585 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4586 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4587 # Check for GNU ac_path_FGREP and select it if it is found.
4588 # Check for GNU $ac_path_FGREP
4589 case `"$ac_path_FGREP" --version 2>&1` in
4591 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4594 $as_echo_n 0123456789 >"conftest.in"
4597 cat "conftest.in" "conftest.in" >"conftest.tmp"
4598 mv "conftest.tmp" "conftest.in"
4599 cp "conftest.in" "conftest.nl"
4600 $as_echo 'FGREP' >> "conftest.nl"
4601 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4602 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4603 as_fn_arith $ac_count + 1 && ac_count=$as_val
4604 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4605 # Best one so far, save it but keep looking for a better one
4606 ac_cv_path_FGREP="$ac_path_FGREP"
4607 ac_path_FGREP_max=$ac_count
4609 # 10*(2^10) chars as input seems more than enough
4610 test $ac_count -gt 10 && break
4612 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4615 $ac_path_FGREP_found && break 3
4620 if test -z "$ac_cv_path_FGREP"; then
4621 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4624 ac_cv_path_FGREP=$FGREP
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4630 $as_echo "$ac_cv_path_FGREP" >&6; }
4631 FGREP="$ac_cv_path_FGREP"
4634 test -z "$GREP" && GREP=grep
4652 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4653 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4654 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4657 $as_echo_n "checking how to print strings... " >&6; }
4658 # Test print first, because it will be a builtin if present.
4659 if test "X`print
-r -- -n 2>/dev
/null
`" = X-n && \
4660 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
4662 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
4665 # Use this function as a fallback that always works.
4666 func_fallback_echo ()
4668 eval 'cat <<_LTECHO_EOF
4672 ECHO='func_fallback_echo'
4675 # func_echo_all arg...
4676 # Invoke $ECHO with all args, space-separated.
4683 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4684 $as_echo "printf" >&6; } ;;
4685 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4686 $as_echo "print -r" >&6; } ;;
4687 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4688 $as_echo "cat" >&6; } ;;
4706 # Check whether --with-gnu-ld was given.
4707 if test "${with_gnu_ld+set}" = set; then :
4708 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4714 if test "$GCC" = yes; then
4715 # Check if gcc -print-prog-name=ld gives a path.
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4717 $as_echo_n "checking for ld used by $CC... " >&6; }
4720 # gcc leaves a trailing carriage return which upsets mingw
4721 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
4723 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
4726 # Accept absolute paths.
4728 re_direlt='/[^/][^/]*/\.\./'
4729 # Canonicalize the pathname of ld
4730 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
4731 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4732 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
4734 test -z "$LD" && LD="$ac_prog"
4737 # If it fails, then pretend we aren't using GCC.
4741 # If it is relative, then search for the first ld in PATH.
4745 elif test "$with_gnu_ld" = yes; then
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4747 $as_echo_n "checking for GNU ld... " >&6; }
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4750 $as_echo_n "checking for non-GNU ld... " >&6; }
4752 if test "${lt_cv_path_LD+set}" = set; then :
4753 $as_echo_n "(cached) " >&6
4755 if test -z "$LD"; then
4756 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4757 for ac_dir in $PATH; do
4759 test -z "$ac_dir" && ac_dir=.
4760 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4761 lt_cv_path_LD="$ac_dir/$ac_prog"
4762 # Check to see if the program is GNU ld. I'd rather use --version,
4763 # but apparently some variants of GNU ld only accept -v.
4764 # Break only if it was the GNU/non-GNU ld that we prefer.
4765 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
4766 *GNU* | *'with BFD'*)
4767 test "$with_gnu_ld" != no && break
4770 test "$with_gnu_ld" != yes && break
4777 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4782 if test -n "$LD"; then
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4784 $as_echo "$LD" >&6; }
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4787 $as_echo "no" >&6; }
4789 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4791 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4792 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4793 $as_echo_n "(cached) " >&6
4795 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4796 case `$LD -v 2>&1 </dev
/null
` in
4797 *GNU* | *'with BFD'*)
4798 lt_cv_prog_gnu_ld=yes
4801 lt_cv_prog_gnu_ld=no
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4806 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4807 with_gnu_ld=$lt_cv_prog_gnu_ld
4817 if test -n "$ac_tool_prefix"; then
4818 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4819 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4821 $as_echo_n "checking for $ac_word... " >&6; }
4822 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4823 $as_echo_n "(cached) " >&6
4825 if test -n "$RANLIB"; then
4826 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4832 test -z "$as_dir" && as_dir=.
4833 for ac_exec_ext in '' $ac_executable_extensions; do
4834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4835 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4845 RANLIB=$ac_cv_prog_RANLIB
4846 if test -n "$RANLIB"; then
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4848 $as_echo "$RANLIB" >&6; }
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4851 $as_echo "no" >&6; }
4856 if test -z "$ac_cv_prog_RANLIB"; then
4857 ac_ct_RANLIB=$RANLIB
4858 # Extract the first word of "ranlib", so it can be a program name with args.
4859 set dummy ranlib; ac_word=$2
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4861 $as_echo_n "checking for $ac_word... " >&6; }
4862 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4863 $as_echo_n "(cached) " >&6
4865 if test -n "$ac_ct_RANLIB"; then
4866 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4872 test -z "$as_dir" && as_dir=.
4873 for ac_exec_ext in '' $ac_executable_extensions; do
4874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4875 ac_cv_prog_ac_ct_RANLIB="ranlib"
4876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4885 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4886 if test -n "$ac_ct_RANLIB"; then
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4888 $as_echo "$ac_ct_RANLIB" >&6; }
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4891 $as_echo "no" >&6; }
4894 if test "x$ac_ct_RANLIB" = x; then
4897 case $cross_compiling:$ac_tool_warned in
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4900 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4901 ac_tool_warned=yes ;;
4903 RANLIB=$ac_ct_RANLIB
4906 RANLIB="$ac_cv_prog_RANLIB"
4909 if test -n "$ac_tool_prefix"; then
4910 # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
4911 set dummy ${ac_tool_prefix}objcopy; ac_word=$2
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4913 $as_echo_n "checking for $ac_word... " >&6; }
4914 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
4915 $as_echo_n "(cached) " >&6
4917 if test -n "$OBJCOPY"; then
4918 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
4920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4924 test -z "$as_dir" && as_dir=.
4925 for ac_exec_ext in '' $ac_executable_extensions; do
4926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4927 ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
4928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4937 OBJCOPY=$ac_cv_prog_OBJCOPY
4938 if test -n "$OBJCOPY"; then
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
4940 $as_echo "$OBJCOPY" >&6; }
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4943 $as_echo "no" >&6; }
4948 if test -z "$ac_cv_prog_OBJCOPY"; then
4949 ac_ct_OBJCOPY=$OBJCOPY
4950 # Extract the first word of "objcopy", so it can be a program name with args.
4951 set dummy objcopy; ac_word=$2
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4953 $as_echo_n "checking for $ac_word... " >&6; }
4954 if test "${ac_cv_prog_ac_ct_OBJCOPY+set}" = set; then :
4955 $as_echo_n "(cached) " >&6
4957 if test -n "$ac_ct_OBJCOPY"; then
4958 ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
4960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4964 test -z "$as_dir" && as_dir=.
4965 for ac_exec_ext in '' $ac_executable_extensions; do
4966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4967 ac_cv_prog_ac_ct_OBJCOPY="objcopy"
4968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4977 ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
4978 if test -n "$ac_ct_OBJCOPY"; then
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
4980 $as_echo "$ac_ct_OBJCOPY" >&6; }
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4983 $as_echo "no" >&6; }
4986 if test "x$ac_ct_OBJCOPY" = x; then
4987 OBJCOPY="missing-objcopy"
4989 case $cross_compiling:$ac_tool_warned in
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4992 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4993 ac_tool_warned=yes ;;
4995 OBJCOPY=$ac_ct_OBJCOPY
4998 OBJCOPY="$ac_cv_prog_OBJCOPY"
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5009 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5014 macro_version='2.2.7a'
5015 macro_revision='1.3134'
5029 ltmain="$ac_aux_dir/ltmain.sh"
5031 # Backslashify metacharacters that are still active within
5032 # double-quoted strings.
5033 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5035 # Same as above, but do not quote variable references.
5036 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5038 # Sed substitution to delay expansion of an escaped shell variable in a
5039 # double_quote_subst'ed string.
5040 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5042 # Sed substitution to delay expansion of an escaped single quote.
5043 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5045 # Sed substitution to avoid accidental globbing in evaled expressions
5046 no_glob_subst='s/\*/\\\*/g'
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5049 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5050 if test "${lt_cv_path_NM+set}" = set; then :
5051 $as_echo_n "(cached
) " >&6
5053 if test -n "$NM"; then
5054 # Let the user override the test.
5057 lt_nm_to_check="${ac_tool_prefix}nm
"
5058 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5059 lt_nm_to_check="$lt_nm_to_check nm
"
5061 for lt_tmp_nm in $lt_nm_to_check; do
5062 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5063 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5065 test -z "$ac_dir" && ac_dir=.
5066 tmp_nm="$ac_dir/$lt_tmp_nm"
5067 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5068 # Check to see if the nm accepts a BSD-compat flag.
5069 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5070 # nm: unknown option "B
" ignored
5071 # Tru64's nm complains that /dev/null is an invalid object file
5072 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5073 */dev/null* | *'Invalid file or object type'*)
5074 lt_cv_path_NM="$tmp_nm -B"
5078 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5080 lt_cv_path_NM="$tmp_nm -p"
5084 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5085 continue # so that we can try to find one that supports BSD flags
5094 : ${lt_cv_path_NM=no}
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5098 $as_echo "$lt_cv_path_NM" >&6; }
5099 if test "$lt_cv_path_NM" != "no
"; then
5102 # Didn't find any BSD compatible name lister, look for dumpbin.
5103 if test -n "$DUMPBIN"; then :
5104 # Let the user override the test.
5106 if test -n "$ac_tool_prefix"; then
5107 for ac_prog in dumpbin "link
-dump"
5109 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5110 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5112 $as_echo_n "checking
for $ac_word...
" >&6; }
5113 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5114 $as_echo_n "(cached
) " >&6
5116 if test -n "$DUMPBIN"; then
5117 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5123 test -z "$as_dir" && as_dir=.
5124 for ac_exec_ext in '' $ac_executable_extensions; do
5125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5126 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5127 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5136 DUMPBIN=$ac_cv_prog_DUMPBIN
5137 if test -n "$DUMPBIN"; then
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5139 $as_echo "$DUMPBIN" >&6; }
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5142 $as_echo "no
" >&6; }
5146 test -n "$DUMPBIN" && break
5149 if test -z "$DUMPBIN"; then
5150 ac_ct_DUMPBIN=$DUMPBIN
5151 for ac_prog in dumpbin "link
-dump"
5153 # Extract the first word of "$ac_prog", so it can be a program name with args.
5154 set dummy $ac_prog; ac_word=$2
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5156 $as_echo_n "checking
for $ac_word...
" >&6; }
5157 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5158 $as_echo_n "(cached
) " >&6
5160 if test -n "$ac_ct_DUMPBIN"; then
5161 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5167 test -z "$as_dir" && as_dir=.
5168 for ac_exec_ext in '' $ac_executable_extensions; do
5169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5170 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5171 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5180 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5181 if test -n "$ac_ct_DUMPBIN"; then
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5183 $as_echo "$ac_ct_DUMPBIN" >&6; }
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5186 $as_echo "no
" >&6; }
5190 test -n "$ac_ct_DUMPBIN" && break
5193 if test "x
$ac_ct_DUMPBIN" = x; then
5196 case $cross_compiling:$ac_tool_warned in
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5199 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5200 ac_tool_warned=yes ;;
5202 DUMPBIN=$ac_ct_DUMPBIN
5206 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5208 DUMPBIN="$DUMPBIN -symbols"
5216 if test "$DUMPBIN" != ":"; then
5220 test -z "$NM" && NM=nm
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5228 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5229 if test "${lt_cv_nm_interface+set}" = set; then :
5230 $as_echo_n "(cached
) " >&6
5232 lt_cv_nm_interface="BSD nm
"
5233 echo "int some_variable
= 0;" > conftest.$ac_ext
5234 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5235 (eval "$ac_compile" 2>conftest.err)
5236 cat conftest.err >&5
5237 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5238 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5239 cat conftest.err >&5
5240 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5241 cat conftest.out >&5
5242 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5243 lt_cv_nm_interface="MS dumpbin
"
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5248 $as_echo "$lt_cv_nm_interface" >&6; }
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5251 $as_echo_n "checking whether
ln -s works...
" >&6; }
5253 if test "$LN_S" = "ln -s"; then
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5255 $as_echo "yes" >&6; }
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5258 $as_echo "no
, using
$LN_S" >&6; }
5261 # find the maximum length of command line arguments
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5263 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5264 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5265 $as_echo_n "(cached
) " >&6
5272 # On DJGPP, this test can blow up pretty badly due to problems in libc
5273 # (any single argument exceeding 2000 bytes causes a buffer overrun
5274 # during glob expansion). Even if it were fixed, the result of this
5275 # check would be larger than it should be.
5276 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5280 # Under GNU Hurd, this test is not required because there is
5281 # no limit to the length of command line arguments.
5282 # Libtool will interpret -1 as no limit whatsoever
5283 lt_cv_sys_max_cmd_len=-1;
5286 cygwin* | mingw* | cegcc*)
5287 # On Win9x/ME, this test blows up -- it succeeds, but takes
5288 # about 5 minutes as the teststring grows exponentially.
5289 # Worse, since 9x/ME are not pre-emptively multitasking,
5290 # you end up with a "frozen
" computer, even though with patience
5291 # the test eventually succeeds (with a max line length of 256k).
5292 # Instead, let's just punt: use the minimum linelength reported by
5293 # all of the supported platforms: 8192 (on NT/2K/XP).
5294 lt_cv_sys_max_cmd_len=8192;
5298 # On MiNT this can take a long time and run out of memory.
5299 lt_cv_sys_max_cmd_len=8192;
5303 # On AmigaOS with pdksh, this test takes hours, literally.
5304 # So we just punt and use a minimum line length of 8192.
5305 lt_cv_sys_max_cmd_len=8192;
5308 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5309 # This has been around since 386BSD, at least. Likely further.
5310 if test -x /sbin/sysctl; then
5311 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5312 elif test -x /usr/sbin/sysctl; then
5313 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5315 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5317 # And add a safety zone
5318 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5319 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5323 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5324 lt_cv_sys_max_cmd_len=196608
5328 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5329 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5330 # nice to cause kernel panics so lets avoid the loop below.
5331 # First set a reasonable default.
5332 lt_cv_sys_max_cmd_len=16384
5334 if test -x /sbin/sysconfig; then
5335 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5336 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5341 lt_cv_sys_max_cmd_len=102400
5343 sysv5* | sco5v6* | sysv4.2uw2*)
5344 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5345 if test -n "$kargmax"; then
5346 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5348 lt_cv_sys_max_cmd_len=32768
5352 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5353 if test -n "$lt_cv_sys_max_cmd_len"; then
5354 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5355 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5357 # Make teststring a little bigger before we do anything with it.
5358 # a 1K string should be a reasonable start.
5359 for i in 1 2 3 4 5 6 7 8 ; do
5360 teststring=$teststring$teststring
5362 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5363 # If test is not a shell built-in, we'll probably end up computing a
5364 # maximum length that is only half of the actual maximum length, but
5366 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5367 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5368 test $i != 17 # 1/2 MB should be enough
5371 teststring=$teststring$teststring
5373 # Only check the string length outside the loop.
5374 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5376 # Add a significant safety factor because C++ compilers can tack on
5377 # massive amounts of additional arguments before passing them to the
5378 # linker. It appears as though 1/2 is a usable value.
5379 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5386 if test -n $lt_cv_sys_max_cmd_len ; then
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5388 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5391 $as_echo "none
" >&6; }
5393 max_cmd_len=$lt_cv_sys_max_cmd_len
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5405 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5406 # Try some XSI features
5409 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5411 && eval 'test $(( 1 + 1 )) -eq 2 \
5412 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5415 $as_echo "$xsi_shell" >&6; }
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5419 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5421 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
5423 && lt_shell_append
=yes
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5425 $as_echo "$lt_shell_append" >&6; }
5428 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5438 # test EBCDIC or ASCII
5439 case `echo X|tr X '\101'` in
5440 A
) # ASCII based system
5441 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5442 lt_SP2NL
='tr \040 \012'
5443 lt_NL2SP
='tr \015\012 \040\040'
5445 *) # EBCDIC based system
5446 lt_SP2NL
='tr \100 \n'
5447 lt_NL2SP
='tr \r\n \100\100'
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5460 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5461 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5462 $as_echo_n "(cached) " >&6
5464 lt_cv_ld_reload_flag
='-r'
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5467 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5468 reload_flag
=$lt_cv_ld_reload_flag
5469 case $reload_flag in
5471 *) reload_flag
=" $reload_flag" ;;
5473 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5476 if test "$GCC" = yes; then
5477 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5479 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5492 if test -n "$ac_tool_prefix"; then
5493 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5494 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5496 $as_echo_n "checking for $ac_word... " >&6; }
5497 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5498 $as_echo_n "(cached) " >&6
5500 if test -n "$OBJDUMP"; then
5501 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5507 test -z "$as_dir" && as_dir
=.
5508 for ac_exec_ext
in '' $ac_executable_extensions; do
5509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5510 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5520 OBJDUMP
=$ac_cv_prog_OBJDUMP
5521 if test -n "$OBJDUMP"; then
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5523 $as_echo "$OBJDUMP" >&6; }
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5526 $as_echo "no" >&6; }
5531 if test -z "$ac_cv_prog_OBJDUMP"; then
5532 ac_ct_OBJDUMP
=$OBJDUMP
5533 # Extract the first word of "objdump", so it can be a program name with args.
5534 set dummy objdump
; ac_word
=$2
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5536 $as_echo_n "checking for $ac_word... " >&6; }
5537 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5538 $as_echo_n "(cached) " >&6
5540 if test -n "$ac_ct_OBJDUMP"; then
5541 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5547 test -z "$as_dir" && as_dir
=.
5548 for ac_exec_ext
in '' $ac_executable_extensions; do
5549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5550 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5560 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5561 if test -n "$ac_ct_OBJDUMP"; then
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5563 $as_echo "$ac_ct_OBJDUMP" >&6; }
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5566 $as_echo "no" >&6; }
5569 if test "x$ac_ct_OBJDUMP" = x
; then
5572 case $cross_compiling:$ac_tool_warned in
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5575 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5576 ac_tool_warned
=yes ;;
5578 OBJDUMP
=$ac_ct_OBJDUMP
5581 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5584 test -z "$OBJDUMP" && OBJDUMP
=objdump
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5595 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5596 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5597 $as_echo_n "(cached) " >&6
5599 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5600 lt_cv_file_magic_test_file
=
5601 lt_cv_deplibs_check_method
='unknown'
5602 # Need to set the preceding variable on all platforms that support
5603 # interlibrary dependencies.
5604 # 'none' -- dependencies not supported.
5605 # `unknown' -- same as none, but documents that we really don't know.
5606 # 'pass_all' -- all dependencies passed with no checks.
5607 # 'test_compile' -- check by making test program.
5608 # 'file_magic [[regex]]' -- check by looking for files in library path
5609 # which responds to the $file_magic_cmd with a given extended regex.
5610 # If you have `file' or equivalent on your system and you're not sure
5611 # whether `pass_all' will *always* work, you probably want this one.
5615 lt_cv_deplibs_check_method
=pass_all
5619 lt_cv_deplibs_check_method
=pass_all
5623 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5624 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5625 lt_cv_file_magic_test_file
=/shlib
/libc.so
5629 # func_win32_libid is a shell function defined in ltmain.sh
5630 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5631 lt_cv_file_magic_cmd
='func_win32_libid'
5635 # Base MSYS/MinGW do not provide the 'file' command needed by
5636 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5637 # unless we find 'file', for example because we are cross-compiling.
5638 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5639 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
5640 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5641 lt_cv_file_magic_cmd
='func_win32_libid'
5643 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5644 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5649 # use the weaker test based on 'objdump'. See mingw*.
5650 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5651 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5654 darwin
* | rhapsody
*)
5655 lt_cv_deplibs_check_method
=pass_all
5658 freebsd
* | dragonfly
*)
5659 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5662 # Not sure whether the presence of OpenBSD here was a mistake.
5663 # Let's accept both of them until this is cleared up.
5664 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5665 lt_cv_file_magic_cmd
=/usr
/bin
/file
5666 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5670 lt_cv_deplibs_check_method
=pass_all
5675 lt_cv_deplibs_check_method
=pass_all
5679 lt_cv_deplibs_check_method
=pass_all
5682 hpux10.20
* | hpux11
*)
5683 lt_cv_file_magic_cmd
=/usr
/bin
/file
5686 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5687 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5690 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]'
5691 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
5694 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5695 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5701 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5702 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5705 irix5
* | irix6
* | nonstopux
*)
5707 *-32|
*"-32 ") libmagic
=32-bit;;
5708 *-n32|
*"-n32 ") libmagic
=N32
;;
5709 *-64|
*"-64 ") libmagic
=64-bit;;
5710 *) libmagic
=never-match
;;
5712 lt_cv_deplibs_check_method
=pass_all
5715 # This must be Linux ELF.
5716 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
5717 lt_cv_deplibs_check_method
=pass_all
5721 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5722 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5724 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5729 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5730 lt_cv_file_magic_cmd
=/usr
/bin
/file
5731 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5735 lt_cv_deplibs_check_method
=pass_all
5739 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5740 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5742 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5746 osf3
* | osf4
* | osf5
*)
5747 lt_cv_deplibs_check_method
=pass_all
5751 lt_cv_deplibs_check_method
=pass_all
5755 lt_cv_deplibs_check_method
=pass_all
5758 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5759 lt_cv_deplibs_check_method
=pass_all
5763 case $host_vendor in
5765 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]'
5766 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5769 lt_cv_deplibs_check_method
=pass_all
5772 lt_cv_file_magic_cmd
='/bin/file'
5773 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5776 lt_cv_file_magic_cmd
='/bin/file'
5777 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5778 lt_cv_file_magic_test_file
=/lib
/libc.so
5781 lt_cv_deplibs_check_method
=pass_all
5784 lt_cv_deplibs_check_method
=pass_all
5790 lt_cv_deplibs_check_method
=pass_all
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5796 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5797 file_magic_cmd
=$lt_cv_file_magic_cmd
5798 deplibs_check_method
=$lt_cv_deplibs_check_method
5799 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5812 if test -n "$ac_tool_prefix"; then
5813 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5814 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5816 $as_echo_n "checking for $ac_word... " >&6; }
5817 if test "${ac_cv_prog_AR+set}" = set; then :
5818 $as_echo_n "(cached) " >&6
5820 if test -n "$AR"; then
5821 ac_cv_prog_AR
="$AR" # Let the user override the test.
5823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5827 test -z "$as_dir" && as_dir
=.
5828 for ac_exec_ext
in '' $ac_executable_extensions; do
5829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5830 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5841 if test -n "$AR"; then
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5843 $as_echo "$AR" >&6; }
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5846 $as_echo "no" >&6; }
5851 if test -z "$ac_cv_prog_AR"; then
5853 # Extract the first word of "ar", so it can be a program name with args.
5854 set dummy
ar; ac_word
=$2
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5856 $as_echo_n "checking for $ac_word... " >&6; }
5857 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5858 $as_echo_n "(cached) " >&6
5860 if test -n "$ac_ct_AR"; then
5861 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5867 test -z "$as_dir" && as_dir
=.
5868 for ac_exec_ext
in '' $ac_executable_extensions; do
5869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5870 ac_cv_prog_ac_ct_AR
="ar"
5871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5880 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5881 if test -n "$ac_ct_AR"; then
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5883 $as_echo "$ac_ct_AR" >&6; }
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5886 $as_echo "no" >&6; }
5889 if test "x$ac_ct_AR" = x
; then
5892 case $cross_compiling:$ac_tool_warned in
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5895 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5896 ac_tool_warned
=yes ;;
5904 test -z "$AR" && AR
=ar
5905 test -z "$AR_FLAGS" && AR_FLAGS
=cru
5917 if test -n "$ac_tool_prefix"; then
5918 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5919 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5921 $as_echo_n "checking for $ac_word... " >&6; }
5922 if test "${ac_cv_prog_STRIP+set}" = set; then :
5923 $as_echo_n "(cached) " >&6
5925 if test -n "$STRIP"; then
5926 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5932 test -z "$as_dir" && as_dir
=.
5933 for ac_exec_ext
in '' $ac_executable_extensions; do
5934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5935 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5945 STRIP
=$ac_cv_prog_STRIP
5946 if test -n "$STRIP"; then
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5948 $as_echo "$STRIP" >&6; }
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5951 $as_echo "no" >&6; }
5956 if test -z "$ac_cv_prog_STRIP"; then
5958 # Extract the first word of "strip", so it can be a program name with args.
5959 set dummy strip
; ac_word
=$2
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5961 $as_echo_n "checking for $ac_word... " >&6; }
5962 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5963 $as_echo_n "(cached) " >&6
5965 if test -n "$ac_ct_STRIP"; then
5966 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5972 test -z "$as_dir" && as_dir
=.
5973 for ac_exec_ext
in '' $ac_executable_extensions; do
5974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5975 ac_cv_prog_ac_ct_STRIP
="strip"
5976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5985 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5986 if test -n "$ac_ct_STRIP"; then
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5988 $as_echo "$ac_ct_STRIP" >&6; }
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5991 $as_echo "no" >&6; }
5994 if test "x$ac_ct_STRIP" = x
; then
5997 case $cross_compiling:$ac_tool_warned in
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6000 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6001 ac_tool_warned
=yes ;;
6006 STRIP
="$ac_cv_prog_STRIP"
6009 test -z "$STRIP" && STRIP
=:
6016 if test -n "$ac_tool_prefix"; then
6017 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6018 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6020 $as_echo_n "checking for $ac_word... " >&6; }
6021 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6022 $as_echo_n "(cached) " >&6
6024 if test -n "$RANLIB"; then
6025 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6031 test -z "$as_dir" && as_dir
=.
6032 for ac_exec_ext
in '' $ac_executable_extensions; do
6033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6034 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6044 RANLIB
=$ac_cv_prog_RANLIB
6045 if test -n "$RANLIB"; then
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6047 $as_echo "$RANLIB" >&6; }
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6050 $as_echo "no" >&6; }
6055 if test -z "$ac_cv_prog_RANLIB"; then
6056 ac_ct_RANLIB
=$RANLIB
6057 # Extract the first word of "ranlib", so it can be a program name with args.
6058 set dummy ranlib
; ac_word
=$2
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6060 $as_echo_n "checking for $ac_word... " >&6; }
6061 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6062 $as_echo_n "(cached) " >&6
6064 if test -n "$ac_ct_RANLIB"; then
6065 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6071 test -z "$as_dir" && as_dir
=.
6072 for ac_exec_ext
in '' $ac_executable_extensions; do
6073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6074 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6084 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6085 if test -n "$ac_ct_RANLIB"; then
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6087 $as_echo "$ac_ct_RANLIB" >&6; }
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6090 $as_echo "no" >&6; }
6093 if test "x$ac_ct_RANLIB" = x
; then
6096 case $cross_compiling:$ac_tool_warned in
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6099 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6100 ac_tool_warned
=yes ;;
6102 RANLIB
=$ac_ct_RANLIB
6105 RANLIB
="$ac_cv_prog_RANLIB"
6108 test -z "$RANLIB" && RANLIB
=:
6115 # Determine commands to create old-style static archives.
6116 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6117 old_postinstall_cmds
='chmod 644 $oldlib'
6118 old_postuninstall_cmds
=
6120 if test -n "$RANLIB"; then
6123 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6126 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6129 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6134 lock_old_archive_extraction
=yes ;;
6136 lock_old_archive_extraction
=no
;;
6177 # If no C compiler was specified, use CC.
6180 # If no C compiler flags were specified, use CFLAGS.
6181 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6183 # Allow CC to be a program name with arguments.
6187 # Check for command to grab the raw symbol name followed by C symbol from nm.
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6189 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6190 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6191 $as_echo_n "(cached) " >&6
6194 # These are sane defaults that work on at least a few old systems.
6195 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6197 # Character class describing NM global symbol codes.
6198 symcode
='[BCDEGRST]'
6200 # Regexp to match symbols that can be accessed directly from C.
6201 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6203 # Define system-specific variables.
6208 cygwin
* | mingw
* | pw32
* | cegcc
*)
6209 symcode
='[ABCDGISTW]'
6212 if test "$host_cpu" = ia64
; then
6213 symcode
='[ABCDEGRST]'
6217 symcode
='[BCDEGRST]'
6220 symcode
='[BCDEGQRST]'
6231 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6239 # If we're using GNU nm, then use its standard symbol codes.
6240 case `$NM -V 2>&1` in
6241 *GNU
* |
*'with BFD'*)
6242 symcode
='[ABCDGIRSTW]' ;;
6245 # Transform an extracted symbol line into a proper C declaration.
6246 # Some systems (esp. on ia64) link data and code symbols differently,
6247 # so use this general approach.
6248 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6250 # Transform an extracted symbol line into symbol name and symbol address
6251 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6252 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'"
6254 # Handle CRLF in mingw tool chain
6258 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6262 # Try without a prefix underscore, then with it.
6263 for ac_symprfx
in "" "_"; do
6265 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6266 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6268 # Write the raw and C identifiers.
6269 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6270 # Fake it for dumpbin and say T for any non-static function
6271 # and D for any global variable.
6272 # Also find C++ and __fastcall symbols from MSVC++,
6273 # which start with @ or ?.
6274 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6275 " {last_section=section; section=\$ 3};"\
6276 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6277 " \$ 0!~/External *\|/{next};"\
6278 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6279 " {if(hide[section]) next};"\
6280 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6281 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6282 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6283 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6284 " ' prfx=^$ac_symprfx"
6286 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6289 # Check to see that the pipe works correctly.
6293 cat > conftest.
$ac_ext <<_LT_EOF
6298 void nm_test_func(void);
6299 void nm_test_func(void){}
6303 int main(){nm_test_var='a';nm_test_func();return(0);}
6306 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6307 (eval $ac_compile) 2>&5
6309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6310 test $ac_status = 0; }; then
6311 # Now try to grab the symbols.
6313 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6314 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6317 test $ac_status = 0; } && test -s "$nlist"; then
6318 # Try sorting and uniquifying the output.
6319 if sort "$nlist" |
uniq > "$nlist"T
; then
6320 mv -f "$nlist"T
"$nlist"
6325 # Make sure that we snagged all the symbols we need.
6326 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6327 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6328 cat <<_LT_EOF > conftest.$ac_ext
6334 # Now generate the symbol file.
6335 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6337 cat <<_LT_EOF >> conftest.$ac_ext
6339 /* The mapping between symbol names and symbols. */
6344 lt__PROGRAM__LTX_preloaded_symbols[] =
6346 { "@PROGRAM@", (void *) 0 },
6348 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
6349 cat <<\_LT_EOF
>> conftest.
$ac_ext
6353 /* This works around a problem
in FreeBSD linker
*/
6354 #ifdef FREEBSD_WORKAROUND
6355 static const void
*lt_preloaded_setup
() {
6356 return lt__PROGRAM__LTX_preloaded_symbols
;
6364 # Now try linking the two files.
6365 mv conftest.
$ac_objext conftstm.
$ac_objext
6366 lt_save_LIBS
="$LIBS"
6367 lt_save_CFLAGS
="$CFLAGS"
6368 LIBS
="conftstm.$ac_objext"
6369 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6370 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6371 (eval $ac_link) 2>&5
6373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6374 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6377 LIBS
="$lt_save_LIBS"
6378 CFLAGS
="$lt_save_CFLAGS"
6380 echo "cannot find nm_test_func in $nlist" >&5
6383 echo "cannot find nm_test_var in $nlist" >&5
6386 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6389 echo "$progname: failed program was:" >&5
6390 cat conftest.
$ac_ext >&5
6392 rm -rf conftest
* conftst
*
6394 # Do not use the global_symbol_pipe unless it works.
6395 if test "$pipe_works" = yes; then
6398 lt_cv_sys_global_symbol_pipe
=
6404 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6405 lt_cv_sys_global_symbol_to_cdecl
=
6407 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6409 $as_echo "failed" >&6; }
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6412 $as_echo "ok" >&6; }
6437 # Check whether --enable-libtool-lock was given.
6438 if test "${enable_libtool_lock+set}" = set; then :
6439 enableval
=$enable_libtool_lock;
6442 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6444 # Some flags need to be propagated to the compiler or linker for good
6448 # Find out which ABI we are using.
6449 echo 'int i;' > conftest.
$ac_ext
6450 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6451 (eval $ac_compile) 2>&5
6453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6454 test $ac_status = 0; }; then
6455 case `/usr/bin/file conftest.$ac_objext` in
6467 # Find out which ABI we are using.
6468 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6469 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6470 (eval $ac_compile) 2>&5
6472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6473 test $ac_status = 0; }; then
6474 if test "$lt_cv_prog_gnu_ld" = yes; then
6475 case `/usr/bin/file conftest.$ac_objext` in
6477 LD
="${LD-ld} -melf32bsmip"
6480 LD
="${LD-ld} -melf32bmipn32"
6483 LD
="${LD-ld} -melf64bmip"
6487 case `/usr/bin/file conftest.$ac_objext` in
6503 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
6504 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6505 # Find out which ABI we are using.
6506 echo 'int i;' > conftest.
$ac_ext
6507 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6508 (eval $ac_compile) 2>&5
6510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6511 test $ac_status = 0; }; then
6512 case `/usr/bin/file conftest.o` in
6515 x86_64-
*kfreebsd
*-gnu)
6516 LD
="${LD-ld} -m elf_i386_fbsd"
6519 LD
="${LD-ld} -m elf_i386"
6521 ppc64-
*linux
*|powerpc64-
*linux
*)
6522 LD
="${LD-ld} -m elf32ppclinux"
6525 LD
="${LD-ld} -m elf_s390"
6528 LD
="${LD-ld} -m elf32_sparc"
6534 x86_64-
*kfreebsd
*-gnu)
6535 LD
="${LD-ld} -m elf_x86_64_fbsd"
6538 LD
="${LD-ld} -m elf_x86_64"
6540 ppc
*-*linux
*|powerpc
*-*linux
*)
6541 LD
="${LD-ld} -m elf64ppc"
6543 s390
*-*linux
*|s390
*-*tpf
*)
6544 LD
="${LD-ld} -m elf64_s390"
6547 LD
="${LD-ld} -m elf64_sparc"
6557 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6558 SAVE_CFLAGS
="$CFLAGS"
6559 CFLAGS
="$CFLAGS -belf"
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6561 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6562 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6563 $as_echo_n "(cached) " >&6
6566 ac_cpp
='$CPP $CPPFLAGS'
6567 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6568 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6569 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6572 /* end confdefs.h. */
6582 if ac_fn_c_try_link
"$LINENO"; then :
6583 lt_cv_cc_needs_belf
=yes
6585 lt_cv_cc_needs_belf
=no
6587 rm -f core conftest.err conftest.
$ac_objext \
6588 conftest
$ac_exeext conftest.
$ac_ext
6590 ac_cpp
='$CPP $CPPFLAGS'
6591 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6592 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6593 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6597 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6598 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6599 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6600 CFLAGS
="$SAVE_CFLAGS"
6604 # Find out which ABI we are using.
6605 echo 'int i;' > conftest.
$ac_ext
6606 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6607 (eval $ac_compile) 2>&5
6609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6610 test $ac_status = 0; }; then
6611 case `/usr/bin/file conftest.o` in
6613 case $lt_cv_prog_gnu_ld in
6616 i?
86-*-solaris* | x86_64-
*-solaris2.1
[0-9]*)
6617 LD
="${LD-ld} -m elf_x86_64"
6620 LD
="${LD-ld} -m elf64_sparc"
6623 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6624 if ${LD-ld} -V |
grep _sol2
>/dev
/null
2>&1; then
6629 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
6641 need_locks
="$enable_libtool_lock"
6645 rhapsody
* | darwin
*)
6646 if test -n "$ac_tool_prefix"; then
6647 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6648 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6650 $as_echo_n "checking for $ac_word... " >&6; }
6651 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6652 $as_echo_n "(cached) " >&6
6654 if test -n "$DSYMUTIL"; then
6655 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6661 test -z "$as_dir" && as_dir
=.
6662 for ac_exec_ext
in '' $ac_executable_extensions; do
6663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6664 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6674 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6675 if test -n "$DSYMUTIL"; then
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6677 $as_echo "$DSYMUTIL" >&6; }
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6680 $as_echo "no" >&6; }
6685 if test -z "$ac_cv_prog_DSYMUTIL"; then
6686 ac_ct_DSYMUTIL
=$DSYMUTIL
6687 # Extract the first word of "dsymutil", so it can be a program name with args.
6688 set dummy dsymutil
; ac_word
=$2
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6690 $as_echo_n "checking for $ac_word... " >&6; }
6691 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6692 $as_echo_n "(cached) " >&6
6694 if test -n "$ac_ct_DSYMUTIL"; then
6695 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
6697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6701 test -z "$as_dir" && as_dir
=.
6702 for ac_exec_ext
in '' $ac_executable_extensions; do
6703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6704 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
6705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6714 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
6715 if test -n "$ac_ct_DSYMUTIL"; then
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6717 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6720 $as_echo "no" >&6; }
6723 if test "x$ac_ct_DSYMUTIL" = x
; then
6726 case $cross_compiling:$ac_tool_warned in
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6729 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6730 ac_tool_warned
=yes ;;
6732 DSYMUTIL
=$ac_ct_DSYMUTIL
6735 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
6738 if test -n "$ac_tool_prefix"; then
6739 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6740 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6742 $as_echo_n "checking for $ac_word... " >&6; }
6743 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6744 $as_echo_n "(cached) " >&6
6746 if test -n "$NMEDIT"; then
6747 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
6749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6753 test -z "$as_dir" && as_dir
=.
6754 for ac_exec_ext
in '' $ac_executable_extensions; do
6755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6756 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
6757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6766 NMEDIT
=$ac_cv_prog_NMEDIT
6767 if test -n "$NMEDIT"; then
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6769 $as_echo "$NMEDIT" >&6; }
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6772 $as_echo "no" >&6; }
6777 if test -z "$ac_cv_prog_NMEDIT"; then
6778 ac_ct_NMEDIT
=$NMEDIT
6779 # Extract the first word of "nmedit", so it can be a program name with args.
6780 set dummy nmedit
; ac_word
=$2
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6782 $as_echo_n "checking for $ac_word... " >&6; }
6783 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6784 $as_echo_n "(cached) " >&6
6786 if test -n "$ac_ct_NMEDIT"; then
6787 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
6789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6793 test -z "$as_dir" && as_dir
=.
6794 for ac_exec_ext
in '' $ac_executable_extensions; do
6795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6796 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
6797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6806 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
6807 if test -n "$ac_ct_NMEDIT"; then
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6809 $as_echo "$ac_ct_NMEDIT" >&6; }
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6812 $as_echo "no" >&6; }
6815 if test "x$ac_ct_NMEDIT" = x
; then
6818 case $cross_compiling:$ac_tool_warned in
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6821 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6822 ac_tool_warned
=yes ;;
6824 NMEDIT
=$ac_ct_NMEDIT
6827 NMEDIT
="$ac_cv_prog_NMEDIT"
6830 if test -n "$ac_tool_prefix"; then
6831 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6832 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6834 $as_echo_n "checking for $ac_word... " >&6; }
6835 if test "${ac_cv_prog_LIPO+set}" = set; then :
6836 $as_echo_n "(cached) " >&6
6838 if test -n "$LIPO"; then
6839 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
6841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6845 test -z "$as_dir" && as_dir
=.
6846 for ac_exec_ext
in '' $ac_executable_extensions; do
6847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6848 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
6849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6858 LIPO
=$ac_cv_prog_LIPO
6859 if test -n "$LIPO"; then
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6861 $as_echo "$LIPO" >&6; }
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6864 $as_echo "no" >&6; }
6869 if test -z "$ac_cv_prog_LIPO"; then
6871 # Extract the first word of "lipo", so it can be a program name with args.
6872 set dummy lipo
; ac_word
=$2
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6874 $as_echo_n "checking for $ac_word... " >&6; }
6875 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6876 $as_echo_n "(cached) " >&6
6878 if test -n "$ac_ct_LIPO"; then
6879 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
6881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6885 test -z "$as_dir" && as_dir
=.
6886 for ac_exec_ext
in '' $ac_executable_extensions; do
6887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6888 ac_cv_prog_ac_ct_LIPO
="lipo"
6889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6898 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
6899 if test -n "$ac_ct_LIPO"; then
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6901 $as_echo "$ac_ct_LIPO" >&6; }
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6904 $as_echo "no" >&6; }
6907 if test "x$ac_ct_LIPO" = x
; then
6910 case $cross_compiling:$ac_tool_warned in
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6913 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6914 ac_tool_warned
=yes ;;
6919 LIPO
="$ac_cv_prog_LIPO"
6922 if test -n "$ac_tool_prefix"; then
6923 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6924 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6926 $as_echo_n "checking for $ac_word... " >&6; }
6927 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6928 $as_echo_n "(cached) " >&6
6930 if test -n "$OTOOL"; then
6931 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
6933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6937 test -z "$as_dir" && as_dir
=.
6938 for ac_exec_ext
in '' $ac_executable_extensions; do
6939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6940 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
6941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6950 OTOOL
=$ac_cv_prog_OTOOL
6951 if test -n "$OTOOL"; then
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6953 $as_echo "$OTOOL" >&6; }
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6956 $as_echo "no" >&6; }
6961 if test -z "$ac_cv_prog_OTOOL"; then
6963 # Extract the first word of "otool", so it can be a program name with args.
6964 set dummy otool
; ac_word
=$2
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6966 $as_echo_n "checking for $ac_word... " >&6; }
6967 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6968 $as_echo_n "(cached) " >&6
6970 if test -n "$ac_ct_OTOOL"; then
6971 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
6973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6977 test -z "$as_dir" && as_dir
=.
6978 for ac_exec_ext
in '' $ac_executable_extensions; do
6979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6980 ac_cv_prog_ac_ct_OTOOL
="otool"
6981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6990 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
6991 if test -n "$ac_ct_OTOOL"; then
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6993 $as_echo "$ac_ct_OTOOL" >&6; }
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6996 $as_echo "no" >&6; }
6999 if test "x$ac_ct_OTOOL" = x
; then
7002 case $cross_compiling:$ac_tool_warned in
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7005 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7006 ac_tool_warned
=yes ;;
7011 OTOOL
="$ac_cv_prog_OTOOL"
7014 if test -n "$ac_tool_prefix"; then
7015 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7016 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7018 $as_echo_n "checking for $ac_word... " >&6; }
7019 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7020 $as_echo_n "(cached) " >&6
7022 if test -n "$OTOOL64"; then
7023 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7029 test -z "$as_dir" && as_dir
=.
7030 for ac_exec_ext
in '' $ac_executable_extensions; do
7031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7032 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7042 OTOOL64
=$ac_cv_prog_OTOOL64
7043 if test -n "$OTOOL64"; then
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7045 $as_echo "$OTOOL64" >&6; }
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7048 $as_echo "no" >&6; }
7053 if test -z "$ac_cv_prog_OTOOL64"; then
7054 ac_ct_OTOOL64
=$OTOOL64
7055 # Extract the first word of "otool64", so it can be a program name with args.
7056 set dummy otool64
; ac_word
=$2
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7058 $as_echo_n "checking for $ac_word... " >&6; }
7059 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7060 $as_echo_n "(cached) " >&6
7062 if test -n "$ac_ct_OTOOL64"; then
7063 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7069 test -z "$as_dir" && as_dir
=.
7070 for ac_exec_ext
in '' $ac_executable_extensions; do
7071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7072 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7082 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7083 if test -n "$ac_ct_OTOOL64"; then
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7085 $as_echo "$ac_ct_OTOOL64" >&6; }
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7088 $as_echo "no" >&6; }
7091 if test "x$ac_ct_OTOOL64" = x
; then
7094 case $cross_compiling:$ac_tool_warned in
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7097 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7098 ac_tool_warned
=yes ;;
7100 OTOOL64
=$ac_ct_OTOOL64
7103 OTOOL64
="$ac_cv_prog_OTOOL64"
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7133 $as_echo_n "checking for -single_module linker flag... " >&6; }
7134 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7135 $as_echo_n "(cached) " >&6
7137 lt_cv_apple_cc_single_mod
=no
7138 if test -z "${LT_MULTI_MODULE}"; then
7139 # By default we will add the -single_module flag. You can override
7140 # by either setting the environment variable LT_MULTI_MODULE
7141 # non-empty at configure time, or by adding -multi_module to the
7143 rm -rf libconftest.dylib
*
7144 echo "int foo(void){return 1;}" > conftest.c
7145 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7146 -dynamiclib -Wl,-single_module conftest.c" >&5
7147 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7148 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7150 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
7151 lt_cv_apple_cc_single_mod
=yes
7153 cat conftest.err
>&5
7155 rm -rf libconftest.dylib
*
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7160 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7162 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7163 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7164 $as_echo_n "(cached) " >&6
7166 lt_cv_ld_exported_symbols_list
=no
7167 save_LDFLAGS
=$LDFLAGS
7168 echo "_main" > conftest.sym
7169 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7171 /* end confdefs.h. */
7181 if ac_fn_c_try_link
"$LINENO"; then :
7182 lt_cv_ld_exported_symbols_list
=yes
7184 lt_cv_ld_exported_symbols_list
=no
7186 rm -f core conftest.err conftest.
$ac_objext \
7187 conftest
$ac_exeext conftest.
$ac_ext
7188 LDFLAGS
="$save_LDFLAGS"
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7192 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7194 $as_echo_n "checking for -force_load linker flag... " >&6; }
7195 if test "${lt_cv_ld_force_load+set}" = set; then :
7196 $as_echo_n "(cached) " >&6
7198 lt_cv_ld_force_load
=no
7199 cat > conftest.c
<< _LT_EOF
7200 int forced_loaded() { return 2;}
7202 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7203 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7204 echo "$AR cru libconftest.a conftest.o" >&5
7205 $AR cru libconftest.a conftest.o
2>&5
7206 cat > conftest.c
<< _LT_EOF
7207 int main() { return 0;}
7209 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7210 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7212 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
7213 lt_cv_ld_force_load
=yes
7215 cat conftest.err
>&5
7217 rm -f conftest.err libconftest.a conftest conftest.c
7218 rm -rf conftest.dSYM
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7222 $as_echo "$lt_cv_ld_force_load" >&6; }
7224 rhapsody
* | darwin1.
[012])
7225 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7227 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7228 darwin
*) # darwin 5.x on
7229 # if running on 10.5 or later, the deployment target defaults
7230 # to the OS version, if on x86, and 10.4, the deployment
7231 # target defaults to 10.4. Don't you love it?
7232 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7233 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
7234 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7236 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7238 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7242 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7243 _lt_dar_single_mod
='$single_module'
7245 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7246 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7248 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7250 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7251 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7259 ac_cpp
='$CPP $CPPFLAGS'
7260 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7261 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7262 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7264 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7265 # On Suns, sometimes $CPP names a directory.
7266 if test -n "$CPP" && test -d "$CPP"; then
7269 if test -z "$CPP"; then
7270 if test "${ac_cv_prog_CPP+set}" = set; then :
7271 $as_echo_n "(cached) " >&6
7273 # Double quotes because CPP needs to be expanded
7274 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7277 for ac_c_preproc_warn_flag
in '' yes
7279 # Use a header file that comes with gcc, so configuring glibc
7280 # with a fresh cross-compiler works.
7281 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7282 # <limits.h> exists even on freestanding compilers.
7283 # On the NeXT, cc -E runs the code through the compiler's parser,
7284 # not just through cpp. "Syntax error" is here to catch this case.
7285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7286 /* end confdefs.h. */
7288 # include <limits.h>
7290 # include <assert.h>
7294 if ac_fn_c_try_cpp
"$LINENO"; then :
7297 # Broken: fails on valid input.
7300 rm -f conftest.err conftest.
$ac_ext
7302 # OK, works on sane cases. Now check whether nonexistent headers
7303 # can be detected and how.
7304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7305 /* end confdefs.h. */
7306 #include <ac_nonexistent.h>
7308 if ac_fn_c_try_cpp
"$LINENO"; then :
7309 # Broken: success on invalid input.
7312 # Passes both tests.
7316 rm -f conftest.err conftest.
$ac_ext
7319 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7320 rm -f conftest.err conftest.
$ac_ext
7321 if $ac_preproc_ok; then :
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7334 $as_echo "$CPP" >&6; }
7336 for ac_c_preproc_warn_flag
in '' yes
7338 # Use a header file that comes with gcc, so configuring glibc
7339 # with a fresh cross-compiler works.
7340 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7341 # <limits.h> exists even on freestanding compilers.
7342 # On the NeXT, cc -E runs the code through the compiler's parser,
7343 # not just through cpp. "Syntax error" is here to catch this case.
7344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7345 /* end confdefs.h. */
7347 # include <limits.h>
7349 # include <assert.h>
7353 if ac_fn_c_try_cpp
"$LINENO"; then :
7356 # Broken: fails on valid input.
7359 rm -f conftest.err conftest.
$ac_ext
7361 # OK, works on sane cases. Now check whether nonexistent headers
7362 # can be detected and how.
7363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7364 /* end confdefs.h. */
7365 #include <ac_nonexistent.h>
7367 if ac_fn_c_try_cpp
"$LINENO"; then :
7368 # Broken: success on invalid input.
7371 # Passes both tests.
7375 rm -f conftest.err conftest.
$ac_ext
7378 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7379 rm -f conftest.err conftest.
$ac_ext
7380 if $ac_preproc_ok; then :
7383 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7385 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
7386 See \`config.log' for more details." "$LINENO" 5; }
7390 ac_cpp
='$CPP $CPPFLAGS'
7391 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7392 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7393 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7397 $as_echo_n "checking for ANSI C header files... " >&6; }
7398 if test "${ac_cv_header_stdc+set}" = set; then :
7399 $as_echo_n "(cached) " >&6
7401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7402 /* end confdefs.h. */
7416 if ac_fn_c_try_compile
"$LINENO"; then :
7417 ac_cv_header_stdc
=yes
7419 ac_cv_header_stdc
=no
7421 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7423 if test $ac_cv_header_stdc = yes; then
7424 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7426 /* end confdefs.h. */
7430 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7431 $EGREP "memchr" >/dev
/null
2>&1; then :
7434 ac_cv_header_stdc
=no
7440 if test $ac_cv_header_stdc = yes; then
7441 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7443 /* end confdefs.h. */
7447 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7448 $EGREP "free" >/dev
/null
2>&1; then :
7451 ac_cv_header_stdc
=no
7457 if test $ac_cv_header_stdc = yes; then
7458 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7459 if test "$cross_compiling" = yes; then :
7462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7463 /* end confdefs.h. */
7466 #if ((' ' & 0x0FF) == 0x020)
7467 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7468 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7470 # define ISLOWER(c) \
7471 (('a' <= (c) && (c) <= 'i') \
7472 || ('j' <= (c) && (c) <= 'r') \
7473 || ('s' <= (c) && (c) <= 'z'))
7474 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7477 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7482 for (i = 0; i < 256; i++)
7483 if (XOR (islower (i), ISLOWER (i))
7484 || toupper (i) != TOUPPER (i))
7489 if ac_fn_c_try_run
"$LINENO"; then :
7492 ac_cv_header_stdc
=no
7494 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7495 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7501 $as_echo "$ac_cv_header_stdc" >&6; }
7502 if test $ac_cv_header_stdc = yes; then
7504 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7508 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7509 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7510 inttypes.h stdint.h unistd.h
7512 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7513 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7515 eval as_val
=\$
$as_ac_Header
7516 if test "x$as_val" = x
""yes; then :
7517 cat >>confdefs.h
<<_ACEOF
7518 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7526 for ac_header
in dlfcn.h
7528 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7530 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7531 cat >>confdefs.h
<<_ACEOF
7532 #define HAVE_DLFCN_H 1
7539 if test -n "$ac_tool_prefix"; then
7540 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
7541 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7543 $as_echo_n "checking for $ac_word... " >&6; }
7544 if test "${ac_cv_prog_GOC+set}" = set; then :
7545 $as_echo_n "(cached) " >&6
7547 if test -n "$GOC"; then
7548 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
7550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7554 test -z "$as_dir" && as_dir
=.
7555 for ac_exec_ext
in '' $ac_executable_extensions; do
7556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7557 ac_cv_prog_GOC
="${ac_tool_prefix}gccgo"
7558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7568 if test -n "$GOC"; then
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
7570 $as_echo "$GOC" >&6; }
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7573 $as_echo "no" >&6; }
7578 if test -z "$ac_cv_prog_GOC"; then
7580 # Extract the first word of "gccgo", so it can be a program name with args.
7581 set dummy gccgo
; ac_word
=$2
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7583 $as_echo_n "checking for $ac_word... " >&6; }
7584 if test "${ac_cv_prog_ac_ct_GOC+set}" = set; then :
7585 $as_echo_n "(cached) " >&6
7587 if test -n "$ac_ct_GOC"; then
7588 ac_cv_prog_ac_ct_GOC
="$ac_ct_GOC" # Let the user override the test.
7590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7594 test -z "$as_dir" && as_dir
=.
7595 for ac_exec_ext
in '' $ac_executable_extensions; do
7596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7597 ac_cv_prog_ac_ct_GOC
="gccgo"
7598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7607 ac_ct_GOC
=$ac_cv_prog_ac_ct_GOC
7608 if test -n "$ac_ct_GOC"; then
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
7610 $as_echo "$ac_ct_GOC" >&6; }
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7613 $as_echo "no" >&6; }
7616 if test "x$ac_ct_GOC" = x
; then
7619 case $cross_compiling:$ac_tool_warned in
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7622 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7623 ac_tool_warned
=yes ;;
7628 GOC
="$ac_cv_prog_GOC"
7644 # Check whether --enable-shared was given.
7645 if test "${enable_shared+set}" = set; then :
7646 enableval
=$enable_shared; p
=${PACKAGE-default}
7648 yes) enable_shared
=yes ;;
7649 no
) enable_shared
=no
;;
7652 # Look at the argument we got. We use all the common list separators.
7653 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7654 for pkg
in $enableval; do
7656 if test "X$pkg" = "X$p"; then
7675 # Check whether --enable-static was given.
7676 if test "${enable_static+set}" = set; then :
7677 enableval
=$enable_static; p
=${PACKAGE-default}
7679 yes) enable_static
=yes ;;
7680 no
) enable_static
=no
;;
7683 # Look at the argument we got. We use all the common list separators.
7684 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7685 for pkg
in $enableval; do
7687 if test "X$pkg" = "X$p"; then
7707 # Check whether --with-pic was given.
7708 if test "${with_pic+set}" = set; then :
7709 withval
=$with_pic; pic_mode
="$withval"
7715 test -z "$pic_mode" && pic_mode
=default
7723 # Check whether --enable-fast-install was given.
7724 if test "${enable_fast_install+set}" = set; then :
7725 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7727 yes) enable_fast_install
=yes ;;
7728 no
) enable_fast_install
=no
;;
7730 enable_fast_install
=no
7731 # Look at the argument we got. We use all the common list separators.
7732 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7733 for pkg
in $enableval; do
7735 if test "X$pkg" = "X$p"; then
7736 enable_fast_install
=yes
7743 enable_fast_install
=yes
7756 # This can be used to rebuild libtool when needed
7757 LIBTOOL_DEPS
="$ltmain"
7759 # Always use our own libtool.
7760 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7787 test -z "$LN_S" && LN_S
="ln -s"
7802 if test -n "${ZSH_VERSION+set}" ; then
7803 setopt NO_GLOB_SUBST
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7807 $as_echo_n "checking for objdir... " >&6; }
7808 if test "${lt_cv_objdir+set}" = set; then :
7809 $as_echo_n "(cached) " >&6
7811 rm -f .libs
2>/dev
/null
7812 mkdir .libs
2>/dev
/null
7813 if test -d .libs
; then
7816 # MS-DOS does not allow filenames that begin with a dot.
7819 rmdir .libs
2>/dev
/null
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7822 $as_echo "$lt_cv_objdir" >&6; }
7823 objdir
=$lt_cv_objdir
7829 cat >>confdefs.h
<<_ACEOF
7830 #define LT_OBJDIR "$lt_cv_objdir/"
7838 # AIX sometimes has problems with the GCC collect2 program. For some
7839 # reason, if we set the COLLECT_NAMES environment variable, the problems
7840 # vanish in a puff of smoke.
7841 if test "X${COLLECT_NAMES+set}" != Xset
; then
7843 export COLLECT_NAMES
7850 can_build_shared
=yes
7852 # All known linkers require a `.a' archive for static linking (except MSVC,
7853 # which needs '.lib').
7856 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7859 old_CFLAGS
="$CFLAGS"
7861 # Set sane defaults for various variables
7862 test -z "$CC" && CC
=cc
7863 test -z "$LTCC" && LTCC
=$CC
7864 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7865 test -z "$LD" && LD
=ld
7866 test -z "$ac_objext" && ac_objext
=o
7868 for cc_temp
in $compiler""; do
7870 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7871 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7876 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7879 # Only perform the check for file, if the check method requires it
7880 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7881 case $deplibs_check_method in
7883 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7885 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7886 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7887 $as_echo_n "(cached) " >&6
7891 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7894 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7895 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7896 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7897 for ac_dir
in $ac_dummy; do
7899 test -z "$ac_dir" && ac_dir
=.
7900 if test -f $ac_dir/${ac_tool_prefix}file; then
7901 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7902 if test -n "$file_magic_test_file"; then
7903 case $deplibs_check_method in
7905 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7906 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7907 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7908 $EGREP "$file_magic_regex" > /dev
/null
; then
7913 *** Warning: the command libtool uses to detect shared libraries,
7914 *** $file_magic_cmd, produces output that libtool cannot recognize.
7915 *** The result is that libtool may fail to recognize shared libraries
7916 *** as such. This will affect the creation of libtool libraries that
7917 *** depend on shared libraries, but programs linked with such libtool
7918 *** libraries will work regardless of this problem. Nevertheless, you
7919 *** may want to report the problem to your system manager and/or to
7920 *** bug-libtool@gnu.org
7930 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7935 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7936 if test -n "$MAGIC_CMD"; then
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7938 $as_echo "$MAGIC_CMD" >&6; }
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7941 $as_echo "no" >&6; }
7948 if test -z "$lt_cv_path_MAGIC_CMD"; then
7949 if test -n "$ac_tool_prefix"; then
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7951 $as_echo_n "checking for file... " >&6; }
7952 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7953 $as_echo_n "(cached) " >&6
7957 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7960 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7961 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7962 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7963 for ac_dir
in $ac_dummy; do
7965 test -z "$ac_dir" && ac_dir
=.
7966 if test -f $ac_dir/file; then
7967 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7968 if test -n "$file_magic_test_file"; then
7969 case $deplibs_check_method in
7971 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7972 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7973 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7974 $EGREP "$file_magic_regex" > /dev
/null
; then
7979 *** Warning: the command libtool uses to detect shared libraries,
7980 *** $file_magic_cmd, produces output that libtool cannot recognize.
7981 *** The result is that libtool may fail to recognize shared libraries
7982 *** as such. This will affect the creation of libtool libraries that
7983 *** depend on shared libraries, but programs linked with such libtool
7984 *** libraries will work regardless of this problem. Nevertheless, you
7985 *** may want to report the problem to your system manager and/or to
7986 *** bug-libtool@gnu.org
7996 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8001 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8002 if test -n "$MAGIC_CMD"; then
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8004 $as_echo "$MAGIC_CMD" >&6; }
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8007 $as_echo "no" >&6; }
8020 # Use C for the default configuration in the libtool script
8024 ac_cpp
='$CPP $CPPFLAGS'
8025 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8026 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8027 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8030 # Source file extension for C test sources.
8033 # Object file extension for compiled C test sources.
8037 # Code to be used in simple compile tests
8038 lt_simple_compile_test_code
="int some_variable = 0;"
8040 # Code to be used in simple link tests
8041 lt_simple_link_test_code
='int main(){return(0);}'
8049 # If no C compiler was specified, use CC.
8052 # If no C compiler flags were specified, use CFLAGS.
8053 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8055 # Allow CC to be a program name with arguments.
8058 # Save the default compiler, since it gets overwritten when the other
8059 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8060 compiler_DEFAULT
=$CC
8062 # save warnings/boilerplate of simple test code
8063 ac_outfile
=conftest.
$ac_objext
8064 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8065 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8066 _lt_compiler_boilerplate
=`cat conftest.err`
8069 ac_outfile
=conftest.
$ac_objext
8070 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8071 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8072 _lt_linker_boilerplate
=`cat conftest.err`
8077 ## There is no encapsulation within the following macros, do not change
8078 ## the running order or otherwise move them around unless you know exactly
8079 ## what you are doing...
8080 if test -n "$compiler"; then
8082 lt_prog_compiler_no_builtin_flag
=
8084 if test "$GCC" = yes; then
8085 case $cc_basename in
8087 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8089 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8093 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8094 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8095 $as_echo_n "(cached) " >&6
8097 lt_cv_prog_compiler_rtti_exceptions
=no
8098 ac_outfile
=conftest.
$ac_objext
8099 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8100 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8101 # Insert the option either (1) after the last *FLAGS variable, or
8102 # (2) before a word containing "conftest.", or (3) at the end.
8103 # Note that $ac_compile itself does not contain backslashes and begins
8104 # with a dollar sign (not a hyphen), so the echo should work correctly.
8105 # The option is referenced via a variable to avoid confusing sed.
8106 lt_compile
=`echo "$ac_compile" | $SED \
8107 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8108 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8109 -e 's:$: $lt_compiler_flag:'`
8110 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8111 (eval "$lt_compile" 2>conftest.err
)
8113 cat conftest.err
>&5
8114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8115 if (exit $ac_status) && test -s "$ac_outfile"; then
8116 # The compiler can only warn and ignore the option if not recognized
8117 # So say no if there are warnings other than the usual output.
8118 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8119 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8120 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8121 lt_cv_prog_compiler_rtti_exceptions
=yes
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8128 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8130 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8131 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8143 lt_prog_compiler_wl
=
8144 lt_prog_compiler_pic
=
8145 lt_prog_compiler_static
=
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8148 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8150 if test "$GCC" = yes; then
8151 lt_prog_compiler_wl
='-Wl,'
8152 lt_prog_compiler_static
='-static'
8156 # All AIX code is PIC.
8157 if test "$host_cpu" = ia64
; then
8158 # AIX 5 now supports IA64 processor
8159 lt_prog_compiler_static
='-Bstatic'
8166 # see comment about AmigaOS4 .so support
8167 lt_prog_compiler_pic
='-fPIC'
8170 # FIXME: we need at least 68020 code to build shared libraries, but
8171 # adding the `-m68020' flag to GCC prevents building anything better,
8173 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8178 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8179 # PIC is the default for these OSes.
8182 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8183 # This hack is so that the source file can tell whether it is being
8184 # built for inclusion in a dll (and should export symbols for example).
8185 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8186 # (--disable-auto-import) libraries
8187 lt_prog_compiler_pic
='-DDLL_EXPORT'
8190 darwin
* | rhapsody
*)
8191 # PIC is the default on this platform
8192 # Common symbols not allowed in MH_DYLIB files
8193 lt_prog_compiler_pic
='-fno-common'
8197 # PIC is the default for Haiku.
8198 # The "-static" flag exists, but is broken.
8199 lt_prog_compiler_static
=
8203 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8204 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8205 # sets the default TLS model and affects inlining.
8211 lt_prog_compiler_pic
='-fPIC'
8217 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8218 # Instead, we relocate shared libraries at runtime.
8222 # Just because we use GCC doesn't mean we suddenly get shared libraries
8223 # on systems that don't support them.
8224 lt_prog_compiler_can_build_shared
=no
8229 # QNX uses GNU C++, but need to define -shared option too, otherwise
8231 lt_prog_compiler_pic
='-fPIC -shared'
8235 if test -d /usr
/nec
; then
8236 lt_prog_compiler_pic
=-Kconform_pic
8241 lt_prog_compiler_pic
='-fPIC'
8245 case $cc_basename in
8246 nvcc
*) # Cuda Compiler Driver 2.2
8247 lt_prog_compiler_wl
='-Xlinker '
8248 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8252 # PORTME Check for flag to pass linker flags through the system compiler.
8255 lt_prog_compiler_wl
='-Wl,'
8256 if test "$host_cpu" = ia64
; then
8257 # AIX 5 now supports IA64 processor
8258 lt_prog_compiler_static
='-Bstatic'
8260 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8264 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8265 # This hack is so that the source file can tell whether it is being
8266 # built for inclusion in a dll (and should export symbols for example).
8267 lt_prog_compiler_pic
='-DDLL_EXPORT'
8270 hpux9
* | hpux10
* | hpux11
*)
8271 lt_prog_compiler_wl
='-Wl,'
8272 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8279 lt_prog_compiler_pic
='+Z'
8282 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8283 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8286 irix5
* | irix6
* | nonstopux
*)
8287 lt_prog_compiler_wl
='-Wl,'
8288 # PIC (with -KPIC) is the default.
8289 lt_prog_compiler_static
='-non_shared'
8292 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8293 case $cc_basename in
8294 # old Intel for x86_64 which still supported -KPIC.
8296 lt_prog_compiler_wl
='-Wl,'
8297 lt_prog_compiler_pic
='-KPIC'
8298 lt_prog_compiler_static
='-static'
8300 # icc used to be incompatible with GCC.
8301 # ICC 10 doesn't accept -KPIC any more.
8303 lt_prog_compiler_wl
='-Wl,'
8304 lt_prog_compiler_pic
='-fPIC'
8305 lt_prog_compiler_static
='-static'
8307 # Lahey Fortran 8.1.
8309 lt_prog_compiler_wl
='-Wl,'
8310 lt_prog_compiler_pic
='--shared'
8311 lt_prog_compiler_static
='--static'
8313 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8314 # Portland Group compilers (*not* the Pentium gcc compiler,
8315 # which looks to be a dead project)
8316 lt_prog_compiler_wl
='-Wl,'
8317 lt_prog_compiler_pic
='-fpic'
8318 lt_prog_compiler_static
='-Bstatic'
8321 lt_prog_compiler_wl
='-Wl,'
8322 # All Alpha code is PIC.
8323 lt_prog_compiler_static
='-non_shared'
8325 xl
* | bgxl
* | bgf
* | mpixl
*)
8326 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8327 lt_prog_compiler_wl
='-Wl,'
8328 lt_prog_compiler_pic
='-qpic'
8329 lt_prog_compiler_static
='-qstaticlink'
8332 case `$CC -V 2>&1 | sed 5q` in
8333 *Sun\ F
* |
*Sun
*Fortran
*)
8334 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8335 lt_prog_compiler_pic
='-KPIC'
8336 lt_prog_compiler_static
='-Bstatic'
8337 lt_prog_compiler_wl
=''
8341 lt_prog_compiler_pic
='-KPIC'
8342 lt_prog_compiler_static
='-Bstatic'
8343 lt_prog_compiler_wl
='-Wl,'
8351 lt_prog_compiler_pic
='-KPIC'
8352 lt_prog_compiler_static
='-Bstatic'
8356 # QNX uses GNU C++, but need to define -shared option too, otherwise
8358 lt_prog_compiler_pic
='-fPIC -shared'
8361 osf3
* | osf4
* | osf5
*)
8362 lt_prog_compiler_wl
='-Wl,'
8363 # All OSF/1 code is PIC.
8364 lt_prog_compiler_static
='-non_shared'
8368 lt_prog_compiler_static
='-non_shared'
8372 lt_prog_compiler_pic
='-KPIC'
8373 lt_prog_compiler_static
='-Bstatic'
8374 case $cc_basename in
8376 lt_prog_compiler_wl
='-Qoption ld ';;
8378 lt_prog_compiler_wl
='-Wl,';;
8383 lt_prog_compiler_wl
='-Qoption ld '
8384 lt_prog_compiler_pic
='-PIC'
8385 lt_prog_compiler_static
='-Bstatic'
8388 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8389 lt_prog_compiler_wl
='-Wl,'
8390 lt_prog_compiler_pic
='-KPIC'
8391 lt_prog_compiler_static
='-Bstatic'
8395 if test -d /usr
/nec
;then
8396 lt_prog_compiler_pic
='-Kconform_pic'
8397 lt_prog_compiler_static
='-Bstatic'
8401 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8402 lt_prog_compiler_wl
='-Wl,'
8403 lt_prog_compiler_pic
='-KPIC'
8404 lt_prog_compiler_static
='-Bstatic'
8408 lt_prog_compiler_wl
='-Wl,'
8409 lt_prog_compiler_can_build_shared
=no
8413 lt_prog_compiler_pic
='-pic'
8414 lt_prog_compiler_static
='-Bstatic'
8418 lt_prog_compiler_can_build_shared
=no
8424 # For platforms which do not support PIC, -DPIC is meaningless:
8426 lt_prog_compiler_pic
=
8429 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8433 $as_echo "$lt_prog_compiler_pic" >&6; }
8441 # Check to make sure the PIC flag actually works.
8443 if test -n "$lt_prog_compiler_pic"; then
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8445 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8446 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8447 $as_echo_n "(cached) " >&6
8449 lt_cv_prog_compiler_pic_works
=no
8450 ac_outfile
=conftest.
$ac_objext
8451 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8452 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8453 # Insert the option either (1) after the last *FLAGS variable, or
8454 # (2) before a word containing "conftest.", or (3) at the end.
8455 # Note that $ac_compile itself does not contain backslashes and begins
8456 # with a dollar sign (not a hyphen), so the echo should work correctly.
8457 # The option is referenced via a variable to avoid confusing sed.
8458 lt_compile
=`echo "$ac_compile" | $SED \
8459 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8460 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8461 -e 's:$: $lt_compiler_flag:'`
8462 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8463 (eval "$lt_compile" 2>conftest.err
)
8465 cat conftest.err
>&5
8466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8467 if (exit $ac_status) && test -s "$ac_outfile"; then
8468 # The compiler can only warn and ignore the option if not recognized
8469 # So say no if there are warnings other than the usual output.
8470 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8471 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8472 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8473 lt_cv_prog_compiler_pic_works
=yes
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8480 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8482 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8483 case $lt_prog_compiler_pic in
8485 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8488 lt_prog_compiler_pic
=
8489 lt_prog_compiler_can_build_shared
=no
8500 # Check to make sure the static flag actually works.
8502 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8504 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8505 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8506 $as_echo_n "(cached) " >&6
8508 lt_cv_prog_compiler_static_works
=no
8509 save_LDFLAGS
="$LDFLAGS"
8510 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8511 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8512 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8513 # The linker can only warn and ignore the option if not recognized
8514 # So say no if there are warnings
8515 if test -s conftest.err
; then
8516 # Append any errors to the config.log.
8517 cat conftest.err
1>&5
8518 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8519 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8520 if diff conftest.exp conftest.er2
>/dev
/null
; then
8521 lt_cv_prog_compiler_static_works
=yes
8524 lt_cv_prog_compiler_static_works
=yes
8528 LDFLAGS
="$save_LDFLAGS"
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8532 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8534 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8537 lt_prog_compiler_static
=
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8547 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8548 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8549 $as_echo_n "(cached) " >&6
8551 lt_cv_prog_compiler_c_o
=no
8552 $RM -r conftest
2>/dev
/null
8556 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8558 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8559 # Insert the option either (1) after the last *FLAGS variable, or
8560 # (2) before a word containing "conftest.", or (3) at the end.
8561 # Note that $ac_compile itself does not contain backslashes and begins
8562 # with a dollar sign (not a hyphen), so the echo should work correctly.
8563 lt_compile
=`echo "$ac_compile" | $SED \
8564 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8565 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8566 -e 's:$: $lt_compiler_flag:'`
8567 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8568 (eval "$lt_compile" 2>out
/conftest.err
)
8570 cat out
/conftest.err
>&5
8571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8572 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8574 # The compiler can only warn and ignore the option if not recognized
8575 # So say no if there are warnings
8576 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8577 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8578 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8579 lt_cv_prog_compiler_c_o
=yes
8584 # SGI C++ compiler will create directory out/ii_files/ for
8585 # template instantiation
8586 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8587 $RM out
/* && rmdir out
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8594 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8602 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8603 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8604 $as_echo_n "(cached) " >&6
8606 lt_cv_prog_compiler_c_o
=no
8607 $RM -r conftest
2>/dev
/null
8611 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8613 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8614 # Insert the option either (1) after the last *FLAGS variable, or
8615 # (2) before a word containing "conftest.", or (3) at the end.
8616 # Note that $ac_compile itself does not contain backslashes and begins
8617 # with a dollar sign (not a hyphen), so the echo should work correctly.
8618 lt_compile
=`echo "$ac_compile" | $SED \
8619 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8620 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8621 -e 's:$: $lt_compiler_flag:'`
8622 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8623 (eval "$lt_compile" 2>out
/conftest.err
)
8625 cat out
/conftest.err
>&5
8626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8627 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8629 # The compiler can only warn and ignore the option if not recognized
8630 # So say no if there are warnings
8631 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8632 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8633 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8634 lt_cv_prog_compiler_c_o
=yes
8639 # SGI C++ compiler will create directory out/ii_files/ for
8640 # template instantiation
8641 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8642 $RM out
/* && rmdir out
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8649 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8654 hard_links
="nottested"
8655 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8656 # do not overwrite the value of need_locks provided by the user
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8658 $as_echo_n "checking if we can lock with hard links... " >&6; }
8661 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8663 ln conftest.a conftest.b
2>&5 || hard_links
=no
8664 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8666 $as_echo "$hard_links" >&6; }
8667 if test "$hard_links" = no
; then
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8669 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8682 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8685 allow_undefined_flag
=
8686 always_export_symbols
=no
8688 archive_expsym_cmds
=
8689 compiler_needs_object
=no
8690 enable_shared_with_static_runtimes
=no
8691 export_dynamic_flag_spec
=
8692 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8693 hardcode_automatic
=no
8695 hardcode_direct_absolute
=no
8696 hardcode_libdir_flag_spec
=
8697 hardcode_libdir_flag_spec_ld
=
8698 hardcode_libdir_separator
=
8700 hardcode_shlibpath_var
=unsupported
8702 link_all_deplibs
=unknown
8705 old_archive_from_new_cmds
=
8706 old_archive_from_expsyms_cmds
=
8707 thread_safe_flag_spec
=
8708 whole_archive_flag_spec
=
8709 # include_expsyms should be a list of space-separated symbols to be *always*
8710 # included in the symbol list
8712 # exclude_expsyms can be an extended regexp of symbols to exclude
8713 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8714 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8715 # as well as any symbol that contains `d'.
8716 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8717 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8718 # platforms (ab)use it in PIC code, but their linkers get confused if
8719 # the symbol is explicitly referenced. Since portable code cannot
8720 # rely on this symbol name, it's probably fine to never include it in
8721 # preloaded symbol tables.
8722 # Exclude shared library initialization/finalization symbols.
8723 extract_expsyms_cmds
=
8726 cygwin
* | mingw
* | pw32
* | cegcc
*)
8727 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8728 # When not using gcc, we currently assume that we are using
8729 # Microsoft Visual C++.
8730 if test "$GCC" != yes; then
8735 # we just hope/assume this is gcc and not c89 (= MSVC++)
8745 # On some targets, GNU ld is compatible enough with the native linker
8746 # that we're better off using the native interface for both.
8747 lt_use_gnu_ld_interface
=no
8748 if test "$with_gnu_ld" = yes; then
8751 # The AIX port of GNU ld has always aspired to compatibility
8752 # with the native linker. However, as the warning in the GNU ld
8753 # block says, versions before 2.19.5* couldn't really create working
8754 # shared libraries, regardless of the interface used.
8755 case `$LD -v 2>&1` in
8756 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8757 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8758 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8760 lt_use_gnu_ld_interface
=yes
8765 lt_use_gnu_ld_interface
=yes
8770 if test "$lt_use_gnu_ld_interface" = yes; then
8771 # If archive_cmds runs LD, not CC, wlarc should be empty
8774 # Set some defaults for GNU ld with shared library support. These
8775 # are reset later if shared libraries are not supported. Putting them
8776 # here allows them to be overridden if necessary.
8777 runpath_var
=LD_RUN_PATH
8778 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8779 export_dynamic_flag_spec
='${wl}--export-dynamic'
8780 # ancient GNU ld didn't support --whole-archive et. al.
8781 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8782 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8784 whole_archive_flag_spec
=
8786 supports_anon_versioning
=no
8787 case `$LD -v 2>&1` in
8788 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8789 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8790 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8791 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8792 *\
2.11.
*) ;; # other 2.11 versions
8793 *) supports_anon_versioning
=yes ;;
8796 # See if GNU ld supports shared libraries.
8799 # On AIX/PPC, the GNU linker is very broken
8800 if test "$host_cpu" != ia64
; then
8804 *** Warning: the GNU linker, at least up to release 2.19, is reported
8805 *** to be unable to reliably create shared libraries on AIX.
8806 *** Therefore, libtool is disabling shared libraries support. If you
8807 *** really care for shared libraries, you may want to install binutils
8808 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8809 *** You will then need to restart the configuration process.
8818 # see comment about AmigaOS4 .so support
8819 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8820 archive_expsym_cmds
=''
8823 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)'
8824 hardcode_libdir_flag_spec
='-L$libdir'
8825 hardcode_minus_L
=yes
8831 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8832 allow_undefined_flag
=unsupported
8833 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8834 # support --undefined. This deserves some investigation. FIXME
8835 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8841 cygwin
* | mingw
* | pw32
* | cegcc
*)
8842 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8843 # as there is no search path for DLLs.
8844 hardcode_libdir_flag_spec
='-L$libdir'
8845 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8846 allow_undefined_flag
=unsupported
8847 always_export_symbols
=no
8848 enable_shared_with_static_runtimes
=yes
8849 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8851 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8852 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8853 # If the export-symbols file already is a .def file (1st line
8854 # is EXPORTS), use it as is; otherwise, prepend...
8855 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8856 cp $export_symbols $output_objdir/$soname.def;
8858 echo EXPORTS > $output_objdir/$soname.def;
8859 cat $export_symbols >> $output_objdir/$soname.def;
8861 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8868 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8869 link_all_deplibs
=yes
8874 hardcode_shlibpath_var
=no
8875 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8876 export_dynamic_flag_spec
='${wl}-E'
8877 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8878 # Instead, shared libraries are loaded at an image base (0x10000000 by
8879 # default) and relocated if they conflict, which is a slow very memory
8880 # consuming and fragmenting process. To avoid this, we pick a random,
8881 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8882 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8883 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8884 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'
8887 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8889 if test "$host_os" = linux-dietlibc
; then
8890 case $cc_basename in
8891 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8894 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8895 && test "$tmp_diet" = no
8898 tmp_sharedflag
='-shared'
8899 case $cc_basename,$host_cpu in
8900 pgcc
*) # Portland Group C compiler
8901 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'
8902 tmp_addflag
=' $pic_flag'
8904 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8905 # Portland Group f77 and f90 compilers
8906 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'
8907 tmp_addflag
=' $pic_flag -Mnomain' ;;
8908 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8909 tmp_addflag
=' -i_dynamic' ;;
8910 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8911 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8912 ifc
* | ifort
*) # Intel Fortran compiler
8913 tmp_addflag
=' -nofor_main' ;;
8914 lf95
*) # Lahey Fortran 8.1
8915 whole_archive_flag_spec
=
8916 tmp_sharedflag
='--shared' ;;
8917 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8918 tmp_sharedflag
='-qmkshrobj'
8920 nvcc
*) # Cuda Compiler Driver 2.2
8921 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'
8922 compiler_needs_object
=yes
8925 case `$CC -V 2>&1 | sed 5q` in
8926 *Sun\ C
*) # Sun C 5.9
8927 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'
8928 compiler_needs_object
=yes
8929 tmp_sharedflag
='-G' ;;
8930 *Sun\ F
*) # Sun Fortran 8.3
8931 tmp_sharedflag
='-G' ;;
8933 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8935 if test "x$supports_anon_versioning" = xyes
; then
8936 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8937 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8938 echo "local: *; };" >> $output_objdir/$libname.ver~
8939 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8942 case $cc_basename in
8943 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8944 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8945 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8946 hardcode_libdir_flag_spec
=
8947 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8948 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8949 if test "x$supports_anon_versioning" = xyes
; then
8950 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8951 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8952 echo "local: *; };" >> $output_objdir/$libname.ver~
8953 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8963 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8964 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8967 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8968 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8973 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8977 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8978 *** create shared libraries on Solaris systems. Therefore, libtool
8979 *** is disabling shared libraries support. We urge you to upgrade GNU
8980 *** binutils to release 2.9.1 or newer. Another option is to modify
8981 *** your PATH or compiler configuration so that the native linker is
8982 *** used, and then restart.
8985 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8986 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8987 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8993 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8994 case `$LD -v 2>&1` in
8995 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8999 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9000 *** reliably create shared libraries on SCO systems. Therefore, libtool
9001 *** is disabling shared libraries support. We urge you to upgrade GNU
9002 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9003 *** your PATH or compiler configuration so that the native linker is
9004 *** used, and then restart.
9009 # For security reasons, it is highly recommended that you always
9010 # use absolute paths for naming shared libraries, and exclude the
9011 # DT_RUNPATH tag from executables and libraries. But doing so
9012 # requires that you compile everything twice, which is a pain.
9013 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9014 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9015 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9016 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9025 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9028 hardcode_shlibpath_var
=no
9032 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9033 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9034 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9041 if test "$ld_shlibs" = no
; then
9043 hardcode_libdir_flag_spec
=
9044 export_dynamic_flag_spec
=
9045 whole_archive_flag_spec
=
9048 # PORTME fill in a description of your system's linker (not GNU ld)
9051 allow_undefined_flag
=unsupported
9052 always_export_symbols
=yes
9053 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'
9054 # Note: this linker hardcodes the directories in LIBPATH if there
9055 # are no directories specified by -L.
9056 hardcode_minus_L
=yes
9057 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9058 # Neither direct hardcoding nor static linking is supported with a
9060 hardcode_direct
=unsupported
9065 if test "$host_cpu" = ia64
; then
9066 # On IA64, the linker does run time linking by default, so we don't
9067 # have to do anything special.
9068 aix_use_runtimelinking
=no
9069 exp_sym_flag
='-Bexport'
9072 # If we're using GNU nm, then we don't want the "-C" option.
9073 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9074 # Also, AIX nm treats weak defined symbols like other global
9075 # defined symbols, whereas GNU nm marks them as "W".
9076 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9077 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'
9079 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'
9081 aix_use_runtimelinking
=no
9083 # Test if we are trying to use run time linking or normal
9084 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9085 # need to do runtime linking.
9086 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9087 for ld_flag
in $LDFLAGS; do
9088 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9089 aix_use_runtimelinking
=yes
9096 exp_sym_flag
='-bexport'
9097 no_entry_flag
='-bnoentry'
9100 # When large executables or shared objects are built, AIX ld can
9101 # have problems creating the table of contents. If linking a library
9102 # or program results in "error TOC overflow" add -mminimal-toc to
9103 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9104 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9108 hardcode_direct_absolute
=yes
9109 hardcode_libdir_separator
=':'
9110 link_all_deplibs
=yes
9111 file_list_spec
='${wl}-f,'
9113 if test "$GCC" = yes; then
9114 case $host_os in aix4.
[012]|aix4.
[012].
*)
9115 # We only want to do this on AIX 4.2 and lower, the check
9116 # below for broken collect2 doesn't work under 4.3+
9117 collect2name
=`${CC} -print-prog-name=collect2`
9118 if test -f "$collect2name" &&
9119 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9121 # We have reworked collect2
9124 # We have old collect2
9125 hardcode_direct
=unsupported
9126 # It fails to find uninstalled libraries when the uninstalled
9127 # path is not listed in the libpath. Setting hardcode_minus_L
9128 # to unsupported forces relinking
9129 hardcode_minus_L
=yes
9130 hardcode_libdir_flag_spec
='-L$libdir'
9131 hardcode_libdir_separator
=
9135 shared_flag
='-shared'
9136 if test "$aix_use_runtimelinking" = yes; then
9137 shared_flag
="$shared_flag "'${wl}-G'
9141 if test "$host_cpu" = ia64
; then
9142 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9143 # chokes on -Wl,-G. The following line is correct:
9146 if test "$aix_use_runtimelinking" = yes; then
9147 shared_flag
='${wl}-G'
9149 shared_flag
='${wl}-bM:SRE'
9154 export_dynamic_flag_spec
='${wl}-bexpall'
9155 # It seems that -bexpall does not export symbols beginning with
9156 # underscore (_), so it is better to generate a list of symbols to export.
9157 always_export_symbols
=yes
9158 if test "$aix_use_runtimelinking" = yes; then
9159 # Warning - without using the other runtime loading flags (-brtl),
9160 # -berok will link without error, but may produce a broken library.
9161 allow_undefined_flag
='-berok'
9162 # Determine the default libpath from the value encoded in an
9164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9165 /* end confdefs.h. */
9175 if ac_fn_c_try_link
"$LINENO"; then :
9177 lt_aix_libpath_sed
='
9178 /Import File Strings/,/^$/ {
9184 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9185 # Check for a 64-bit object if we didn't find anything.
9186 if test -z "$aix_libpath"; then
9187 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9190 rm -f core conftest.err conftest.
$ac_objext \
9191 conftest
$ac_exeext conftest.
$ac_ext
9192 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9194 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9195 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"
9197 if test "$host_cpu" = ia64
; then
9198 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9199 allow_undefined_flag
="-z nodefs"
9200 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"
9202 # Determine the default libpath from the value encoded in an
9204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9205 /* end confdefs.h. */
9215 if ac_fn_c_try_link
"$LINENO"; then :
9217 lt_aix_libpath_sed
='
9218 /Import File Strings/,/^$/ {
9224 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9225 # Check for a 64-bit object if we didn't find anything.
9226 if test -z "$aix_libpath"; then
9227 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9230 rm -f core conftest.err conftest.
$ac_objext \
9231 conftest
$ac_exeext conftest.
$ac_ext
9232 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9234 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9235 # Warning - without using the other run time loading flags,
9236 # -berok will link without error, but may produce a broken library.
9237 no_undefined_flag
=' ${wl}-bernotok'
9238 allow_undefined_flag
=' ${wl}-berok'
9239 if test "$with_gnu_ld" = yes; then
9240 # We only use this code for GNU lds that support --whole-archive.
9241 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9243 # Exported symbols can be pulled into shared objects from archives
9244 whole_archive_flag_spec
='$convenience'
9246 archive_cmds_need_lc
=yes
9247 # This is similar to how AIX traditionally builds its shared libraries.
9248 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'
9256 # see comment about AmigaOS4 .so support
9257 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9258 archive_expsym_cmds
=''
9261 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)'
9262 hardcode_libdir_flag_spec
='-L$libdir'
9263 hardcode_minus_L
=yes
9269 export_dynamic_flag_spec
=-rdynamic
9272 cygwin
* | mingw
* | pw32
* | cegcc
*)
9273 # When not using gcc, we currently assume that we are using
9274 # Microsoft Visual C++.
9275 # hardcode_libdir_flag_spec is actually meaningless, as there is
9276 # no search path for DLLs.
9277 hardcode_libdir_flag_spec
=' '
9278 allow_undefined_flag
=unsupported
9279 # Tell ltmain to make .lib files, not .a files.
9281 # Tell ltmain to make .dll files, not .so files.
9283 # FIXME: Setting linknames here is a bad hack.
9284 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9285 # The linker will automatically build a .lib file if we build a DLL.
9286 old_archive_from_new_cmds
='true'
9287 # FIXME: Should let the user specify the lib program.
9288 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9289 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9290 enable_shared_with_static_runtimes
=yes
9293 darwin
* | rhapsody
*)
9296 archive_cmds_need_lc
=no
9298 hardcode_automatic
=yes
9299 hardcode_shlibpath_var
=unsupported
9300 if test "$lt_cv_ld_force_load" = "yes"; then
9301 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\"`'
9303 whole_archive_flag_spec
=''
9305 link_all_deplibs
=yes
9306 allow_undefined_flag
="$_lt_dar_allow_undefined"
9307 case $cc_basename in
9308 ifort
*) _lt_dar_can_shared
=yes ;;
9309 *) _lt_dar_can_shared
=$GCC ;;
9311 if test "$_lt_dar_can_shared" = "yes"; then
9312 output_verbose_link_cmd
=func_echo_all
9313 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9314 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9315 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}"
9316 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}"
9325 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9326 hardcode_libdir_flag_spec
='-L$libdir'
9327 hardcode_shlibpath_var
=no
9330 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9331 # support. Future versions do this automatically, but an explicit c++rt0.o
9332 # does not break anything, and helps significantly (at the cost of a little
9335 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9336 hardcode_libdir_flag_spec
='-R$libdir'
9338 hardcode_shlibpath_var
=no
9341 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9343 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9345 hardcode_minus_L
=yes
9346 hardcode_shlibpath_var
=no
9349 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9350 freebsd
* | dragonfly
*)
9351 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9352 hardcode_libdir_flag_spec
='-R$libdir'
9354 hardcode_shlibpath_var
=no
9358 if test "$GCC" = yes; then
9359 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'
9361 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'
9363 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9364 hardcode_libdir_separator
=:
9367 # hardcode_minus_L: Not really in the search PATH,
9368 # but as the default location of the library.
9369 hardcode_minus_L
=yes
9370 export_dynamic_flag_spec
='${wl}-E'
9374 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9375 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9377 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9379 if test "$with_gnu_ld" = no
; then
9380 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9381 hardcode_libdir_flag_spec_ld
='+b $libdir'
9382 hardcode_libdir_separator
=:
9384 hardcode_direct_absolute
=yes
9385 export_dynamic_flag_spec
='${wl}-E'
9386 # hardcode_minus_L: Not really in the search PATH,
9387 # but as the default location of the library.
9388 hardcode_minus_L
=yes
9393 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9396 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9399 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9402 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9408 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9411 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9415 # Older versions of the 11.00 compiler do not understand -b yet
9416 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9418 $as_echo_n "checking if $CC understands -b... " >&6; }
9419 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9420 $as_echo_n "(cached) " >&6
9422 lt_cv_prog_compiler__b
=no
9423 save_LDFLAGS
="$LDFLAGS"
9424 LDFLAGS
="$LDFLAGS -b"
9425 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9426 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9427 # The linker can only warn and ignore the option if not recognized
9428 # So say no if there are warnings
9429 if test -s conftest.err
; then
9430 # Append any errors to the config.log.
9431 cat conftest.err
1>&5
9432 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9433 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9434 if diff conftest.exp conftest.er2
>/dev
/null
; then
9435 lt_cv_prog_compiler__b
=yes
9438 lt_cv_prog_compiler__b
=yes
9442 LDFLAGS
="$save_LDFLAGS"
9445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9446 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9448 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9449 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9451 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9457 if test "$with_gnu_ld" = no
; then
9458 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9459 hardcode_libdir_separator
=:
9464 hardcode_shlibpath_var
=no
9468 hardcode_direct_absolute
=yes
9469 export_dynamic_flag_spec
='${wl}-E'
9471 # hardcode_minus_L: Not really in the search PATH,
9472 # but as the default location of the library.
9473 hardcode_minus_L
=yes
9479 irix5
* | irix6
* | nonstopux
*)
9480 if test "$GCC" = yes; then
9481 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'
9482 # Try to use the -exported_symbol ld option, if it does not
9483 # work, assume that -exports_file does not work either and
9484 # implicitly export all symbols.
9485 save_LDFLAGS
="$LDFLAGS"
9486 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9488 /* end confdefs.h. */
9491 if ac_fn_c_try_link
"$LINENO"; then :
9492 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'
9495 rm -f core conftest.err conftest.
$ac_objext \
9496 conftest
$ac_exeext conftest.
$ac_ext
9497 LDFLAGS
="$save_LDFLAGS"
9499 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'
9500 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'
9502 archive_cmds_need_lc
='no'
9503 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9504 hardcode_libdir_separator
=:
9506 link_all_deplibs
=yes
9510 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9511 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9513 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9515 hardcode_libdir_flag_spec
='-R$libdir'
9517 hardcode_shlibpath_var
=no
9521 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9523 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9524 hardcode_libdir_separator
=:
9525 hardcode_shlibpath_var
=no
9532 if test -f /usr
/libexec
/ld.so
; then
9534 hardcode_shlibpath_var
=no
9535 hardcode_direct_absolute
=yes
9536 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9537 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9538 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9539 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9540 export_dynamic_flag_spec
='${wl}-E'
9543 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9544 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9545 hardcode_libdir_flag_spec
='-R$libdir'
9548 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9549 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9559 hardcode_libdir_flag_spec
='-L$libdir'
9560 hardcode_minus_L
=yes
9561 allow_undefined_flag
=unsupported
9562 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'
9563 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9567 if test "$GCC" = yes; then
9568 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9569 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'
9571 allow_undefined_flag
=' -expect_unresolved \*'
9572 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'
9574 archive_cmds_need_lc
='no'
9575 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9576 hardcode_libdir_separator
=:
9579 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9580 if test "$GCC" = yes; then
9581 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9582 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'
9583 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9585 allow_undefined_flag
=' -expect_unresolved \*'
9586 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'
9587 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~
9588 $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'
9590 # Both c and cxx compiler support -rpath directly
9591 hardcode_libdir_flag_spec
='-rpath $libdir'
9593 archive_cmds_need_lc
='no'
9594 hardcode_libdir_separator
=:
9598 no_undefined_flag
=' -z defs'
9599 if test "$GCC" = yes; then
9601 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9602 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9603 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9605 case `$CC -V 2>&1` in
9608 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9609 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9610 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9614 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9615 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9616 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9620 hardcode_libdir_flag_spec
='-R$libdir'
9621 hardcode_shlibpath_var
=no
9623 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9625 # The compiler driver will combine and reorder linker options,
9626 # but understands `-z linker_flag'. GCC discards it without `$wl',
9627 # but is careful enough not to reorder.
9628 # Supported since Solaris 2.6 (maybe 2.5.1?)
9629 if test "$GCC" = yes; then
9630 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9632 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9636 link_all_deplibs
=yes
9640 if test "x$host_vendor" = xsequent
; then
9641 # Use $CC to link under sequent, because it throws in some extra .o
9642 # files that make .init and .fini sections work.
9643 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9645 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9647 hardcode_libdir_flag_spec
='-L$libdir'
9649 hardcode_minus_L
=yes
9650 hardcode_shlibpath_var
=no
9654 case $host_vendor in
9656 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9657 hardcode_direct
=yes # is this really true???
9660 ## LD is ld it makes a PLAMLIB
9661 ## CC just makes a GrossModule.
9662 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9663 reload_cmds
='$CC -r -o $output$reload_objs'
9667 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9668 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9671 runpath_var
='LD_RUN_PATH'
9672 hardcode_shlibpath_var
=no
9676 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9677 hardcode_shlibpath_var
=no
9678 export_dynamic_flag_spec
='-Bexport'
9682 if test -d /usr
/nec
; then
9683 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9684 hardcode_shlibpath_var
=no
9685 runpath_var
=LD_RUN_PATH
9686 hardcode_runpath_var
=yes
9691 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9692 no_undefined_flag
='${wl}-z,text'
9693 archive_cmds_need_lc
=no
9694 hardcode_shlibpath_var
=no
9695 runpath_var
='LD_RUN_PATH'
9697 if test "$GCC" = yes; then
9698 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9699 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9701 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9702 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9706 sysv5
* | sco3.2v5
* | sco5v6
*)
9707 # Note: We can NOT use -z defs as we might desire, because we do not
9708 # link with -lc, and that would cause any symbols used from libc to
9709 # always be unresolved, which means just about no library would
9710 # ever link correctly. If we're not using GNU ld we use -z text
9711 # though, which does catch some bad symbols but isn't as heavy-handed
9713 no_undefined_flag
='${wl}-z,text'
9714 allow_undefined_flag
='${wl}-z,nodefs'
9715 archive_cmds_need_lc
=no
9716 hardcode_shlibpath_var
=no
9717 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9718 hardcode_libdir_separator
=':'
9719 link_all_deplibs
=yes
9720 export_dynamic_flag_spec
='${wl}-Bexport'
9721 runpath_var
='LD_RUN_PATH'
9723 if test "$GCC" = yes; then
9724 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9725 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9727 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9728 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9733 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9734 hardcode_libdir_flag_spec
='-L$libdir'
9735 hardcode_shlibpath_var
=no
9743 if test x
$host_vendor = xsni
; then
9745 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9746 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9753 $as_echo "$ld_shlibs" >&6; }
9754 test "$ld_shlibs" = no
&& can_build_shared
=no
9756 with_gnu_ld
=$with_gnu_ld
9773 # Do we need to explicitly link libc?
9775 case "x$archive_cmds_need_lc" in
9777 # Assume -lc should be added
9778 archive_cmds_need_lc
=yes
9780 if test "$enable_shared" = yes && test "$GCC" = yes; then
9781 case $archive_cmds in
9783 # FIXME: we may have to deal with multi-command sequences.
9786 # Test whether the compiler implicitly links with -lc since on some
9787 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9788 # to ld, don't add -lc before -lgcc.
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9790 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9791 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9792 $as_echo_n "(cached) " >&6
9795 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9797 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9798 (eval $ac_compile) 2>&5
9800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9801 test $ac_status = 0; } 2>conftest.err
; then
9804 libobjs
=conftest.
$ac_objext
9806 wl
=$lt_prog_compiler_wl
9807 pic_flag
=$lt_prog_compiler_pic
9813 lt_save_allow_undefined_flag
=$allow_undefined_flag
9814 allow_undefined_flag
=
9815 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9816 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9819 test $ac_status = 0; }
9821 lt_cv_archive_cmds_need_lc
=no
9823 lt_cv_archive_cmds_need_lc
=yes
9825 allow_undefined_flag
=$lt_save_allow_undefined_flag
9827 cat conftest.err
1>&5
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9833 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9834 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9998 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10000 if test "$GCC" = yes; then
10002 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10003 *) lt_awk_arg
="/^libraries:/" ;;
10006 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10007 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10009 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10010 case $lt_search_path_spec in
10012 # if the path contains ";" then we assume it to be the separator
10013 # otherwise default to the standard path separator (i.e. ":") - it is
10014 # assumed that no part of a normal pathname contains ";" but that should
10015 # okay in the real world where ";" in dirpaths is itself problematic.
10016 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10019 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10022 # Ok, now we have the path, separated by spaces, we can step through it
10023 # and add multilib dir if necessary.
10024 lt_tmp_lt_search_path_spec
=
10025 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10026 for lt_sys_path
in $lt_search_path_spec; do
10027 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10028 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10030 test -d "$lt_sys_path" && \
10031 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10034 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10035 BEGIN {RS=" "; FS="/|\n";} {
10038 for (lt_i = NF; lt_i > 0; lt_i--) {
10039 if ($lt_i != "" && $lt_i != ".") {
10040 if ($lt_i == "..") {
10043 if (lt_count == 0) {
10044 lt_foo="/" $lt_i lt_foo;
10051 if (lt_foo != "") { lt_freq[lt_foo]++; }
10052 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10054 # AWK program above erroneously prepends '/' to C:/dos/paths
10057 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10058 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10060 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10062 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10064 library_names_spec
=
10065 libname_spec
='lib$name'
10069 postuninstall_cmds
=
10073 shlibpath_overrides_runpath
=unknown
10075 dynamic_linker
="$host_os ld.so"
10076 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10077 need_lib_prefix
=unknown
10078 hardcode_into_libs
=no
10080 # when you set need_version to no, make sure it does not cause -set_version
10081 # flags to be left without arguments
10082 need_version
=unknown
10087 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10088 shlibpath_var
=LIBPATH
10090 # AIX 3 has no versioning support, so we append a major version to the name.
10091 soname_spec
='${libname}${release}${shared_ext}$major'
10098 hardcode_into_libs
=yes
10099 if test "$host_cpu" = ia64
; then
10100 # AIX 5 supports IA64
10101 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10102 shlibpath_var
=LD_LIBRARY_PATH
10104 # With GCC up to 2.95.x, collect2 would create an import file
10105 # for dependence libraries. The import file would start with
10106 # the line `#! .'. This would cause the generated library to
10107 # depend on `.', always an invalid library. This was fixed in
10108 # development snapshots of GCC prior to 3.0.
10110 aix4 | aix4.
[01] | aix4.
[01].
*)
10111 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10113 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10116 can_build_shared
=no
10120 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10121 # soname into executable. Probably we can add versioning support to
10122 # collect2, so additional links can be useful in future.
10123 if test "$aix_use_runtimelinking" = yes; then
10124 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10125 # instead of lib<name>.a to let people know that these are not
10126 # typical AIX shared libraries.
10127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10129 # We preserve .a as extension for shared libraries through AIX4.2
10130 # and later when we are not doing run time linking.
10131 library_names_spec
='${libname}${release}.a $libname.a'
10132 soname_spec
='${libname}${release}${shared_ext}$major'
10134 shlibpath_var
=LIBPATH
10141 # Since July 2007 AmigaOS4 officially supports .so libraries.
10142 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10143 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10146 library_names_spec
='$libname.ixlibrary $libname.a'
10147 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10148 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'
10154 library_names_spec
='${libname}${shared_ext}'
10155 dynamic_linker
="$host_os ld.so"
10156 shlibpath_var
=LIBRARY_PATH
10162 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10163 soname_spec
='${libname}${release}${shared_ext}$major'
10164 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10165 shlibpath_var
=LD_LIBRARY_PATH
10166 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10167 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10168 # the default ld.so.conf also contains /usr/contrib/lib and
10169 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10170 # libtool to hard-code these into programs
10173 cygwin
* | mingw
* | pw32
* | cegcc
*)
10174 version_type
=windows
10179 case $GCC,$host_os in
10180 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10181 library_names_spec
='$libname.dll.a'
10182 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10183 postinstall_cmds
='base_file=`basename \${file}`~
10184 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10185 dldir=$destdir/`dirname \$dlpath`~
10186 test -d \$dldir || mkdir -p \$dldir~
10187 $install_prog $dir/$dlname \$dldir/$dlname~
10188 chmod a+x \$dldir/$dlname~
10189 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10190 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10192 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10193 dlpath=$dir/\$dldll~
10195 shlibpath_overrides_runpath
=yes
10199 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10200 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10202 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10205 # MinGW DLLs use traditional 'lib' prefix
10206 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10209 # pw32 DLLs use 'pw' prefix rather than 'lib'
10210 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10216 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10219 dynamic_linker
='Win32 ld.exe'
10220 # FIXME: first we should search . and the directory the executable is in
10224 darwin
* | rhapsody
*)
10225 dynamic_linker
="$host_os dyld"
10226 version_type
=darwin
10229 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10230 soname_spec
='${libname}${release}${major}$shared_ext'
10231 shlibpath_overrides_runpath
=yes
10232 shlibpath_var
=DYLD_LIBRARY_PATH
10233 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10235 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10236 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10243 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10244 soname_spec
='${libname}${release}${shared_ext}$major'
10245 shlibpath_var
=LD_LIBRARY_PATH
10248 freebsd
* | dragonfly
*)
10249 # DragonFly does not have aout. When/if they implement a new
10250 # versioning mechanism, adjust this.
10251 if test -x /usr
/bin
/objformat
; then
10252 objformat
=`/usr/bin/objformat`
10255 freebsd
[123]*) objformat
=aout
;;
10256 *) objformat
=elf
;;
10259 version_type
=freebsd-
$objformat
10260 case $version_type in
10262 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10267 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10271 shlibpath_var
=LD_LIBRARY_PATH
10274 shlibpath_overrides_runpath
=yes
10276 freebsd3.
[01]* | freebsdelf3.
[01]*)
10277 shlibpath_overrides_runpath
=yes
10278 hardcode_into_libs
=yes
10280 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10281 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10282 shlibpath_overrides_runpath
=no
10283 hardcode_into_libs
=yes
10285 *) # from 4.6 on, and DragonFly
10286 shlibpath_overrides_runpath
=yes
10287 hardcode_into_libs
=yes
10296 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10297 soname_spec
='${libname}${release}${shared_ext}$major'
10298 shlibpath_var
=LD_LIBRARY_PATH
10299 hardcode_into_libs
=yes
10306 dynamic_linker
="$host_os runtime_loader"
10307 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10308 soname_spec
='${libname}${release}${shared_ext}$major'
10309 shlibpath_var
=LIBRARY_PATH
10310 shlibpath_overrides_runpath
=yes
10311 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10312 hardcode_into_libs
=yes
10315 hpux9
* | hpux10
* | hpux11
*)
10316 # Give a soname corresponding to the major version so that dld.sl refuses to
10317 # link against other versions.
10324 hardcode_into_libs
=yes
10325 dynamic_linker
="$host_os dld.so"
10326 shlibpath_var
=LD_LIBRARY_PATH
10327 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10328 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10329 soname_spec
='${libname}${release}${shared_ext}$major'
10330 if test "X$HPUX_IA64_MODE" = X32
; then
10331 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10333 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10335 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10339 hardcode_into_libs
=yes
10340 dynamic_linker
="$host_os dld.sl"
10341 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10342 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10343 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10344 soname_spec
='${libname}${release}${shared_ext}$major'
10345 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10346 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10350 dynamic_linker
="$host_os dld.sl"
10351 shlibpath_var
=SHLIB_PATH
10352 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10353 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10354 soname_spec
='${libname}${release}${shared_ext}$major'
10357 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10358 postinstall_cmds
='chmod 555 $lib'
10359 # or fails outright, so override atomically:
10360 install_override_mode
=555
10367 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10368 soname_spec
='${libname}${release}${shared_ext}$major'
10369 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10370 shlibpath_var
=LD_LIBRARY_PATH
10371 shlibpath_overrides_runpath
=no
10372 hardcode_into_libs
=yes
10375 irix5
* | irix6
* | nonstopux
*)
10377 nonstopux
*) version_type
=nonstopux
;;
10379 if test "$lt_cv_prog_gnu_ld" = yes; then
10387 soname_spec
='${libname}${release}${shared_ext}$major'
10388 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10390 irix5
* | nonstopux
*)
10391 libsuff
= shlibsuff
=
10394 case $LD in # libtool.m4 will add one of these switches to LD
10395 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10396 libsuff
= shlibsuff
= libmagic
=32-bit;;
10397 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10398 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10399 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10400 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10401 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10405 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10406 shlibpath_overrides_runpath
=no
10407 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10408 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10409 hardcode_into_libs
=yes
10412 # No shared lib support for Linux oldld, aout, or coff.
10413 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10417 # This must be Linux ELF.
10418 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10422 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10423 soname_spec
='${libname}${release}${shared_ext}$major'
10424 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10425 shlibpath_var
=LD_LIBRARY_PATH
10426 shlibpath_overrides_runpath
=no
10428 # Some binutils ld are patched to set DT_RUNPATH
10429 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10430 $as_echo_n "(cached) " >&6
10432 lt_cv_shlibpath_overrides_runpath
=no
10433 save_LDFLAGS
=$LDFLAGS
10434 save_libdir
=$libdir
10435 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10436 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10438 /* end confdefs.h. */
10448 if ac_fn_c_try_link
"$LINENO"; then :
10449 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10450 lt_cv_shlibpath_overrides_runpath
=yes
10453 rm -f core conftest.err conftest.
$ac_objext \
10454 conftest
$ac_exeext conftest.
$ac_ext
10455 LDFLAGS
=$save_LDFLAGS
10456 libdir
=$save_libdir
10460 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10462 # This implies no fast_install, which is unacceptable.
10463 # Some rework will be needed to allow for fast_install
10464 # before this can be enabled.
10465 hardcode_into_libs
=yes
10467 # Append ld.so.conf contents to the search path
10468 if test -f /etc
/ld.so.conf
; then
10469 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' ' '`
10470 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10473 # We used to test for /lib/ld.so.1 and disable shared libraries on
10474 # powerpc, because MkLinux only supported shared libraries with the
10475 # GNU dynamic linker. Since this was broken with cross compilers,
10476 # most powerpc-linux boxes support dynamic linking these days and
10477 # people can always --disable-shared, the test was removed, and we
10478 # assume the GNU/Linux dynamic linker is in use.
10479 dynamic_linker
='GNU/Linux ld.so'
10486 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10487 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10488 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10489 dynamic_linker
='NetBSD (a.out) ld.so'
10491 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10492 soname_spec
='${libname}${release}${shared_ext}$major'
10493 dynamic_linker
='NetBSD ld.elf_so'
10495 shlibpath_var
=LD_LIBRARY_PATH
10496 shlibpath_overrides_runpath
=yes
10497 hardcode_into_libs
=yes
10502 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10503 shlibpath_var
=LD_LIBRARY_PATH
10504 shlibpath_overrides_runpath
=yes
10511 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10512 soname_spec
='${libname}${release}${shared_ext}$major'
10513 shlibpath_var
=LD_LIBRARY_PATH
10514 shlibpath_overrides_runpath
=no
10515 hardcode_into_libs
=yes
10516 dynamic_linker
='ldqnx.so'
10521 sys_lib_dlsearch_path_spec
="/usr/lib"
10523 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10525 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10526 *) need_version
=no
;;
10528 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10529 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10530 shlibpath_var
=LD_LIBRARY_PATH
10531 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10533 openbsd2.
[89] | openbsd2.
[89].
*)
10534 shlibpath_overrides_runpath
=no
10537 shlibpath_overrides_runpath
=yes
10541 shlibpath_overrides_runpath
=yes
10546 libname_spec
='$name'
10549 library_names_spec
='$libname${shared_ext} $libname.a'
10550 dynamic_linker
='OS/2 ld.exe'
10551 shlibpath_var
=LIBPATH
10554 osf3
* | osf4
* | osf5
*)
10558 soname_spec
='${libname}${release}${shared_ext}$major'
10559 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10560 shlibpath_var
=LD_LIBRARY_PATH
10561 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10562 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10573 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10574 soname_spec
='${libname}${release}${shared_ext}$major'
10575 shlibpath_var
=LD_LIBRARY_PATH
10576 shlibpath_overrides_runpath
=yes
10577 hardcode_into_libs
=yes
10578 # ldd complains unless libraries are executable
10579 postinstall_cmds
='chmod +x $lib'
10584 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10585 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10586 shlibpath_var
=LD_LIBRARY_PATH
10587 shlibpath_overrides_runpath
=yes
10588 if test "$with_gnu_ld" = yes; then
10596 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10597 soname_spec
='${libname}${release}${shared_ext}$major'
10598 shlibpath_var
=LD_LIBRARY_PATH
10599 case $host_vendor in
10601 shlibpath_overrides_runpath
=no
10603 runpath_var
=LD_RUN_PATH
10611 shlibpath_overrides_runpath
=no
10612 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10618 if test -d /usr
/nec
;then
10620 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10621 soname_spec
='$libname${shared_ext}.$major'
10622 shlibpath_var
=LD_LIBRARY_PATH
10626 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10627 version_type
=freebsd-elf
10630 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10631 soname_spec
='${libname}${release}${shared_ext}$major'
10632 shlibpath_var
=LD_LIBRARY_PATH
10633 shlibpath_overrides_runpath
=yes
10634 hardcode_into_libs
=yes
10635 if test "$with_gnu_ld" = yes; then
10636 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10638 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10641 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10645 sys_lib_dlsearch_path_spec
='/usr/lib'
10649 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10653 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10654 shlibpath_var
=LD_LIBRARY_PATH
10655 shlibpath_overrides_runpath
=no
10656 hardcode_into_libs
=yes
10661 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10662 soname_spec
='${libname}${release}${shared_ext}$major'
10663 shlibpath_var
=LD_LIBRARY_PATH
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10671 $as_echo "$dynamic_linker" >&6; }
10672 test "$dynamic_linker" = no
&& can_build_shared
=no
10674 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10675 if test "$GCC" = yes; then
10676 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10679 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10680 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10682 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10683 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10778 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10780 if test -n "$hardcode_libdir_flag_spec" ||
10781 test -n "$runpath_var" ||
10782 test "X$hardcode_automatic" = "Xyes" ; then
10784 # We can hardcode non-existent directories.
10785 if test "$hardcode_direct" != no
&&
10786 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10787 # have to relink, otherwise we might link with an installed library
10788 # when we should be linking with a yet-to-be-installed one
10789 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10790 test "$hardcode_minus_L" != no
; then
10791 # Linking always hardcodes the temporary library directory.
10792 hardcode_action
=relink
10794 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10795 hardcode_action
=immediate
10798 # We cannot hardcode anything, or else we can only hardcode existing
10800 hardcode_action
=unsupported
10802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10803 $as_echo "$hardcode_action" >&6; }
10805 if test "$hardcode_action" = relink ||
10806 test "$inherit_rpath" = yes; then
10807 # Fast installation is not supported
10808 enable_fast_install
=no
10809 elif test "$shlibpath_overrides_runpath" = yes ||
10810 test "$enable_shared" = no
; then
10811 # Fast installation is not necessary
10812 enable_fast_install
=needless
10820 if test "x$enable_dlopen" != xyes
; then
10821 enable_dlopen
=unknown
10822 enable_dlopen_self
=unknown
10823 enable_dlopen_self_static
=unknown
10830 lt_cv_dlopen
="load_add_on"
10832 lt_cv_dlopen_self
=yes
10835 mingw
* | pw32
* | cegcc
*)
10836 lt_cv_dlopen
="LoadLibrary"
10841 lt_cv_dlopen
="dlopen"
10846 # if libdl is installed we need to link against it
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10848 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10849 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10850 $as_echo_n "(cached) " >&6
10852 ac_check_lib_save_LIBS
=$LIBS
10854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10855 /* end confdefs.h. */
10857 /* Override any GCC internal prototype to avoid an error.
10858 Use char because int might match the return type of a GCC
10859 builtin and then its argument prototype would still apply. */
10872 if ac_fn_c_try_link
"$LINENO"; then :
10873 ac_cv_lib_dl_dlopen
=yes
10875 ac_cv_lib_dl_dlopen
=no
10877 rm -f core conftest.err conftest.
$ac_objext \
10878 conftest
$ac_exeext conftest.
$ac_ext
10879 LIBS
=$ac_check_lib_save_LIBS
10881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10882 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10883 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10884 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10887 lt_cv_dlopen
="dyld"
10889 lt_cv_dlopen_self
=yes
10896 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10897 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10898 lt_cv_dlopen
="shl_load"
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10901 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10902 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10903 $as_echo_n "(cached) " >&6
10905 ac_check_lib_save_LIBS
=$LIBS
10907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10908 /* end confdefs.h. */
10910 /* Override any GCC internal prototype to avoid an error.
10911 Use char because int might match the return type of a GCC
10912 builtin and then its argument prototype would still apply. */
10920 return shl_load ();
10925 if ac_fn_c_try_link
"$LINENO"; then :
10926 ac_cv_lib_dld_shl_load
=yes
10928 ac_cv_lib_dld_shl_load
=no
10930 rm -f core conftest.err conftest.
$ac_objext \
10931 conftest
$ac_exeext conftest.
$ac_ext
10932 LIBS
=$ac_check_lib_save_LIBS
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10935 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10936 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10937 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10939 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10940 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10941 lt_cv_dlopen
="dlopen"
10943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10944 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10945 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10946 $as_echo_n "(cached) " >&6
10948 ac_check_lib_save_LIBS
=$LIBS
10950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10951 /* end confdefs.h. */
10953 /* Override any GCC internal prototype to avoid an error.
10954 Use char because int might match the return type of a GCC
10955 builtin and then its argument prototype would still apply. */
10968 if ac_fn_c_try_link
"$LINENO"; then :
10969 ac_cv_lib_dl_dlopen
=yes
10971 ac_cv_lib_dl_dlopen
=no
10973 rm -f core conftest.err conftest.
$ac_objext \
10974 conftest
$ac_exeext conftest.
$ac_ext
10975 LIBS
=$ac_check_lib_save_LIBS
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10978 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10979 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10980 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10983 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10984 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10985 $as_echo_n "(cached) " >&6
10987 ac_check_lib_save_LIBS
=$LIBS
10988 LIBS
="-lsvld $LIBS"
10989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10990 /* end confdefs.h. */
10992 /* Override any GCC internal prototype to avoid an error.
10993 Use char because int might match the return type of a GCC
10994 builtin and then its argument prototype would still apply. */
11007 if ac_fn_c_try_link
"$LINENO"; then :
11008 ac_cv_lib_svld_dlopen
=yes
11010 ac_cv_lib_svld_dlopen
=no
11012 rm -f core conftest.err conftest.
$ac_objext \
11013 conftest
$ac_exeext conftest.
$ac_ext
11014 LIBS
=$ac_check_lib_save_LIBS
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11017 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11018 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11019 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11022 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11023 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11024 $as_echo_n "(cached) " >&6
11026 ac_check_lib_save_LIBS
=$LIBS
11028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11029 /* end confdefs.h. */
11031 /* Override any GCC internal prototype to avoid an error.
11032 Use char because int might match the return type of a GCC
11033 builtin and then its argument prototype would still apply. */
11041 return dld_link ();
11046 if ac_fn_c_try_link
"$LINENO"; then :
11047 ac_cv_lib_dld_dld_link
=yes
11049 ac_cv_lib_dld_dld_link
=no
11051 rm -f core conftest.err conftest.
$ac_objext \
11052 conftest
$ac_exeext conftest.
$ac_ext
11053 LIBS
=$ac_check_lib_save_LIBS
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11056 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11057 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11058 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11079 if test "x$lt_cv_dlopen" != xno
; then
11085 case $lt_cv_dlopen in
11087 save_CPPFLAGS
="$CPPFLAGS"
11088 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11090 save_LDFLAGS
="$LDFLAGS"
11091 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11094 LIBS
="$lt_cv_dlopen_libs $LIBS"
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11097 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11098 if test "${lt_cv_dlopen_self+set}" = set; then :
11099 $as_echo_n "(cached) " >&6
11101 if test "$cross_compiling" = yes; then :
11102 lt_cv_dlopen_self
=cross
11104 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11105 lt_status
=$lt_dlunknown
11106 cat > conftest.
$ac_ext <<_LT_EOF
11107 #line 11107 "configure"
11108 #include "confdefs.h"
11117 # define LT_DLGLOBAL RTLD_GLOBAL
11120 # define LT_DLGLOBAL DL_GLOBAL
11122 # define LT_DLGLOBAL 0
11126 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11127 find out it does not work in some platform. */
11128 #ifndef LT_DLLAZY_OR_NOW
11130 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11133 # define LT_DLLAZY_OR_NOW DL_LAZY
11136 # define LT_DLLAZY_OR_NOW RTLD_NOW
11139 # define LT_DLLAZY_OR_NOW DL_NOW
11141 # define LT_DLLAZY_OR_NOW 0
11148 /* When -fvisbility=hidden is used, assume the code has been annotated
11149 correspondingly for the symbols needed. */
11150 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11151 void fnord () __attribute__((visibility("default")));
11154 void fnord () { int i=42; }
11157 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11158 int status = $lt_dlunknown;
11162 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11165 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11166 else puts (dlerror ());
11168 /* dlclose (self); */
11176 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11177 (eval $ac_link) 2>&5
11179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11180 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11181 (.
/conftest
; exit; ) >&5 2>/dev
/null
11183 case x
$lt_status in
11184 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11185 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11186 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11189 # compilation failed
11190 lt_cv_dlopen_self
=no
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11198 $as_echo "$lt_cv_dlopen_self" >&6; }
11200 if test "x$lt_cv_dlopen_self" = xyes
; then
11201 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11203 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11204 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11205 $as_echo_n "(cached) " >&6
11207 if test "$cross_compiling" = yes; then :
11208 lt_cv_dlopen_self_static
=cross
11210 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11211 lt_status
=$lt_dlunknown
11212 cat > conftest.
$ac_ext <<_LT_EOF
11213 #line 11213 "configure"
11214 #include "confdefs.h"
11223 # define LT_DLGLOBAL RTLD_GLOBAL
11226 # define LT_DLGLOBAL DL_GLOBAL
11228 # define LT_DLGLOBAL 0
11232 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11233 find out it does not work in some platform. */
11234 #ifndef LT_DLLAZY_OR_NOW
11236 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11239 # define LT_DLLAZY_OR_NOW DL_LAZY
11242 # define LT_DLLAZY_OR_NOW RTLD_NOW
11245 # define LT_DLLAZY_OR_NOW DL_NOW
11247 # define LT_DLLAZY_OR_NOW 0
11254 /* When -fvisbility=hidden is used, assume the code has been annotated
11255 correspondingly for the symbols needed. */
11256 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11257 void fnord () __attribute__((visibility("default")));
11260 void fnord () { int i=42; }
11263 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11264 int status = $lt_dlunknown;
11268 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11271 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11272 else puts (dlerror ());
11274 /* dlclose (self); */
11282 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11283 (eval $ac_link) 2>&5
11285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11286 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11287 (.
/conftest
; exit; ) >&5 2>/dev
/null
11289 case x
$lt_status in
11290 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11291 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11292 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11295 # compilation failed
11296 lt_cv_dlopen_self_static
=no
11303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11304 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11307 CPPFLAGS
="$save_CPPFLAGS"
11308 LDFLAGS
="$save_LDFLAGS"
11313 case $lt_cv_dlopen_self in
11314 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11315 *) enable_dlopen_self
=unknown
;;
11318 case $lt_cv_dlopen_self_static in
11319 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11320 *) enable_dlopen_self_static
=unknown
;;
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11343 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11344 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11345 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11346 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11348 $as_echo "yes" >&6; }
11350 # FIXME - insert some real tests, host_os isn't really good enough
11353 if test -n "$STRIP" ; then
11354 striplib
="$STRIP -x"
11355 old_striplib
="$STRIP -S"
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11357 $as_echo "yes" >&6; }
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11360 $as_echo "no" >&6; }
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11365 $as_echo "no" >&6; }
11381 # Report which library types will actually be built
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11383 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11385 $as_echo "$can_build_shared" >&6; }
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11388 $as_echo_n "checking whether to build shared libraries... " >&6; }
11389 test "$can_build_shared" = "no" && enable_shared
=no
11391 # On AIX, shared libraries and static libraries use the same namespace, and
11392 # are all built from PIC.
11395 test "$enable_shared" = yes && enable_static
=no
11396 if test -n "$RANLIB"; then
11397 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11398 postinstall_cmds
='$RANLIB $lib'
11403 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11404 test "$enable_shared" = yes && enable_static
=no
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11409 $as_echo "$enable_shared" >&6; }
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11412 $as_echo_n "checking whether to build static libraries... " >&6; }
11413 # Make sure either enable_shared or enable_static is yes.
11414 test "$enable_shared" = yes || enable_static
=yes
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11416 $as_echo "$enable_static" >&6; }
11423 ac_cpp
='$CPP $CPPFLAGS'
11424 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11425 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11426 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11442 # Source file extension for Go test sources.
11445 # Object file extension for compiled Go test sources.
11449 # Code to be used in simple compile tests
11450 lt_simple_compile_test_code
="package main; func main() { }"
11452 # Code to be used in simple link tests
11453 lt_simple_link_test_code
='package main; func main() { }'
11455 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11462 # If no C compiler was specified, use CC.
11465 # If no C compiler flags were specified, use CFLAGS.
11466 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11468 # Allow CC to be a program name with arguments.
11472 # save warnings/boilerplate of simple test code
11473 ac_outfile
=conftest.
$ac_objext
11474 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11475 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11476 _lt_compiler_boilerplate
=`cat conftest.err`
11479 ac_outfile
=conftest.
$ac_objext
11480 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11481 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11482 _lt_linker_boilerplate
=`cat conftest.err`
11486 # Allow CC to be a program name with arguments.
11494 for cc_temp
in $compiler""; do
11496 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11497 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11502 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11505 # Go did not exist at the time GCC didn't implicitly link libc in.
11506 archive_cmds_need_lc_GO
=no
11508 old_archive_cmds_GO
=$old_archive_cmds
11511 ## There is no encapsulation within the following macros, do not change
11512 ## the running order or otherwise move them around unless you know exactly
11513 ## what you are doing...
11514 if test -n "$compiler"; then
11516 lt_prog_compiler_no_builtin_flag_GO
=
11518 if test "$GCC" = yes; then
11519 case $cc_basename in
11521 lt_prog_compiler_no_builtin_flag_GO
=' -Xcompiler -fno-builtin' ;;
11523 lt_prog_compiler_no_builtin_flag_GO
=' -fno-builtin' ;;
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11527 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11528 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
11529 $as_echo_n "(cached) " >&6
11531 lt_cv_prog_compiler_rtti_exceptions
=no
11532 ac_outfile
=conftest.
$ac_objext
11533 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11534 lt_compiler_flag
="-fno-rtti -fno-exceptions"
11535 # Insert the option either (1) after the last *FLAGS variable, or
11536 # (2) before a word containing "conftest.", or (3) at the end.
11537 # Note that $ac_compile itself does not contain backslashes and begins
11538 # with a dollar sign (not a hyphen), so the echo should work correctly.
11539 # The option is referenced via a variable to avoid confusing sed.
11540 lt_compile
=`echo "$ac_compile" | $SED \
11541 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11542 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11543 -e 's:$: $lt_compiler_flag:'`
11544 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11545 (eval "$lt_compile" 2>conftest.err
)
11547 cat conftest.err
>&5
11548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11549 if (exit $ac_status) && test -s "$ac_outfile"; then
11550 # The compiler can only warn and ignore the option if not recognized
11551 # So say no if there are warnings other than the usual output.
11552 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11553 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11554 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11555 lt_cv_prog_compiler_rtti_exceptions
=yes
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11562 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11564 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
11565 lt_prog_compiler_no_builtin_flag_GO
="$lt_prog_compiler_no_builtin_flag_GO -fno-rtti -fno-exceptions"
11574 lt_prog_compiler_wl_GO
=
11575 lt_prog_compiler_pic_GO
=
11576 lt_prog_compiler_static_GO
=
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11579 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11581 if test "$GCC" = yes; then
11582 lt_prog_compiler_wl_GO
='-Wl,'
11583 lt_prog_compiler_static_GO
='-static'
11587 # All AIX code is PIC.
11588 if test "$host_cpu" = ia64
; then
11589 # AIX 5 now supports IA64 processor
11590 lt_prog_compiler_static_GO
='-Bstatic'
11597 # see comment about AmigaOS4 .so support
11598 lt_prog_compiler_pic_GO
='-fPIC'
11601 # FIXME: we need at least 68020 code to build shared libraries, but
11602 # adding the `-m68020' flag to GCC prevents building anything better,
11604 lt_prog_compiler_pic_GO
='-m68020 -resident32 -malways-restore-a4'
11609 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11610 # PIC is the default for these OSes.
11613 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11614 # This hack is so that the source file can tell whether it is being
11615 # built for inclusion in a dll (and should export symbols for example).
11616 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11617 # (--disable-auto-import) libraries
11618 lt_prog_compiler_pic_GO
='-DDLL_EXPORT'
11621 darwin
* | rhapsody
*)
11622 # PIC is the default on this platform
11623 # Common symbols not allowed in MH_DYLIB files
11624 lt_prog_compiler_pic_GO
='-fno-common'
11628 # PIC is the default for Haiku.
11629 # The "-static" flag exists, but is broken.
11630 lt_prog_compiler_static_GO
=
11634 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11635 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11636 # sets the default TLS model and affects inlining.
11642 lt_prog_compiler_pic_GO
='-fPIC'
11648 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11649 # Instead, we relocate shared libraries at runtime.
11653 # Just because we use GCC doesn't mean we suddenly get shared libraries
11654 # on systems that don't support them.
11655 lt_prog_compiler_can_build_shared_GO
=no
11660 # QNX uses GNU C++, but need to define -shared option too, otherwise
11661 # it will coredump.
11662 lt_prog_compiler_pic_GO
='-fPIC -shared'
11666 if test -d /usr
/nec
; then
11667 lt_prog_compiler_pic_GO
=-Kconform_pic
11672 lt_prog_compiler_pic_GO
='-fPIC'
11676 case $cc_basename in
11677 nvcc
*) # Cuda Compiler Driver 2.2
11678 lt_prog_compiler_wl_GO
='-Xlinker '
11679 lt_prog_compiler_pic_GO
='-Xcompiler -fPIC'
11683 # PORTME Check for flag to pass linker flags through the system compiler.
11686 lt_prog_compiler_wl_GO
='-Wl,'
11687 if test "$host_cpu" = ia64
; then
11688 # AIX 5 now supports IA64 processor
11689 lt_prog_compiler_static_GO
='-Bstatic'
11691 lt_prog_compiler_static_GO
='-bnso -bI:/lib/syscalls.exp'
11695 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11696 # This hack is so that the source file can tell whether it is being
11697 # built for inclusion in a dll (and should export symbols for example).
11698 lt_prog_compiler_pic_GO
='-DDLL_EXPORT'
11701 hpux9
* | hpux10
* | hpux11
*)
11702 lt_prog_compiler_wl_GO
='-Wl,'
11703 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11704 # not for PA HP-UX.
11710 lt_prog_compiler_pic_GO
='+Z'
11713 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11714 lt_prog_compiler_static_GO
='${wl}-a ${wl}archive'
11717 irix5
* | irix6
* | nonstopux
*)
11718 lt_prog_compiler_wl_GO
='-Wl,'
11719 # PIC (with -KPIC) is the default.
11720 lt_prog_compiler_static_GO
='-non_shared'
11723 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11724 case $cc_basename in
11725 # old Intel for x86_64 which still supported -KPIC.
11727 lt_prog_compiler_wl_GO
='-Wl,'
11728 lt_prog_compiler_pic_GO
='-KPIC'
11729 lt_prog_compiler_static_GO
='-static'
11731 # icc used to be incompatible with GCC.
11732 # ICC 10 doesn't accept -KPIC any more.
11734 lt_prog_compiler_wl_GO
='-Wl,'
11735 lt_prog_compiler_pic_GO
='-fPIC'
11736 lt_prog_compiler_static_GO
='-static'
11738 # Lahey Fortran 8.1.
11740 lt_prog_compiler_wl_GO
='-Wl,'
11741 lt_prog_compiler_pic_GO
='--shared'
11742 lt_prog_compiler_static_GO
='--static'
11744 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11745 # Portland Group compilers (*not* the Pentium gcc compiler,
11746 # which looks to be a dead project)
11747 lt_prog_compiler_wl_GO
='-Wl,'
11748 lt_prog_compiler_pic_GO
='-fpic'
11749 lt_prog_compiler_static_GO
='-Bstatic'
11752 lt_prog_compiler_wl_GO
='-Wl,'
11753 # All Alpha code is PIC.
11754 lt_prog_compiler_static_GO
='-non_shared'
11756 xl
* | bgxl
* | bgf
* | mpixl
*)
11757 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11758 lt_prog_compiler_wl_GO
='-Wl,'
11759 lt_prog_compiler_pic_GO
='-qpic'
11760 lt_prog_compiler_static_GO
='-qstaticlink'
11763 case `$CC -V 2>&1 | sed 5q` in
11764 *Sun\ F
* |
*Sun
*Fortran
*)
11765 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11766 lt_prog_compiler_pic_GO
='-KPIC'
11767 lt_prog_compiler_static_GO
='-Bstatic'
11768 lt_prog_compiler_wl_GO
=''
11772 lt_prog_compiler_pic_GO
='-KPIC'
11773 lt_prog_compiler_static_GO
='-Bstatic'
11774 lt_prog_compiler_wl_GO
='-Wl,'
11782 lt_prog_compiler_pic_GO
='-KPIC'
11783 lt_prog_compiler_static_GO
='-Bstatic'
11787 # QNX uses GNU C++, but need to define -shared option too, otherwise
11788 # it will coredump.
11789 lt_prog_compiler_pic_GO
='-fPIC -shared'
11792 osf3
* | osf4
* | osf5
*)
11793 lt_prog_compiler_wl_GO
='-Wl,'
11794 # All OSF/1 code is PIC.
11795 lt_prog_compiler_static_GO
='-non_shared'
11799 lt_prog_compiler_static_GO
='-non_shared'
11803 lt_prog_compiler_pic_GO
='-KPIC'
11804 lt_prog_compiler_static_GO
='-Bstatic'
11805 case $cc_basename in
11806 f77
* | f90
* | f95
*)
11807 lt_prog_compiler_wl_GO
='-Qoption ld ';;
11809 lt_prog_compiler_wl_GO
='-Wl,';;
11814 lt_prog_compiler_wl_GO
='-Qoption ld '
11815 lt_prog_compiler_pic_GO
='-PIC'
11816 lt_prog_compiler_static_GO
='-Bstatic'
11819 sysv4 | sysv4.2uw2
* | sysv4.3
*)
11820 lt_prog_compiler_wl_GO
='-Wl,'
11821 lt_prog_compiler_pic_GO
='-KPIC'
11822 lt_prog_compiler_static_GO
='-Bstatic'
11826 if test -d /usr
/nec
;then
11827 lt_prog_compiler_pic_GO
='-Kconform_pic'
11828 lt_prog_compiler_static_GO
='-Bstatic'
11832 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11833 lt_prog_compiler_wl_GO
='-Wl,'
11834 lt_prog_compiler_pic_GO
='-KPIC'
11835 lt_prog_compiler_static_GO
='-Bstatic'
11839 lt_prog_compiler_wl_GO
='-Wl,'
11840 lt_prog_compiler_can_build_shared_GO
=no
11844 lt_prog_compiler_pic_GO
='-pic'
11845 lt_prog_compiler_static_GO
='-Bstatic'
11849 lt_prog_compiler_can_build_shared_GO
=no
11855 # For platforms which do not support PIC, -DPIC is meaningless:
11857 lt_prog_compiler_pic_GO
=
11860 lt_prog_compiler_pic_GO
="$lt_prog_compiler_pic_GO"
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_GO" >&5
11864 $as_echo "$lt_prog_compiler_pic_GO" >&6; }
11869 # Check to make sure the PIC flag actually works.
11871 if test -n "$lt_prog_compiler_pic_GO"; then
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GO works" >&5
11873 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GO works... " >&6; }
11874 if test "${lt_cv_prog_compiler_pic_works_GO+set}" = set; then :
11875 $as_echo_n "(cached) " >&6
11877 lt_cv_prog_compiler_pic_works_GO
=no
11878 ac_outfile
=conftest.
$ac_objext
11879 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11880 lt_compiler_flag
="$lt_prog_compiler_pic_GO"
11881 # Insert the option either (1) after the last *FLAGS variable, or
11882 # (2) before a word containing "conftest.", or (3) at the end.
11883 # Note that $ac_compile itself does not contain backslashes and begins
11884 # with a dollar sign (not a hyphen), so the echo should work correctly.
11885 # The option is referenced via a variable to avoid confusing sed.
11886 lt_compile
=`echo "$ac_compile" | $SED \
11887 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11888 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11889 -e 's:$: $lt_compiler_flag:'`
11890 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11891 (eval "$lt_compile" 2>conftest.err
)
11893 cat conftest.err
>&5
11894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11895 if (exit $ac_status) && test -s "$ac_outfile"; then
11896 # The compiler can only warn and ignore the option if not recognized
11897 # So say no if there are warnings other than the usual output.
11898 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11899 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11900 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11901 lt_cv_prog_compiler_pic_works_GO
=yes
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_GO" >&5
11908 $as_echo "$lt_cv_prog_compiler_pic_works_GO" >&6; }
11910 if test x
"$lt_cv_prog_compiler_pic_works_GO" = xyes
; then
11911 case $lt_prog_compiler_pic_GO in
11913 *) lt_prog_compiler_pic_GO
=" $lt_prog_compiler_pic_GO" ;;
11916 lt_prog_compiler_pic_GO
=
11917 lt_prog_compiler_can_build_shared_GO
=no
11925 # Check to make sure the static flag actually works.
11927 wl
=$lt_prog_compiler_wl_GO eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GO\"
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11929 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11930 if test "${lt_cv_prog_compiler_static_works_GO+set}" = set; then :
11931 $as_echo_n "(cached) " >&6
11933 lt_cv_prog_compiler_static_works_GO
=no
11934 save_LDFLAGS
="$LDFLAGS"
11935 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11936 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11937 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11938 # The linker can only warn and ignore the option if not recognized
11939 # So say no if there are warnings
11940 if test -s conftest.err
; then
11941 # Append any errors to the config.log.
11942 cat conftest.err
1>&5
11943 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11944 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11945 if diff conftest.exp conftest.er2
>/dev
/null
; then
11946 lt_cv_prog_compiler_static_works_GO
=yes
11949 lt_cv_prog_compiler_static_works_GO
=yes
11953 LDFLAGS
="$save_LDFLAGS"
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_GO" >&5
11957 $as_echo "$lt_cv_prog_compiler_static_works_GO" >&6; }
11959 if test x
"$lt_cv_prog_compiler_static_works_GO" = xyes
; then
11962 lt_prog_compiler_static_GO
=
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11969 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11970 if test "${lt_cv_prog_compiler_c_o_GO+set}" = set; then :
11971 $as_echo_n "(cached) " >&6
11973 lt_cv_prog_compiler_c_o_GO
=no
11974 $RM -r conftest
2>/dev
/null
11978 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11980 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11981 # Insert the option either (1) after the last *FLAGS variable, or
11982 # (2) before a word containing "conftest.", or (3) at the end.
11983 # Note that $ac_compile itself does not contain backslashes and begins
11984 # with a dollar sign (not a hyphen), so the echo should work correctly.
11985 lt_compile
=`echo "$ac_compile" | $SED \
11986 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11987 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11988 -e 's:$: $lt_compiler_flag:'`
11989 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11990 (eval "$lt_compile" 2>out
/conftest.err
)
11992 cat out
/conftest.err
>&5
11993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11994 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11996 # The compiler can only warn and ignore the option if not recognized
11997 # So say no if there are warnings
11998 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
11999 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12000 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12001 lt_cv_prog_compiler_c_o_GO
=yes
12006 # SGI C++ compiler will create directory out/ii_files/ for
12007 # template instantiation
12008 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12009 $RM out
/* && rmdir out
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
12016 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12021 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12022 if test "${lt_cv_prog_compiler_c_o_GO+set}" = set; then :
12023 $as_echo_n "(cached) " >&6
12025 lt_cv_prog_compiler_c_o_GO
=no
12026 $RM -r conftest
2>/dev
/null
12030 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12032 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12033 # Insert the option either (1) after the last *FLAGS variable, or
12034 # (2) before a word containing "conftest.", or (3) at the end.
12035 # Note that $ac_compile itself does not contain backslashes and begins
12036 # with a dollar sign (not a hyphen), so the echo should work correctly.
12037 lt_compile
=`echo "$ac_compile" | $SED \
12038 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12039 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12040 -e 's:$: $lt_compiler_flag:'`
12041 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12042 (eval "$lt_compile" 2>out
/conftest.err
)
12044 cat out
/conftest.err
>&5
12045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12046 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12048 # The compiler can only warn and ignore the option if not recognized
12049 # So say no if there are warnings
12050 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12051 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12052 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12053 lt_cv_prog_compiler_c_o_GO
=yes
12058 # SGI C++ compiler will create directory out/ii_files/ for
12059 # template instantiation
12060 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12061 $RM out
/* && rmdir out
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
12068 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
12073 hard_links
="nottested"
12074 if test "$lt_cv_prog_compiler_c_o_GO" = no
&& test "$need_locks" != no
; then
12075 # do not overwrite the value of need_locks provided by the user
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12077 $as_echo_n "checking if we can lock with hard links... " >&6; }
12080 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12082 ln conftest.a conftest.b
2>&5 || hard_links
=no
12083 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12085 $as_echo "$hard_links" >&6; }
12086 if test "$hard_links" = no
; then
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12088 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12098 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12101 allow_undefined_flag_GO
=
12102 always_export_symbols_GO
=no
12104 archive_expsym_cmds_GO
=
12105 compiler_needs_object_GO
=no
12106 enable_shared_with_static_runtimes_GO
=no
12107 export_dynamic_flag_spec_GO
=
12108 export_symbols_cmds_GO
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12109 hardcode_automatic_GO
=no
12110 hardcode_direct_GO
=no
12111 hardcode_direct_absolute_GO
=no
12112 hardcode_libdir_flag_spec_GO
=
12113 hardcode_libdir_flag_spec_ld_GO
=
12114 hardcode_libdir_separator_GO
=
12115 hardcode_minus_L_GO
=no
12116 hardcode_shlibpath_var_GO
=unsupported
12117 inherit_rpath_GO
=no
12118 link_all_deplibs_GO
=unknown
12120 module_expsym_cmds_GO
=
12121 old_archive_from_new_cmds_GO
=
12122 old_archive_from_expsyms_cmds_GO
=
12123 thread_safe_flag_spec_GO
=
12124 whole_archive_flag_spec_GO
=
12125 # include_expsyms should be a list of space-separated symbols to be *always*
12126 # included in the symbol list
12127 include_expsyms_GO
=
12128 # exclude_expsyms can be an extended regexp of symbols to exclude
12129 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12130 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12131 # as well as any symbol that contains `d'.
12132 exclude_expsyms_GO
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12133 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12134 # platforms (ab)use it in PIC code, but their linkers get confused if
12135 # the symbol is explicitly referenced. Since portable code cannot
12136 # rely on this symbol name, it's probably fine to never include it in
12137 # preloaded symbol tables.
12138 # Exclude shared library initialization/finalization symbols.
12139 extract_expsyms_cmds
=
12142 cygwin
* | mingw
* | pw32
* | cegcc
*)
12143 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12144 # When not using gcc, we currently assume that we are using
12145 # Microsoft Visual C++.
12146 if test "$GCC" != yes; then
12151 # we just hope/assume this is gcc and not c89 (= MSVC++)
12161 # On some targets, GNU ld is compatible enough with the native linker
12162 # that we're better off using the native interface for both.
12163 lt_use_gnu_ld_interface
=no
12164 if test "$with_gnu_ld" = yes; then
12167 # The AIX port of GNU ld has always aspired to compatibility
12168 # with the native linker. However, as the warning in the GNU ld
12169 # block says, versions before 2.19.5* couldn't really create working
12170 # shared libraries, regardless of the interface used.
12171 case `$LD -v 2>&1` in
12172 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
12173 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
12174 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
12176 lt_use_gnu_ld_interface
=yes
12181 lt_use_gnu_ld_interface
=yes
12186 if test "$lt_use_gnu_ld_interface" = yes; then
12187 # If archive_cmds runs LD, not CC, wlarc should be empty
12190 # Set some defaults for GNU ld with shared library support. These
12191 # are reset later if shared libraries are not supported. Putting them
12192 # here allows them to be overridden if necessary.
12193 runpath_var
=LD_RUN_PATH
12194 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12195 export_dynamic_flag_spec_GO
='${wl}--export-dynamic'
12196 # ancient GNU ld didn't support --whole-archive et. al.
12197 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12198 whole_archive_flag_spec_GO
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12200 whole_archive_flag_spec_GO
=
12202 supports_anon_versioning
=no
12203 case `$LD -v 2>&1` in
12204 *GNU\ gold
*) supports_anon_versioning
=yes ;;
12205 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12206 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12207 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12208 *\
2.11.
*) ;; # other 2.11 versions
12209 *) supports_anon_versioning
=yes ;;
12212 # See if GNU ld supports shared libraries.
12215 # On AIX/PPC, the GNU linker is very broken
12216 if test "$host_cpu" != ia64
; then
12220 *** Warning: the GNU linker, at least up to release 2.19, is reported
12221 *** to be unable to reliably create shared libraries on AIX.
12222 *** Therefore, libtool is disabling shared libraries support. If you
12223 *** really care for shared libraries, you may want to install binutils
12224 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12225 *** You will then need to restart the configuration process.
12234 # see comment about AmigaOS4 .so support
12235 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12236 archive_expsym_cmds_GO
=''
12239 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)'
12240 hardcode_libdir_flag_spec_GO
='-L$libdir'
12241 hardcode_minus_L_GO
=yes
12247 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12248 allow_undefined_flag_GO
=unsupported
12249 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12250 # support --undefined. This deserves some investigation. FIXME
12251 archive_cmds_GO
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12257 cygwin
* | mingw
* | pw32
* | cegcc
*)
12258 # _LT_TAGVAR(hardcode_libdir_flag_spec, GO) is actually meaningless,
12259 # as there is no search path for DLLs.
12260 hardcode_libdir_flag_spec_GO
='-L$libdir'
12261 export_dynamic_flag_spec_GO
='${wl}--export-all-symbols'
12262 allow_undefined_flag_GO
=unsupported
12263 always_export_symbols_GO
=no
12264 enable_shared_with_static_runtimes_GO
=yes
12265 export_symbols_cmds_GO
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12267 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12268 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12269 # If the export-symbols file already is a .def file (1st line
12270 # is EXPORTS), use it as is; otherwise, prepend...
12271 archive_expsym_cmds_GO
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12272 cp $export_symbols $output_objdir/$soname.def;
12274 echo EXPORTS > $output_objdir/$soname.def;
12275 cat $export_symbols >> $output_objdir/$soname.def;
12277 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12284 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12285 link_all_deplibs_GO
=yes
12289 hardcode_direct_GO
=no
12290 hardcode_shlibpath_var_GO
=no
12291 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12292 export_dynamic_flag_spec_GO
='${wl}-E'
12293 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12294 # Instead, shared libraries are loaded at an image base (0x10000000 by
12295 # default) and relocated if they conflict, which is a slow very memory
12296 # consuming and fragmenting process. To avoid this, we pick a random,
12297 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12298 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12299 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'
12300 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'
12303 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12305 if test "$host_os" = linux-dietlibc
; then
12306 case $cc_basename in
12307 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12310 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12311 && test "$tmp_diet" = no
12314 tmp_sharedflag
='-shared'
12315 case $cc_basename,$host_cpu in
12316 pgcc
*) # Portland Group C compiler
12317 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'
12318 tmp_addflag
=' $pic_flag'
12320 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12321 # Portland Group f77 and f90 compilers
12322 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'
12323 tmp_addflag
=' $pic_flag -Mnomain' ;;
12324 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12325 tmp_addflag
=' -i_dynamic' ;;
12326 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12327 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12328 ifc
* | ifort
*) # Intel Fortran compiler
12329 tmp_addflag
=' -nofor_main' ;;
12330 lf95
*) # Lahey Fortran 8.1
12331 whole_archive_flag_spec_GO
=
12332 tmp_sharedflag
='--shared' ;;
12333 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12334 tmp_sharedflag
='-qmkshrobj'
12336 nvcc
*) # Cuda Compiler Driver 2.2
12337 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'
12338 compiler_needs_object_GO
=yes
12341 case `$CC -V 2>&1 | sed 5q` in
12342 *Sun\ C
*) # Sun C 5.9
12343 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'
12344 compiler_needs_object_GO
=yes
12345 tmp_sharedflag
='-G' ;;
12346 *Sun\ F
*) # Sun Fortran 8.3
12347 tmp_sharedflag
='-G' ;;
12349 archive_cmds_GO
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12351 if test "x$supports_anon_versioning" = xyes
; then
12352 archive_expsym_cmds_GO
='echo "{ global:" > $output_objdir/$libname.ver~
12353 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12354 echo "local: *; };" >> $output_objdir/$libname.ver~
12355 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12358 case $cc_basename in
12359 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12360 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12361 whole_archive_flag_spec_GO
='--whole-archive$convenience --no-whole-archive'
12362 hardcode_libdir_flag_spec_GO
=
12363 hardcode_libdir_flag_spec_ld_GO
='-rpath $libdir'
12364 archive_cmds_GO
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12365 if test "x$supports_anon_versioning" = xyes
; then
12366 archive_expsym_cmds_GO
='echo "{ global:" > $output_objdir/$libname.ver~
12367 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12368 echo "local: *; };" >> $output_objdir/$libname.ver~
12369 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12379 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12380 archive_cmds_GO
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12383 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12384 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12389 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12393 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12394 *** create shared libraries on Solaris systems. Therefore, libtool
12395 *** is disabling shared libraries support. We urge you to upgrade GNU
12396 *** binutils to release 2.9.1 or newer. Another option is to modify
12397 *** your PATH or compiler configuration so that the native linker is
12398 *** used, and then restart.
12401 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12402 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12403 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12409 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12410 case `$LD -v 2>&1` in
12411 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12415 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12416 *** reliably create shared libraries on SCO systems. Therefore, libtool
12417 *** is disabling shared libraries support. We urge you to upgrade GNU
12418 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12419 *** your PATH or compiler configuration so that the native linker is
12420 *** used, and then restart.
12425 # For security reasons, it is highly recommended that you always
12426 # use absolute paths for naming shared libraries, and exclude the
12427 # DT_RUNPATH tag from executables and libraries. But doing so
12428 # requires that you compile everything twice, which is a pain.
12429 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12430 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12431 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12432 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12441 archive_cmds_GO
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12443 hardcode_direct_GO
=yes
12444 hardcode_shlibpath_var_GO
=no
12448 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12449 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12450 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12457 if test "$ld_shlibs_GO" = no
; then
12459 hardcode_libdir_flag_spec_GO
=
12460 export_dynamic_flag_spec_GO
=
12461 whole_archive_flag_spec_GO
=
12464 # PORTME fill in a description of your system's linker (not GNU ld)
12467 allow_undefined_flag_GO
=unsupported
12468 always_export_symbols_GO
=yes
12469 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'
12470 # Note: this linker hardcodes the directories in LIBPATH if there
12471 # are no directories specified by -L.
12472 hardcode_minus_L_GO
=yes
12473 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12474 # Neither direct hardcoding nor static linking is supported with a
12476 hardcode_direct_GO
=unsupported
12481 if test "$host_cpu" = ia64
; then
12482 # On IA64, the linker does run time linking by default, so we don't
12483 # have to do anything special.
12484 aix_use_runtimelinking
=no
12485 exp_sym_flag
='-Bexport'
12488 # If we're using GNU nm, then we don't want the "-C" option.
12489 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12490 # Also, AIX nm treats weak defined symbols like other global
12491 # defined symbols, whereas GNU nm marks them as "W".
12492 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
12493 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'
12495 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'
12497 aix_use_runtimelinking
=no
12499 # Test if we are trying to use run time linking or normal
12500 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12501 # need to do runtime linking.
12502 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12503 for ld_flag
in $LDFLAGS; do
12504 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
12505 aix_use_runtimelinking
=yes
12512 exp_sym_flag
='-bexport'
12513 no_entry_flag
='-bnoentry'
12516 # When large executables or shared objects are built, AIX ld can
12517 # have problems creating the table of contents. If linking a library
12518 # or program results in "error TOC overflow" add -mminimal-toc to
12519 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12520 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12523 hardcode_direct_GO
=yes
12524 hardcode_direct_absolute_GO
=yes
12525 hardcode_libdir_separator_GO
=':'
12526 link_all_deplibs_GO
=yes
12527 file_list_spec_GO
='${wl}-f,'
12529 if test "$GCC" = yes; then
12530 case $host_os in aix4.
[012]|aix4.
[012].
*)
12531 # We only want to do this on AIX 4.2 and lower, the check
12532 # below for broken collect2 doesn't work under 4.3+
12533 collect2name
=`${CC} -print-prog-name=collect2`
12534 if test -f "$collect2name" &&
12535 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12537 # We have reworked collect2
12540 # We have old collect2
12541 hardcode_direct_GO
=unsupported
12542 # It fails to find uninstalled libraries when the uninstalled
12543 # path is not listed in the libpath. Setting hardcode_minus_L
12544 # to unsupported forces relinking
12545 hardcode_minus_L_GO
=yes
12546 hardcode_libdir_flag_spec_GO
='-L$libdir'
12547 hardcode_libdir_separator_GO
=
12551 shared_flag
='-shared'
12552 if test "$aix_use_runtimelinking" = yes; then
12553 shared_flag
="$shared_flag "'${wl}-G'
12557 if test "$host_cpu" = ia64
; then
12558 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12559 # chokes on -Wl,-G. The following line is correct:
12562 if test "$aix_use_runtimelinking" = yes; then
12563 shared_flag
='${wl}-G'
12565 shared_flag
='${wl}-bM:SRE'
12570 export_dynamic_flag_spec_GO
='${wl}-bexpall'
12571 # It seems that -bexpall does not export symbols beginning with
12572 # underscore (_), so it is better to generate a list of symbols to export.
12573 always_export_symbols_GO
=yes
12574 if test "$aix_use_runtimelinking" = yes; then
12575 # Warning - without using the other runtime loading flags (-brtl),
12576 # -berok will link without error, but may produce a broken library.
12577 allow_undefined_flag_GO
='-berok'
12578 # Determine the default libpath from the value encoded in an
12579 # empty executable.
12580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12581 /* end confdefs.h. */
12591 if ac_fn_c_try_link
"$LINENO"; then :
12593 lt_aix_libpath_sed
='
12594 /Import File Strings/,/^$/ {
12600 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12601 # Check for a 64-bit object if we didn't find anything.
12602 if test -z "$aix_libpath"; then
12603 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12606 rm -f core conftest.err conftest.
$ac_objext \
12607 conftest
$ac_exeext conftest.
$ac_ext
12608 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12610 hardcode_libdir_flag_spec_GO
='${wl}-blibpath:$libdir:'"$aix_libpath"
12611 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"
12613 if test "$host_cpu" = ia64
; then
12614 hardcode_libdir_flag_spec_GO
='${wl}-R $libdir:/usr/lib:/lib'
12615 allow_undefined_flag_GO
="-z nodefs"
12616 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"
12618 # Determine the default libpath from the value encoded in an
12619 # empty executable.
12620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12621 /* end confdefs.h. */
12631 if ac_fn_c_try_link
"$LINENO"; then :
12633 lt_aix_libpath_sed
='
12634 /Import File Strings/,/^$/ {
12640 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12641 # Check for a 64-bit object if we didn't find anything.
12642 if test -z "$aix_libpath"; then
12643 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12646 rm -f core conftest.err conftest.
$ac_objext \
12647 conftest
$ac_exeext conftest.
$ac_ext
12648 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12650 hardcode_libdir_flag_spec_GO
='${wl}-blibpath:$libdir:'"$aix_libpath"
12651 # Warning - without using the other run time loading flags,
12652 # -berok will link without error, but may produce a broken library.
12653 no_undefined_flag_GO
=' ${wl}-bernotok'
12654 allow_undefined_flag_GO
=' ${wl}-berok'
12655 if test "$with_gnu_ld" = yes; then
12656 # We only use this code for GNU lds that support --whole-archive.
12657 whole_archive_flag_spec_GO
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12659 # Exported symbols can be pulled into shared objects from archives
12660 whole_archive_flag_spec_GO
='$convenience'
12662 archive_cmds_need_lc_GO
=yes
12663 # This is similar to how AIX traditionally builds its shared libraries.
12664 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'
12672 # see comment about AmigaOS4 .so support
12673 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12674 archive_expsym_cmds_GO
=''
12677 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)'
12678 hardcode_libdir_flag_spec_GO
='-L$libdir'
12679 hardcode_minus_L_GO
=yes
12685 export_dynamic_flag_spec_GO
=-rdynamic
12688 cygwin
* | mingw
* | pw32
* | cegcc
*)
12689 # When not using gcc, we currently assume that we are using
12690 # Microsoft Visual C++.
12691 # hardcode_libdir_flag_spec is actually meaningless, as there is
12692 # no search path for DLLs.
12693 hardcode_libdir_flag_spec_GO
=' '
12694 allow_undefined_flag_GO
=unsupported
12695 # Tell ltmain to make .lib files, not .a files.
12697 # Tell ltmain to make .dll files, not .so files.
12699 # FIXME: Setting linknames here is a bad hack.
12700 archive_cmds_GO
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12701 # The linker will automatically build a .lib file if we build a DLL.
12702 old_archive_from_new_cmds_GO
='true'
12703 # FIXME: Should let the user specify the lib program.
12704 old_archive_cmds_GO
='lib -OUT:$oldlib$oldobjs$old_deplibs'
12705 fix_srcfile_path_GO
='`cygpath -w "$srcfile"`'
12706 enable_shared_with_static_runtimes_GO
=yes
12709 darwin
* | rhapsody
*)
12712 archive_cmds_need_lc_GO
=no
12713 hardcode_direct_GO
=no
12714 hardcode_automatic_GO
=yes
12715 hardcode_shlibpath_var_GO
=unsupported
12716 if test "$lt_cv_ld_force_load" = "yes"; then
12717 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\"`'
12719 whole_archive_flag_spec_GO
=''
12721 link_all_deplibs_GO
=yes
12722 allow_undefined_flag_GO
="$_lt_dar_allow_undefined"
12723 case $cc_basename in
12724 ifort
*) _lt_dar_can_shared
=yes ;;
12725 *) _lt_dar_can_shared
=$GCC ;;
12727 if test "$_lt_dar_can_shared" = "yes"; then
12728 output_verbose_link_cmd
=func_echo_all
12729 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}"
12730 module_cmds_GO
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12731 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}"
12732 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}"
12741 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12742 hardcode_libdir_flag_spec_GO
='-L$libdir'
12743 hardcode_shlibpath_var_GO
=no
12746 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12747 # support. Future versions do this automatically, but an explicit c++rt0.o
12748 # does not break anything, and helps significantly (at the cost of a little
12751 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12752 hardcode_libdir_flag_spec_GO
='-R$libdir'
12753 hardcode_direct_GO
=yes
12754 hardcode_shlibpath_var_GO
=no
12757 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12759 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12760 hardcode_direct_GO
=yes
12761 hardcode_minus_L_GO
=yes
12762 hardcode_shlibpath_var_GO
=no
12765 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12766 freebsd
* | dragonfly
*)
12767 archive_cmds_GO
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12768 hardcode_libdir_flag_spec_GO
='-R$libdir'
12769 hardcode_direct_GO
=yes
12770 hardcode_shlibpath_var_GO
=no
12774 if test "$GCC" = yes; then
12775 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'
12777 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'
12779 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12780 hardcode_libdir_separator_GO
=:
12781 hardcode_direct_GO
=yes
12783 # hardcode_minus_L: Not really in the search PATH,
12784 # but as the default location of the library.
12785 hardcode_minus_L_GO
=yes
12786 export_dynamic_flag_spec_GO
='${wl}-E'
12790 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12791 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12793 archive_cmds_GO
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12795 if test "$with_gnu_ld" = no
; then
12796 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12797 hardcode_libdir_flag_spec_ld_GO
='+b $libdir'
12798 hardcode_libdir_separator_GO
=:
12799 hardcode_direct_GO
=yes
12800 hardcode_direct_absolute_GO
=yes
12801 export_dynamic_flag_spec_GO
='${wl}-E'
12802 # hardcode_minus_L: Not really in the search PATH,
12803 # but as the default location of the library.
12804 hardcode_minus_L_GO
=yes
12809 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12812 archive_cmds_GO
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12815 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12818 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12824 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12827 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12830 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12834 if test "$with_gnu_ld" = no
; then
12835 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12836 hardcode_libdir_separator_GO
=:
12840 hardcode_direct_GO
=no
12841 hardcode_shlibpath_var_GO
=no
12844 hardcode_direct_GO
=yes
12845 hardcode_direct_absolute_GO
=yes
12846 export_dynamic_flag_spec_GO
='${wl}-E'
12848 # hardcode_minus_L: Not really in the search PATH,
12849 # but as the default location of the library.
12850 hardcode_minus_L_GO
=yes
12856 irix5
* | irix6
* | nonstopux
*)
12857 if test "$GCC" = yes; then
12858 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'
12859 # Try to use the -exported_symbol ld option, if it does not
12860 # work, assume that -exports_file does not work either and
12861 # implicitly export all symbols.
12862 save_LDFLAGS
="$LDFLAGS"
12863 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12865 /* end confdefs.h. */
12868 if ac_fn_c_try_link
"$LINENO"; then :
12869 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'
12872 rm -f core conftest.err conftest.
$ac_objext \
12873 conftest
$ac_exeext conftest.
$ac_ext
12874 LDFLAGS
="$save_LDFLAGS"
12876 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'
12877 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'
12879 archive_cmds_need_lc_GO
='no'
12880 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12881 hardcode_libdir_separator_GO
=:
12882 inherit_rpath_GO
=yes
12883 link_all_deplibs_GO
=yes
12887 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12888 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12890 archive_cmds_GO
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12892 hardcode_libdir_flag_spec_GO
='-R$libdir'
12893 hardcode_direct_GO
=yes
12894 hardcode_shlibpath_var_GO
=no
12898 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12899 hardcode_direct_GO
=yes
12900 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12901 hardcode_libdir_separator_GO
=:
12902 hardcode_shlibpath_var_GO
=no
12909 if test -f /usr
/libexec
/ld.so
; then
12910 hardcode_direct_GO
=yes
12911 hardcode_shlibpath_var_GO
=no
12912 hardcode_direct_absolute_GO
=yes
12913 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12914 archive_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12915 archive_expsym_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12916 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12917 export_dynamic_flag_spec_GO
='${wl}-E'
12920 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
12921 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12922 hardcode_libdir_flag_spec_GO
='-R$libdir'
12925 archive_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12926 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12936 hardcode_libdir_flag_spec_GO
='-L$libdir'
12937 hardcode_minus_L_GO
=yes
12938 allow_undefined_flag_GO
=unsupported
12939 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'
12940 old_archive_from_new_cmds_GO
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12944 if test "$GCC" = yes; then
12945 allow_undefined_flag_GO
=' ${wl}-expect_unresolved ${wl}\*'
12946 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'
12948 allow_undefined_flag_GO
=' -expect_unresolved \*'
12949 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'
12951 archive_cmds_need_lc_GO
='no'
12952 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12953 hardcode_libdir_separator_GO
=:
12956 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
12957 if test "$GCC" = yes; then
12958 allow_undefined_flag_GO
=' ${wl}-expect_unresolved ${wl}\*'
12959 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'
12960 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12962 allow_undefined_flag_GO
=' -expect_unresolved \*'
12963 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'
12964 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~
12965 $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'
12967 # Both c and cxx compiler support -rpath directly
12968 hardcode_libdir_flag_spec_GO
='-rpath $libdir'
12970 archive_cmds_need_lc_GO
='no'
12971 hardcode_libdir_separator_GO
=:
12975 no_undefined_flag_GO
=' -z defs'
12976 if test "$GCC" = yes; then
12978 archive_cmds_GO
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12979 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12980 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12982 case `$CC -V 2>&1` in
12985 archive_cmds_GO
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12986 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12987 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12991 archive_cmds_GO
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12992 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12993 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12997 hardcode_libdir_flag_spec_GO
='-R$libdir'
12998 hardcode_shlibpath_var_GO
=no
13000 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13002 # The compiler driver will combine and reorder linker options,
13003 # but understands `-z linker_flag'. GCC discards it without `$wl',
13004 # but is careful enough not to reorder.
13005 # Supported since Solaris 2.6 (maybe 2.5.1?)
13006 if test "$GCC" = yes; then
13007 whole_archive_flag_spec_GO
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13009 whole_archive_flag_spec_GO
='-z allextract$convenience -z defaultextract'
13013 link_all_deplibs_GO
=yes
13017 if test "x$host_vendor" = xsequent
; then
13018 # Use $CC to link under sequent, because it throws in some extra .o
13019 # files that make .init and .fini sections work.
13020 archive_cmds_GO
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13022 archive_cmds_GO
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13024 hardcode_libdir_flag_spec_GO
='-L$libdir'
13025 hardcode_direct_GO
=yes
13026 hardcode_minus_L_GO
=yes
13027 hardcode_shlibpath_var_GO
=no
13031 case $host_vendor in
13033 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13034 hardcode_direct_GO
=yes # is this really true???
13037 ## LD is ld it makes a PLAMLIB
13038 ## CC just makes a GrossModule.
13039 archive_cmds_GO
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13040 reload_cmds_GO
='$CC -r -o $output$reload_objs'
13041 hardcode_direct_GO
=no
13044 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13045 hardcode_direct_GO
=no
#Motorola manual says yes, but my tests say they lie
13048 runpath_var
='LD_RUN_PATH'
13049 hardcode_shlibpath_var_GO
=no
13053 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13054 hardcode_shlibpath_var_GO
=no
13055 export_dynamic_flag_spec_GO
='-Bexport'
13059 if test -d /usr
/nec
; then
13060 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13061 hardcode_shlibpath_var_GO
=no
13062 runpath_var
=LD_RUN_PATH
13063 hardcode_runpath_var
=yes
13068 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13069 no_undefined_flag_GO
='${wl}-z,text'
13070 archive_cmds_need_lc_GO
=no
13071 hardcode_shlibpath_var_GO
=no
13072 runpath_var
='LD_RUN_PATH'
13074 if test "$GCC" = yes; then
13075 archive_cmds_GO
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13076 archive_expsym_cmds_GO
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13078 archive_cmds_GO
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13079 archive_expsym_cmds_GO
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13083 sysv5
* | sco3.2v5
* | sco5v6
*)
13084 # Note: We can NOT use -z defs as we might desire, because we do not
13085 # link with -lc, and that would cause any symbols used from libc to
13086 # always be unresolved, which means just about no library would
13087 # ever link correctly. If we're not using GNU ld we use -z text
13088 # though, which does catch some bad symbols but isn't as heavy-handed
13090 no_undefined_flag_GO
='${wl}-z,text'
13091 allow_undefined_flag_GO
='${wl}-z,nodefs'
13092 archive_cmds_need_lc_GO
=no
13093 hardcode_shlibpath_var_GO
=no
13094 hardcode_libdir_flag_spec_GO
='${wl}-R,$libdir'
13095 hardcode_libdir_separator_GO
=':'
13096 link_all_deplibs_GO
=yes
13097 export_dynamic_flag_spec_GO
='${wl}-Bexport'
13098 runpath_var
='LD_RUN_PATH'
13100 if test "$GCC" = yes; then
13101 archive_cmds_GO
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13102 archive_expsym_cmds_GO
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13104 archive_cmds_GO
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13105 archive_expsym_cmds_GO
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13110 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13111 hardcode_libdir_flag_spec_GO
='-L$libdir'
13112 hardcode_shlibpath_var_GO
=no
13120 if test x
$host_vendor = xsni
; then
13122 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13123 export_dynamic_flag_spec_GO
='${wl}-Blargedynsym'
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GO" >&5
13130 $as_echo "$ld_shlibs_GO" >&6; }
13131 test "$ld_shlibs_GO" = no
&& can_build_shared
=no
13133 with_gnu_ld_GO
=$with_gnu_ld
13141 # Do we need to explicitly link libc?
13143 case "x$archive_cmds_need_lc_GO" in
13145 # Assume -lc should be added
13146 archive_cmds_need_lc_GO
=yes
13148 if test "$enable_shared" = yes && test "$GCC" = yes; then
13149 case $archive_cmds_GO in
13151 # FIXME: we may have to deal with multi-command sequences.
13154 # Test whether the compiler implicitly links with -lc since on some
13155 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13156 # to ld, don't add -lc before -lgcc.
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13158 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13159 if test "${lt_cv_archive_cmds_need_lc_GO+set}" = set; then :
13160 $as_echo_n "(cached) " >&6
13163 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13165 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13166 (eval $ac_compile) 2>&5
13168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13169 test $ac_status = 0; } 2>conftest.err
; then
13172 libobjs
=conftest.
$ac_objext
13174 wl
=$lt_prog_compiler_wl_GO
13175 pic_flag
=$lt_prog_compiler_pic_GO
13181 lt_save_allow_undefined_flag
=$allow_undefined_flag_GO
13182 allow_undefined_flag_GO
=
13183 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GO 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13184 (eval $archive_cmds_GO 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13187 test $ac_status = 0; }
13189 lt_cv_archive_cmds_need_lc_GO
=no
13191 lt_cv_archive_cmds_need_lc_GO
=yes
13193 allow_undefined_flag_GO
=$lt_save_allow_undefined_flag
13195 cat conftest.err
1>&5
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_GO" >&5
13201 $as_echo "$lt_cv_archive_cmds_need_lc_GO" >&6; }
13202 archive_cmds_need_lc_GO
=$lt_cv_archive_cmds_need_lc_GO
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13273 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13274 hardcode_action_GO
=
13275 if test -n "$hardcode_libdir_flag_spec_GO" ||
13276 test -n "$runpath_var_GO" ||
13277 test "X$hardcode_automatic_GO" = "Xyes" ; then
13279 # We can hardcode non-existent directories.
13280 if test "$hardcode_direct_GO" != no
&&
13281 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13282 # have to relink, otherwise we might link with an installed library
13283 # when we should be linking with a yet-to-be-installed one
13284 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, GO)" != no &&
13285 test "$hardcode_minus_L_GO" != no
; then
13286 # Linking always hardcodes the temporary library directory.
13287 hardcode_action_GO
=relink
13289 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13290 hardcode_action_GO
=immediate
13293 # We cannot hardcode anything, or else we can only hardcode existing
13295 hardcode_action_GO
=unsupported
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GO" >&5
13298 $as_echo "$hardcode_action_GO" >&6; }
13300 if test "$hardcode_action_GO" = relink ||
13301 test "$inherit_rpath_GO" = yes; then
13302 # Fast installation is not supported
13303 enable_fast_install
=no
13304 elif test "$shlibpath_overrides_runpath" = yes ||
13305 test "$enable_shared" = no
; then
13306 # Fast installation is not necessary
13307 enable_fast_install
=needless
13319 ac_cpp
='$CPP $CPPFLAGS'
13320 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13321 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13322 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13331 ac_config_commands
="$ac_config_commands libtool"
13336 # Only expand once:
13342 CC_FOR_BUILD
=${CC_FOR_BUILD:-gcc}
13345 for ac_prog
in gawk mawk nawk
awk
13347 # Extract the first word of "$ac_prog", so it can be a program name with args.
13348 set dummy
$ac_prog; ac_word
=$2
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13350 $as_echo_n "checking for $ac_word... " >&6; }
13351 if test "${ac_cv_prog_AWK+set}" = set; then :
13352 $as_echo_n "(cached) " >&6
13354 if test -n "$AWK"; then
13355 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
13357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13358 for as_dir
in $PATH
13361 test -z "$as_dir" && as_dir
=.
13362 for ac_exec_ext
in '' $ac_executable_extensions; do
13363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13364 ac_cv_prog_AWK
="$ac_prog"
13365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13374 AWK
=$ac_cv_prog_AWK
13375 if test -n "$AWK"; then
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
13377 $as_echo "$AWK" >&6; }
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13380 $as_echo "no" >&6; }
13384 test -n "$AWK" && break
13388 WARN_FLAGS
='-Wall -Wextra -Wwrite-strings -Wcast-qual'
13391 # Check whether --enable-werror was given.
13392 if test "${enable_werror+set}" = set; then :
13393 enableval
=$enable_werror;
13396 if test "x$enable_werror" != "xno"; then
13401 glibgo_toolexecdir
=no
13402 glibgo_toolexeclibdir
=no
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
13405 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
13406 # Check whether --enable-version-specific-runtime-libs was given.
13407 if test "${enable_version_specific_runtime_libs+set}" = set; then :
13408 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
13409 yes) version_specific_libs
=yes ;;
13410 no
) version_specific_libs
=no
;;
13411 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
13414 version_specific_libs
=no
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
13418 $as_echo "$version_specific_libs" >&6; }
13420 # Version-specific runtime libs processing.
13421 if test $version_specific_libs = yes; then
13422 glibgo_toolexecdir
='${libdir}/gcc/${host_alias}'
13423 glibgo_toolexeclibdir
='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
13426 # Calculate glibgo_toolexecdir, glibgo_toolexeclibdir
13427 # Install a library built with a cross compiler in tooldir, not libdir.
13428 if test -n "$with_cross_host" &&
13429 test x
"$with_cross_host" != x
"no"; then
13430 nover_glibgo_toolexecdir
='${exec_prefix}/${host_alias}'
13431 nover_glibgo_toolexeclibdir
='${toolexecdir}/lib'
13433 nover_glibgo_toolexecdir
='${libdir}/gcc/${host_alias}'
13434 nover_glibgo_toolexeclibdir
='${libdir}'
13436 multi_os_directory
=`$CC -print-multi-os-directory`
13437 case $multi_os_directory in
13438 .
) ;; # Avoid trailing /.
13439 *) nover_glibgo_toolexeclibdir
=${nover_glibgo_toolexeclibdir}/${multi_os_directory} ;;
13442 if test x
"$glibgo_toolexecdir" = x
"no"; then
13443 glibgo_toolexecdir
="${nover_glibgo_toolexecdir}"
13444 glibgo_toolexeclibdir
="${nover_glibgo_toolexeclibdir}"
13451 # See if the user wants to configure without libffi. Some
13452 # architectures don't support it. FIXME: We should set a default
13453 # based on the host.
13455 # Check whether --with-libffi was given.
13456 if test "${with_libffi+set}" = set; then :
13457 withval
=$with_libffi; :
13459 with_libffi
=${with_libffi_default-yes}
13465 if test "$with_libffi" != no
; then
13467 $as_echo "#define USE_LIBFFI 1" >>confdefs.h
13469 LIBFFI
=..
/libffi
/libffi_convenience.la
13470 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
13475 # Used to tell GNU make to include a file without telling automake to
13477 go_include
="-include"
13490 *-*-darwin*) is_darwin
=yes; GOOS
=darwin
;;
13491 *-*-freebsd*) is_freebsd
=yes; GOOS
=freebsd
;;
13492 *-*-irix6*) is_irix
=yes; GOOS
=irix
;;
13493 *-*-linux*) is_linux
=yes; GOOS
=linux
;;
13494 *-*-netbsd*) is_netbsd
=yes; GOOS
=netbsd
;;
13495 *-*-openbsd*) is_openbsd
=yes; GOOS
=openbsd
;;
13496 *-*-rtems*) is_rtems
=yes; GOOS
=rtems
;;
13497 *-*-solaris2*) is_solaris
=yes; GOOS
=solaris
;;
13499 if test $is_darwin = yes; then
13500 LIBGO_IS_DARWIN_TRUE
=
13501 LIBGO_IS_DARWIN_FALSE
='#'
13503 LIBGO_IS_DARWIN_TRUE
='#'
13504 LIBGO_IS_DARWIN_FALSE
=
13507 if test $is_freebsd = yes; then
13508 LIBGO_IS_FREEBSD_TRUE
=
13509 LIBGO_IS_FREEBSD_FALSE
='#'
13511 LIBGO_IS_FREEBSD_TRUE
='#'
13512 LIBGO_IS_FREEBSD_FALSE
=
13515 if test $is_irix = yes; then
13516 LIBGO_IS_IRIX_TRUE
=
13517 LIBGO_IS_IRIX_FALSE
='#'
13519 LIBGO_IS_IRIX_TRUE
='#'
13520 LIBGO_IS_IRIX_FALSE
=
13523 if test $is_linux = yes; then
13524 LIBGO_IS_LINUX_TRUE
=
13525 LIBGO_IS_LINUX_FALSE
='#'
13527 LIBGO_IS_LINUX_TRUE
='#'
13528 LIBGO_IS_LINUX_FALSE
=
13531 if test $is_netbsd = yes; then
13532 LIBGO_IS_NETBSD_TRUE
=
13533 LIBGO_IS_NETBSD_FALSE
='#'
13535 LIBGO_IS_NETBSD_TRUE
='#'
13536 LIBGO_IS_NETBSD_FALSE
=
13539 if test $is_openbsd = yes; then
13540 LIBGO_IS_OPENBSD_TRUE
=
13541 LIBGO_IS_OPENBSD_FALSE
='#'
13543 LIBGO_IS_OPENBSD_TRUE
='#'
13544 LIBGO_IS_OPENBSD_FALSE
=
13547 if test $is_rtems = yes; then
13548 LIBGO_IS_RTEMS_TRUE
=
13549 LIBGO_IS_RTEMS_FALSE
='#'
13551 LIBGO_IS_RTEMS_TRUE
='#'
13552 LIBGO_IS_RTEMS_FALSE
=
13555 if test $is_solaris = yes; then
13556 LIBGO_IS_SOLARIS_TRUE
=
13557 LIBGO_IS_SOLARIS_FALSE
='#'
13559 LIBGO_IS_SOLARIS_TRUE
='#'
13560 LIBGO_IS_SOLARIS_FALSE
=
13581 arm
*-*-* | strongarm
*-*-* | ep9312
*-*-* | xscale-
*-*)
13585 i
[34567]86-*-* | x86_64-
*-*)
13586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13587 /* end confdefs.h. */
13593 if ac_fn_c_try_compile
"$LINENO"; then :
13598 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13599 if test "$is_386" = "yes"; then
13610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13611 /* end confdefs.h. */
13613 #if _MIPS_SIM != _ABIO32
13617 if ac_fn_c_try_compile
"$LINENO"; then :
13620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13621 /* end confdefs.h. */
13623 #if _MIPS_SIM != _ABIN32
13627 if ac_fn_c_try_compile
"$LINENO"; then :
13630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13631 /* end confdefs.h. */
13633 #if _MIPS_SIM != _ABI64
13637 if ac_fn_c_try_compile
"$LINENO"; then :
13640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13641 /* end confdefs.h. */
13643 #if _MIPS_SIM != _ABIO64
13647 if ac_fn_c_try_compile
"$LINENO"; then :
13650 as_fn_error
"unknown MIPS ABI" "$LINENO" 5
13653 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13655 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13659 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13660 case "$mips_abi" in
13661 "o32") GOARCH
=mipso32
;;
13662 "n32") GOARCH
=mipsn32
;;
13663 "n64") GOARCH
=mipsn64
;;
13664 "o64") GOARCH
=mipso64
;;
13667 rs6000
*-*-* | powerpc
*-*-*)
13668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13669 /* end confdefs.h. */
13675 if ac_fn_c_try_compile
"$LINENO"; then :
13680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13681 if test "$is_ppc" = "yes"; then
13688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13689 /* end confdefs.h. */
13691 #if defined(__sparcv9) || defined(__arch64__)
13695 if ac_fn_c_try_compile
"$LINENO"; then :
13700 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13701 if test "$is_sparc" = "yes"; then
13708 if test $is_386 = yes; then
13710 LIBGO_IS_386_FALSE
='#'
13712 LIBGO_IS_386_TRUE
='#'
13713 LIBGO_IS_386_FALSE
=
13716 if test $is_alpha = yes; then
13717 LIBGO_IS_ALPHA_TRUE
=
13718 LIBGO_IS_ALPHA_FALSE
='#'
13720 LIBGO_IS_ALPHA_TRUE
='#'
13721 LIBGO_IS_ALPHA_FALSE
=
13724 if test $is_arm = yes; then
13726 LIBGO_IS_ARM_FALSE
='#'
13728 LIBGO_IS_ARM_TRUE
='#'
13729 LIBGO_IS_ARM_FALSE
=
13732 if test $is_m68k = yes; then
13733 LIBGO_IS_M68K_TRUE
=
13734 LIBGO_IS_M68K_FALSE
='#'
13736 LIBGO_IS_M68K_TRUE
='#'
13737 LIBGO_IS_M68K_FALSE
=
13740 if test $mips_abi != unknown
; then
13741 LIBGO_IS_MIPS_TRUE
=
13742 LIBGO_IS_MIPS_FALSE
='#'
13744 LIBGO_IS_MIPS_TRUE
='#'
13745 LIBGO_IS_MIPS_FALSE
=
13748 if test $mips_abi = o32
; then
13749 LIBGO_IS_MIPSO32_TRUE
=
13750 LIBGO_IS_MIPSO32_FALSE
='#'
13752 LIBGO_IS_MIPSO32_TRUE
='#'
13753 LIBGO_IS_MIPSO32_FALSE
=
13756 if test $mips_abi = n32
; then
13757 LIBGO_IS_MIPSN32_TRUE
=
13758 LIBGO_IS_MIPSN32_FALSE
='#'
13760 LIBGO_IS_MIPSN32_TRUE
='#'
13761 LIBGO_IS_MIPSN32_FALSE
=
13764 if test $mips_abi = n64
; then
13765 LIBGO_IS_MIPSN64_TRUE
=
13766 LIBGO_IS_MIPSN64_FALSE
='#'
13768 LIBGO_IS_MIPSN64_TRUE
='#'
13769 LIBGO_IS_MIPSN64_FALSE
=
13772 if test $mips_abi = o64
; then
13773 LIBGO_IS_MIPSO64_TRUE
=
13774 LIBGO_IS_MIPSO64_FALSE
='#'
13776 LIBGO_IS_MIPSO64_TRUE
='#'
13777 LIBGO_IS_MIPSO64_FALSE
=
13780 if test $is_ppc = yes; then
13782 LIBGO_IS_PPC_FALSE
='#'
13784 LIBGO_IS_PPC_TRUE
='#'
13785 LIBGO_IS_PPC_FALSE
=
13788 if test $is_ppc64 = yes; then
13789 LIBGO_IS_PPC64_TRUE
=
13790 LIBGO_IS_PPC64_FALSE
='#'
13792 LIBGO_IS_PPC64_TRUE
='#'
13793 LIBGO_IS_PPC64_FALSE
=
13796 if test $is_sparc = yes; then
13797 LIBGO_IS_SPARC_TRUE
=
13798 LIBGO_IS_SPARC_FALSE
='#'
13800 LIBGO_IS_SPARC_TRUE
='#'
13801 LIBGO_IS_SPARC_FALSE
=
13804 if test $is_sparc64 = yes; then
13805 LIBGO_IS_SPARC64_TRUE
=
13806 LIBGO_IS_SPARC64_FALSE
='#'
13808 LIBGO_IS_SPARC64_TRUE
='#'
13809 LIBGO_IS_SPARC64_FALSE
=
13812 if test $is_x86_64 = yes; then
13813 LIBGO_IS_X86_64_TRUE
=
13814 LIBGO_IS_X86_64_FALSE
='#'
13816 LIBGO_IS_X86_64_TRUE
='#'
13817 LIBGO_IS_X86_64_FALSE
=
13822 GO_LIBCALL_OS_FILE
=
13823 GO_LIBCALL_OS_ARCH_FILE
=
13824 GO_SYSCALL_OS_FILE
=
13825 GO_SYSCALL_OS_ARCH_FILE
=
13826 if test -f ${srcdir}/go
/syscall
/libcall_
${GOOS}.go
; then
13827 GO_LIBCALL_OS_FILE
=go
/syscall
/libcall_
${GOOS}.go
13829 if test -f ${srcdir}/go/syscall/libcall_${GOOS}_${GOARCH}.go
; then
13830 GO_LIBCALL_OS_ARCH_FILE
=go
/syscall
/libcall_
${GOOS}_
${GOARCH}.go
13832 if test -f ${srcdir}/go
/syscall
/syscall_
${GOOS}.go
; then
13833 GO_SYSCALL_OS_FILE
=go
/syscall
/syscall_
${GOOS}.go
13835 if test -f ${srcdir}/go/syscall/syscall_${GOOS}_${GOARCH}.go
; then
13836 GO_SYSCALL_OS_ARCH_FILE
=go
/syscall
/syscall_
${GOOS}_
${GOARCH}.go
13843 OSCFLAGS
="-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
13846 # IRIX 6 needs _XOPEN_SOURCE=500 for the XPG5 version of struct
13847 # msghdr in <sys/socket.h>.
13848 OSCFLAGS
="$OSCFLAGS -D_XOPEN_SOURCE=500"
13851 # Solaris 8/9 need this so struct msghdr gets the msg_control
13852 # etc. fields in <sys/socket.h> (_XPG4_2).
13853 OSCFLAGS
="$OSCFLAGS -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED -D__EXTENSIONS__"
13855 *-*-solaris2.1
[01])
13856 # Solaris 10+ needs this so struct msghdr gets the msg_control
13857 # etc. fields in <sys/socket.h> (_XPG4_2). _XOPEN_SOURCE=600 as
13858 # above doesn't work with C99.
13859 OSCFLAGS
="$OSCFLAGS -std=gnu99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__"
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fsplit-stack is supported" >&5
13865 $as_echo_n "checking whether -fsplit-stack is supported... " >&6; }
13866 if test "${libgo_cv_c_split_stack_supported+set}" = set; then :
13867 $as_echo_n "(cached) " >&6
13869 CFLAGS_hold
=$CFLAGS
13870 CFLAGS
="$CFLAGS -fsplit-stack"
13871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13872 /* end confdefs.h. */
13875 if ac_fn_c_try_compile
"$LINENO"; then :
13876 libgo_cv_c_split_stack_supported
=yes
13878 libgo_cv_c_split_stack_supported
=no
13880 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13881 CFLAGS
=$CFLAGS_hold
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_split_stack_supported" >&5
13884 $as_echo "$libgo_cv_c_split_stack_supported" >&6; }
13885 if test "$libgo_cv_c_split_stack_supported" = yes; then
13886 SPLIT_STACK
=-fsplit-stack
13888 $as_echo "#define USING_SPLIT_STACK 1" >>confdefs.h
13894 if test "$libgo_cv_c_split_stack_supported" = yes; then
13895 USING_SPLIT_STACK_TRUE
=
13896 USING_SPLIT_STACK_FALSE
='#'
13898 USING_SPLIT_STACK_TRUE
='#'
13899 USING_SPLIT_STACK_FALSE
=
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker supports split stack" >&5
13904 $as_echo_n "checking whether linker supports split stack... " >&6; }
13905 if test "${libgo_cv_c_linker_supports_split_stack+set}" = set; then :
13906 $as_echo_n "(cached) " >&6
13908 libgo_cv_c_linker_supports_split_stack
=no
13909 if $LD --help 2>/dev
/null |
grep split-stack-adjust-size
>/dev
/null
2>&1; then
13910 libgo_cv_c_linker_supports_split_stack
=yes
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_linker_supports_split_stack" >&5
13914 $as_echo "$libgo_cv_c_linker_supports_split_stack" >&6; }
13915 if test "$libgo_cv_c_linker_supports_split_stack" = yes; then
13917 $as_echo "#define LINKER_SUPPORTS_SPLIT_STACK 1" >>confdefs.h
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
13923 $as_echo_n "checking for sqrt in -lm... " >&6; }
13924 if test "${ac_cv_lib_m_sqrt+set}" = set; then :
13925 $as_echo_n "(cached) " >&6
13927 ac_check_lib_save_LIBS
=$LIBS
13929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13930 /* end confdefs.h. */
13932 /* Override any GCC internal prototype to avoid an error.
13933 Use char because int might match the return type of a GCC
13934 builtin and then its argument prototype would still apply. */
13947 if ac_fn_c_try_link
"$LINENO"; then :
13948 ac_cv_lib_m_sqrt
=yes
13950 ac_cv_lib_m_sqrt
=no
13952 rm -f core conftest.err conftest.
$ac_objext \
13953 conftest
$ac_exeext conftest.
$ac_ext
13954 LIBS
=$ac_check_lib_save_LIBS
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
13957 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
13958 if test "x$ac_cv_lib_m_sqrt" = x
""yes; then :
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
13965 $as_echo_n "checking for socket libraries... " >&6; }
13966 if test "${libgo_cv_lib_sockets+set}" = set; then :
13967 $as_echo_n "(cached) " >&6
13969 libgo_cv_lib_sockets
=
13970 libgo_check_both
=no
13971 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
13972 if test "x$ac_cv_func_connect" = x
""yes; then :
13973 libgo_check_socket
=no
13975 libgo_check_socket
=yes
13978 if test "$libgo_check_socket" = "yes"; then
13979 unset ac_cv_func_connect
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
13981 $as_echo_n "checking for main in -lsocket... " >&6; }
13982 if test "${ac_cv_lib_socket_main+set}" = set; then :
13983 $as_echo_n "(cached) " >&6
13985 ac_check_lib_save_LIBS
=$LIBS
13986 LIBS
="-lsocket $LIBS"
13987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13988 /* end confdefs.h. */
13999 if ac_fn_c_try_link
"$LINENO"; then :
14000 ac_cv_lib_socket_main
=yes
14002 ac_cv_lib_socket_main
=no
14004 rm -f core conftest.err conftest.
$ac_objext \
14005 conftest
$ac_exeext conftest.
$ac_ext
14006 LIBS
=$ac_check_lib_save_LIBS
14008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
14009 $as_echo "$ac_cv_lib_socket_main" >&6; }
14010 if test "x$ac_cv_lib_socket_main" = x
""yes; then :
14011 libgo_cv_lib_sockets
="-lsocket"
14013 libgo_check_both
=yes
14017 if test "$libgo_check_both" = "yes"; then
14018 libgo_old_libs
=$LIBS
14019 LIBS
="$LIBS -lsocket -lnsl"
14020 unset ac_cv_func_accept
14021 ac_fn_c_check_func
"$LINENO" "accept" "ac_cv_func_accept"
14022 if test "x$ac_cv_func_accept" = x
""yes; then :
14024 libgo_cv_lib_sockets
="-lsocket -lnsl"
14027 unset ac_cv_func_accept
14028 LIBS
=$libgo_old_libs
14030 unset ac_cv_func_gethostbyname
14031 libgo_old_libs
="$LIBS"
14032 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14033 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
14037 $as_echo_n "checking for main in -lnsl... " >&6; }
14038 if test "${ac_cv_lib_nsl_main+set}" = set; then :
14039 $as_echo_n "(cached) " >&6
14041 ac_check_lib_save_LIBS
=$LIBS
14043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14044 /* end confdefs.h. */
14055 if ac_fn_c_try_link
"$LINENO"; then :
14056 ac_cv_lib_nsl_main
=yes
14058 ac_cv_lib_nsl_main
=no
14060 rm -f core conftest.err conftest.
$ac_objext \
14061 conftest
$ac_exeext conftest.
$ac_ext
14062 LIBS
=$ac_check_lib_save_LIBS
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
14065 $as_echo "$ac_cv_lib_nsl_main" >&6; }
14066 if test "x$ac_cv_lib_nsl_main" = x
""yes; then :
14067 libgo_cv_lib_sockets
="$libgo_cv_lib_sockets -lnsl"
14072 unset ac_cv_func_gethostbyname
14073 LIBS
=$libgo_old_libs
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_sockets" >&5
14077 $as_echo "$libgo_cv_lib_sockets" >&6; }
14078 NET_LIBS
="$libgo_cv_lib_sockets"
14081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -pthread is supported" >&5
14082 $as_echo_n "checking whether -pthread is supported... " >&6; }
14083 if test "${libgo_cv_lib_pthread+set}" = set; then :
14084 $as_echo_n "(cached) " >&6
14086 CFLAGS_hold
=$CFLAGS
14087 CFLAGS
="$CFLAGS -pthread"
14088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14089 /* end confdefs.h. */
14092 if ac_fn_c_try_compile
"$LINENO"; then :
14093 libgo_cv_lib_pthread
=yes
14095 libgo_cv_lib_pthread
=no
14097 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14098 CFLAGS
=$CFLAGS_hold
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_pthread" >&5
14101 $as_echo "$libgo_cv_lib_pthread" >&6; }
14103 if test "$libgo_cv_lib_pthread" = yes; then
14104 PTHREAD_CFLAGS
=-pthread
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
14110 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
14111 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
14112 $as_echo_n "(cached) " >&6
14114 ac_check_lib_save_LIBS
=$LIBS
14115 LIBS
="-lpthread $LIBS"
14116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14117 /* end confdefs.h. */
14119 /* Override any GCC internal prototype to avoid an error.
14120 Use char because int might match the return type of a GCC
14121 builtin and then its argument prototype would still apply. */
14125 char pthread_create ();
14129 return pthread_create ();
14134 if ac_fn_c_try_link
"$LINENO"; then :
14135 ac_cv_lib_pthread_pthread_create
=yes
14137 ac_cv_lib_pthread_pthread_create
=no
14139 rm -f core conftest.err conftest.
$ac_objext \
14140 conftest
$ac_exeext conftest.
$ac_ext
14141 LIBS
=$ac_check_lib_save_LIBS
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
14144 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
14145 if test "x$ac_cv_lib_pthread_pthread_create" = x
""yes; then :
14146 PTHREAD_LIBS
=-lpthread
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
14152 $as_echo_n "checking for library containing sched_yield... " >&6; }
14153 if test "${ac_cv_search_sched_yield+set}" = set; then :
14154 $as_echo_n "(cached) " >&6
14156 ac_func_search_save_LIBS
=$LIBS
14157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14158 /* end confdefs.h. */
14160 /* Override any GCC internal prototype to avoid an error.
14161 Use char because int might match the return type of a GCC
14162 builtin and then its argument prototype would still apply. */
14166 char sched_yield ();
14170 return sched_yield ();
14175 for ac_lib
in '' rt
; do
14176 if test -z "$ac_lib"; then
14177 ac_res
="none required"
14180 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14182 if ac_fn_c_try_link
"$LINENO"; then :
14183 ac_cv_search_sched_yield
=$ac_res
14185 rm -f core conftest.err conftest.
$ac_objext \
14187 if test "${ac_cv_search_sched_yield+set}" = set; then :
14191 if test "${ac_cv_search_sched_yield+set}" = set; then :
14194 ac_cv_search_sched_yield
=no
14196 rm conftest.
$ac_ext
14197 LIBS
=$ac_func_search_save_LIBS
14199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
14200 $as_echo "$ac_cv_search_sched_yield" >&6; }
14201 ac_res
=$ac_cv_search_sched_yield
14202 if test "$ac_res" != no
; then :
14203 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
14209 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
14210 if test "${ac_cv_c_bigendian+set}" = set; then :
14211 $as_echo_n "(cached) " >&6
14213 ac_cv_c_bigendian
=unknown
14214 # See if we're dealing with a universal compiler.
14215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14216 /* end confdefs.h. */
14217 #ifndef __APPLE_CC__
14218 not a universal capable compiler
14223 if ac_fn_c_try_compile
"$LINENO"; then :
14225 # Check for potential -arch flags. It is not universal unless
14226 # there are at least two -arch flags with different values.
14229 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
14230 if test -n "$ac_prev"; then
14232 i?
86 | x86_64 | ppc | ppc64
)
14233 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
14236 ac_cv_c_bigendian
=universal
14242 elif test "x$ac_word" = "x-arch"; then
14247 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14248 if test $ac_cv_c_bigendian = unknown
; then
14249 # See if sys/param.h defines the BYTE_ORDER macro.
14250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14251 /* end confdefs.h. */
14252 #include <sys/types.h>
14253 #include <sys/param.h>
14258 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
14259 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
14261 bogus endian macros
14268 if ac_fn_c_try_compile
"$LINENO"; then :
14269 # It does; now see whether it defined to BIG_ENDIAN or not.
14270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14271 /* end confdefs.h. */
14272 #include <sys/types.h>
14273 #include <sys/param.h>
14278 #if BYTE_ORDER != BIG_ENDIAN
14286 if ac_fn_c_try_compile
"$LINENO"; then :
14287 ac_cv_c_bigendian
=yes
14289 ac_cv_c_bigendian
=no
14291 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14293 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14295 if test $ac_cv_c_bigendian = unknown
; then
14296 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
14297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14298 /* end confdefs.h. */
14299 #include <limits.h>
14304 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
14305 bogus endian macros
14312 if ac_fn_c_try_compile
"$LINENO"; then :
14313 # It does; now see whether it defined to _BIG_ENDIAN or not.
14314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14315 /* end confdefs.h. */
14316 #include <limits.h>
14321 #ifndef _BIG_ENDIAN
14329 if ac_fn_c_try_compile
"$LINENO"; then :
14330 ac_cv_c_bigendian
=yes
14332 ac_cv_c_bigendian
=no
14334 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14336 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14338 if test $ac_cv_c_bigendian = unknown
; then
14339 # Compile a test program.
14340 if test "$cross_compiling" = yes; then :
14341 # Try to guess by grepping values from an object file.
14342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14343 /* end confdefs.h. */
14344 short int ascii_mm[] =
14345 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14346 short int ascii_ii[] =
14347 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14348 int use_ascii (int i) {
14349 return ascii_mm[i] + ascii_ii[i];
14351 short int ebcdic_ii[] =
14352 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14353 short int ebcdic_mm[] =
14354 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14355 int use_ebcdic (int i) {
14356 return ebcdic_mm[i] + ebcdic_ii[i];
14363 return use_ascii (foo) == use_ebcdic (foo);
14368 if ac_fn_c_try_compile
"$LINENO"; then :
14369 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
14370 ac_cv_c_bigendian
=yes
14372 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
14373 if test "$ac_cv_c_bigendian" = unknown
; then
14374 ac_cv_c_bigendian
=no
14376 # finding both strings is unlikely to happen, but who knows?
14377 ac_cv_c_bigendian
=unknown
14381 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14384 /* end confdefs.h. */
14385 $ac_includes_default
14390 /* Are we little or big endian? From Harbison&Steele. */
14394 char c[sizeof (long int)];
14397 return u.c[sizeof (long int) - 1] == 1;
14403 if ac_fn_c_try_run
"$LINENO"; then :
14404 ac_cv_c_bigendian
=no
14406 ac_cv_c_bigendian
=yes
14408 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14409 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
14415 $as_echo "$ac_cv_c_bigendian" >&6; }
14416 case $ac_cv_c_bigendian in #(
14418 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
14424 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
14428 as_fn_error
"unknown endianness
14429 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
14435 # Check whether --with-system-libunwind was given.
14436 if test "${with_system_libunwind+set}" = set; then :
14437 withval
=$with_system_libunwind;
14440 # If system-libunwind was not specifically set, pick a default setting.
14441 if test x
$with_system_libunwind = x
; then
14443 ia64-
*-hpux*) with_system_libunwind
=yes ;;
14444 *) with_system_libunwind
=no
;;
14447 # Based on system-libunwind and target, do we have ipinfo?
14448 if test x
$with_system_libunwind = xyes
; then
14450 ia64-
*-*) have_unwind_getipinfo
=no
;;
14451 *) have_unwind_getipinfo
=yes ;;
14454 # Darwin before version 9 does not have _Unwind_GetIPInfo.
14457 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
14458 *) have_unwind_getipinfo
=yes ;;
14463 if test x
$have_unwind_getipinfo = xyes
; then
14465 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
14470 # Check whether --enable-sjlj-exceptions was given.
14471 if test "${enable_sjlj_exceptions+set}" = set; then :
14472 enableval
=$enable_sjlj_exceptions; case "$enableval" in
14474 *) as_fn_error
"unknown argument to --enable-sjlj-exceptions" "$LINENO" 5 ;;
14477 enable_sjlj_exceptions
=auto
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use setjmp/longjmp exceptions" >&5
14482 $as_echo_n "checking whether to use setjmp/longjmp exceptions... " >&6; }
14483 if test "${libgo_cv_lib_sjlj_exceptions+set}" = set; then :
14484 $as_echo_n "(cached) " >&6
14486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14487 /* end confdefs.h. */
14490 void clean (int *);
14493 int i __attribute__ ((cleanup (clean)));
14498 CFLAGS_hold
=$CFLAGS
14499 CFLAGS
="--save-temps -fexceptions"
14500 libgo_cv_lib_sjlj_exceptions
=unknown
14501 if ac_fn_c_try_compile
; then :
14502 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1; then
14503 libgo_cv_lib_sjlj_exceptions
=yes
14504 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1; then
14505 libgo_cv_lib_sjlj_exceptions
=no
14508 CFLAGS
=$CFLAGS_hold
14512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_sjlj_exceptions" >&5
14513 $as_echo "$libgo_cv_lib_sjlj_exceptions" >&6; }
14515 if test "$enable_sjlj_exceptions" = "auto"; then
14516 enable_sjlj_exceptions
=$libgo_cv_lib_sjlj_exceptions
14519 case $enable_sjlj_exceptions in
14522 $as_echo "#define LIBGO_SJLJ_EXCEPTIONS 1" >>confdefs.h
14528 as_fn_error
"unable to detect exception model" "$LINENO" 5
14532 for ac_header
in sys
/file.h sys
/mman.h syscall.h sys
/epoll.h sys
/inotify.h sys
/ptrace.h sys
/syscall.h sys
/user.h sys
/utsname.h sys
/select.h sys
/socket.h net
/if.h net
/if_arp.h net
/route.h netpacket
/packet.h sys
/prctl.h sys
/mount.h sys
/vfs.h sys
/statfs.h sys
/timex.h sys
/sysinfo.h utime.h linux
/ether.h linux
/fs.h linux
/reboot.h netinet
/in_syst.h netinet
/ip.h netinet
/ip_mroute.h netinet
/if_ether.h
14534 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14535 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14536 eval as_val
=\$
$as_ac_Header
14537 if test "x$as_val" = x
""yes; then :
14538 cat >>confdefs.h
<<_ACEOF
14539 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14547 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
14549 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14550 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_SOCKET_H
14551 #include <sys/socket.h>
14555 eval as_val
=\$
$as_ac_Header
14556 if test "x$as_val" = x
""yes; then :
14557 cat >>confdefs.h
<<_ACEOF
14558 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <ustat.h> can be used" >&5
14567 $as_echo_n "checking whether <ustat.h> can be used... " >&6; }
14568 if test "${libgo_cv_c_ustat_h+set}" = set; then :
14569 $as_echo_n "(cached) " >&6
14571 CFLAGS_hold
=$CFLAGS
14572 CFLAGS
="$CFLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE $OSCFLAGS"
14573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14574 /* end confdefs.h. */
14576 #include <sys/types.h>
14577 #ifdef HAVE_LINUX_FILTER_H
14578 #include <linux/filter.h>
14583 if ac_fn_c_try_compile
"$LINENO"; then :
14584 libgo_cv_c_ustat_h
=yes
14586 libgo_cv_c_ustat_h
=no
14588 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14589 CFLAGS
=$CFLAGS_hold
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_ustat_h" >&5
14592 $as_echo "$libgo_cv_c_ustat_h" >&6; }
14593 if test $libgo_cv_c_ustat_h = yes; then
14595 $as_echo "#define HAVE_USTAT_H 1" >>confdefs.h
14599 if test "$ac_cv_header_sys_mman_h" = yes; then
14600 HAVE_SYS_MMAN_H_TRUE
=
14601 HAVE_SYS_MMAN_H_FALSE
='#'
14603 HAVE_SYS_MMAN_H_TRUE
='#'
14604 HAVE_SYS_MMAN_H_FALSE
=
14608 for ac_func
in strerror_r strsignal wait4 mincore setenv dl_iterate_phdr
14610 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14611 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14612 eval as_val
=\$
$as_ac_var
14613 if test "x$as_val" = x
""yes; then :
14614 cat >>confdefs.h
<<_ACEOF
14615 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14621 if test "$ac_cv_func_strerror_r" = yes; then
14622 HAVE_STRERROR_R_TRUE
=
14623 HAVE_STRERROR_R_FALSE
='#'
14625 HAVE_STRERROR_R_TRUE
='#'
14626 HAVE_STRERROR_R_FALSE
=
14629 if test "$ac_cv_func_wait4" = yes; then
14631 HAVE_WAIT4_FALSE
='#'
14633 HAVE_WAIT4_TRUE
='#'
14638 for ac_func
in epoll_create1 faccessat fallocate fchmodat fchownat futimesat inotify_add_watch inotify_init inotify_init1 inotify_rm_watch mkdirat mknodat openat renameat sync_file_range splice
tee unlinkat unshare
14640 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14641 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14642 eval as_val
=\$
$as_ac_var
14643 if test "x$as_val" = x
""yes; then :
14644 cat >>confdefs.h
<<_ACEOF
14645 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14651 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14652 if test "x$ac_cv_type_off_t" = x
""yes; then :
14656 cat >>confdefs.h
<<_ACEOF
14657 #define off_t long int
14662 ac_fn_c_check_type
"$LINENO" "loff_t" "ac_cv_type_loff_t" "$ac_includes_default"
14663 if test "x$ac_cv_type_loff_t" = x
""yes; then :
14665 cat >>confdefs.h
<<_ACEOF
14666 #define HAVE_LOFF_T 1
14675 for ac_func
in cosl expl logl sinl tanl acosl asinl atanl atan2l expm1l ldexpl log10l log1pl
14677 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14678 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14679 eval as_val
=\$
$as_ac_var
14680 if test "x$as_val" = x
""yes; then :
14681 cat >>confdefs.h
<<_ACEOF
14682 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14690 CFLAGS_hold
="$CFLAGS"
14691 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
14693 LIBS
="$LIBS $PTHREAD_LIBS"
14694 for ac_func
in sem_timedwait
14696 ac_fn_c_check_func
"$LINENO" "sem_timedwait" "ac_cv_func_sem_timedwait"
14697 if test "x$ac_cv_func_sem_timedwait" = x
""yes; then :
14698 cat >>confdefs.h
<<_ACEOF
14699 #define HAVE_SEM_TIMEDWAIT 1
14705 CFLAGS
="$CFLAGS_hold"
14709 LIBS
="$LIBS $MATH_LIBS"
14710 for ac_func
in matherr
14712 ac_fn_c_check_func
"$LINENO" "matherr" "ac_cv_func_matherr"
14713 if test "x$ac_cv_func_matherr" = x
""yes; then :
14714 cat >>confdefs.h
<<_ACEOF
14715 #define HAVE_MATHERR 1
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_bool_compare_and_swap_4" >&5
14724 $as_echo_n "checking for __sync_bool_compare_and_swap_4... " >&6; }
14725 if test "${libgo_cv_func___sync_bool_compare_and_swap_4+set}" = set; then :
14726 $as_echo_n "(cached) " >&6
14728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14729 /* end confdefs.h. */
14731 typedef unsigned int uint32 __attribute__ ((mode (SI)));
14733 int main() { return __sync_bool_compare_and_swap (&i, 0, 1); }
14736 if ac_fn_c_try_link
"$LINENO"; then :
14737 libgo_cv_func___sync_bool_compare_and_swap_4
=yes
14739 libgo_cv_func___sync_bool_compare_and_swap_4
=no
14741 rm -f core conftest.err conftest.
$ac_objext \
14742 conftest
$ac_exeext conftest.
$ac_ext
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_bool_compare_and_swap_4" >&5
14745 $as_echo "$libgo_cv_func___sync_bool_compare_and_swap_4" >&6; }
14746 if test "$libgo_cv_func___sync_bool_compare_and_swap_4" = "yes"; then
14748 $as_echo "#define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_4 1" >>confdefs.h
14752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_bool_compare_and_swap_8" >&5
14753 $as_echo_n "checking for __sync_bool_compare_and_swap_8... " >&6; }
14754 if test "${libgo_cv_func___sync_bool_compare_and_swap_8+set}" = set; then :
14755 $as_echo_n "(cached) " >&6
14757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14758 /* end confdefs.h. */
14760 typedef unsigned int uint64 __attribute__ ((mode (DI)));
14762 int main() { return __sync_bool_compare_and_swap (&i, 0, 1); }
14765 if ac_fn_c_try_link
"$LINENO"; then :
14766 libgo_cv_func___sync_bool_compare_and_swap_8
=yes
14768 libgo_cv_func___sync_bool_compare_and_swap_8
=no
14770 rm -f core conftest.err conftest.
$ac_objext \
14771 conftest
$ac_exeext conftest.
$ac_ext
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_bool_compare_and_swap_8" >&5
14774 $as_echo "$libgo_cv_func___sync_bool_compare_and_swap_8" >&6; }
14775 if test "$libgo_cv_func___sync_bool_compare_and_swap_8" = "yes"; then
14777 $as_echo "#define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_8 1" >>confdefs.h
14781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add_4" >&5
14782 $as_echo_n "checking for __sync_fetch_and_add_4... " >&6; }
14783 if test "${libgo_cv_func___sync_fetch_and_add_4+set}" = set; then :
14784 $as_echo_n "(cached) " >&6
14786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14787 /* end confdefs.h. */
14789 typedef unsigned int uint32 __attribute__ ((mode (SI)));
14791 int main() { return __sync_fetch_and_add (&i, 1); }
14794 if ac_fn_c_try_link
"$LINENO"; then :
14795 libgo_cv_func___sync_fetch_and_add_4
=yes
14797 libgo_cv_func___sync_fetch_and_add_4
=no
14799 rm -f core conftest.err conftest.
$ac_objext \
14800 conftest
$ac_exeext conftest.
$ac_ext
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_fetch_and_add_4" >&5
14803 $as_echo "$libgo_cv_func___sync_fetch_and_add_4" >&6; }
14804 if test "$libgo_cv_func___sync_fetch_and_add_4" = "yes"; then
14806 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD_4 1" >>confdefs.h
14810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_add_and_fetch_8" >&5
14811 $as_echo_n "checking for __sync_add_and_fetch_8... " >&6; }
14812 if test "${libgo_cv_func___sync_add_and_fetch_8+set}" = set; then :
14813 $as_echo_n "(cached) " >&6
14815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14816 /* end confdefs.h. */
14818 typedef unsigned int uint64 __attribute__ ((mode (DI)));
14820 int main() { return __sync_add_and_fetch (&i, 1); }
14823 if ac_fn_c_try_link
"$LINENO"; then :
14824 libgo_cv_func___sync_add_and_fetch_8
=yes
14826 libgo_cv_func___sync_add_and_fetch_8
=no
14828 rm -f core conftest.err conftest.
$ac_objext \
14829 conftest
$ac_exeext conftest.
$ac_ext
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_add_and_fetch_8" >&5
14832 $as_echo "$libgo_cv_func___sync_add_and_fetch_8" >&6; }
14833 if test "$libgo_cv_func___sync_add_and_fetch_8" = "yes"; then
14835 $as_echo "#define HAVE_SYNC_ADD_AND_FETCH_8 1" >>confdefs.h
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -minline-all-stringops" >&5
14840 $as_echo_n "checking whether compiler supports -minline-all-stringops... " >&6; }
14841 if test "${libgo_cv_c_stringops+set}" = set; then :
14842 $as_echo_n "(cached) " >&6
14844 CFLAGS_hold
=$CFLAGS
14845 CFLAGS
="$CFLAGS -minline-all-stringops"
14846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14847 /* end confdefs.h. */
14850 if ac_fn_c_try_compile
"$LINENO"; then :
14851 libgo_cv_c_stringops
=yes
14853 libgo_cv_c_stringops
=no
14855 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14856 CFLAGS
=$CFLAGS_hold
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_stringops" >&5
14859 $as_echo "$libgo_cv_c_stringops" >&6; }
14861 if test "$libgo_cv_c_stringops" = yes; then
14862 STRINGOPS_FLAG
=-minline-all-stringops
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -mfancy-math-387" >&5
14867 $as_echo_n "checking whether compiler supports -mfancy-math-387... " >&6; }
14868 if test "${libgo_cv_c_fancymath+set}" = set; then :
14869 $as_echo_n "(cached) " >&6
14871 CFLAGS_hold
=$CFLAGS
14872 CFLAGS
="$CFLAGS -mfancy-math-387"
14873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14874 /* end confdefs.h. */
14877 if ac_fn_c_try_compile
"$LINENO"; then :
14878 libgo_cv_c_fancymath
=yes
14880 libgo_cv_c_fancymath
=no
14882 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14883 CFLAGS
=$CFLAGS_hold
14885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_fancymath" >&5
14886 $as_echo "$libgo_cv_c_fancymath" >&6; }
14888 if test "$libgo_cv_c_fancymath" = yes; then
14889 MATH_FLAG
="-mfancy-math-387 -funsafe-math-optimizations"
14893 CFLAGS_hold
=$CFLAGS
14894 CFLAGS
="$CFLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
14895 ac_fn_c_check_type
"$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default"
14896 if test "x$ac_cv_type_off64_t" = x
""yes; then :
14898 cat >>confdefs.h
<<_ACEOF
14899 #define HAVE_OFF64_T 1
14905 CFLAGS
=$CFLAGS_hold
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking epoll_event size" >&5
14908 $as_echo_n "checking epoll_event size... " >&6; }
14909 if test "${libgo_cv_c_epoll_event_size+set}" = set; then :
14910 $as_echo_n "(cached) " >&6
14912 if ac_fn_c_compute_int
"$LINENO" "sizeof (struct epoll_event)" "libgo_cv_c_epoll_event_size" "#include <sys/epoll.h>"; then :
14915 libgo_cv_c_epoll_event_size
=0
14919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_epoll_event_size" >&5
14920 $as_echo "$libgo_cv_c_epoll_event_size" >&6; }
14921 SIZEOF_STRUCT_EPOLL_EVENT
=${libgo_cv_c_epoll_event_size}
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking epoll_event data.fd offset" >&5
14925 $as_echo_n "checking epoll_event data.fd offset... " >&6; }
14926 if test "${libgo_cv_c_epoll_event_fd_offset+set}" = set; then :
14927 $as_echo_n "(cached) " >&6
14929 if ac_fn_c_compute_int
"$LINENO" "offsetof (struct epoll_event, data.fd)" "libgo_cv_c_epoll_event_fd_offset" "#include <stddef.h>
14930 #include <sys/epoll.h>"; then :
14933 libgo_cv_c_epoll_event_fd_offset
=0
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_epoll_event_fd_offset" >&5
14938 $as_echo "$libgo_cv_c_epoll_event_fd_offset" >&6; }
14939 STRUCT_EPOLL_EVENT_FD_OFFSET
=${libgo_cv_c_epoll_event_fd_offset}
14942 ac_fn_c_check_type
"$LINENO" "struct exception" "ac_cv_type_struct_exception" "#include <math.h>
14944 if test "x$ac_cv_type_struct_exception" = x
""yes; then :
14945 libgo_has_struct_exception
=yes
14947 libgo_has_struct_exception
=no
14950 if test "$libgo_has_struct_exception" = "yes"; then
14952 $as_echo "#define HAVE_STRUCT_EXCEPTION 1" >>confdefs.h
14957 sparc
*-*-solaris2.
[89]*)
14958 libgo_cv_lib_makecontext_stack_top
=yes
14961 libgo_cv_lib_makecontext_stack_top
=no
14964 if test "$libgo_cv_lib_makecontext_stack_top" = "yes"; then
14966 $as_echo "#define MAKECONTEXT_STACK_TOP 1" >>confdefs.h
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether setcontext clobbers TLS variables" >&5
14971 $as_echo_n "checking whether setcontext clobbers TLS variables... " >&6; }
14972 if test "${libgo_cv_lib_setcontext_clobbers_tls+set}" = set; then :
14973 $as_echo_n "(cached) " >&6
14975 CFLAGS_hold
="$CFLAGS"
14976 CFLAGS
="$PTHREAD_CFLAGS"
14978 LIBS
="$LIBS $PTHREAD_LIBS"
14979 # The cast to long int works around a bug in the HP C Compiler
14980 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14981 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14982 # This bug is HP SR number 8606223364.
14983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
14984 $as_echo_n "checking size of void *... " >&6; }
14985 if test "${ac_cv_sizeof_void_p+set}" = set; then :
14986 $as_echo_n "(cached) " >&6
14988 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
14991 if test "$ac_cv_type_void_p" = yes; then
14992 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14994 { as_fn_set_status
77
14995 as_fn_error
"cannot compute sizeof (void *)
14996 See \`config.log' for more details." "$LINENO" 5; }; }
14998 ac_cv_sizeof_void_p
=0
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15004 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15008 cat >>confdefs.h
<<_ACEOF
15009 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15013 as_fn_arith
$ac_cv_sizeof_void_p \
* 8 && ptr_type_size
=$as_val
15014 if test "$cross_compiling" = yes; then :
15015 case "$target:$ptr_type_size" in
15016 i?
86-*-solaris2.1
[01]:64 | x86_64
*-*-solaris2.1
[01]:64)
15017 libgo_cv_lib_setcontext_clobbers_tls
=yes ;;
15019 libgo_cv_lib_setcontext_clobbers_tls
=no
;;
15023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15024 /* end confdefs.h. */
15026 #include <pthread.h>
15027 #include <stdlib.h>
15028 #include <ucontext.h>
15029 #include <unistd.h>
15033 static char stack[10 * 1024 * 1024];
15034 static ucontext_t c;
15036 /* Called via makecontext/setcontext. */
15044 /* Called via pthread_create. */
15049 /* The thread should still see this value after calling
15055 /* The call to setcontext should not return. */
15064 /* The thread should not see this value. */
15067 if (getcontext (&c) < 0)
15070 c.uc_stack.ss_sp = stack;
15071 #ifdef MAKECONTEXT_STACK_TOP
15072 c.uc_stack.ss_sp += sizeof stack;
15074 c.uc_stack.ss_flags = 0;
15075 c.uc_stack.ss_size = sizeof stack;
15077 makecontext (&c, cfn, 0);
15079 if (pthread_create (&tid, NULL, tfn, NULL) != 0)
15082 if (pthread_join (tid, NULL) != 0)
15085 /* The thread should have called exit. */
15090 if ac_fn_c_try_run
"$LINENO"; then :
15091 libgo_cv_lib_setcontext_clobbers_tls
=no
15093 libgo_cv_lib_setcontext_clobbers_tls
=yes
15095 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15096 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15099 CFLAGS
="$CFLAGS_hold"
15103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_setcontext_clobbers_tls" >&5
15104 $as_echo "$libgo_cv_lib_setcontext_clobbers_tls" >&6; }
15105 if test "$libgo_cv_lib_setcontext_clobbers_tls" = "yes"; then
15107 $as_echo "#define SETCONTEXT_CLOBBERS_TLS 1" >>confdefs.h
15111 cat >confcache
<<\_ACEOF
15112 # This file is a shell script that caches the results of configure
15113 # tests run on this system so they can be shared between configure
15114 # scripts and configure runs, see configure's option --config-cache.
15115 # It is not useful on other systems. If it contains results you don't
15116 # want to keep, you may remove or edit it.
15118 # config.status only pays attention to the cache file if you give it
15119 # the --recheck option to rerun configure.
15121 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15122 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15123 # following values.
15127 # The following way of writing the cache mishandles newlines in values,
15128 # but we know of no workaround that is simple, portable, and efficient.
15129 # So, we kill variables containing newlines.
15130 # Ultrix sh set writes to stderr and can't be redirected directly,
15131 # and sets the high bit in the cache file unless we assign to the vars.
15133 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15134 eval ac_val
=\$
$ac_var
15138 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15139 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15142 _ | IFS | as_nl
) ;; #(
15143 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15144 *) { eval $ac_var=; unset $ac_var;} ;;
15150 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15151 *${as_nl}ac_space
=\
*)
15152 # `set' does not quote correctly, so add quotes: double-quote
15153 # substitution turns \\\\ into \\, and sed turns \\ into \.
15156 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15159 # `set' quotes correctly as required by POSIX, so do not add quotes.
15160 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15169 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15171 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15173 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15174 if test -w "$cache_file"; then
15175 test "x$cache_file" != "x/dev/null" &&
15176 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15177 $as_echo "$as_me: updating cache $cache_file" >&6;}
15178 cat confcache
>$cache_file
15180 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15181 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15186 if test ${multilib} = yes; then
15187 multilib_arg
="--enable-multilib"
15192 ac_config_files
="$ac_config_files Makefile testsuite/Makefile"
15195 ac_config_commands
="$ac_config_commands default"
15198 cat >confcache
<<\_ACEOF
15199 # This file is a shell script that caches the results of configure
15200 # tests run on this system so they can be shared between configure
15201 # scripts and configure runs, see configure's option --config-cache.
15202 # It is not useful on other systems. If it contains results you don't
15203 # want to keep, you may remove or edit it.
15205 # config.status only pays attention to the cache file if you give it
15206 # the --recheck option to rerun configure.
15208 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15209 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15210 # following values.
15214 # The following way of writing the cache mishandles newlines in values,
15215 # but we know of no workaround that is simple, portable, and efficient.
15216 # So, we kill variables containing newlines.
15217 # Ultrix sh set writes to stderr and can't be redirected directly,
15218 # and sets the high bit in the cache file unless we assign to the vars.
15220 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15221 eval ac_val
=\$
$ac_var
15225 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15226 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15229 _ | IFS | as_nl
) ;; #(
15230 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15231 *) { eval $ac_var=; unset $ac_var;} ;;
15237 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15238 *${as_nl}ac_space
=\
*)
15239 # `set' does not quote correctly, so add quotes: double-quote
15240 # substitution turns \\\\ into \\, and sed turns \\ into \.
15243 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15246 # `set' quotes correctly as required by POSIX, so do not add quotes.
15247 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15256 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15258 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15260 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15261 if test -w "$cache_file"; then
15262 test "x$cache_file" != "x/dev/null" &&
15263 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15264 $as_echo "$as_me: updating cache $cache_file" >&6;}
15265 cat confcache
>$cache_file
15267 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15268 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15273 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15274 # Let make expand exec_prefix.
15275 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15277 DEFS
=-DHAVE_CONFIG_H
15281 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15282 # 1. Remove the extension, and $U if already installed.
15283 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15284 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15285 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15286 # will be set to the directory where LIBOBJS objects are built.
15287 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15288 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15290 LIBOBJS
=$ac_libobjs
15292 LTLIBOBJS
=$ac_ltlibobjs
15295 if test -n "$EXEEXT"; then
15297 am__EXEEXT_FALSE
='#'
15299 am__EXEEXT_TRUE
='#'
15303 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15304 as_fn_error
"conditional \"AMDEP\" was never defined.
15305 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15307 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15308 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
15309 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15311 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15312 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
15313 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15315 if test -z "${LIBGO_IS_DARWIN_TRUE}" && test -z "${LIBGO_IS_DARWIN_FALSE}"; then
15316 as_fn_error
"conditional \"LIBGO_IS_DARWIN\" was never defined.
15317 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15319 if test -z "${LIBGO_IS_FREEBSD_TRUE}" && test -z "${LIBGO_IS_FREEBSD_FALSE}"; then
15320 as_fn_error
"conditional \"LIBGO_IS_FREEBSD\" was never defined.
15321 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15323 if test -z "${LIBGO_IS_IRIX_TRUE}" && test -z "${LIBGO_IS_IRIX_FALSE}"; then
15324 as_fn_error
"conditional \"LIBGO_IS_IRIX\" was never defined.
15325 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15327 if test -z "${LIBGO_IS_LINUX_TRUE}" && test -z "${LIBGO_IS_LINUX_FALSE}"; then
15328 as_fn_error
"conditional \"LIBGO_IS_LINUX\" was never defined.
15329 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15331 if test -z "${LIBGO_IS_NETBSD_TRUE}" && test -z "${LIBGO_IS_NETBSD_FALSE}"; then
15332 as_fn_error
"conditional \"LIBGO_IS_NETBSD\" was never defined.
15333 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15335 if test -z "${LIBGO_IS_OPENBSD_TRUE}" && test -z "${LIBGO_IS_OPENBSD_FALSE}"; then
15336 as_fn_error
"conditional \"LIBGO_IS_OPENBSD\" was never defined.
15337 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15339 if test -z "${LIBGO_IS_RTEMS_TRUE}" && test -z "${LIBGO_IS_RTEMS_FALSE}"; then
15340 as_fn_error
"conditional \"LIBGO_IS_RTEMS\" was never defined.
15341 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15343 if test -z "${LIBGO_IS_SOLARIS_TRUE}" && test -z "${LIBGO_IS_SOLARIS_FALSE}"; then
15344 as_fn_error
"conditional \"LIBGO_IS_SOLARIS\" was never defined.
15345 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15347 if test -z "${LIBGO_IS_386_TRUE}" && test -z "${LIBGO_IS_386_FALSE}"; then
15348 as_fn_error
"conditional \"LIBGO_IS_386\" was never defined.
15349 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15351 if test -z "${LIBGO_IS_ALPHA_TRUE}" && test -z "${LIBGO_IS_ALPHA_FALSE}"; then
15352 as_fn_error
"conditional \"LIBGO_IS_ALPHA\" was never defined.
15353 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15355 if test -z "${LIBGO_IS_ARM_TRUE}" && test -z "${LIBGO_IS_ARM_FALSE}"; then
15356 as_fn_error
"conditional \"LIBGO_IS_ARM\" was never defined.
15357 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15359 if test -z "${LIBGO_IS_M68K_TRUE}" && test -z "${LIBGO_IS_M68K_FALSE}"; then
15360 as_fn_error
"conditional \"LIBGO_IS_M68K\" was never defined.
15361 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15363 if test -z "${LIBGO_IS_MIPS_TRUE}" && test -z "${LIBGO_IS_MIPS_FALSE}"; then
15364 as_fn_error
"conditional \"LIBGO_IS_MIPS\" was never defined.
15365 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15367 if test -z "${LIBGO_IS_MIPSO32_TRUE}" && test -z "${LIBGO_IS_MIPSO32_FALSE}"; then
15368 as_fn_error
"conditional \"LIBGO_IS_MIPSO32\" was never defined.
15369 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15371 if test -z "${LIBGO_IS_MIPSN32_TRUE}" && test -z "${LIBGO_IS_MIPSN32_FALSE}"; then
15372 as_fn_error
"conditional \"LIBGO_IS_MIPSN32\" was never defined.
15373 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15375 if test -z "${LIBGO_IS_MIPSN64_TRUE}" && test -z "${LIBGO_IS_MIPSN64_FALSE}"; then
15376 as_fn_error
"conditional \"LIBGO_IS_MIPSN64\" was never defined.
15377 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15379 if test -z "${LIBGO_IS_MIPSO64_TRUE}" && test -z "${LIBGO_IS_MIPSO64_FALSE}"; then
15380 as_fn_error
"conditional \"LIBGO_IS_MIPSO64\" was never defined.
15381 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15383 if test -z "${LIBGO_IS_PPC_TRUE}" && test -z "${LIBGO_IS_PPC_FALSE}"; then
15384 as_fn_error
"conditional \"LIBGO_IS_PPC\" was never defined.
15385 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15387 if test -z "${LIBGO_IS_PPC64_TRUE}" && test -z "${LIBGO_IS_PPC64_FALSE}"; then
15388 as_fn_error
"conditional \"LIBGO_IS_PPC64\" was never defined.
15389 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15391 if test -z "${LIBGO_IS_SPARC_TRUE}" && test -z "${LIBGO_IS_SPARC_FALSE}"; then
15392 as_fn_error
"conditional \"LIBGO_IS_SPARC\" was never defined.
15393 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15395 if test -z "${LIBGO_IS_SPARC64_TRUE}" && test -z "${LIBGO_IS_SPARC64_FALSE}"; then
15396 as_fn_error
"conditional \"LIBGO_IS_SPARC64\" was never defined.
15397 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15399 if test -z "${LIBGO_IS_X86_64_TRUE}" && test -z "${LIBGO_IS_X86_64_FALSE}"; then
15400 as_fn_error
"conditional \"LIBGO_IS_X86_64\" was never defined.
15401 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15403 if test -z "${USING_SPLIT_STACK_TRUE}" && test -z "${USING_SPLIT_STACK_FALSE}"; then
15404 as_fn_error
"conditional \"USING_SPLIT_STACK\" was never defined.
15405 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15408 if test -z "${HAVE_SYS_MMAN_H_TRUE}" && test -z "${HAVE_SYS_MMAN_H_FALSE}"; then
15409 as_fn_error
"conditional \"HAVE_SYS_MMAN_H\" was never defined.
15410 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15412 if test -z "${HAVE_STRERROR_R_TRUE}" && test -z "${HAVE_STRERROR_R_FALSE}"; then
15413 as_fn_error
"conditional \"HAVE_STRERROR_R\" was never defined.
15414 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15416 if test -z "${HAVE_WAIT4_TRUE}" && test -z "${HAVE_WAIT4_FALSE}"; then
15417 as_fn_error
"conditional \"HAVE_WAIT4\" was never defined.
15418 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15421 : ${CONFIG_STATUS=./config.status}
15423 ac_clean_files_save
=$ac_clean_files
15424 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15425 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15426 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15428 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15430 # Generated by $as_me.
15431 # Run this file to recreate the current configuration.
15432 # Compiler output produced by configure, useful for debugging
15433 # configure, is in config.log if it exists.
15436 ac_cs_recheck=false
15439 SHELL=\${CONFIG_SHELL-$SHELL}
15442 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15443 ## -------------------- ##
15444 ## M4sh Initialization. ##
15445 ## -------------------- ##
15447 # Be more Bourne compatible
15448 DUALCASE
=1; export DUALCASE
# for MKS sh
15449 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15452 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15453 # is contrary to our usage. Disable this feature.
15454 alias -g '${1+"$@"}'='"$@"'
15455 setopt NO_GLOB_SUBST
15457 case `(set -o) 2>/dev/null` in #(
15469 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15470 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15471 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15472 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15473 # Prefer a ksh shell builtin over an external printf program on Solaris,
15474 # but without wasting forks for bash or zsh.
15475 if test -z "$BASH_VERSION$ZSH_VERSION" \
15476 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15477 as_echo='print
-r --'
15478 as_echo_n='print
-rn --'
15479 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15480 as_echo='printf %s
\n'
15481 as_echo_n='printf %s
'
15483 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15484 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15485 as_echo_n='/usr
/ucb
/echo -n'
15487 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15488 as_echo_n_body='eval
15492 expr "X$arg" : "X\\(.*\\)$as_nl";
15493 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15495 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15497 export as_echo_n_body
15498 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15500 export as_echo_body
15501 as_echo='sh
-c $as_echo_body as_echo
'
15504 # The user is always right.
15505 if test "${PATH_SEPARATOR+set}" != set; then
15507 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15508 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15515 # We need space, tab and new line, in precisely that order. Quoting is
15516 # there to prevent editors from complaining about space-tab.
15517 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15518 # splitting by setting IFS to empty value.)
15521 # Find who we are. Look in the path if we contain no directory separator.
15523 *[\\/]* ) as_myself=$0 ;;
15524 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15525 for as_dir in $PATH
15528 test -z "$as_dir" && as_dir=.
15529 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15535 # We did not find ourselves, most probably we were run as `sh COMMAND'
15536 # in which case we are not to be found in the path.
15537 if test "x$as_myself" = x
; then
15540 if test ! -f "$as_myself"; then
15541 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15545 # Unset variables that we do not need and which cause bugs (e.g. in
15546 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15547 # suppresses any "Segmentation fault" message there. '((' could
15548 # trigger a bug in pdksh 5.2.14.
15549 for as_var
in BASH_ENV ENV MAIL MAILPATH
15550 do eval test x\
${$as_var+set} = xset \
15551 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15564 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15567 # as_fn_error ERROR [LINENO LOG_FD]
15568 # ---------------------------------
15569 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15570 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15571 # script with status $?, using 1 if that was 0.
15574 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15576 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15577 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15579 $as_echo "$as_me: error: $1" >&2
15580 as_fn_exit
$as_status
15584 # as_fn_set_status STATUS
15585 # -----------------------
15586 # Set $? to STATUS, without forking.
15587 as_fn_set_status
()
15590 } # as_fn_set_status
15592 # as_fn_exit STATUS
15593 # -----------------
15594 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15598 as_fn_set_status
$1
15604 # Portably unset VAR.
15607 { eval $1=; unset $1;}
15609 as_unset
=as_fn_unset
15610 # as_fn_append VAR VALUE
15611 # ----------------------
15612 # Append the text in VALUE to the end of the definition contained in VAR. Take
15613 # advantage of any shell optimizations that allow amortized linear growth over
15614 # repeated appends, instead of the typical quadratic growth present in naive
15616 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15617 eval 'as_fn_append ()
15628 # as_fn_arith ARG...
15629 # ------------------
15630 # Perform arithmetic evaluation on the ARGs, and store the result in the
15631 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15632 # must be portable across $(()) and expr.
15633 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15634 eval 'as_fn_arith ()
15641 as_val
=`expr "$@" || test $? -eq 1`
15646 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15647 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15653 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15654 as_basename
=basename
15659 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15665 as_me
=`$as_basename -- "$0" ||
15666 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15667 X"$0" : 'X\(//\)$' \| \
15668 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15670 sed '/^.*\/\([^/][^/]*\)\/*$/{
15684 # Avoid depending upon Character Ranges.
15685 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15686 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15687 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15688 as_cr_digits
='0123456789'
15689 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15691 ECHO_C
= ECHO_N
= ECHO_T
=
15692 case `echo -n x` in #(((((
15694 case `echo 'xy\c'` in
15695 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15697 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15704 rm -f conf$$ conf$$.exe conf$$.
file
15705 if test -d conf$$.dir
; then
15706 rm -f conf$$.dir
/conf$$.
file
15709 mkdir conf$$.dir
2>/dev
/null
15711 if (echo >conf$$.
file) 2>/dev
/null
; then
15712 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15714 # ... but there are two gotchas:
15715 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15716 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15717 # In both cases, we have to default to `cp -p'.
15718 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15720 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15728 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15729 rmdir conf$$.dir
2>/dev
/null
15734 # Create "$as_dir" as a directory, including parents if necessary.
15739 -*) as_dir
=.
/$as_dir;;
15741 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15745 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15746 *) as_qdir
=$as_dir;;
15748 as_dirs
="'$as_qdir' $as_dirs"
15749 as_dir
=`$as_dirname -- "$as_dir" ||
15750 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15751 X"$as_dir" : 'X\(//\)[^/]' \| \
15752 X"$as_dir" : 'X\(//\)$' \| \
15753 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15754 $as_echo X"$as_dir" |
15755 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15759 /^X\(\/\/\)[^/].*/{
15772 test -d "$as_dir" && break
15774 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15775 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15779 if mkdir
-p .
2>/dev
/null
; then
15780 as_mkdir_p
='mkdir -p "$as_dir"'
15782 test -d .
/-p && rmdir .
/-p
15786 if test -x / >/dev
/null
2>&1; then
15787 as_test_x
='test -x'
15789 if ls -dL / >/dev
/null
2>&1; then
15796 if test -d "$1"; then
15802 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15803 ???[sx]*):;;*)false;;esac;fi
15807 as_executable_p
=$as_test_x
15809 # Sed expression to map a string onto a valid CPP name.
15810 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15812 # Sed expression to map a string onto a valid variable name.
15813 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15817 ## ----------------------------------- ##
15818 ## Main body of $CONFIG_STATUS script. ##
15819 ## ----------------------------------- ##
15821 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15823 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15824 # Save the log message, to keep $0 and so on meaningful, and to
15825 # report actual input values of CONFIG_FILES etc. instead of their
15826 # values after options handling.
15828 This file was extended by package-unused $as_me version-unused, which was
15829 generated by GNU Autoconf 2.64. Invocation command line was
15831 CONFIG_FILES = $CONFIG_FILES
15832 CONFIG_HEADERS = $CONFIG_HEADERS
15833 CONFIG_LINKS = $CONFIG_LINKS
15834 CONFIG_COMMANDS = $CONFIG_COMMANDS
15837 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15842 case $ac_config_files in *"
15843 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15846 case $ac_config_headers in *"
15847 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15851 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15852 # Files that config.status was made for.
15853 config_files="$ac_config_files"
15854 config_headers="$ac_config_headers"
15855 config_commands="$ac_config_commands"
15859 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15861 \`$as_me' instantiates files and other configuration actions
15862 from templates according to the current configuration. Unless the files
15863 and actions are specified as TAGs, all are instantiated by default.
15865 Usage: $0 [OPTION]... [TAG]...
15867 -h, --help print this help, then exit
15868 -V, --version print version number and configuration settings, then exit
15869 -q, --quiet, --silent
15870 do not print progress messages
15871 -d, --debug don't remove temporary files
15872 --recheck update $as_me by reconfiguring in the same conditions
15873 --file=FILE[:TEMPLATE]
15874 instantiate the configuration file FILE
15875 --header=FILE[:TEMPLATE]
15876 instantiate the configuration header FILE
15878 Configuration files:
15881 Configuration headers:
15884 Configuration commands:
15887 Report bugs to the package provider."
15890 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15892 package-unused config.status version-unused
15893 configured by $0, generated by GNU Autoconf 2.64,
15894 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15896 Copyright (C) 2009 Free Software Foundation, Inc.
15897 This config.status script is free software; the Free Software Foundation
15898 gives unlimited permission to copy, distribute and modify it."
15905 test -n "\$AWK" || AWK=awk
15908 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15909 # The default lists apply if the user does not specify any file.
15915 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15916 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15927 # Handling of the options.
15928 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15930 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15931 $as_echo "$ac_cs_version"; exit ;;
15932 --debug |
--debu |
--deb |
--de |
--d |
-d )
15934 --file |
--fil |
--fi |
--f )
15937 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15939 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15940 ac_need_defaults
=false
;;
15941 --header |
--heade |
--head |
--hea )
15944 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15946 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15947 ac_need_defaults
=false
;;
15949 # Conflict between --help and --header
15950 as_fn_error
"ambiguous option: \`$1'
15951 Try \`$0 --help' for more information.";;
15952 --help |
--hel |
-h )
15953 $as_echo "$ac_cs_usage"; exit ;;
15954 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15955 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15958 # This is an error.
15959 -*) as_fn_error
"unrecognized option: \`$1'
15960 Try \`$0 --help' for more information." ;;
15962 *) as_fn_append ac_config_targets
" $1"
15963 ac_need_defaults
=false
;;
15969 ac_configure_extra_args
=
15971 if $ac_cs_silent; then
15973 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15977 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15978 if \$ac_cs_recheck; then
15979 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15981 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15982 CONFIG_SHELL='$SHELL'
15983 export CONFIG_SHELL
15988 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15992 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15993 ## Running $as_me. ##
15999 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16007 with_multisubdir="$with_multisubdir"
16008 with_multisrctop="$with_multisrctop"
16009 with_target_subdir="$with_target_subdir"
16010 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16011 multi_basedir="$multi_basedir"
16012 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16015 GFORTRAN="$GFORTRAN"
16017 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16020 # The HP-UX ksh and POSIX shell print the target directory to stdout
16021 # if CDPATH is set.
16022 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16024 sed_quote_subst='$sed_quote_subst'
16025 double_quote_subst='$double_quote_subst'
16026 delay_variable_subst='$delay_variable_subst'
16027 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16028 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16029 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16030 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16031 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16032 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16033 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16034 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16035 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16036 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16037 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16038 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16039 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16040 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16041 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16042 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16043 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16044 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16045 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16046 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16047 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16048 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16049 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16050 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16051 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16052 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16053 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16054 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16055 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16056 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16057 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16058 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16059 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16060 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16061 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16062 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16063 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16064 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16065 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16066 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16067 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16068 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16069 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16070 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16071 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16072 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16073 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16074 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16075 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"`'
16076 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16077 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16078 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16079 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16080 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16081 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16082 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16083 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16084 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16085 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16086 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16087 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16088 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16089 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16090 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16091 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16092 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16093 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16094 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16095 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16096 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16097 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16098 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16099 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16100 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16101 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16102 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16103 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16104 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16105 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16106 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16107 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16108 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16109 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16110 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16111 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16112 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16113 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16114 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16115 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16116 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16117 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16118 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16119 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16120 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16121 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16122 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16123 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16124 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16125 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16126 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16127 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16128 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16129 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16130 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16131 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16132 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16133 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16134 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16135 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16136 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16137 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16138 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16139 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16140 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16141 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16142 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16143 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16144 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16145 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16146 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16147 LD_GO='`$ECHO "$LD_GO" | $SED "$delay_single_quote_subst"`'
16148 reload_flag_GO='`$ECHO "$reload_flag_GO" | $SED "$delay_single_quote_subst"`'
16149 reload_cmds_GO='`$ECHO "$reload_cmds_GO" | $SED "$delay_single_quote_subst"`'
16150 old_archive_cmds_GO='`$ECHO "$old_archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
16151 compiler_GO='`$ECHO "$compiler_GO" | $SED "$delay_single_quote_subst"`'
16152 GCC_GO='`$ECHO "$GCC_GO" | $SED "$delay_single_quote_subst"`'
16153 lt_prog_compiler_no_builtin_flag_GO='`$ECHO "$lt_prog_compiler_no_builtin_flag_GO" | $SED "$delay_single_quote_subst"`'
16154 lt_prog_compiler_wl_GO='`$ECHO "$lt_prog_compiler_wl_GO" | $SED "$delay_single_quote_subst"`'
16155 lt_prog_compiler_pic_GO='`$ECHO "$lt_prog_compiler_pic_GO" | $SED "$delay_single_quote_subst"`'
16156 lt_prog_compiler_static_GO='`$ECHO "$lt_prog_compiler_static_GO" | $SED "$delay_single_quote_subst"`'
16157 lt_cv_prog_compiler_c_o_GO='`$ECHO "$lt_cv_prog_compiler_c_o_GO" | $SED "$delay_single_quote_subst"`'
16158 archive_cmds_need_lc_GO='`$ECHO "$archive_cmds_need_lc_GO" | $SED "$delay_single_quote_subst"`'
16159 enable_shared_with_static_runtimes_GO='`$ECHO "$enable_shared_with_static_runtimes_GO" | $SED "$delay_single_quote_subst"`'
16160 export_dynamic_flag_spec_GO='`$ECHO "$export_dynamic_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
16161 whole_archive_flag_spec_GO='`$ECHO "$whole_archive_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
16162 compiler_needs_object_GO='`$ECHO "$compiler_needs_object_GO" | $SED "$delay_single_quote_subst"`'
16163 old_archive_from_new_cmds_GO='`$ECHO "$old_archive_from_new_cmds_GO" | $SED "$delay_single_quote_subst"`'
16164 old_archive_from_expsyms_cmds_GO='`$ECHO "$old_archive_from_expsyms_cmds_GO" | $SED "$delay_single_quote_subst"`'
16165 archive_cmds_GO='`$ECHO "$archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
16166 archive_expsym_cmds_GO='`$ECHO "$archive_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
16167 module_cmds_GO='`$ECHO "$module_cmds_GO" | $SED "$delay_single_quote_subst"`'
16168 module_expsym_cmds_GO='`$ECHO "$module_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
16169 with_gnu_ld_GO='`$ECHO "$with_gnu_ld_GO" | $SED "$delay_single_quote_subst"`'
16170 allow_undefined_flag_GO='`$ECHO "$allow_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
16171 no_undefined_flag_GO='`$ECHO "$no_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
16172 hardcode_libdir_flag_spec_GO='`$ECHO "$hardcode_libdir_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
16173 hardcode_libdir_flag_spec_ld_GO='`$ECHO "$hardcode_libdir_flag_spec_ld_GO" | $SED "$delay_single_quote_subst"`'
16174 hardcode_libdir_separator_GO='`$ECHO "$hardcode_libdir_separator_GO" | $SED "$delay_single_quote_subst"`'
16175 hardcode_direct_GO='`$ECHO "$hardcode_direct_GO" | $SED "$delay_single_quote_subst"`'
16176 hardcode_direct_absolute_GO='`$ECHO "$hardcode_direct_absolute_GO" | $SED "$delay_single_quote_subst"`'
16177 hardcode_minus_L_GO='`$ECHO "$hardcode_minus_L_GO" | $SED "$delay_single_quote_subst"`'
16178 hardcode_shlibpath_var_GO='`$ECHO "$hardcode_shlibpath_var_GO" | $SED "$delay_single_quote_subst"`'
16179 hardcode_automatic_GO='`$ECHO "$hardcode_automatic_GO" | $SED "$delay_single_quote_subst"`'
16180 inherit_rpath_GO='`$ECHO "$inherit_rpath_GO" | $SED "$delay_single_quote_subst"`'
16181 link_all_deplibs_GO='`$ECHO "$link_all_deplibs_GO" | $SED "$delay_single_quote_subst"`'
16182 fix_srcfile_path_GO='`$ECHO "$fix_srcfile_path_GO" | $SED "$delay_single_quote_subst"`'
16183 always_export_symbols_GO='`$ECHO "$always_export_symbols_GO" | $SED "$delay_single_quote_subst"`'
16184 export_symbols_cmds_GO='`$ECHO "$export_symbols_cmds_GO" | $SED "$delay_single_quote_subst"`'
16185 exclude_expsyms_GO='`$ECHO "$exclude_expsyms_GO" | $SED "$delay_single_quote_subst"`'
16186 include_expsyms_GO='`$ECHO "$include_expsyms_GO" | $SED "$delay_single_quote_subst"`'
16187 prelink_cmds_GO='`$ECHO "$prelink_cmds_GO" | $SED "$delay_single_quote_subst"`'
16188 file_list_spec_GO='`$ECHO "$file_list_spec_GO" | $SED "$delay_single_quote_subst"`'
16189 hardcode_action_GO='`$ECHO "$hardcode_action_GO" | $SED "$delay_single_quote_subst"`'
16192 LTCFLAGS='$LTCFLAGS'
16193 compiler='$compiler_DEFAULT'
16195 # A function that is used when there is no print builtin or printf.
16196 func_fallback_echo ()
16198 eval 'cat <<_LTECHO_EOF
16203 # Quote evaled strings.
16217 deplibs_check_method \
16226 lt_cv_sys_global_symbol_pipe \
16227 lt_cv_sys_global_symbol_to_cdecl \
16228 lt_cv_sys_global_symbol_to_c_name_address \
16229 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16230 lt_prog_compiler_no_builtin_flag \
16231 lt_prog_compiler_wl \
16232 lt_prog_compiler_pic \
16233 lt_prog_compiler_static \
16234 lt_cv_prog_compiler_c_o \
16242 export_dynamic_flag_spec \
16243 whole_archive_flag_spec \
16244 compiler_needs_object \
16246 allow_undefined_flag \
16247 no_undefined_flag \
16248 hardcode_libdir_flag_spec \
16249 hardcode_libdir_flag_spec_ld \
16250 hardcode_libdir_separator \
16255 variables_saved_for_relink \
16257 library_names_spec \
16259 install_override_mode \
16266 lt_prog_compiler_no_builtin_flag_GO \
16267 lt_prog_compiler_wl_GO \
16268 lt_prog_compiler_pic_GO \
16269 lt_prog_compiler_static_GO \
16270 lt_cv_prog_compiler_c_o_GO \
16271 export_dynamic_flag_spec_GO \
16272 whole_archive_flag_spec_GO \
16273 compiler_needs_object_GO \
16275 allow_undefined_flag_GO \
16276 no_undefined_flag_GO \
16277 hardcode_libdir_flag_spec_GO \
16278 hardcode_libdir_flag_spec_ld_GO \
16279 hardcode_libdir_separator_GO \
16280 fix_srcfile_path_GO \
16281 exclude_expsyms_GO \
16282 include_expsyms_GO \
16283 file_list_spec_GO; do
16284 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16285 *[\\\\\\\`\\"\\\$]*)
16286 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16289 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16294 # Double-quote double-evaled strings.
16295 for var in reload_cmds \
16296 old_postinstall_cmds \
16297 old_postuninstall_cmds \
16299 extract_expsyms_cmds \
16300 old_archive_from_new_cmds \
16301 old_archive_from_expsyms_cmds \
16303 archive_expsym_cmds \
16305 module_expsym_cmds \
16306 export_symbols_cmds \
16309 postuninstall_cmds \
16311 sys_lib_search_path_spec \
16312 sys_lib_dlsearch_path_spec \
16314 old_archive_cmds_GO \
16315 old_archive_from_new_cmds_GO \
16316 old_archive_from_expsyms_cmds_GO \
16318 archive_expsym_cmds_GO \
16320 module_expsym_cmds_GO \
16321 export_symbols_cmds_GO \
16322 prelink_cmds_GO; do
16323 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16324 *[\\\\\\\`\\"\\\$]*)
16325 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16328 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16333 ac_aux_dir='$ac_aux_dir'
16334 xsi_shell='$xsi_shell'
16335 lt_shell_append='$lt_shell_append'
16337 # See if we are running on zsh, and set the options which allow our
16338 # commands through without removal of \ escapes INIT.
16339 if test -n "\${ZSH_VERSION+set}" ; then
16340 setopt NO_GLOB_SUBST
16346 TIMESTAMP='$TIMESTAMP'
16355 # Variables needed in config.status (file generation) which aren't already
16356 # passed by autoconf.
16362 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16364 # Handling of arguments.
16365 for ac_config_target
in $ac_config_targets
16367 case $ac_config_target in
16368 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
16369 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16370 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16371 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16372 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16373 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
16374 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
16376 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16381 # If the user did not use the arguments to specify the items to instantiate,
16382 # then the envvar interface is used. Set only those that are not.
16383 # We use the long form for the default assignment because of an extremely
16384 # bizarre bug on SunOS 4.1.3.
16385 if $ac_need_defaults; then
16386 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16387 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16388 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16391 # Have a temporary directory for convenience. Make it in the build tree
16392 # simply because there is no reason against having it here, and in addition,
16393 # creating and moving files from /tmp can sometimes cause problems.
16394 # Hook for its removal unless debugging.
16395 # Note that there is a small window in which the directory will not be cleaned:
16396 # after its creation but before its name has been assigned to `$tmp'.
16400 trap 'exit_status=$?
16401 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16403 trap 'as_fn_exit 1' 1 2 13 15
16405 # Create a (secure) tmp directory for tmp files.
16408 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16409 test -n "$tmp" && test -d "$tmp"
16412 tmp
=.
/conf$$
-$RANDOM
16413 (umask 077 && mkdir
"$tmp")
16414 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
16416 # Set up the scripts for CONFIG_FILES section.
16417 # No need to generate them if there are no CONFIG_FILES.
16418 # This happens for instance with `./config.status config.h'.
16419 if test -n "$CONFIG_FILES"; then
16422 ac_cr
=`echo X | tr X '\015'`
16423 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16424 # But we know of no other shell where ac_cr would be empty at this
16425 # point, so we can use a bashism as a fallback.
16426 if test "x$ac_cr" = x
; then
16427 eval ac_cr
=\$
\'\\r
\'
16429 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16430 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16433 ac_cs_awk_cr
=$ac_cr
16436 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16441 echo "cat >conf$$subs.awk <<_ACEOF" &&
16442 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16444 } >conf$$subs.sh ||
16445 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16446 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16448 for ac_last_try in false false false false false :; do
16449 . ./conf$$subs.sh ||
16450 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16452 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16453 if test $ac_delim_n = $ac_delim_num; then
16455 elif $ac_last_try; then
16456 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16458 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16461 rm -f conf$$subs.sh
16463 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16464 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16468 s/^/S["/; s
/!.
*/"]=/
16478 s/\(.\{148\}\).*/\1/
16480 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16485 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16492 s/\(.\{148\}\).*/\1/
16494 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16498 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16503 ' <conf$$subs.awk | sed '
16508 ' >>$CONFIG_STATUS || ac_write_fail=1
16509 rm -f conf$$subs.awk
16510 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16512 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16513 for (key in S) S_is_set[key] = 1
16519 nfields = split(line, field, "@
")
16521 len = length(field[1])
16522 for (i = 2; i < nfields; i++) {
16524 keylen = length(key)
16525 if (S_is_set[key]) {
16527 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16528 len += length(value) + length(field[++i])
16539 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16540 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16541 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16544 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16545 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
16548 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16549 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16550 # trailing colons and then remove the whole line if VPATH becomes empty
16551 # (actually we leave an empty line to preserve line numbers).
16552 if test "x
$srcdir" = x.; then
16553 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16554 s/:*\$(srcdir):*/:/
16555 s/:*\${srcdir}:*/:/
16557 s/^\([^=]*=[ ]*\):*/\1/
16563 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16564 fi # test -n "$CONFIG_FILES"
16566 # Set up the scripts for CONFIG_HEADERS section.
16567 # No need to generate them if there are no CONFIG_HEADERS.
16568 # This happens for instance with `./config.status Makefile'.
16569 if test -n "$CONFIG_HEADERS"; then
16570 cat >"$tmp/defines.
awk" <<\_ACAWK ||
16574 # Transform confdefs.h into an awk script `defines.awk', embedded as
16575 # here-document in config.status, that substitutes the proper values into
16576 # config.h.in to produce config.h.
16578 # Create a delimiter string that does not exist in confdefs.h, to ease
16579 # handling of long lines.
16581 for ac_last_try in false false :; do
16582 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
16583 if test -z "$ac_t"; then
16585 elif $ac_last_try; then
16586 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
16588 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16592 # For the awk script, D is an array of macro values keyed by name,
16593 # likewise P contains macro parameters if any. Preserve backslash
16594 # newline sequences.
16596 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16598 s/.\{148\}/&'"$ac_delim"'/g
16601 s/^[ ]*#[ ]*define[ ][ ]*/ /
16608 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16610 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16614 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16615 D["\
1"]=" \
3\\\\\\n
"\\/p
16617 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16622 s/.\{148\}/&'"$ac_delim"'/g
16627 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16630 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16632 ' <confdefs.h | sed '
16633 s/'"$ac_delim"'/"\\\
16634 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16636 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16637 for (key in D) D_is_set[key] = 1
16640 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16642 split(line, arg, " ")
16643 if (arg[1] == "#") {
16647 defundef
= substr
(arg
[1], 2)
16650 split(mac1
, mac2
, "(") #)
16652 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16653 if (D_is_set
[macro
]) {
16654 # Preserve the white space surrounding the "#".
16655 print prefix
"define", macro P
[macro
] D
[macro
]
16658 # Replace #undef with comments. This is necessary, for example,
16659 # in the case of _POSIX_SOURCE, which is predefined and required
16660 # on some systems where configure will not decide to define it.
16661 if (defundef
== "undef") {
16662 print
"/*", prefix defundef
, macro
, "*/"
16670 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16671 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
16672 fi # test -n "$CONFIG_HEADERS"
16675 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16680 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16682 case $ac_mode$ac_tag in
16684 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16685 :[FH
]-) ac_tag
=-:-;;
16686 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16703 -) ac_f
="$tmp/stdin";;
16704 *) # Look for the file first in the build tree, then in the source tree
16705 # (if the path is not absolute). The absolute path cannot be DOS-style,
16706 # because $ac_f cannot contain `:'.
16710 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16712 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
16714 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16715 as_fn_append ac_file_inputs
" '$ac_f'"
16718 # Let's still pretend it is `configure' which instantiates (i.e., don't
16719 # use $as_me), people would be surprised to read:
16720 # /* config.h. Generated by config.status. */
16721 configure_input
='Generated from '`
16722 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16724 if test x
"$ac_file" != x-
; then
16725 configure_input
="$ac_file. $configure_input"
16726 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16727 $as_echo "$as_me: creating $ac_file" >&6;}
16729 # Neutralize special characters interpreted by sed in replacement strings.
16730 case $configure_input in #(
16731 *\
&* |
*\|
* |
*\\* )
16732 ac_sed_conf_input
=`$as_echo "$configure_input" |
16733 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16734 *) ac_sed_conf_input
=$configure_input;;
16738 *:-:* |
*:-) cat >"$tmp/stdin" \
16739 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
16744 ac_dir
=`$as_dirname -- "$ac_file" ||
16745 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16746 X"$ac_file" : 'X\(//\)[^/]' \| \
16747 X"$ac_file" : 'X\(//\)$' \| \
16748 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16749 $as_echo X"$ac_file" |
16750 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16754 /^X\(\/\/\)[^/].*/{
16767 as_dir
="$ac_dir"; as_fn_mkdir_p
16771 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16773 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16774 # A ".." for each directory in $ac_dir_suffix.
16775 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16776 case $ac_top_builddir_sub in
16777 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16778 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16781 ac_abs_top_builddir
=$ac_pwd
16782 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16783 # for backward compatibility:
16784 ac_top_builddir
=$ac_top_build_prefix
16787 .
) # We are building in place.
16789 ac_top_srcdir
=$ac_top_builddir_sub
16790 ac_abs_top_srcdir
=$ac_pwd ;;
16791 [\\/]* | ?
:[\\/]* ) # Absolute name.
16792 ac_srcdir
=$srcdir$ac_dir_suffix;
16793 ac_top_srcdir
=$srcdir
16794 ac_abs_top_srcdir
=$srcdir ;;
16795 *) # Relative name.
16796 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16797 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16798 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16800 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16810 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16811 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16813 ac_MKDIR_P
=$MKDIR_P
16815 [\\/$
]* | ?
:[\\/]* ) ;;
16816 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16821 # If the template does not know about datarootdir, expand it.
16822 # FIXME: This hack should be removed a few years after 2.60.
16823 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16834 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16835 *datarootdir
*) ac_datarootdir_seen
=yes;;
16836 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16838 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16840 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16841 ac_datarootdir_hack='
16842 s&@datadir@&$datadir&g
16843 s&@docdir@&$docdir&g
16844 s&@infodir@&$infodir&g
16845 s&@localedir@&$localedir&g
16846 s&@mandir@&$mandir&g
16847 s&\\\${datarootdir}&$datarootdir&g' ;;
16851 # Neutralize VPATH when `$srcdir' = `.'.
16852 # Shell code in configure.ac might set extrasub.
16853 # FIXME: do we really want to maintain this feature?
16854 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16855 ac_sed_extra="$ac_vpsub
16858 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16860 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16861 s|@configure_input@|
$ac_sed_conf_input|
;t t
16862 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16863 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16864 s
&@srcdir@
&$ac_srcdir&;t t
16865 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16866 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16867 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16868 s
&@builddir@
&$ac_builddir&;t t
16869 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16870 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16871 s
&@INSTALL@
&$ac_INSTALL&;t t
16872 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16873 $ac_datarootdir_hack
16875 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16876 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16878 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16879 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16880 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16882 which seems to be undefined. Please make sure it is defined." >&5
16883 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16884 which seems to be undefined. Please make sure it is defined." >&2;}
16888 -) cat "$tmp/out" && rm -f "$tmp/out";;
16889 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16891 || as_fn_error "could not create $ac_file" "$LINENO" 5
16897 if test x"$ac_file" != x-; then
16899 $as_echo "/* $configure_input */" \
16900 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16901 } >"$tmp/config.h" \
16902 || as_fn_error "could not create $ac_file" "$LINENO" 5
16903 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16904 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16905 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16908 mv "$tmp/config.h" "$ac_file" \
16909 || as_fn_error "could not create $ac_file" "$LINENO" 5
16912 $as_echo "/* $configure_input */" \
16913 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16914 || as_fn_error "could not create -" "$LINENO" 5
16916 # Compute "$ac_file"'s index
in $config_headers.
16919 for _am_header
in $config_headers :; do
16920 case $_am_header in
16921 $_am_arg |
$_am_arg:* )
16924 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16927 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16928 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16929 X"$_am_arg" : 'X\(//\)[^/]' \| \
16930 X"$_am_arg" : 'X\(//\)$' \| \
16931 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16932 $as_echo X"$_am_arg" |
16933 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16937 /^X\(\/\/\)[^/].*/{
16949 s/.*/./; q'`/stamp-h
$_am_stamp_count
16952 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16953 $as_echo "$as_me: executing $ac_file commands" >&6;}
16958 case $ac_file$ac_mode in
16960 # Only add multilib support code if we just rebuilt the top-level
16962 case " $CONFIG_FILES " in
16964 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
16967 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
16968 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16969 # are listed without --file. Let's play safe and only enable the eval
16970 # if we detect the quoting.
16971 case $CONFIG_FILES in
16972 *\'*) eval set x
"$CONFIG_FILES" ;;
16973 *) set x
$CONFIG_FILES ;;
16978 # Strip MF so we end up with the name of the file.
16979 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16980 # Check whether this is an Automake generated Makefile or not.
16981 # We used to match only the files named `Makefile.in', but
16982 # some people rename them; so instead we look at the file content.
16983 # Grep'ing the first line is not enough: some people post-process
16984 # each Makefile.in and add a new line on top of each file to say so.
16985 # Grep'ing the whole file is not good either: AIX grep has a line
16986 # limit of 2048, but all sed's we know have understand at least 4000.
16987 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16988 dirpart
=`$as_dirname -- "$mf" ||
16989 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16990 X"$mf" : 'X\(//\)[^/]' \| \
16991 X"$mf" : 'X\(//\)$' \| \
16992 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16994 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16998 /^X\(\/\/\)[^/].*/{
17014 # Extract the definition of DEPDIR, am__include, and am__quote
17015 # from the Makefile without running `make'.
17016 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17017 test -z "$DEPDIR" && continue
17018 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17019 test -z "am__include" && continue
17020 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17021 # When using ansi2knr, U may be empty or an underscore; expand it
17022 U
=`sed -n 's/^U = //p' < "$mf"`
17023 # Find all dependency output files, they are included files with
17024 # $(DEPDIR) in their names. We invoke sed twice because it is the
17025 # simplest approach to changing $(DEPDIR) to its actual value in the
17027 for file in `sed -n "
17028 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17029 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17030 # Make sure the directory exists.
17031 test -f "$dirpart/$file" && continue
17032 fdir
=`$as_dirname -- "$file" ||
17033 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17034 X"$file" : 'X\(//\)[^/]' \| \
17035 X"$file" : 'X\(//\)$' \| \
17036 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17037 $as_echo X"$file" |
17038 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17042 /^X\(\/\/\)[^/].*/{
17055 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17056 # echo "creating $dirpart/$file"
17057 echo '# dummy' > "$dirpart/$file"
17064 # See if we are running on zsh, and set the options which allow our
17065 # commands through without removal of \ escapes.
17066 if test -n "${ZSH_VERSION+set}" ; then
17067 setopt NO_GLOB_SUBST
17070 cfgfile
="${ofile}T"
17071 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17074 cat <<_LT_EOF >> "$cfgfile"
17077 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17078 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17079 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17080 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17082 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17083 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
17084 # Written by Gordon Matzigkeit, 1996
17086 # This file is part of GNU Libtool.
17088 # GNU Libtool is free software; you can redistribute it and/or
17089 # modify it under the terms of the GNU General Public License as
17090 # published by the Free Software Foundation; either version 2 of
17091 # the License, or (at your option) any later version.
17093 # As a special exception to the GNU General Public License,
17094 # if you distribute this file as part of a program or library that
17095 # is built using GNU Libtool, you may include this file under the
17096 # same distribution terms that you use for the rest of that program.
17098 # GNU Libtool is distributed in the hope that it will be useful,
17099 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17100 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17101 # GNU General Public License for more details.
17103 # You should have received a copy of the GNU General Public License
17104 # along with GNU Libtool; see the file COPYING. If not, a copy
17105 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17106 # obtained by writing to the Free Software Foundation, Inc.,
17107 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17110 # The names of the tagged configurations supported by this script.
17111 available_tags="GO "
17113 # ### BEGIN LIBTOOL CONFIG
17115 # A sed program that does not truncate output.
17118 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17119 Xsed="\$SED -e 1s/^X//"
17121 # A grep program that handles long lines.
17127 # A literal string matcher.
17130 # Shell to use when invoking shell scripts.
17133 # An echo program that protects backslashes.
17136 # Which release of libtool.m4 was used?
17137 macro_version=$macro_version
17138 macro_revision=$macro_revision
17140 # Whether or not to build shared libraries.
17141 build_libtool_libs=$enable_shared
17143 # Whether or not to build static libraries.
17144 build_old_libs=$enable_static
17146 # What type of objects to build.
17149 # Whether or not to optimize for fast installation.
17150 fast_install=$enable_fast_install
17153 host_alias=$host_alias
17157 # The build system.
17158 build_alias=$build_alias
17162 # A BSD- or MS-compatible name lister.
17165 # Whether we need soft or hard links.
17168 # What is the maximum length of a command?
17169 max_cmd_len=$max_cmd_len
17171 # Object file suffix (normally "o").
17174 # Executable file suffix (normally "").
17177 # whether the shell understands "unset".
17180 # turn spaces into newlines.
17183 # turn newlines into spaces.
17186 # An object symbol dumper.
17187 OBJDUMP=$lt_OBJDUMP
17189 # Method to check whether dependent libraries are shared objects.
17190 deplibs_check_method=$lt_deplibs_check_method
17192 # Command to use when deplibs_check_method == "file_magic".
17193 file_magic_cmd=$lt_file_magic_cmd
17197 AR_FLAGS=$lt_AR_FLAGS
17199 # A symbol stripping program.
17202 # Commands used to install an old-style archive.
17204 old_postinstall_cmds=$lt_old_postinstall_cmds
17205 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17207 # Whether to use a lock for old archive extraction.
17208 lock_old_archive_extraction=$lock_old_archive_extraction
17213 # LTCC compiler flags.
17214 LTCFLAGS=$lt_CFLAGS
17216 # Take the output of nm and produce a listing of raw symbols and C names.
17217 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17219 # Transform the output of nm in a proper C declaration.
17220 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17222 # Transform the output of nm in a C name address pair.
17223 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17225 # Transform the output of nm in a C name address pair when lib prefix is needed.
17226 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17228 # The name of the directory that contains temporary libtool files.
17231 # Used to examine libraries when file_magic_cmd begins with "file".
17232 MAGIC_CMD=$MAGIC_CMD
17234 # Must we lock files when doing compilation?
17235 need_locks=$lt_need_locks
17237 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17238 DSYMUTIL=$lt_DSYMUTIL
17240 # Tool to change global to local symbols on Mac OS X.
17243 # Tool to manipulate fat objects and archives on Mac OS X.
17246 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17249 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17250 OTOOL64=$lt_OTOOL64
17252 # Old archive suffix (normally "a").
17255 # Shared library suffix (normally ".so").
17256 shrext_cmds=$lt_shrext_cmds
17258 # The commands to extract the exported symbol list from a shared archive.
17259 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17261 # Variables whose values should be saved in libtool wrapper scripts and
17262 # restored at link time.
17263 variables_saved_for_relink=$lt_variables_saved_for_relink
17265 # Do we need the "lib" prefix for modules?
17266 need_lib_prefix=$need_lib_prefix
17268 # Do we need a version for libraries?
17269 need_version=$need_version
17271 # Library versioning type.
17272 version_type=$version_type
17274 # Shared library runtime path variable.
17275 runpath_var=$runpath_var
17277 # Shared library path variable.
17278 shlibpath_var=$shlibpath_var
17280 # Is shlibpath searched before the hard-coded library search path?
17281 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17283 # Format of library name prefix.
17284 libname_spec=$lt_libname_spec
17286 # List of archive names. First name is the real one, the rest are links.
17287 # The last name is the one that the linker finds with -lNAME
17288 library_names_spec=$lt_library_names_spec
17290 # The coded name of the library, if different from the real name.
17291 soname_spec=$lt_soname_spec
17293 # Permission mode override for installation of shared libraries.
17294 install_override_mode=$lt_install_override_mode
17296 # Command to use after installation of a shared archive.
17297 postinstall_cmds=$lt_postinstall_cmds
17299 # Command to use after uninstallation of a shared archive.
17300 postuninstall_cmds=$lt_postuninstall_cmds
17302 # Commands used to finish a libtool library installation in a directory.
17303 finish_cmds=$lt_finish_cmds
17305 # As "finish_cmds", except a single script fragment to be evaled but
17307 finish_eval=$lt_finish_eval
17309 # Whether we should hardcode library paths into libraries.
17310 hardcode_into_libs=$hardcode_into_libs
17312 # Compile-time system search path for libraries.
17313 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17315 # Run-time system search path for libraries.
17316 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17318 # Whether dlopen is supported.
17319 dlopen_support=$enable_dlopen
17321 # Whether dlopen of programs is supported.
17322 dlopen_self=$enable_dlopen_self
17324 # Whether dlopen of statically linked programs is supported.
17325 dlopen_self_static=$enable_dlopen_self_static
17327 # Commands to strip libraries.
17328 old_striplib=$lt_old_striplib
17329 striplib=$lt_striplib
17332 # The linker used to build libraries.
17335 # How to create reloadable object files.
17336 reload_flag=$lt_reload_flag
17337 reload_cmds=$lt_reload_cmds
17339 # Commands used to build an old-style archive.
17340 old_archive_cmds=$lt_old_archive_cmds
17342 # A language specific compiler.
17345 # Is the compiler the GNU compiler?
17348 # Compiler flag to turn off builtin functions.
17349 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17351 # How to pass a linker flag through the compiler.
17352 wl=$lt_lt_prog_compiler_wl
17354 # Additional compiler flags for building library objects.
17355 pic_flag=$lt_lt_prog_compiler_pic
17357 # Compiler flag to prevent dynamic linking.
17358 link_static_flag=$lt_lt_prog_compiler_static
17360 # Does compiler simultaneously support -c and -o options?
17361 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17363 # Whether or not to add -lc for building shared libraries.
17364 build_libtool_need_lc=$archive_cmds_need_lc
17366 # Whether or not to disallow shared libs when runtime libs are static.
17367 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17369 # Compiler flag to allow reflexive dlopens.
17370 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17372 # Compiler flag to generate shared objects directly from archives.
17373 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17375 # Whether the compiler copes with passing no objects directly.
17376 compiler_needs_object=$lt_compiler_needs_object
17378 # Create an old-style archive from a shared archive.
17379 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17381 # Create a temporary old-style archive to link instead of a shared archive.
17382 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17384 # Commands used to build a shared archive.
17385 archive_cmds=$lt_archive_cmds
17386 archive_expsym_cmds=$lt_archive_expsym_cmds
17388 # Commands used to build a loadable module if different from building
17389 # a shared archive.
17390 module_cmds=$lt_module_cmds
17391 module_expsym_cmds=$lt_module_expsym_cmds
17393 # Whether we are building with GNU ld or not.
17394 with_gnu_ld=$lt_with_gnu_ld
17396 # Flag that allows shared libraries with undefined symbols to be built.
17397 allow_undefined_flag=$lt_allow_undefined_flag
17399 # Flag that enforces no undefined symbols.
17400 no_undefined_flag=$lt_no_undefined_flag
17402 # Flag to hardcode \$libdir into a binary during linking.
17403 # This must work even if \$libdir does not exist
17404 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17406 # If ld is used when linking, flag to hardcode \$libdir into a binary
17407 # during linking. This must work even if \$libdir does not exist.
17408 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17410 # Whether we need a single "-rpath" flag with a separated argument.
17411 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17413 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17414 # DIR into the resulting binary.
17415 hardcode_direct=$hardcode_direct
17417 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17418 # DIR into the resulting binary and the resulting library dependency is
17419 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17420 # library is relocated.
17421 hardcode_direct_absolute=$hardcode_direct_absolute
17423 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17424 # into the resulting binary.
17425 hardcode_minus_L=$hardcode_minus_L
17427 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17428 # into the resulting binary.
17429 hardcode_shlibpath_var=$hardcode_shlibpath_var
17431 # Set to "yes" if building a shared library automatically hardcodes DIR
17432 # into the library and all subsequent libraries and executables linked
17434 hardcode_automatic=$hardcode_automatic
17436 # Set to yes if linker adds runtime paths of dependent libraries
17437 # to runtime path list.
17438 inherit_rpath=$inherit_rpath
17440 # Whether libtool must link a program against all its dependency libraries.
17441 link_all_deplibs=$link_all_deplibs
17443 # Fix the shell variable \$srcfile for the compiler.
17444 fix_srcfile_path=$lt_fix_srcfile_path
17446 # Set to "yes" if exported symbols are required.
17447 always_export_symbols=$always_export_symbols
17449 # The commands to list exported symbols.
17450 export_symbols_cmds=$lt_export_symbols_cmds
17452 # Symbols that should not be listed in the preloaded symbols.
17453 exclude_expsyms=$lt_exclude_expsyms
17455 # Symbols that must always be exported.
17456 include_expsyms=$lt_include_expsyms
17458 # Commands necessary for linking programs (against libraries) with templates.
17459 prelink_cmds=$lt_prelink_cmds
17461 # Specify filename containing input files.
17462 file_list_spec=$lt_file_list_spec
17464 # How to hardcode a shared library path into an executable.
17465 hardcode_action=$hardcode_action
17467 # ### END LIBTOOL CONFIG
17473 cat <<\_LT_EOF
>> "$cfgfile"
17474 # AIX sometimes has problems with the GCC collect2 program. For some
17475 # reason, if we set the COLLECT_NAMES environment variable, the problems
17476 # vanish in a puff of smoke.
17477 if test "X${COLLECT_NAMES+set}" != Xset
; then
17479 export COLLECT_NAMES
17486 ltmain
="$ac_aux_dir/ltmain.sh"
17489 # We use sed instead of cat because bash on DJGPP gets confused if
17490 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17491 # text mode, it properly converts lines to CR/LF. This bash problem
17492 # is reportedly fixed, but why not run on old versions too?
17493 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17494 ||
(rm -f "$cfgfile"; exit 1)
17498 cat << \_LT_EOF
>> "$cfgfile"
17500 # func_dirname file append nondir_replacement
17501 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17502 # otherwise set result to NONDIR_REPLACEMENT.
17506 */*) func_dirname_result
="${1%/*}${2}" ;;
17507 * ) func_dirname_result
="${3}" ;;
17511 # func_basename file
17514 func_basename_result
="${1##*/}"
17517 # func_dirname_and_basename file append nondir_replacement
17518 # perform func_basename and func_dirname in a single function
17520 # dirname: Compute the dirname of FILE. If nonempty,
17521 # add APPEND to the result, otherwise set result
17522 # to NONDIR_REPLACEMENT.
17523 # value returned in "$func_dirname_result"
17524 # basename: Compute filename of FILE.
17525 # value retuned in "$func_basename_result"
17526 # Implementation must be kept synchronized with func_dirname
17527 # and func_basename. For efficiency, we do not delegate to
17528 # those functions but instead duplicate the functionality here.
17529 func_dirname_and_basename
()
17532 */*) func_dirname_result
="${1%/*}${2}" ;;
17533 * ) func_dirname_result
="${3}" ;;
17535 func_basename_result
="${1##*/}"
17538 # func_stripname prefix suffix name
17539 # strip PREFIX and SUFFIX off of NAME.
17540 # PREFIX and SUFFIX must not contain globbing or regex special
17541 # characters, hashes, percent signs, but SUFFIX may contain a leading
17542 # dot (in which case that matches only a dot).
17545 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17546 # positional parameters, so assign one to ordinary parameter first.
17547 func_stripname_result
=${3}
17548 func_stripname_result
=${func_stripname_result#"${1}"}
17549 func_stripname_result
=${func_stripname_result%"${2}"}
17555 func_opt_split_opt
=${1%%=*}
17556 func_opt_split_arg
=${1#*=}
17563 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17564 *) func_lo2o_result
=${1} ;;
17568 # func_xform libobj-or-source
17571 func_xform_result
=${1%.*}.lo
17574 # func_arith arithmetic-term...
17577 func_arith_result
=$
(( $
* ))
17581 # STRING may not start with a hyphen.
17584 func_len_result
=${#1}
17589 *) # Bourne compatible functions.
17590 cat << \_LT_EOF
>> "$cfgfile"
17592 # func_dirname file append nondir_replacement
17593 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17594 # otherwise set result to NONDIR_REPLACEMENT.
17597 # Extract subdirectory from the argument.
17598 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17599 if test "X$func_dirname_result" = "X${1}"; then
17600 func_dirname_result
="${3}"
17602 func_dirname_result
="$func_dirname_result${2}"
17606 # func_basename file
17609 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17613 # func_stripname prefix suffix name
17614 # strip PREFIX and SUFFIX off of NAME.
17615 # PREFIX and SUFFIX must not contain globbing or regex special
17616 # characters, hashes, percent signs, but SUFFIX may contain a leading
17617 # dot (in which case that matches only a dot).
17618 # func_strip_suffix prefix name
17622 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17623 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17628 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17629 my_sed_long_arg
='1s/^-[^=]*=//'
17634 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17635 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17641 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17644 # func_xform libobj-or-source
17647 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17650 # func_arith arithmetic-term...
17653 func_arith_result
=`expr "$@"`
17657 # STRING may not start with a hyphen.
17660 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17666 case $lt_shell_append in
17668 cat << \_LT_EOF
>> "$cfgfile"
17670 # func_append var value
17671 # Append VALUE to the end of shell variable VAR.
17679 cat << \_LT_EOF
>> "$cfgfile"
17681 # func_append var value
17682 # Append VALUE to the end of shell variable VAR.
17693 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17694 ||
(rm -f "$cfgfile"; exit 1)
17696 mv -f "$cfgfile" "$ofile" ||
17697 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17701 cat <<_LT_EOF >> "$ofile"
17703 # ### BEGIN LIBTOOL TAG CONFIG: GO
17705 # The linker used to build libraries.
17708 # How to create reloadable object files.
17709 reload_flag=$lt_reload_flag_GO
17710 reload_cmds=$lt_reload_cmds_GO
17712 # Commands used to build an old-style archive.
17713 old_archive_cmds=$lt_old_archive_cmds_GO
17715 # A language specific compiler.
17718 # Is the compiler the GNU compiler?
17721 # Compiler flag to turn off builtin functions.
17722 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GO
17724 # How to pass a linker flag through the compiler.
17725 wl=$lt_lt_prog_compiler_wl_GO
17727 # Additional compiler flags for building library objects.
17728 pic_flag=$lt_lt_prog_compiler_pic_GO
17730 # Compiler flag to prevent dynamic linking.
17731 link_static_flag=$lt_lt_prog_compiler_static_GO
17733 # Does compiler simultaneously support -c and -o options?
17734 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GO
17736 # Whether or not to add -lc for building shared libraries.
17737 build_libtool_need_lc=$archive_cmds_need_lc_GO
17739 # Whether or not to disallow shared libs when runtime libs are static.
17740 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GO
17742 # Compiler flag to allow reflexive dlopens.
17743 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GO
17745 # Compiler flag to generate shared objects directly from archives.
17746 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GO
17748 # Whether the compiler copes with passing no objects directly.
17749 compiler_needs_object=$lt_compiler_needs_object_GO
17751 # Create an old-style archive from a shared archive.
17752 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GO
17754 # Create a temporary old-style archive to link instead of a shared archive.
17755 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GO
17757 # Commands used to build a shared archive.
17758 archive_cmds=$lt_archive_cmds_GO
17759 archive_expsym_cmds=$lt_archive_expsym_cmds_GO
17761 # Commands used to build a loadable module if different from building
17762 # a shared archive.
17763 module_cmds=$lt_module_cmds_GO
17764 module_expsym_cmds=$lt_module_expsym_cmds_GO
17766 # Whether we are building with GNU ld or not.
17767 with_gnu_ld=$lt_with_gnu_ld_GO
17769 # Flag that allows shared libraries with undefined symbols to be built.
17770 allow_undefined_flag=$lt_allow_undefined_flag_GO
17772 # Flag that enforces no undefined symbols.
17773 no_undefined_flag=$lt_no_undefined_flag_GO
17775 # Flag to hardcode \$libdir into a binary during linking.
17776 # This must work even if \$libdir does not exist
17777 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GO
17779 # If ld is used when linking, flag to hardcode \$libdir into a binary
17780 # during linking. This must work even if \$libdir does not exist.
17781 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GO
17783 # Whether we need a single "-rpath" flag with a separated argument.
17784 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GO
17786 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17787 # DIR into the resulting binary.
17788 hardcode_direct=$hardcode_direct_GO
17790 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17791 # DIR into the resulting binary and the resulting library dependency is
17792 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17793 # library is relocated.
17794 hardcode_direct_absolute=$hardcode_direct_absolute_GO
17796 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17797 # into the resulting binary.
17798 hardcode_minus_L=$hardcode_minus_L_GO
17800 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17801 # into the resulting binary.
17802 hardcode_shlibpath_var=$hardcode_shlibpath_var_GO
17804 # Set to "yes" if building a shared library automatically hardcodes DIR
17805 # into the library and all subsequent libraries and executables linked
17807 hardcode_automatic=$hardcode_automatic_GO
17809 # Set to yes if linker adds runtime paths of dependent libraries
17810 # to runtime path list.
17811 inherit_rpath=$inherit_rpath_GO
17813 # Whether libtool must link a program against all its dependency libraries.
17814 link_all_deplibs=$link_all_deplibs_GO
17816 # Fix the shell variable \$srcfile for the compiler.
17817 fix_srcfile_path=$lt_fix_srcfile_path_GO
17819 # Set to "yes" if exported symbols are required.
17820 always_export_symbols=$always_export_symbols_GO
17822 # The commands to list exported symbols.
17823 export_symbols_cmds=$lt_export_symbols_cmds_GO
17825 # Symbols that should not be listed in the preloaded symbols.
17826 exclude_expsyms=$lt_exclude_expsyms_GO
17828 # Symbols that must always be exported.
17829 include_expsyms=$lt_include_expsyms_GO
17831 # Commands necessary for linking programs (against libraries) with templates.
17832 prelink_cmds=$lt_prelink_cmds_GO
17834 # Specify filename containing input files.
17835 file_list_spec=$lt_file_list_spec_GO
17837 # How to hardcode a shared library path into an executable.
17838 hardcode_action=$hardcode_action_GO
17840 # ### END LIBTOOL TAG CONFIG: GO
17844 "default":C
) if test -n "$CONFIG_FILES"; then
17845 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
17846 # that multilib installs will end up installed in the correct place.
17847 # The testsuite needs it for multilib-aware ABI baseline files.
17848 # To work around this not being passed down from config-ml.in ->
17849 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
17850 # append it here. Only modify Makefiles that have just been created.
17852 # Also, get rid of this simulated-VPATH thing that automake does.
17853 cat > vpsed
<< \_EOF
17854 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17856 for i
in $SUBDIRS; do
17857 case $CONFIG_FILES in
17859 #echo "Adding MULTISUBDIR to $i/Makefile"
17860 sed -f vpsed
$i/Makefile
> tmp
17861 grep '^MULTISUBDIR =' Makefile
>> tmp
17876 ac_clean_files
=$ac_clean_files_save
17878 test $ac_write_fail = 0 ||
17879 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17882 # configure is writing to config.log, and then calls config.status.
17883 # config.status does its own redirection, appending to config.log.
17884 # Unfortunately, on DOS this fails, as config.log is still kept open
17885 # by configure, so config.status won't be able to write to it; its
17886 # output is simply discarded. So we exec the FD to /dev/null,
17887 # effectively closing config.log, so it can be properly (re)opened and
17888 # appended to by config.status. When coming back to configure, we
17889 # need to make the FD available again.
17890 if test "$no_create" != yes; then
17892 ac_config_status_args
=
17893 test "$silent" = yes &&
17894 ac_config_status_args
="$ac_config_status_args --quiet"
17896 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17898 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17899 # would make configure fail if this is the last instruction.
17900 $ac_cs_success || as_fn_exit $?
17902 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17904 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}